public static final class CreateInstanceRequests.Builder extends GeneratedMessageV3.Builder<CreateInstanceRequests.Builder> implements CreateInstanceRequestsOrBuilder
See usage below for notes.
Protobuf type google.cloud.alloydb.v1alpha.CreateInstanceRequests
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1alpha.CreateInstanceRequest>
|
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
addCreateInstanceRequestsBuilder()
public CreateInstanceRequest.Builder addCreateInstanceRequestsBuilder()
Required. Primary and read replica instances to be created. This list
should not be empty.
repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateInstanceRequests.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public CreateInstanceRequests build()
Returns
buildPartial()
public CreateInstanceRequests buildPartial()
Returns
clear()
public CreateInstanceRequests.Builder clear()
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public CreateInstanceRequests.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateInstanceRequests.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public CreateInstanceRequests.Builder clone()
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
index |
int
|
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
index |
int
|
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getCreateInstanceRequestsCount()
public int getCreateInstanceRequestsCount()
Required. Primary and read replica instances to be created. This list
should not be empty.
repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getCreateInstanceRequestsList()
public List<CreateInstanceRequest> getCreateInstanceRequestsList()
Required. Primary and read replica instances to be created. This list
should not be empty.
repeated .google.cloud.alloydb.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
index |
int
|
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type |
Description |
List<? extends com.google.cloud.alloydb.v1alpha.CreateInstanceRequestOrBuilder> |
|
getDefaultInstanceForType()
public CreateInstanceRequests getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(CreateInstanceRequests other)
public CreateInstanceRequests.Builder mergeFrom(CreateInstanceRequests other)
Parameter
Returns
public CreateInstanceRequests.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public CreateInstanceRequests.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateInstanceRequests.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name |
Description |
index |
int
|
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
Parameters
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public CreateInstanceRequests.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateInstanceRequests.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateInstanceRequests.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides