Interface DatabaseOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Database, Database.Builder

@Generated public interface DatabaseOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getName

      String getName()
       Identifier. Name of the resource in the form of
       `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Identifier. Name of the resource in the form of
       `projects/{project}/locations/{location}/clusters/{cluster}/databases/{database}`.
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Returns:
      The bytes for name.
    • getCharset

      String getCharset()
       Optional. Immutable. Charset for the database.
       This field can contain any PostgreSQL supported charset name.
       Example values include "UTF8", "SQL_ASCII", etc.
       
      string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The charset.
    • getCharsetBytes

      com.google.protobuf.ByteString getCharsetBytes()
       Optional. Immutable. Charset for the database.
       This field can contain any PostgreSQL supported charset name.
       Example values include "UTF8", "SQL_ASCII", etc.
       
      string charset = 2 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for charset.
    • getCollation

      String getCollation()
       Optional. Immutable. lc_collate for the database.
       String sort order.
       Example values include "C", "POSIX", etc.
       
      string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The collation.
    • getCollationBytes

      com.google.protobuf.ByteString getCollationBytes()
       Optional. Immutable. lc_collate for the database.
       String sort order.
       Example values include "C", "POSIX", etc.
       
      string collation = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for collation.
    • getCharacterType

      String getCharacterType()
       Optional. Immutable. lc_ctype for the database.
       Character classification (What is a letter? The upper-case equivalent?).
       Example values include "C", "POSIX", etc.
       
      string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The characterType.
    • getCharacterTypeBytes

      com.google.protobuf.ByteString getCharacterTypeBytes()
       Optional. Immutable. lc_ctype for the database.
       Character classification (What is a letter? The upper-case equivalent?).
       Example values include "C", "POSIX", etc.
       
      string character_type = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for characterType.
    • getIsTemplate

      @Deprecated boolean getIsTemplate()
      Deprecated.
      google.cloud.alloydb.v1beta.Database.is_template is deprecated. See google/cloud/alloydb/v1beta/resources.proto;l=1772
       Optional. Whether the database is a template database.
       Deprecated in favor of is_template_database.
       
      bool is_template = 5 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The isTemplate.
    • getDatabaseTemplate

      String getDatabaseTemplate()
       Input only. Immutable. Template of the database to be used for creating a
       new database.
       
      string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The databaseTemplate.
    • getDatabaseTemplateBytes

      com.google.protobuf.ByteString getDatabaseTemplateBytes()
       Input only. Immutable. Template of the database to be used for creating a
       new database.
       
      string database_template = 6 [(.google.api.field_behavior) = INPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];
      Returns:
      The bytes for databaseTemplate.
    • hasIsTemplateDatabase

      boolean hasIsTemplateDatabase()
       Optional. Whether the database is a template database.
       
      optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the isTemplateDatabase field is set.
    • getIsTemplateDatabase

      boolean getIsTemplateDatabase()
       Optional. Whether the database is a template database.
       
      optional bool is_template_database = 7 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The isTemplateDatabase.