public final class File extends 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 Google Maps Engine API. For a detailed explanation see: http://code.google.com/p/google-api-java-client/wiki/Json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
File() |
| Modifier and Type | Method and Description |
|---|---|
File |
clone() |
String |
getFilename()
The name of the file.
|
Long |
getSize()
The size of the file in bytes.
|
String |
getUploadStatus()
The upload status of the file.
|
File |
set(String fieldName,
Object value) |
File |
setFilename(String filename)
The name of the file.
|
File |
setSize(Long size)
The size of the file in bytes.
|
File |
setUploadStatus(String uploadStatus)
The upload status of the file.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getFilename()
null for nonepublic File setFilename(String filename)
filename - filename or null for nonepublic Long getSize()
null for nonepublic File setSize(Long size)
size - size or null for nonepublic String getUploadStatus()
null for nonepublic File setUploadStatus(String uploadStatus)
uploadStatus - uploadStatus or null for nonepublic File set(String fieldName, Object value)
set in class GenericJsonpublic File clone()
clone in class GenericJson