Package com.google.spanner.executor.v1
Interface CreateCloudDatabaseActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CreateCloudDatabaseAction,CreateCloudDatabaseAction.Builder
public interface CreateCloudDatabaseActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionCloud database ID (not full path), e.g.com.google.protobuf.ByteStringCloud database ID (not full path), e.g.Optional SQL dialect (GOOGLESQL or POSTGRESQL).com.google.protobuf.ByteStringOptional SQL dialect (GOOGLESQL or POSTGRESQL).The KMS key used to encrypt the database to be created if the database should be CMEK protected.The KMS key used to encrypt the database to be created if the database should be CMEK protected.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.com.google.protobuf.ByteStringoptional bytes proto_descriptors = 7;getSdlStatement(int index) SDL statements to apply to the new database.com.google.protobuf.ByteStringgetSdlStatementBytes(int index) SDL statements to apply to the new database.intSDL statements to apply to the new database.SDL statements to apply to the new database.booleanOptional SQL dialect (GOOGLESQL or POSTGRESQL).booleanThe KMS key used to encrypt the database to be created if the database should be CMEK protected.booleanoptional bytes proto_descriptors = 7;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.
-
getDatabaseId
String getDatabaseId()Cloud database ID (not full path), e.g. "db0".
string database_id = 3;- Returns:
- The databaseId.
-
getDatabaseIdBytes
com.google.protobuf.ByteString getDatabaseIdBytes()Cloud database ID (not full path), e.g. "db0".
string database_id = 3;- Returns:
- The bytes for databaseId.
-
getSdlStatementList
SDL statements to apply to the new database.
repeated string sdl_statement = 4;- Returns:
- A list containing the sdlStatement.
-
getSdlStatementCount
int getSdlStatementCount()SDL statements to apply to the new database.
repeated string sdl_statement = 4;- Returns:
- The count of sdlStatement.
-
getSdlStatement
SDL statements to apply to the new database.
repeated string sdl_statement = 4;- Parameters:
index- The index of the element to return.- Returns:
- The sdlStatement at the given index.
-
getSdlStatementBytes
com.google.protobuf.ByteString getSdlStatementBytes(int index) SDL statements to apply to the new database.
repeated string sdl_statement = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the sdlStatement at the given index.
-
hasEncryptionConfig
boolean hasEncryptionConfig()The KMS key used to encrypt the database to be created if the database should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5;- Returns:
- Whether the encryptionConfig field is set.
-
getEncryptionConfig
EncryptionConfig getEncryptionConfig()The KMS key used to encrypt the database to be created if the database should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5;- Returns:
- The encryptionConfig.
-
getEncryptionConfigOrBuilder
EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()The KMS key used to encrypt the database to be created if the database should be CMEK protected.
.google.spanner.admin.database.v1.EncryptionConfig encryption_config = 5; -
hasDialect
boolean hasDialect()Optional SQL dialect (GOOGLESQL or POSTGRESQL). Default: GOOGLESQL.
optional string dialect = 6;- Returns:
- Whether the dialect field is set.
-
getDialect
String getDialect()Optional SQL dialect (GOOGLESQL or POSTGRESQL). Default: GOOGLESQL.
optional string dialect = 6;- Returns:
- The dialect.
-
getDialectBytes
com.google.protobuf.ByteString getDialectBytes()Optional SQL dialect (GOOGLESQL or POSTGRESQL). Default: GOOGLESQL.
optional string dialect = 6;- Returns:
- The bytes for dialect.
-
hasProtoDescriptors
boolean hasProtoDescriptors()optional bytes proto_descriptors = 7;- Returns:
- Whether the protoDescriptors field is set.
-
getProtoDescriptors
com.google.protobuf.ByteString getProtoDescriptors()optional bytes proto_descriptors = 7;- Returns:
- The protoDescriptors.
-