Class CreateInstanceRequests.Builder (0.36.0)

public static final class CreateInstanceRequests.Builder extends GeneratedMessageV3.Builder<CreateInstanceRequests.Builder> implements CreateInstanceRequestsOrBuilder

See usage below for notes.

Protobuf type google.cloud.alloydb.v1beta.CreateInstanceRequests

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllCreateInstanceRequests(Iterable<? extends CreateInstanceRequest> values)

public CreateInstanceRequests.Builder addAllCreateInstanceRequests(Iterable<? extends CreateInstanceRequest> values)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<? extends com.google.cloud.alloydb.v1beta.CreateInstanceRequest>
Returns
Type Description
CreateInstanceRequests.Builder

addCreateInstanceRequests(CreateInstanceRequest value)

public CreateInstanceRequests.Builder addCreateInstanceRequests(CreateInstanceRequest value)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value CreateInstanceRequest
Returns
Type Description
CreateInstanceRequests.Builder

addCreateInstanceRequests(CreateInstanceRequest.Builder builderForValue)

public CreateInstanceRequests.Builder addCreateInstanceRequests(CreateInstanceRequest.Builder builderForValue)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue CreateInstanceRequest.Builder
Returns
Type Description
CreateInstanceRequests.Builder

addCreateInstanceRequests(int index, CreateInstanceRequest value)

public CreateInstanceRequests.Builder addCreateInstanceRequests(int index, CreateInstanceRequest value)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateInstanceRequest
Returns
Type Description
CreateInstanceRequests.Builder

addCreateInstanceRequests(int index, CreateInstanceRequest.Builder builderForValue)

public CreateInstanceRequests.Builder addCreateInstanceRequests(int index, CreateInstanceRequest.Builder builderForValue)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateInstanceRequest.Builder
Returns
Type Description
CreateInstanceRequests.Builder

addCreateInstanceRequestsBuilder()

public CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateInstanceRequest.Builder

addCreateInstanceRequestsBuilder(int index)

public CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder(int index)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateInstanceRequest.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateInstanceRequests.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

build()

public CreateInstanceRequests build()
Returns
Type Description
CreateInstanceRequests

buildPartial()

public CreateInstanceRequests buildPartial()
Returns
Type Description
CreateInstanceRequests

clear()

public CreateInstanceRequests.Builder clear()
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

clearCreateInstanceRequests()

public CreateInstanceRequests.Builder clearCreateInstanceRequests()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateInstanceRequests.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateInstanceRequests.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateInstanceRequests.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

clone()

public CreateInstanceRequests.Builder clone()
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

getCreateInstanceRequests(int index)

public CreateInstanceRequest getCreateInstanceRequests(int index)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateInstanceRequest

getCreateInstanceRequestsBuilder(int index)

public CreateInstanceRequest.Builder getCreateInstanceRequestsBuilder(int index)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateInstanceRequest.Builder

getCreateInstanceRequestsBuilderList()

public List<CreateInstanceRequest.Builder> getCreateInstanceRequestsBuilderList()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<Builder>

getCreateInstanceRequestsCount()

public int getCreateInstanceRequestsCount()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getCreateInstanceRequestsList()

public List<CreateInstanceRequest> getCreateInstanceRequestsList()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreateInstanceRequest>

getCreateInstanceRequestsOrBuilder(int index)

public CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder(int index)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateInstanceRequestOrBuilder

getCreateInstanceRequestsOrBuilderList()

public List<? extends CreateInstanceRequestOrBuilder> getCreateInstanceRequestsOrBuilderList()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder>

getDefaultInstanceForType()

public CreateInstanceRequests getDefaultInstanceForType()
Returns
Type Description
CreateInstanceRequests

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateInstanceRequests other)

public CreateInstanceRequests.Builder mergeFrom(CreateInstanceRequests other)
Parameter
Name Description
other CreateInstanceRequests
Returns
Type Description
CreateInstanceRequests.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateInstanceRequests.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateInstanceRequests.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateInstanceRequests.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstanceRequests.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

removeCreateInstanceRequests(int index)

public CreateInstanceRequests.Builder removeCreateInstanceRequests(int index)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateInstanceRequests.Builder

setCreateInstanceRequests(int index, CreateInstanceRequest value)

public CreateInstanceRequests.Builder setCreateInstanceRequests(int index, CreateInstanceRequest value)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
value CreateInstanceRequest
Returns
Type Description
CreateInstanceRequests.Builder

setCreateInstanceRequests(int index, CreateInstanceRequest.Builder builderForValue)

public CreateInstanceRequests.Builder setCreateInstanceRequests(int index, CreateInstanceRequest.Builder builderForValue)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int
builderForValue CreateInstanceRequest.Builder
Returns
Type Description
CreateInstanceRequests.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateInstanceRequests.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateInstanceRequests.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateInstanceRequests.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstanceRequests.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateInstanceRequests.Builder
Overrides