|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap<String,Object>
com.google.api.client.util.GenericData
com.google.api.client.json.GenericJson
com.google.api.services.storage.model.StorageObject.Media
public static final class StorageObject.Media
Object media data. Provided on your behalf when uploading raw media or multipart/related with an auxiliary media part.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.api.client.util.GenericData |
---|
GenericData.Flags |
Nested classes/interfaces inherited from class java.util.AbstractMap |
---|
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V> |
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
StorageObject.Media()
|
Method Summary | |
---|---|
String |
getAlgorithm()
Hash algorithm used. |
String |
getContentType()
Content-Type of the object data. |
String |
getData()
URL-safe Base64-encoded data. |
String |
getHash()
Hash of the data. |
com.google.common.primitives.UnsignedLong |
getLength()
Content-Length of the data in bytes. |
String |
getLink()
Media download link. |
DateTime |
getTimeCreated()
Creation time of the data in RFC 3339 format. |
StorageObject.Media |
setAlgorithm(String algorithm)
Hash algorithm used. |
StorageObject.Media |
setContentType(String contentType)
Content-Type of the object data. |
StorageObject.Media |
setData(String data)
URL-safe Base64-encoded data. |
StorageObject.Media |
setHash(String hash)
Hash of the data. |
StorageObject.Media |
setLength(com.google.common.primitives.UnsignedLong length)
Content-Length of the data in bytes. |
StorageObject.Media |
setLink(String link)
Media download link. |
StorageObject.Media |
setTimeCreated(DateTime timeCreated)
Creation time of the data in RFC 3339 format. |
Methods inherited from class com.google.api.client.json.GenericJson |
---|
clone, getFactory, setFactory, toPrettyString, toString |
Methods inherited from class com.google.api.client.util.GenericData |
---|
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys |
Methods inherited from class java.util.AbstractMap |
---|
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StorageObject.Media()
Method Detail |
---|
public String getAlgorithm()
null
.
public StorageObject.Media setAlgorithm(String algorithm)
null
.
public String getContentType()
null
.
public StorageObject.Media setContentType(String contentType)
null
.
public String getData()
null
.
public StorageObject.Media setData(String data)
null
.
public String getHash()
null
.
public StorageObject.Media setHash(String hash)
null
.
public com.google.common.primitives.UnsignedLong getLength()
null
.
public StorageObject.Media setLength(com.google.common.primitives.UnsignedLong length)
null
.
public String getLink()
null
.
public StorageObject.Media setLink(String link)
null
.
public DateTime getTimeCreated()
null
.
public StorageObject.Media setTimeCreated(DateTime timeCreated)
null
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |