public final class GeoPoint
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 YouTube Data 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 |
|---|
GeoPoint() |
| Modifier and Type | Method and Description |
|---|---|
GeoPoint |
clone() |
java.lang.Double |
getAltitude()
Altitude above the reference ellipsoid, in meters.
|
java.lang.Double |
getLatitude()
Latitude in degrees.
|
java.lang.Double |
getLongitude()
Longitude in degrees.
|
GeoPoint |
set(java.lang.String fieldName,
java.lang.Object value) |
GeoPoint |
setAltitude(java.lang.Double altitude)
Altitude above the reference ellipsoid, in meters.
|
GeoPoint |
setLatitude(java.lang.Double latitude)
Latitude in degrees.
|
GeoPoint |
setLongitude(java.lang.Double longitude)
Longitude in degrees.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.Double getAltitude()
null for nonepublic GeoPoint setAltitude(java.lang.Double altitude)
altitude - altitude or null for nonepublic java.lang.Double getLatitude()
null for nonepublic GeoPoint setLatitude(java.lang.Double latitude)
latitude - latitude or null for nonepublic java.lang.Double getLongitude()
null for nonepublic GeoPoint setLongitude(java.lang.Double longitude)
longitude - longitude or null for nonepublic GeoPoint set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic GeoPoint clone()
clone in class com.google.api.client.json.GenericJson