- 0.57.0 (latest)
- 0.55.0
- 0.54.0
- 0.52.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.42.0
- 0.40.0
- 0.39.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class AutomatedBackupConfig.Builder extends GeneratedMessage.Builder<AutomatedBackupConfig.Builder> implements AutomatedBackupConfigOrBuilderThe automated backup config for a cluster.
Protobuf type google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AutomatedBackupConfig.BuilderImplements
AutomatedBackupConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AutomatedBackupConfig build()| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig |
|
buildPartial()
public AutomatedBackupConfig buildPartial()| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig |
|
clear()
public AutomatedBackupConfig.Builder clear()| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
clearAutomatedBackupMode()
public AutomatedBackupConfig.Builder clearAutomatedBackupMode()Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.AutomatedBackupMode automated_backup_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
This builder for chaining. |
clearFixedFrequencySchedule()
public AutomatedBackupConfig.Builder clearFixedFrequencySchedule()Optional. Trigger automated backups at a fixed frequency.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencySchedule fixed_frequency_schedule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
clearRetention()
public AutomatedBackupConfig.Builder clearRetention()Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
optional .google.protobuf.Duration retention = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
clearSchedule()
public AutomatedBackupConfig.Builder clearSchedule()| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
getAutomatedBackupMode()
public AutomatedBackupConfig.AutomatedBackupMode getAutomatedBackupMode()Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.AutomatedBackupMode automated_backup_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.AutomatedBackupMode |
The automatedBackupMode. |
getAutomatedBackupModeValue()
public int getAutomatedBackupModeValue()Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.AutomatedBackupMode automated_backup_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for automatedBackupMode. |
getDefaultInstanceForType()
public AutomatedBackupConfig getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFixedFrequencySchedule()
public AutomatedBackupConfig.FixedFrequencySchedule getFixedFrequencySchedule()Optional. Trigger automated backups at a fixed frequency.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencySchedule fixed_frequency_schedule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.FixedFrequencySchedule |
The fixedFrequencySchedule. |
getFixedFrequencyScheduleBuilder()
public AutomatedBackupConfig.FixedFrequencySchedule.Builder getFixedFrequencyScheduleBuilder()Optional. Trigger automated backups at a fixed frequency.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencySchedule fixed_frequency_schedule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.FixedFrequencySchedule.Builder |
|
getFixedFrequencyScheduleOrBuilder()
public AutomatedBackupConfig.FixedFrequencyScheduleOrBuilder getFixedFrequencyScheduleOrBuilder()Optional. Trigger automated backups at a fixed frequency.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencySchedule fixed_frequency_schedule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.FixedFrequencyScheduleOrBuilder |
|
getRetention()
public Duration getRetention()Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
optional .google.protobuf.Duration retention = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Duration |
The retention. |
getRetentionBuilder()
public Duration.Builder getRetentionBuilder()Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
optional .google.protobuf.Duration retention = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
Builder |
|
getRetentionOrBuilder()
public DurationOrBuilder getRetentionOrBuilder()Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
optional .google.protobuf.Duration retention = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
DurationOrBuilder |
|
getScheduleCase()
public AutomatedBackupConfig.ScheduleCase getScheduleCase()| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.ScheduleCase |
|
hasFixedFrequencySchedule()
public boolean hasFixedFrequencySchedule()Optional. Trigger automated backups at a fixed frequency.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencySchedule fixed_frequency_schedule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the fixedFrequencySchedule field is set. |
hasRetention()
public boolean hasRetention()Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
optional .google.protobuf.Duration retention = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the retention field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFixedFrequencySchedule(AutomatedBackupConfig.FixedFrequencySchedule value)
public AutomatedBackupConfig.Builder mergeFixedFrequencySchedule(AutomatedBackupConfig.FixedFrequencySchedule value)Optional. Trigger automated backups at a fixed frequency.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencySchedule fixed_frequency_schedule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AutomatedBackupConfig.FixedFrequencySchedule |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
mergeFrom(AutomatedBackupConfig other)
public AutomatedBackupConfig.Builder mergeFrom(AutomatedBackupConfig other)| Parameter | |
|---|---|
| Name | Description |
other |
AutomatedBackupConfig |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AutomatedBackupConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AutomatedBackupConfig.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
mergeRetention(Duration value)
public AutomatedBackupConfig.Builder mergeRetention(Duration value)Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
optional .google.protobuf.Duration retention = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
setAutomatedBackupMode(AutomatedBackupConfig.AutomatedBackupMode value)
public AutomatedBackupConfig.Builder setAutomatedBackupMode(AutomatedBackupConfig.AutomatedBackupMode value)Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.AutomatedBackupMode automated_backup_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AutomatedBackupConfig.AutomatedBackupModeThe automatedBackupMode to set. |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
This builder for chaining. |
setAutomatedBackupModeValue(int value)
public AutomatedBackupConfig.Builder setAutomatedBackupModeValue(int value)Optional. The automated backup mode. If the mode is disabled, the other fields will be ignored.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.AutomatedBackupMode automated_backup_mode = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for automatedBackupMode to set. |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
This builder for chaining. |
setFixedFrequencySchedule(AutomatedBackupConfig.FixedFrequencySchedule value)
public AutomatedBackupConfig.Builder setFixedFrequencySchedule(AutomatedBackupConfig.FixedFrequencySchedule value)Optional. Trigger automated backups at a fixed frequency.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencySchedule fixed_frequency_schedule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
AutomatedBackupConfig.FixedFrequencySchedule |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
setFixedFrequencySchedule(AutomatedBackupConfig.FixedFrequencySchedule.Builder builderForValue)
public AutomatedBackupConfig.Builder setFixedFrequencySchedule(AutomatedBackupConfig.FixedFrequencySchedule.Builder builderForValue)Optional. Trigger automated backups at a fixed frequency.
.google.cloud.redis.cluster.v1beta1.AutomatedBackupConfig.FixedFrequencySchedule fixed_frequency_schedule = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AutomatedBackupConfig.FixedFrequencySchedule.Builder |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
setRetention(Duration value)
public AutomatedBackupConfig.Builder setRetention(Duration value)Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
optional .google.protobuf.Duration retention = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
Duration |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|
setRetention(Duration.Builder builderForValue)
public AutomatedBackupConfig.Builder setRetention(Duration.Builder builderForValue)Optional. How long to keep automated backups before the backups are deleted. The value should be between 1 day and 365 days. If not specified, the default value is 35 days.
optional .google.protobuf.Duration retention = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
AutomatedBackupConfig.Builder |
|