GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
Location() |
Modifier and Type | Method and Description |
---|---|
Post.Location |
clone() |
Double |
getLat()
Location's latitude.
|
Double |
getLng()
Location's longitude.
|
String |
getName()
Location name.
|
String |
getSpan()
Location's viewport span.
|
Post.Location |
set(String fieldName,
Object value) |
Post.Location |
setLat(Double lat)
Location's latitude.
|
Post.Location |
setLng(Double lng)
Location's longitude.
|
Post.Location |
setName(String name)
Location name.
|
Post.Location |
setSpan(String span)
Location's viewport span.
|
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 Double getLat()
null
for nonepublic Post.Location setLat(Double lat)
lat
- lat or null
for nonepublic Double getLng()
null
for nonepublic Post.Location setLng(Double lng)
lng
- lng or null
for nonepublic String getName()
null
for nonepublic Post.Location setName(String name)
name
- name or null
for nonepublic String getSpan()
null
for nonepublic Post.Location setSpan(String span)
span
- span or null
for nonepublic Post.Location set(String fieldName, Object value)
set
in class GenericJson
public Post.Location clone()
clone
in class GenericJson
Copyright © 2011–2022 Google. All rights reserved.