public final class A2aV1TaskArtifactUpdateEvent
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 |
|---|
A2aV1TaskArtifactUpdateEvent() |
| Modifier and Type | Method and Description |
|---|---|
A2aV1TaskArtifactUpdateEvent |
clone() |
Boolean |
getAppend()
Whether this should be appended to a prior one produced
|
A2aV1Artifact |
getArtifact()
The artifact itself
|
String |
getContextId()
The id of the context that this task belongs too
|
Boolean |
getLastChunk()
Whether this represents the last part of an artifact
|
Map<String,Object> |
getMetadata()
Optional metadata associated with the artifact update.
|
String |
getTaskId()
The id of the task for this artifact
|
A2aV1TaskArtifactUpdateEvent |
set(String fieldName,
Object value) |
A2aV1TaskArtifactUpdateEvent |
setAppend(Boolean append)
Whether this should be appended to a prior one produced
|
A2aV1TaskArtifactUpdateEvent |
setArtifact(A2aV1Artifact artifact)
The artifact itself
|
A2aV1TaskArtifactUpdateEvent |
setContextId(String contextId)
The id of the context that this task belongs too
|
A2aV1TaskArtifactUpdateEvent |
setLastChunk(Boolean lastChunk)
Whether this represents the last part of an artifact
|
A2aV1TaskArtifactUpdateEvent |
setMetadata(Map<String,Object> metadata)
Optional metadata associated with the artifact update.
|
A2aV1TaskArtifactUpdateEvent |
setTaskId(String taskId)
The id of the task for this artifact
|
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 Boolean getAppend()
null for nonepublic A2aV1TaskArtifactUpdateEvent setAppend(Boolean append)
append - append or null for nonepublic A2aV1Artifact getArtifact()
null for nonepublic A2aV1TaskArtifactUpdateEvent setArtifact(A2aV1Artifact artifact)
artifact - artifact or null for nonepublic String getContextId()
null for nonepublic A2aV1TaskArtifactUpdateEvent setContextId(String contextId)
contextId - contextId or null for nonepublic Boolean getLastChunk()
null for nonepublic A2aV1TaskArtifactUpdateEvent setLastChunk(Boolean lastChunk)
lastChunk - lastChunk or null for nonepublic Map<String,Object> getMetadata()
null for nonepublic A2aV1TaskArtifactUpdateEvent setMetadata(Map<String,Object> metadata)
metadata - metadata or null for nonepublic String getTaskId()
null for nonepublic A2aV1TaskArtifactUpdateEvent setTaskId(String taskId)
taskId - taskId or null for nonepublic A2aV1TaskArtifactUpdateEvent set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic A2aV1TaskArtifactUpdateEvent clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.