Class BatchCreateInstancesResponse (0.30.0)

public final class BatchCreateInstancesResponse extends GeneratedMessageV3 implements BatchCreateInstancesResponseOrBuilder

Message for creating batches of instances in a cluster.

Protobuf type google.cloud.alloydb.v1.BatchCreateInstancesResponse

Static Fields

INSTANCES_FIELD_NUMBER

public static final int INSTANCES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static BatchCreateInstancesResponse getDefaultInstance()
Returns
TypeDescription
BatchCreateInstancesResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BatchCreateInstancesResponse.Builder newBuilder()
Returns
TypeDescription
BatchCreateInstancesResponse.Builder

newBuilder(BatchCreateInstancesResponse prototype)

public static BatchCreateInstancesResponse.Builder newBuilder(BatchCreateInstancesResponse prototype)
Parameter
NameDescription
prototypeBatchCreateInstancesResponse
Returns
TypeDescription
BatchCreateInstancesResponse.Builder

parseDelimitedFrom(InputStream input)

public static BatchCreateInstancesResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BatchCreateInstancesResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCreateInstancesResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCreateInstancesResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BatchCreateInstancesResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BatchCreateInstancesResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateInstancesResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BatchCreateInstancesResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BatchCreateInstancesResponse> parser()
Returns
TypeDescription
Parser<BatchCreateInstancesResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BatchCreateInstancesResponse getDefaultInstanceForType()
Returns
TypeDescription
BatchCreateInstancesResponse

getInstances(int index)

public Instance getInstances(int index)

Created instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Instance

getInstancesCount()

public int getInstancesCount()

Created instances.

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

Returns
TypeDescription
int

getInstancesList()

public List<Instance> getInstancesList()

Created instances.

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

Returns
TypeDescription
List<Instance>

getInstancesOrBuilder(int index)

public InstanceOrBuilder getInstancesOrBuilder(int index)

Created instances.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceOrBuilder

getInstancesOrBuilderList()

public List<? extends InstanceOrBuilder> getInstancesOrBuilderList()

Created instances.

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

Returns
TypeDescription
List<? extends com.google.cloud.alloydb.v1.InstanceOrBuilder>

getParserForType()

public Parser<BatchCreateInstancesResponse> getParserForType()
Returns
TypeDescription
Parser<BatchCreateInstancesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BatchCreateInstancesResponse.Builder newBuilderForType()
Returns
TypeDescription
BatchCreateInstancesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCreateInstancesResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BatchCreateInstancesResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BatchCreateInstancesResponse.Builder toBuilder()
Returns
TypeDescription
BatchCreateInstancesResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException