Interface ModifyCloudToDeviceConfigRequestOrBuilder (2.24.0)

public interface ModifyCloudToDeviceConfigRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBinaryData()

public abstract ByteString getBinaryData()

Required. The configuration data for the device.

bytes binary_data = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The binaryData.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getVersionToUpdate()

public abstract 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
TypeDescription
long

The versionToUpdate.