public final class A2aV1SendMessageConfiguration
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 |
|---|
A2aV1SendMessageConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
A2aV1SendMessageConfiguration |
clone() |
List<String> |
getAcceptedOutputModes()
The output modes that the agent is expected to respond with.
|
Boolean |
getBlocking()
If true, the message will be blocking until the task is completed.
|
Integer |
getHistoryLength()
The maximum number of messages to include in the history.
|
A2aV1PushNotificationConfig |
getPushNotification()
A configuration of a webhook that can be used to receive updates
|
A2aV1SendMessageConfiguration |
set(String fieldName,
Object value) |
A2aV1SendMessageConfiguration |
setAcceptedOutputModes(List<String> acceptedOutputModes)
The output modes that the agent is expected to respond with.
|
A2aV1SendMessageConfiguration |
setBlocking(Boolean blocking)
If true, the message will be blocking until the task is completed.
|
A2aV1SendMessageConfiguration |
setHistoryLength(Integer historyLength)
The maximum number of messages to include in the history.
|
A2aV1SendMessageConfiguration |
setPushNotification(A2aV1PushNotificationConfig pushNotification)
A configuration of a webhook that can be used to receive updates
|
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 List<String> getAcceptedOutputModes()
null for nonepublic A2aV1SendMessageConfiguration setAcceptedOutputModes(List<String> acceptedOutputModes)
acceptedOutputModes - acceptedOutputModes or null for nonepublic Boolean getBlocking()
null for nonepublic A2aV1SendMessageConfiguration setBlocking(Boolean blocking)
blocking - blocking or null for nonepublic Integer getHistoryLength()
null for nonepublic A2aV1SendMessageConfiguration setHistoryLength(Integer historyLength)
historyLength - historyLength or null for nonepublic A2aV1PushNotificationConfig getPushNotification()
null for nonepublic A2aV1SendMessageConfiguration setPushNotification(A2aV1PushNotificationConfig pushNotification)
pushNotification - pushNotification or null for nonepublic A2aV1SendMessageConfiguration set(String fieldName, Object value)
set in class com.google.api.client.json.GenericJsonpublic A2aV1SendMessageConfiguration clone()
clone in class com.google.api.client.json.GenericJsonCopyright © 2011–2026 Google. All rights reserved.