Interface ModifyCloudToDeviceConfigRequestOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getBinaryData()
      Required.
      String getName()
      Required.
      com.google.protobuf.ByteString getNameBytes()
      Required.
      long getVersionToUpdate()
      The version number to update.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getName

        String getName()
         Required. The name of the device. For example,
         `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
         `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         Required. The name of the device. For example,
         `projects/p0/locations/us-central1/registries/registry0/devices/device0` or
         `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
         
        string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        The bytes for name.
      • getVersionToUpdate

        long getVersionToUpdate()
         The version number to update. If this value is zero, it will not check the
         version number of the server and will always update the current version;
         otherwise, this update will fail if the version number found on the server
         does not match this version number. This is used to support multiple
         simultaneous updates without losing data.
         
        int64 version_to_update = 2;
        Returns:
        The versionToUpdate.
      • getBinaryData

        com.google.protobuf.ByteString getBinaryData()
         Required. The configuration data for the device.
         
        bytes binary_data = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The binaryData.