| Package | Description |
|---|---|
| com.google.api.services.walletobjects.model |
| Modifier and Type | Method and Description |
|---|---|
Media |
Media.clone() |
Media |
Media.encodeBigstoreObjectRef(byte[] bigstoreObjectRef)
Use object_id instead.
|
Media |
Media.encodeBlobRef(byte[] blobRef)
Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte
representation of a blobstore.BlobRef.
|
Media |
Media.encodeCosmoBinaryReference(byte[] cosmoBinaryReference)
A binary data reference for a media download.
|
Media |
Media.encodeInline(byte[] inline)
Media data, set if reference_type is INLINE
|
Media |
Media.encodeMd5Hash(byte[] md5Hash)
Scotty-provided MD5 hash for an upload.
|
Media |
Media.encodeMediaId(byte[] mediaId)
Media id to forward to the operation GetMedia.
|
Media |
Media.encodeSha1Hash(byte[] sha1Hash)
Scotty-provided SHA1 hash for an upload.
|
Media |
Media.encodeSha256Hash(byte[] sha256Hash)
Scotty-provided SHA256 hash for an upload.
|
Media |
TransitObjectUploadRotatingBarcodeValuesRequest.getBlob()
A reference to the rotating barcode values payload that was uploaded.
|
Media |
Media.set(String fieldName,
Object value) |
Media |
Media.setAlgorithm(String algorithm)
Deprecated, use one of explicit hash type fields instead.
|
Media |
Media.setBigstoreObjectRef(String bigstoreObjectRef)
Use object_id instead.
|
Media |
Media.setBlobRef(String blobRef)
Blobstore v1 reference, set if reference_type is BLOBSTORE_REF This should be the byte
representation of a blobstore.BlobRef.
|
Media |
Media.setBlobstore2Info(Blobstore2Info blobstore2Info)
Blobstore v2 info, set if reference_type is BLOBSTORE_REF and it refers to a v2 blob.
|
Media |
Media.setCompositeMedia(List<CompositeMedia> compositeMedia)
A composite media composed of one or more media objects, set if reference_type is
COMPOSITE_MEDIA.
|
Media |
Media.setContentType(String contentType)
MIME type of the data
|
Media |
Media.setContentTypeInfo(ContentTypeInfo contentTypeInfo)
Extended content type information provided for Scotty uploads.
|
Media |
Media.setCosmoBinaryReference(String cosmoBinaryReference)
A binary data reference for a media download.
|
Media |
Media.setCrc32cHash(Long crc32cHash)
For Scotty Uploads: Scotty-provided hashes for uploads For Scotty Downloads: (WARNING: DO NOT
USE WITHOUT PERMISSION FROM THE SCOTTY TEAM.) A Hash provided by the agent to be used to verify
the data being downloaded.
|
Media |
Media.setDiffChecksumsResponse(DiffChecksumsResponse diffChecksumsResponse)
Set if reference_type is DIFF_CHECKSUMS_RESPONSE.
|
Media |
Media.setDiffDownloadResponse(DiffDownloadResponse diffDownloadResponse)
Set if reference_type is DIFF_DOWNLOAD_RESPONSE.
|
Media |
Media.setDiffUploadRequest(DiffUploadRequest diffUploadRequest)
Set if reference_type is DIFF_UPLOAD_REQUEST.
|
Media |
Media.setDiffUploadResponse(DiffUploadResponse diffUploadResponse)
Set if reference_type is DIFF_UPLOAD_RESPONSE.
|
Media |
Media.setDiffVersionResponse(DiffVersionResponse diffVersionResponse)
Set if reference_type is DIFF_VERSION_RESPONSE.
|
Media |
Media.setDownloadParameters(DownloadParameters downloadParameters)
Parameters for a media download.
|
Media |
Media.setFilename(String filename)
Original file name
|
Media |
Media.setHash(String hash)
Deprecated, use one of explicit hash type fields instead.
|
Media |
Media.setHashVerified(Boolean hashVerified)
For Scotty uploads only.
|
Media |
Media.setInline(String inline)
Media data, set if reference_type is INLINE
|
Media |
Media.setIsPotentialRetry(Boolean isPotentialRetry)
|is_potential_retry| is set false only when Scotty is certain that it has not sent the request
before.
|
Media |
Media.setLength(Long length)
Size of the data, in bytes
|
Media |
Media.setMd5Hash(String md5Hash)
Scotty-provided MD5 hash for an upload.
|
Media |
Media.setMediaId(String mediaId)
Media id to forward to the operation GetMedia.
|
Media |
Media.setObjectId(ObjectId objectId)
Reference to a TI Blob, set if reference_type is BIGSTORE_REF.
|
Media |
Media.setPath(String path)
Path to the data, set if reference_type is PATH
|
Media |
Media.setReferenceType(String referenceType)
Describes what the field reference contains.
|
Media |
Media.setSha1Hash(String sha1Hash)
Scotty-provided SHA1 hash for an upload.
|
Media |
Media.setSha256Hash(String sha256Hash)
Scotty-provided SHA256 hash for an upload.
|
Media |
Media.setTimestamp(BigInteger timestamp)
Time at which the media data was last updated, in milliseconds since UNIX epoch
|
Media |
Media.setToken(String token)
A unique fingerprint/version id for the media data
|
| Modifier and Type | Method and Description |
|---|---|
TransitObjectUploadRotatingBarcodeValuesRequest |
TransitObjectUploadRotatingBarcodeValuesRequest.setBlob(Media blob)
A reference to the rotating barcode values payload that was uploaded.
|
Copyright © 2011–2025 Google. All rights reserved.