- 2.58.0 (latest)
- 2.57.0
- 2.56.0
- 2.54.1
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.1
- 2.49.0
- 2.48.0
- 2.46.0
- 2.45.1
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.1
- 2.38.0
- 2.37.1
- 2.36.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.25.1
- 2.24.0
- 2.23.1
- 2.22.1
- 2.21.1
- 2.15.0
- 2.14.3
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.6
- 2.8.4
- 2.7.4
public interface LocationOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
containsLabels(String key)
public abstract boolean containsLabels(String key)
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;
Name | Description |
key |
String |
Type | Description |
boolean |
getDisplayName()
public abstract String getDisplayName()
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
string display_name = 5;
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public abstract ByteString getDisplayNameBytes()
The friendly name for this location, typically a nearby city name. For example, "Tokyo".
string display_name = 5;
Type | Description |
ByteString |
The bytes for displayName. |
getLabels()
public abstract Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public abstract int getLabelsCount()
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;
Type | Description |
int |
getLabelsMap()
public abstract Map<String,String> getLabelsMap()
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public abstract 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;
Name | Description |
key |
String |
defaultValue |
String |
Type | Description |
String |
getLabelsOrThrow(String key)
public abstract String getLabelsOrThrow(String key)
Cross-service attributes for the location. For example {"cloud.googleapis.com/region": "us-east1"}
map<string, string> labels = 2;
Name | Description |
key |
String |
Type | Description |
String |
getLocationId()
public abstract String getLocationId()
The canonical id for this location. For example: "us-east1"
.
string location_id = 4;
Type | Description |
String |
The locationId. |
getLocationIdBytes()
public abstract ByteString getLocationIdBytes()
The canonical id for this location. For example: "us-east1"
.
string location_id = 4;
Type | Description |
ByteString |
The bytes for locationId. |
getMetadata()
public abstract Any getMetadata()
Service-specific metadata. For example the available capacity at the given location.
.google.protobuf.Any metadata = 3;
Type | Description |
Any |
The metadata. |
getMetadataOrBuilder()
public abstract AnyOrBuilder getMetadataOrBuilder()
Service-specific metadata. For example the available capacity at the given location.
.google.protobuf.Any metadata = 3;
Type | Description |
AnyOrBuilder |
getName()
public abstract String getName()
Resource name for the location, which may vary between implementations.
For example: "projects/example-project/locations/us-east1"
string name = 1;
Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()
Resource name for the location, which may vary between implementations.
For example: "projects/example-project/locations/us-east1"
string name = 1;
Type | Description |
ByteString |
The bytes for name. |
hasMetadata()
public abstract boolean hasMetadata()
Service-specific metadata. For example the available capacity at the given location.
.google.protobuf.Any metadata = 3;
Type | Description |
boolean |
Whether the metadata field is set. |