Class AutonomousDatabaseBackupProperties.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
com.google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Builder
All Implemented Interfaces:
AutonomousDatabaseBackupPropertiesOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
AutonomousDatabaseBackupProperties

public static final class AutonomousDatabaseBackupProperties.Builder extends com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder> implements AutonomousDatabaseBackupPropertiesOrBuilder
 Properties of the Autonomous Database Backup resource.
 
Protobuf type google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties
  • 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.Builder<AutonomousDatabaseBackupProperties.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
    • getDefaultInstanceForType

      public AutonomousDatabaseBackupProperties getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public AutonomousDatabaseBackupProperties.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
    • mergeFrom

      public AutonomousDatabaseBackupProperties.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AutonomousDatabaseBackupProperties.Builder>
      Throws:
      IOException
    • 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.
    • setOcid

       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];
      Parameters:
      value - The ocid to set.
      Returns:
      This builder for chaining.
    • clearOcid

       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];
      Returns:
      This builder for chaining.
    • setOcidBytes

      public AutonomousDatabaseBackupProperties.Builder setOcidBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for ocid to set.
      Returns:
      This builder for chaining.
    • 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.
    • setRetentionPeriodDays

      public AutonomousDatabaseBackupProperties.Builder setRetentionPeriodDays(int value)
       Optional. Retention period in days for the backup.
       
      int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The retentionPeriodDays to set.
      Returns:
      This builder for chaining.
    • clearRetentionPeriodDays

      public AutonomousDatabaseBackupProperties.Builder clearRetentionPeriodDays()
       Optional. Retention period in days for the backup.
       
      int32 retention_period_days = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • 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.
    • setCompartmentId

      public AutonomousDatabaseBackupProperties.Builder setCompartmentId(String value)
       Output only. The OCID of the compartment.
       
      string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The compartmentId to set.
      Returns:
      This builder for chaining.
    • clearCompartmentId

      public AutonomousDatabaseBackupProperties.Builder clearCompartmentId()
       Output only. The OCID of the compartment.
       
      string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setCompartmentIdBytes

      public AutonomousDatabaseBackupProperties.Builder setCompartmentIdBytes(com.google.protobuf.ByteString value)
       Output only. The OCID of the compartment.
       
      string compartment_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for compartmentId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setDatabaseSizeTb

      public AutonomousDatabaseBackupProperties.Builder setDatabaseSizeTb(float value)
       Output only. The quantity of data in the database, in terabytes.
       
      float database_size_tb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The databaseSizeTb to set.
      Returns:
      This builder for chaining.
    • clearDatabaseSizeTb

      public AutonomousDatabaseBackupProperties.Builder clearDatabaseSizeTb()
       Output only. The quantity of data in the database, in terabytes.
       
      float database_size_tb = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setDbVersion

       Output only. A valid Oracle Database version for Autonomous Database.
       
      string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The dbVersion to set.
      Returns:
      This builder for chaining.
    • clearDbVersion

       Output only. A valid Oracle Database version for Autonomous Database.
       
      string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setDbVersionBytes

      public AutonomousDatabaseBackupProperties.Builder setDbVersionBytes(com.google.protobuf.ByteString value)
       Output only. A valid Oracle Database version for Autonomous Database.
       
      string db_version = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for dbVersion to set.
      Returns:
      This builder for chaining.
    • 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.
    • setIsLongTermBackup

      public AutonomousDatabaseBackupProperties.Builder setIsLongTermBackup(boolean value)
       Output only. Indicates if the backup is long term backup.
       
      bool is_long_term_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The isLongTermBackup to set.
      Returns:
      This builder for chaining.
    • clearIsLongTermBackup

      public AutonomousDatabaseBackupProperties.Builder clearIsLongTermBackup()
       Output only. Indicates if the backup is long term backup.
       
      bool is_long_term_backup = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setIsAutomaticBackup

      public AutonomousDatabaseBackupProperties.Builder setIsAutomaticBackup(boolean value)
       Output only. Indicates if the backup is automatic or user initiated.
       
      bool is_automatic_backup = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The isAutomaticBackup to set.
      Returns:
      This builder for chaining.
    • clearIsAutomaticBackup

      public AutonomousDatabaseBackupProperties.Builder clearIsAutomaticBackup()
       Output only. Indicates if the backup is automatic or user initiated.
       
      bool is_automatic_backup = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setIsRestorable

      public AutonomousDatabaseBackupProperties.Builder setIsRestorable(boolean value)
       Output only. Indicates if the backup can be used to restore the Autonomous
       Database.
       
      bool is_restorable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The isRestorable to set.
      Returns:
      This builder for chaining.
    • clearIsRestorable

      public AutonomousDatabaseBackupProperties.Builder clearIsRestorable()
       Output only. Indicates if the backup can be used to restore the Autonomous
       Database.
       
      bool is_restorable = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setKeyStoreId

      public AutonomousDatabaseBackupProperties.Builder setKeyStoreId(String value)
       Optional. The OCID of the key store of Oracle Vault.
       
      string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The keyStoreId to set.
      Returns:
      This builder for chaining.
    • clearKeyStoreId

       Optional. The OCID of the key store of Oracle Vault.
       
      string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setKeyStoreIdBytes

      public AutonomousDatabaseBackupProperties.Builder setKeyStoreIdBytes(com.google.protobuf.ByteString value)
       Optional. The OCID of the key store of Oracle Vault.
       
      string key_store_id = 9 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for keyStoreId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setKeyStoreWallet

      public AutonomousDatabaseBackupProperties.Builder setKeyStoreWallet(String value)
       Optional. The wallet name for Oracle Key Vault.
       
      string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The keyStoreWallet to set.
      Returns:
      This builder for chaining.
    • clearKeyStoreWallet

      public AutonomousDatabaseBackupProperties.Builder clearKeyStoreWallet()
       Optional. The wallet name for Oracle Key Vault.
       
      string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setKeyStoreWalletBytes

      public AutonomousDatabaseBackupProperties.Builder setKeyStoreWalletBytes(com.google.protobuf.ByteString value)
       Optional. The wallet name for Oracle Key Vault.
       
      string key_store_wallet = 10 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for keyStoreWallet to set.
      Returns:
      This builder for chaining.
    • 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.
    • setKmsKeyId

       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];
      Parameters:
      value - The kmsKeyId to set.
      Returns:
      This builder for chaining.
    • clearKmsKeyId

       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];
      Returns:
      This builder for chaining.
    • setKmsKeyIdBytes

      public AutonomousDatabaseBackupProperties.Builder setKmsKeyIdBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for kmsKeyId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setKmsKeyVersionId

      public AutonomousDatabaseBackupProperties.Builder setKmsKeyVersionId(String value)
       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];
      Parameters:
      value - The kmsKeyVersionId to set.
      Returns:
      This builder for chaining.
    • clearKmsKeyVersionId

      public AutonomousDatabaseBackupProperties.Builder clearKmsKeyVersionId()
       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];
      Returns:
      This builder for chaining.
    • setKmsKeyVersionIdBytes

      public AutonomousDatabaseBackupProperties.Builder setKmsKeyVersionIdBytes(com.google.protobuf.ByteString value)
       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];
      Parameters:
      value - The bytes for kmsKeyVersionId to set.
      Returns:
      This builder for chaining.
    • 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.
    • setLifecycleDetails

      public AutonomousDatabaseBackupProperties.Builder setLifecycleDetails(String value)
       Output only. Additional information about the current lifecycle state.
       
      string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The lifecycleDetails to set.
      Returns:
      This builder for chaining.
    • clearLifecycleDetails

      public AutonomousDatabaseBackupProperties.Builder clearLifecycleDetails()
       Output only. Additional information about the current lifecycle state.
       
      string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • setLifecycleDetailsBytes

      public AutonomousDatabaseBackupProperties.Builder setLifecycleDetailsBytes(com.google.protobuf.ByteString value)
       Output only. Additional information about the current lifecycle state.
       
      string lifecycle_details = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The bytes for lifecycleDetails to set.
      Returns:
      This builder for chaining.
    • 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.
    • setLifecycleStateValue

      public AutonomousDatabaseBackupProperties.Builder setLifecycleStateValue(int value)
       Output only. The lifecycle state of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for lifecycleState to set.
      Returns:
      This builder for chaining.
    • 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.
    • setLifecycleState

       Output only. The lifecycle state of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The lifecycleState to set.
      Returns:
      This builder for chaining.
    • clearLifecycleState

      public AutonomousDatabaseBackupProperties.Builder clearLifecycleState()
       Output only. The lifecycle state of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.State lifecycle_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setSizeTb

      public AutonomousDatabaseBackupProperties.Builder setSizeTb(float value)
       Output only. The backup size in terabytes.
       
      float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The sizeTb to set.
      Returns:
      This builder for chaining.
    • clearSizeTb

       Output only. The backup size in terabytes.
       
      float size_tb = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setAvailableTillTime

      public AutonomousDatabaseBackupProperties.Builder setAvailableTillTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp until when the backup will be available.
       
      .google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setAvailableTillTime

      public AutonomousDatabaseBackupProperties.Builder setAvailableTillTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. Timestamp until when the backup will be available.
       
      .google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeAvailableTillTime

      public AutonomousDatabaseBackupProperties.Builder mergeAvailableTillTime(com.google.protobuf.Timestamp value)
       Output only. Timestamp until when the backup will be available.
       
      .google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearAvailableTillTime

      public AutonomousDatabaseBackupProperties.Builder clearAvailableTillTime()
       Output only. Timestamp until when the backup will be available.
       
      .google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getAvailableTillTimeBuilder

      public com.google.protobuf.Timestamp.Builder getAvailableTillTimeBuilder()
       Output only. Timestamp until when the backup will be available.
       
      .google.protobuf.Timestamp available_till_time = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setEndTime

      public AutonomousDatabaseBackupProperties.Builder setEndTime(com.google.protobuf.Timestamp value)
       Output only. The date and time the backup completed.
       
      .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setEndTime

      public AutonomousDatabaseBackupProperties.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The date and time the backup completed.
       
      .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeEndTime

      public AutonomousDatabaseBackupProperties.Builder mergeEndTime(com.google.protobuf.Timestamp value)
       Output only. The date and time the backup completed.
       
      .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearEndTime

       Output only. The date and time the backup completed.
       
      .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getEndTimeBuilder

      public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
       Output only. The date and time the backup completed.
       
      .google.protobuf.Timestamp end_time = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setStartTime

      public AutonomousDatabaseBackupProperties.Builder setStartTime(com.google.protobuf.Timestamp value)
       Output only. The date and time the backup started.
       
      .google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • setStartTime

      public AutonomousDatabaseBackupProperties.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
       Output only. The date and time the backup started.
       
      .google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • mergeStartTime

      public AutonomousDatabaseBackupProperties.Builder mergeStartTime(com.google.protobuf.Timestamp value)
       Output only. The date and time the backup started.
       
      .google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • clearStartTime

       Output only. The date and time the backup started.
       
      .google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • getStartTimeBuilder

      public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
       Output only. The date and time the backup started.
       
      .google.protobuf.Timestamp start_time = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
    • 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.
    • setTypeValue

      public AutonomousDatabaseBackupProperties.Builder setTypeValue(int value)
       Output only. The type of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • 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.
    • setType

       Output only. The type of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

       Output only. The type of the backup.
       
      .google.cloud.oracledatabase.v1.AutonomousDatabaseBackupProperties.Type type = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      This builder for chaining.
    • 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.
    • setVaultId

       Optional. The OCID of the vault.
       
      string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The vaultId to set.
      Returns:
      This builder for chaining.
    • clearVaultId

       Optional. The OCID of the vault.
       
      string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      This builder for chaining.
    • setVaultIdBytes

      public AutonomousDatabaseBackupProperties.Builder setVaultIdBytes(com.google.protobuf.ByteString value)
       Optional. The OCID of the vault.
       
      string vault_id = 20 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      value - The bytes for vaultId to set.
      Returns:
      This builder for chaining.