public static final class CreateDeviceRegistryRequest.Builder extends GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder> implements CreateDeviceRegistryRequestOrBuilder
Request for `CreateDeviceRegistry`.Protobuf type
google.cloud.iot.v1.CreateDeviceRegistryRequest
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public CreateDeviceRegistryRequest build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public CreateDeviceRegistryRequest buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public CreateDeviceRegistryRequest.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder mergeFrom(CreateDeviceRegistryRequest other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public CreateDeviceRegistryRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<CreateDeviceRegistryRequest.Builder>
IOException
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) = { ... }
getParent
in interface CreateDeviceRegistryRequestOrBuilder
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) = { ... }
getParentBytes
in interface CreateDeviceRegistryRequestOrBuilder
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) = { ... }
value
- The parent to set.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) = { ... }
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) = { ... }
value
- The bytes for parent to set.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];
hasDeviceRegistry
in interface CreateDeviceRegistryRequestOrBuilder
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];
getDeviceRegistry
in interface CreateDeviceRegistryRequestOrBuilder
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];
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];
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];
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];
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];
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];
getDeviceRegistryOrBuilder
in interface CreateDeviceRegistryRequestOrBuilder
public final CreateDeviceRegistryRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
public final CreateDeviceRegistryRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<CreateDeviceRegistryRequest.Builder>
Copyright © 2022 Google LLC. All rights reserved.