public final class Volume
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 |
Volume.AccessInfo
Any information about a volume related to reading or obtaining that volume text.
|
static class |
Volume.LayerInfo
What layers exist in this volume and high level information about them.
|
static class |
Volume.RecommendedInfo
Recommendation related information for this volume.
|
static class |
Volume.SaleInfo
Any information about a volume related to the eBookstore and/or purchaseability.
|
static class |
Volume.SearchInfo
Search result information related to this volume.
|
static class |
Volume.UserInfo
User specific information related to this volume.
|
static class |
Volume.VolumeInfo
General volume information.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
Volume() |
| Modifier and Type | Method and Description |
|---|---|
Volume |
clone() |
Volume.AccessInfo |
getAccessInfo()
Any information about a volume related to reading or obtaining that volume text.
|
String |
getEtag()
Opaque identifier for a specific version of a volume resource.
|
String |
getId()
Unique identifier for a volume.
|
String |
getKind()
Resource type for a volume.
|
Volume.LayerInfo |
getLayerInfo()
What layers exist in this volume and high level information about them.
|
Volume.RecommendedInfo |
getRecommendedInfo()
Recommendation related information for this volume.
|
Volume.SaleInfo |
getSaleInfo()
Any information about a volume related to the eBookstore and/or purchaseability.
|
Volume.SearchInfo |
getSearchInfo()
Search result information related to this volume.
|
String |
getSelfLink()
URL to this resource.
|
Volume.UserInfo |
getUserInfo()
User specific information related to this volume.
|
Volume.VolumeInfo |
getVolumeInfo()
General volume information.
|
Volume |
set(String fieldName,
Object value) |
Volume |
setAccessInfo(Volume.AccessInfo accessInfo)
Any information about a volume related to reading or obtaining that volume text.
|
Volume |
setEtag(String etag)
Opaque identifier for a specific version of a volume resource.
|
Volume |
setId(String id)
Unique identifier for a volume.
|
Volume |
setKind(String kind)
Resource type for a volume.
|
Volume |
setLayerInfo(Volume.LayerInfo layerInfo)
What layers exist in this volume and high level information about them.
|
Volume |
setRecommendedInfo(Volume.RecommendedInfo recommendedInfo)
Recommendation related information for this volume.
|
Volume |
setSaleInfo(Volume.SaleInfo saleInfo)
Any information about a volume related to the eBookstore and/or purchaseability.
|
Volume |
setSearchInfo(Volume.SearchInfo searchInfo)
Search result information related to this volume.
|
Volume |
setSelfLink(String selfLink)
URL to this resource.
|
Volume |
setUserInfo(Volume.UserInfo userInfo)
User specific information related to this volume.
|
Volume |
setVolumeInfo(Volume.VolumeInfo volumeInfo)
General volume information.
|
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 Volume.AccessInfo getAccessInfo()
null for nonepublic Volume setAccessInfo(Volume.AccessInfo accessInfo)
accessInfo - accessInfo or null for nonepublic String getEtag()
null for nonepublic Volume setEtag(String etag)
etag - etag or null for nonepublic String getId()
null for nonepublic Volume setId(String id)
id - id or null for nonepublic String getKind()
null for nonepublic Volume setKind(String kind)
kind - kind or null for nonepublic Volume.LayerInfo getLayerInfo()
null for nonepublic Volume setLayerInfo(Volume.LayerInfo layerInfo)
layerInfo - layerInfo or null for nonepublic Volume.RecommendedInfo getRecommendedInfo()
null for nonepublic Volume setRecommendedInfo(Volume.RecommendedInfo recommendedInfo)
recommendedInfo - recommendedInfo or null for nonepublic Volume.SaleInfo getSaleInfo()
null for nonepublic Volume setSaleInfo(Volume.SaleInfo saleInfo)
saleInfo - saleInfo or null for nonepublic Volume.SearchInfo getSearchInfo()
null for nonepublic Volume setSearchInfo(Volume.SearchInfo searchInfo)
searchInfo - searchInfo or null for nonepublic String getSelfLink()
null for nonepublic Volume setSelfLink(String selfLink)
selfLink - selfLink or null for nonepublic Volume.UserInfo getUserInfo()
null for nonepublic Volume setUserInfo(Volume.UserInfo userInfo)
userInfo - userInfo or null for nonepublic Volume.VolumeInfo getVolumeInfo()
null for nonepublic Volume setVolumeInfo(Volume.VolumeInfo volumeInfo)
volumeInfo - volumeInfo or null for nonepublic Volume set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Volume clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.