public final class ReconfigureCloudDatabaseAction extends GeneratedMessageV3 implements ReconfigureCloudDatabaseActionOrBuilder
Action that reconfigures a Cloud Spanner database.
Protobuf type google.spanner.executor.v1.ReconfigureCloudDatabaseAction
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int DATABASE_URI_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int SERVING_LOCATIONS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static ReconfigureCloudDatabaseAction getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ReconfigureCloudDatabaseAction.Builder newBuilder()
public static ReconfigureCloudDatabaseAction.Builder newBuilder(ReconfigureCloudDatabaseAction prototype)
public static ReconfigureCloudDatabaseAction parseDelimitedFrom(InputStream input)
public static ReconfigureCloudDatabaseAction parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static ReconfigureCloudDatabaseAction parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(ByteString data)
public static ReconfigureCloudDatabaseAction parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(CodedInputStream input)
public static ReconfigureCloudDatabaseAction parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(InputStream input)
public static ReconfigureCloudDatabaseAction parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ReconfigureCloudDatabaseAction parseFrom(ByteBuffer data)
public static ReconfigureCloudDatabaseAction parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ReconfigureCloudDatabaseAction> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
public String getDatabaseUri()
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Returns |
---|
Type | Description |
String | The databaseUri.
|
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.
|
public ReconfigureCloudDatabaseAction getDefaultInstanceForType()
public Parser<ReconfigureCloudDatabaseAction> getParserForType()
Overrides
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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.
|
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.
|
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.
|
public ProtocolStringList getServingLocationsList()
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
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.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ReconfigureCloudDatabaseAction.Builder newBuilderForType()
protected ReconfigureCloudDatabaseAction.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public ReconfigureCloudDatabaseAction.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides