Class ReconfigureCloudDatabaseAction (6.58.0)

public final class ReconfigureCloudDatabaseAction extends GeneratedMessageV3 implements ReconfigureCloudDatabaseActionOrBuilder

Action that reconfigures a Cloud Spanner database.

Protobuf type google.spanner.executor.v1.ReconfigureCloudDatabaseAction

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ReconfigureCloudDatabaseAction

Static Fields

DATABASE_URI_FIELD_NUMBER

public static final int DATABASE_URI_FIELD_NUMBER
Field Value
TypeDescription
int

SERVING_LOCATIONS_FIELD_NUMBER

public static final int SERVING_LOCATIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ReconfigureCloudDatabaseAction getDefaultInstance()
Returns
TypeDescription
ReconfigureCloudDatabaseAction

getDescriptor()

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

newBuilder()

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

newBuilder(ReconfigureCloudDatabaseAction prototype)

public static ReconfigureCloudDatabaseAction.Builder newBuilder(ReconfigureCloudDatabaseAction prototype)
Parameter
NameDescription
prototypeReconfigureCloudDatabaseAction
Returns
TypeDescription
ReconfigureCloudDatabaseAction.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDatabaseUri()

public String getDatabaseUri()

The fully qualified uri of the database to be reconfigured.

optional string database_uri = 1;

Returns
TypeDescription
String

The databaseUri.

getDatabaseUriBytes()

public ByteString getDatabaseUriBytes()

The fully qualified uri of the database to be reconfigured.

optional string database_uri = 1;

Returns
TypeDescription
ByteString

The bytes for databaseUri.

getDefaultInstanceForType()

public ReconfigureCloudDatabaseAction getDefaultInstanceForType()
Returns
TypeDescription
ReconfigureCloudDatabaseAction

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServingLocations(int index)

public String getServingLocations(int index)

The locations of the serving regions, e.g. "asia-south1".

repeated string serving_locations = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The servingLocations at the given index.

getServingLocationsBytes(int index)

public ByteString getServingLocationsBytes(int index)

The locations of the serving regions, e.g. "asia-south1".

repeated string serving_locations = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the servingLocations at the given index.

getServingLocationsCount()

public int getServingLocationsCount()

The locations of the serving regions, e.g. "asia-south1".

repeated string serving_locations = 2;

Returns
TypeDescription
int

The count of servingLocations.

getServingLocationsList()

public ProtocolStringList getServingLocationsList()

The locations of the serving regions, e.g. "asia-south1".

repeated string serving_locations = 2;

Returns
TypeDescription
ProtocolStringList

A list containing the servingLocations.

hasDatabaseUri()

public boolean hasDatabaseUri()

The fully qualified uri of the database to be reconfigured.

optional string database_uri = 1;

Returns
TypeDescription
boolean

Whether the databaseUri field is set.

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 ReconfigureCloudDatabaseAction.Builder newBuilderForType()
Returns
TypeDescription
ReconfigureCloudDatabaseAction.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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