public interface LocationOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Cross-service attributes for the location.
|
String |
getDisplayName()
The friendly name for this location, typically a nearby city name.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The friendly name for this location, typically a nearby city name.
|
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Cross-service attributes for the location.
|
Map<String,String> |
getLabelsMap()
Cross-service attributes for the location.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Cross-service attributes for the location.
|
String |
getLabelsOrThrow(String key)
Cross-service attributes for the location.
|
String |
getLocationId()
The canonical id for this location.
|
com.google.protobuf.ByteString |
getLocationIdBytes()
The canonical id for this location.
|
com.google.protobuf.Any |
getMetadata()
Service-specific metadata.
|
com.google.protobuf.AnyOrBuilder |
getMetadataOrBuilder()
Service-specific metadata.
|
String |
getName()
Resource name for the location, which may vary between implementations.
|
com.google.protobuf.ByteString |
getNameBytes()
Resource name for the location, which may vary between implementations.
|
boolean |
hasMetadata()
Service-specific metadata.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
string name = 1;com.google.protobuf.ByteString getNameBytes()
Resource name for the location, which may vary between implementations. For example: `"projects/example-project/locations/us-east1"`
string name = 1;String getLocationId()
The canonical id for this location. For example: `"us-east1"`.
string location_id = 4;com.google.protobuf.ByteString getLocationIdBytes()
The canonical id for this location. For example: `"us-east1"`.
string location_id = 4;String getDisplayName()
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
string display_name = 5;com.google.protobuf.ByteString getDisplayNameBytes()
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
string display_name = 5;int getLabelsCount()
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;boolean containsLabels(String key)
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;@Deprecated Map<String,String> getLabels()
getLabelsMap() instead.Map<String,String> getLabelsMap()
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;String getLabelsOrDefault(String key, String defaultValue)
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;String getLabelsOrThrow(String key)
Cross-service attributes for the location. For example
{"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;boolean hasMetadata()
Service-specific metadata. For example the available capacity at the given location.
.google.protobuf.Any metadata = 3;com.google.protobuf.Any getMetadata()
Service-specific metadata. For example the available capacity at the given location.
.google.protobuf.Any metadata = 3;com.google.protobuf.AnyOrBuilder getMetadataOrBuilder()
Service-specific metadata. For example the available capacity at the given location.
.google.protobuf.Any metadata = 3;Copyright © 2022 Google LLC. All rights reserved.