public interface LocationOrBuilder extends MessageOrBuilderImplements
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. |