public final class Volumeannotation
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
| Modifier and Type | Class and Description |
|---|---|
static class |
Volumeannotation.ContentRanges
The content ranges to identify the selected text.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Volumeannotation() |
| Modifier and Type | Method and Description |
|---|---|
Volumeannotation |
clone() |
String |
getAnnotationDataId()
The annotation data id for this volume annotation.
|
String |
getAnnotationDataLink()
Link to get data for this annotation.
|
String |
getAnnotationType()
The type of annotation this is.
|
Volumeannotation.ContentRanges |
getContentRanges()
The content ranges to identify the selected text.
|
String |
getData()
Data for this annotation.
|
Boolean |
getDeleted()
Indicates that this annotation is deleted.
|
String |
getId()
Unique id of this volume annotation.
|
String |
getKind()
Resource Type
|
String |
getLayerId()
The Layer this annotation is for.
|
List<String> |
getPageIds()
Pages the annotation spans.
|
String |
getSelectedText()
Excerpt from the volume.
|
String |
getSelfLink()
URL to this resource.
|
com.google.api.client.util.DateTime |
getUpdated()
Timestamp for the last time this anntoation was updated.
|
String |
getVolumeId()
The Volume this annotation is for.
|
Volumeannotation |
set(String fieldName,
Object value) |
Volumeannotation |
setAnnotationDataId(String annotationDataId)
The annotation data id for this volume annotation.
|
Volumeannotation |
setAnnotationDataLink(String annotationDataLink)
Link to get data for this annotation.
|
Volumeannotation |
setAnnotationType(String annotationType)
The type of annotation this is.
|
Volumeannotation |
setContentRanges(Volumeannotation.ContentRanges contentRanges)
The content ranges to identify the selected text.
|
Volumeannotation |
setData(String data)
Data for this annotation.
|
Volumeannotation |
setDeleted(Boolean deleted)
Indicates that this annotation is deleted.
|
Volumeannotation |
setId(String id)
Unique id of this volume annotation.
|
Volumeannotation |
setKind(String kind)
Resource Type
|
Volumeannotation |
setLayerId(String layerId)
The Layer this annotation is for.
|
Volumeannotation |
setPageIds(List<String> pageIds)
Pages the annotation spans.
|
Volumeannotation |
setSelectedText(String selectedText)
Excerpt from the volume.
|
Volumeannotation |
setSelfLink(String selfLink)
URL to this resource.
|
Volumeannotation |
setUpdated(com.google.api.client.util.DateTime updated)
Timestamp for the last time this anntoation was updated.
|
Volumeannotation |
setVolumeId(String volumeId)
The Volume this annotation is for.
|
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 getAnnotationDataId()
null for nonepublic Volumeannotation setAnnotationDataId(String annotationDataId)
annotationDataId - annotationDataId or null for nonepublic String getAnnotationDataLink()
null for nonepublic Volumeannotation setAnnotationDataLink(String annotationDataLink)
annotationDataLink - annotationDataLink or null for nonepublic String getAnnotationType()
null for nonepublic Volumeannotation setAnnotationType(String annotationType)
annotationType - annotationType or null for nonepublic Volumeannotation.ContentRanges getContentRanges()
null for nonepublic Volumeannotation setContentRanges(Volumeannotation.ContentRanges contentRanges)
contentRanges - contentRanges or null for nonepublic String getData()
null for nonepublic Volumeannotation setData(String data)
data - data or null for nonepublic Boolean getDeleted()
null for nonepublic Volumeannotation setDeleted(Boolean deleted)
deleted - deleted or null for nonepublic String getId()
null for nonepublic Volumeannotation setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Volumeannotation setKind(String kind)
kind - kind or null for nonepublic String getLayerId()
null for nonepublic Volumeannotation setLayerId(String layerId)
layerId - layerId or null for nonepublic List<String> getPageIds()
null for nonepublic Volumeannotation setPageIds(List<String> pageIds)
pageIds - pageIds or null for nonepublic String getSelectedText()
null for nonepublic Volumeannotation setSelectedText(String selectedText)
selectedText - selectedText or null for nonepublic String getSelfLink()
null for nonepublic Volumeannotation setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic com.google.api.client.util.DateTime getUpdated()
null for nonepublic Volumeannotation setUpdated(com.google.api.client.util.DateTime updated)
updated - updated or null for nonepublic String getVolumeId()
null for nonepublic Volumeannotation setVolumeId(String volumeId)
volumeId - volumeId or null for nonepublic Volumeannotation set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Volumeannotation clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.