Class AutonomousDatabaseBackupProperties

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

@Generated public final class AutonomousDatabaseBackupProperties extends com.google.protobuf.GeneratedMessage implements AutonomousDatabaseBackupPropertiesOrBuilder
 Properties of the Autonomous Database Backup resource.
 
Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties
See Also:
  • Field Details

    • OCID_FIELD_NUMBER

      public static final int OCID_FIELD_NUMBER
      See Also:
    • RETENTION_PERIOD_DAYS_FIELD_NUMBER

      public static final int RETENTION_PERIOD_DAYS_FIELD_NUMBER
      See Also:
    • COMPARTMENT_ID_FIELD_NUMBER

      public static final int COMPARTMENT_ID_FIELD_NUMBER
      See Also:
    • DATABASE_SIZE_TB_FIELD_NUMBER

      public static final int DATABASE_SIZE_TB_FIELD_NUMBER
      See Also:
    • DB_VERSION_FIELD_NUMBER

      public static final int DB_VERSION_FIELD_NUMBER
      See Also:
    • IS_LONG_TERM_BACKUP_FIELD_NUMBER

      public static final int IS_LONG_TERM_BACKUP_FIELD_NUMBER
      See Also:
    • IS_AUTOMATIC_BACKUP_FIELD_NUMBER

      public static final int IS_AUTOMATIC_BACKUP_FIELD_NUMBER
      See Also:
    • IS_RESTORABLE_FIELD_NUMBER

      public static final int IS_RESTORABLE_FIELD_NUMBER
      See Also:
    • KEY_STORE_ID_FIELD_NUMBER

      public static final int KEY_STORE_ID_FIELD_NUMBER
      See Also:
    • KEY_STORE_WALLET_FIELD_NUMBER

      public static final int KEY_STORE_WALLET_FIELD_NUMBER
      See Also:
    • KMS_KEY_ID_FIELD_NUMBER

      public static final int KMS_KEY_ID_FIELD_NUMBER
      See Also:
    • KMS_KEY_VERSION_ID_FIELD_NUMBER

      public static final int KMS_KEY_VERSION_ID_FIELD_NUMBER
      See Also:
    • LIFECYCLE_DETAILS_FIELD_NUMBER

      public static final int LIFECYCLE_DETAILS_FIELD_NUMBER
      See Also:
    • LIFECYCLE_STATE_FIELD_NUMBER

      public static final int LIFECYCLE_STATE_FIELD_NUMBER
      See Also:
    • SIZE_TB_FIELD_NUMBER

      public static final int SIZE_TB_FIELD_NUMBER
      See Also:
    • AVAILABLE_TILL_TIME_FIELD_NUMBER

      public static final int AVAILABLE_TILL_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • VAULT_ID_FIELD_NUMBER

      public static final int VAULT_ID_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
    • getOcid

      public String getOcid()
       Output only. OCID of the Autonomous Database backup.
       https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
       
      string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOcid in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The ocid.
    • getOcidBytes

      public com.google.protobuf.ByteString getOcidBytes()
       Output only. OCID of the Autonomous Database backup.
       https://docs.oracle.com/en-us/iaas/Content/General/Concepts/identifiers.htm#Oracle
       
      string ocid = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getOcidBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for ocid.
    • getRetentionPeriodDays

      public int getRetentionPeriodDays()
       Optional. Retention period in days for the backup.
       
      int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRetentionPeriodDays in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The retentionPeriodDays.
    • getCompartmentId

      public String getCompartmentId()
       Output only. The OCID of the compartment.
       
      string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompartmentId in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The compartmentId.
    • getCompartmentIdBytes

      public com.google.protobuf.ByteString getCompartmentIdBytes()
       Output only. The OCID of the compartment.
       
      string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getCompartmentIdBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for compartmentId.
    • getDatabaseSizeTb

      public float getDatabaseSizeTb()
       Output only. The quantity of data in the database, in terabytes.
       
      float database_size_tb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDatabaseSizeTb in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The databaseSizeTb.
    • getDbVersion

      public String getDbVersion()
       Output only. A valid Oracle Database version for Autonomous Database.
       
      string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDbVersion in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The dbVersion.
    • getDbVersionBytes

      public com.google.protobuf.ByteString getDbVersionBytes()
       Output only. A valid Oracle Database version for Autonomous Database.
       
      string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getDbVersionBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for dbVersion.
    • getIsLongTermBackup

      public boolean getIsLongTermBackup()
       Output only. Indicates if the backup is long term backup.
       
      bool is_long_term_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIsLongTermBackup in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The isLongTermBackup.
    • getIsAutomaticBackup

      public boolean getIsAutomaticBackup()
       Output only. Indicates if the backup is automatic or user initiated.
       
      bool is_automatic_backup = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIsAutomaticBackup in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The isAutomaticBackup.
    • getIsRestorable

      public boolean getIsRestorable()
       Output only. Indicates if the backup can be used to restore the Autonomous
       Database.
       
      bool is_restorable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getIsRestorable in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The isRestorable.
    • getKeyStoreId

      public String getKeyStoreId()
       Optional. The OCID of the key store of Oracle Vault.
       
      string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeyStoreId in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The keyStoreId.
    • getKeyStoreIdBytes

      public com.google.protobuf.ByteString getKeyStoreIdBytes()
       Optional. The OCID of the key store of Oracle Vault.
       
      string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeyStoreIdBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for keyStoreId.
    • getKeyStoreWallet

      public String getKeyStoreWallet()
       Optional. The wallet name for Oracle Key Vault.
       
      string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeyStoreWallet in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The keyStoreWallet.
    • getKeyStoreWalletBytes

      public com.google.protobuf.ByteString getKeyStoreWalletBytes()
       Optional. The wallet name for Oracle Key Vault.
       
      string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKeyStoreWalletBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for keyStoreWallet.
    • getKmsKeyId

      public String getKmsKeyId()
       Optional. The OCID of the key container that is used as the master
       encryption key in database transparent data encryption (TDE) operations.
       
      string kms_key_id = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKmsKeyId in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The kmsKeyId.
    • getKmsKeyIdBytes

      public com.google.protobuf.ByteString getKmsKeyIdBytes()
       Optional. The OCID of the key container that is used as the master
       encryption key in database transparent data encryption (TDE) operations.
       
      string kms_key_id = 11 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKmsKeyIdBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for kmsKeyId.
    • getKmsKeyVersionId

      public String getKmsKeyVersionId()
       Optional. The OCID of the key container version that is used in database
       transparent data encryption (TDE) operations KMS Key can have multiple key
       versions. If none is specified, the current key version (latest) of the Key
       Id is used for the operation. Autonomous Database Serverless does not use
       key versions, hence is not applicable for Autonomous Database Serverless
       instances.
       
      string kms_key_version_id = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKmsKeyVersionId in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The kmsKeyVersionId.
    • getKmsKeyVersionIdBytes

      public com.google.protobuf.ByteString getKmsKeyVersionIdBytes()
       Optional. The OCID of the key container version that is used in database
       transparent data encryption (TDE) operations KMS Key can have multiple key
       versions. If none is specified, the current key version (latest) of the Key
       Id is used for the operation. Autonomous Database Serverless does not use
       key versions, hence is not applicable for Autonomous Database Serverless
       instances.
       
      string kms_key_version_id = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getKmsKeyVersionIdBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for kmsKeyVersionId.
    • getLifecycleDetails

      public String getLifecycleDetails()
       Output only. Additional information about the current lifecycle state.
       
      string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleDetails in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The lifecycleDetails.
    • getLifecycleDetailsBytes

      public com.google.protobuf.ByteString getLifecycleDetailsBytes()
       Output only. Additional information about the current lifecycle state.
       
      string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleDetailsBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for lifecycleDetails.
    • getLifecycleStateValue

      public int getLifecycleStateValue()
       Output only. The lifecycle state of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleStateValue in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The enum numeric value on the wire for lifecycleState.
    • getLifecycleState

      public AutonomousDatabaseBackupProperties.State getLifecycleState()
       Output only. The lifecycle state of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getLifecycleState in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The lifecycleState.
    • getSizeTb

      public float getSizeTb()
       Output only. The backup size in terabytes.
       
      float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getSizeTb in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The sizeTb.
    • hasAvailableTillTime

      public boolean hasAvailableTillTime()
       Output only. Timestamp until when the backup will be available.
       
      .google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasAvailableTillTime in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      Whether the availableTillTime field is set.
    • getAvailableTillTime

      public com.google.protobuf.Timestamp getAvailableTillTime()
       Output only. Timestamp until when the backup will be available.
       
      .google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAvailableTillTime in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The availableTillTime.
    • getAvailableTillTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getAvailableTillTimeOrBuilder()
       Output only. Timestamp until when the backup will be available.
       
      .google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getAvailableTillTimeOrBuilder in interface AutonomousDatabaseBackupPropertiesOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. The date and time the backup completed.
       
      .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. The date and time the backup completed.
       
      .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. The date and time the backup completed.
       
      .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface AutonomousDatabaseBackupPropertiesOrBuilder
    • hasStartTime

      public boolean hasStartTime()
       Output only. The date and time the backup started.
       
      .google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. The date and time the backup started.
       
      .google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. The date and time the backup started.
       
      .google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface AutonomousDatabaseBackupPropertiesOrBuilder
    • getTypeValue

      public int getTypeValue()
       Output only. The type of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeValue in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Output only. The type of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The type.
    • getVaultId

      public String getVaultId()
       Optional. The OCID of the vault.
       
      string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVaultId in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The vaultId.
    • getVaultIdBytes

      public com.google.protobuf.ByteString getVaultIdBytes()
       Optional. The OCID of the vault.
       
      string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getVaultIdBytes in interface AutonomousDatabaseBackupPropertiesOrBuilder
      Returns:
      The bytes for vaultId.
    • 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 AutonomousDatabaseBackupProperties parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static AutonomousDatabaseBackupProperties.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static AutonomousDatabaseBackupProperties getDefaultInstance()
    • parser

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

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