public final class Location
extends com.google.api.client.json.GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud Build API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
| Location() | 
| Modifier and Type | Method and Description | 
|---|---|
| Location | clone() | 
| String | getDisplayName()The friendly name for this location, typically a nearby city name. | 
| Map<String,String> | getLabels()Cross-service attributes for the location. | 
| String | getLocationId()The canonical id for this location. | 
| Map<String,Object> | getMetadata()Service-specific metadata. | 
| String | getName()Resource name for the location, which may vary between implementations. | 
| Location | set(String fieldName,
   Object value) | 
| Location | setDisplayName(String displayName)The friendly name for this location, typically a nearby city name. | 
| Location | setLabels(Map<String,String> labels)Cross-service attributes for the location. | 
| Location | setLocationId(String locationId)The canonical id for this location. | 
| Location | setMetadata(Map<String,Object> metadata)Service-specific metadata. | 
| Location | setName(String name)Resource name for the location, which may vary between implementations. | 
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getDisplayName()
null for nonepublic Location setDisplayName(String displayName)
displayName - displayName or null for nonepublic Map<String,String> getLabels()
null for nonepublic Location setLabels(Map<String,String> labels)
labels - labels or null for nonepublic String getLocationId()
null for nonepublic Location setLocationId(String locationId)
locationId - locationId or null for nonepublic Map<String,Object> getMetadata()
null for nonepublic Location setMetadata(Map<String,Object> metadata)
metadata - metadata or null for nonepublic String getName()
null for nonepublic Location setName(String name)
name - name or null for nonepublic Location set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Location clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.