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 Type
    Method
    Description
    Cloud database ID (not full path), e.g.
    com.google.protobuf.ByteString
    Cloud database ID (not full path), e.g.
    Optional SQL dialect (GOOGLESQL or POSTGRESQL).
    com.google.protobuf.ByteString
    Optional 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.ByteString
    Cloud instance ID (not path), e.g.
    Cloud project ID, e.g.
    com.google.protobuf.ByteString
    Cloud project ID, e.g.
    com.google.protobuf.ByteString
    optional bytes proto_descriptors = 7;
    getSdlStatement(int index)
    SDL statements to apply to the new database.
    com.google.protobuf.ByteString
    SDL statements to apply to the new database.
    int
    SDL statements to apply to the new database.
    SDL statements to apply to the new database.
    boolean
    Optional SQL dialect (GOOGLESQL or POSTGRESQL).
    boolean
    The KMS key used to encrypt the database to be created if the database should be CMEK protected.
    boolean
    optional bytes proto_descriptors = 7;

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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

      List<String> 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

      String getSdlStatement(int index)
       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.