public final class GoogleCloudDiscoveryengineV1DocumentContent
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 Discovery 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.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GoogleCloudDiscoveryengineV1DocumentContent() |
| Modifier and Type | Method and Description |
|---|---|
GoogleCloudDiscoveryengineV1DocumentContent |
clone() |
byte[] |
decodeRawBytes()
The content represented as a stream of bytes.
|
GoogleCloudDiscoveryengineV1DocumentContent |
encodeRawBytes(byte[] rawBytes)
The content represented as a stream of bytes.
|
String |
getMimeType()
The MIME type of the content.
|
String |
getRawBytes()
The content represented as a stream of bytes.
|
String |
getUri()
The URI of the content.
|
GoogleCloudDiscoveryengineV1DocumentContent |
set(String fieldName,
Object value) |
GoogleCloudDiscoveryengineV1DocumentContent |
setMimeType(String mimeType)
The MIME type of the content.
|
GoogleCloudDiscoveryengineV1DocumentContent |
setRawBytes(String rawBytes)
The content represented as a stream of bytes.
|
GoogleCloudDiscoveryengineV1DocumentContent |
setUri(String uri)
The URI of the content.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic GoogleCloudDiscoveryengineV1DocumentContent()
public String getMimeType()
null for nonepublic GoogleCloudDiscoveryengineV1DocumentContent setMimeType(String mimeType)
mimeType - mimeType or null for nonepublic String getRawBytes()
null for nonedecodeRawBytes()public byte[] decodeRawBytes()
null for nonegetRawBytes()public GoogleCloudDiscoveryengineV1DocumentContent setRawBytes(String rawBytes)
rawBytes - rawBytes or null for none#encodeRawBytes()public GoogleCloudDiscoveryengineV1DocumentContent encodeRawBytes(byte[] rawBytes)
The value is encoded Base64 or {@code null} for none.
public String getUri()
null for nonepublic GoogleCloudDiscoveryengineV1DocumentContent setUri(String uri)
uri - uri or null for nonepublic GoogleCloudDiscoveryengineV1DocumentContent set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic GoogleCloudDiscoveryengineV1DocumentContent clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.