Class CreateInstanceRequests (0.44.0)

public final class CreateInstanceRequests extends GeneratedMessageV3 implements CreateInstanceRequestsOrBuilder

See usage below for notes.

Protobuf type google.cloud.alloydb.v1beta.CreateInstanceRequests

Static Fields

CREATE_INSTANCE_REQUESTS_FIELD_NUMBER

public static final int CREATE_INSTANCE_REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CreateInstanceRequests getDefaultInstance()
Returns
Type Description
CreateInstanceRequests

getDescriptor()

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

newBuilder()

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

newBuilder(CreateInstanceRequests prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCreateInstanceRequests(int index)

public CreateInstanceRequest getCreateInstanceRequests(int index)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateInstanceRequest

getCreateInstanceRequestsCount()

public int getCreateInstanceRequestsCount()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getCreateInstanceRequestsList()

public List<CreateInstanceRequest> getCreateInstanceRequestsList()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreateInstanceRequest>

getCreateInstanceRequestsOrBuilder(int index)

public CreateInstanceRequestOrBuilder getCreateInstanceRequestsOrBuilder(int index)

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateInstanceRequestOrBuilder

getCreateInstanceRequestsOrBuilderList()

public List<? extends CreateInstanceRequestOrBuilder> getCreateInstanceRequestsOrBuilderList()

Required. Primary and read replica instances to be created. This list should not be empty.

repeated .google.cloud.alloydb.v1beta.CreateInstanceRequest create_instance_requests = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.alloydb.v1beta.CreateInstanceRequestOrBuilder>

getDefaultInstanceForType()

public CreateInstanceRequests getDefaultInstanceForType()
Returns
Type Description
CreateInstanceRequests

getParserForType()

public Parser<CreateInstanceRequests> getParserForType()
Returns
Type Description
Parser<CreateInstanceRequests>
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 CreateInstanceRequests.Builder newBuilderForType()
Returns
Type Description
CreateInstanceRequests.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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