Class DbBackupConfig

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

@Generated public final class DbBackupConfig extends com.google.protobuf.GeneratedMessage implements DbBackupConfigOrBuilder
 Backup Options for the Database.
 
Protobuf type google.cloud.oracledatabase.v1.DbBackupConfig
See Also:
  • Field Details

    • AUTO_BACKUP_ENABLED_FIELD_NUMBER

      public static final int AUTO_BACKUP_ENABLED_FIELD_NUMBER
      See Also:
    • BACKUP_DESTINATION_DETAILS_FIELD_NUMBER

      public static final int BACKUP_DESTINATION_DETAILS_FIELD_NUMBER
      See Also:
    • RETENTION_PERIOD_DAYS_FIELD_NUMBER

      public static final int RETENTION_PERIOD_DAYS_FIELD_NUMBER
      See Also:
    • BACKUP_DELETION_POLICY_FIELD_NUMBER

      public static final int BACKUP_DELETION_POLICY_FIELD_NUMBER
      See Also:
    • AUTO_FULL_BACKUP_DAY_FIELD_NUMBER

      public static final int AUTO_FULL_BACKUP_DAY_FIELD_NUMBER
      See Also:
    • AUTO_FULL_BACKUP_WINDOW_FIELD_NUMBER

      public static final int AUTO_FULL_BACKUP_WINDOW_FIELD_NUMBER
      See Also:
    • AUTO_INCREMENTAL_BACKUP_WINDOW_FIELD_NUMBER

      public static final int AUTO_INCREMENTAL_BACKUP_WINDOW_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
    • getAutoBackupEnabled

      public boolean getAutoBackupEnabled()
       Optional. If set to true, enables automatic backups on the database.
       
      bool auto_backup_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoBackupEnabled in interface DbBackupConfigOrBuilder
      Returns:
      The autoBackupEnabled.
    • getBackupDestinationDetailsList

      public List<DbBackupConfig.BackupDestinationDetails> getBackupDestinationDetailsList()
       Optional. Details of the database backup destinations.
       
      repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBackupDestinationDetailsList in interface DbBackupConfigOrBuilder
    • getBackupDestinationDetailsOrBuilderList

      public List<? extends DbBackupConfig.BackupDestinationDetailsOrBuilder> getBackupDestinationDetailsOrBuilderList()
       Optional. Details of the database backup destinations.
       
      repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBackupDestinationDetailsOrBuilderList in interface DbBackupConfigOrBuilder
    • getBackupDestinationDetailsCount

      public int getBackupDestinationDetailsCount()
       Optional. Details of the database backup destinations.
       
      repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBackupDestinationDetailsCount in interface DbBackupConfigOrBuilder
    • getBackupDestinationDetails

      public DbBackupConfig.BackupDestinationDetails getBackupDestinationDetails(int index)
       Optional. Details of the database backup destinations.
       
      repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBackupDestinationDetails in interface DbBackupConfigOrBuilder
    • getBackupDestinationDetailsOrBuilder

      public DbBackupConfig.BackupDestinationDetailsOrBuilder getBackupDestinationDetailsOrBuilder(int index)
       Optional. Details of the database backup destinations.
       
      repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBackupDestinationDetailsOrBuilder in interface DbBackupConfigOrBuilder
    • getRetentionPeriodDays

      public int getRetentionPeriodDays()
       Optional. The number of days an automatic backup is retained before being
       automatically deleted. This value determines the earliest point in time to
       which a database can be restored. Min: 1, Max: 60.
       
      int32 retention_period_days = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getRetentionPeriodDays in interface DbBackupConfigOrBuilder
      Returns:
      The retentionPeriodDays.
    • getBackupDeletionPolicyValue

      public int getBackupDeletionPolicyValue()
       Optional. This defines when the backups will be deleted after Database
       termination.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDeletionPolicy backup_deletion_policy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBackupDeletionPolicyValue in interface DbBackupConfigOrBuilder
      Returns:
      The enum numeric value on the wire for backupDeletionPolicy.
    • getBackupDeletionPolicy

      public DbBackupConfig.BackupDeletionPolicy getBackupDeletionPolicy()
       Optional. This defines when the backups will be deleted after Database
       termination.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDeletionPolicy backup_deletion_policy = 4 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getBackupDeletionPolicy in interface DbBackupConfigOrBuilder
      Returns:
      The backupDeletionPolicy.
    • getAutoFullBackupDayValue

      public int getAutoFullBackupDayValue()
       Optional. The day of the week on which the full backup should be performed
       on the database. If no value is provided, it will default to Sunday.
       
      .google.type.DayOfWeek auto_full_backup_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoFullBackupDayValue in interface DbBackupConfigOrBuilder
      Returns:
      The enum numeric value on the wire for autoFullBackupDay.
    • getAutoFullBackupDay

      public DayOfWeek getAutoFullBackupDay()
       Optional. The day of the week on which the full backup should be performed
       on the database. If no value is provided, it will default to Sunday.
       
      .google.type.DayOfWeek auto_full_backup_day = 5 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoFullBackupDay in interface DbBackupConfigOrBuilder
      Returns:
      The autoFullBackupDay.
    • getAutoFullBackupWindowValue

      public int getAutoFullBackupWindowValue()
       Optional. The window in which the full backup should be performed on the
       database. If no value is provided, the default is anytime.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig.BackupWindow auto_full_backup_window = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoFullBackupWindowValue in interface DbBackupConfigOrBuilder
      Returns:
      The enum numeric value on the wire for autoFullBackupWindow.
    • getAutoFullBackupWindow

      public DbBackupConfig.BackupWindow getAutoFullBackupWindow()
       Optional. The window in which the full backup should be performed on the
       database. If no value is provided, the default is anytime.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig.BackupWindow auto_full_backup_window = 6 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoFullBackupWindow in interface DbBackupConfigOrBuilder
      Returns:
      The autoFullBackupWindow.
    • getAutoIncrementalBackupWindowValue

      public int getAutoIncrementalBackupWindowValue()
       Optional. The window in which the incremental backup should be performed on
       the database. If no value is provided, the default is anytime except the
       auto full backup day.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig.BackupWindow auto_incremental_backup_window = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoIncrementalBackupWindowValue in interface DbBackupConfigOrBuilder
      Returns:
      The enum numeric value on the wire for autoIncrementalBackupWindow.
    • getAutoIncrementalBackupWindow

      public DbBackupConfig.BackupWindow getAutoIncrementalBackupWindow()
       Optional. The window in which the incremental backup should be performed on
       the database. If no value is provided, the default is anytime except the
       auto full backup day.
       
      .google.cloud.oracledatabase.v1.DbBackupConfig.BackupWindow auto_incremental_backup_window = 7 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getAutoIncrementalBackupWindow in interface DbBackupConfigOrBuilder
      Returns:
      The autoIncrementalBackupWindow.
    • 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 DbBackupConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static DbBackupConfig.Builder newBuilder()
    • newBuilder

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

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

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

      public static DbBackupConfig getDefaultInstance()
    • parser

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

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