public final class MediaRequestInfo
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 Google Wallet API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
MediaRequestInfo() |
| Modifier and Type | Method and Description |
|---|---|
MediaRequestInfo |
clone() |
byte[] |
decodeRequestReceivedParamsServingInfo()
The partition of the Scotty server handling this request.
|
MediaRequestInfo |
encodeRequestReceivedParamsServingInfo(byte[] requestReceivedParamsServingInfo)
The partition of the Scotty server handling this request.
|
Long |
getCurrentBytes()
The number of current bytes uploaded or downloaded.
|
String |
getCustomData()
Data to be copied to backend requests.
|
String |
getDiffObjectVersion()
Set if the http request info is diff encoded.
|
Integer |
getFinalStatus() |
String |
getNotificationType()
The type of notification received from Scotty.
|
String |
getRequestId()
The Scotty request ID.
|
String |
getRequestReceivedParamsServingInfo()
The partition of the Scotty server handling this request.
|
Long |
getTotalBytes()
The total size of the file.
|
Boolean |
getTotalBytesIsEstimated()
Whether the total bytes field contains an estimated data.
|
MediaRequestInfo |
set(String fieldName,
Object value) |
MediaRequestInfo |
setCurrentBytes(Long currentBytes)
The number of current bytes uploaded or downloaded.
|
MediaRequestInfo |
setCustomData(String customData)
Data to be copied to backend requests.
|
MediaRequestInfo |
setDiffObjectVersion(String diffObjectVersion)
Set if the http request info is diff encoded.
|
MediaRequestInfo |
setFinalStatus(Integer finalStatus) |
MediaRequestInfo |
setNotificationType(String notificationType)
The type of notification received from Scotty.
|
MediaRequestInfo |
setRequestId(String requestId)
The Scotty request ID.
|
MediaRequestInfo |
setRequestReceivedParamsServingInfo(String requestReceivedParamsServingInfo)
The partition of the Scotty server handling this request.
|
MediaRequestInfo |
setTotalBytes(Long totalBytes)
The total size of the file.
|
MediaRequestInfo |
setTotalBytesIsEstimated(Boolean totalBytesIsEstimated)
Whether the total bytes field contains an estimated data.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic Long getCurrentBytes()
null for nonepublic MediaRequestInfo setCurrentBytes(Long currentBytes)
currentBytes - currentBytes or null for nonepublic String getCustomData()
null for nonepublic MediaRequestInfo setCustomData(String customData)
customData - customData or null for nonepublic String getDiffObjectVersion()
null for nonepublic MediaRequestInfo setDiffObjectVersion(String diffObjectVersion)
diffObjectVersion - diffObjectVersion or null for nonepublic Integer getFinalStatus()
null for nonepublic MediaRequestInfo setFinalStatus(Integer finalStatus)
finalStatus - finalStatus or null for nonepublic String getNotificationType()
null for nonepublic MediaRequestInfo setNotificationType(String notificationType)
notificationType - notificationType or null for nonepublic String getRequestId()
null for nonepublic MediaRequestInfo setRequestId(String requestId)
requestId - requestId or null for nonepublic String getRequestReceivedParamsServingInfo()
null for nonedecodeRequestReceivedParamsServingInfo()public byte[] decodeRequestReceivedParamsServingInfo()
null for nonegetRequestReceivedParamsServingInfo()public MediaRequestInfo setRequestReceivedParamsServingInfo(String requestReceivedParamsServingInfo)
requestReceivedParamsServingInfo - requestReceivedParamsServingInfo or null for none#encodeRequestReceivedParamsServingInfo()public MediaRequestInfo encodeRequestReceivedParamsServingInfo(byte[] requestReceivedParamsServingInfo)
The value is encoded Base64 or {@code null} for none.
public Long getTotalBytes()
null for nonepublic MediaRequestInfo setTotalBytes(Long totalBytes)
totalBytes - totalBytes or null for nonepublic Boolean getTotalBytesIsEstimated()
null for nonepublic MediaRequestInfo setTotalBytesIsEstimated(Boolean totalBytesIsEstimated)
totalBytesIsEstimated - totalBytesIsEstimated or null for nonepublic MediaRequestInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic MediaRequestInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.