public final class DbBackupConfig extends GeneratedMessageV3 implements DbBackupConfigOrBuilder
Backup Options for the Database.
Protobuf type google.cloud.oracledatabase.v1.DbBackupConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DbBackupConfig.Builder newBuilder()
newBuilder(DbBackupConfig prototype)
public static DbBackupConfig.Builder newBuilder(DbBackupConfig prototype)
public static DbBackupConfig parseDelimitedFrom(InputStream input)
public static DbBackupConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DbBackupConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DbBackupConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DbBackupConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DbBackupConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DbBackupConfig parseFrom(CodedInputStream input)
public static DbBackupConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DbBackupConfig parseFrom(InputStream input)
public static DbBackupConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DbBackupConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DbBackupConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DbBackupConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
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];
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];
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];
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
|
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];
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
|
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()
getParserForType()
public Parser<DbBackupConfig> getParserForType()
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DbBackupConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DbBackupConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
toBuilder()
public DbBackupConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides