public interface UpdateDeviceRequestOrBuilder extends MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Device |
getDevice()
Required.
|
DeviceOrBuilder |
getDeviceOrBuilder()
Required.
|
FieldMask |
getUpdateMask()
Required.
|
FieldMaskOrBuilder |
getUpdateMaskOrBuilder()
Required.
|
boolean |
hasDevice()
Required.
|
boolean |
hasUpdateMask()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
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/device0`or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
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/device0`or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
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/device0`or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`.
.google.cloud.iot.v1.Device device = 2 [(.google.api.field_behavior) = REQUIRED];
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];
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];
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];
Copyright © 2022 Google LLC. All rights reserved.