Package org.a2aproject.sdk.compat03.grpc
Interface SendMessageConfigurationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SendMessageConfiguration,SendMessageConfiguration.Builder
@Generated
public interface SendMessageConfigurationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAcceptedOutputModes(int index) The output modes that the agent is expected to respond with.com.google.protobuf.ByteStringgetAcceptedOutputModesBytes(int index) The output modes that the agent is expected to respond with.intThe output modes that the agent is expected to respond with.The output modes that the agent is expected to respond with.booleanIf true, the message will be blocking until the task is completed.intThe maximum number of messages to include in the history. if 0, the history will be unlimited.A configuration of a webhook that can be used to receive updatesA configuration of a webhook that can be used to receive updatesbooleanA configuration of a webhook that can be used to receive updatesMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getAcceptedOutputModesList
The output modes that the agent is expected to respond with.
repeated string accepted_output_modes = 1;- Returns:
- A list containing the acceptedOutputModes.
-
getAcceptedOutputModesCount
int getAcceptedOutputModesCount()The output modes that the agent is expected to respond with.
repeated string accepted_output_modes = 1;- Returns:
- The count of acceptedOutputModes.
-
getAcceptedOutputModes
The output modes that the agent is expected to respond with.
repeated string accepted_output_modes = 1;- Parameters:
index- The index of the element to return.- Returns:
- The acceptedOutputModes at the given index.
-
getAcceptedOutputModesBytes
com.google.protobuf.ByteString getAcceptedOutputModesBytes(int index) The output modes that the agent is expected to respond with.
repeated string accepted_output_modes = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the acceptedOutputModes at the given index.
-
hasPushNotification
boolean hasPushNotification()A configuration of a webhook that can be used to receive updates
.a2a.v1.PushNotificationConfig push_notification = 2;- Returns:
- Whether the pushNotification field is set.
-
getPushNotification
PushNotificationConfig getPushNotification()A configuration of a webhook that can be used to receive updates
.a2a.v1.PushNotificationConfig push_notification = 2;- Returns:
- The pushNotification.
-
getPushNotificationOrBuilder
PushNotificationConfigOrBuilder getPushNotificationOrBuilder()A configuration of a webhook that can be used to receive updates
.a2a.v1.PushNotificationConfig push_notification = 2; -
getHistoryLength
int getHistoryLength()The maximum number of messages to include in the history. if 0, the history will be unlimited.
int32 history_length = 3;- Returns:
- The historyLength.
-
getBlocking
boolean getBlocking()If true, the message will be blocking until the task is completed. If false, the message will be non-blocking and the task will be returned immediately. It is the caller's responsibility to check for any task updates.
bool blocking = 4;- Returns:
- The blocking.
-