Interface ZoneDistributionConfigOrBuilder (0.32.0)

public interface ZoneDistributionConfigOrBuilder extends 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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for zone.