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 Healthcare 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.Flags
AbstractMap.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, toString
entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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.GenericJson
public Location clone()
clone
in class com.google.api.client.json.GenericJson
Copyright © 2011–2024 Google. All rights reserved.