Package com.google.cloud.redis.v1
Interface LocationMetadataOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
LocationMetadata
,LocationMetadata.Builder
public interface LocationMetadataOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsAvailableZones(String key)
Output only.Map<String,ZoneMetadata>
getAvailableZones()
Deprecated.int
getAvailableZonesCount()
Output only.Map<String,ZoneMetadata>
getAvailableZonesMap()
Output only.ZoneMetadata
getAvailableZonesOrDefault(String key, ZoneMetadata defaultValue)
Output only.ZoneMetadata
getAvailableZonesOrThrow(String key)
Output only.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAvailableZonesCount
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];
-
containsAvailableZones
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];
-
getAvailableZones
@Deprecated Map<String,ZoneMetadata> getAvailableZones()
Deprecated.UsegetAvailableZonesMap()
instead.
-
getAvailableZonesMap
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];
-
getAvailableZonesOrDefault
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];
-
getAvailableZonesOrThrow
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];
-
-