public final class Annotationdata
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 Books 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Annotationdata() |
| Modifier and Type | Method and Description |
|---|---|
Annotationdata |
clone() |
byte[] |
decodeEncodedData()
Base64 encoded data for this annotation data.
|
Annotationdata |
encodeEncodedData(byte[] encodedData)
Base64 encoded data for this annotation data.
|
String |
getAnnotationType()
The type of annotation this data is for.
|
Object |
getData() |
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.
|
com.google.api.client.util.DateTime |
getUpdated()
Timestamp for the last time this data was updated.
|
String |
getVolumeId()
The volume id for this data.
|
Annotationdata |
set(String fieldName,
Object value) |
Annotationdata |
setAnnotationType(String annotationType)
The type of annotation this data is for.
|
Annotationdata |
setData(Object data) |
Annotationdata |
setEncodedData(String encodedData)
Base64 encoded data for this annotation data.
|
Annotationdata |
setId(String id)
Unique id for this annotation data.
|
Annotationdata |
setKind(String kind)
Resource Type
|
Annotationdata |
setLayerId(String layerId)
The Layer id for this data.
|
Annotationdata |
setSelfLink(String selfLink)
URL for this resource.
|
Annotationdata |
setUpdated(com.google.api.client.util.DateTime updated)
Timestamp for the last time this data was updated.
|
Annotationdata |
setVolumeId(String volumeId)
The volume id for this data.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, 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 Annotationdata setAnnotationType(String annotationType)
annotationType - annotationType or null for nonepublic Object getData()
null for nonepublic Annotationdata setData(Object data)
data - data or null for nonepublic String getEncodedData()
null for nonedecodeEncodedData()public byte[] decodeEncodedData()
null for nonegetEncodedData()public Annotationdata setEncodedData(String encodedData)
encodedData - encodedData or null for none#encodeEncodedData()public Annotationdata encodeEncodedData(byte[] encodedData)
The value is encoded Base64 or {@code null} for none.
public String getId()
null for nonepublic Annotationdata setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Annotationdata setKind(String kind)
kind - kind or null for nonepublic String getLayerId()
null for nonepublic Annotationdata setLayerId(String layerId)
layerId - layerId or null for nonepublic String getSelfLink()
null for nonepublic Annotationdata setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic Annotationdata setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic String getVolumeId()
null for nonepublic Annotationdata setVolumeId(String volumeId)
volumeId - volumeId or null for nonepublic Annotationdata set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Annotationdata clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.