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