Enum ZoneDistributionConfig.ZoneDistributionMode (0.24.0)

public enum ZoneDistributionConfig.ZoneDistributionMode extends Enum<ZoneDistributionConfig.ZoneDistributionMode> implements ProtocolMessageEnum

Defines various modes of zone distribution. Currently supports two modes, can be expanded in future to support more types of distribution modes. design doc: go/same-zone-cluster

Protobuf enum google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode

Implements

ProtocolMessageEnum

Static Fields

Name Description
MULTI_ZONE

Distribute all resources across 3 zones picked at random, within the region.

MULTI_ZONE = 1;

MULTI_ZONE_VALUE

Distribute all resources across 3 zones picked at random, within the region.

MULTI_ZONE = 1;

SINGLE_ZONE

Distribute all resources in a single zone. The zone field must be specified, when this mode is selected.

SINGLE_ZONE = 2;

SINGLE_ZONE_VALUE

Distribute all resources in a single zone. The zone field must be specified, when this mode is selected.

SINGLE_ZONE = 2;

UNRECOGNIZED
ZONE_DISTRIBUTION_MODE_UNSPECIFIED

Not Set. Default: MULTI_ZONE

ZONE_DISTRIBUTION_MODE_UNSPECIFIED = 0;

ZONE_DISTRIBUTION_MODE_UNSPECIFIED_VALUE

Not Set. Default: MULTI_ZONE

ZONE_DISTRIBUTION_MODE_UNSPECIFIED = 0;

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()