Class DatabaseProperties

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

@Generated public final class DatabaseProperties extends com.google.protobuf.GeneratedMessage implements DatabasePropertiesOrBuilder
 The properties of a Database.
 
Protobuf type google.cloud.oracledatabase.v1.DatabaseProperties
See Also:
  • Field Details

    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • DB_VERSION_FIELD_NUMBER

      public static final int DB_VERSION_FIELD_NUMBER
      See Also:
    • DB_BACKUP_CONFIG_FIELD_NUMBER

      public static final int DB_BACKUP_CONFIG_FIELD_NUMBER
      See Also:
    • DATABASE_MANAGEMENT_CONFIG_FIELD_NUMBER

      public static final int DATABASE_MANAGEMENT_CONFIG_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
    • getStateValue

      public int getStateValue()
       Output only. State of the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface DatabasePropertiesOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

       Output only. State of the Database.
       
      .google.cloud.oracledatabase.v1.DatabaseProperties.DatabaseLifecycleState state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface DatabasePropertiesOrBuilder
      Returns:
      The state.
    • getDbVersion

      public String getDbVersion()
       Required. The Oracle Database version.
       
      string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDbVersion in interface DatabasePropertiesOrBuilder
      Returns:
      The dbVersion.
    • getDbVersionBytes

      public com.google.protobuf.ByteString getDbVersionBytes()
       Required. The Oracle Database version.
       
      string db_version = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getDbVersionBytes in interface DatabasePropertiesOrBuilder
      Returns:
      The bytes for dbVersion.
    • hasDbBackupConfig

      public boolean hasDbBackupConfig()
       Optional. Backup options for the Database.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      hasDbBackupConfig in interface DatabasePropertiesOrBuilder
      Returns:
      Whether the dbBackupConfig field is set.
    • getDbBackupConfig

      public DbBackupConfig getDbBackupConfig()
       Optional. Backup options for the Database.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbBackupConfig in interface DatabasePropertiesOrBuilder
      Returns:
      The dbBackupConfig.
    • getDbBackupConfigOrBuilder

      public DbBackupConfigOrBuilder getDbBackupConfigOrBuilder()
       Optional. Backup options for the Database.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig db_backup_config = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDbBackupConfigOrBuilder in interface DatabasePropertiesOrBuilder
    • hasDatabaseManagementConfig

      public boolean hasDatabaseManagementConfig()
       Output only. The Database Management config.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasDatabaseManagementConfig in interface DatabasePropertiesOrBuilder
      Returns:
      Whether the databaseManagementConfig field is set.
    • getDatabaseManagementConfig

      public DatabaseManagementConfig getDatabaseManagementConfig()
       Output only. The Database Management config.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatabaseManagementConfig in interface DatabasePropertiesOrBuilder
      Returns:
      The databaseManagementConfig.
    • getDatabaseManagementConfigOrBuilder

      public DatabaseManagementConfigOrBuilder getDatabaseManagementConfigOrBuilder()
       Output only. The Database Management config.
       
      .google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatabaseManagementConfigOrBuilder in interface DatabasePropertiesOrBuilder
    • 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 DatabaseProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DatabaseProperties.Builder newBuilder()
    • newBuilder

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

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

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

      public static DatabaseProperties getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<DatabaseProperties> 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 DatabaseProperties getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder