public static final class DbBackupConfig.Builder extends GeneratedMessageV3.Builder<DbBackupConfig.Builder> implements DbBackupConfigOrBuilderBackup Options for the Database.
Protobuf type google.cloud.oracledatabase.v1.DbBackupConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > DbBackupConfig.BuilderImplements
DbBackupConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllBackupDestinationDetails(Iterable<? extends DbBackupConfig.BackupDestinationDetails> values)
public DbBackupConfig.Builder addAllBackupDestinationDetails(Iterable<? extends DbBackupConfig.BackupDestinationDetails> values)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 |
values |
Iterable<? extends com.google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails> |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
addBackupDestinationDetails(DbBackupConfig.BackupDestinationDetails value)
public DbBackupConfig.Builder addBackupDestinationDetails(DbBackupConfig.BackupDestinationDetails value)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 |
value |
DbBackupConfig.BackupDestinationDetails |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
addBackupDestinationDetails(DbBackupConfig.BackupDestinationDetails.Builder builderForValue)
public DbBackupConfig.Builder addBackupDestinationDetails(DbBackupConfig.BackupDestinationDetails.Builder builderForValue)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 |
builderForValue |
DbBackupConfig.BackupDestinationDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
addBackupDestinationDetails(int index, DbBackupConfig.BackupDestinationDetails value)
public DbBackupConfig.Builder addBackupDestinationDetails(int index, DbBackupConfig.BackupDestinationDetails value)Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DbBackupConfig.BackupDestinationDetails |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
addBackupDestinationDetails(int index, DbBackupConfig.BackupDestinationDetails.Builder builderForValue)
public DbBackupConfig.Builder addBackupDestinationDetails(int index, DbBackupConfig.BackupDestinationDetails.Builder builderForValue)Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DbBackupConfig.BackupDestinationDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
addBackupDestinationDetailsBuilder()
public DbBackupConfig.BackupDestinationDetails.Builder addBackupDestinationDetailsBuilder()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 |
DbBackupConfig.BackupDestinationDetails.Builder |
|
addBackupDestinationDetailsBuilder(int index)
public DbBackupConfig.BackupDestinationDetails.Builder addBackupDestinationDetailsBuilder(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.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DbBackupConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
build()
public DbBackupConfig build()| Returns | |
|---|---|
| Type | Description |
DbBackupConfig |
|
buildPartial()
public DbBackupConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
DbBackupConfig |
|
clear()
public DbBackupConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
clearAutoBackupEnabled()
public DbBackupConfig.Builder clearAutoBackupEnabled()Optional. If set to true, enables automatic backups on the database.
bool auto_backup_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
clearAutoFullBackupDay()
public DbBackupConfig.Builder clearAutoFullBackupDay()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 |
DbBackupConfig.Builder |
This builder for chaining. |
clearAutoFullBackupWindow()
public DbBackupConfig.Builder clearAutoFullBackupWindow()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.Builder |
This builder for chaining. |
clearAutoIncrementalBackupWindow()
public DbBackupConfig.Builder clearAutoIncrementalBackupWindow()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.Builder |
This builder for chaining. |
clearBackupDeletionPolicy()
public DbBackupConfig.Builder clearBackupDeletionPolicy()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.Builder |
This builder for chaining. |
clearBackupDestinationDetails()
public DbBackupConfig.Builder clearBackupDestinationDetails()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 |
DbBackupConfig.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public DbBackupConfig.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
clearOneof(Descriptors.OneofDescriptor oneof)
public DbBackupConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
clearRetentionPeriodDays()
public DbBackupConfig.Builder clearRetentionPeriodDays()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 |
DbBackupConfig.Builder |
This builder for chaining. |
clone()
public DbBackupConfig.Builder clone()| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
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 |
|
getBackupDestinationDetailsBuilder(int index)
public DbBackupConfig.BackupDestinationDetails.Builder getBackupDestinationDetailsBuilder(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.Builder |
|
getBackupDestinationDetailsBuilderList()
public List<DbBackupConfig.BackupDestinationDetails.Builder> getBackupDestinationDetailsBuilderList()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<Builder> |
|
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 |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(DbBackupConfig other)
public DbBackupConfig.Builder mergeFrom(DbBackupConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
DbBackupConfig |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public DbBackupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DbBackupConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DbBackupConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
removeBackupDestinationDetails(int index)
public DbBackupConfig.Builder removeBackupDestinationDetails(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.Builder |
|
setAutoBackupEnabled(boolean value)
public DbBackupConfig.Builder setAutoBackupEnabled(boolean value)Optional. If set to true, enables automatic backups on the database.
bool auto_backup_enabled = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe autoBackupEnabled to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setAutoFullBackupDay(DayOfWeek value)
public DbBackupConfig.Builder setAutoFullBackupDay(DayOfWeek value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
com.google.type.DayOfWeekThe autoFullBackupDay to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setAutoFullBackupDayValue(int value)
public DbBackupConfig.Builder setAutoFullBackupDayValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for autoFullBackupDay to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setAutoFullBackupWindow(DbBackupConfig.BackupWindow value)
public DbBackupConfig.Builder setAutoFullBackupWindow(DbBackupConfig.BackupWindow value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DbBackupConfig.BackupWindowThe autoFullBackupWindow to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setAutoFullBackupWindowValue(int value)
public DbBackupConfig.Builder setAutoFullBackupWindowValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for autoFullBackupWindow to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setAutoIncrementalBackupWindow(DbBackupConfig.BackupWindow value)
public DbBackupConfig.Builder setAutoIncrementalBackupWindow(DbBackupConfig.BackupWindow value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DbBackupConfig.BackupWindowThe autoIncrementalBackupWindow to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setAutoIncrementalBackupWindowValue(int value)
public DbBackupConfig.Builder setAutoIncrementalBackupWindowValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for autoIncrementalBackupWindow to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setBackupDeletionPolicy(DbBackupConfig.BackupDeletionPolicy value)
public DbBackupConfig.Builder setBackupDeletionPolicy(DbBackupConfig.BackupDeletionPolicy value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
DbBackupConfig.BackupDeletionPolicyThe backupDeletionPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setBackupDeletionPolicyValue(int value)
public DbBackupConfig.Builder setBackupDeletionPolicyValue(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for backupDeletionPolicy to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setBackupDestinationDetails(int index, DbBackupConfig.BackupDestinationDetails value)
public DbBackupConfig.Builder setBackupDestinationDetails(int index, DbBackupConfig.BackupDestinationDetails value)Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
DbBackupConfig.BackupDestinationDetails |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
setBackupDestinationDetails(int index, DbBackupConfig.BackupDestinationDetails.Builder builderForValue)
public DbBackupConfig.Builder setBackupDestinationDetails(int index, DbBackupConfig.BackupDestinationDetails.Builder builderForValue)Optional. Details of the database backup destinations.
repeated .google.cloud.oracledatabase.v1.DbBackupConfig.BackupDestinationDetails backup_destination_details = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
DbBackupConfig.BackupDestinationDetails.Builder |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public DbBackupConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DbBackupConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|
setRetentionPeriodDays(int value)
public DbBackupConfig.Builder setRetentionPeriodDays(int value)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];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe retentionPeriodDays to set. |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final DbBackupConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
DbBackupConfig.Builder |
|