Interface ZoneDistributionConfigOrBuilder (0.75.0)

public interface ZoneDistributionConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getActiveZones(int index)

public abstract String getActiveZones(int index)

Output only. The exact list of zones where the cluster currently has active VMs.

repeated string active_zones = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The activeZones at the given index.

getActiveZonesBytes(int index)

public abstract ByteString getActiveZonesBytes(int index)

Output only. The exact list of zones where the cluster currently has active VMs.

repeated string active_zones = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the activeZones at the given index.

getActiveZonesCount()

public abstract int getActiveZonesCount()

Output only. The exact list of zones where the cluster currently has active VMs.

repeated string active_zones = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of activeZones.

getActiveZonesList()

public abstract List<String> getActiveZonesList()

Output only. The exact list of zones where the cluster currently has active VMs.

repeated string active_zones = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<String>

A list containing the activeZones.

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.

getZones(int index)

public abstract String getZones(int index)

Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters.

repeated string zones = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The zones at the given index.

getZonesBytes(int index)

public abstract ByteString getZonesBytes(int index)

Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters.

repeated string zones = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the zones at the given index.

getZonesCount()

public abstract int getZonesCount()

Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters.

repeated string zones = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of zones.

getZonesList()

public abstract List<String> getZonesList()

Optional. Specify the zones of a multi-zone cluster where Redis Cluster allocates resources. This flag isn't applicable for single-zone clusters.

repeated string zones = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<String>

A list containing the zones.