Package com.google.spanner.executor.v1
Interface UpdateCloudDatabaseActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
UpdateCloudDatabaseAction,UpdateCloudDatabaseAction.Builder
public interface UpdateCloudDatabaseActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCloud database name (not full path), e.g.com.google.protobuf.ByteStringCloud database name (not full path), e.g.booleanUpdated value of enable_drop_protection, this is the only field that has supported to be updated.Cloud instance ID (not path), e.g.com.google.protobuf.ByteStringCloud instance ID (not path), e.g.Cloud project ID, e.g.com.google.protobuf.ByteStringCloud project ID, e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getInstanceId
String getInstanceId()Cloud instance ID (not path), e.g. "test-instance".
string instance_id = 1;- Returns:
- The instanceId.
-
getInstanceIdBytes
com.google.protobuf.ByteString getInstanceIdBytes()Cloud instance ID (not path), e.g. "test-instance".
string instance_id = 1;- Returns:
- The bytes for instanceId.
-
getProjectId
String getProjectId()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 2;- Returns:
- The projectId.
-
getProjectIdBytes
com.google.protobuf.ByteString getProjectIdBytes()Cloud project ID, e.g. "spanner-cloud-systest".
string project_id = 2;- Returns:
- The bytes for projectId.
-
getDatabaseName
String getDatabaseName()Cloud database name (not full path), e.g. "db0".
string database_name = 3;- Returns:
- The databaseName.
-
getDatabaseNameBytes
com.google.protobuf.ByteString getDatabaseNameBytes()Cloud database name (not full path), e.g. "db0".
string database_name = 3;- Returns:
- The bytes for databaseName.
-
getEnableDropProtection
boolean getEnableDropProtection()Updated value of enable_drop_protection, this is the only field that has supported to be updated.
bool enable_drop_protection = 4;- Returns:
- The enableDropProtection.
-