public static final class BatchCreateInstancesResponse.Builder extends GeneratedMessageV3.Builder<BatchCreateInstancesResponse.Builder> implements BatchCreateInstancesResponseOrBuilder
Message for creating batches of instances in a cluster.
Protobuf type google.cloud.alloydb.v1beta.BatchCreateInstancesResponse
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
addAllInstances(Iterable<? extends Instance> values)
public BatchCreateInstancesResponse.Builder addAllInstances(Iterable<? extends Instance> values)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.alloydb.v1beta.Instance>
|
addInstances(Instance value)
public BatchCreateInstancesResponse.Builder addInstances(Instance value)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Parameter |
Name |
Description |
value |
Instance
|
addInstances(Instance.Builder builderForValue)
public BatchCreateInstancesResponse.Builder addInstances(Instance.Builder builderForValue)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
addInstances(int index, Instance value)
public BatchCreateInstancesResponse.Builder addInstances(int index, Instance value)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
addInstances(int index, Instance.Builder builderForValue)
public BatchCreateInstancesResponse.Builder addInstances(int index, Instance.Builder builderForValue)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
addInstancesBuilder()
public Instance.Builder addInstancesBuilder()
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
addInstancesBuilder(int index)
public Instance.Builder addInstancesBuilder(int index)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateInstancesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BatchCreateInstancesResponse build()
buildPartial()
public BatchCreateInstancesResponse buildPartial()
clear()
public BatchCreateInstancesResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BatchCreateInstancesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearInstances()
public BatchCreateInstancesResponse.Builder clearInstances()
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public BatchCreateInstancesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public BatchCreateInstancesResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public BatchCreateInstancesResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstances(int index)
public Instance getInstances(int index)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Parameter |
Name |
Description |
index |
int
|
getInstancesBuilder(int index)
public Instance.Builder getInstancesBuilder(int index)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Parameter |
Name |
Description |
index |
int
|
getInstancesBuilderList()
public List<Instance.Builder> getInstancesBuilderList()
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
getInstancesCount()
public int getInstancesCount()
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Returns |
Type |
Description |
int |
|
getInstancesList()
public List<Instance> getInstancesList()
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
getInstancesOrBuilder(int index)
public InstanceOrBuilder getInstancesOrBuilder(int index)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Parameter |
Name |
Description |
index |
int
|
getInstancesOrBuilderList()
public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.alloydb.v1beta.InstanceOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BatchCreateInstancesResponse other)
public BatchCreateInstancesResponse.Builder mergeFrom(BatchCreateInstancesResponse other)
public BatchCreateInstancesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BatchCreateInstancesResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateInstancesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeInstances(int index)
public BatchCreateInstancesResponse.Builder removeInstances(int index)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public BatchCreateInstancesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setInstances(int index, Instance value)
public BatchCreateInstancesResponse.Builder setInstances(int index, Instance value)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
setInstances(int index, Instance.Builder builderForValue)
public BatchCreateInstancesResponse.Builder setInstances(int index, Instance.Builder builderForValue)
Created instances.
repeated .google.cloud.alloydb.v1beta.Instance instances = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BatchCreateInstancesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final BatchCreateInstancesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides