public static final class UpdateDeviceRegistryRequest.Builder extends GeneratedMessageV3.Builder<UpdateDeviceRegistryRequest.Builder> implements UpdateDeviceRegistryRequestOrBuilder
Request for UpdateDeviceRegistry
.
Protobuf type google.cloud.iot.v1.UpdateDeviceRegistryRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateDeviceRegistryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public UpdateDeviceRegistryRequest build()
buildPartial()
public UpdateDeviceRegistryRequest buildPartial()
clear()
public UpdateDeviceRegistryRequest.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public UpdateDeviceRegistryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateDeviceRegistryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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];
clone()
public UpdateDeviceRegistryRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public UpdateDeviceRegistryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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];
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];
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];
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 |
Type |
Description |
FieldMask |
The updateMask.
|
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];
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];
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()
Overrides
isInitialized()
public final boolean isInitialized()
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];
mergeFrom(UpdateDeviceRegistryRequest other)
public UpdateDeviceRegistryRequest.Builder mergeFrom(UpdateDeviceRegistryRequest other)
public UpdateDeviceRegistryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public UpdateDeviceRegistryRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDeviceRegistryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateDeviceRegistryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateDeviceRegistryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateDeviceRegistryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
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];
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
|