Index

A B C D E F G H I J K L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

A2AClientError - Exception in org.a2aproject.sdk.spec
Base exception for A2A client-specific error conditions.
A2AClientError() - Constructor for exception org.a2aproject.sdk.spec.A2AClientError
Constructs a new A2AClientError with no detail message.
A2AClientError(String) - Constructor for exception org.a2aproject.sdk.spec.A2AClientError
Constructs a new A2AClientError with the specified detail message.
A2AClientError(String, Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AClientError
Constructs a new A2AClientError with the specified detail message and cause.
A2AClientException - Exception in org.a2aproject.sdk.spec
Exception indicating a client-side failure in A2A Protocol operations.
A2AClientException() - Constructor for exception org.a2aproject.sdk.spec.A2AClientException
Constructs a new A2AClientException with no detail message or cause.
A2AClientException(String) - Constructor for exception org.a2aproject.sdk.spec.A2AClientException
Constructs a new A2AClientException with the specified detail message.
A2AClientException(String, Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AClientException
Constructs a new A2AClientException with the specified detail message and cause.
A2AClientException(Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AClientException
Constructs a new A2AClientException with the specified cause.
A2AClientHTTPError - Exception in org.a2aproject.sdk.spec
Client exception indicating an HTTP transport error with a specific status code.
A2AClientHTTPError(int, String, String, Map<String, List<String>>) - Constructor for exception org.a2aproject.sdk.spec.A2AClientHTTPError
Creates a new HTTP client error with the specified status code, message, response body, and headers.
A2AClientInvalidArgsError - Exception in org.a2aproject.sdk.spec
Client exception indicating invalid arguments provided to a client operation.
A2AClientInvalidArgsError() - Constructor for exception org.a2aproject.sdk.spec.A2AClientInvalidArgsError
Creates a new invalid arguments error with no message.
A2AClientInvalidArgsError(String) - Constructor for exception org.a2aproject.sdk.spec.A2AClientInvalidArgsError
Creates a new invalid arguments error with the specified message.
A2AClientInvalidArgsError(String, Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AClientInvalidArgsError
Creates a new invalid arguments error with the specified message and cause.
A2AClientInvalidStateError - Exception in org.a2aproject.sdk.spec
Client exception indicating an invalid state for the requested operation.
A2AClientInvalidStateError() - Constructor for exception org.a2aproject.sdk.spec.A2AClientInvalidStateError
Creates a new invalid state error with no message.
A2AClientInvalidStateError(String) - Constructor for exception org.a2aproject.sdk.spec.A2AClientInvalidStateError
Creates a new invalid state error with the specified message.
A2AClientInvalidStateError(String, Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AClientInvalidStateError
Creates a new invalid state error with the specified message and cause.
A2AClientJSONError - Exception in org.a2aproject.sdk.spec
Client exception indicating a JSON serialization or deserialization error.
A2AClientJSONError() - Constructor for exception org.a2aproject.sdk.spec.A2AClientJSONError
Creates a new JSON error with no message.
A2AClientJSONError(String) - Constructor for exception org.a2aproject.sdk.spec.A2AClientJSONError
Creates a new JSON error with the specified message.
A2AClientJSONError(String, Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AClientJSONError
Creates a new JSON error with the specified message and cause.
A2AError - Exception in org.a2aproject.sdk.spec
Marker interface for A2A Protocol error events.
A2AError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.A2AError
Constructs a JSON-RPC error with the specified code, message, and optional details.
A2AErrorCodes - Enum Class in org.a2aproject.sdk.spec
All the error codes for A2A errors.
A2AException - Exception in org.a2aproject.sdk.spec
Base exception for A2A Protocol-related failures.
A2AException() - Constructor for exception org.a2aproject.sdk.spec.A2AException
Constructs a new A2AException instance.
A2AException(String) - Constructor for exception org.a2aproject.sdk.spec.A2AException
Constructs a new A2AException instance with an initial message.
A2AException(String, Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AException
Constructs a new A2AException instance with an initial message and cause.
A2AException(Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AException
Constructs a new A2AException instance with an initial cause.
A2AMethods - Interface in org.a2aproject.sdk.spec
Constants defining the A2A protocol method names.
A2AProtocolError - Exception in org.a2aproject.sdk.spec
Represents a protocol-level error in the A2A Protocol.
A2AProtocolError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.A2AProtocolError
Constructs a protocol error with the specified code, message, and details.
A2AServerException - Exception in org.a2aproject.sdk.spec
Exception indicating a server-side failure in A2A Protocol operations.
A2AServerException() - Constructor for exception org.a2aproject.sdk.spec.A2AServerException
Creates a new A2AServerException with no message.
A2AServerException(String) - Constructor for exception org.a2aproject.sdk.spec.A2AServerException
Creates a new A2AServerException with the specified message.
A2AServerException(String, Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AServerException
Creates a new A2AServerException with the specified message and cause.
A2AServerException(Throwable) - Constructor for exception org.a2aproject.sdk.spec.A2AServerException
Creates a new A2AServerException with the specified cause.
acceptedOutputModes() - Method in record class org.a2aproject.sdk.spec.MessageSendConfiguration
Returns the value of the acceptedOutputModes record component.
acceptedOutputModes(List<String>) - Method in class org.a2aproject.sdk.spec.MessageSendConfiguration.Builder
Sets the accepted output modes.
addCompat03FieldsIfAvailable(AgentCard.Builder, List<AgentInterface>, String, String) - Static method in class org.a2aproject.sdk.spec.Compat03Fields
 
additionalInterfaces() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the additionalInterfaces record component.
additionalInterfaces(List<Legacy_0_3_AgentInterface>) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
 
AgentCapabilities - Record Class in org.a2aproject.sdk.spec
Defines optional capabilities supported by an agent in the A2A Protocol.
AgentCapabilities(boolean, boolean, boolean, List<AgentExtension>) - Constructor for record class org.a2aproject.sdk.spec.AgentCapabilities
Creates an instance of a AgentCapabilities record class.
AgentCapabilities.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable AgentCapabilities instances.
AgentCard - Record Class in org.a2aproject.sdk.spec
The AgentCard is a self-describing manifest for an agent in the A2A Protocol.
AgentCard(String, String, AgentProvider, String, String, AgentCapabilities, List<String>, List<String>, List<AgentSkill>, Map<String, SecurityScheme>, List<SecurityRequirement>, String, List<AgentInterface>, List<AgentCardSignature>, String, String, List<Legacy_0_3_AgentInterface>) - Constructor for record class org.a2aproject.sdk.spec.AgentCard
Compact constructor that validates required fields.
AgentCard.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable AgentCard instances.
AgentCardSignature - Record Class in org.a2aproject.sdk.spec
Represents a digital signature for an AgentCard using JSON Web Signature (JWS) format.
AgentCardSignature(Map<String, Object>, String, String) - Constructor for record class org.a2aproject.sdk.spec.AgentCardSignature
Compact constructor that validates required fields.
AgentCardSignature.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable AgentCardSignature instances.
AgentExtension - Record Class in org.a2aproject.sdk.spec
Represents a protocol extension supported by an agent.
AgentExtension(String, Map<String, Object>, boolean, String) - Constructor for record class org.a2aproject.sdk.spec.AgentExtension
Compact constructor that validates required fields.
AgentExtension.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable AgentExtension instances.
AgentInterface - Record Class in org.a2aproject.sdk.spec
Declares a combination of a target URL and protocol binding for accessing an agent.
AgentInterface(String, String) - Constructor for record class org.a2aproject.sdk.spec.AgentInterface
Convenience constructor for creating an AgentInterface with default protocol version and no tenant.
AgentInterface(String, String, String, String) - Constructor for record class org.a2aproject.sdk.spec.AgentInterface
Compact constructor that validates required fields.
AgentInterface(String, String, String) - Constructor for record class org.a2aproject.sdk.spec.AgentInterface
Convenience constructor for creating an AgentInterface with specified tenant and default protocol version.
AgentProvider - Record Class in org.a2aproject.sdk.spec
Represents information about the organization or entity providing an agent.
AgentProvider(String, String) - Constructor for record class org.a2aproject.sdk.spec.AgentProvider
Compact constructor that validates required fields.
AgentSkill - Record Class in org.a2aproject.sdk.spec
Represents a distinct skill or capability that an agent can perform in the A2A Protocol.
AgentSkill(String, String, String, List<String>, List<String>, List<String>, List<String>, List<SecurityRequirement>) - Constructor for record class org.a2aproject.sdk.spec.AgentSkill
Compact constructor that validates required fields.
AgentSkill.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable AgentSkill instances.
APIKeySecurityScheme - Record Class in org.a2aproject.sdk.spec
API key security scheme for agent authentication.
APIKeySecurityScheme(APIKeySecurityScheme.Location, String, String) - Constructor for record class org.a2aproject.sdk.spec.APIKeySecurityScheme
Compact constructor with validation.
APIKeySecurityScheme.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable APIKeySecurityScheme instances.
APIKeySecurityScheme.Location - Enum Class in org.a2aproject.sdk.spec
Represents the location of the API key.
append() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Returns the value of the append record component.
append(Boolean) - Method in class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent.Builder
Sets whether this update should append to an existing artifact.
appendArtifactToTask(Task, TaskArtifactUpdateEvent, String) - Static method in class org.a2aproject.sdk.spec.util.Utils
Appends or updates an artifact in a task based on a TaskArtifactUpdateEvent.
artifact() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Returns the value of the artifact record component.
artifact(Artifact) - Method in class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent.Builder
Sets the artifact being updated.
Artifact - Record Class in org.a2aproject.sdk.spec
Represents a file, data structure, or other resource generated by an agent during task execution.
Artifact(String, String, String, List<Part<?>>, Map<String, Object>, List<String>) - Constructor for record class org.a2aproject.sdk.spec.Artifact
Compact constructor that validates required fields.
Artifact.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable Artifact instances.
artifactId() - Method in record class org.a2aproject.sdk.spec.Artifact
Returns the value of the artifactId record component.
artifactId(String) - Method in class org.a2aproject.sdk.spec.Artifact.Builder
Sets the unique identifier for this artifact.
artifacts() - Method in record class org.a2aproject.sdk.spec.Task
Returns the value of the artifacts record component.
artifacts(List<Artifact>) - Method in class org.a2aproject.sdk.spec.Task.Builder
Sets the list of artifacts produced by the agent during task execution.
asString() - Method in enum class org.a2aproject.sdk.spec.APIKeySecurityScheme.Location
Converts this location to its string representation.
asString() - Method in enum class org.a2aproject.sdk.spec.TransportProtocol
Returns the string representation of this transport protocol.
authentication() - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Returns the value of the authentication record component.
authentication(AuthenticationInfo) - Method in class org.a2aproject.sdk.spec.TaskPushNotificationConfig.Builder
Sets complex authentication information.
AuthenticationInfo - Record Class in org.a2aproject.sdk.spec
Authentication information for agent authentication and push notification endpoints.
AuthenticationInfo(String, String) - Constructor for record class org.a2aproject.sdk.spec.AuthenticationInfo
Compact constructor that validates required fields.
authorizationCode() - Method in record class org.a2aproject.sdk.spec.OAuthFlows
Returns the value of the authorizationCode record component.
authorizationCode(AuthorizationCodeOAuthFlow) - Method in class org.a2aproject.sdk.spec.OAuthFlows.Builder
Sets the authorization code flow configuration.
AuthorizationCodeOAuthFlow - Record Class in org.a2aproject.sdk.spec
Configuration for the OAuth 2.0 Authorization Code flow.
AuthorizationCodeOAuthFlow(String, String, Map<String, String>, String, boolean) - Constructor for record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Compact constructor that validates required fields.
authorizationUrl() - Method in record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Returns the value of the authorizationUrl record component.

B

bearerFormat() - Method in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
Returns the value of the bearerFormat record component.
bearerFormat(String) - Method in class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme.Builder
Sets the bearer token format hint.
build() - Method in class org.a2aproject.sdk.spec.AgentCapabilities.Builder
Builds an immutable AgentCapabilities from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Builds an immutable AgentCard from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.AgentCardSignature.Builder
Builds a new immutable AgentCardSignature from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.AgentExtension.Builder
Builds a new immutable AgentExtension from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Builds an immutable AgentSkill from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.APIKeySecurityScheme.Builder
Builds a new immutable APIKeySecurityScheme from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.Artifact.Builder
Builds a new immutable Artifact from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.CancelTaskParams.Builder
Builds the TaskIdParams.
build() - Method in class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams.Builder
Builds a new DeleteTaskPushNotificationConfigParams from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams.Builder
Builds the parameters instance.
build() - Method in class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme.Builder
Builds the HTTPAuthSecurityScheme instance.
build() - Method in class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams.Builder
Builds the ListTaskPushNotificationConfigsParams.
build() - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Builds the ListTasksParams.
build() - Method in class org.a2aproject.sdk.spec.Message.Builder
Builds a new Message from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.MessageSendConfiguration.Builder
build() - Method in class org.a2aproject.sdk.spec.MessageSendParams.Builder
Builds the MessageSendParams.
build() - Method in class org.a2aproject.sdk.spec.OAuth2SecurityScheme.Builder
Builds a new immutable OAuth2SecurityScheme from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.OAuthFlows.Builder
Builds a new immutable OAuthFlows instance.
build() - Method in class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme.Builder
Builds a new immutable OpenIdConnectSecurityScheme from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.SecurityRequirement.Builder
Builds an immutable SecurityRequirement from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.Task.Builder
Builds an immutable Task from the current builder state.
build() - Method in class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent.Builder
Builds the TaskArtifactUpdateEvent.
build() - Method in class org.a2aproject.sdk.spec.TaskIdParams.Builder
Builds the TaskIdParams.
build() - Method in class org.a2aproject.sdk.spec.TaskPushNotificationConfig.Builder
build() - Method in class org.a2aproject.sdk.spec.TaskQueryParams.Builder
Builds the TaskQueryParams.
build() - Method in class org.a2aproject.sdk.spec.TaskStatusUpdateEvent.Builder
Builds the TaskStatusUpdateEvent.
buildBaseUrl(String, String) - Static method in class org.a2aproject.sdk.spec.util.Utils
Builds a base URL by combining a raw base URL string with an optional tenant path.
buildBaseUrl(AgentInterface, String) - Static method in class org.a2aproject.sdk.spec.util.Utils
Builds a base URL for A2A operations by combining the agent's URL with a tenant path.
buildCardUrl(String, String) - Static method in class org.a2aproject.sdk.spec.util.Utils
Normalizes baseUrl and cardPath and concatenates them into a full card URL.
builder() - Static method in record class org.a2aproject.sdk.spec.AgentCapabilities
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.AgentCard
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.AgentCardSignature
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.AgentExtension
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.AgentSkill
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.Artifact
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.CancelTaskParams
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.ListTasksParams
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.Message
Creates a new Builder for constructing Message instances.
builder() - Static method in record class org.a2aproject.sdk.spec.MessageSendConfiguration
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.MessageSendParams
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.OAuthFlows
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.SecurityRequirement
Creates a new Builder for constructing SecurityRequirement instances.
builder() - Static method in record class org.a2aproject.sdk.spec.Task
Creates a new Builder for constructing Task instances.
builder() - Static method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Creates a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.TaskIdParams
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.TaskQueryParams
Create a new Builder
builder() - Static method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Create a new Builder
builder(AgentCard) - Static method in record class org.a2aproject.sdk.spec.AgentCard
Create a new Builder initialized with values from an existing AgentCard.
builder(Artifact) - Static method in record class org.a2aproject.sdk.spec.Artifact
Create a new Builder initialized with values from an existing Artifact.
builder(Message) - Static method in record class org.a2aproject.sdk.spec.Message
Creates a new Builder initialized with values from an existing Message.
builder(Task) - Static method in record class org.a2aproject.sdk.spec.Task
Creates a new Builder initialized with values from an existing Task.
builder(TaskArtifactUpdateEvent) - Static method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Creates a new Builder initialized with values from an existing TaskArtifactUpdateEvent.
builder(TaskPushNotificationConfig) - Static method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Create a new Builder initialized with values from an existing TaskPushNotificationConfig.
builder(TaskStatusUpdateEvent) - Static method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Create a new Builder initialized with values from an existing TaskStatusUpdateEvent.
bytes() - Method in class org.a2aproject.sdk.spec.FileWithBytes
Returns the base64-encoded file content.

C

CANCEL_TASK_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for canceling a task.
CancelTaskParams - Record Class in org.a2aproject.sdk.spec
Parameters for cancelling a task.
CancelTaskParams(String) - Constructor for record class org.a2aproject.sdk.spec.CancelTaskParams
Convenience constructor with default tenant.
CancelTaskParams(String, String, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.CancelTaskParams
Compact constructor for validation.
CancelTaskParams.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing instances.
capabilities() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the capabilities record component.
capabilities(AgentCapabilities) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the capabilities supported by this agent.
clientCredentials() - Method in record class org.a2aproject.sdk.spec.OAuthFlows
Returns the value of the clientCredentials record component.
clientCredentials(ClientCredentialsOAuthFlow) - Method in class org.a2aproject.sdk.spec.OAuthFlows.Builder
Sets the client credentials flow configuration.
ClientCredentialsOAuthFlow - Record Class in org.a2aproject.sdk.spec
Configuration for the OAuth 2.0 Client Credentials flow.
ClientCredentialsOAuthFlow(String, Map<String, String>, String) - Constructor for record class org.a2aproject.sdk.spec.ClientCredentialsOAuthFlow
Compact constructor that validates required fields.
code() - Method in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Returns the JSON-RPC error code.
CollectionCopies - Class in org.a2aproject.sdk.spec.util
Utility methods for creating defensive copies of collection fields.
Compat03Fields - Class in org.a2aproject.sdk.spec
 
configs() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Returns the value of the configs record component.
configuration() - Method in record class org.a2aproject.sdk.spec.MessageSendParams
Returns the value of the configuration record component.
configuration(MessageSendConfiguration) - Method in class org.a2aproject.sdk.spec.MessageSendParams.Builder
Sets the optional configuration for message processing.
CONTENT_TYPE_NOT_SUPPORTED - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating the content type is not supported (-32005).
ContentTypeNotSupportedError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating incompatibility between requested content types and agent capabilities.
ContentTypeNotSupportedError() - Constructor for exception org.a2aproject.sdk.spec.ContentTypeNotSupportedError
 
ContentTypeNotSupportedError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.ContentTypeNotSupportedError
Constructs a content type not supported error.
contextId() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the value of the contextId record component.
contextId() - Method in record class org.a2aproject.sdk.spec.Message
Returns the value of the contextId record component.
contextId() - Method in record class org.a2aproject.sdk.spec.Task
Returns the value of the contextId record component.
contextId() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Returns the value of the contextId record component.
contextId() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Returns the value of the contextId record component.
contextId(String) - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Sets the contextId.
contextId(String) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets the conversation context identifier.
contextId(String) - Method in class org.a2aproject.sdk.spec.Task.Builder
Sets the context identifier associating this task with a conversation or session.
contextId(String) - Method in class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent.Builder
Sets the context identifier.
contextId(String) - Method in class org.a2aproject.sdk.spec.TaskStatusUpdateEvent.Builder
Sets the context identifier.
COOKIE - Enum constant in enum class org.a2aproject.sdk.spec.APIKeySecurityScheme.Location
API key sent in a cookie.
credentials() - Method in record class org.a2aproject.sdk.spec.AuthenticationInfo
Returns the value of the credentials record component.
CURRENT_PROTOCOL_VERSION - Static variable in record class org.a2aproject.sdk.spec.AgentInterface
The default A2A Protocol version used when not explicitly specified.

D

data() - Method in record class org.a2aproject.sdk.spec.DataPart
Returns the value of the data record component.
DATA - Static variable in record class org.a2aproject.sdk.spec.DataPart
The JSON member name discriminator for data parts: "data".
DataPart - Record Class in org.a2aproject.sdk.spec
Represents a structured data content part within a Message or Artifact.
DataPart(Object) - Constructor for record class org.a2aproject.sdk.spec.DataPart
Constructor.
DataPart(Object, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.DataPart
Compact constructor with validation.
DEFAULT_AGENT_CARD_PATH - Static variable in class org.a2aproject.sdk.spec.util.Utils
 
defaultIfNull(T, T) - Static method in class org.a2aproject.sdk.spec.util.Utils
Returns the provided value if non-null, otherwise returns the default value.
defaultInputModes() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the defaultInputModes record component.
defaultInputModes(List<String>) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the list of supported input modes.
defaultOutputModes() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the defaultOutputModes record component.
defaultOutputModes(List<String>) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the list of supported output modes.
DELETE_TASK_PUSH_NOTIFICATION_CONFIG_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for deleting task push notification configuration.
DeleteTaskPushNotificationConfigParams - Record Class in org.a2aproject.sdk.spec
Parameters for deleting a push notification configuration from a task.
DeleteTaskPushNotificationConfigParams(String, String) - Constructor for record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Creates parameters without optional metadata.
DeleteTaskPushNotificationConfigParams(String, String, String) - Constructor for record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Compact constructor that validates required fields.
DeleteTaskPushNotificationConfigParams.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing DeleteTaskPushNotificationConfigParams instances.
description() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the description record component.
description() - Method in record class org.a2aproject.sdk.spec.AgentExtension
Returns the value of the description record component.
description() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns the value of the description record component.
description() - Method in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
Returns the value of the description record component.
description() - Method in record class org.a2aproject.sdk.spec.Artifact
Returns the value of the description record component.
description() - Method in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
Returns the value of the description record component.
description() - Method in record class org.a2aproject.sdk.spec.MutualTLSSecurityScheme
Returns the value of the description record component.
description() - Method in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
Returns the value of the description record component.
description() - Method in record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
Returns the value of the description record component.
description() - Method in interface org.a2aproject.sdk.spec.SecurityScheme
Returns the human-readable description of this security scheme.
description(String) - Method in class org.a2aproject.sdk.spec.Artifact.Builder
Sets a brief description of the artifact's purpose or content.
description(String) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets a brief description of the agent's purpose and functionality.
description(String) - Method in class org.a2aproject.sdk.spec.AgentExtension.Builder
Sets a human-readable description of the extension's purpose.
description(String) - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Sets a detailed description of what the skill does and how to use it.
description(String) - Method in class org.a2aproject.sdk.spec.APIKeySecurityScheme.Builder
Sets the human-readable description of the security scheme.
description(String) - Method in class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme.Builder
Sets an optional description of the security scheme.
description(String) - Method in class org.a2aproject.sdk.spec.OAuth2SecurityScheme.Builder
Sets the human-readable description of the security scheme.
description(String) - Method in class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme.Builder
Sets the human-readable description of the security scheme.
deviceAuthorizationUrl() - Method in record class org.a2aproject.sdk.spec.DeviceCodeOAuthFlow
Returns the value of the deviceAuthorizationUrl record component.
deviceCode() - Method in record class org.a2aproject.sdk.spec.OAuthFlows
Returns the value of the deviceCode record component.
deviceCode(DeviceCodeOAuthFlow) - Method in class org.a2aproject.sdk.spec.OAuthFlows.Builder
Sets the device code flow configuration.
DeviceCodeOAuthFlow - Record Class in org.a2aproject.sdk.spec
Configuration details for the OAuth 2.0 Device Code flow (RFC 8628).
DeviceCodeOAuthFlow(String, String, String, Map<String, String>) - Constructor for record class org.a2aproject.sdk.spec.DeviceCodeOAuthFlow
Compact constructor that validates required fields.
documentationUrl() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the documentationUrl record component.
documentationUrl(String) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the URL to human-readable documentation for the agent.
domain() - Method in record class org.a2aproject.sdk.spec.util.ErrorDetail
Returns the value of the domain record component.

E

equals(Object) - Method in record class org.a2aproject.sdk.spec.AgentCapabilities
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.AgentCard
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.AgentCardSignature
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.AgentExtension
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.AgentInterface
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.AgentProvider
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.AgentSkill
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.Artifact
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.AuthenticationInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.CancelTaskParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.ClientCredentialsOAuthFlow
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.DataPart
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.DeviceCodeOAuthFlow
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.FilePart
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.a2aproject.sdk.spec.FileWithBytes
Compares this FileWithBytes to another object for equality.
equals(Object) - Method in record class org.a2aproject.sdk.spec.FileWithUri
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.GetExtendedAgentCardParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.Legacy_0_3_AgentInterface
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.Message
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.MessageSendConfiguration
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.MessageSendParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.MutualTLSSecurityScheme
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.OAuthFlows
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.SecurityRequirement
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.Task
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.TaskIdParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.TaskQueryParams
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.TaskStatus
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.TextPart
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.util.ErrorDetail
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.a2aproject.sdk.spec.util.PageToken
Indicates whether some other object is "equal to" this one.
ERROR_DOMAIN - Static variable in record class org.a2aproject.sdk.spec.util.ErrorDetail
 
ERROR_INFO_TYPE - Static variable in record class org.a2aproject.sdk.spec.util.ErrorDetail
 
ErrorDetail - Record Class in org.a2aproject.sdk.spec.util
Represents a single entry in the JSON-RPC error.data array, following the Google ErrorInfo format (type.googleapis.com/google.rpc.ErrorInfo).
ErrorDetail(String, String, String, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.util.ErrorDetail
Creates an instance of a ErrorDetail record class.
Event - Interface in org.a2aproject.sdk.spec
Marker interface for all event types in the A2A Protocol.
EventKind - Interface in org.a2aproject.sdk.spec
Interface for events that can be returned from non-streaming A2A Protocol operations.
examples() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns the value of the examples record component.
examples(List<String>) - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Sets example queries or use cases demonstrating the skill.
EXTENDED_AGENT_CARD_NOT_CONFIGURED - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating extended agent card is not configured (-32007).
extendedAgentCard() - Method in record class org.a2aproject.sdk.spec.AgentCapabilities
Returns the value of the extendedAgentCard record component.
extendedAgentCard(boolean) - Method in class org.a2aproject.sdk.spec.AgentCapabilities.Builder
Sets whether the agent supports an extended agent card.
ExtendedAgentCardNotConfiguredError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating that the agent does not have an authenticated extended card configured.
ExtendedAgentCardNotConfiguredError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.ExtendedAgentCardNotConfiguredError
Constructs an error for agents that don't support authenticated extended card retrieval.
EXTENSION_SUPPORT_REQUIRED - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating client requested use of an extension marked as required: true in the Agent Card but the client did not declare support for it in the request (-32008).
extensions() - Method in record class org.a2aproject.sdk.spec.AgentCapabilities
Returns the value of the extensions record component.
extensions() - Method in record class org.a2aproject.sdk.spec.Artifact
Returns the value of the extensions record component.
extensions() - Method in record class org.a2aproject.sdk.spec.Message
Returns the value of the extensions record component.
extensions(List<String>) - Method in class org.a2aproject.sdk.spec.Artifact.Builder
Sets the list of protocol extensions used in this artifact.
extensions(List<String>) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets the list of protocol extensions used in this message.
extensions(List<AgentExtension>) - Method in class org.a2aproject.sdk.spec.AgentCapabilities.Builder
Sets the list of custom extensions supported by the agent.
ExtensionSupportRequiredError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating that a client requested use of an extension marked as required but did not declare support for it.
ExtensionSupportRequiredError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.ExtensionSupportRequiredError
Constructs an error when a client requests a required extension without declaring support.

F

file() - Method in record class org.a2aproject.sdk.spec.FilePart
Returns the value of the file record component.
FILE - Static variable in record class org.a2aproject.sdk.spec.FilePart
The JSON member name discriminator for file parts: "file".
FileContent - Interface in org.a2aproject.sdk.spec
Sealed interface representing file content in the A2A Protocol.
FilePart - Record Class in org.a2aproject.sdk.spec
Represents a file content part within a Message or Artifact.
FilePart(FileContent) - Constructor for record class org.a2aproject.sdk.spec.FilePart
Constructor.
FilePart(FileContent, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.FilePart
Compact constructor with validation.
FileWithBytes - Class in org.a2aproject.sdk.spec
Represents file content embedded directly as base64-encoded bytes.
FileWithBytes(String, File) - Constructor for class org.a2aproject.sdk.spec.FileWithBytes
Creates a FileWithBytes by reading the content of the given File.
FileWithBytes(String, String, byte[]) - Constructor for class org.a2aproject.sdk.spec.FileWithBytes
Creates a FileWithBytes by base64-encoding the given raw byte array.
FileWithBytes(String, String, String) - Constructor for class org.a2aproject.sdk.spec.FileWithBytes
Creates a FileWithBytes with pre-encoded base64 content.
FileWithBytes(String, Path) - Constructor for class org.a2aproject.sdk.spec.FileWithBytes
Creates a FileWithBytes by reading the content of the given Path.
FileWithUri - Record Class in org.a2aproject.sdk.spec
Represents file content referenced by a URI location.
FileWithUri(String, String, String) - Constructor for record class org.a2aproject.sdk.spec.FileWithUri
Creates an instance of a FileWithUri record class.
flows() - Method in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
Returns the value of the flows record component.
flows(OAuthFlows) - Method in class org.a2aproject.sdk.spec.OAuth2SecurityScheme.Builder
Sets the OAuth flows configuration.
fromCode(int) - Static method in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Looks up an error code enum constant by its JSON-RPC numeric code.
fromJson(String) - Static method in record class org.a2aproject.sdk.spec.DataPart
Creates a DataPart by parsing a JSON string into its corresponding Java type.
fromJson(String, Map<String, Object>) - Static method in record class org.a2aproject.sdk.spec.DataPart
Creates a DataPart by parsing a JSON string into its corresponding Java type, with optional metadata.
fromString(String) - Static method in record class org.a2aproject.sdk.spec.util.PageToken
Parses a pageToken string into a PageToken record.
fromString(String) - Static method in enum class org.a2aproject.sdk.spec.APIKeySecurityScheme.Location
Converts a string to a Location enum value.
fromString(String) - Static method in enum class org.a2aproject.sdk.spec.TransportProtocol
Parses a string into a TransportProtocol enum constant.

G

GET_EXTENDED_AGENT_CARD_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for getting extended agent card information.
GET_TASK_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for getting a task.
GET_TASK_PUSH_NOTIFICATION_CONFIG_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for getting task push notification configuration.
getCode() - Method in exception org.a2aproject.sdk.spec.A2AClientHTTPError
Gets the HTTP status code.
getCode() - Method in exception org.a2aproject.sdk.spec.A2AError
Gets the numeric error code indicating the error type.
getDetails() - Method in exception org.a2aproject.sdk.spec.A2AError
Gets additional details about the error as key-value pairs.
getEffectiveHistoryLength() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the effective history length (defaults to 0 if not specified).
getEffectivePageSize() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Validates and returns the effective page size (between 1 and 100, defaults to 100).
getEffectivePageSize() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the effective page size (defaults to 50 if not specified).
GetExtendedAgentCardParams - Record Class in org.a2aproject.sdk.spec
Parameters to get the extended agent card.
GetExtendedAgentCardParams(String) - Constructor for record class org.a2aproject.sdk.spec.GetExtendedAgentCardParams
Creates an instance of a GetExtendedAgentCardParams record class.
getFavoriteInterface(AgentCard) - Static method in class org.a2aproject.sdk.spec.util.Utils
Get the first defined URL in the supported interaces of the agent card.
getMessage() - Method in exception org.a2aproject.sdk.spec.A2AClientHTTPError
Gets the error message.
getResponseBody() - Method in exception org.a2aproject.sdk.spec.A2AClientHTTPError
Returns the raw HTTP response body, if available.
getResponseHeaders() - Method in exception org.a2aproject.sdk.spec.A2AClientHTTPError
Returns the HTTP response headers.
GetTaskPushNotificationConfigParams - Record Class in org.a2aproject.sdk.spec
Parameters for retrieving push notification configuration for a specific task.
GetTaskPushNotificationConfigParams(String, String) - Constructor for record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Convenience constructor for creating parameters without tenant.
GetTaskPushNotificationConfigParams(String, String, String) - Constructor for record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Compact constructor that validates required fields.
GetTaskPushNotificationConfigParams.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing GetTaskPushNotificationConfigParams instances.
GRPC - Enum constant in enum class org.a2aproject.sdk.spec.TransportProtocol
gRPC binary transport protocol.
grpcStatus() - Method in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Returns the corresponding gRPC status name.

H

hashCode() - Method in record class org.a2aproject.sdk.spec.AgentCapabilities
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.AgentCardSignature
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.AgentExtension
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.AgentInterface
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.AgentProvider
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.Artifact
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.AuthenticationInfo
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.CancelTaskParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.ClientCredentialsOAuthFlow
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.DataPart
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.DeviceCodeOAuthFlow
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.FilePart
Returns a hash code value for this object.
hashCode() - Method in class org.a2aproject.sdk.spec.FileWithBytes
Returns the identity hash code for this FileWithBytes.
hashCode() - Method in record class org.a2aproject.sdk.spec.FileWithUri
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.GetExtendedAgentCardParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.Legacy_0_3_AgentInterface
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.Message
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.MessageSendConfiguration
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.MessageSendParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.MutualTLSSecurityScheme
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.OAuthFlows
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.SecurityRequirement
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.Task
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.TaskIdParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.TaskQueryParams
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.TaskStatus
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.TextPart
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.util.ErrorDetail
Returns a hash code value for this object.
hashCode() - Method in record class org.a2aproject.sdk.spec.util.PageToken
Returns a hash code value for this object.
hasMoreResults() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Returns whether there are more results available.
header() - Method in record class org.a2aproject.sdk.spec.AgentCardSignature
Returns the value of the header record component.
header(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.AgentCardSignature.Builder
Sets the optional unprotected header with additional metadata.
HEADER - Enum constant in enum class org.a2aproject.sdk.spec.APIKeySecurityScheme.Location
API key sent in an HTTP header.
history() - Method in record class org.a2aproject.sdk.spec.Task
Returns the value of the history record component.
history(List<Message>) - Method in class org.a2aproject.sdk.spec.Task.Builder
Sets the conversation history for this task.
history(Message...) - Method in class org.a2aproject.sdk.spec.Task.Builder
Sets the conversation history using a varargs array of messages.
historyLength() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the value of the historyLength record component.
historyLength() - Method in record class org.a2aproject.sdk.spec.MessageSendConfiguration
Returns the value of the historyLength record component.
historyLength() - Method in record class org.a2aproject.sdk.spec.TaskQueryParams
Returns the value of the historyLength record component.
historyLength(Integer) - Method in class org.a2aproject.sdk.spec.MessageSendConfiguration.Builder
Sets the conversation history length.
historyLength(Integer) - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Sets the historyLength.
historyLength(Integer) - Method in class org.a2aproject.sdk.spec.TaskQueryParams.Builder
Sets the historyLength.
HTTP_JSON - Enum constant in enum class org.a2aproject.sdk.spec.TransportProtocol
HTTP+JSON RESTful transport protocol.
HTTPAuthSecurityScheme - Record Class in org.a2aproject.sdk.spec
HTTP authentication security scheme for agent authentication.
HTTPAuthSecurityScheme(String, String, String) - Constructor for record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
Compact constructor with validation.
HTTPAuthSecurityScheme.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing HTTPAuthSecurityScheme instances.
httpCode() - Method in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Returns the HTTP status code.

I

iconUrl() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the iconUrl record component.
iconUrl(String) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the URL to an icon representing the agent.
id() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.CancelTaskParams
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.Task
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.TaskIdParams
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.TaskQueryParams
Returns the value of the id record component.
id() - Method in record class org.a2aproject.sdk.spec.util.PageToken
Returns the value of the id record component.
id(String) - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Sets the unique identifier for the skill.
id(String) - Method in class org.a2aproject.sdk.spec.CancelTaskParams.Builder
Sets the id.
id(String) - Method in class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams.Builder
Sets the push notification configuration ID to delete.
id(String) - Method in class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams.Builder
Sets the push notification configuration ID.
id(String) - Method in class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams.Builder
Sets the id.
id(String) - Method in class org.a2aproject.sdk.spec.Task.Builder
Sets the unique identifier for this task.
id(String) - Method in class org.a2aproject.sdk.spec.TaskIdParams.Builder
Sets the id.
id(String) - Method in class org.a2aproject.sdk.spec.TaskPushNotificationConfig.Builder
Sets the configuration identifier.
id(String) - Method in class org.a2aproject.sdk.spec.TaskQueryParams.Builder
Sets the id.
immutableList(List<E>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates an immutable defensive copy of a non-null list.
immutableListOrEmpty(List<E>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates an immutable defensive copy of a nullable list, defaulting to an empty immutable list.
immutableMap(Map<K, V>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates an immutable defensive copy of a non-null map.
immutableNullableList(List<E>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates an immutable defensive copy of a nullable list.
immutableNullableMap(Map<K, V>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates an immutable defensive copy of a nullable map.
includeArtifacts() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the value of the includeArtifacts record component.
includeArtifacts(Boolean) - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Sets the includeArtifacts.
inputModes() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns the value of the inputModes record component.
inputModes(List<String>) - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Sets the supported input formats for this skill.
INTERNAL - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
JSON-RPC error code for internal server errors (-32603).
InternalError - Exception in org.a2aproject.sdk.spec
JSON-RPC error indicating an internal error occurred on the server.
InternalError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.InternalError
Constructs an internal error with full parameters.
InternalError(String) - Constructor for exception org.a2aproject.sdk.spec.InternalError
Constructs an internal error with a message.
INVALID_AGENT_RESPONSE - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating the agent returned an invalid response (-32006).
INVALID_PARAMS - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
JSON-RPC error code for invalid method parameters (-32602).
INVALID_REQUEST - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
JSON-RPC error code for invalid request structure (-32600).
InvalidAgentResponseError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating that an agent returned a response not conforming to protocol specifications.
InvalidAgentResponseError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.InvalidAgentResponseError
Constructs an invalid agent response error.
InvalidParamsError - Exception in org.a2aproject.sdk.spec
JSON-RPC error indicating that method parameters are invalid or missing required fields.
InvalidParamsError() - Constructor for exception org.a2aproject.sdk.spec.InvalidParamsError
Constructs an invalid params error with default message.
InvalidParamsError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.InvalidParamsError
Constructs an invalid params error with full parameters.
InvalidParamsError(String) - Constructor for exception org.a2aproject.sdk.spec.InvalidParamsError
Constructs an invalid params error with a message.
InvalidRequestError - Exception in org.a2aproject.sdk.spec
JSON-RPC error indicating that the request payload is not a valid JSON-RPC Request object.
InvalidRequestError() - Constructor for exception org.a2aproject.sdk.spec.InvalidRequestError
Constructs an invalid request error with default message.
InvalidRequestError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.InvalidRequestError
Constructs an invalid request error with full parameters.
InvalidRequestError(String) - Constructor for exception org.a2aproject.sdk.spec.InvalidRequestError
Constructs an invalid request error with a message.
isEmpty() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Return if the configs is empty or not.
isFinal() - Method in enum class org.a2aproject.sdk.spec.TaskState
Determines whether this state is a terminal (final) state.
isFinal() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Indicates if this is a final status event, derived from the task state.
isFinalOrInterrupted() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Indicates if the task is final or waiting for some inputs from the client.
isInterrupted() - Method in enum class org.a2aproject.sdk.spec.TaskState
Determines whether this state is an interrupted state.

J

JSON_PARSE - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
JSON-RPC error code for JSON parsing errors (-32700).
JSONParseError - Exception in org.a2aproject.sdk.spec
JSON-RPC error indicating that the server received invalid JSON that could not be parsed.
JSONParseError() - Constructor for exception org.a2aproject.sdk.spec.JSONParseError
Constructs a JSON parse error with default message.
JSONParseError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.JSONParseError
Constructs a JSON parse error with full parameters.
JSONParseError(String) - Constructor for exception org.a2aproject.sdk.spec.JSONParseError
Constructs a JSON parse error with a message.
JSONRPC - Enum constant in enum class org.a2aproject.sdk.spec.TransportProtocol
JSON-RPC 2.0 transport protocol over HTTP.

K

kind() - Method in interface org.a2aproject.sdk.spec.EventKind
Returns the type identifier for this event.
kind() - Method in record class org.a2aproject.sdk.spec.Message
 
kind() - Method in interface org.a2aproject.sdk.spec.StreamingEventKind
Returns the type identifier for this streaming event.
kind() - Method in record class org.a2aproject.sdk.spec.Task
 
kind() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
 
kind() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
 

L

lastChunk() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Returns the value of the lastChunk record component.
lastChunk(Boolean) - Method in class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent.Builder
Sets whether this is the final chunk for the artifact.
Legacy_0_3_AgentInterface - Record Class in org.a2aproject.sdk.spec
A legacy (v0.3) representation of an agent interface, using the v0.3 field names (transport and url) for backward compatibility with older clients.
Legacy_0_3_AgentInterface(String, String) - Constructor for record class org.a2aproject.sdk.spec.Legacy_0_3_AgentInterface
Creates an instance of a Legacy_0_3_AgentInterface record class.
LIST_TASK_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for listing tasks.
LIST_TASK_PUSH_NOTIFICATION_CONFIG_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for listing task push notification configurations.
ListTaskPushNotificationConfigsParams - Record Class in org.a2aproject.sdk.spec
Parameters for listing all push notification configurations for a task.
ListTaskPushNotificationConfigsParams(String) - Constructor for record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Convenience constructor with default tenant.
ListTaskPushNotificationConfigsParams(String, int, String, String) - Constructor for record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Compact constructor for validation.
ListTaskPushNotificationConfigsParams.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing instances.
ListTaskPushNotificationConfigsResult - Record Class in org.a2aproject.sdk.spec
Result of listing push notification configurations for a task with pagination support.
ListTaskPushNotificationConfigsResult(List<TaskPushNotificationConfig>) - Constructor for record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Constructor for results without pagination.
ListTaskPushNotificationConfigsResult(List<TaskPushNotificationConfig>, String) - Constructor for record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Compact constructor for validation.
ListTasksParams - Record Class in org.a2aproject.sdk.spec
Parameters for listing tasks with optional filtering and pagination.
ListTasksParams() - Constructor for record class org.a2aproject.sdk.spec.ListTasksParams
Default constructor for listing all tasks.
ListTasksParams(String, TaskState, Integer, String, Integer, Instant, Boolean, String) - Constructor for record class org.a2aproject.sdk.spec.ListTasksParams
Compact constructor for validation.
ListTasksParams(Integer, String) - Constructor for record class org.a2aproject.sdk.spec.ListTasksParams
Constructor with pagination.
ListTasksParams.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing instances.
location() - Method in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
Returns the value of the location record component.
location(APIKeySecurityScheme.Location) - Method in class org.a2aproject.sdk.spec.APIKeySecurityScheme.Builder
Sets the location where the API key should be sent.

M

message() - Method in record class org.a2aproject.sdk.spec.MessageSendParams
Returns the value of the message record component.
message() - Method in record class org.a2aproject.sdk.spec.TaskStatus
Returns the value of the message record component.
message(Message) - Method in class org.a2aproject.sdk.spec.MessageSendParams.Builder
Sets the message to send to the agent.
Message - Record Class in org.a2aproject.sdk.spec
Represents a single message in the conversation between a user and an agent in the A2A Protocol.
Message(Message.Role, List<Part<?>>, String, String, String, List<String>, Map<String, Object>, List<String>) - Constructor for record class org.a2aproject.sdk.spec.Message
Compact constructor with validation and defensive copying.
Message.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing Message instances with fluent API.
Message.Role - Enum Class in org.a2aproject.sdk.spec
Defines the role of the message sender in the conversation.
messageId() - Method in record class org.a2aproject.sdk.spec.Message
Returns the value of the messageId record component.
messageId(String) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets the unique identifier for this message.
MessageSendConfiguration - Record Class in org.a2aproject.sdk.spec
Configuration options for message/send and message/stream requests.
MessageSendConfiguration(List<String>, Integer, TaskPushNotificationConfig, Boolean) - Constructor for record class org.a2aproject.sdk.spec.MessageSendConfiguration
Compact constructor for validation.
MessageSendConfiguration.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing MessageSendConfiguration instances.
MessageSendParams - Record Class in org.a2aproject.sdk.spec
Parameters for sending a message to an agent in the A2A Protocol.
MessageSendParams(Message, MessageSendConfiguration, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.MessageSendParams
Convenience constructor with default tenant.
MessageSendParams(Message, MessageSendConfiguration, Map<String, Object>, String) - Constructor for record class org.a2aproject.sdk.spec.MessageSendParams
Compact constructor for validation.
MessageSendParams.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing MessageSendParams instances.
metadata() - Method in record class org.a2aproject.sdk.spec.Artifact
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.CancelTaskParams
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.DataPart
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.FilePart
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.Message
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.MessageSendParams
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.Task
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.TextPart
Returns the value of the metadata record component.
metadata() - Method in record class org.a2aproject.sdk.spec.util.ErrorDetail
Returns the value of the metadata record component.
metadata(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.Artifact.Builder
Sets additional metadata for the artifact.
metadata(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets additional metadata for the message.
metadata(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.MessageSendParams.Builder
Sets optional metadata for the request.
metadata(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.CancelTaskParams.Builder
Sets optional metadata for the request.
metadata(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.Task.Builder
Sets arbitrary metadata associated with the task.
metadata(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent.Builder
Sets the metadata for this event.
metadata(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.TaskStatusUpdateEvent.Builder
Sets the metadata.
METHOD_NOT_FOUND - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
JSON-RPC error code for method not found (-32601).
MethodNotFoundError - Exception in org.a2aproject.sdk.spec
JSON-RPC error indicating that the requested method does not exist or is not available.
MethodNotFoundError() - Constructor for exception org.a2aproject.sdk.spec.MethodNotFoundError
Constructs error with default message.
MethodNotFoundError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.MethodNotFoundError
Constructs error with all parameters.
mimeType() - Method in interface org.a2aproject.sdk.spec.FileContent
Returns the MIME type of the file content.
mimeType() - Method in class org.a2aproject.sdk.spec.FileWithBytes
 
mimeType() - Method in record class org.a2aproject.sdk.spec.FileWithUri
Returns the value of the mimeType record component.
mutableListCopyOrEmpty(List<E>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates a mutable defensive copy of a nullable list.
mutableMapCopyOrEmpty(Map<K, V>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates a mutable defensive copy of a nullable map.
MutualTLSSecurityScheme - Record Class in org.a2aproject.sdk.spec
Mutual TLS (mTLS) security scheme for agent authentication.
MutualTLSSecurityScheme(String) - Constructor for record class org.a2aproject.sdk.spec.MutualTLSSecurityScheme
Creates an instance of a MutualTLSSecurityScheme record class.

N

name() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the name record component.
name() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns the value of the name record component.
name() - Method in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
Returns the value of the name record component.
name() - Method in record class org.a2aproject.sdk.spec.Artifact
Returns the value of the name record component.
name() - Method in interface org.a2aproject.sdk.spec.FileContent
Returns the file name.
name() - Method in class org.a2aproject.sdk.spec.FileWithBytes
 
name() - Method in record class org.a2aproject.sdk.spec.FileWithUri
Returns the value of the name record component.
name(String) - Method in class org.a2aproject.sdk.spec.Artifact.Builder
Sets the human-readable name of the artifact.
name(String) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the human-readable name of the agent.
name(String) - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Sets the human-readable name of the skill.
name(String) - Method in class org.a2aproject.sdk.spec.APIKeySecurityScheme.Builder
Sets the name of the API key parameter.
nextPageToken() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Returns the value of the nextPageToken record component.

O

oauth2MetadataUrl() - Method in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
Returns the value of the oauth2MetadataUrl record component.
oauth2MetadataUrl(String) - Method in class org.a2aproject.sdk.spec.OAuth2SecurityScheme.Builder
Sets the OAuth 2.0 metadata URL.
OAuth2SecurityScheme - Record Class in org.a2aproject.sdk.spec
OAuth 2.0 security scheme for agent authentication.
OAuth2SecurityScheme(OAuthFlows, String, String) - Constructor for record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
Compact constructor with validation.
OAuth2SecurityScheme.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable OAuth2SecurityScheme instances.
OAuthFlows - Record Class in org.a2aproject.sdk.spec
Configuration for supported OAuth 2.0 authorization flows.
OAuthFlows(AuthorizationCodeOAuthFlow, ClientCredentialsOAuthFlow, DeviceCodeOAuthFlow) - Constructor for record class org.a2aproject.sdk.spec.OAuthFlows
Creates an instance of a OAuthFlows record class.
OAuthFlows.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing OAuthFlows instances.
of(String, Map<String, Object>) - Static method in record class org.a2aproject.sdk.spec.util.ErrorDetail
Convenience factory using the standard A2A ErrorInfo type and domain.
OpenIdConnectSecurityScheme - Record Class in org.a2aproject.sdk.spec
OpenID Connect security scheme for agent authentication.
OpenIdConnectSecurityScheme(String, String) - Constructor for record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
Compact constructor with validation.
OpenIdConnectSecurityScheme.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable OpenIdConnectSecurityScheme instances.
openIdConnectUrl() - Method in record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
Returns the value of the openIdConnectUrl record component.
openIdConnectUrl(String) - Method in class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme.Builder
Sets the OpenID Connect Discovery URL.
org.a2aproject.sdk.spec - package org.a2aproject.sdk.spec
JSON processing exceptions for the A2A Java SDK.
org.a2aproject.sdk.spec.util - package org.a2aproject.sdk.spec.util
Utility classes and helpers for the A2A Java SDK.
organization() - Method in record class org.a2aproject.sdk.spec.AgentProvider
Returns the value of the organization record component.
outputModes() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns the value of the outputModes record component.
outputModes(List<String>) - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Sets the supported output formats for this skill.

P

pageSize() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Returns the value of the pageSize record component.
pageSize() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the value of the pageSize record component.
pageSize(Integer) - Method in class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams.Builder
Sets the pageSize.
pageSize(Integer) - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Sets the pageSize.
pageToken() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Returns the value of the pageToken record component.
pageToken() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the value of the pageToken record component.
pageToken(String) - Method in class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams.Builder
Sets the pageToken.
pageToken(String) - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Sets the pageToken.
PageToken - Record Class in org.a2aproject.sdk.spec.util
Represents a pagination token for keyset-based pagination.
PageToken(Instant, String) - Constructor for record class org.a2aproject.sdk.spec.util.PageToken
Creates an instance of a PageToken record class.
params() - Method in record class org.a2aproject.sdk.spec.AgentExtension
Returns the value of the params record component.
params(Map<String, Object>) - Method in class org.a2aproject.sdk.spec.AgentExtension.Builder
Sets configuration parameters for the extension.
Part<T> - Interface in org.a2aproject.sdk.spec
Base interface for content parts within Messages and Artifacts.
parts() - Method in record class org.a2aproject.sdk.spec.Artifact
Returns the value of the parts record component.
parts() - Method in record class org.a2aproject.sdk.spec.Message
Returns the value of the parts record component.
parts(List<Part<?>>) - Method in class org.a2aproject.sdk.spec.Artifact.Builder
Sets the content parts comprising the artifact.
parts(List<Part<?>>) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets the content parts of the message.
parts(Part<?>...) - Method in class org.a2aproject.sdk.spec.Artifact.Builder
Sets the content parts from varargs.
parts(Part<?>...) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets the content parts of the message from varargs.
pkceRequired() - Method in record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Returns the value of the pkceRequired record component.
preferredTransport() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the preferredTransport record component.
preferredTransport(String) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
 
protectedHeader() - Method in record class org.a2aproject.sdk.spec.AgentCardSignature
Returns the value of the protectedHeader record component.
protectedHeader(String) - Method in class org.a2aproject.sdk.spec.AgentCardSignature.Builder
Sets the Base64URL-encoded protected header.
protocolBinding() - Method in record class org.a2aproject.sdk.spec.AgentInterface
Returns the value of the protocolBinding record component.
protocolVersion() - Method in record class org.a2aproject.sdk.spec.AgentInterface
Returns the value of the protocolVersion record component.
provider() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the provider record component.
provider(AgentProvider) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets information about the organization or entity providing the agent.
PUSH_NOTIFICATION_NOT_SUPPORTED - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating push notifications are not supported by this agent (-32003).
PushNotificationNotSupportedError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating that the agent does not support push notifications.
PushNotificationNotSupportedError() - Constructor for exception org.a2aproject.sdk.spec.PushNotificationNotSupportedError
Constructs error with default message.
PushNotificationNotSupportedError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.PushNotificationNotSupportedError
Constructs error with all parameters.
pushNotifications() - Method in record class org.a2aproject.sdk.spec.AgentCapabilities
Returns the value of the pushNotifications record component.
pushNotifications(boolean) - Method in class org.a2aproject.sdk.spec.AgentCapabilities.Builder
Sets whether the agent supports push notifications.

Q

QUERY - Enum constant in enum class org.a2aproject.sdk.spec.APIKeySecurityScheme.Location
API key sent as a query parameter.

R

reason() - Method in record class org.a2aproject.sdk.spec.util.ErrorDetail
Returns the value of the reason record component.
referenceTaskIds() - Method in record class org.a2aproject.sdk.spec.Message
Returns the value of the referenceTaskIds record component.
referenceTaskIds(List<String>) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets the list of reference task identifiers this message relates to.
refreshUrl() - Method in record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Returns the value of the refreshUrl record component.
refreshUrl() - Method in record class org.a2aproject.sdk.spec.ClientCredentialsOAuthFlow
Returns the value of the refreshUrl record component.
refreshUrl() - Method in record class org.a2aproject.sdk.spec.DeviceCodeOAuthFlow
Returns the value of the refreshUrl record component.
required() - Method in record class org.a2aproject.sdk.spec.AgentExtension
Returns the value of the required record component.
required(boolean) - Method in class org.a2aproject.sdk.spec.AgentExtension.Builder
Sets whether support for this extension is mandatory.
rethrow(Throwable) - Static method in class org.a2aproject.sdk.spec.util.Utils
Rethrows a checked exception as an unchecked exception.
returnImmediately() - Method in record class org.a2aproject.sdk.spec.MessageSendConfiguration
Returns the value of the returnImmediately record component.
returnImmediately(Boolean) - Method in class org.a2aproject.sdk.spec.MessageSendConfiguration.Builder
Sets whether the operation should return immediately after creating the task.
role() - Method in record class org.a2aproject.sdk.spec.Message
Returns the value of the role record component.
role(Message.Role) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets the role of the message sender.
ROLE_AGENT - Enum constant in enum class org.a2aproject.sdk.spec.Message.Role
Message originated from the agent (server side).
ROLE_UNSPECIFIED - Enum constant in enum class org.a2aproject.sdk.spec.Message.Role
Unspecified role.
ROLE_USER - Enum constant in enum class org.a2aproject.sdk.spec.Message.Role
Message originated from the user (client side).

S

scheme() - Method in record class org.a2aproject.sdk.spec.AuthenticationInfo
Returns the value of the scheme record component.
scheme() - Method in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
Returns the value of the scheme record component.
scheme(String) - Method in class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme.Builder
Sets the HTTP authentication scheme name.
scheme(String, List<String>) - Method in class org.a2aproject.sdk.spec.SecurityRequirement.Builder
Adds a security scheme with its required scopes.
schemes() - Method in record class org.a2aproject.sdk.spec.SecurityRequirement
Returns the value of the schemes record component.
scopes() - Method in record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Returns the value of the scopes record component.
scopes() - Method in record class org.a2aproject.sdk.spec.ClientCredentialsOAuthFlow
Returns the value of the scopes record component.
scopes() - Method in record class org.a2aproject.sdk.spec.DeviceCodeOAuthFlow
Returns an unmodifiable copy of the scopes map.
SecurityRequirement - Record Class in org.a2aproject.sdk.spec
Represents a security requirement in the A2A Protocol.
SecurityRequirement(Map<String, List<String>>) - Constructor for record class org.a2aproject.sdk.spec.SecurityRequirement
Creates a SecurityRequirement with the specified schemes map.
SecurityRequirement.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable SecurityRequirement instances.
securityRequirements() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the securityRequirements record component.
securityRequirements() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns the value of the securityRequirements record component.
securityRequirements(List<SecurityRequirement>) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the list of security requirements for accessing the agent.
securityRequirements(List<SecurityRequirement>) - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Sets security requirements specific to this skill.
SecurityScheme - Interface in org.a2aproject.sdk.spec
Base interface for security schemes used to authenticate access to agent endpoints.
securitySchemes() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the securitySchemes record component.
securitySchemes(Map<String, SecurityScheme>) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the map of security scheme definitions.
SEND_MESSAGE_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for sending a message.
SEND_STREAMING_MESSAGE_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for sending a streaming message.
SET_TASK_PUSH_NOTIFICATION_CONFIG_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for setting task push notification configuration.
shouldIncludeArtifacts() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns whether to include artifacts (defaults to false).
signature() - Method in record class org.a2aproject.sdk.spec.AgentCardSignature
Returns the value of the signature record component.
signature(String) - Method in class org.a2aproject.sdk.spec.AgentCardSignature.Builder
Sets the Base64URL-encoded signature value.
signatures() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the signatures record component.
signatures(List<AgentCardSignature>) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the digital signatures verifying the authenticity of the agent card.
size() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Return the size of the configs.
skills() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the skills record component.
skills(List<AgentSkill>) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the list of skills that this agent can perform.
state() - Method in record class org.a2aproject.sdk.spec.TaskStatus
Returns the value of the state record component.
status() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the value of the status record component.
status() - Method in record class org.a2aproject.sdk.spec.Task
Returns the value of the status record component.
status() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Returns the value of the status record component.
status(TaskState) - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Sets the status.
status(TaskStatus) - Method in class org.a2aproject.sdk.spec.Task.Builder
Sets the current status of the task.
status(TaskStatus) - Method in class org.a2aproject.sdk.spec.TaskStatusUpdateEvent.Builder
Sets the task status.
statusTimestampAfter() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the value of the statusTimestampAfter record component.
statusTimestampAfter(Instant) - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Sets the statusTimestampAfter.
streaming() - Method in record class org.a2aproject.sdk.spec.AgentCapabilities
Returns the value of the streaming record component.
streaming(boolean) - Method in class org.a2aproject.sdk.spec.AgentCapabilities.Builder
Sets whether the agent supports streaming responses.
STREAMING_EVENT_ID - Static variable in record class org.a2aproject.sdk.spec.Message
The identifier when used in streaming responses
STREAMING_EVENT_ID - Static variable in record class org.a2aproject.sdk.spec.Task
The identifier when used in streaming responses
STREAMING_EVENT_ID - Static variable in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
The identifier when used in streaming responses
STREAMING_EVENT_ID - Static variable in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
The identifier when used in streaming responses
StreamingEventKind - Interface in org.a2aproject.sdk.spec
Sealed interface for events that can be emitted during streaming A2A Protocol operations.
stripWellKnownSuffix(String) - Static method in class org.a2aproject.sdk.spec.util.Utils
Strips any trailing slash and the standard well-known suffix from baseUrl so that Utils.buildCardUrl(java.lang.String, java.lang.String) can append the desired path without doubling it.
SUBSCRIBE_TO_TASK_METHOD - Static variable in interface org.a2aproject.sdk.spec.A2AMethods
Method name for subscribing to task events.
supportedInterfaces() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the supportedInterfaces record component.
supportedInterfaces(List<AgentInterface>) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the ordered list of supported protocol interfaces (first entry is preferred).

T

tags() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns the value of the tags record component.
tags(List<String>) - Method in class org.a2aproject.sdk.spec.AgentSkill.Builder
Sets categorization tags for discovery and filtering.
Task - Record Class in org.a2aproject.sdk.spec
Represents a single, stateful operation or conversation between a client and an agent in the A2A Protocol.
Task(String, String, TaskStatus, List<Artifact>, List<Message>, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.Task
Compact constructor with validation and defensive copying.
TASK_NOT_CANCELABLE - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating the task cannot be canceled in its current state (-32002).
TASK_NOT_FOUND - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating the requested task was not found (-32001).
TASK_STATE_AUTH_REQUIRED - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Agent requires authentication or authorization to proceed (interrupted state).
TASK_STATE_CANCELED - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Task was canceled by user or system (terminal state).
TASK_STATE_COMPLETED - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Task completed successfully (terminal state).
TASK_STATE_FAILED - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Task failed due to an error (terminal state).
TASK_STATE_INPUT_REQUIRED - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Agent requires additional input from the user to continue (interrupted state).
TASK_STATE_REJECTED - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Task was rejected by the agent (terminal state).
TASK_STATE_SUBMITTED - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Task has been received and is queued for processing (transitional state).
TASK_STATE_UNSPECIFIED - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Task state is unknown or cannot be determined (terminal state).
TASK_STATE_WORKING - Enum constant in enum class org.a2aproject.sdk.spec.TaskState
Agent is actively processing the task (transitional state).
Task.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing immutable Task instances.
TaskArtifactUpdateEvent - Record Class in org.a2aproject.sdk.spec
Event notifying that a task artifact has been created, modified, or appended to.
TaskArtifactUpdateEvent(String, Artifact, String, Boolean, Boolean, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Compact constructor with validation.
TaskArtifactUpdateEvent.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing TaskArtifactUpdateEvent instances.
taskId() - Method in record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Returns the value of the taskId record component.
taskId() - Method in record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Returns the value of the taskId record component.
taskId() - Method in record class org.a2aproject.sdk.spec.Message
Returns the value of the taskId record component.
taskId() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Returns the value of the taskId record component.
taskId() - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Returns the value of the taskId record component.
taskId() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Returns the value of the taskId record component.
taskId(String) - Method in class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams.Builder
Sets the task identifier.
taskId(String) - Method in class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams.Builder
Sets the task ID.
taskId(String) - Method in class org.a2aproject.sdk.spec.Message.Builder
Sets the task identifier this message is associated with.
taskId(String) - Method in class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent.Builder
Sets the task identifier.
taskId(String) - Method in class org.a2aproject.sdk.spec.TaskPushNotificationConfig.Builder
Sets the task identifier.
taskId(String) - Method in class org.a2aproject.sdk.spec.TaskStatusUpdateEvent.Builder
Sets the task identifier.
TaskIdParams - Record Class in org.a2aproject.sdk.spec
Parameters containing a task identifier for task-related operations.
TaskIdParams(String) - Constructor for record class org.a2aproject.sdk.spec.TaskIdParams
Convenience constructor with default tenant.
TaskIdParams(String, String) - Constructor for record class org.a2aproject.sdk.spec.TaskIdParams
Compact constructor for validation.
TaskIdParams.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing instances.
TaskNotCancelableError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating that a task cannot be canceled in its current state.
TaskNotCancelableError() - Constructor for exception org.a2aproject.sdk.spec.TaskNotCancelableError
Constructs error with default message.
TaskNotCancelableError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.TaskNotCancelableError
Constructs error with all parameters.
TaskNotCancelableError(String) - Constructor for exception org.a2aproject.sdk.spec.TaskNotCancelableError
Constructs error with custom message.
TaskNotFoundError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating that the requested task ID does not exist.
TaskNotFoundError() - Constructor for exception org.a2aproject.sdk.spec.TaskNotFoundError
Constructs error with default message.
TaskNotFoundError(String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.TaskNotFoundError
Constructs error with all parameters.
taskPushNotificationConfig() - Method in record class org.a2aproject.sdk.spec.MessageSendConfiguration
Returns the value of the taskPushNotificationConfig record component.
taskPushNotificationConfig(TaskPushNotificationConfig) - Method in class org.a2aproject.sdk.spec.MessageSendConfiguration.Builder
Sets the push notification configuration.
TaskPushNotificationConfig - Record Class in org.a2aproject.sdk.spec
Push notification configuration associated with a specific task.
TaskPushNotificationConfig(String, String, String, String, AuthenticationInfo, String) - Constructor for record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Compact constructor for validation.
TaskPushNotificationConfig.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing TaskPushNotificationConfig instances.
TaskQueryParams - Record Class in org.a2aproject.sdk.spec
Defines parameters for querying a task, with an option to limit history length.
TaskQueryParams(String) - Constructor for record class org.a2aproject.sdk.spec.TaskQueryParams
Convenience constructor with defaults for tenant and historyLength.
TaskQueryParams(String, Integer) - Constructor for record class org.a2aproject.sdk.spec.TaskQueryParams
Convenience constructor with default tenant.
TaskQueryParams(String, Integer, String) - Constructor for record class org.a2aproject.sdk.spec.TaskQueryParams
Compact constructor for validation.
TaskQueryParams.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing instances.
TaskState - Enum Class in org.a2aproject.sdk.spec
Defines the lifecycle states of a Task in the A2A Protocol.
TaskStatus - Record Class in org.a2aproject.sdk.spec
Represents the status of a task at a specific point in time in the A2A Protocol.
TaskStatus(TaskState) - Constructor for record class org.a2aproject.sdk.spec.TaskStatus
Creates a TaskStatus with only a state, using the current UTC time as the timestamp.
TaskStatus(TaskState, Message, OffsetDateTime) - Constructor for record class org.a2aproject.sdk.spec.TaskStatus
Compact constructor for validation and timestamp initialization.
TaskStatusUpdateEvent - Record Class in org.a2aproject.sdk.spec
An event sent by the agent to notify the client of a change in a task's status.
TaskStatusUpdateEvent(String, TaskStatus, String, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Compact constructor with validation.
TaskStatusUpdateEvent.Builder - Class in org.a2aproject.sdk.spec
Builder for constructing TaskStatusUpdateEvent instances.
tenant() - Method in record class org.a2aproject.sdk.spec.AgentInterface
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.CancelTaskParams
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.GetExtendedAgentCardParams
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.MessageSendParams
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.TaskIdParams
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Returns the value of the tenant record component.
tenant() - Method in record class org.a2aproject.sdk.spec.TaskQueryParams
Returns the value of the tenant record component.
tenant(String) - Method in class org.a2aproject.sdk.spec.CancelTaskParams.Builder
Sets the tenant.
tenant(String) - Method in class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams.Builder
Sets optional tenant for the request.
tenant(String) - Method in class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams.Builder
Sets the tenant.
tenant(String) - Method in class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams.Builder
Sets the tenant.
tenant(String) - Method in class org.a2aproject.sdk.spec.ListTasksParams.Builder
Sets the tenant.
tenant(String) - Method in class org.a2aproject.sdk.spec.MessageSendParams.Builder
Sets optional tenant for the request.
tenant(String) - Method in class org.a2aproject.sdk.spec.TaskIdParams.Builder
Sets the tenant.
tenant(String) - Method in class org.a2aproject.sdk.spec.TaskQueryParams.Builder
Sets the tenant.
tenant(String) - Method in class org.a2aproject.sdk.spec.TaskPushNotificationConfig.Builder
Sets the tenant identifier.
text() - Method in record class org.a2aproject.sdk.spec.TextPart
Returns the value of the text record component.
TEXT - Static variable in record class org.a2aproject.sdk.spec.TextPart
The JSON member name discriminator for text parts: "text".
TextPart - Record Class in org.a2aproject.sdk.spec
Represents a plain text content part within a Message or Artifact.
TextPart(String) - Constructor for record class org.a2aproject.sdk.spec.TextPart
Constructor.
TextPart(String, Map<String, Object>) - Constructor for record class org.a2aproject.sdk.spec.TextPart
Compact constructor with validation.
timestamp() - Method in record class org.a2aproject.sdk.spec.TaskStatus
Returns the timestamp when this status was created.
timestamp() - Method in record class org.a2aproject.sdk.spec.util.PageToken
Returns the value of the timestamp record component.
token() - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Returns the value of the token record component.
token(String) - Method in class org.a2aproject.sdk.spec.TaskPushNotificationConfig.Builder
Sets the bearer token for simple authentication.
tokenUrl() - Method in record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Returns the value of the tokenUrl record component.
tokenUrl() - Method in record class org.a2aproject.sdk.spec.ClientCredentialsOAuthFlow
Returns the value of the tokenUrl record component.
tokenUrl() - Method in record class org.a2aproject.sdk.spec.DeviceCodeOAuthFlow
Returns the value of the tokenUrl record component.
toString() - Method in record class org.a2aproject.sdk.spec.AgentCapabilities
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.AgentCardSignature
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.AgentExtension
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.AgentInterface
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.AgentProvider
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.AgentSkill
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.Artifact
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.AuthenticationInfo
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.AuthorizationCodeOAuthFlow
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.CancelTaskParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.ClientCredentialsOAuthFlow
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.DataPart
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.DeleteTaskPushNotificationConfigParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.DeviceCodeOAuthFlow
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.FilePart
Returns a string representation of this record class.
toString() - Method in class org.a2aproject.sdk.spec.FileWithBytes
 
toString() - Method in record class org.a2aproject.sdk.spec.FileWithUri
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.GetExtendedAgentCardParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.GetTaskPushNotificationConfigParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.Legacy_0_3_AgentInterface
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.ListTaskPushNotificationConfigsResult
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.ListTasksParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.Message
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.MessageSendConfiguration
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.MessageSendParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.MutualTLSSecurityScheme
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.OAuthFlows
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.SecurityRequirement
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.Task
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.TaskArtifactUpdateEvent
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.TaskIdParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.TaskQueryParams
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.TaskStatus
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.TaskStatusUpdateEvent
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.TextPart
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.util.ErrorDetail
Returns a string representation of this record class.
toString() - Method in record class org.a2aproject.sdk.spec.util.PageToken
Converts this PageToken to its string representation.
transport() - Method in record class org.a2aproject.sdk.spec.Legacy_0_3_AgentInterface
Returns the value of the transport record component.
TransportProtocol - Enum Class in org.a2aproject.sdk.spec
Enumeration of supported transport protocols for A2A Protocol communication.
type() - Method in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
 
type() - Method in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
 
type() - Method in record class org.a2aproject.sdk.spec.MutualTLSSecurityScheme
 
type() - Method in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
 
type() - Method in record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
 
type() - Method in interface org.a2aproject.sdk.spec.SecurityScheme
Returns the type of the security scheme.
type() - Method in record class org.a2aproject.sdk.spec.util.ErrorDetail
Returns the value of the type record component.
TYPE - Static variable in record class org.a2aproject.sdk.spec.APIKeySecurityScheme
The security scheme type identifier for API key authentication.
TYPE - Static variable in record class org.a2aproject.sdk.spec.HTTPAuthSecurityScheme
The HTTP security scheme type identifier.
TYPE - Static variable in record class org.a2aproject.sdk.spec.MutualTLSSecurityScheme
The type identifier for mutual TLS security schemes: "mtlsSecurityScheme".
TYPE - Static variable in record class org.a2aproject.sdk.spec.OAuth2SecurityScheme
The type identifier for OAuth 2.0 security schemes: "oauth2SecurityScheme".
TYPE - Static variable in record class org.a2aproject.sdk.spec.OpenIdConnectSecurityScheme
The type identifier for OpenID Connect security schemes: "openIdConnect".

U

unmodifiableNullableShallowMap(Map<K, V>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates an unmodifiable shallow defensive copy of a nullable map while preserving null values.
unmodifiableShallowMap(Map<K, V>) - Static method in class org.a2aproject.sdk.spec.util.CollectionCopies
Creates an unmodifiable shallow defensive copy of a non-null map while preserving null values.
UNSUPPORTED_OPERATION - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating the requested operation is not supported (-32004).
UnsupportedOperationError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating that the requested operation is not supported by the agent.
UnsupportedOperationError() - Constructor for exception org.a2aproject.sdk.spec.UnsupportedOperationError
Constructs error with default message.
UnsupportedOperationError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.UnsupportedOperationError
Constructs error with all parameters.
UpdateEvent - Interface in org.a2aproject.sdk.spec
Sealed interface for incremental update events during task execution.
uri() - Method in record class org.a2aproject.sdk.spec.AgentExtension
Returns the value of the uri record component.
uri() - Method in record class org.a2aproject.sdk.spec.FileWithUri
Returns the value of the uri record component.
uri(String) - Method in class org.a2aproject.sdk.spec.AgentExtension.Builder
Sets the unique identifier URI for this extension.
url() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the url record component.
url() - Method in record class org.a2aproject.sdk.spec.AgentInterface
Returns the value of the url record component.
url() - Method in record class org.a2aproject.sdk.spec.AgentProvider
Returns the value of the url record component.
url() - Method in record class org.a2aproject.sdk.spec.Legacy_0_3_AgentInterface
Returns the value of the url record component.
url() - Method in record class org.a2aproject.sdk.spec.TaskPushNotificationConfig
Returns the value of the url record component.
url(String) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
 
url(String) - Method in class org.a2aproject.sdk.spec.TaskPushNotificationConfig.Builder
Sets the push notification endpoint URL.
Utils - Class in org.a2aproject.sdk.spec.util
Utility class providing common helper methods for A2A Protocol operations.

V

validateAbsoluteUrl(String) - Static method in class org.a2aproject.sdk.spec.util.Utils
Validates that url is a syntactically valid absolute URI.
valueOf(String) - Static method in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.a2aproject.sdk.spec.APIKeySecurityScheme.Location
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.a2aproject.sdk.spec.Message.Role
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.a2aproject.sdk.spec.TaskState
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.a2aproject.sdk.spec.TransportProtocol
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.a2aproject.sdk.spec.APIKeySecurityScheme.Location
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.a2aproject.sdk.spec.Message.Role
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.a2aproject.sdk.spec.TaskState
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.a2aproject.sdk.spec.TransportProtocol
Returns an array containing the constants of this enum class, in the order they are declared.
version() - Method in record class org.a2aproject.sdk.spec.AgentCard
Returns the value of the version record component.
version(String) - Method in class org.a2aproject.sdk.spec.AgentCard.Builder
Sets the version of the agent implementation.
VERSION_NOT_SUPPORTED - Enum constant in enum class org.a2aproject.sdk.spec.A2AErrorCodes
Error code indicating the A2A protocol version specified in the request (via A2A-Version service parameter) is not supported by the agent (-32009).
VersionNotSupportedError - Exception in org.a2aproject.sdk.spec
A2A Protocol error indicating that the A2A protocol version specified in the request is not supported by the agent.
VersionNotSupportedError(Integer, String, Map<String, Object>) - Constructor for exception org.a2aproject.sdk.spec.VersionNotSupportedError
Constructs an error when the requested protocol version is not supported.
A B C D E F G H I J K L M N O P Q R S T U V 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form