public class Books.Layers.VolumeAnnotations.Get extends BooksRequest<Volumeannotation>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Get(java.lang.String volumeId,
java.lang.String layerId,
java.lang.String annotationId)
Gets the volume annotation.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getAnnotationId()
The ID of the volume annotation to retrieve.
|
java.lang.String |
getLayerId()
The ID for the layer to get the annotations.
|
java.lang.String |
getLocale()
The locale information for the data.
|
java.lang.String |
getSource()
String to identify the originator of this request.
|
java.lang.String |
getVolumeId()
The volume to retrieve annotations for.
|
Books.Layers.VolumeAnnotations.Get |
set(java.lang.String parameterName,
java.lang.Object value) |
Books.Layers.VolumeAnnotations.Get |
setAlt(java.lang.String alt)
Data format for the response.
|
Books.Layers.VolumeAnnotations.Get |
setAnnotationId(java.lang.String annotationId)
The ID of the volume annotation to retrieve.
|
Books.Layers.VolumeAnnotations.Get |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Books.Layers.VolumeAnnotations.Get |
setKey(java.lang.String key)
API key.
|
Books.Layers.VolumeAnnotations.Get |
setLayerId(java.lang.String layerId)
The ID for the layer to get the annotations.
|
Books.Layers.VolumeAnnotations.Get |
setLocale(java.lang.String locale)
The locale information for the data.
|
Books.Layers.VolumeAnnotations.Get |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Books.Layers.VolumeAnnotations.Get |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Books.Layers.VolumeAnnotations.Get |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Books.Layers.VolumeAnnotations.Get |
setSource(java.lang.String source)
String to identify the originator of this request.
|
Books.Layers.VolumeAnnotations.Get |
setUserIp(java.lang.String userIp)
Deprecated.
|
Books.Layers.VolumeAnnotations.Get |
setVolumeId(java.lang.String volumeId)
The volume to retrieve annotations for.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Get(java.lang.String volumeId, java.lang.String layerId, java.lang.String annotationId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Books.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
volumeId
- The volume to retrieve annotations for.layerId
- The ID for the layer to get the annotations.annotationId
- The ID of the volume annotation to retrieve.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Volumeannotation>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Volumeannotation>
java.io.IOException
public Books.Layers.VolumeAnnotations.Get setAlt(java.lang.String alt)
BooksRequest
setAlt
in class BooksRequest<Volumeannotation>
public Books.Layers.VolumeAnnotations.Get setFields(java.lang.String fields)
BooksRequest
setFields
in class BooksRequest<Volumeannotation>
public Books.Layers.VolumeAnnotations.Get setKey(java.lang.String key)
BooksRequest
setKey
in class BooksRequest<Volumeannotation>
public Books.Layers.VolumeAnnotations.Get setOauthToken(java.lang.String oauthToken)
BooksRequest
setOauthToken
in class BooksRequest<Volumeannotation>
public Books.Layers.VolumeAnnotations.Get setPrettyPrint(java.lang.Boolean prettyPrint)
BooksRequest
setPrettyPrint
in class BooksRequest<Volumeannotation>
public Books.Layers.VolumeAnnotations.Get setQuotaUser(java.lang.String quotaUser)
BooksRequest
setQuotaUser
in class BooksRequest<Volumeannotation>
public Books.Layers.VolumeAnnotations.Get setUserIp(java.lang.String userIp)
BooksRequest
setUserIp
in class BooksRequest<Volumeannotation>
public java.lang.String getVolumeId()
public Books.Layers.VolumeAnnotations.Get setVolumeId(java.lang.String volumeId)
public java.lang.String getLayerId()
public Books.Layers.VolumeAnnotations.Get setLayerId(java.lang.String layerId)
public java.lang.String getAnnotationId()
public Books.Layers.VolumeAnnotations.Get setAnnotationId(java.lang.String annotationId)
public java.lang.String getLocale()
public Books.Layers.VolumeAnnotations.Get setLocale(java.lang.String locale)
public java.lang.String getSource()
public Books.Layers.VolumeAnnotations.Get setSource(java.lang.String source)
public Books.Layers.VolumeAnnotations.Get set(java.lang.String parameterName, java.lang.Object value)
set
in class BooksRequest<Volumeannotation>