public final class LocationRecord
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 Google Maps Coordinate 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| Constructor and Description |
|---|
LocationRecord() |
| Modifier and Type | Method and Description |
|---|---|
LocationRecord |
clone() |
java.lang.Long |
getCollectionTime()
The collection time in milliseconds since the epoch.
|
java.lang.Double |
getConfidenceRadius()
The location accuracy in meters.
|
java.lang.String |
getKind()
Identifies this object as a location.
|
java.lang.Double |
getLatitude()
Latitude.
|
java.lang.Double |
getLongitude()
Longitude.
|
LocationRecord |
set(java.lang.String fieldName,
java.lang.Object value) |
LocationRecord |
setCollectionTime(java.lang.Long collectionTime)
The collection time in milliseconds since the epoch.
|
LocationRecord |
setConfidenceRadius(java.lang.Double confidenceRadius)
The location accuracy in meters.
|
LocationRecord |
setKind(java.lang.String kind)
Identifies this object as a location.
|
LocationRecord |
setLatitude(java.lang.Double latitude)
Latitude.
|
LocationRecord |
setLongitude(java.lang.Double longitude)
Longitude.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.Long getCollectionTime()
null for nonepublic LocationRecord setCollectionTime(java.lang.Long collectionTime)
collectionTime - collectionTime or null for nonepublic java.lang.Double getConfidenceRadius()
null for nonepublic LocationRecord setConfidenceRadius(java.lang.Double confidenceRadius)
confidenceRadius - confidenceRadius or null for nonepublic java.lang.String getKind()
null for nonepublic LocationRecord setKind(java.lang.String kind)
kind - kind or null for nonepublic java.lang.Double getLatitude()
null for nonepublic LocationRecord setLatitude(java.lang.Double latitude)
latitude - latitude or null for nonepublic java.lang.Double getLongitude()
null for nonepublic LocationRecord setLongitude(java.lang.Double longitude)
longitude - longitude or null for nonepublic LocationRecord set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic LocationRecord clone()
clone in class com.google.api.client.json.GenericJson