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()
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>
|
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];
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];
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];
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];
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];
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateInstanceRequests.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public CreateInstanceRequests build()
buildPartial()
public CreateInstanceRequests buildPartial()
clear()
public CreateInstanceRequests.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public CreateInstanceRequests.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateInstanceRequests.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public CreateInstanceRequests.Builder clone()
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
|
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
|
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];
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 |
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.v1alpha.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];
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
|
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(CreateInstanceRequests other)
public CreateInstanceRequests.Builder mergeFrom(CreateInstanceRequests other)
public CreateInstanceRequests.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public CreateInstanceRequests.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateInstanceRequests.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
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];
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];
setField(Descriptors.FieldDescriptor field, Object value)
public CreateInstanceRequests.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateInstanceRequests.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateInstanceRequests.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides