Interface ZoneDistributionConfigOrBuilder (0.18.0)

public interface ZoneDistributionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMode()

public abstract ZoneDistributionConfig.ZoneDistributionMode getMode()

Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.

.google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ZoneDistributionConfig.ZoneDistributionMode

The mode.

getModeValue()

public abstract int getModeValue()

Optional. The mode of zone distribution. Defaults to MULTI_ZONE, when not specified.

.google.cloud.redis.cluster.v1.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for mode.

getZone()

public abstract String getZone()

Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.

string zone = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

Optional. When SINGLE ZONE distribution is selected, zone field would be used to allocate all resources in that zone. This is not applicable to MULTI_ZONE, and would be ignored for MULTI_ZONE clusters.

string zone = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for zone.