public static final class Volume.AccessInfo
extends com.google.api.client.json.GenericJson
| Modifier and Type | Class and Description |
|---|---|
static class |
Volume.AccessInfo.Epub
Information about epub content.
|
static class |
Volume.AccessInfo.Pdf
Information about pdf content.
|
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
AccessInfo() |
| Modifier and Type | Method and Description |
|---|---|
Volume.AccessInfo |
clone() |
String |
getAccessViewStatus()
Combines the access and viewability of this volume into a single status field for this user.
|
String |
getCountry()
The two-letter ISO_3166-1 country code for which this access information is valid.
|
DownloadAccessRestriction |
getDownloadAccess()
Information about a volume's download license access restrictions.
|
String |
getDriveImportedContentLink()
URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file
from Google Drive.
|
Boolean |
getEmbeddable()
Whether this volume can be embedded in a viewport using the Embedded Viewer API.
|
Volume.AccessInfo.Epub |
getEpub()
Information about epub content.
|
Boolean |
getExplicitOfflineLicenseManagement()
Whether this volume requires that the client explicitly request offline download license rather
than have it done automatically when loading the content, if the client supports it.
|
Volume.AccessInfo.Pdf |
getPdf()
Information about pdf content.
|
Boolean |
getPublicDomain()
Whether or not this book is public domain in the country listed above.
|
Boolean |
getQuoteSharingAllowed()
Whether quote sharing is allowed for this volume.
|
String |
getTextToSpeechPermission()
Whether text-to-speech is permitted for this volume.
|
String |
getViewability()
The read access of a volume.
|
String |
getViewOrderUrl()
For ordered but not yet processed orders, we give a URL that can be used to go to the
appropriate Google Wallet page.
|
String |
getWebReaderLink()
URL to read this volume on the Google Books site.
|
Volume.AccessInfo |
set(String fieldName,
Object value) |
Volume.AccessInfo |
setAccessViewStatus(String accessViewStatus)
Combines the access and viewability of this volume into a single status field for this user.
|
Volume.AccessInfo |
setCountry(String country)
The two-letter ISO_3166-1 country code for which this access information is valid.
|
Volume.AccessInfo |
setDownloadAccess(DownloadAccessRestriction downloadAccess)
Information about a volume's download license access restrictions.
|
Volume.AccessInfo |
setDriveImportedContentLink(String driveImportedContentLink)
URL to the Google Drive viewer if this volume is uploaded by the user by selecting the file
from Google Drive.
|
Volume.AccessInfo |
setEmbeddable(Boolean embeddable)
Whether this volume can be embedded in a viewport using the Embedded Viewer API.
|
Volume.AccessInfo |
setEpub(Volume.AccessInfo.Epub epub)
Information about epub content.
|
Volume.AccessInfo |
setExplicitOfflineLicenseManagement(Boolean explicitOfflineLicenseManagement)
Whether this volume requires that the client explicitly request offline download license rather
than have it done automatically when loading the content, if the client supports it.
|
Volume.AccessInfo |
setPdf(Volume.AccessInfo.Pdf pdf)
Information about pdf content.
|
Volume.AccessInfo |
setPublicDomain(Boolean publicDomain)
Whether or not this book is public domain in the country listed above.
|
Volume.AccessInfo |
setQuoteSharingAllowed(Boolean quoteSharingAllowed)
Whether quote sharing is allowed for this volume.
|
Volume.AccessInfo |
setTextToSpeechPermission(String textToSpeechPermission)
Whether text-to-speech is permitted for this volume.
|
Volume.AccessInfo |
setViewability(String viewability)
The read access of a volume.
|
Volume.AccessInfo |
setViewOrderUrl(String viewOrderUrl)
For ordered but not yet processed orders, we give a URL that can be used to go to the
appropriate Google Wallet page.
|
Volume.AccessInfo |
setWebReaderLink(String webReaderLink)
URL to read this volume on the Google Books site.
|
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 getAccessViewStatus()
null for nonepublic Volume.AccessInfo setAccessViewStatus(String accessViewStatus)
accessViewStatus - accessViewStatus or null for nonepublic String getCountry()
null for nonepublic Volume.AccessInfo setCountry(String country)
country - country or null for nonepublic DownloadAccessRestriction getDownloadAccess()
null for nonepublic Volume.AccessInfo setDownloadAccess(DownloadAccessRestriction downloadAccess)
downloadAccess - downloadAccess or null for nonepublic String getDriveImportedContentLink()
null for nonepublic Volume.AccessInfo setDriveImportedContentLink(String driveImportedContentLink)
driveImportedContentLink - driveImportedContentLink or null for nonepublic Boolean getEmbeddable()
null for nonepublic Volume.AccessInfo setEmbeddable(Boolean embeddable)
embeddable - embeddable or null for nonepublic Volume.AccessInfo.Epub getEpub()
null for nonepublic Volume.AccessInfo setEpub(Volume.AccessInfo.Epub epub)
epub - epub or null for nonepublic Boolean getExplicitOfflineLicenseManagement()
null for nonepublic Volume.AccessInfo setExplicitOfflineLicenseManagement(Boolean explicitOfflineLicenseManagement)
explicitOfflineLicenseManagement - explicitOfflineLicenseManagement or null for nonepublic Volume.AccessInfo.Pdf getPdf()
null for nonepublic Volume.AccessInfo setPdf(Volume.AccessInfo.Pdf pdf)
pdf - pdf or null for nonepublic Boolean getPublicDomain()
null for nonepublic Volume.AccessInfo setPublicDomain(Boolean publicDomain)
publicDomain - publicDomain or null for nonepublic Boolean getQuoteSharingAllowed()
null for nonepublic Volume.AccessInfo setQuoteSharingAllowed(Boolean quoteSharingAllowed)
quoteSharingAllowed - quoteSharingAllowed or null for nonepublic String getTextToSpeechPermission()
null for nonepublic Volume.AccessInfo setTextToSpeechPermission(String textToSpeechPermission)
textToSpeechPermission - textToSpeechPermission or null for nonepublic String getViewOrderUrl()
null for nonepublic Volume.AccessInfo setViewOrderUrl(String viewOrderUrl)
viewOrderUrl - viewOrderUrl or null for nonepublic String getViewability()
null for nonepublic Volume.AccessInfo setViewability(String viewability)
viewability - viewability or null for nonepublic String getWebReaderLink()
null for nonepublic Volume.AccessInfo setWebReaderLink(String webReaderLink)
webReaderLink - webReaderLink or null for nonepublic Volume.AccessInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic Volume.AccessInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2019 Google. All rights reserved.