public static final class CreateDeviceRegistryRequest.Builder extends GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder> implements CreateDeviceRegistryRequestOrBuilder
Request for CreateDeviceRegistry
.
Protobuf type google.cloud.iot.v1.CreateDeviceRegistryRequest
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 CreateDeviceRegistryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateDeviceRegistryRequest build()
buildPartial()
public CreateDeviceRegistryRequest buildPartial()
clear()
public CreateDeviceRegistryRequest.Builder clear()
Overrides
clearDeviceRegistry()
public CreateDeviceRegistryRequest.Builder clearDeviceRegistry()
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
clearField(Descriptors.FieldDescriptor field)
public CreateDeviceRegistryRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateDeviceRegistryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearParent()
public CreateDeviceRegistryRequest.Builder clearParent()
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clone()
public CreateDeviceRegistryRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public CreateDeviceRegistryRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDeviceRegistry()
public DeviceRegistry getDeviceRegistry()
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
getDeviceRegistryBuilder()
public DeviceRegistry.Builder getDeviceRegistryBuilder()
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
getDeviceRegistryOrBuilder()
public DeviceRegistryOrBuilder getDeviceRegistryOrBuilder()
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
getParent()
public String getParent()
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The parent.
|
getParentBytes()
public ByteString getParentBytes()
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for parent.
|
hasDeviceRegistry()
public boolean hasDeviceRegistry()
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
Returns |
---|
Type | Description |
boolean | Whether the deviceRegistry field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeDeviceRegistry(DeviceRegistry value)
public CreateDeviceRegistryRequest.Builder mergeDeviceRegistry(DeviceRegistry value)
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
mergeFrom(CreateDeviceRegistryRequest other)
public CreateDeviceRegistryRequest.Builder mergeFrom(CreateDeviceRegistryRequest other)
public CreateDeviceRegistryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateDeviceRegistryRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateDeviceRegistryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setDeviceRegistry(DeviceRegistry value)
public CreateDeviceRegistryRequest.Builder setDeviceRegistry(DeviceRegistry value)
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
setDeviceRegistry(DeviceRegistry.Builder builderForValue)
public CreateDeviceRegistryRequest.Builder setDeviceRegistry(DeviceRegistry.Builder builderForValue)
Required. The device registry. The field name
must be empty. The server will
generate that field from the device registry id
provided and the
parent
field.
.google.cloud.iot.v1.DeviceRegistry device_registry = 2 [(.google.api.field_behavior) = REQUIRED];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateDeviceRegistryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setParent(String value)
public CreateDeviceRegistryRequest.Builder setParent(String value)
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The parent to set.
|
setParentBytes(ByteString value)
public CreateDeviceRegistryRequest.Builder setParentBytes(ByteString value)
Required. The project and cloud region where this device registry must be created.
For example, projects/example-project/locations/us-central1
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for parent to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateDeviceRegistryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateDeviceRegistryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides