public final class FileInfo
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 App Engine Admin 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.Flags| Constructor and Description |
|---|
FileInfo() |
| Modifier and Type | Method and Description |
|---|---|
FileInfo |
clone() |
java.lang.String |
getMimeType()
The MIME type of the file.Defaults to the value from Google Cloud Storage.
|
java.lang.String |
getSha1Sum()
The SHA1 hash of the file, in hex.
|
java.lang.String |
getSourceUrl()
URL source to use to fetch this file.
|
FileInfo |
set(java.lang.String fieldName,
java.lang.Object value) |
FileInfo |
setMimeType(java.lang.String mimeType)
The MIME type of the file.Defaults to the value from Google Cloud Storage.
|
FileInfo |
setSha1Sum(java.lang.String sha1Sum)
The SHA1 hash of the file, in hex.
|
FileInfo |
setSourceUrl(java.lang.String sourceUrl)
URL source to use to fetch this file.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic java.lang.String getMimeType()
null for nonepublic FileInfo setMimeType(java.lang.String mimeType)
mimeType - mimeType or null for nonepublic java.lang.String getSha1Sum()
null for nonepublic FileInfo setSha1Sum(java.lang.String sha1Sum)
sha1Sum - sha1Sum or null for nonepublic java.lang.String getSourceUrl()
null for nonepublic FileInfo setSourceUrl(java.lang.String sourceUrl)
sourceUrl - sourceUrl or null for nonepublic FileInfo set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic FileInfo clone()
clone in class com.google.api.client.json.GenericJson