Index

A B C D G I L M R S T U W 
All Classes and Interfaces|All Packages

A

A2A - Class in io.a2a
Constants and utility methods related to 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>>, Consumer<Throwable>) - Constructor for class io.a2a.client.AbstractClient
 
AbstractClient(List<BiConsumer<ClientEvent, AgentCard>>) - Constructor for class io.a2a.client.AbstractClient
 
addConsumer(BiConsumer<ClientEvent, AgentCard>) - Method in class io.a2a.client.ClientBuilder
 
addConsumers(List<BiConsumer<ClientEvent, AgentCard>>) - Method in class io.a2a.client.ClientBuilder
 

B

build() - Method in class io.a2a.client.ClientBuilder
 
build() - Method in class io.a2a.client.config.ClientConfig.Builder
 
builder() - Static method in class io.a2a.client.config.ClientConfig
 
builder(AgentCard) - Static method in class io.a2a.client.Client
 
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
 
Client - Class in io.a2a.client
 
ClientBuilder - Class in io.a2a.client
 
clientConfig(ClientConfig) - Method in class io.a2a.client.ClientBuilder
 
ClientConfig - Class in io.a2a.client.config
Configuration for the A2A client factory.
ClientConfig.Builder - Class in io.a2a.client.config
 
ClientEvent - Interface in io.a2a.client
 
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
 
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.
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
 

G

getAcceptedOutputModes() - Method in class io.a2a.client.config.ClientConfig
 
getAgentCard() - Method in class io.a2a.client.AbstractClient
Retrieve the AgentCard.
getAgentCard(ClientCallContext) - Method in class io.a2a.client.AbstractClient
Retrieve the AgentCard.
getAgentCard(ClientCallContext) - Method in class io.a2a.client.Client
 
getAgentCard(A2AHttpClient, String) - Static method in class io.a2a.A2A
Get the agent card for an A2A agent.
getAgentCard(A2AHttpClient, String, String, Map<String, String>) - Static method in class io.a2a.A2A
Get the agent card for an A2A agent.
getAgentCard(String) - Static method in class io.a2a.A2A
Get the agent card for an A2A agent.
getAgentCard(String, String, Map<String, String>) - Static method in class io.a2a.A2A
Get the agent card for an A2A agent.
getCurrentTask() - Method in class io.a2a.client.ClientTaskManager
 
getHistoryLength() - Method in class io.a2a.client.config.ClientConfig
 
getMessage() - Method in class io.a2a.client.MessageEvent
 
getMetadata() - Method in class io.a2a.client.config.ClientConfig
 
getPushNotificationConfig() - Method in class io.a2a.client.config.ClientConfig
 
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
 
getTask() - Method in class io.a2a.client.TaskUpdateEvent
 
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
 
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
 
getUpdateEvent() - Method in class io.a2a.client.TaskUpdateEvent
 

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
 
isStreaming() - Method in class io.a2a.client.config.ClientConfig
 
isUseClientPreference() - Method in class io.a2a.client.config.ClientConfig
 

L

listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigParams) - Method in class io.a2a.client.AbstractClient
Retrieve the list of push notification configurations for a specific task.
listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
Retrieve the list of push notification configurations for a specific task.
listTaskPushNotificationConfigurations(ListTaskPushNotificationConfigParams, ClientCallContext) - Method in class io.a2a.client.Client
 

M

MessageEvent - Class in io.a2a.client
A message event received by a client.
MessageEvent(Message) - Constructor for class io.a2a.client.MessageEvent
A message event.

R

resubscribe(TaskIdParams) - Method in class io.a2a.client.AbstractClient
Resubscribe to a task's event stream.
resubscribe(TaskIdParams, ClientCallContext) - Method in class io.a2a.client.AbstractClient
Resubscribe to a task's event stream.
resubscribe(TaskIdParams, ClientCallContext) - Method in class io.a2a.client.Client
 
resubscribe(TaskIdParams, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>, ClientCallContext) - Method in class io.a2a.client.Client
 
resubscribe(TaskIdParams, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>) - Method in class io.a2a.client.AbstractClient
Resubscribe to a task's event stream.
resubscribe(TaskIdParams, List<BiConsumer<ClientEvent, AgentCard>>, Consumer<Throwable>, ClientCallContext) - Method in class io.a2a.client.AbstractClient
Resubscribe to a task's event stream.

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, ClientCallContext) - Method in class io.a2a.client.AbstractClient
Send a message to the remote agent.
sendMessage(Message, ClientCallContext) - Method in class io.a2a.client.Client
 
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
 
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
 
setAcceptedOutputModes(List<String>) - Method in class io.a2a.client.config.ClientConfig.Builder
 
setHistoryLength(Integer) - Method in class io.a2a.client.config.ClientConfig.Builder
 
setMetadata(Map<String, Object>) - Method in class io.a2a.client.config.ClientConfig.Builder
 
setPolling(Boolean) - Method in class io.a2a.client.config.ClientConfig.Builder
 
setPushNotificationConfig(PushNotificationConfig) - Method in class io.a2a.client.config.ClientConfig.Builder
 
setStreaming(Boolean) - Method in class io.a2a.client.config.ClientConfig.Builder
 
setTaskPushNotificationConfiguration(TaskPushNotificationConfig) - Method in class io.a2a.client.AbstractClient
Set or update the push notification configuration for a specific task.
setTaskPushNotificationConfiguration(TaskPushNotificationConfig, ClientCallContext) - Method in class io.a2a.client.AbstractClient
Set or update the push notification configuration for a specific task.
setTaskPushNotificationConfiguration(TaskPushNotificationConfig, ClientCallContext) - Method in class io.a2a.client.Client
 
setUseClientPreference(Boolean) - Method in class io.a2a.client.config.ClientConfig.Builder
 
streamingErrorHandler(Consumer<Throwable>) - Method in class io.a2a.client.ClientBuilder
 

T

TaskEvent - Class in io.a2a.client
A task event received by a client.
TaskEvent(Task) - Constructor for class io.a2a.client.TaskEvent
A client task event.
TaskUpdateEvent - Class in io.a2a.client
A task update event received by a client.
TaskUpdateEvent(Task, UpdateEvent) - Constructor for class io.a2a.client.TaskUpdateEvent
A task update event.
toAgentMessage(String) - Static method in class io.a2a.A2A
Convert the given text to an agent message.
toAgentMessage(String, String) - Static method in class io.a2a.A2A
Convert the given text to an agent message.
toUserMessage(String) - Static method in class io.a2a.A2A
Convert the given text to a user message.
toUserMessage(String, String) - Static method in class io.a2a.A2A
Convert the given text to a user message.

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
 
withTransport(Class<T>, ClientTransportConfigBuilder<? extends ClientTransportConfig<T>, ?>) - Method in class io.a2a.client.ClientBuilder
 
A B C D G I L M R S T U W 
All Classes and Interfaces|All Packages