public final class A2aV1TaskStatusUpdateEvent
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 |
|---|
A2aV1TaskStatusUpdateEvent() |
| Modifier and Type | Method and Description |
|---|---|
A2aV1TaskStatusUpdateEvent |
clone() |
String |
getContextId()
The id of the context that the task belongs to
|
Boolean |
getFinal()
Whether this is the last status update expected for this task.
|
Map<String,Object> |
getMetadata()
Optional metadata to associate with the task update.
|
A2aV1TaskStatus |
getStatus()
The new status of the task.
|
String |
getTaskId()
The id of the task that is changed
|
A2aV1TaskStatusUpdateEvent |
set(String fieldName,
Object value) |
A2aV1TaskStatusUpdateEvent |
setContextId(String contextId)
The id of the context that the task belongs to
|
A2aV1TaskStatusUpdateEvent |
setFinal(Boolean final__)
Whether this is the last status update expected for this task.
|
A2aV1TaskStatusUpdateEvent |
setMetadata(Map<String,Object> metadata)
Optional metadata to associate with the task update.
|
A2aV1TaskStatusUpdateEvent |
setStatus(A2aV1TaskStatus status)
The new status of the task.
|
A2aV1TaskStatusUpdateEvent |
setTaskId(String taskId)
The id of the task that is changed
|
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 String getContextId()
null for nonepublic A2aV1TaskStatusUpdateEvent setContextId(String contextId)
contextId - contextId or null for nonepublic Boolean getFinal()
null for nonepublic A2aV1TaskStatusUpdateEvent setFinal(Boolean final__)
final__ - final__ or null for nonepublic Map<String,Object> getMetadata()
null for nonepublic A2aV1TaskStatusUpdateEvent setMetadata(Map<String,Object> metadata)
metadata - metadata or null for nonepublic A2aV1TaskStatus getStatus()
null for nonepublic A2aV1TaskStatusUpdateEvent setStatus(A2aV1TaskStatus status)
status - status or null for nonepublic String getTaskId()
null for nonepublic A2aV1TaskStatusUpdateEvent setTaskId(String taskId)
taskId - taskId or null for nonepublic A2aV1TaskStatusUpdateEvent set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic A2aV1TaskStatusUpdateEvent clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.