public final class GeoPoint extends 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 v3. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GeoPoint() |
| Modifier and Type | Method and Description |
|---|---|
GeoPoint |
clone() |
Double |
getAltitude()
Altitude above the reference ellipsoid, in meters.
|
Double |
getLatitude()
Latitude in degrees.
|
Double |
getLongitude()
Longitude in degrees.
|
GeoPoint |
set(String fieldName,
Object value) |
GeoPoint |
setAltitude(Double altitude)
Altitude above the reference ellipsoid, in meters.
|
GeoPoint |
setLatitude(Double latitude)
Latitude in degrees.
|
GeoPoint |
setLongitude(Double longitude)
Longitude in degrees.
|
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 Double getAltitude()
null for nonepublic GeoPoint setAltitude(Double altitude)
altitude - altitude or null for nonepublic Double getLatitude()
null for nonepublic GeoPoint setLatitude(Double latitude)
latitude - latitude or null for nonepublic Double getLongitude()
null for nonepublic GeoPoint setLongitude(Double longitude)
longitude - longitude or null for nonepublic GeoPoint set(String fieldName, Object value)
set in class GenericJsonpublic GeoPoint clone()
clone in class GenericJsonCopyright © 2011–2021 Google. All rights reserved.