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 > ReconfigureCloudDatabaseActionImplements
ReconfigureCloudDatabaseActionOrBuilderStatic Fields
DATABASE_URI_FIELD_NUMBER
public static final int DATABASE_URI_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
SERVING_LOCATIONS_FIELD_NUMBER
public static final int SERVING_LOCATIONS_FIELD_NUMBER
Field Value | |
---|---|
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ReconfigureCloudDatabaseAction getDefaultInstance()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
newBuilder()
public static ReconfigureCloudDatabaseAction.Builder newBuilder()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
newBuilder(ReconfigureCloudDatabaseAction prototype)
public static ReconfigureCloudDatabaseAction.Builder newBuilder(ReconfigureCloudDatabaseAction prototype)
Parameter | |
---|---|
Name | Description |
prototype | ReconfigureCloudDatabaseAction |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
parseDelimitedFrom(InputStream input)
public static ReconfigureCloudDatabaseAction parseDelimitedFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(byte[] data)
public static ReconfigureCloudDatabaseAction parseFrom(byte[] data)
Parameter | |
---|---|
Name | Description |
data | byte[] |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ReconfigureCloudDatabaseAction parseFrom(ByteString data)
Parameter | |
---|---|
Name | Description |
data | ByteString |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ReconfigureCloudDatabaseAction parseFrom(CodedInputStream input)
Parameter | |
---|---|
Name | Description |
input | CodedInputStream |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input)
public static ReconfigureCloudDatabaseAction parseFrom(InputStream input)
Parameter | |
---|---|
Name | Description |
input | InputStream |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ReconfigureCloudDatabaseAction parseFrom(ByteBuffer data)
Parameter | |
---|---|
Name | Description |
data | ByteBuffer |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
Exceptions | |
---|---|
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ReconfigureCloudDatabaseAction> parser()
Returns | |
---|---|
Type | Description |
Parser<ReconfigureCloudDatabaseAction> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter | |
---|---|
Name | Description |
obj | Object |
Returns | |
---|---|
Type | Description |
boolean |
getDatabaseUri()
public String getDatabaseUri()
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Returns | |
---|---|
Type | Description |
String | The databaseUri. |
getDatabaseUriBytes()
public ByteString getDatabaseUriBytes()
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for databaseUri. |
getDefaultInstanceForType()
public ReconfigureCloudDatabaseAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
getParserForType()
public Parser<ReconfigureCloudDatabaseAction> getParserForType()
Returns | |
---|---|
Type | Description |
Parser<ReconfigureCloudDatabaseAction> |
getSerializedSize()
public int getSerializedSize()
Returns | |
---|---|
Type | Description |
int |
getServingLocations(int index)
public String getServingLocations(int index)
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
boolean | Whether the databaseUri field is set. |
hashCode()
public int hashCode()
Returns | |
---|---|
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
newBuilderForType()
public ReconfigureCloudDatabaseAction.Builder newBuilderForType()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ReconfigureCloudDatabaseAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter | |
---|---|
Name | Description |
parent | BuilderParent |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter | |
---|---|
Name | Description |
unused | UnusedPrivateParameter |
Returns | |
---|---|
Type | Description |
Object |
toBuilder()
public ReconfigureCloudDatabaseAction.Builder toBuilder()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter | |
---|---|
Name | Description |
output | CodedOutputStream |
Exceptions | |
---|---|
Type | Description |
IOException |