public static final class AutomatedBackupPolicy.Builder extends GeneratedMessageV3.Builder<AutomatedBackupPolicy.Builder> implements AutomatedBackupPolicyOrBuilder
Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.
Protobuf type google.cloud.alloydb.v1.AutomatedBackupPolicy
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AutomatedBackupPolicy.BuilderImplements
AutomatedBackupPolicyOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AutomatedBackupPolicy.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
AutomatedBackupPolicy.Builder |
build()
public AutomatedBackupPolicy build()
Type | Description |
AutomatedBackupPolicy |
buildPartial()
public AutomatedBackupPolicy buildPartial()
Type | Description |
AutomatedBackupPolicy |
clear()
public AutomatedBackupPolicy.Builder clear()
Type | Description |
AutomatedBackupPolicy.Builder |
clearBackupWindow()
public AutomatedBackupPolicy.Builder clearBackupWindow()
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
.google.protobuf.Duration backup_window = 3;
Type | Description |
AutomatedBackupPolicy.Builder |
clearEnabled()
public AutomatedBackupPolicy.Builder clearEnabled()
Whether automated automated backups are enabled. If not set, defaults to true.
optional bool enabled = 1;
Type | Description |
AutomatedBackupPolicy.Builder |
This builder for chaining. |
clearEncryptionConfig()
public AutomatedBackupPolicy.Builder clearEncryptionConfig()
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
AutomatedBackupPolicy.Builder |
clearField(Descriptors.FieldDescriptor field)
public AutomatedBackupPolicy.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field |
FieldDescriptor |
Type | Description |
AutomatedBackupPolicy.Builder |
clearLabels()
public AutomatedBackupPolicy.Builder clearLabels()
Type | Description |
AutomatedBackupPolicy.Builder |
clearLocation()
public AutomatedBackupPolicy.Builder clearLocation()
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.
string location = 6;
Type | Description |
AutomatedBackupPolicy.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AutomatedBackupPolicy.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
OneofDescriptor |
Type | Description |
AutomatedBackupPolicy.Builder |
clearQuantityBasedRetention()
public AutomatedBackupPolicy.Builder clearQuantityBasedRetention()
Quantity-based Backup retention policy to retain recent backups.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;
Type | Description |
AutomatedBackupPolicy.Builder |
clearRetention()
public AutomatedBackupPolicy.Builder clearRetention()
Type | Description |
AutomatedBackupPolicy.Builder |
clearSchedule()
public AutomatedBackupPolicy.Builder clearSchedule()
Type | Description |
AutomatedBackupPolicy.Builder |
clearTimeBasedRetention()
public AutomatedBackupPolicy.Builder clearTimeBasedRetention()
Time-based Backup retention policy.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;
Type | Description |
AutomatedBackupPolicy.Builder |
clearWeeklySchedule()
public AutomatedBackupPolicy.Builder clearWeeklySchedule()
Weekly schedule for the Backup.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;
Type | Description |
AutomatedBackupPolicy.Builder |
clone()
public AutomatedBackupPolicy.Builder clone()
Type | Description |
AutomatedBackupPolicy.Builder |
containsLabels(String key)
public boolean containsLabels(String key)
Labels to apply to backups created using this configuration.
map<string, string> labels = 7;
Name | Description |
key |
String |
Type | Description |
boolean |
getBackupWindow()
public Duration getBackupWindow()
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
.google.protobuf.Duration backup_window = 3;
Type | Description |
Duration |
The backupWindow. |
getBackupWindowBuilder()
public Duration.Builder getBackupWindowBuilder()
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
.google.protobuf.Duration backup_window = 3;
Type | Description |
Builder |
getBackupWindowOrBuilder()
public DurationOrBuilder getBackupWindowOrBuilder()
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
.google.protobuf.Duration backup_window = 3;
Type | Description |
DurationOrBuilder |
getDefaultInstanceForType()
public AutomatedBackupPolicy getDefaultInstanceForType()
Type | Description |
AutomatedBackupPolicy |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEnabled()
public boolean getEnabled()
Whether automated automated backups are enabled. If not set, defaults to true.
optional bool enabled = 1;
Type | Description |
boolean |
The enabled. |
getEncryptionConfig()
public EncryptionConfig getEncryptionConfig()
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EncryptionConfig |
The encryptionConfig. |
getEncryptionConfigBuilder()
public EncryptionConfig.Builder getEncryptionConfigBuilder()
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EncryptionConfig.Builder |
getEncryptionConfigOrBuilder()
public EncryptionConfigOrBuilder getEncryptionConfigOrBuilder()
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
EncryptionConfigOrBuilder |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels to apply to backups created using this configuration.
map<string, string> labels = 7;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels to apply to backups created using this configuration.
map<string, string> labels = 7;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels to apply to backups created using this configuration.
map<string, string> labels = 7;
Name | Description |
key |
String |
defaultValue |
String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels to apply to backups created using this configuration.
map<string, string> labels = 7;
Name | Description |
key |
String |
Type | Description |
String |
getLocation()
public String getLocation()
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.
string location = 6;
Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.
string location = 6;
Type | Description |
ByteString |
The bytes for location. |
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
Type | Description |
Map<String,String> |
getQuantityBasedRetention()
public AutomatedBackupPolicy.QuantityBasedRetention getQuantityBasedRetention()
Quantity-based Backup retention policy to retain recent backups.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;
Type | Description |
AutomatedBackupPolicy.QuantityBasedRetention |
The quantityBasedRetention. |
getQuantityBasedRetentionBuilder()
public AutomatedBackupPolicy.QuantityBasedRetention.Builder getQuantityBasedRetentionBuilder()
Quantity-based Backup retention policy to retain recent backups.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;
Type | Description |
AutomatedBackupPolicy.QuantityBasedRetention.Builder |
getQuantityBasedRetentionOrBuilder()
public AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder getQuantityBasedRetentionOrBuilder()
Quantity-based Backup retention policy to retain recent backups.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;
Type | Description |
AutomatedBackupPolicy.QuantityBasedRetentionOrBuilder |
getRetentionCase()
public AutomatedBackupPolicy.RetentionCase getRetentionCase()
Type | Description |
AutomatedBackupPolicy.RetentionCase |
getScheduleCase()
public AutomatedBackupPolicy.ScheduleCase getScheduleCase()
Type | Description |
AutomatedBackupPolicy.ScheduleCase |
getTimeBasedRetention()
public AutomatedBackupPolicy.TimeBasedRetention getTimeBasedRetention()
Time-based Backup retention policy.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;
Type | Description |
AutomatedBackupPolicy.TimeBasedRetention |
The timeBasedRetention. |
getTimeBasedRetentionBuilder()
public AutomatedBackupPolicy.TimeBasedRetention.Builder getTimeBasedRetentionBuilder()
Time-based Backup retention policy.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;
Type | Description |
AutomatedBackupPolicy.TimeBasedRetention.Builder |
getTimeBasedRetentionOrBuilder()
public AutomatedBackupPolicy.TimeBasedRetentionOrBuilder getTimeBasedRetentionOrBuilder()
Time-based Backup retention policy.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;
Type | Description |
AutomatedBackupPolicy.TimeBasedRetentionOrBuilder |
getWeeklySchedule()
public AutomatedBackupPolicy.WeeklySchedule getWeeklySchedule()
Weekly schedule for the Backup.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;
Type | Description |
AutomatedBackupPolicy.WeeklySchedule |
The weeklySchedule. |
getWeeklyScheduleBuilder()
public AutomatedBackupPolicy.WeeklySchedule.Builder getWeeklyScheduleBuilder()
Weekly schedule for the Backup.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;
Type | Description |
AutomatedBackupPolicy.WeeklySchedule.Builder |
getWeeklyScheduleOrBuilder()
public AutomatedBackupPolicy.WeeklyScheduleOrBuilder getWeeklyScheduleOrBuilder()
Weekly schedule for the Backup.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;
Type | Description |
AutomatedBackupPolicy.WeeklyScheduleOrBuilder |
hasBackupWindow()
public boolean hasBackupWindow()
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
.google.protobuf.Duration backup_window = 3;
Type | Description |
boolean |
Whether the backupWindow field is set. |
hasEnabled()
public boolean hasEnabled()
Whether automated automated backups are enabled. If not set, defaults to true.
optional bool enabled = 1;
Type | Description |
boolean |
Whether the enabled field is set. |
hasEncryptionConfig()
public boolean hasEncryptionConfig()
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Type | Description |
boolean |
Whether the encryptionConfig field is set. |
hasQuantityBasedRetention()
public boolean hasQuantityBasedRetention()
Quantity-based Backup retention policy to retain recent backups.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;
Type | Description |
boolean |
Whether the quantityBasedRetention field is set. |
hasTimeBasedRetention()
public boolean hasTimeBasedRetention()
Time-based Backup retention policy.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;
Type | Description |
boolean |
Whether the timeBasedRetention field is set. |
hasWeeklySchedule()
public boolean hasWeeklySchedule()
Weekly schedule for the Backup.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;
Type | Description |
boolean |
Whether the weeklySchedule field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number |
int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number |
int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBackupWindow(Duration value)
public AutomatedBackupPolicy.Builder mergeBackupWindow(Duration value)
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
.google.protobuf.Duration backup_window = 3;
Name | Description |
value |
Duration |
Type | Description |
AutomatedBackupPolicy.Builder |
mergeEncryptionConfig(EncryptionConfig value)
public AutomatedBackupPolicy.Builder mergeEncryptionConfig(EncryptionConfig value)
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
EncryptionConfig |
Type | Description |
AutomatedBackupPolicy.Builder |
mergeFrom(AutomatedBackupPolicy other)
public AutomatedBackupPolicy.Builder mergeFrom(AutomatedBackupPolicy other)
Name | Description |
other |
AutomatedBackupPolicy |
Type | Description |
AutomatedBackupPolicy.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomatedBackupPolicy.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Type | Description |
AutomatedBackupPolicy.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AutomatedBackupPolicy.Builder mergeFrom(Message other)
Name | Description |
other |
Message |
Type | Description |
AutomatedBackupPolicy.Builder |
mergeQuantityBasedRetention(AutomatedBackupPolicy.QuantityBasedRetention value)
public AutomatedBackupPolicy.Builder mergeQuantityBasedRetention(AutomatedBackupPolicy.QuantityBasedRetention value)
Quantity-based Backup retention policy to retain recent backups.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;
Name | Description |
value |
AutomatedBackupPolicy.QuantityBasedRetention |
Type | Description |
AutomatedBackupPolicy.Builder |
mergeTimeBasedRetention(AutomatedBackupPolicy.TimeBasedRetention value)
public AutomatedBackupPolicy.Builder mergeTimeBasedRetention(AutomatedBackupPolicy.TimeBasedRetention value)
Time-based Backup retention policy.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;
Name | Description |
value |
AutomatedBackupPolicy.TimeBasedRetention |
Type | Description |
AutomatedBackupPolicy.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AutomatedBackupPolicy.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
AutomatedBackupPolicy.Builder |
mergeWeeklySchedule(AutomatedBackupPolicy.WeeklySchedule value)
public AutomatedBackupPolicy.Builder mergeWeeklySchedule(AutomatedBackupPolicy.WeeklySchedule value)
Weekly schedule for the Backup.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;
Name | Description |
value |
AutomatedBackupPolicy.WeeklySchedule |
Type | Description |
AutomatedBackupPolicy.Builder |
putAllLabels(Map<String,String> values)
public AutomatedBackupPolicy.Builder putAllLabels(Map<String,String> values)
Labels to apply to backups created using this configuration.
map<string, string> labels = 7;
Name | Description |
values |
Map<String,String> |
Type | Description |
AutomatedBackupPolicy.Builder |
putLabels(String key, String value)
public AutomatedBackupPolicy.Builder putLabels(String key, String value)
Labels to apply to backups created using this configuration.
map<string, string> labels = 7;
Name | Description |
key |
String |
value |
String |
Type | Description |
AutomatedBackupPolicy.Builder |
removeLabels(String key)
public AutomatedBackupPolicy.Builder removeLabels(String key)
Labels to apply to backups created using this configuration.
map<string, string> labels = 7;
Name | Description |
key |
String |
Type | Description |
AutomatedBackupPolicy.Builder |
setBackupWindow(Duration value)
public AutomatedBackupPolicy.Builder setBackupWindow(Duration value)
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
.google.protobuf.Duration backup_window = 3;
Name | Description |
value |
Duration |
Type | Description |
AutomatedBackupPolicy.Builder |
setBackupWindow(Duration.Builder builderForValue)
public AutomatedBackupPolicy.Builder setBackupWindow(Duration.Builder builderForValue)
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it defaults to 1 hour.
.google.protobuf.Duration backup_window = 3;
Name | Description |
builderForValue |
Builder |
Type | Description |
AutomatedBackupPolicy.Builder |
setEnabled(boolean value)
public AutomatedBackupPolicy.Builder setEnabled(boolean value)
Whether automated automated backups are enabled. If not set, defaults to true.
optional bool enabled = 1;
Name | Description |
value |
boolean The enabled to set. |
Type | Description |
AutomatedBackupPolicy.Builder |
This builder for chaining. |
setEncryptionConfig(EncryptionConfig value)
public AutomatedBackupPolicy.Builder setEncryptionConfig(EncryptionConfig value)
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
value |
EncryptionConfig |
Type | Description |
AutomatedBackupPolicy.Builder |
setEncryptionConfig(EncryptionConfig.Builder builderForValue)
public AutomatedBackupPolicy.Builder setEncryptionConfig(EncryptionConfig.Builder builderForValue)
Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
.google.cloud.alloydb.v1.EncryptionConfig encryption_config = 8 [(.google.api.field_behavior) = OPTIONAL];
Name | Description |
builderForValue |
EncryptionConfig.Builder |
Type | Description |
AutomatedBackupPolicy.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AutomatedBackupPolicy.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field |
FieldDescriptor |
value |
Object |
Type | Description |
AutomatedBackupPolicy.Builder |
setLocation(String value)
public AutomatedBackupPolicy.Builder setLocation(String value)
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.
string location = 6;
Name | Description |
value |
String The location to set. |
Type | Description |
AutomatedBackupPolicy.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public AutomatedBackupPolicy.Builder setLocationBytes(ByteString value)
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. If empty, defaults to the region of the cluster.
string location = 6;
Name | Description |
value |
ByteString The bytes for location to set. |
Type | Description |
AutomatedBackupPolicy.Builder |
This builder for chaining. |
setQuantityBasedRetention(AutomatedBackupPolicy.QuantityBasedRetention value)
public AutomatedBackupPolicy.Builder setQuantityBasedRetention(AutomatedBackupPolicy.QuantityBasedRetention value)
Quantity-based Backup retention policy to retain recent backups.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;
Name | Description |
value |
AutomatedBackupPolicy.QuantityBasedRetention |
Type | Description |
AutomatedBackupPolicy.Builder |
setQuantityBasedRetention(AutomatedBackupPolicy.QuantityBasedRetention.Builder builderForValue)
public AutomatedBackupPolicy.Builder setQuantityBasedRetention(AutomatedBackupPolicy.QuantityBasedRetention.Builder builderForValue)
Quantity-based Backup retention policy to retain recent backups.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.QuantityBasedRetention quantity_based_retention = 5;
Name | Description |
builderForValue |
AutomatedBackupPolicy.QuantityBasedRetention.Builder |
Type | Description |
AutomatedBackupPolicy.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AutomatedBackupPolicy.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Type | Description |
AutomatedBackupPolicy.Builder |
setTimeBasedRetention(AutomatedBackupPolicy.TimeBasedRetention value)
public AutomatedBackupPolicy.Builder setTimeBasedRetention(AutomatedBackupPolicy.TimeBasedRetention value)
Time-based Backup retention policy.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;
Name | Description |
value |
AutomatedBackupPolicy.TimeBasedRetention |
Type | Description |
AutomatedBackupPolicy.Builder |
setTimeBasedRetention(AutomatedBackupPolicy.TimeBasedRetention.Builder builderForValue)
public AutomatedBackupPolicy.Builder setTimeBasedRetention(AutomatedBackupPolicy.TimeBasedRetention.Builder builderForValue)
Time-based Backup retention policy.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.TimeBasedRetention time_based_retention = 4;
Name | Description |
builderForValue |
AutomatedBackupPolicy.TimeBasedRetention.Builder |
Type | Description |
AutomatedBackupPolicy.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AutomatedBackupPolicy.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields |
UnknownFieldSet |
Type | Description |
AutomatedBackupPolicy.Builder |
setWeeklySchedule(AutomatedBackupPolicy.WeeklySchedule value)
public AutomatedBackupPolicy.Builder setWeeklySchedule(AutomatedBackupPolicy.WeeklySchedule value)
Weekly schedule for the Backup.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;
Name | Description |
value |
AutomatedBackupPolicy.WeeklySchedule |
Type | Description |
AutomatedBackupPolicy.Builder |
setWeeklySchedule(AutomatedBackupPolicy.WeeklySchedule.Builder builderForValue)
public AutomatedBackupPolicy.Builder setWeeklySchedule(AutomatedBackupPolicy.WeeklySchedule.Builder builderForValue)
Weekly schedule for the Backup.
.google.cloud.alloydb.v1.AutomatedBackupPolicy.WeeklySchedule weekly_schedule = 2;
Name | Description |
builderForValue |
AutomatedBackupPolicy.WeeklySchedule.Builder |
Type | Description |
AutomatedBackupPolicy.Builder |