public static final class UpdateDeviceRegistryRequest.Builder extends GeneratedMessageV3.Builder<UpdateDeviceRegistryRequest.Builder> implements UpdateDeviceRegistryRequestOrBuilder
Request for UpdateDeviceRegistry
.
Protobuf type google.cloud.iot.v1.UpdateDeviceRegistryRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDeviceRegistryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public UpdateDeviceRegistryRequest build()
Returns
buildPartial()
public UpdateDeviceRegistryRequest buildPartial()
Returns
clear()
public UpdateDeviceRegistryRequest.Builder clear()
Returns
Overrides
clearDeviceRegistry()
public UpdateDeviceRegistryRequest.Builder clearDeviceRegistry()
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
.google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public UpdateDeviceRegistryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDeviceRegistryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearUpdateMask()
public UpdateDeviceRegistryRequest.Builder clearUpdateMask()
Required. Only updates the device_registry
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: event_notification_config
, http_config
,
mqtt_config
, and state_notification_config
.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
clone()
public UpdateDeviceRegistryRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public UpdateDeviceRegistryRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getDeviceRegistry()
public DeviceRegistry getDeviceRegistry()
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
.google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDeviceRegistryBuilder()
public DeviceRegistry.Builder getDeviceRegistryBuilder()
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
.google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDeviceRegistryOrBuilder()
public DeviceRegistryOrBuilder getDeviceRegistryOrBuilder()
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
.google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMask()
public FieldMask getUpdateMask()
Required. Only updates the device_registry
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: event_notification_config
, http_config
,
mqtt_config
, and state_notification_config
.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskBuilder()
public FieldMask.Builder getUpdateMaskBuilder()
Required. Only updates the device_registry
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: event_notification_config
, http_config
,
mqtt_config
, and state_notification_config
.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getUpdateMaskOrBuilder()
public FieldMaskOrBuilder getUpdateMaskOrBuilder()
Required. Only updates the device_registry
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: event_notification_config
, http_config
,
mqtt_config
, and state_notification_config
.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
hasDeviceRegistry()
public boolean hasDeviceRegistry()
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
.google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the deviceRegistry field is set.
|
hasUpdateMask()
public boolean hasUpdateMask()
Required. Only updates the device_registry
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: event_notification_config
, http_config
,
mqtt_config
, and state_notification_config
.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
boolean | Whether the updateMask field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeDeviceRegistry(DeviceRegistry value)
public UpdateDeviceRegistryRequest.Builder mergeDeviceRegistry(DeviceRegistry value)
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
.google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
mergeFrom(UpdateDeviceRegistryRequest other)
public UpdateDeviceRegistryRequest.Builder mergeFrom(UpdateDeviceRegistryRequest other)
Parameter
Returns
public UpdateDeviceRegistryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public UpdateDeviceRegistryRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDeviceRegistryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
mergeUpdateMask(FieldMask value)
public UpdateDeviceRegistryRequest.Builder mergeUpdateMask(FieldMask value)
Required. Only updates the device_registry
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: event_notification_config
, http_config
,
mqtt_config
, and state_notification_config
.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setDeviceRegistry(DeviceRegistry value)
public UpdateDeviceRegistryRequest.Builder setDeviceRegistry(DeviceRegistry value)
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
.google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setDeviceRegistry(DeviceRegistry.Builder builderForValue)
public UpdateDeviceRegistryRequest.Builder setDeviceRegistry(DeviceRegistry.Builder builderForValue)
Required. The new values for the device registry. The id
field must be empty, and
the name
field must indicate the path of the resource. For example,
projects/example-project/locations/us-central1/registries/my-registry
.
.google.cloud.iot.v1.DeviceRegistry device_registry = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDeviceRegistryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDeviceRegistryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDeviceRegistryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setUpdateMask(FieldMask value)
public UpdateDeviceRegistryRequest.Builder setUpdateMask(FieldMask value)
Required. Only updates the device_registry
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: event_notification_config
, http_config
,
mqtt_config
, and state_notification_config
.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
setUpdateMask(FieldMask.Builder builderForValue)
public UpdateDeviceRegistryRequest.Builder setUpdateMask(FieldMask.Builder builderForValue)
Required. Only updates the device_registry
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: event_notification_config
, http_config
,
mqtt_config
, and state_notification_config
.
.google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
builderForValue | Builder
|
Returns