public final class A2aV1Part
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 |
|---|
A2aV1Part() |
| Modifier and Type | Method and Description |
|---|---|
A2aV1Part |
clone() |
A2aV1DataPart |
getData() |
A2aV1FilePart |
getFile() |
Map<String,Object> |
getMetadata()
Optional metadata associated with this part.
|
String |
getText() |
A2aV1Part |
set(String fieldName,
Object value) |
A2aV1Part |
setData(A2aV1DataPart data) |
A2aV1Part |
setFile(A2aV1FilePart file) |
A2aV1Part |
setMetadata(Map<String,Object> metadata)
Optional metadata associated with this part.
|
A2aV1Part |
setText(String text) |
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 A2aV1DataPart getData()
null for nonepublic A2aV1Part setData(A2aV1DataPart data)
data - data or null for nonepublic A2aV1FilePart getFile()
null for nonepublic A2aV1Part setFile(A2aV1FilePart file)
file - file or null for nonepublic Map<String,Object> getMetadata()
null for nonepublic A2aV1Part setMetadata(Map<String,Object> metadata)
metadata - metadata or null for nonepublic String getText()
null for nonepublic A2aV1Part set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic A2aV1Part clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.