Class Database

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.oracledatabase.v1.Database
All Implemented Interfaces:
DatabaseOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Database extends com.google.protobuf.GeneratedMessage implements DatabaseOrBuilder
 Details of the Database resource.
 https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/
 
Protobuf type google.cloud.oracledatabase.v1.Database
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • DB_NAME_FIELD_NUMBER

      public static final int DB_NAME_FIELD_NUMBER
      See Also:
    • DB_UNIQUE_NAME_FIELD_NUMBER

      public static final int DB_UNIQUE_NAME_FIELD_NUMBER
      See Also:
    • ADMIN_PASSWORD_FIELD_NUMBER

      public static final int ADMIN_PASSWORD_FIELD_NUMBER
      See Also:
    • TDE_WALLET_PASSWORD_FIELD_NUMBER

      public static final int TDE_WALLET_PASSWORD_FIELD_NUMBER
      See Also:
    • CHARACTER_SET_FIELD_NUMBER

      public static final int CHARACTER_SET_FIELD_NUMBER
      See Also:
    • NCHARACTER_SET_FIELD_NUMBER

      public static final int NCHARACTER_SET_FIELD_NUMBER
      See Also:
    • OCI_URL_FIELD_NUMBER

      public static final int OCI_URL_FIELD_NUMBER
      See Also:
    • CREATE_TIME_FIELD_NUMBER

      public static final int CREATE_TIME_FIELD_NUMBER
      See Also:
    • PROPERTIES_FIELD_NUMBER

      public static final int PROPERTIES_FIELD_NUMBER
      See Also:
    • DATABASE_ID_FIELD_NUMBER

      public static final int DATABASE_ID_FIELD_NUMBER
      See Also:
    • DB_HOME_NAME_FIELD_NUMBER

      public static final int DB_HOME_NAME_FIELD_NUMBER
      See Also:
    • GCP_ORACLE_ZONE_FIELD_NUMBER

      public static final int GCP_ORACLE_ZONE_FIELD_NUMBER
      See Also:
    • OPS_INSIGHTS_STATUS_FIELD_NUMBER

      public static final int OPS_INSIGHTS_STATUS_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       Identifier. The name of the Database resource in the following format:
       projects/{project}/locations/{region}/databases/{database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getName in interface DatabaseOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Identifier. The name of the Database resource in the following format:
       projects/{project}/locations/{region}/databases/{database}
       
      string name = 1 [(.google.api.field_behavior) = IDENTIFIER];
      Specified by:
      getNameBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for name.
    • getDbName

      public String getDbName()
       Optional. The database name. The name must begin with an alphabetic
       character and can contain a maximum of eight alphanumeric characters.
       Special characters are not permitted.
       
      string db_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbName in interface DatabaseOrBuilder
      Returns:
      The dbName.
    • getDbNameBytes

      public com.google.protobuf.ByteString getDbNameBytes()
       Optional. The database name. The name must begin with an alphabetic
       character and can contain a maximum of eight alphanumeric characters.
       Special characters are not permitted.
       
      string db_name = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbNameBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for dbName.
    • getDbUniqueName

      public String getDbUniqueName()
       Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
       
      string db_unique_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbUniqueName in interface DatabaseOrBuilder
      Returns:
      The dbUniqueName.
    • getDbUniqueNameBytes

      public com.google.protobuf.ByteString getDbUniqueNameBytes()
       Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.
       
      string db_unique_name = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbUniqueNameBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for dbUniqueName.
    • getAdminPassword

      public String getAdminPassword()
       Required. The password for the default ADMIN user.
       
      string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAdminPassword in interface DatabaseOrBuilder
      Returns:
      The adminPassword.
    • getAdminPasswordBytes

      public com.google.protobuf.ByteString getAdminPasswordBytes()
       Required. The password for the default ADMIN user.
       
      string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getAdminPasswordBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for adminPassword.
    • getTdeWalletPassword

      public String getTdeWalletPassword()
       Optional. The TDE wallet password for the database.
       
      string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTdeWalletPassword in interface DatabaseOrBuilder
      Returns:
      The tdeWalletPassword.
    • getTdeWalletPasswordBytes

      public com.google.protobuf.ByteString getTdeWalletPasswordBytes()
       Optional. The TDE wallet password for the database.
       
      string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getTdeWalletPasswordBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for tdeWalletPassword.
    • getCharacterSet

      public String getCharacterSet()
       Optional. The character set for the database. The default is AL32UTF8.
       
      string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCharacterSet in interface DatabaseOrBuilder
      Returns:
      The characterSet.
    • getCharacterSetBytes

      public com.google.protobuf.ByteString getCharacterSetBytes()
       Optional. The character set for the database. The default is AL32UTF8.
       
      string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getCharacterSetBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for characterSet.
    • getNcharacterSet

      public String getNcharacterSet()
       Optional. The national character set for the database. The default is
       AL16UTF16.
       
      string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNcharacterSet in interface DatabaseOrBuilder
      Returns:
      The ncharacterSet.
    • getNcharacterSetBytes

      public com.google.protobuf.ByteString getNcharacterSetBytes()
       Optional. The national character set for the database. The default is
       AL16UTF16.
       
      string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getNcharacterSetBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for ncharacterSet.
    • getOciUrl

      public String getOciUrl()
       Output only. HTTPS link to OCI resources exposed to Customer via UI
       Interface.
       
      string oci_url = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOciUrl in interface DatabaseOrBuilder
      Returns:
      The ociUrl.
    • getOciUrlBytes

      public com.google.protobuf.ByteString getOciUrlBytes()
       Output only. HTTPS link to OCI resources exposed to Customer via UI
       Interface.
       
      string oci_url = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOciUrlBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for ociUrl.
    • hasCreateTime

      public boolean hasCreateTime()
       Output only. The date and time that the Database was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasCreateTime in interface DatabaseOrBuilder
      Returns:
      Whether the createTime field is set.
    • getCreateTime

      public com.google.protobuf.Timestamp getCreateTime()
       Output only. The date and time that the Database was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTime in interface DatabaseOrBuilder
      Returns:
      The createTime.
    • getCreateTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
       Output only. The date and time that the Database was created.
       
      .google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCreateTimeOrBuilder in interface DatabaseOrBuilder
    • hasProperties

      public boolean hasProperties()
       Optional. The properties of the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasProperties in interface DatabaseOrBuilder
      Returns:
      Whether the properties field is set.
    • getProperties

      public DatabaseProperties getProperties()
       Optional. The properties of the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getProperties in interface DatabaseOrBuilder
      Returns:
      The properties.
    • getPropertiesOrBuilder

      public DatabasePropertiesOrBuilder getPropertiesOrBuilder()
       Optional. The properties of the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getPropertiesOrBuilder in interface DatabaseOrBuilder
    • getDatabaseId

      public String getDatabaseId()
       Optional. The database ID of the Database.
       
      string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDatabaseId in interface DatabaseOrBuilder
      Returns:
      The databaseId.
    • getDatabaseIdBytes

      public com.google.protobuf.ByteString getDatabaseIdBytes()
       Optional. The database ID of the Database.
       
      string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDatabaseIdBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for databaseId.
    • getDbHomeName

      public String getDbHomeName()
       Optional. The name of the DbHome resource associated with the Database.
       
      string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbHomeName in interface DatabaseOrBuilder
      Returns:
      The dbHomeName.
    • getDbHomeNameBytes

      public com.google.protobuf.ByteString getDbHomeNameBytes()
       Optional. The name of the DbHome resource associated with the Database.
       
      string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbHomeNameBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for dbHomeName.
    • getGcpOracleZone

      public String getGcpOracleZone()
       Output only. The GCP Oracle zone where the Database is created.
       
      string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcpOracleZone in interface DatabaseOrBuilder
      Returns:
      The gcpOracleZone.
    • getGcpOracleZoneBytes

      public com.google.protobuf.ByteString getGcpOracleZoneBytes()
       Output only. The GCP Oracle zone where the Database is created.
       
      string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getGcpOracleZoneBytes in interface DatabaseOrBuilder
      Returns:
      The bytes for gcpOracleZone.
    • getOpsInsightsStatusValue

      public int getOpsInsightsStatusValue()
       Output only. The Status of Operations Insights for this Database.
       
      .google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOpsInsightsStatusValue in interface DatabaseOrBuilder
      Returns:
      The enum numeric value on the wire for opsInsightsStatus.
    • getOpsInsightsStatus

      public Database.OperationsInsightsStatus getOpsInsightsStatus()
       Output only. The Status of Operations Insights for this Database.
       
      .google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOpsInsightsStatus in interface DatabaseOrBuilder
      Returns:
      The opsInsightsStatus.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Database parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Database parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Database parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Database parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Database parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Database parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Database parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Database parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Database parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Database parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Database parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Database parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Database.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Database.Builder newBuilder()
    • newBuilder

      public static Database.Builder newBuilder(Database prototype)
    • toBuilder

      public Database.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Database.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Database getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Database> parser()
    • getParserForType

      public com.google.protobuf.Parser<Database> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Database getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder