public class Walletobjects.Media.Download extends WalletobjectsRequest<Media>
com.google.api.client.util.GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Download(String resourceId)
Downloads rotating barcode values for the transit object referenced by the given object ID.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.GenericUrl |
buildHttpRequestUrl() |
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeMedia() |
void |
executeMediaAndDownloadTo(OutputStream outputStream) |
InputStream |
executeMediaAsInputStream() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getResourceId()
The unique identifier for an object.
|
Walletobjects.Media.Download |
set(String parameterName,
Object value) |
Walletobjects.Media.Download |
set$Xgafv(String $Xgafv)
V1 error format.
|
Walletobjects.Media.Download |
setAccessToken(String accessToken)
OAuth access token.
|
Walletobjects.Media.Download |
setAlt(String alt)
Data format for response.
|
Walletobjects.Media.Download |
setCallback(String callback)
JSONP
|
Walletobjects.Media.Download |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Walletobjects.Media.Download |
setKey(String key)
API key.
|
Walletobjects.Media.Download |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Walletobjects.Media.Download |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Walletobjects.Media.Download |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Walletobjects.Media.Download |
setResourceId(String resourceId)
The unique identifier for an object.
|
Walletobjects.Media.Download |
setUploadProtocol(String uploadProtocol)
Upload protocol for media (e.g.
|
Walletobjects.Media.Download |
setUploadType(String uploadType)
Legacy upload protocol for media (e.g.
|
get$Xgafv, getAbstractGoogleClient, getAccessToken, getAlt, getCallback, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUploadProtocol, getUploadType, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStream
clone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toString
clear, containsKey, containsValue, isEmpty, keySet, size, values
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAll
protected Download(String resourceId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
Walletobjects.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be called to initialize this instance immediately after invoking the constructor.
resourceId
- The unique identifier for an object. This ID must be unique across all objects from an issuer. This
value should follow the format issuer ID. identifier where the former is issued by Google
and latter is chosen by you. Your unique identifier should only include alphanumeric
characters, '.', '_', or '-'.public void executeMediaAndDownloadTo(OutputStream outputStream) throws IOException
executeMediaAndDownloadTo
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Media>
IOException
public InputStream executeMediaAsInputStream() throws IOException
executeMediaAsInputStream
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Media>
IOException
public com.google.api.client.http.HttpResponse executeMedia() throws IOException
executeMedia
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Media>
IOException
public com.google.api.client.http.GenericUrl buildHttpRequestUrl()
buildHttpRequestUrl
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Media>
public com.google.api.client.http.HttpResponse executeUsingHead() throws IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Media>
IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<Media>
IOException
public Walletobjects.Media.Download set$Xgafv(String $Xgafv)
WalletobjectsRequest
set$Xgafv
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setAccessToken(String accessToken)
WalletobjectsRequest
setAccessToken
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setAlt(String alt)
WalletobjectsRequest
setAlt
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setCallback(String callback)
WalletobjectsRequest
setCallback
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setFields(String fields)
WalletobjectsRequest
setFields
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setKey(String key)
WalletobjectsRequest
setKey
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setOauthToken(String oauthToken)
WalletobjectsRequest
setOauthToken
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setPrettyPrint(Boolean prettyPrint)
WalletobjectsRequest
setPrettyPrint
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setQuotaUser(String quotaUser)
WalletobjectsRequest
setQuotaUser
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setUploadType(String uploadType)
WalletobjectsRequest
setUploadType
in class WalletobjectsRequest<Media>
public Walletobjects.Media.Download setUploadProtocol(String uploadProtocol)
WalletobjectsRequest
setUploadProtocol
in class WalletobjectsRequest<Media>
public String getResourceId()
public Walletobjects.Media.Download setResourceId(String resourceId)
public Walletobjects.Media.Download set(String parameterName, Object value)
set
in class WalletobjectsRequest<Media>
Copyright © 2011–2024 Google. All rights reserved.