Interface LocationMetadataOrBuilder (2.6.3)

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 location_id or alternative_location_id fields when creating a Redis instance.

map<string, .google.cloud.redis.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 location_id or alternative_location_id fields when creating a Redis instance.

map<string, .google.cloud.redis.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 location_id or alternative_location_id fields when creating a Redis instance.

map<string, .google.cloud.redis.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 location_id or alternative_location_id fields when creating a Redis instance.

map<string, .google.cloud.redis.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 location_id or alternative_location_id fields when creating a Redis instance.

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

Parameter
NameDescription
keyString
Returns
TypeDescription
ZoneMetadata