public static final class StorageObject.Media extends GenericJson
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
StorageObject.Media() |
Modifier and Type | Method and Description |
---|---|
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.
|
clone, getFactory, setFactory, toPrettyString, toString
entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, set, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, values
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
.