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