public interface ZoneDistributionConfigOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getMode()
public abstract ZoneDistributionConfig.ZoneDistributionMode getMode()
Optional. Current zone distribution mode. Defaults to MULTI_ZONE.
.google.cloud.memorystore.v1.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.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. 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. |