Enum PersistenceConfig.SnapshotPeriod (2.45.0)

public enum PersistenceConfig.SnapshotPeriod extends Enum<PersistenceConfig.SnapshotPeriod> implements ProtocolMessageEnum

Available snapshot periods for scheduling.

Protobuf enum google.cloud.redis.v1beta1.PersistenceConfig.SnapshotPeriod

Implements

ProtocolMessageEnum

Static Fields

Name Description
ONE_HOUR

Snapshot every 1 hour.

ONE_HOUR = 3;

ONE_HOUR_VALUE

Snapshot every 1 hour.

ONE_HOUR = 3;

SIX_HOURS

Snapshot every 6 hours.

SIX_HOURS = 4;

SIX_HOURS_VALUE

Snapshot every 6 hours.

SIX_HOURS = 4;

SNAPSHOT_PERIOD_UNSPECIFIED

Not set.

SNAPSHOT_PERIOD_UNSPECIFIED = 0;

SNAPSHOT_PERIOD_UNSPECIFIED_VALUE

Not set.

SNAPSHOT_PERIOD_UNSPECIFIED = 0;

TWELVE_HOURS

Snapshot every 12 hours.

TWELVE_HOURS = 5;

TWELVE_HOURS_VALUE

Snapshot every 12 hours.

TWELVE_HOURS = 5;

TWENTY_FOUR_HOURS

Snapshot every 24 hours.

TWENTY_FOUR_HOURS = 6;

TWENTY_FOUR_HOURS_VALUE

Snapshot every 24 hours.

TWENTY_FOUR_HOURS = 6;

UNRECOGNIZED

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()