Class DbBackupConfig (0.29.0)

public final class DbBackupConfig extends GeneratedMessageV3 implements DbBackupConfigOrBuilder

Backup Options for the Database.

Protobuf type google.cloud.oracledatabase.v1.DbBackupConfig

Static Fields

AUTO_BACKUP_ENABLED_FIELD_NUMBER

public static final int AUTO_BACKUP_ENABLED_FIELD_NUMBER
Field Value
Type Description
int

AUTO_FULL_BACKUP_DAY_FIELD_NUMBER

public static final int AUTO_FULL_BACKUP_DAY_FIELD_NUMBER
Field Value
Type Description
int

AUTO_FULL_BACKUP_WINDOW_FIELD_NUMBER

public static final int AUTO_FULL_BACKUP_WINDOW_FIELD_NUMBER
Field Value
Type Description
int

AUTO_INCREMENTAL_BACKUP_WINDOW_FIELD_NUMBER

public static final int AUTO_INCREMENTAL_BACKUP_WINDOW_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_DELETION_POLICY_FIELD_NUMBER

public static final int BACKUP_DELETION_POLICY_FIELD_NUMBER
Field Value
Type Description
int

BACKUP_DESTINATION_DETAILS_FIELD_NUMBER

public static final int BACKUP_DESTINATION_DETAILS_FIELD_NUMBER
Field Value
Type Description
int

RETENTION_PERIOD_DAYS_FIELD_NUMBER

public static final int RETENTION_PERIOD_DAYS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DbBackupConfig getDefaultInstance()
Returns
Type Description
DbBackupConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DbBackupConfig.Builder newBuilder()
Returns
Type Description
DbBackupConfig.Builder

newBuilder(DbBackupConfig prototype)

public static DbBackupConfig.Builder newBuilder(DbBackupConfig prototype)
Parameter
Name Description
prototype DbBackupConfig
Returns
Type Description
DbBackupConfig.Builder

parseDelimitedFrom(InputStream input)

public static DbBackupConfig parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DbBackupConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DbBackupConfig parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DbBackupConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DbBackupConfig parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DbBackupConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DbBackupConfig parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DbBackupConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DbBackupConfig parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DbBackupConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DbBackupConfig parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DbBackupConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbBackupConfig
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DbBackupConfig> parser()
Returns
Type Description
Parser<DbBackupConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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];

Returns
Type Description
boolean

The autoBackupEnabled.

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];

Returns
Type Description
com.google.type.DayOfWeek

The autoFullBackupDay.

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];

Returns
Type Description
int

The enum numeric value on the wire for autoFullBackupDay.

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];

Returns
Type Description
DbBackupConfig.BackupWindow

The autoFullBackupWindow.

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];

Returns
Type Description
int

The enum numeric value on the wire for autoFullBackupWindow.

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];

Returns
Type Description
DbBackupConfig.BackupWindow

The autoIncrementalBackupWindow.

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];

Returns
Type Description
int

The enum numeric value on the wire for autoIncrementalBackupWindow.

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];

Returns
Type Description
DbBackupConfig.BackupDeletionPolicy

The backupDeletionPolicy.

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];

Returns
Type Description
int

The enum numeric value on the wire for backupDeletionPolicy.

getBackupDestinationDetails(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
DbBackupConfig.BackupDestinationDetails

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];

Returns
Type Description
int

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];

Returns
Type Description
List<BackupDestinationDetails>

getBackupDestinationDetailsOrBuilder(int index)

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];

Parameter
Name Description
index int
Returns
Type Description
DbBackupConfig.BackupDestinationDetailsOrBuilder

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];

Returns
Type Description
List<? extends com.google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetailsOrBuilder>

getDefaultInstanceForType()

public DbBackupConfig getDefaultInstanceForType()
Returns
Type Description
DbBackupConfig

getParserForType()

public Parser<DbBackupConfig> getParserForType()
Returns
Type Description
Parser<DbBackupConfig>
Overrides

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];

Returns
Type Description
int

The retentionPeriodDays.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DbBackupConfig.Builder newBuilderForType()
Returns
Type Description
DbBackupConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DbBackupConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DbBackupConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DbBackupConfig.Builder toBuilder()
Returns
Type Description
DbBackupConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException