public final class ItemContent
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 Cloud Search 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 |
|---|
ItemContent() |
| Modifier and Type | Method and Description |
|---|---|
ItemContent |
clone() |
byte[] |
decodeInlineContent()
Content that is supplied inlined within the update method.
|
ItemContent |
encodeInlineContent(byte[] inlineContent)
Content that is supplied inlined within the update method.
|
UploadItemRef |
getContentDataRef()
Upload reference ID of a previously uploaded content via write method.
|
java.lang.String |
getContentFormat() |
java.lang.String |
getHash()
Hashing info calculated and provided by the API client for content.
|
java.lang.String |
getInlineContent()
Content that is supplied inlined within the update method.
|
ItemContent |
set(java.lang.String fieldName,
java.lang.Object value) |
ItemContent |
setContentDataRef(UploadItemRef contentDataRef)
Upload reference ID of a previously uploaded content via write method.
|
ItemContent |
setContentFormat(java.lang.String contentFormat) |
ItemContent |
setHash(java.lang.String hash)
Hashing info calculated and provided by the API client for content.
|
ItemContent |
setInlineContent(java.lang.String inlineContent)
Content that is supplied inlined within the update method.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic UploadItemRef getContentDataRef()
null for nonepublic ItemContent setContentDataRef(UploadItemRef contentDataRef)
contentDataRef - contentDataRef or null for nonepublic java.lang.String getContentFormat()
null for nonepublic ItemContent setContentFormat(java.lang.String contentFormat)
contentFormat - contentFormat or null for nonepublic java.lang.String getHash()
null for nonepublic ItemContent setHash(java.lang.String hash)
hash - hash or null for nonepublic java.lang.String getInlineContent()
null for nonedecodeInlineContent()public byte[] decodeInlineContent()
null for nonegetInlineContent()public ItemContent setInlineContent(java.lang.String inlineContent)
inlineContent - inlineContent or null for none#encodeInlineContent()public ItemContent encodeInlineContent(byte[] inlineContent)
The value is encoded Base64 or {@code null} for none.
public ItemContent set(java.lang.String fieldName, java.lang.Object value)
set in class com.google.api.client.json.GenericJsonpublic ItemContent clone()
clone in class com.google.api.client.json.GenericJson