public final class File
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 Google Maps Engine 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 |
|---|
File() |
| Modifier and Type | Method and Description |
|---|---|
File |
clone() |
java.lang.String |
getFilename()
The name of the file.
|
java.lang.Long |
getSize()
The size of the file in bytes.
|
java.lang.String |
getUploadStatus()
The upload status of the file.
|
File |
set(java.lang.String fieldName,
java.lang.Object value) |
File |
setFilename(java.lang.String filename)
The name of the file.
|
File |
setSize(java.lang.Long size)
The size of the file in bytes.
|
File |
setUploadStatus(java.lang.String uploadStatus)
The upload status of the file.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeyspublic java.lang.String getFilename()
null for nonepublic File setFilename(java.lang.String filename)
filename - filename or null for nonepublic java.lang.Long getSize()
null for nonepublic File setSize(java.lang.Long size)
size - size or null for nonepublic java.lang.String getUploadStatus()
null for nonepublic File setUploadStatus(java.lang.String uploadStatus)
uploadStatus - uploadStatus or null for nonepublic File set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic File clone()
clone in class com.google.api.client.json.GenericJson