Interface UpdateDeviceRequestOrBuilder (2.41.0)

public interface UpdateDeviceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDevice()

public abstract Device getDevice()

Required. The new values for the device. The id and num_id fields must be empty, and the field name must specify the name path. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Device

The device.

getDeviceOrBuilder()

public abstract DeviceOrBuilder getDeviceOrBuilder()

Required. The new values for the device. The id and num_id fields must be empty, and the field name must specify the name path. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DeviceOrBuilder

getUpdateMask()

public abstract FieldMask getUpdateMask()

Required. Only updates the device fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: credentials, blocked, and metadata

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMask

The updateMask.

getUpdateMaskOrBuilder()

public abstract FieldMaskOrBuilder getUpdateMaskOrBuilder()

Required. Only updates the device fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: credentials, blocked, and metadata

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
FieldMaskOrBuilder

hasDevice()

public abstract boolean hasDevice()

Required. The new values for the device. The id and num_id fields must be empty, and the field name must specify the name path. For example, projects/p0/locations/us-central1/registries/registry0/devices/device0or projects/p0/locations/us-central1/registries/registry0/devices/{num_id}.

.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the device field is set.

hasUpdateMask()

public abstract boolean hasUpdateMask()

Required. Only updates the device fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: credentials, blocked, and metadata

.google.protobuf.FieldMask update_mask = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the updateMask field is set.