public static final class File.Thumbnail
extends com.google.api.client.json.GenericJson
com.google.api.client.util.GenericData.Flags
Constructor and Description |
---|
File.Thumbnail() |
Modifier and Type | Method and Description |
---|---|
File.Thumbnail |
clone() |
byte[] |
decodeImage()
The URL-safe Base64 encoded bytes of the thumbnail image.
|
File.Thumbnail |
encodeImage(byte[] image)
The URL-safe Base64 encoded bytes of the thumbnail image.
|
java.lang.String |
getImage()
The URL-safe Base64 encoded bytes of the thumbnail image.
|
java.lang.String |
getMimeType()
The MIME type of the thumbnail.
|
File.Thumbnail |
set(java.lang.String fieldName,
java.lang.Object value) |
File.Thumbnail |
setImage(java.lang.String image)
The URL-safe Base64 encoded bytes of the thumbnail image.
|
File.Thumbnail |
setMimeType(java.lang.String mimeType)
The MIME type of the thumbnail.
|
getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
public java.lang.String getImage()
null
for nonedecodeImage()
public byte[] decodeImage()
null
for nonegetImage()
public File.Thumbnail setImage(java.lang.String image)
image
- image or null
for none#encodeImage()
public File.Thumbnail encodeImage(byte[] image)
The value is encoded Base64 or {@code null} for none.
public java.lang.String getMimeType()
null
for nonepublic File.Thumbnail setMimeType(java.lang.String mimeType)
mimeType
- mimeType or null
for nonepublic File.Thumbnail set(java.lang.String fieldName, java.lang.Object value)
set
in class com.google.api.client.json.GenericJson
public File.Thumbnail clone()
clone
in class com.google.api.client.json.GenericJson