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 People 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 |
getBuildingId()
The building identifier.
|
Boolean |
getCurrent()
Whether the location is the current location.
|
String |
getDeskCode()
The individual desk location.
|
String |
getFloor()
The floor name or number.
|
String |
getFloorSection()
The floor section in `floor_name`.
|
FieldMetadata |
getMetadata()
Metadata about the location.
|
String |
getType()
The type of the location.
|
String |
getValue()
The free-form value of the location.
|
Location |
set(String fieldName,
Object value) |
Location |
setBuildingId(String buildingId)
The building identifier.
|
Location |
setCurrent(Boolean current)
Whether the location is the current location.
|
Location |
setDeskCode(String deskCode)
The individual desk location.
|
Location |
setFloor(String floor)
The floor name or number.
|
Location |
setFloorSection(String floorSection)
The floor section in `floor_name`.
|
Location |
setMetadata(FieldMetadata metadata)
Metadata about the location.
|
Location |
setType(String type)
The type of the location.
|
Location |
setValue(String value)
The free-form value of the location.
|
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 getBuildingId()
null for nonepublic Location setBuildingId(String buildingId)
buildingId - buildingId or null for nonepublic Boolean getCurrent()
null for nonepublic Location setCurrent(Boolean current)
current - current or null for nonepublic String getDeskCode()
null for nonepublic Location setDeskCode(String deskCode)
deskCode - deskCode or null for nonepublic String getFloor()
null for nonepublic Location setFloor(String floor)
floor - floor or null for nonepublic String getFloorSection()
null for nonepublic Location setFloorSection(String floorSection)
floorSection - floorSection or null for nonepublic FieldMetadata getMetadata()
null for nonepublic Location setMetadata(FieldMetadata metadata)
metadata - metadata or null for nonepublic String getType()
null for nonepublic Location setType(String type)
type - type or null for nonepublic String getValue()
null for nonepublic Location setValue(String value)
value - value 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.