Interface ZoneDistributionConfigOrBuilder (0.49.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 instance 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 instance 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 instance 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 instance 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. Current zone distribution mode. Defaults to MULTI_ZONE.

.google.cloud.memorystore.v1beta.ZoneDistributionConfig.ZoneDistributionMode mode = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ZoneDistributionConfig.ZoneDistributionMode

The mode.

getModeValue()

public abstract int getModeValue()

Optional. Current zone distribution mode. Defaults to MULTI_ZONE.

.google.cloud.memorystore.v1beta.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. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.

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

Returns
Type Description
String

The zone.

getZoneBytes()

public abstract ByteString getZoneBytes()

Optional. Defines zone where all resources will be allocated with SINGLE_ZONE mode. Ignored for MULTI_ZONE mode.

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 instance where Memorystore instance allocates resources. This flag isn't applicable for single-zone instances.

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 instance where Memorystore instance allocates resources. This flag isn't applicable for single-zone instances.

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 instance where Memorystore instance allocates resources. This flag isn't applicable for single-zone instances.

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 instance where Memorystore instance allocates resources. This flag isn't applicable for single-zone instances.

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

Returns
Type Description
List<String>

A list containing the zones.