public final class GeoAnnotationdata 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 Books API. 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 |
|---|
GeoAnnotationdata() |
| Modifier and Type | Method and Description |
|---|---|
GeoAnnotationdata |
clone() |
byte[] |
decodeEncodedData()
Base64 encoded data for this annotation data.
|
GeoAnnotationdata |
encodeEncodedData(byte[] encodedData)
Base64 encoded data for this annotation data.
|
String |
getAnnotationType()
The type of annotation this data is for.
|
Geolayerdata |
getData()
JSON encoded data for this geo annotation data.
|
String |
getEncodedData()
Base64 encoded data for this annotation data.
|
String |
getId()
Unique id for this annotation data.
|
String |
getKind()
Resource Type
|
String |
getLayerId()
The Layer id for this data.
|
String |
getSelfLink()
URL for this resource.
|
String |
getUpdated()
Timestamp for the last time this data was updated.
|
String |
getVolumeId()
The volume id for this data.
|
GeoAnnotationdata |
set(String fieldName,
Object value) |
GeoAnnotationdata |
setAnnotationType(String annotationType)
The type of annotation this data is for.
|
GeoAnnotationdata |
setData(Geolayerdata data)
JSON encoded data for this geo annotation data.
|
GeoAnnotationdata |
setEncodedData(String encodedData)
Base64 encoded data for this annotation data.
|
GeoAnnotationdata |
setId(String id)
Unique id for this annotation data.
|
GeoAnnotationdata |
setKind(String kind)
Resource Type
|
GeoAnnotationdata |
setLayerId(String layerId)
The Layer id for this data.
|
GeoAnnotationdata |
setSelfLink(String selfLink)
URL for this resource.
|
GeoAnnotationdata |
setUpdated(String updated)
Timestamp for the last time this data was updated.
|
GeoAnnotationdata |
setVolumeId(String volumeId)
The volume id for this data.
|
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 getAnnotationType()
null for nonepublic GeoAnnotationdata setAnnotationType(String annotationType)
annotationType - annotationType or null for nonepublic Geolayerdata getData()
null for nonepublic GeoAnnotationdata setData(Geolayerdata data)
data - data or null for nonepublic String getEncodedData()
null for nonedecodeEncodedData()public byte[] decodeEncodedData()
null for nonegetEncodedData()public GeoAnnotationdata setEncodedData(String encodedData)
encodedData - encodedData or null for none#encodeEncodedData()public GeoAnnotationdata encodeEncodedData(byte[] encodedData)
The value is encoded Base64 or {@code null} for none.
public String getId()
null for nonepublic GeoAnnotationdata setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic GeoAnnotationdata setKind(String kind)
kind - kind or null for nonepublic String getLayerId()
null for nonepublic GeoAnnotationdata setLayerId(String layerId)
layerId - layerId or null for nonepublic String getSelfLink()
null for nonepublic GeoAnnotationdata setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic String getUpdated()
null for nonepublic GeoAnnotationdata setUpdated(String updated)
updated - updated or null for nonepublic String getVolumeId()
null for nonepublic GeoAnnotationdata setVolumeId(String volumeId)
volumeId - volumeId or null for nonepublic GeoAnnotationdata set(String fieldName, Object value)
set in class GenericJsonpublic GeoAnnotationdata clone()
clone in class GenericJsonCopyright © 2011–2020 Google. All rights reserved.