Interface LocationMetadataOrBuilder (2.20.0)

public interface LocationMetadataOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsAvailableZones(String key)

public abstract boolean containsAvailableZones(String key)

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the zones field when creating a Memcached instance.

map<string, .google.cloud.memcache.v1.ZoneMetadata> available_zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

getAvailableZones()

public abstract Map<String,ZoneMetadata> getAvailableZones()
Returns
TypeDescription
Map<String,ZoneMetadata>

getAvailableZonesCount()

public abstract int getAvailableZonesCount()

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the zones field when creating a Memcached instance.

map<string, .google.cloud.memcache.v1.ZoneMetadata> available_zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

getAvailableZonesMap()

public abstract Map<String,ZoneMetadata> getAvailableZonesMap()

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the zones field when creating a Memcached instance.

map<string, .google.cloud.memcache.v1.ZoneMetadata> available_zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Map<String,ZoneMetadata>

getAvailableZonesOrDefault(String key, ZoneMetadata defaultValue)

public abstract ZoneMetadata getAvailableZonesOrDefault(String key, ZoneMetadata defaultValue)

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the zones field when creating a Memcached instance.

map<string, .google.cloud.memcache.v1.ZoneMetadata> available_zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
NameDescription
keyString
defaultValueZoneMetadata
Returns
TypeDescription
ZoneMetadata

getAvailableZonesOrThrow(String key)

public abstract ZoneMetadata getAvailableZonesOrThrow(String key)

Output only. The set of available zones in the location. The map is keyed by the lowercase ID of each zone, as defined by GCE. These keys can be specified in the zones field when creating a Memcached instance.

map<string, .google.cloud.memcache.v1.ZoneMetadata> available_zones = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
keyString
Returns
TypeDescription
ZoneMetadata