A2AAgentConfig
data class A2AAgentConfig(val httpClient: A2AHttpClient = JdkA2AHttpClient(), val description: String? = null, val subAgents: List<BaseAgent> = emptyList(), val beforeAgentCallbacks: List<BeforeAgentCallback> = emptyList(), val afterAgentCallbacks: List<AfterAgentCallback> = emptyList())
Optional settings for the A2AAgent factories, grouped into one object so Java callers can assemble them with Builder instead of a long positional call. Every property defaults to the same value the A2AAgent parameters use.
Constructors
Link copied to clipboard
constructor(httpClient: A2AHttpClient = JdkA2AHttpClient(), description: String? = null, subAgents: List<BaseAgent> = emptyList(), beforeAgentCallbacks: List<BeforeAgentCallback> = emptyList(), afterAgentCallbacks: List<AfterAgentCallback> = emptyList())
Types
Link copied to clipboard
class Builder
Fluent builder for A2AAgentConfig, provided primarily for Java callers. Any property left unset falls back to the same default as the constructor.
Properties
Link copied to clipboard
callbacks invoked after the agent runs.
Link copied to clipboard
callbacks invoked before the agent runs.
Link copied to clipboard
overrides the agent's description; when null, the remote card's description is used (matching ADK Python/Go).
Link copied to clipboard
HTTP client backing the JSON-RPC transport; defaults to a JdkA2AHttpClient.