public static final class File.ContentHints.Thumbnail
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description | 
|---|
Thumbnail()  | 
| Modifier and Type | Method and Description | 
|---|---|
File.ContentHints.Thumbnail | 
clone()  | 
byte[] | 
decodeImage()
The thumbnail data encoded with URL-safe Base64 ([RFC 4648 section
 5](https://datatracker.ietf.org/doc/html/rfc4648#section-5)). 
 | 
File.ContentHints.Thumbnail | 
encodeImage(byte[] image)
The thumbnail data encoded with URL-safe Base64 ([RFC 4648 section
 5](https://datatracker.ietf.org/doc/html/rfc4648#section-5)). 
 | 
String | 
getImage()
The thumbnail data encoded with URL-safe Base64 ([RFC 4648 section
 5](https://datatracker.ietf.org/doc/html/rfc4648#section-5)). 
 | 
String | 
getMimeType()
The MIME type of the thumbnail. 
 | 
File.ContentHints.Thumbnail | 
set(String fieldName,
   Object value)  | 
File.ContentHints.Thumbnail | 
setImage(String image)
The thumbnail data encoded with URL-safe Base64 ([RFC 4648 section
 5](https://datatracker.ietf.org/doc/html/rfc4648#section-5)). 
 | 
File.ContentHints.Thumbnail | 
setMimeType(String mimeType)
The MIME type of the thumbnail. 
 | 
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 String getImage()
null for nonedecodeImage()public byte[] decodeImage()
null for nonegetImage()public File.ContentHints.Thumbnail setImage(String image)
image - image or null for none#encodeImage()public File.ContentHints.Thumbnail encodeImage(byte[] image)
 The value is encoded Base64 or {@code null} for none.
 
public String getMimeType()
null for nonepublic File.ContentHints.Thumbnail setMimeType(String mimeType)
mimeType - mimeType or null for nonepublic File.ContentHints.Thumbnail set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic File.ContentHints.Thumbnail clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2025 Google. All rights reserved.