Interface AutomatedBackupConfigOrBuilder (0.29.0)

public interface AutomatedBackupConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAutomatedBackupMode()

public abstract 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 abstract 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.

getFixedFrequencySchedule()

public abstract 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.

getFixedFrequencyScheduleOrBuilder()

public abstract 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 abstract 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.

getRetentionOrBuilder()

public abstract 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 abstract AutomatedBackupConfig.ScheduleCase getScheduleCase()
Returns
Type Description
AutomatedBackupConfig.ScheduleCase

hasFixedFrequencySchedule()

public abstract 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 abstract 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.