Index
All Classes and Interfaces|All Packages
A
- A2A - Class in io.a2a
-
Utility class providing convenience methods for working with the A2A Protocol.
- A2A() - Constructor for class io.a2a.A2A
- AbstractClient - Class in io.a2a.client
-
Abstract class representing an A2A client.
- AbstractClient(List<BiConsumer<ClientEvent, AgentCard>>) - Constructor for class io.a2a.client.AbstractClient
- AbstractClient(List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>) - Constructor for class io.a2a.client.AbstractClient
- addConsumer(BiConsumer<ClientEvent, AgentCard>) - Method in class io.a2a.client.ClientBuilder
-
Add a single event consumer to process events from the agent.
- addConsumers(List<BiConsumer<ClientEvent, AgentCard>>) - Method in class io.a2a.client.ClientBuilder
-
Add multiple event consumers to process events from the agent.
B
- build() - Method in class io.a2a.client.ClientBuilder
-
Build the configured
Clientinstance. - build() - Method in class io.a2a.client.config.ClientConfig.Builder
-
Build the ClientConfig with the configured settings.
- builder() - Static method in class io.a2a.client.config.ClientConfig
-
Create a new builder for constructing ClientConfig instances.
- builder(AgentCard) - Static method in class io.a2a.client.Client
-
Create a new builder for constructing a client instance.
- Builder() - Constructor for class io.a2a.client.config.ClientConfig.Builder
C
- cancelTask(TaskIdParams) - Method in class io.a2a.client.AbstractClient
-
Request the agent to cancel a specific task.
- cancelTask(TaskIdParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Request the agent to cancel a specific task.
- cancelTask(TaskIdParams, ClientCallContext) - Method in class io.a2a.client.Client
-
Request cancellation of a task.
- Client - Class in io.a2a.client
-
A client for communicating with A2A agents using the Agent2Agent Protocol.
- ClientBuilder - Class in io.a2a.client
-
Builder for creating instances of
Clientto communicate with A2A agents. - clientConfig(ClientConfig) - Method in class io.a2a.client.ClientBuilder
-
Configure client behavior such as streaming mode, polling, and transport preference.
- ClientConfig - Class in io.a2a.client.config
-
Configuration for controlling A2A client behavior and communication preferences.
- ClientConfig.Builder - Class in io.a2a.client.config
-
Builder for creating
ClientConfiginstances. - ClientEvent - Interface in io.a2a.client
-
A sealed interface representing events received by an A2A client from an agent.
- ClientTaskManager - Class in io.a2a.client
-
Helps manage a task's lifecycle during the execution of a request.
- ClientTaskManager() - Constructor for class io.a2a.client.ClientTaskManager
- close() - Method in class io.a2a.client.AbstractClient
-
Close the transport and release any associated resources.
- close() - Method in class io.a2a.client.Client
-
Close this client and release all associated resources.
- consumers - Variable in class io.a2a.client.AbstractClient
- createAgentPartsMessage(List<Part<?>>, String, String) - Static method in class io.a2a.A2A
-
Create an agent message with custom parts and optional context and task IDs.
- createAgentTextMessage(String, String, String) - Static method in class io.a2a.A2A
-
Create an agent message with text content and optional context and task IDs.
- createTaskPushNotificationConfiguration(TaskPushNotificationConfig) - Method in class io.a2a.client.AbstractClient
-
Create or update the push notification configuration for a specific task.
- createTaskPushNotificationConfiguration(TaskPushNotificationConfig, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Create or update the push notification configuration for a specific task.
- createTaskPushNotificationConfiguration(TaskPushNotificationConfig, ClientCallContext) - Method in class io.a2a.client.Client
-
Configure push notifications for a task.
- createUserTextMessage(String, String, String) - Static method in class io.a2a.A2A
-
Create a user message with text content and optional context and task IDs.
D
- deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams) - Method in class io.a2a.client.AbstractClient
-
Delete the list of push notification configurations for a specific task.
- deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Delete the list of push notification configurations for a specific task.
- deleteTaskPushNotificationConfigurations(DeleteTaskPushNotificationConfigParams, ClientCallContext) - Method in class io.a2a.client.Client
-
Delete push notification configurations.
G
- getAcceptedOutputModes() - Method in class io.a2a.client.config.ClientConfig
-
Get the list of accepted output modes.
- getAgentCard(A2AHttpClient, String) - Static method in class io.a2a.A2A
-
Retrieve the agent card using a custom HTTP client.
- getAgentCard(A2AHttpClient, String, String, Map<String, String>) - Static method in class io.a2a.A2A
-
Retrieve the agent card with full customization options.
- getAgentCard(String) - Static method in class io.a2a.A2A
-
Retrieve the agent card for an A2A agent.
- getAgentCard(String, String, Map<String, String>) - Static method in class io.a2a.A2A
-
Retrieve the agent card with custom path and authentication.
- getCurrentTask() - Method in class io.a2a.client.ClientTaskManager
- getExtendedAgentCard() - Method in class io.a2a.client.AbstractClient
-
Retrieve the extended AgentCard.
- getExtendedAgentCard(ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Retrieve the extended AgentCard.
- getExtendedAgentCard(ClientCallContext) - Method in class io.a2a.client.Client
-
Retrieve the agent's extended agent card.
- getHistoryLength() - Method in class io.a2a.client.config.ClientConfig
-
Get the conversation history length.
- getMessage() - Method in class io.a2a.client.MessageEvent
-
Get the message contained in this event.
- getMetadata() - Method in class io.a2a.client.config.ClientConfig
-
Get the custom metadata attached to all requests.
- getPushNotificationConfig() - Method in class io.a2a.client.config.ClientConfig
-
Get the default push notification configuration.
- getStreamingErrorHandler() - Method in class io.a2a.client.AbstractClient
-
Get the error handler that should be used during streaming.
- getTask() - Method in class io.a2a.client.TaskEvent
-
Get the task contained in this event.
- getTask() - Method in class io.a2a.client.TaskUpdateEvent
-
Get the current complete task state.
- getTask(TaskQueryParams) - Method in class io.a2a.client.AbstractClient
-
Retrieve the current state and history of a specific task.
- getTask(TaskQueryParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Retrieve the current state and history of a specific task.
- getTask(TaskQueryParams, ClientCallContext) - Method in class io.a2a.client.Client
-
Retrieve a specific task by ID.
- getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams) - Method in class io.a2a.client.AbstractClient
-
Retrieve the push notification configuration for a specific task.
- getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Retrieve the push notification configuration for a specific task.
- getTaskPushNotificationConfiguration(GetTaskPushNotificationConfigParams, ClientCallContext) - Method in class io.a2a.client.Client
-
Retrieve the push notification configuration for a task.
- getUpdateEvent() - Method in class io.a2a.client.TaskUpdateEvent
-
Get the specific update that triggered this event.
I
- io.a2a - package io.a2a
- io.a2a.client - package io.a2a.client
- io.a2a.client.config - package io.a2a.client.config
- isPolling() - Method in class io.a2a.client.config.ClientConfig
-
Check if polling mode is enabled for task updates.
- isStreaming() - Method in class io.a2a.client.config.ClientConfig
-
Check if streaming mode is enabled.
- isUseClientPreference() - Method in class io.a2a.client.config.ClientConfig
-
Check if client transport preference is enabled.
L
- listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigParams) - Method in class io.a2a.client.AbstractClient
-
Retrieve the list of push notification configurations for a specific task with pagination support.
- listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Retrieve the list of push notification configurations for a specific task with pagination support.
- listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigParams, ClientCallContext) - Method in class io.a2a.client.Client
-
List all push notification configurations, optionally filtered by task or context.
- listTasks(ListTasksParams) - Method in class io.a2a.client.AbstractClient
-
List tasks with optional filtering and pagination.
- listTasks(ListTasksParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
List tasks with optional filtering and pagination.
- listTasks(ListTasksParams, ClientCallContext) - Method in class io.a2a.client.Client
-
List tasks for the current session or context.
M
- MessageEvent - Class in io.a2a.client
-
A client event containing an agent's message response.
- MessageEvent(Message) - Constructor for class io.a2a.client.MessageEvent
-
Create a message event.
S
- saveTaskEvent(Task) - Method in class io.a2a.client.ClientTaskManager
- saveTaskEvent(TaskArtifactUpdateEvent) - Method in class io.a2a.client.ClientTaskManager
- saveTaskEvent(TaskStatusUpdateEvent) - Method in class io.a2a.client.ClientTaskManager
- sendMessage(Message) - Method in class io.a2a.client.AbstractClient
-
Send a message to the remote agent.
- sendMessage(Message, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>) - Method in class io.a2a.client.AbstractClient
-
Send a message to the remote agent.
- sendMessage(Message, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Send a message to the remote agent.
- sendMessage(Message, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>, ClientCallContext) - Method in class io.a2a.client.Client
- sendMessage(Message, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Send a message to the remote agent.
- sendMessage(Message, PushNotificationConfig, Map<String, Object>) - Method in class io.a2a.client.AbstractClient
-
Send a message to the remote agent.
- sendMessage(Message, PushNotificationConfig, Map<String, Object>, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Send a message to the remote agent.
- sendMessage(Message, PushNotificationConfig, Map<String, Object>, ClientCallContext) - Method in class io.a2a.client.Client
-
Send a message to the agent.
- setAcceptedOutputModes(List<String>) - Method in class io.a2a.client.config.ClientConfig.Builder
-
Set the accepted output modes.
- setHistoryLength(Integer) - Method in class io.a2a.client.config.ClientConfig.Builder
-
Set the conversation history length.
- setMetadata(Map<String, Object>) - Method in class io.a2a.client.config.ClientConfig.Builder
-
Set custom metadata to be included in all requests.
- setPolling(Boolean) - Method in class io.a2a.client.config.ClientConfig.Builder
-
Enable or disable polling mode for task updates.
- setPushNotificationConfig(PushNotificationConfig) - Method in class io.a2a.client.config.ClientConfig.Builder
-
Set the default push notification configuration.
- setStreaming(Boolean) - Method in class io.a2a.client.config.ClientConfig.Builder
-
Enable or disable streaming mode.
- setUseClientPreference(Boolean) - Method in class io.a2a.client.config.ClientConfig.Builder
-
Set whether to use client or server transport preference.
- streamingErrorHandler - Variable in class io.a2a.client.AbstractClient
- streamingErrorHandler(Consumer<Throwable>) - Method in class io.a2a.client.ClientBuilder
-
Configure an error handler for streaming scenarios.
- subscribeToTask(TaskIdParams) - Method in class io.a2a.client.AbstractClient
-
Subscribe to a task's event stream.
- subscribeToTask(TaskIdParams, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>) - Method in class io.a2a.client.AbstractClient
-
Subscribe to a task's event stream.
- subscribeToTask(TaskIdParams, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Subscribe to a task's event stream.
- subscribeToTask(TaskIdParams, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>, ClientCallContext) - Method in class io.a2a.client.Client
-
Subscribe to an existing task to receive remaining events.
- subscribeToTask(TaskIdParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
-
Subscribe to a task's event stream.
T
- TaskEvent - Class in io.a2a.client
-
A client event containing the complete state of a task.
- TaskEvent(Task) - Constructor for class io.a2a.client.TaskEvent
-
Create a task event.
- TaskUpdateEvent - Class in io.a2a.client
-
A client event containing an incremental update to a task.
- TaskUpdateEvent(Task, UpdateEvent) - Constructor for class io.a2a.client.TaskUpdateEvent
-
Create a task update event.
- toAgentMessage(String) - Static method in class io.a2a.A2A
-
Create a simple agent message from text.
- toAgentMessage(String, String) - Static method in class io.a2a.A2A
-
Create an agent message from text with a specific message ID.
- toString() - Method in class io.a2a.client.MessageEvent
- toUserMessage(String) - Static method in class io.a2a.A2A
-
Create a simple user message from text.
- toUserMessage(String, String) - Static method in class io.a2a.A2A
-
Create a user message from text with a specific message ID.
U
- updateWithMessage(Message, Task) - Method in class io.a2a.client.ClientTaskManager
-
Update a task by adding a message to its history.
W
- withTransport(Class<T>, ClientTransportConfig<T>) - Method in class io.a2a.client.ClientBuilder
-
Configure a transport protocol with a pre-built configuration.
- withTransport(Class<T>, ClientTransportConfigBuilder<? extends ClientTransportConfig<T>, ?>) - Method in class io.a2a.client.ClientBuilder
-
Configure a transport protocol using a builder for type-safe configuration.
All Classes and Interfaces|All Packages