Class BatchCreateInstancesResponse (0.34.0)

public final class BatchCreateInstancesResponse extends GeneratedMessageV3 implements BatchCreateInstancesResponseOrBuilder

Message for creating batches of instances in a cluster.

Protobuf type google.cloud.alloydb.v1alpha.BatchCreateInstancesResponse

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateInstancesResponse getDefaultInstance()
Returns
Type Description
BatchCreateInstancesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BatchCreateInstancesResponse.Builder newBuilder()
Returns
Type Description
BatchCreateInstancesResponse.Builder

newBuilder(BatchCreateInstancesResponse prototype)

public static BatchCreateInstancesResponse.Builder newBuilder(BatchCreateInstancesResponse prototype)
Parameter
Name Description
prototype BatchCreateInstancesResponse
Returns
Type Description
BatchCreateInstancesResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchCreateInstancesResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchCreateInstancesResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCreateInstancesResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCreateInstancesResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchCreateInstancesResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchCreateInstancesResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateInstancesResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchCreateInstancesResponse> parser()
Returns
Type Description
Parser<BatchCreateInstancesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchCreateInstancesResponse getDefaultInstanceForType()
Returns
Type Description
BatchCreateInstancesResponse

getInstances(int index)

public Instance getInstances(int index)

Created instances.

repeated .google.cloud.alloydb.v1alpha.Instance instances = 1;

Parameter
Name Description
index int
Returns
Type Description
Instance

getInstancesCount()

public int getInstancesCount()

Created instances.

repeated .google.cloud.alloydb.v1alpha.Instance instances = 1;

Returns
Type Description
int

getInstancesList()

public List<Instance> getInstancesList()

Created instances.

repeated .google.cloud.alloydb.v1alpha.Instance instances = 1;

Returns
Type Description
List<Instance>

getInstancesOrBuilder(int index)

public InstanceOrBuilder getInstancesOrBuilder(int index)

Created instances.

repeated .google.cloud.alloydb.v1alpha.Instance instances = 1;

Parameter
Name Description
index int
Returns
Type Description
InstanceOrBuilder

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>

getParserForType()

public Parser<BatchCreateInstancesResponse> getParserForType()
Returns
Type Description
Parser<BatchCreateInstancesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchCreateInstancesResponse.Builder newBuilderForType()
Returns
Type Description
BatchCreateInstancesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCreateInstancesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchCreateInstancesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchCreateInstancesResponse.Builder toBuilder()
Returns
Type Description
BatchCreateInstancesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException