Package org.a2aproject.sdk.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) A list of media types the client is prepared to accept for response parts.com.google.protobuf.ByteStringgetAcceptedOutputModesBytes(int index) A list of media types the client is prepared to accept for response parts.intA list of media types the client is prepared to accept for response parts.A list of media types the client is prepared to accept for response parts.intThe maximum number of most recent messages from the task's history to retrieve in the response.booleanIf `true`, the operation returns immediately after creating the task, even if processing is still in progress.Configuration for the agent to send push notifications for task updates.Configuration for the agent to send push notifications for task updates.booleanThe maximum number of most recent messages from the task's history to retrieve in the response.booleanConfiguration for the agent to send push notifications for task updates.Methods 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
A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
repeated string accepted_output_modes = 1;- Returns:
- A list containing the acceptedOutputModes.
-
getAcceptedOutputModesCount
int getAcceptedOutputModesCount()A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
repeated string accepted_output_modes = 1;- Returns:
- The count of acceptedOutputModes.
-
getAcceptedOutputModes
A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
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) A list of media types the client is prepared to accept for response parts. Agents SHOULD use this to tailor their output.
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.
-
hasTaskPushNotificationConfig
boolean hasTaskPushNotificationConfig()Configuration for the agent to send push notifications for task updates. Task id should be empty when sending this configuration in a `SendMessage` request.
.lf.a2a.v1.TaskPushNotificationConfig task_push_notification_config = 2;- Returns:
- Whether the taskPushNotificationConfig field is set.
-
getTaskPushNotificationConfig
TaskPushNotificationConfig getTaskPushNotificationConfig()Configuration for the agent to send push notifications for task updates. Task id should be empty when sending this configuration in a `SendMessage` request.
.lf.a2a.v1.TaskPushNotificationConfig task_push_notification_config = 2;- Returns:
- The taskPushNotificationConfig.
-
getTaskPushNotificationConfigOrBuilder
TaskPushNotificationConfigOrBuilder getTaskPushNotificationConfigOrBuilder()Configuration for the agent to send push notifications for task updates. Task id should be empty when sending this configuration in a `SendMessage` request.
.lf.a2a.v1.TaskPushNotificationConfig task_push_notification_config = 2; -
hasHistoryLength
boolean hasHistoryLength()The maximum number of most recent messages from the task's history to retrieve in the response. An unset value means the client does not impose any limit. A value of zero is a request to not include any messages. The server MUST NOT return more messages than the provided value, but MAY apply a lower limit.
optional int32 history_length = 3;- Returns:
- Whether the historyLength field is set.
-
getHistoryLength
int getHistoryLength()The maximum number of most recent messages from the task's history to retrieve in the response. An unset value means the client does not impose any limit. A value of zero is a request to not include any messages. The server MUST NOT return more messages than the provided value, but MAY apply a lower limit.
optional int32 history_length = 3;- Returns:
- The historyLength.
-
getReturnImmediately
boolean getReturnImmediately()If `true`, the operation returns immediately after creating the task, even if processing is still in progress. If `false` (default), the operation MUST wait until the task reaches a terminal (`COMPLETED`, `FAILED`, `CANCELED`, `REJECTED`) or interrupted (`INPUT_REQUIRED`, `AUTH_REQUIRED`) state before returning.
bool return_immediately = 4;- Returns:
- The returnImmediately.
-