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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
FileInfo() |
| Modifier and Type | Method and Description |
|---|---|
FileInfo |
clone() |
String |
getMimeType()
The MIME type of the file.Defaults to the value from Google Cloud Storage.
|
String |
getSha1Sum()
The SHA1 hash of the file, in hex.
|
String |
getSourceUrl()
URL source to use to fetch this file.
|
FileInfo |
set(String fieldName,
Object value) |
FileInfo |
setMimeType(String mimeType)
The MIME type of the file.Defaults to the value from Google Cloud Storage.
|
FileInfo |
setSha1Sum(String sha1Sum)
The SHA1 hash of the file, in hex.
|
FileInfo |
setSourceUrl(String sourceUrl)
URL source to use to fetch this file.
|
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 getMimeType()
null for nonepublic FileInfo setMimeType(String mimeType)
mimeType - mimeType or null for nonepublic String getSha1Sum()
null for nonepublic FileInfo setSha1Sum(String sha1Sum)
sha1Sum - sha1Sum or null for nonepublic String getSourceUrl()
null for nonepublic FileInfo setSourceUrl(String sourceUrl)
sourceUrl - sourceUrl or null for nonepublic FileInfo set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic FileInfo clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2024 Google. All rights reserved.