public final class A2aV1TaskStatus
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 |
|---|
A2aV1TaskStatus() |
| Modifier and Type | Method and Description |
|---|---|
A2aV1TaskStatus |
clone() |
A2aV1Message |
getMessage()
A message associated with the status.
|
String |
getState()
The current state of this task
|
String |
getTimestamp()
Timestamp when the status was recorded.
|
A2aV1TaskStatus |
set(String fieldName,
Object value) |
A2aV1TaskStatus |
setMessage(A2aV1Message message)
A message associated with the status.
|
A2aV1TaskStatus |
setState(String state)
The current state of this task
|
A2aV1TaskStatus |
setTimestamp(String timestamp)
Timestamp when the status was recorded.
|
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 A2aV1Message getMessage()
null for nonepublic A2aV1TaskStatus setMessage(A2aV1Message message)
message - message or null for nonepublic String getState()
null for nonepublic A2aV1TaskStatus setState(String state)
state - state or null for nonepublic String getTimestamp()
null for nonepublic A2aV1TaskStatus setTimestamp(String timestamp)
timestamp - timestamp or null for nonepublic A2aV1TaskStatus set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic A2aV1TaskStatus clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.