Interface LocationMetadataOrBuilder (2.23.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 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
Name Description
key String
Returns
Type Description
boolean

getAvailableZones()

public abstract Map<String,ZoneMetadata> getAvailableZones()
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
key String
defaultValue ZoneMetadata
Returns
Type Description
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
Name Description
key String
Returns
Type Description
ZoneMetadata