Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- A2A_DATA_PART_METADATA_IS_LONG_RUNNING_KEY - Static variable in class com.google.adk.a2a.converters.PartConverter
- A2A_DATA_PART_METADATA_TYPE_CODE_EXECUTION_RESULT - Static variable in class com.google.adk.a2a.converters.PartConverter
- A2A_DATA_PART_METADATA_TYPE_EXECUTABLE_CODE - Static variable in class com.google.adk.a2a.converters.PartConverter
- A2A_DATA_PART_METADATA_TYPE_FUNCTION_CALL - Static variable in class com.google.adk.a2a.converters.PartConverter
- A2A_DATA_PART_METADATA_TYPE_FUNCTION_RESPONSE - Static variable in class com.google.adk.a2a.converters.PartConverter
- A2A_DATA_PART_METADATA_TYPE_KEY - Static variable in class com.google.adk.a2a.converters.PartConverter
- A2AAgent - Class in com.example.a2a_basic
-
Provides local roll logic plus a remote A2A agent for the demo.
- A2AAgentRun - Class in com.example.a2a_basic
-
Main class to demonstrate running the A2A agent with sequential inputs.
- A2AAgentRun(BaseAgent) - Constructor for class com.example.a2a_basic.A2AAgentRun
- a2aClient(A2AClient) - Method in class com.google.adk.a2a.RemoteA2AAgent.Builder
- A2AClient - Class in com.google.adk.a2a
-
A thin HTTP client for interacting with an A2A-compliant agent endpoint.
- A2AClient(AgentCard) - Constructor for class com.google.adk.a2a.A2AClient
- A2AClient(AgentCard, A2AHttpClient, Map) - Constructor for class com.google.adk.a2a.A2AClient
- A2AClientError(String) - Constructor for exception class com.google.adk.a2a.RemoteA2AAgent.A2AClientError
- A2AClientError(String, Throwable) - Constructor for exception class com.google.adk.a2a.RemoteA2AAgent.A2AClientError
- A2ARemoteApplication - Class in com.google.adk.webservice
-
Entry point for the standalone Spring Boot A2A service.
- A2ARemoteApplication() - Constructor for class com.google.adk.webservice.A2ARemoteApplication
- A2ARemoteConfiguration - Class in com.google.adk.webservice
-
Registers the transport-only A2A webservice stack.
- A2ARemoteConfiguration() - Constructor for class com.google.adk.webservice.A2ARemoteConfiguration
- A2ARemoteController - Class in com.google.adk.webservice
-
REST controller exposing an A2A-compliant JSON-RPC endpoint backed by a local ADK runner.
- A2ARemoteController(A2ARemoteService) - Constructor for class com.google.adk.webservice.A2ARemoteController
- A2ARemoteService - Class in com.google.adk.webservice
-
Core service that bridges the A2A JSON-RPC sendMessage API to a local ADK runner.
- A2ARemoteService(A2ASendMessageExecutor) - Constructor for class com.google.adk.webservice.A2ARemoteService
- a2aSendMessageExecutor(BaseAgent, String, long) - Method in class com.google.adk.webservice.A2ARemoteConfiguration
- A2ASendMessageExecutor - Class in com.google.adk.a2a
-
Shared SendMessage execution between HTTP service and other integrations.
- A2ASendMessageExecutor(BaseAgent, String, Duration) - Constructor for class com.google.adk.a2a.A2ASendMessageExecutor
- A2ASendMessageExecutor(InMemorySessionService, String) - Constructor for class com.google.adk.a2a.A2ASendMessageExecutor
- A2ASendMessageExecutor.AgentExecutionStrategy - Interface in com.google.adk.a2a
- AbstractMcpTool<T> - Class in com.google.adk.tools.mcp
-
Base class for MCP tools.
- AbstractMcpTool(McpSchema.Tool, T, McpSessionManager, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.AbstractMcpTool
- actionRequest(String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- actionResponse(String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- actions() - Method in class com.google.adk.events.Event
- actions() - Method in class com.google.adk.tools.ToolContext
- actions(EventActions) - Method in class com.google.adk.events.Event.Builder
- actions(EventActions) - Method in class com.google.adk.tools.ToolContext.Builder
- ActionSchema() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
- ActiveStreamingTool - Class in com.google.adk.agents
-
Manages streaming tool related resources during invocation.
- ActiveStreamingTool() - Constructor for class com.google.adk.agents.ActiveStreamingTool
- ActiveStreamingTool(LiveRequestQueue) - Constructor for class com.google.adk.agents.ActiveStreamingTool
- ActiveStreamingTool(Disposable) - Constructor for class com.google.adk.agents.ActiveStreamingTool
- ActiveStreamingTool(Disposable, LiveRequestQueue) - Constructor for class com.google.adk.agents.ActiveStreamingTool
- activeStreamingTools() - Method in class com.google.adk.agents.InvocationContext
-
Returns a map of tool call IDs to active streaming tools for the current invocation.
- addAfterAgentCallback(Callbacks.AfterAgentCallback) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addAfterAgentCallbackSync(Callbacks.AfterAgentCallbackSync) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addAfterModelCallback(Callbacks.AfterModelCallback) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addAfterModelCallbackSync(Callbacks.AfterModelCallbackSync) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addAfterToolCallback(Callbacks.AfterToolCallback) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addAfterToolCallbackSync(Callbacks.AfterToolCallbackSync) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addBeforeAgentCallback(Callbacks.BeforeAgentCallback) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addBeforeAgentCallbackSync(Callbacks.BeforeAgentCallbackSync) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addBeforeModelCallback(Callbacks.BeforeModelCallback) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addBeforeModelCallbackSync(Callbacks.BeforeModelCallbackSync) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addBeforeToolCallback(Callbacks.BeforeToolCallback) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addBeforeToolCallbackSync(Callbacks.BeforeToolCallbackSync) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addCallback(Callbacks.AfterAgentCallbackBase) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addCallback(Callbacks.AfterModelCallbackBase) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addCallback(Callbacks.AfterToolCallbackBase) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addCallback(Callbacks.BeforeAgentCallbackBase) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addCallback(Callbacks.BeforeModelCallbackBase) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addCallback(Callbacks.BeforeToolCallbackBase) - Method in class com.google.adk.agents.CallbackPlugin.Builder
- addExample(Example) - Method in class com.google.adk.tools.ExampleTool.Builder
- addInputFiles(List) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Adds the input files to the code executor context.
- addProcessedFileNames(List) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Adds the processed file name to the session state.
- addResourceHandlers(ResourceHandlerRegistry) - Method in class com.google.adk.web.AdkWebServer
-
Configures resource handlers for serving static content (like the Dev UI).
- addSessionToEvalSet(String, String, AddSessionToEvalSetRequest) - Method in class com.google.adk.web.controller.EvaluationController
-
Placeholder for adding a session to an evaluation set.
- AddSessionToEvalSetRequest - Class in com.google.adk.web.dto
-
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/add-session requests.
- AddSessionToEvalSetRequest() - Constructor for class com.google.adk.web.dto.AddSessionToEvalSetRequest
- addSessionToMemory(Session) - Method in interface com.google.adk.memory.BaseMemoryService
-
Adds a session to the memory service.
- addSessionToMemory(Session) - Method in class com.google.adk.memory.FirestoreMemoryService
-
Adds a session to memory.
- addSessionToMemory(Session) - Method in class com.google.adk.memory.InMemoryMemoryService
- addViewControllers(ViewControllerRegistry) - Method in class com.google.adk.web.AdkWebServer
-
Configures simple automated controllers: - Redirects the root path "/" to "/dev-ui".
- adkToMcpToolType(BaseTool) - Method in class com.google.adk.tools.mcp.ConversionUtils
- AdkWebCorsConfig - Class in com.google.adk.web.config
-
Configuration class for setting up Cross-Origin Resource Sharing (CORS) in the ADK Web application.
- AdkWebCorsConfig() - Constructor for class com.google.adk.web.config.AdkWebCorsConfig
- AdkWebCorsProperties - Record Class in com.google.adk.web.config
-
Properties for configuring CORS in ADK Web.
- AdkWebCorsProperties(String, List, List, List, boolean, long) - Constructor for record class com.google.adk.web.config.AdkWebCorsProperties
-
Creates an instance of a
AdkWebCorsPropertiesrecord class. - AdkWebServer - Class in com.google.adk.web
-
Spring Boot application for the Agent Server.
- AdkWebServer() - Constructor for class com.google.adk.web.AdkWebServer
- AFTER_AGENT_CALLBACK - Static variable in class com.example.CoreCallbacks
- AFTER_AGENT_CALLBACK1 - Static variable in class com.example.CoreCallbacks
- AFTER_AGENT_CALLBACK2 - Static variable in class com.example.CoreCallbacks
- AFTER_AGENT_CALLBACK3 - Static variable in class com.example.CoreCallbacks
- AFTER_MODEL_CALLBACK - Static variable in class com.example.CoreCallbacks
- AFTER_TOOL_CALLBACK1 - Static variable in class com.example.CoreCallbacks
- AFTER_TOOL_CALLBACK2 - Static variable in class com.example.CoreCallbacks
- AFTER_TOOL_CALLBACK3 - Static variable in class com.example.CoreCallbacks
- afterAgentCallback() - Method in class com.google.adk.agents.BaseAgent
- afterAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.LoggingPlugin
- afterAgentCallback(BaseAgent, CallbackContext) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed after an agent's primary logic has completed.
- afterAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.PluginManager
- afterAgentCallback(Callbacks.AfterAgentCallback) - Method in class com.google.adk.agents.BaseAgent.Builder
- afterAgentCallback(List) - Method in class com.google.adk.a2a.RemoteA2AAgent.Builder
- afterAgentCallback(List) - Method in class com.google.adk.agents.BaseAgent.Builder
- afterAgentCallbacks() - Method in class com.google.adk.agents.BaseAgentConfig
- afterAgentCallbackSync(Callbacks.AfterAgentCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class com.google.adk.web.websocket.LiveWebSocketHandler
- afterConnectionEstablished(WebSocketSession) - Method in class com.google.adk.web.websocket.LiveWebSocketHandler
- afterModelCallback() - Method in class com.google.adk.agents.LlmAgent
- afterModelCallback(CallbackContext, LlmResponse) - Method in class com.google.adk.plugins.LoggingPlugin
- afterModelCallback(CallbackContext, LlmResponse) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed after a response is received from the model.
- afterModelCallback(CallbackContext, LlmResponse) - Method in class com.google.adk.plugins.PluginManager
- afterModelCallback(Callbacks.AfterModelCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterModelCallback(List) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterModelCallbacks() - Method in class com.google.adk.agents.LlmAgentConfig
- afterModelCallbackSync(Callbacks.AfterModelCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterRunCallback(InvocationContext) - Method in class com.google.adk.plugins.LoggingPlugin
- afterRunCallback(InvocationContext) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed after an ADK runner run has completed.
- afterRunCallback(InvocationContext) - Method in class com.google.adk.plugins.PluginManager
- afterRunCallback(InvocationContext) - Method in class com.google.adk.plugins.ReplayPlugin
- afterTimestamp() - Method in class com.google.adk.sessions.GetSessionConfig
- afterTimestamp(Instant) - Method in class com.google.adk.sessions.GetSessionConfig.Builder
- afterToolCallback() - Method in class com.google.adk.agents.LlmAgent
- afterToolCallback(Callbacks.AfterToolCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterToolCallback(BaseTool, Map, ToolContext, Map) - Method in class com.google.adk.plugins.LoggingPlugin
- afterToolCallback(BaseTool, Map, ToolContext, Map) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed after a tool has been called.
- afterToolCallback(BaseTool, Map, ToolContext, Map) - Method in class com.google.adk.plugins.PluginManager
- afterToolCallback(List) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterToolCallbacks() - Method in class com.google.adk.agents.LlmAgentConfig
- afterToolCallbackSync(Callbacks.AfterToolCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- agent() - Method in class com.google.adk.agents.InvocationContext
-
Returns the agent being invoked.
- agent() - Method in class com.google.adk.runner.Runner
- agent(BaseAgent) - Method in class com.google.adk.agents.InvocationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.
- agent(BaseAgent) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the agent being invoked.
- agent(BaseAgent) - Method in class com.google.adk.runner.Runner.Builder
- agentCardOrSource(Object) - Method in class com.google.adk.a2a.RemoteA2AAgent.Builder
- AgentCardResolutionError(String) - Constructor for exception class com.google.adk.a2a.RemoteA2AAgent.AgentCardResolutionError
- AgentCardResolutionError(String, Throwable) - Constructor for exception class com.google.adk.a2a.RemoteA2AAgent.AgentCardResolutionError
- agentClass() - Method in class com.google.adk.agents.BaseAgentConfig
- AgentController - Class in com.google.adk.web.controller
-
Spring Boot REST Controller handling agent-related API endpoints.
- AgentController(AgentLoader) - Constructor for class com.google.adk.web.controller.AgentController
-
Constructs the AgentController.
- AgentGraphGenerator - Class in com.google.adk.web
-
Utility class to generate Graphviz DOT representations of Agent structures.
- AgentGraphGenerator() - Constructor for class com.google.adk.web.AgentGraphGenerator
- AgentLoader - Interface in com.google.adk.maven
-
Interface for loading agents to the ADK Web Server.
- AgentLoader - Interface in com.google.adk.web
-
Interface for loading agents to the ADK Web Server.
- AgentLoader Implementation - Section in class com.google.adk.maven.WebMojo
- AgentLoadingProperties - Class in com.google.adk.web.config
-
Properties for loading agents.
- AgentLoadingProperties() - Constructor for class com.google.adk.web.config.AgentLoadingProperties
- agentName() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns the name of the agent currently running.
- agentName() - Method in class com.google.adk.plugins.recordings.Recording
-
Name of the agent.
- agentName(String) - Method in class com.google.adk.plugins.recordings.Recording.Builder
- AgentRefConfig() - Constructor for class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
- AgentRefConfig(String) - Constructor for class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
-
Constructor for config-based agent reference.
- agentRun(AgentRunRequest) - Method in class com.google.adk.web.controller.ExecutionController
-
Executes a non-streaming agent run for a given session and message.
- AgentRunRequest - Class in com.google.adk.web.dto
-
Data Transfer Object (DTO) for POST /run and POST /run-sse requests.
- AgentRunRequest() - Constructor for class com.google.adk.web.dto.AgentRunRequest
- agentRunSse(AgentRunRequest) - Method in class com.google.adk.web.controller.ExecutionController
-
Executes an agent run and streams the resulting events using Server-Sent Events (SSE).
- AgentStaticLoader - Class in com.google.adk.web
-
Static Agent Loader for programmatically provided agents.
- AgentStaticLoader(BaseAgent...) - Constructor for class com.google.adk.web.AgentStaticLoader
- AgentTool - Class in com.google.adk.tools
-
AgentTool implements a tool that allows an agent to call another agent.
- AgentTool(BaseAgent, boolean) - Constructor for class com.google.adk.tools.AgentTool
- AgentTransfer - Class in com.google.adk.flows.llmflows
-
RequestProcessorthat handles agent transfer for LLM flow. - AgentTransfer() - Constructor for class com.google.adk.flows.llmflows.AgentTransfer
- allowCredentials() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
allowCredentialsrecord component. - annotations() - Method in class com.google.adk.tools.mcp.AbstractMcpTool
- Annotations - Class in com.google.adk.tools
-
Annotations for tools.
- Annotations.Schema - Annotation Interface in com.google.adk.tools
-
The annotation for binding the 'Schema' input.
- apiClient(Client) - Method in class com.google.adk.models.Gemini.Builder
-
Sets the explicit
Clientinstance for making API calls. - ApiFutureUtils - Class in com.google.adk.utils
-
Utility class for converting ApiFuture to RxJava Single and Maybe types.
- ApigeeLlm - Class in com.google.adk.models
-
A
BaseLlmimplementation for calling an Apigee proxy. - ApigeeLlm.Builder - Class in com.google.adk.models
-
Builder for
ApigeeLlm. - apiKey() - Method in class com.google.adk.sessions.HttpApiClient
-
Returns the API key for Google AI APIs.
- apiKey(String) - Method in class com.google.adk.models.Gemini.Builder
-
Sets the Google Gemini API key.
- ApiResponse - Class in com.google.adk.sessions
-
The API response contains a response to a call to the GenAI APIs.
- ApiResponse() - Constructor for class com.google.adk.sessions.ApiResponse
- apiServerSpanExporter() - Method in class com.google.adk.web.config.OpenTelemetryConfig
- ApiServerSpanExporter - Class in com.google.adk.web.service
-
A custom SpanExporter that stores relevant span data.
- ApiServerSpanExporter() - Constructor for class com.google.adk.web.service.ApiServerSpanExporter
- APP_PREFIX - Static variable in class com.google.adk.sessions.State
- APP_STATE_COLLECTION - Static variable in class com.google.adk.utils.Constants
-
agent app state collection
- appendArtifactsToLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.LoadArtifactsTool
- appendEvent(Session, Event) - Method in interface com.google.adk.sessions.BaseSessionService
-
Appends an event to an in-memory session object and updates the session's state based on the event's state delta, if applicable.
- appendEvent(Session, Event) - Method in class com.google.adk.sessions.FirestoreSessionService
-
Appends an event to a session, updating the session state and persisting to Firestore.
- appendEvent(Session, Event) - Method in class com.google.adk.sessions.InMemorySessionService
- appendEvent(Session, Event) - Method in class com.google.adk.sessions.VertexAiSessionService
- appendInstructions(List) - Method in class com.google.adk.models.LlmRequest.Builder
- appendTools(List) - Method in class com.google.adk.models.LlmRequest.Builder
- ApplicationIntegrationToolset - Class in com.google.adk.tools.applicationintegrationtoolset
-
Application Integration Toolset
- ApplicationIntegrationToolset(String, String, String, List, String, Map, List, String, String, String) - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ApplicationIntegrationToolset
-
ApplicationIntegrationToolset generates tools from a given Application Integration resource.
- appName - Variable in class com.google.adk.web.dto.AgentRunRequest
- appName - Variable in class com.google.adk.web.dto.RunEvalResult
- appName() - Method in class com.google.adk.agents.InvocationContext
-
Returns the application name associated with the session.
- appName() - Method in class com.google.adk.runner.Runner
- appName() - Method in class com.google.adk.sessions.Session
- appName(String) - Method in class com.google.adk.runner.Runner.Builder
- appName(String) - Method in class com.google.adk.sessions.Session.Builder
- args() - Method in class com.google.adk.tools.BaseTool.ToolConfig
- args() - Method in class com.google.adk.tools.mcp.StdioServerParameters
-
Optional arguments for the command.
- args(List) - Method in class com.google.adk.tools.mcp.StdioServerParameters.Builder
-
Sets the arguments for the command.
- ArtifactController - Class in com.google.adk.web.controller
-
Controller handling artifact-related API endpoints.
- ArtifactController(BaseArtifactService) - Constructor for class com.google.adk.web.controller.ArtifactController
- artifactDelta() - Method in class com.google.adk.events.EventActions
- artifactDelta(ConcurrentMap) - Method in class com.google.adk.events.EventActions.Builder
- artifactService() - Method in class com.google.adk.agents.InvocationContext
-
Returns the artifact service for persisting artifacts.
- artifactService() - Method in class com.google.adk.runner.Runner
- artifactService() - Method in class com.google.adk.web.AdkWebServer
-
Provides the singleton instance of the ArtifactService (InMemory).
- artifactService(BaseArtifactService) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the artifact service for persisting artifacts.
- artifactService(BaseArtifactService) - Method in class com.google.adk.runner.Runner.Builder
- AS_IS - Enum constant in enum class com.google.adk.a2a.converters.EventConverter.AggregationMode
- AUTH_ERROR - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Authentication or authorization errors
- author() - Method in class com.google.adk.events.Event
-
The author of the event, it could be the name of the agent or "user" literal.
- author() - Method in class com.google.adk.memory.MemoryEntry
-
Returns the author of the memory, or null if not set.
- author(String) - Method in class com.google.adk.events.Event.Builder
- author(String) - Method in class com.google.adk.memory.MemoryEntry.Builder
-
Sets the author of the memory.
- AutoFlow - Class in com.google.adk.flows.llmflows
-
LLM flow with automatic agent transfer support.
- AutoFlow() - Constructor for class com.google.adk.flows.llmflows.AutoFlow
- AutoFlow(Optional) - Constructor for class com.google.adk.flows.llmflows.AutoFlow
- avgLogprobs() - Method in class com.google.adk.events.Event
- avgLogprobs() - Method in class com.google.adk.models.LlmResponse
-
Error code if the response is an error.
- avgLogprobs(Double) - Method in class com.google.adk.events.Event.Builder
- avgLogprobs(Double) - Method in class com.google.adk.models.LlmResponse.Builder
- avgLogprobs(Optional) - Method in class com.google.adk.events.Event.Builder
- avgLogprobs(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
B
- BaseAgent - Class in com.google.adk.agents
-
Base class for all agents.
- BaseAgent(String, String, List, CallbackPlugin) - Constructor for class com.google.adk.agents.BaseAgent
-
Creates a new BaseAgent.
- BaseAgent(String, String, List, List, List) - Constructor for class com.google.adk.agents.BaseAgent
-
Creates a new BaseAgent.
- BaseAgent.Builder<B> - Class in com.google.adk.agents
-
Base Builder for all agents.
- BaseAgentConfig - Class in com.google.adk.agents
-
Base configuration for all agents with subagent support.
- BaseAgentConfig() - Constructor for class com.google.adk.agents.BaseAgentConfig
- BaseAgentConfig(String) - Constructor for class com.google.adk.agents.BaseAgentConfig
- BaseAgentConfig(String, String, String) - Constructor for class com.google.adk.agents.BaseAgentConfig
-
Constructor with basic fields.
- BaseAgentConfig.AgentRefConfig - Class in com.google.adk.agents
-
Configuration for referencing other agents (subagents).
- BaseAgentConfig.CallbackRef - Class in com.google.adk.agents
-
Reference to a callback stored in the ComponentRegistry.
- BaseArtifactService - Interface in com.google.adk.artifacts
-
Base interface for artifact services.
- BaseCodeExecutor - Class in com.google.adk.codeexecutors
-
Abstract base class for all code executors.
- BaseCodeExecutor() - Constructor for class com.google.adk.codeexecutors.BaseCodeExecutor
- BaseEventSummarizer - Interface in com.google.adk.summarizer
-
Base interface for producing events summary.
- BaseExampleProvider - Interface in com.google.adk.examples
-
An interface that provides examples for a given query.
- BaseFlow - Interface in com.google.adk.flows
-
Interface for the execution flows to run a group of agents.
- BaseLlm - Class in com.google.adk.models
-
Abstract base class for Large Language Models (LLMs).
- BaseLlm(String) - Constructor for class com.google.adk.models.BaseLlm
- BaseLlmConnection - Interface in com.google.adk.models
-
The base class for a live model connection.
- BaseLlmFlow - Class in com.google.adk.flows.llmflows
-
A basic flow that calls the LLM in a loop until a final response is generated.
- BaseLlmFlow(List, List) - Constructor for class com.google.adk.flows.llmflows.BaseLlmFlow
- BaseLlmFlow(List, List, Optional) - Constructor for class com.google.adk.flows.llmflows.BaseLlmFlow
- BaseMemoryService - Interface in com.google.adk.memory
-
Base contract for memory services.
- BasePlugin - Class in com.google.adk.plugins
-
Base class for creating plugins.
- BasePlugin(String) - Constructor for class com.google.adk.plugins.BasePlugin
- BaseRetrievalTool - Class in com.google.adk.tools.retrieval
-
Base class for retrieval tools.
- BaseRetrievalTool(String, String) - Constructor for class com.google.adk.tools.retrieval.BaseRetrievalTool
- BaseRetrievalTool(String, String, boolean) - Constructor for class com.google.adk.tools.retrieval.BaseRetrievalTool
- BaseSessionService - Interface in com.google.adk.sessions
- BaseTool - Class in com.google.adk.tools
-
The base class for all ADK tools.
- BaseTool(String, String) - Constructor for class com.google.adk.tools.BaseTool
- BaseTool(String, String, boolean) - Constructor for class com.google.adk.tools.BaseTool
- BaseTool.ToolArgsConfig - Class in com.google.adk.tools
-
Configuration class for tool arguments that allows arbitrary key-value pairs.
- BaseTool.ToolConfig - Class in com.google.adk.tools
-
Configuration class for a tool definition in YAML/JSON.
- BaseToolset - Interface in com.google.adk.tools
-
Base interface for toolsets.
- Basic - Class in com.google.adk.flows.llmflows
-
RequestProcessorthat handles basic information to build the LLM request. - Basic() - Constructor for class com.google.adk.flows.llmflows.Basic
- Basic Usage - Section in class com.google.adk.maven.WebMojo
- BEFORE_AGENT_CALLBACK - Static variable in class com.example.CoreCallbacks
- BEFORE_AGENT_CALLBACK1 - Static variable in class com.example.CoreCallbacks
- BEFORE_AGENT_CALLBACK2 - Static variable in class com.example.CoreCallbacks
- BEFORE_AGENT_CALLBACK3 - Static variable in class com.example.CoreCallbacks
- BEFORE_MODEL_CALLBACK - Static variable in class com.example.CoreCallbacks
- BEFORE_TOOL_CALLBACK1 - Static variable in class com.example.CoreCallbacks
- BEFORE_TOOL_CALLBACK2 - Static variable in class com.example.CoreCallbacks
- BEFORE_TOOL_CALLBACK3 - Static variable in class com.example.CoreCallbacks
- beforeAgentCallback() - Method in class com.google.adk.agents.BaseAgent
- beforeAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.LoggingPlugin
- beforeAgentCallback(BaseAgent, CallbackContext) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed before an agent's primary logic is invoked.
- beforeAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.PluginManager
- beforeAgentCallback(Callbacks.BeforeAgentCallback) - Method in class com.google.adk.agents.BaseAgent.Builder
- beforeAgentCallback(List) - Method in class com.google.adk.a2a.RemoteA2AAgent.Builder
- beforeAgentCallback(List) - Method in class com.google.adk.agents.BaseAgent.Builder
- beforeAgentCallbacks() - Method in class com.google.adk.agents.BaseAgentConfig
- beforeAgentCallbackSync(Callbacks.BeforeAgentCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeModelCallback() - Method in class com.google.adk.agents.LlmAgent
- beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in class com.google.adk.plugins.LoggingPlugin
- beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed before a request is sent to the model.
- beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in class com.google.adk.plugins.PluginManager
- beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in class com.google.adk.plugins.ReplayPlugin
- beforeModelCallback(Callbacks.BeforeModelCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeModelCallback(List) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeModelCallbacks() - Method in class com.google.adk.agents.LlmAgentConfig
- beforeModelCallbackSync(Callbacks.BeforeModelCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeRunCallback(InvocationContext) - Method in class com.google.adk.plugins.LoggingPlugin
- beforeRunCallback(InvocationContext) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed before the ADK runner runs.
- beforeRunCallback(InvocationContext) - Method in class com.google.adk.plugins.PluginManager
- beforeRunCallback(InvocationContext) - Method in class com.google.adk.plugins.ReplayPlugin
- beforeToolCallback() - Method in class com.google.adk.agents.LlmAgent
- beforeToolCallback(Callbacks.BeforeToolCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeToolCallback(BaseTool, Map, ToolContext) - Method in class com.google.adk.plugins.LoggingPlugin
- beforeToolCallback(BaseTool, Map, ToolContext) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed before a tool is called.
- beforeToolCallback(BaseTool, Map, ToolContext) - Method in class com.google.adk.plugins.PluginManager
- beforeToolCallback(BaseTool, Map, ToolContext) - Method in class com.google.adk.plugins.ReplayPlugin
- beforeToolCallback(List) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeToolCallbacks() - Method in class com.google.adk.agents.LlmAgentConfig
- beforeToolCallbackSync(Callbacks.BeforeToolCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- BIDI - Enum constant in enum class com.google.adk.agents.RunConfig.StreamingMode
- blob() - Method in class com.google.adk.agents.LiveRequest
-
Returns the blob of the request.
- blob(Blob) - Method in class com.google.adk.agents.LiveRequest.Builder
- blob(Optional) - Method in class com.google.adk.agents.LiveRequest.Builder
- branch() - Method in class com.google.adk.agents.InvocationContext
-
Returns the branch ID for the current invocation, if one is set.
- branch() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns the branch of the current invocation, if present.
- branch() - Method in class com.google.adk.events.Event
-
The branch of the event.
- branch(String) - Method in class com.google.adk.agents.InvocationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
InvocationContext.toBuilder()andInvocationContext.Builder.branch(String)instead. - branch(String) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the branch ID for the invocation.
- branch(String) - Method in class com.google.adk.events.Event
-
Sets the branch for this event.
- branch(String) - Method in class com.google.adk.events.Event.Builder
- branch(Optional) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
InvocationContext.Builder.branch(String)instead. - branch(Optional) - Method in class com.google.adk.events.Event
- branch(Optional) - Method in class com.google.adk.events.Event.Builder
- build() - Method in class com.google.adk.a2a.RemoteA2AAgent.Builder
- build() - Method in class com.google.adk.agents.BaseAgent.Builder
- build() - Method in class com.google.adk.agents.CallbackPlugin.Builder
- build() - Method in class com.google.adk.agents.InvocationContext.Builder
-
Builds the
InvocationContextinstance. - build() - Method in class com.google.adk.agents.LiveRequest.Builder
- build() - Method in class com.google.adk.agents.LlmAgent.Builder
- build() - Method in class com.google.adk.agents.LoopAgent.Builder
- build() - Method in class com.google.adk.agents.ParallelAgent.Builder
- build() - Method in class com.google.adk.agents.RunConfig.Builder
- build() - Method in class com.google.adk.agents.SequentialAgent.Builder
- build() - Method in class com.google.adk.artifacts.ListArtifactsResponse.Builder
- build() - Method in class com.google.adk.artifacts.ListArtifactVersionsResponse.Builder
- build() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
- build() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
- build() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
- build() - Method in class com.google.adk.events.Event.Builder
- build() - Method in class com.google.adk.events.EventActions.Builder
- build() - Method in class com.google.adk.events.EventCompaction.Builder
- build() - Method in class com.google.adk.events.ToolConfirmation.Builder
- build() - Method in class com.google.adk.examples.Example.Builder
- build() - Method in class com.google.adk.memory.MemoryEntry.Builder
-
Builds the immutable
MemoryEntryobject. - build() - Method in class com.google.adk.memory.SearchMemoryResponse.Builder
-
Builds the immutable
SearchMemoryResponseobject. - build() - Method in class com.google.adk.models.ApigeeLlm.Builder
-
Builds the
ApigeeLlminstance. - build() - Method in class com.google.adk.models.Gemini.Builder
-
Builds the
Geminiinstance. - build() - Method in class com.google.adk.models.LlmRequest.Builder
- build() - Method in class com.google.adk.models.LlmResponse.Builder
- build() - Method in class com.google.adk.models.Model.Builder
- build() - Method in class com.google.adk.models.VertexCredentials.Builder
- build() - Method in class com.google.adk.plugins.recordings.LlmRecording.Builder
- build() - Method in class com.google.adk.plugins.recordings.Recording.Builder
- build() - Method in class com.google.adk.plugins.recordings.Recordings.Builder
- build() - Method in class com.google.adk.plugins.recordings.ToolRecording.Builder
- build() - Method in class com.google.adk.runner.Runner.Builder
- build() - Method in class com.google.adk.sessions.GetSessionConfig.Builder
- build() - Method in class com.google.adk.sessions.ListEventsResponse.Builder
- build() - Method in class com.google.adk.sessions.ListSessionsResponse.Builder
- build() - Method in class com.google.adk.sessions.Session.Builder
- build() - Method in class com.google.adk.tools.ExampleTool.Builder
- build() - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
- build() - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Builds a new
SseServerParametersinstance. - build() - Method in class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
- build() - Method in class com.google.adk.tools.mcp.StdioServerParameters.Builder
-
Builds a new
StdioServerParametersinstance. - build() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
- build() - Method in class com.google.adk.tools.ToolContext.Builder
- build() - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- build(Object) - Method in class com.google.adk.tools.mcp.DefaultMcpTransportBuilder
- build(Object) - Method in interface com.google.adk.tools.mcp.McpTransportBuilder
-
Builds an McpClientTransport based on the provided connection parameters.
- buildCodeExecutionResultPart(CodeExecutionUtils.CodeExecutionResult) - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils
- builder() - Static method in class com.google.adk.a2a.RemoteA2AAgent
- builder() - Static method in class com.google.adk.agents.CallbackPlugin
- builder() - Static method in class com.google.adk.agents.InvocationContext
-
Returns a new
InvocationContext.Builderfor creatingInvocationContextinstances. - builder() - Static method in class com.google.adk.agents.LiveRequest
- builder() - Static method in class com.google.adk.agents.LlmAgent
-
Returns a
LlmAgent.BuilderforLlmAgent. - builder() - Static method in class com.google.adk.agents.LoopAgent
- builder() - Static method in class com.google.adk.agents.ParallelAgent
- builder() - Static method in class com.google.adk.agents.RunConfig
- builder() - Static method in class com.google.adk.agents.SequentialAgent
- builder() - Static method in class com.google.adk.artifacts.ListArtifactsResponse
- builder() - Static method in class com.google.adk.artifacts.ListArtifactVersionsResponse
- builder() - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
- builder() - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
- builder() - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils.File
- builder() - Static method in class com.google.adk.events.Event
- builder() - Static method in class com.google.adk.events.EventActions
- builder() - Static method in class com.google.adk.events.EventCompaction
- builder() - Static method in class com.google.adk.events.ToolConfirmation
- builder() - Static method in class com.google.adk.examples.Example
- builder() - Static method in class com.google.adk.memory.MemoryEntry
-
Returns a new builder for creating a
MemoryEntry. - builder() - Static method in class com.google.adk.memory.SearchMemoryResponse
-
Creates a new builder for
SearchMemoryResponse. - builder() - Static method in class com.google.adk.models.ApigeeLlm
-
Returns a new Builder for constructing
ApigeeLlminstances. - builder() - Static method in class com.google.adk.models.Gemini
-
Returns a new Builder instance for constructing Gemini objects.
- builder() - Static method in class com.google.adk.models.LlmRequest
- builder() - Static method in class com.google.adk.models.LlmResponse
- builder() - Static method in class com.google.adk.models.Model
- builder() - Static method in class com.google.adk.models.VertexCredentials
- builder() - Static method in class com.google.adk.plugins.recordings.LlmRecording
- builder() - Static method in class com.google.adk.plugins.recordings.Recording
- builder() - Static method in class com.google.adk.plugins.recordings.Recordings
- builder() - Static method in class com.google.adk.plugins.recordings.ToolRecording
- builder() - Static method in class com.google.adk.runner.Runner
- builder() - Static method in class com.google.adk.sessions.GetSessionConfig
- builder() - Static method in class com.google.adk.sessions.ListEventsResponse
- builder() - Static method in class com.google.adk.sessions.ListSessionsResponse
- builder() - Static method in class com.google.adk.tools.ExampleTool
- builder() - Static method in class com.google.adk.tools.mcp.SseServerParameters
-
Creates a new builder for
SseServerParameters. - builder() - Static method in class com.google.adk.tools.mcp.StdioConnectionParameters
- builder() - Static method in class com.google.adk.tools.mcp.StdioServerParameters
-
Creates a new builder for
StdioServerParameters. - builder() - Static method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
- builder() - Static method in class com.google.adk.tools.VertexAiSearchTool
- builder(InvocationContext) - Static method in class com.google.adk.tools.ToolContext
- builder(RunConfig) - Static method in class com.google.adk.agents.RunConfig
- builder(String) - Static method in class com.google.adk.sessions.Session
- Builder() - Constructor for class com.google.adk.a2a.RemoteA2AAgent.Builder
- Builder() - Constructor for class com.google.adk.agents.BaseAgent.Builder
- Builder() - Constructor for class com.google.adk.agents.LiveRequest.Builder
- Builder() - Constructor for class com.google.adk.agents.LlmAgent.Builder
- Builder() - Constructor for class com.google.adk.agents.LoopAgent.Builder
- Builder() - Constructor for class com.google.adk.agents.ParallelAgent.Builder
- Builder() - Constructor for class com.google.adk.agents.RunConfig.Builder
- Builder() - Constructor for class com.google.adk.agents.SequentialAgent.Builder
- Builder() - Constructor for class com.google.adk.artifacts.ListArtifactsResponse.Builder
- Builder() - Constructor for class com.google.adk.artifacts.ListArtifactVersionsResponse.Builder
- Builder() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
- Builder() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
- Builder() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
- Builder() - Constructor for class com.google.adk.events.Event.Builder
- Builder() - Constructor for class com.google.adk.events.EventActions.Builder
- Builder() - Constructor for class com.google.adk.events.EventCompaction.Builder
- Builder() - Constructor for class com.google.adk.events.ToolConfirmation.Builder
- Builder() - Constructor for class com.google.adk.examples.Example.Builder
- Builder() - Constructor for class com.google.adk.memory.MemoryEntry.Builder
- Builder() - Constructor for class com.google.adk.memory.SearchMemoryResponse.Builder
- Builder() - Constructor for class com.google.adk.models.ApigeeLlm.Builder
- Builder() - Constructor for class com.google.adk.models.LlmRequest.Builder
- Builder() - Constructor for class com.google.adk.models.LlmResponse.Builder
- Builder() - Constructor for class com.google.adk.models.Model.Builder
- Builder() - Constructor for class com.google.adk.models.VertexCredentials.Builder
- Builder() - Constructor for class com.google.adk.plugins.recordings.LlmRecording.Builder
- Builder() - Constructor for class com.google.adk.plugins.recordings.Recording.Builder
- Builder() - Constructor for class com.google.adk.plugins.recordings.Recordings.Builder
- Builder() - Constructor for class com.google.adk.plugins.recordings.ToolRecording.Builder
- Builder() - Constructor for class com.google.adk.runner.Runner.Builder
- Builder() - Constructor for class com.google.adk.sessions.GetSessionConfig.Builder
- Builder() - Constructor for class com.google.adk.sessions.ListEventsResponse.Builder
- Builder() - Constructor for class com.google.adk.sessions.ListSessionsResponse.Builder
- Builder() - Constructor for class com.google.adk.tools.ExampleTool.Builder
- Builder() - Constructor for class com.google.adk.tools.mcp.McpAsyncToolset.Builder
- Builder() - Constructor for class com.google.adk.tools.mcp.SseServerParameters.Builder
- Builder() - Constructor for class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
- Builder() - Constructor for class com.google.adk.tools.mcp.StdioServerParameters.Builder
- Builder() - Constructor for class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
- Builder() - Constructor for class com.google.adk.tools.VertexAiSearchTool.Builder
- Builder(String) - Constructor for class com.google.adk.sessions.Session.Builder
- buildExampleSi(BaseExampleProvider, String) - Static method in class com.google.adk.examples.ExampleUtils
-
Builds a formatted few-shot example string for the given query.
- buildExecutableCodePart(String) - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils
- buildFunctionDeclaration(Method, List) - Static method in class com.google.adk.tools.FunctionCallingUtils
-
Builds a FunctionDeclaration from a Java Method, ignoring parameters with the given names.
- buildSchemaFromType(Type) - Static method in class com.google.adk.tools.FunctionCallingUtils
-
Builds a Schema from a Java Type, creating a new context for the generation process.
- BuiltInCodeExecutionTool - Class in com.google.adk.tools
-
A built-in code execution tool that is automatically invoked by Gemini 2 models.
- BuiltInCodeExecutionTool() - Constructor for class com.google.adk.tools.BuiltInCodeExecutionTool
- BuiltInCodeExecutor - Class in com.google.adk.codeexecutors
-
A code executor that uses the Model's built-in code executor.
- BuiltInCodeExecutor() - Constructor for class com.google.adk.codeexecutors.BuiltInCodeExecutor
C
- calculateSimilarities(float[], List) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Calculate similarity scores between a query and all candidates.
- call(CallbackContext) - Method in interface com.google.adk.agents.Callbacks.AfterAgentCallback
-
Async callback after agent runs.
- call(CallbackContext) - Method in interface com.google.adk.agents.Callbacks.AfterAgentCallbackSync
- call(CallbackContext) - Method in interface com.google.adk.agents.Callbacks.BeforeAgentCallback
-
Async callback before agent runs.
- call(CallbackContext) - Method in interface com.google.adk.agents.Callbacks.BeforeAgentCallbackSync
- call(CallbackContext, LlmRequest.Builder) - Method in interface com.google.adk.agents.Callbacks.BeforeModelCallback
-
Async callback before LLM invocation.
- call(CallbackContext, LlmRequest.Builder) - Method in interface com.google.adk.agents.Callbacks.BeforeModelCallbackSync
- call(CallbackContext, LlmResponse) - Method in interface com.google.adk.agents.Callbacks.AfterModelCallback
-
Async callback after LLM response.
- call(CallbackContext, LlmResponse) - Method in interface com.google.adk.agents.Callbacks.AfterModelCallbackSync
- call(InvocationContext, BaseTool, Map, ToolContext) - Method in interface com.google.adk.agents.Callbacks.BeforeToolCallback
-
Async callback before tool runs.
- call(InvocationContext, BaseTool, Map, ToolContext) - Method in interface com.google.adk.agents.Callbacks.BeforeToolCallbackSync
- call(InvocationContext, BaseTool, Map, ToolContext, Object) - Method in interface com.google.adk.agents.Callbacks.AfterToolCallback
-
Async callback after tool runs.
- call(InvocationContext, BaseTool, Map, ToolContext, Object) - Method in interface com.google.adk.agents.Callbacks.AfterToolCallbackSync
- CallbackContext - Class in com.google.adk.agents
-
The context of various callbacks for an agent invocation.
- CallbackContext(InvocationContext, EventActions) - Constructor for class com.google.adk.agents.CallbackContext
-
Initializes callback context.
- callbackPlugin - Variable in class com.google.adk.agents.BaseAgent
- CallbackPlugin - Class in com.google.adk.agents
-
A plugin that wraps callbacks and exposes them as a plugin.
- CallbackPlugin.Builder - Class in com.google.adk.agents
-
Builder for
CallbackPlugin. - callbackPluginBuilder - Variable in class com.google.adk.agents.BaseAgent.Builder
- callbackPluginBuilder() - Method in class com.google.adk.agents.BaseAgent.Builder
- CallbackRef() - Constructor for class com.google.adk.agents.BaseAgentConfig.CallbackRef
- CallbackRef(String) - Constructor for class com.google.adk.agents.BaseAgentConfig.CallbackRef
- Callbacks - Class in com.google.adk.agents
-
Functional interfaces for agent lifecycle callbacks.
- Callbacks.AfterAgentCallback - Interface in com.google.adk.agents
- Callbacks.AfterAgentCallbackSync - Interface in com.google.adk.agents
-
Helper interface to allow for sync afterAgentCallback.
- Callbacks.AfterModelCallback - Interface in com.google.adk.agents
- Callbacks.AfterModelCallbackSync - Interface in com.google.adk.agents
-
Helper interface to allow for sync afterModelCallback.
- Callbacks.AfterToolCallback - Interface in com.google.adk.agents
- Callbacks.AfterToolCallbackSync - Interface in com.google.adk.agents
-
Helper interface to allow for sync afterToolCallback.
- Callbacks.BeforeAgentCallback - Interface in com.google.adk.agents
- Callbacks.BeforeAgentCallbackSync - Interface in com.google.adk.agents
-
Helper interface to allow for sync beforeAgentCallback.
- Callbacks.BeforeModelCallback - Interface in com.google.adk.agents
- Callbacks.BeforeModelCallbackSync - Interface in com.google.adk.agents
-
Helper interface to allow for sync beforeModelCallback.
- Callbacks.BeforeToolCallback - Interface in com.google.adk.agents
- Callbacks.BeforeToolCallbackSync - Interface in com.google.adk.agents
-
Helper interface to allow for sync beforeToolCallback.
- CallbackUtil - Class in com.google.adk.agents
-
Utility methods for normalizing agent callbacks.
- callLive(Map, ToolContext, InvocationContext) - Method in class com.google.adk.tools.FunctionTool
- canonicalGlobalInstruction(ReadonlyContext) - Method in class com.google.adk.agents.LlmAgent
-
Constructs the text global instruction for this agent based on the
LlmAgent.globalInstructionfield. - canonicalInstruction(ReadonlyContext) - Method in class com.google.adk.agents.LlmAgent
-
Constructs the text instruction for this agent based on the
LlmAgent.instructionfield. - canonicalTools() - Method in class com.google.adk.agents.LlmAgent
-
Overload of canonicalTools that defaults to an empty context.
- canonicalTools(ReadonlyContext) - Method in class com.google.adk.agents.LlmAgent
-
Convenience overload of canonicalTools that accepts a non-optional ReadonlyContext.
- canonicalTools(Optional) - Method in class com.google.adk.agents.LlmAgent
-
Constructs the list of tools for this agent based on the
LlmAgent.tools()field. - CHECK_PRIME_INSTANCE - Static variable in class com.example.CustomDieTool
- checkPrime(List) - Static method in class com.example.CustomDieTool
- checkPrime(List) - Static method in class com.example.helloworld.HelloWorldAgent
- CityTimeWeather - Class in com.google.adk.tutorials
- CityTimeWeather() - Constructor for class com.google.adk.tutorials.CityTimeWeather
- Claude - Class in com.google.adk.models
-
Represents the Claude Generative AI model by Anthropic.
- Claude(String, AnthropicClient) - Constructor for class com.google.adk.models.Claude
-
Constructs a new Claude instance.
- Claude(String, AnthropicClient, int) - Constructor for class com.google.adk.models.Claude
- clear() - Method in class com.google.adk.sessions.State
- clearInputFiles() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Removes the input files and processed file names to the code executor context.
- CLIENT_ERROR - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Invalid request parameters or format
- close() - Method in class com.google.adk.agents.LiveRequest
-
Returns whether the connection should be closed.
- close() - Method in class com.google.adk.agents.LiveRequestQueue
- close() - Method in interface com.google.adk.flows.llmflows.audio.SpeechClientInterface
-
Closes the client and releases any resources.
- close() - Method in class com.google.adk.flows.llmflows.audio.VertexSpeechClient
- close() - Method in interface com.google.adk.models.BaseLlmConnection
-
Closes the connection.
- close() - Method in class com.google.adk.models.GeminiLlmConnection
- close() - Method in class com.google.adk.sessions.ApiResponse
- close() - Method in class com.google.adk.sessions.HttpApiResponse
-
Closes the Http response.
- close() - Method in class com.google.adk.tools.applicationintegrationtoolset.ApplicationIntegrationToolset
- close() - Method in interface com.google.adk.tools.BaseToolset
-
Performs cleanup and releases resources held by the toolset.
- close() - Method in class com.google.adk.tools.mcp.McpAsyncToolset
- close() - Method in class com.google.adk.tools.mcp.McpToolset
- close(Boolean) - Method in class com.google.adk.agents.LiveRequest.Builder
- close(Throwable) - Method in interface com.google.adk.models.BaseLlmConnection
-
Closes the connection with an error.
- close(Throwable) - Method in class com.google.adk.models.GeminiLlmConnection
- close(Optional) - Method in class com.google.adk.agents.LiveRequest.Builder
- closeSession(Session) - Method in interface com.google.adk.sessions.BaseSessionService
-
Closes a session.
- code() - Method in class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
- code() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
-
The code to execute.
- code(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
- codeBlockDelimiters() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
-
The list of the enclosing delimiters to identify the code blocks.
- CodeExecution - Class in com.google.adk.flows.llmflows
-
Handles Code Execution related logic.
- CodeExecutionInput() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
- CodeExecutionResult() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
- CodeExecutionUtils - Class in com.google.adk.codeexecutors
-
Utility functions for code execution.
- CodeExecutionUtils.CodeExecutionInput - Class in com.google.adk.codeexecutors
-
A structure that contains the input of code execution.
- CodeExecutionUtils.CodeExecutionInput.Builder - Class in com.google.adk.codeexecutors
-
Builder for
CodeExecutionUtils.CodeExecutionInput. - CodeExecutionUtils.CodeExecutionResult - Class in com.google.adk.codeexecutors
-
A structure that contains the result of code execution.
- CodeExecutionUtils.CodeExecutionResult.Builder - Class in com.google.adk.codeexecutors
-
Builder for
CodeExecutionUtils.CodeExecutionResult. - CodeExecutionUtils.File - Class in com.google.adk.codeexecutors
-
A structure that contains a file name and its content.
- CodeExecutionUtils.File.Builder - Class in com.google.adk.codeexecutors
-
Builder for
CodeExecutionUtils.File. - codeExecutor() - Method in class com.google.adk.agents.LlmAgent
- codeExecutor(BaseCodeExecutor) - Method in class com.google.adk.agents.LlmAgent.Builder
- CodeExecutorContext - Class in com.google.adk.codeexecutors
-
The persistent context used to configure the code executor.
- CodeExecutorContext(Map) - Constructor for class com.google.adk.codeexecutors.CodeExecutorContext
-
Initializes the code executor context.
- CollectionUtils - Class in com.google.adk.utils
-
Frequently used code snippets for collections.
- com.example - package com.example
- com.google.adk - package com.google.adk
- com.google.adk.a2a - package com.google.adk.a2a
- com.google.adk.a2a.converters - package com.google.adk.a2a.converters
- com.google.adk.agents - package com.google.adk.agents
- com.google.adk.artifacts - package com.google.adk.artifacts
- com.google.adk.codeexecutors - package com.google.adk.codeexecutors
- com.google.adk.events - package com.google.adk.events
- com.google.adk.examples - package com.google.adk.examples
- com.google.adk.flows - package com.google.adk.flows
- com.google.adk.flows.llmflows - package com.google.adk.flows.llmflows
- com.google.adk.flows.llmflows.audio - package com.google.adk.flows.llmflows.audio
- com.google.adk.google_adk_maven_plugin - package com.google.adk.google_adk_maven_plugin
- com.google.adk.maven - package com.google.adk.maven
- com.google.adk.memory - package com.google.adk.memory
- com.google.adk.models - package com.google.adk.models
- com.google.adk.models.langchain4j - package com.google.adk.models.langchain4j
- com.google.adk.models.springai - package com.google.adk.models.springai
- com.google.adk.models.springai.autoconfigure - package com.google.adk.models.springai.autoconfigure
- com.google.adk.models.springai.error - package com.google.adk.models.springai.error
- com.google.adk.models.springai.observability - package com.google.adk.models.springai.observability
- com.google.adk.models.springai.properties - package com.google.adk.models.springai.properties
- com.google.adk.plugins - package com.google.adk.plugins
- com.google.adk.plugins.recordings - package com.google.adk.plugins.recordings
- com.google.adk.runner - package com.google.adk.runner
- com.google.adk.samples.a2a_remote - package com.google.adk.samples.a2a_remote
- com.google.adk.sessions - package com.google.adk.sessions
- com.google.adk.summarizer - package com.google.adk.summarizer
- com.google.adk.tools - package com.google.adk.tools
- com.google.adk.tools.applicationintegrationtoolset - package com.google.adk.tools.applicationintegrationtoolset
- com.google.adk.tools.mcp - package com.google.adk.tools.mcp
- com.google.adk.tools.retrieval - package com.google.adk.tools.retrieval
- com.google.adk.tutorials - package com.google.adk.tutorials
- com.google.adk.utils - package com.google.adk.utils
- com.google.adk.web - package com.google.adk.web
- com.google.adk.web.config - package com.google.adk.web.config
- com.google.adk.web.controller - package com.google.adk.web.controller
- com.google.adk.web.dto - package com.google.adk.web.dto
- com.google.adk.web.service - package com.google.adk.web.service
- com.google.adk.web.websocket - package com.google.adk.web.websocket
- com.google.adk.webservice - package com.google.adk.webservice
- command() - Method in class com.google.adk.tools.mcp.StdioServerParameters
-
The command to execute for the stdio server.
- command(String) - Method in class com.google.adk.tools.mcp.StdioServerParameters.Builder
-
Sets the command to execute for the stdio server.
- compact(Session, BaseSessionService) - Method in interface com.google.adk.summarizer.EventCompactor
-
Compacts events in the given session.
- compact(Session, BaseSessionService) - Method in class com.google.adk.summarizer.SlidingWindowEventCompactor
-
Runs compaction for SlidingWindowCompactor.
- compactedContent() - Method in class com.google.adk.events.EventCompaction
- compactedContent(Content) - Method in class com.google.adk.events.EventCompaction.Builder
- compaction() - Method in class com.google.adk.events.EventActions
- compaction(EventCompaction) - Method in class com.google.adk.events.EventActions.Builder
- compactionInterval() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
-
Returns the value of the
compactionIntervalrecord component. - CompiledAgentLoader - Class in com.google.adk.web
-
CompiledAgentLoader implementation for the dev environment.
- CompiledAgentLoader(AgentLoadingProperties) - Constructor for class com.google.adk.web.CompiledAgentLoader
- ComponentRegistry - Class in com.google.adk.utils
-
A registry for storing and retrieving ADK instances by name.
- ComponentRegistry() - Constructor for class com.google.adk.utils.ComponentRegistry
- config() - Method in class com.google.adk.models.LlmRequest.Builder
- config() - Method in class com.google.adk.models.LlmRequest
-
Returns the configuration for content generation.
- config(GenerateContentConfig) - Method in class com.google.adk.models.LlmRequest.Builder
- CONFIG_TYPE - Static variable in class com.google.adk.tools.mcp.McpToolset
- ConfigAgentLoader - Class in com.google.adk.maven
-
Configuration-based AgentLoader that loads agents from YAML configuration files.
- ConfigAgentLoader(String) - Constructor for class com.google.adk.maven.ConfigAgentLoader
-
Creates a new ConfigAgentLoader with hot-reloading enabled.
- ConfigAgentLoader(String, boolean) - Constructor for class com.google.adk.maven.ConfigAgentLoader
-
Creates a new ConfigAgentLoader.
- ConfigAgentUtils - Class in com.google.adk.agents
-
Utility class for loading agent configurations from YAML files.
- ConfigAgentUtils.ConfigurationException - Exception Class in com.google.adk.agents
-
Exception thrown when configuration is invalid.
- ConfigMapper - Class in com.google.adk.models.springai
-
Maps ADK GenerateContentConfig to Spring AI ChatOptions.
- ConfigMapper() - Constructor for class com.google.adk.models.springai.ConfigMapper
- configPath() - Method in class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
- ConfigurationException(String) - Constructor for exception class com.google.adk.agents.ConfigAgentUtils.ConfigurationException
- ConfigurationException(String, Throwable) - Constructor for exception class com.google.adk.agents.ConfigAgentUtils.ConfigurationException
- Configuration Parameters - Section in class com.google.adk.maven.WebMojo
- confirmed() - Method in class com.google.adk.events.ToolConfirmation
- confirmed(boolean) - Method in class com.google.adk.events.ToolConfirmation.Builder
- connect(LlmRequest) - Method in class com.google.adk.models.ApigeeLlm
- connect(LlmRequest) - Method in class com.google.adk.models.BaseLlm
-
Creates a live connection to the LLM.
- connect(LlmRequest) - Method in class com.google.adk.models.Claude
- connect(LlmRequest) - Method in class com.google.adk.models.Gemini
- connect(LlmRequest) - Method in class com.google.adk.models.langchain4j.LangChain4j
- connect(LlmRequest) - Method in class com.google.adk.models.springai.SpringAI
- ConnectionDetails() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
- connectionParams(SseServerParameters) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
- connectionParams(ServerParameters) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
- ConnectionsClient - Class in com.google.adk.tools.applicationintegrationtoolset
-
Utility class for interacting with the Google Cloud Connectors API.
- ConnectionsClient(String, String, String, String, HttpClient, CredentialsHelper, ObjectMapper) - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
-
Initializes the ConnectionsClient.
- ConnectionsClient(String, String, String, HttpClient, ObjectMapper) - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- ConnectionsClient.ActionSchema - Class in com.google.adk.tools.applicationintegrationtoolset
-
Represents the schema for an action.
- ConnectionsClient.ConnectionDetails - Class in com.google.adk.tools.applicationintegrationtoolset
-
Represents details of a connection.
- ConnectionsClient.EntitySchemaAndOperations - Class in com.google.adk.tools.applicationintegrationtoolset
-
Represents the schema and available operations for an entity.
- connectorPayload(Map) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- Constants - Class in com.google.adk.utils
-
Constants used across Firestore session service tests.
- ContainerCodeExecutor - Class in com.google.adk.codeexecutors
-
A code executor that uses a custom container to execute code.
- ContainerCodeExecutor(Optional, Optional, Optional) - Constructor for class com.google.adk.codeexecutors.ContainerCodeExecutor
-
Initializes the ContainerCodeExecutor.
- containsKey(Object) - Method in class com.google.adk.sessions.State
- containsValue(Object) - Method in class com.google.adk.sessions.State
- content() - Method in class com.google.adk.agents.LiveRequest
-
Returns the content of the request.
- content() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File
-
The base64-encoded bytes of the file content.
- content() - Method in class com.google.adk.events.Event
- content() - Method in class com.google.adk.memory.MemoryEntry
-
Returns the main content of the memory.
- content() - Method in class com.google.adk.models.LlmResponse
-
Returns the content of the first candidate in the response, if available.
- content(Content) - Method in class com.google.adk.agents.LiveRequest.Builder
- content(Content) - Method in class com.google.adk.agents.LiveRequestQueue
- content(Content) - Method in class com.google.adk.events.Event.Builder
- content(Content) - Method in class com.google.adk.memory.MemoryEntry.Builder
-
Sets the main content of the memory.
- content(Content) - Method in class com.google.adk.models.LlmResponse.Builder
- content(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
- content(Optional) - Method in class com.google.adk.agents.LiveRequest.Builder
- content(Optional) - Method in class com.google.adk.events.Event.Builder
- content(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
- contents() - Method in class com.google.adk.models.LlmRequest
-
Returns the list of content sent to the LLM.
- contents(List) - Method in class com.google.adk.models.LlmRequest.Builder
- Contents - Class in com.google.adk.flows.llmflows
-
RequestProcessorthat populates content in request for LLM flows. - Contents() - Constructor for class com.google.adk.flows.llmflows.Contents
- CONTINUE_OUTPUT_MESSAGE - Static variable in class com.google.adk.models.GeminiUtil
- ConversationPreprocessor - Class in com.google.adk.a2a.converters
-
Preprocesses a batch of ADK events prior to invoking a remote A2A agent.
- ConversationPreprocessor.PreparedInput - Class in com.google.adk.a2a.converters
-
Immutable value that surfaces the results of preprocessing.
- ConversionUtils - Class in com.google.adk.tools.mcp
-
Utility class for converting between different representations of MCP tools.
- convertA2aMessageToAdkEvent(Message, String) - Static method in class com.google.adk.a2a.converters.RequestConverter
-
Convert an A2A Message to an ADK Event.
- convertAggregatedA2aMessageToAdkEvents(Message, String) - Static method in class com.google.adk.a2a.converters.RequestConverter
-
Convert an aggregated A2A Message to multiple ADK Events.
- convertCodeExecutionParts(Content, List, List) - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils
-
Converts the code execution parts to text parts in a Content.
- convertEventsToA2AMessage(InvocationContext) - Static method in class com.google.adk.a2a.converters.EventConverter
- convertEventsToA2AMessage(InvocationContext, EventConverter.AggregationMode) - Static method in class com.google.adk.a2a.converters.EventConverter
- convertEventToA2AMessage(Event) - Static method in class com.google.adk.a2a.converters.EventConverter
- convertGenaiPartToA2aPart(Part) - Static method in class com.google.adk.a2a.converters.PartConverter
-
Convert a Google GenAI Part to an A2A Part.
- convertJsonSchemaToOpenApiSchema(Map) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
-
Converts a JSON Schema dictionary to an OpenAPI schema dictionary.
- convertSchemaToSpringAi(Schema) - Method in class com.google.adk.models.springai.ToolConverter
-
Converts ADK Schema to Spring AI compatible parameter schema.
- convertToSpringAiTools(Map) - Method in class com.google.adk.models.springai.ToolConverter
-
Converts ADK tools to Spring AI ToolCallback format for tool calling.
- copyOf(InvocationContext) - Static method in class com.google.adk.agents.InvocationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
other.toBuilder().build()instead. - CoreCallbacks - Class in com.example
- corsConfigurationSource(AdkWebCorsProperties) - Method in class com.google.adk.web.config.AdkWebCorsConfig
- corsFilter(CorsConfigurationSource) - Method in class com.google.adk.web.config.AdkWebCorsConfig
- cosineSimilarity(float[], float[]) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Calculate cosine similarity between two embedding vectors.
- create(BaseAgent) - Static method in class com.google.adk.tools.AgentTool
- create(BaseAgent, boolean) - Static method in class com.google.adk.tools.AgentTool
- create(BaseLlm) - Static method in class com.google.adk.tools.GoogleSearchAgentTool
- create(BaseLlm, VertexAiSearchTool) - Static method in class com.google.adk.tools.VertexAiSearchAgentTool
- create(LlmRequest, Iterable) - Static method in class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
-
Creates a new
RequestProcessor.RequestProcessingResult. - create(LlmResponse, Iterable, Optional) - Static method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
-
Creates a new
ResponseProcessor.ResponseProcessingResult. - create(BaseSessionService, BaseArtifactService, BaseAgent, Session, LiveRequestQueue, RunConfig) - Static method in class com.google.adk.agents.InvocationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
InvocationContext.builder()instead. - create(BaseSessionService, BaseArtifactService, String, BaseAgent, Session, Content, RunConfig) - Static method in class com.google.adk.agents.InvocationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
InvocationContext.builder()instead. - create(FunctionTool) - Static method in class com.google.adk.tools.LongRunningFunctionTool
-
Creates a LongRunningFunctionTool from a FunctionTool.
- create(GenerateContentResponse) - Static method in class com.google.adk.models.LlmResponse
- create(Class, String) - Static method in class com.google.adk.tools.FunctionTool
- create(Class, String) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(Class, String, boolean) - Static method in class com.google.adk.tools.FunctionTool
- create(Class, String, boolean) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(Object, Method) - Static method in class com.google.adk.tools.FunctionTool
- create(Object, Method) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(Object, Method, boolean) - Static method in class com.google.adk.tools.FunctionTool
- create(Object, Method, boolean) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(Object, String) - Static method in class com.google.adk.tools.FunctionTool
- create(Object, String) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(Object, String, boolean) - Static method in class com.google.adk.tools.FunctionTool
- create(Object, String, boolean) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(Method) - Static method in class com.google.adk.tools.FunctionTool
- create(Method) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(Method, boolean) - Static method in class com.google.adk.tools.FunctionTool
- create(Method, boolean) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(String) - Method in interface com.google.adk.models.LlmRegistry.LlmFactory
- create(List) - Static method in class com.google.adk.models.LlmResponse
- createAsyncSession() - Method in class com.google.adk.tools.mcp.McpSessionManager
- createDefaultChatOptions() - Method in class com.google.adk.models.springai.ConfigMapper
-
Creates default ChatOptions for cases where no ADK config is provided.
- createEvalSet(String, String) - Method in class com.google.adk.web.controller.EvaluationController
-
Placeholder for creating an evaluation set.
- createOperation(String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- createOperationRequest(String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- createRequest(String) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Create an EmbeddingRequest for a single text input.
- createRequest(List) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Create an EmbeddingRequest for multiple text inputs.
- createRootAgent(String) - Static method in class com.example.a2a_basic.A2AAgent
- createSession() - Method in class com.google.adk.tools.mcp.McpSessionManager
- createSession(String, String) - Method in interface com.google.adk.sessions.BaseSessionService
-
Creates a new session with the specified application name and user ID, using a default state (null) and allowing the service to generate a unique session ID.
- createSession(String, String, SessionRequest) - Method in class com.google.adk.web.controller.SessionController
-
Creates a new session where the ID is generated by the service.
- createSession(String, String, ConcurrentMap, String) - Method in class com.google.adk.sessions.InMemorySessionService
- createSession(String, String, ConcurrentMap, String) - Method in interface com.google.adk.sessions.BaseSessionService
-
Creates a new session with the specified parameters.
- createSession(String, String, ConcurrentMap, String) - Method in class com.google.adk.sessions.FirestoreSessionService
-
Creates a new session in Firestore.
- createSession(String, String, ConcurrentMap, String) - Method in class com.google.adk.sessions.VertexAiSessionService
- createSessionWithId(String, String, String, SessionRequest) - Method in class com.google.adk.web.controller.SessionController
-
Creates a new session with a specific ID provided by the client.
- createToolRegistry(Map) - Method in class com.google.adk.models.springai.ToolConverter
-
Creates a tool registry from ADK tools for internal tracking.
- credentials() - Method in class com.google.adk.models.VertexCredentials
- CredentialsHelper - Interface in com.google.adk.tools.applicationintegrationtoolset
-
This interface provides a method to convert a service account JSON string to a Google Credentials object.
- CustomDemoRegistry - Class in com.example
-
Custom ComponentRegistry for the user-defined config agent demo.
- CustomDemoRegistry() - Constructor for class com.example.CustomDemoRegistry
-
Private constructor to initialize custom components
- CustomDieTool - Class in com.example
-
Tools for the user-defined config agent demo.
- CustomDieTool() - Constructor for class com.example.CustomDieTool
- customHeaders(Map) - Method in class com.google.adk.models.ApigeeLlm.Builder
-
Sets a dictionary of headers to be sent with the request.
- customMetadata() - Method in class com.google.adk.tools.BaseTool
-
Returns a read-only view of the tool metadata.
D
- dataStore() - Method in class com.google.adk.tools.VertexAiSearchTool
- dataStore(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- dataStoreId() - Method in class com.google.adk.tools.VertexAiSearchTool
- dataStoreId(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- dataStoreSpecs() - Method in class com.google.adk.tools.VertexAiSearchTool
- dataStoreSpecs(List) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- DebugController - Class in com.google.adk.web.controller
-
Controller handling debug and tracing endpoints.
- DebugController(ApiServerSpanExporter) - Constructor for class com.google.adk.web.controller.DebugController
- declaration() - Method in class com.google.adk.tools.AgentTool
- declaration() - Method in class com.google.adk.tools.applicationintegrationtoolset.IntegrationConnectorTool
- declaration() - Method in class com.google.adk.tools.BaseTool
-
Gets the
FunctionDeclarationrepresentation of this tool. - declaration() - Method in class com.google.adk.tools.FunctionTool
- declaration() - Method in class com.google.adk.tools.LoadArtifactsTool
- declaration() - Method in class com.google.adk.tools.mcp.AbstractMcpTool
- declaration() - Method in class com.google.adk.tools.retrieval.BaseRetrievalTool
- decodeContent(Content) - Static method in class com.google.adk.sessions.SessionUtils
-
Decodes Base64-encoded inline blobs in content.
- DEFAULT - Enum constant in enum class com.google.adk.agents.LlmAgent.IncludeContents
- DefaultMcpTransportBuilder - Class in com.google.adk.tools.mcp
-
The default builder for creating MCP client transports.
- DefaultMcpTransportBuilder() - Constructor for class com.google.adk.tools.mcp.DefaultMcpTransportBuilder
- deleteArtifact(String, String, String, String) - Method in interface com.google.adk.artifacts.BaseArtifactService
-
Deletes an artifact.
- deleteArtifact(String, String, String, String) - Method in class com.google.adk.artifacts.GcsArtifactService
-
Deletes all versions of the specified artifact from GCS.
- deleteArtifact(String, String, String, String) - Method in class com.google.adk.artifacts.InMemoryArtifactService
-
Deletes all versions of the given artifact.
- deleteArtifact(String, String, String, String) - Method in class com.google.adk.web.controller.ArtifactController
-
Deletes an artifact and all its versions.
- deleteOperation(String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- deleteOperationRequest() - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- deleteSession(String, String, String) - Method in interface com.google.adk.sessions.BaseSessionService
-
Deletes a specific session.
- deleteSession(String, String, String) - Method in class com.google.adk.sessions.FirestoreSessionService
-
Deletes a session and all its associated events from Firestore.
- deleteSession(String, String, String) - Method in class com.google.adk.sessions.InMemorySessionService
- deleteSession(String, String, String) - Method in class com.google.adk.sessions.VertexAiSessionService
- deleteSession(String, String, String) - Method in class com.google.adk.web.controller.SessionController
-
Deletes a specific session.
- description - Variable in class com.google.adk.agents.BaseAgent.Builder
- description - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
- description() - Method in class com.google.adk.agents.BaseAgent
-
Gets the one-line description of the agent's capability.
- description() - Method in class com.google.adk.agents.BaseAgentConfig
- description() - Element in annotation interface com.google.adk.tools.Annotations.Schema
- description() - Method in class com.google.adk.tools.BaseTool
- description(String) - Method in class com.google.adk.a2a.RemoteA2AAgent.Builder
- description(String) - Method in class com.google.adk.agents.BaseAgent.Builder
- determineLlmFlow() - Method in class com.google.adk.agents.LlmAgent
- dimensions() - Method in class com.google.adk.models.springai.SpringAIEmbedding
-
Get the embedding dimensions for this model.
- disallowTransferToParent() - Method in class com.google.adk.agents.LlmAgent
- disallowTransferToParent() - Method in class com.google.adk.agents.LlmAgentConfig
- disallowTransferToParent(boolean) - Method in class com.google.adk.agents.LlmAgent.Builder
- disallowTransferToPeers() - Method in class com.google.adk.agents.LlmAgent
- disallowTransferToPeers() - Method in class com.google.adk.agents.LlmAgentConfig
- disallowTransferToPeers(boolean) - Method in class com.google.adk.agents.LlmAgent.Builder
- displayName - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
- dotSrc - Variable in class com.google.adk.web.dto.GraphResponse
E
- embed(String) - Method in class com.google.adk.models.springai.SpringAIEmbedding
-
Generate embeddings for a single text input.
- embed(List) - Method in class com.google.adk.models.springai.SpringAIEmbedding
-
Generate embeddings for multiple text inputs.
- EmbeddingConverter - Class in com.google.adk.models.springai
-
Utility class for converting between embedding formats and performing vector operations.
- embedForResponse(EmbeddingRequest) - Method in class com.google.adk.models.springai.SpringAIEmbedding
-
Generate embeddings using a full EmbeddingRequest.
- encodeContent(Content) - Static method in class com.google.adk.sessions.SessionUtils
-
Base64-encodes inline blobs in content.
- endInvocation() - Method in class com.google.adk.agents.InvocationContext
-
Returns whether this invocation should be ended, e.g., due to reaching a terminal state or error.
- endInvocation() - Method in class com.google.adk.events.EventActions
- endInvocation(boolean) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets whether this invocation should be ended.
- endInvocation(boolean) - Method in class com.google.adk.events.EventActions.Builder
- endTimestamp() - Method in class com.google.adk.events.EventCompaction
- endTimestamp(long) - Method in class com.google.adk.events.EventCompaction.Builder
- EntitySchemaAndOperations() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.EntitySchemaAndOperations
- entrySet() - Method in class com.google.adk.sessions.State
- env() - Method in class com.google.adk.tools.mcp.StdioServerParameters
-
Optional environment variables.
- env(Map) - Method in class com.google.adk.tools.mcp.StdioServerParameters.Builder
-
Sets the environment variables.
- equals(Object) - Method in record class com.google.adk.a2a.converters.ResponseConverter.MessageSendResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.adk.agents.Instruction.Provider
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.adk.agents.Instruction.Static
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.google.adk.agents.InvocationContext
- equals(Object) - Method in class com.google.adk.events.Event
- equals(Object) - Method in class com.google.adk.events.EventActions
- equals(Object) - Method in record class com.google.adk.flows.llmflows.ResumabilityConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.google.adk.sessions.State
- equals(Object) - Method in record class com.google.adk.summarizer.EventsCompactionConfig
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.adk.tools.LoadMemoryResponse
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Indicates whether some other object is "equal to" this one.
- errorCode() - Method in class com.google.adk.events.Event
- errorCode() - Method in class com.google.adk.models.LlmResponse
-
Error code if the response is an error.
- errorCode(FinishReason) - Method in class com.google.adk.events.Event.Builder
- errorCode(FinishReason) - Method in class com.google.adk.models.LlmResponse.Builder
- errorCode(Optional) - Method in class com.google.adk.events.Event.Builder
- errorCode(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
- errorMessage() - Method in class com.google.adk.events.Event
- errorMessage() - Method in class com.google.adk.models.LlmResponse
-
Error message if the response is an error.
- errorMessage(String) - Method in class com.google.adk.events.Event.Builder
- errorMessage(String) - Method in class com.google.adk.models.LlmResponse.Builder
- errorMessage(Optional) - Method in class com.google.adk.events.Event.Builder
- errorMessage(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
- errorRetryAttempts() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
-
The number of attempts to retry on consecutive code execution errors.
- escalate() - Method in class com.google.adk.events.EventActions
- escalate(boolean) - Method in class com.google.adk.events.EventActions.Builder
- euclideanDistance(float[], float[]) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Calculate Euclidean distance between two embedding vectors.
- evalId - Variable in class com.google.adk.web.dto.AddSessionToEvalSetRequest
- evalId - Variable in class com.google.adk.web.dto.RunEvalResult
- evalIds - Variable in class com.google.adk.web.dto.RunEvalRequest
- evalMetricResults - Variable in class com.google.adk.web.dto.RunEvalResult
- evalMetrics - Variable in class com.google.adk.web.dto.RunEvalRequest
- evalSetId - Variable in class com.google.adk.web.dto.RunEvalResult
- EvaluationController - Class in com.google.adk.web.controller
-
Controller handling evaluation-related endpoints (mostly placeholder implementations).
- EvaluationController() - Constructor for class com.google.adk.web.controller.EvaluationController
- Event - Class in com.google.adk.events
-
Represents an event in a session.
- Event.Builder - Class in com.google.adk.events
-
Builder for
Event. - eventActions - Variable in class com.google.adk.agents.CallbackContext
- eventActions() - Method in class com.google.adk.agents.CallbackContext
-
Returns the EventActions associated with this context.
- EventActions - Class in com.google.adk.events
-
Represents the actions attached to an event.
- EventActions() - Constructor for class com.google.adk.events.EventActions
-
Default constructor for Jackson.
- EventActions.Builder - Class in com.google.adk.events
-
Builder for
EventActions. - EventCompaction - Class in com.google.adk.events
-
The compaction of the events.
- EventCompaction() - Constructor for class com.google.adk.events.EventCompaction
- EventCompaction.Builder - Class in com.google.adk.events
-
Builder for
EventCompaction. - EventCompactor - Interface in com.google.adk.summarizer
-
Base interface for compacting events.
- EventConverter - Class in com.google.adk.a2a.converters
-
Converter for ADK Events to A2A Messages.
- EventConverter.AggregationMode - Enum Class in com.google.adk.a2a.converters
- events() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns an unmodifiable view of the events of the session.
- events() - Method in class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
-
Events generated during processing.
- events() - Method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
-
Events generated during processing.
- events() - Method in class com.google.adk.sessions.ListEventsResponse
- events() - Method in class com.google.adk.sessions.Session
- events(List) - Method in class com.google.adk.sessions.ListEventsResponse.Builder
- events(List) - Method in class com.google.adk.sessions.Session.Builder
- EVENTS_SUBCOLLECTION_NAME - Static variable in class com.google.adk.utils.Constants
-
user events collections
- eventsCompactionConfig(EventsCompactionConfig) - Method in class com.google.adk.runner.Runner.Builder
- EventsCompactionConfig - Record Class in com.google.adk.summarizer
-
Configuration for event compaction.
- EventsCompactionConfig(int, int, BaseEventSummarizer) - Constructor for record class com.google.adk.summarizer.EventsCompactionConfig
-
Creates an instance of a
EventsCompactionConfigrecord class. - eventsToMessage(List, String, String) - Static method in class com.google.adk.a2a.converters.ResponseConverter
-
Converts a list of ADK events into a single aggregated A2A message.
- EventStream - Class in com.google.adk.events
-
Iterable stream of
Eventobjects. - EventStream(Supplier) - Constructor for class com.google.adk.events.EventStream
-
Constructs a new event stream.
- eventToMessage(Event, String) - Static method in class com.google.adk.a2a.converters.ResponseConverter
-
Converts a single ADK event into an A2A message.
- Example - Class in com.google.adk.examples
-
Represents an few-shot example.
- Example() - Constructor for class com.google.adk.examples.Example
- EXAMPLE_TOOL_INSTANCE - Static variable in class com.example.CustomDieTool
- Example.Builder - Class in com.google.adk.examples
-
Builder for constructing
Exampleinstances. - exampleProvider() - Method in class com.google.adk.agents.LlmAgent
- exampleProvider(BaseExampleProvider) - Method in class com.google.adk.agents.LlmAgent.Builder
- exampleProvider(Example...) - Method in class com.google.adk.agents.LlmAgent.Builder
- exampleProvider(List) - Method in class com.google.adk.agents.LlmAgent.Builder
- Examples - Class in com.google.adk.flows.llmflows
-
RequestProcessorthat populates examples in LLM request. - Examples() - Constructor for class com.google.adk.flows.llmflows.Examples
- ExampleTool - Class in com.google.adk.tools
-
A tool that injects (few-shot) examples into the outgoing LLM request as system instructions.
- ExampleTool.Builder - Class in com.google.adk.tools
- ExampleUtils - Class in com.google.adk.examples
-
Utility class for examples.
- execute() - Method in class com.google.adk.google_adk_maven_plugin.HelpMojo
- execute() - Method in class com.google.adk.maven.WebMojo
- execute(Message) - Method in class com.google.adk.a2a.A2ASendMessageExecutor
- execute(Message, A2ASendMessageExecutor.AgentExecutionStrategy) - Method in class com.google.adk.a2a.A2ASendMessageExecutor
- execute(String, String, Content, RunConfig, String) - Method in interface com.google.adk.a2a.A2ASendMessageExecutor.AgentExecutionStrategy
- executeCode(InvocationContext, CodeExecutionUtils.CodeExecutionInput) - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
-
Executes code and return the code execution result.
- executeCode(InvocationContext, CodeExecutionUtils.CodeExecutionInput) - Method in class com.google.adk.codeexecutors.BuiltInCodeExecutor
- executeCode(InvocationContext, CodeExecutionUtils.CodeExecutionInput) - Method in class com.google.adk.codeexecutors.ContainerCodeExecutor
- executeCode(InvocationContext, CodeExecutionUtils.CodeExecutionInput) - Method in class com.google.adk.codeexecutors.VertexAiCodeExecutor
- executeCustomQueryRequest() - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- ExecutionController - Class in com.google.adk.web.controller
-
Controller handling agent execution endpoints.
- ExecutionController(RunnerService) - Constructor for class com.google.adk.web.controller.ExecutionController
- executionId() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
-
The execution ID for the stateful code execution.
- executionId(Optional) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
- executionResultDelimiters() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
-
The delimiters to format the code execution result.
- executor() - Method in class com.google.adk.agents.LlmAgent
- executor(Executor) - Method in class com.google.adk.agents.LlmAgent.Builder
- exitLoop(ToolContext) - Static method in class com.google.adk.tools.ExitLoopTool
-
Exit the
LoopAgentexecution. - ExitLoopTool - Class in com.google.adk.tools
-
Tool for exiting execution of
LoopAgent. - EXPONENTIAL_BACKOFF - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.RetryStrategy
-
Retry with exponential backoff
- export(Collection) - Method in class com.google.adk.web.service.ApiServerSpanExporter
- EXTERNAL_HANDOFF - Enum constant in enum class com.google.adk.a2a.converters.EventConverter.AggregationMode
- extractCodeAndTruncateContent(Content.Builder, List) - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils
-
Extracts the first code block from the content and truncates everything after it.
- extractEmbeddings(EmbeddingResponse) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Extract embedding vectors from an EmbeddingResponse.
- extractFirstEmbedding(EmbeddingResponse) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Extract the first embedding vector from an EmbeddingResponse.
- extractHistoryAndUserContent(List) - Static method in class com.google.adk.a2a.converters.ConversationPreprocessor
-
Splits the provided event list into history and the latest user-authored text message.
- extractHostAndPort(String) - Static method in class com.google.adk.a2a.A2AClient
F
- File() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.File
- filenames() - Method in class com.google.adk.artifacts.ListArtifactsResponse
- filenames(List) - Method in class com.google.adk.artifacts.ListArtifactsResponse.Builder
- filter() - Method in class com.google.adk.tools.VertexAiSearchTool
- filter(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- finalEvalStatus - Variable in class com.google.adk.web.dto.RunEvalResult
- finalResponse() - Method in class com.google.adk.events.Event
-
Returns true if this is a final response.
- findAgent(String) - Method in class com.google.adk.agents.BaseAgent
-
Finds an agent (this or descendant) by name.
- findMostSimilar(float[], List) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Find the most similar embedding from a list of candidates.
- findSubAgent(String) - Method in class com.google.adk.agents.BaseAgent
-
Recursively search sub agent by name.
- finishReason() - Method in class com.google.adk.events.Event
- finishReason() - Method in class com.google.adk.models.LlmResponse
-
Error code if the response is an error.
- finishReason(FinishReason) - Method in class com.google.adk.events.Event.Builder
- finishReason(FinishReason) - Method in class com.google.adk.models.LlmResponse.Builder
- finishReason(Optional) - Method in class com.google.adk.events.Event.Builder
- finishReason(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
- FirestoreDatabaseRunner - Class in com.google.adk.runner
-
FirestoreDatabaseRunner
- FirestoreDatabaseRunner(BaseAgent, Firestore) - Constructor for class com.google.adk.runner.FirestoreDatabaseRunner
-
Constructor for FirestoreDatabaseRunner
- FirestoreDatabaseRunner(BaseAgent, String, Firestore) - Constructor for class com.google.adk.runner.FirestoreDatabaseRunner
-
Constructor for FirestoreDatabaseRunner with appName
- FirestoreDatabaseRunner(BaseAgent, String, List, Firestore) - Constructor for class com.google.adk.runner.FirestoreDatabaseRunner
-
Constructor for FirestoreDatabaseRunner with parent runners
- FirestoreMemoryService - Class in com.google.adk.memory
-
FirestoreMemoryService is an implementation of BaseMemoryService that uses Firestore to store and retrieve session memory entries.
- FirestoreMemoryService(Firestore) - Constructor for class com.google.adk.memory.FirestoreMemoryService
-
Constructor for FirestoreMemoryService
- FirestoreProperties - Class in com.google.adk.utils
-
Placeholder class to test that the FirestoreProperties file is correctly included in the test resources.
- FirestoreSessionService - Class in com.google.adk.sessions
-
FirestoreSessionService implements session management using Google Firestore as the backend storage.
- FirestoreSessionService(Firestore) - Constructor for class com.google.adk.sessions.FirestoreSessionService
-
Constructor for FirestoreSessionService.
- FIXED_DELAY - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.RetryStrategy
-
Retry with fixed delay
- flush() - Method in class com.google.adk.web.service.ApiServerSpanExporter
- fromConfig(BaseAgentConfig, String) - Static method in class com.google.adk.agents.BaseAgent
-
Creates a new agent instance from a configuration object.
- fromConfig(LlmAgentConfig, String) - Static method in class com.google.adk.agents.LlmAgent
-
Creates an LlmAgent from configuration with full subagent support.
- fromConfig(LoopAgentConfig, String) - Static method in class com.google.adk.agents.LoopAgent
-
Creates a LoopAgent from configuration.
- fromConfig(ParallelAgentConfig, String) - Static method in class com.google.adk.agents.ParallelAgent
-
Creates a ParallelAgent from configuration.
- fromConfig(SequentialAgentConfig, String) - Static method in class com.google.adk.agents.SequentialAgent
-
Creates a SequentialAgent from configuration.
- fromConfig(BaseTool.ToolArgsConfig) - Static method in class com.google.adk.tools.ExampleTool
-
Overload to match resolver which passes only ToolArgsConfig.
- fromConfig(BaseTool.ToolArgsConfig, String) - Static method in class com.google.adk.tools.AgentTool
- fromConfig(BaseTool.ToolArgsConfig, String) - Static method in class com.google.adk.tools.ExampleTool
-
Factory from YAML tool args.
- fromConfig(BaseTool.ToolArgsConfig, String) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- fromConfig(BaseTool.ToolConfig, String) - Static method in class com.google.adk.tools.BaseTool
-
Creates a tool instance from a config.
- fromConfig(BaseTool.ToolConfig, String) - Static method in class com.google.adk.tools.mcp.McpToolset
-
Creates a McpToolset instance from a config.
- fromConfig(String) - Static method in class com.google.adk.agents.ConfigAgentUtils
-
Load agent from a YAML config file path.
- fromGenaiPart(Part) - Static method in class com.google.adk.a2a.converters.PartConverter
-
Convert a GenAI part into the A2A JSON representation.
- fromJson(String) - Static method in class com.google.adk.events.Event
-
Parses an event from a JSON string.
- fromJson(String) - Static method in class com.google.adk.sessions.Session
- fromJsonNode(JsonNode, Class) - Static method in class com.google.adk.JsonBaseModel
-
Deserializes a JsonNode to an object of the given type.
- fromJsonString(String) - Static method in class com.google.adk.agents.LiveRequest
-
Deserializes a Json string to a
LiveRequestobject. - fromJsonString(String, Class) - Static method in class com.google.adk.JsonBaseModel
-
Deserializes a Json string to an object of the given type.
- fromMessage(Message) - Static method in record class com.google.adk.a2a.converters.ResponseConverter.MessageSendResult
- fromTask(Task) - Static method in record class com.google.adk.a2a.converters.ResponseConverter.MessageSendResult
- func() - Method in class com.google.adk.tools.FunctionTool
-
Returns the underlying function
Method. - functionCallId() - Method in class com.google.adk.tools.ToolContext
- functionCallId(String) - Method in class com.google.adk.tools.ToolContext.Builder
- functionCallId(String) - Method in class com.google.adk.tools.ToolContext
- FunctionCallingUtils - Class in com.google.adk.tools
-
Utility class for function calling.
- functionCalls() - Method in class com.google.adk.events.Event
-
Returns all function calls from this event.
- functionResponses() - Method in class com.google.adk.events.Event
-
Returns all function responses from this event.
- Functions - Class in com.google.adk.flows.llmflows
-
Utility class for handling function calls.
- FunctionTool - Class in com.google.adk.tools
-
FunctionTool implements a customized function calling tool.
- FunctionTool(Object, Method, boolean) - Constructor for class com.google.adk.tools.FunctionTool
- FunctionTool(Object, Method, boolean, boolean) - Constructor for class com.google.adk.tools.FunctionTool
G
- GcsArtifactService - Class in com.google.adk.artifacts
-
An artifact service implementation using Google Cloud Storage (GCS).
- GcsArtifactService(String, Storage) - Constructor for class com.google.adk.artifacts.GcsArtifactService
-
Initializes the GcsArtifactService.
- Gemini - Class in com.google.adk.models
-
Represents the Gemini Generative AI model.
- Gemini(String, VertexCredentials) - Constructor for class com.google.adk.models.Gemini
-
Constructs a new Gemini instance with a Google Gemini API key.
- Gemini(String, Client) - Constructor for class com.google.adk.models.Gemini
-
Constructs a new Gemini instance.
- Gemini(String, String) - Constructor for class com.google.adk.models.Gemini
-
Constructs a new Gemini instance with a Google Gemini API key.
- Gemini.Builder - Class in com.google.adk.models
-
Builder for
Gemini. - GeminiLlmConnection - Class in com.google.adk.models
-
Manages a persistent, bidirectional connection to the Gemini model via WebSockets for real-time interaction.
- GeminiUtil - Class in com.google.adk.models
-
Request / Response utilities for
Gemini. - generateClientFunctionCallId() - Static method in class com.google.adk.flows.llmflows.Functions
-
Generates a unique ID for a function call.
- generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.ApigeeLlm
- generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.BaseLlm
-
Generates one content from the given LLM request and tools.
- generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.Claude
- generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.Gemini
- generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.langchain4j.LangChain4j
- generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.springai.SpringAI
- generateContentConfig() - Method in class com.google.adk.agents.LlmAgent
- generateContentConfig() - Method in class com.google.adk.agents.LlmAgentConfig
- generateContentConfig(GenerateContentConfig) - Method in class com.google.adk.agents.LlmAgent.Builder
- generateEventId() - Static method in class com.google.adk.events.Event
- generateRequestConfirmationEvent(InvocationContext, Event, Event) - Static method in class com.google.adk.flows.llmflows.Functions
-
Generates a request confirmation event from a function response event.
- get() - Method in class com.google.adk.agents.LiveRequestQueue
- get(Object) - Method in class com.google.adk.sessions.State
- get(String) - Method in class com.google.adk.utils.ComponentRegistry
-
Retrieves an object by name without type checking.
- get(String, Class) - Method in class com.google.adk.utils.ComponentRegistry
-
Retrieves an object by name and attempts to cast it to the specified type.
- getAccumulatedTextLength() - Method in class com.google.adk.models.springai.StreamingResponseAggregator
-
Returns the current accumulated text length.
- getActionOperation(String, String, String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- getActionSchema(String) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
-
Retrieves the input and output JSON schema for a given action.
- getAdditionalProperties() - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
- getAfterAgentCallback() - Method in class com.google.adk.agents.CallbackPlugin
- getAfterAgentCallbacks(List) - Static method in class com.google.adk.agents.CallbackUtil
-
Normalizes after-agent callbacks.
- getAfterModelCallback() - Method in class com.google.adk.agents.CallbackPlugin
- getAfterToolCallback() - Method in class com.google.adk.agents.CallbackPlugin
- getAgentCard() - Method in class com.google.adk.a2a.A2AClient
- getAgentGraphDotSource(BaseAgent, List) - Static method in class com.google.adk.web.AgentGraphGenerator
-
Generates the DOT source string for the agent graph.
- getAllExportedSpans() - Method in class com.google.adk.web.service.ApiServerSpanExporter
- getAppName() - Method in class com.google.adk.web.dto.AgentRunRequest
- getAskUserConfirmationFunctionCalls(Event) - Static method in class com.google.adk.flows.llmflows.Functions
-
Gets the ask user confirmation function calls from the event.
- getBeforeAgentCallback() - Method in class com.google.adk.agents.CallbackPlugin
- getBeforeAgentCallbacks(List) - Static method in class com.google.adk.agents.CallbackUtil
-
Normalizes before-agent callbacks.
- getBeforeModelCallback() - Method in class com.google.adk.agents.CallbackPlugin
- getBeforeToolCallback() - Method in class com.google.adk.agents.CallbackPlugin
- getBuildOutputDirs() - Method in class com.google.adk.web.config.AgentLoadingProperties
- getCategory() - Method in class com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- getConnectionDetails() - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
-
Retrieves service details for a given connection.
- getConnectorBaseSpec() - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- getCurrentTime(String) - Static method in class com.google.adk.tutorials.CityTimeWeather
- getDeclaration() - Method in class com.google.adk.models.springai.ToolConverter.ToolMetadata
- getDescription() - Method in class com.google.adk.models.springai.ToolConverter.ToolMetadata
- getDotSrc() - Method in class com.google.adk.web.dto.GraphResponse
- getEmbeddingModel() - Method in class com.google.adk.models.springai.SpringAIEmbedding
-
Get the underlying Spring AI embedding model.
- getEntitySchemaAndOperations(String) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
-
Retrieves the JSON schema and available operations for a given entity.
- getErrorCount(String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Gets the error count from the session state.
- getEvalId() - Method in class com.google.adk.web.dto.AddSessionToEvalSetRequest
- getEvalIds() - Method in class com.google.adk.web.dto.RunEvalRequest
- getEvalMetrics() - Method in class com.google.adk.web.dto.RunEvalRequest
- getEvalResult(String, String) - Method in class com.google.adk.web.controller.EvaluationController
-
Gets a specific evaluation result.
- getEventGraph(String, String, String, String) - Method in class com.google.adk.web.controller.GraphController
-
Endpoint to get a graph representation of an event (currently returns a placeholder).
- getEventTraceAttributes(String) - Method in class com.google.adk.web.service.ApiServerSpanExporter
- getExamples(String) - Method in interface com.google.adk.examples.BaseExampleProvider
- getExecutionId() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Gets the session ID for the code executor.
- getFinalResponse() - Method in class com.google.adk.models.springai.StreamingResponseAggregator
-
Returns the final aggregated response and resets the aggregator.
- getFirebaseRootCollectionName() - Method in class com.google.adk.utils.FirestoreProperties
-
Get the root collection name from the properties file, or return the default value if not found.
- getFirstSystemInstruction() - Method in class com.google.adk.models.LlmRequest
-
returns the first system instruction text from the request if present.
- getGcsAdkBucketName() - Method in class com.google.adk.utils.FirestoreProperties
-
Get the GCS ADK bucket name from the properties file.
- getGoogleCredentials(String) - Method in interface com.google.adk.tools.applicationintegrationtoolset.CredentialsHelper
-
Converts a service account JSON string to a Google Credentials object.
- getGoogleCredentials(String) - Method in class com.google.adk.tools.applicationintegrationtoolset.GoogleCredentialsHelper
- getInputFiles() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Gets the code executor input file names from the session state.
- getInstance() - Static method in class com.google.adk.utils.ComponentRegistry
-
Returns the global singleton instance of ComponentRegistry.
- getInstance() - Static method in class com.google.adk.utils.FirestoreProperties
-
Returns a singleton instance of FirestoreProperties.
- getInstruction() - Method in record class com.google.adk.agents.Instruction.Provider
-
Returns the value of the
getInstructionrecord component. - getLastUpdateTimeAsDouble() - Method in class com.google.adk.sessions.Session
- getLlm(String) - Static method in class com.google.adk.models.LlmRegistry
-
Returns an LLM instance for the given model name, using a cached or new factory-created instance.
- getLongRunningFunctionCalls(List, Map) - Static method in class com.google.adk.flows.llmflows.Functions
- getMapper() - Static method in class com.google.adk.JsonBaseModel
- getMaxTokens() - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- getMcpSession() - Method in class com.google.adk.tools.mcp.AbstractMcpTool
- getMeterRegistry() - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler
-
Gets the Micrometer MeterRegistry for direct access to metrics.
- getModel() - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- getModelName() - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler.RequestContext
- getName() - Method in class com.google.adk.agents.CallbackPlugin
- getName() - Method in class com.google.adk.models.springai.ToolConverter.ToolMetadata
- getName() - Method in class com.google.adk.plugins.BasePlugin
- getName() - Method in interface com.google.adk.plugins.Plugin
- getName() - Method in class com.google.adk.plugins.PluginManager
- getNewMessage() - Method in class com.google.adk.web.dto.AgentRunRequest
- getNormalizedMessage() - Method in class com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- getObservability() - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- getOperation(String, String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- getOperationRequest() - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- getOrDefault(String, T) - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
- getOrEmpty(String, TypeReference) - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
- getPart0FromLlmResponse(LlmResponse) - Static method in class com.google.adk.models.GeminiUtil
-
Extracts the first part of an LlmResponse, if available.
- getPlugin() - Method in class com.google.adk.agents.BaseAgent
- getPlugin(String) - Method in class com.google.adk.plugins.PluginManager
-
Retrieves a registered plugin by its name.
- getProcessedFileNames() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Gets the processed file names from the session state.
- getProperty(String) - Method in class com.google.adk.utils.FirestoreProperties
-
Functionality to read a property from the loaded properties file.
- getRequestType() - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler.RequestContext
- getResponseBody() - Method in class com.google.adk.sessions.ApiResponse
-
Gets the HttpEntity.
- getResponseBody() - Method in class com.google.adk.sessions.HttpApiResponse
-
Returns the HttpEntity from the response.
- getRetryDelay(int) - Method in class com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- getRetryDelay(SpringAIErrorMapper.RetryStrategy, int) - Static method in class com.google.adk.models.springai.error.SpringAIErrorMapper
-
Gets the recommended delay before retrying based on the retry strategy.
- getRetryStrategy() - Method in class com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- getRunner(String) - Method in class com.google.adk.web.service.RunnerService
-
Gets the Runner instance for a given application name.
- getSession(String, String, String) - Method in class com.google.adk.web.controller.SessionController
-
Retrieves a specific session by its ID.
- getSession(String, String, String, Optional) - Method in interface com.google.adk.sessions.BaseSessionService
-
Retrieves a specific session, optionally filtering the events included.
- getSession(String, String, String, Optional) - Method in class com.google.adk.sessions.FirestoreSessionService
-
Retrieves a session by appName, userId, and sessionId from Firestore.
- getSession(String, String, String, Optional) - Method in class com.google.adk.sessions.InMemorySessionService
- getSession(String, String, String, Optional) - Method in class com.google.adk.sessions.VertexAiSessionService
- GetSessionConfig - Class in com.google.adk.sessions
-
Configuration for getting a session.
- GetSessionConfig() - Constructor for class com.google.adk.sessions.GetSessionConfig
- GetSessionConfig.Builder - Class in com.google.adk.sessions
-
Builder for
GetSessionConfig. - getSessionId() - Method in class com.google.adk.web.dto.AddSessionToEvalSetRequest
- getSessionId() - Method in class com.google.adk.web.dto.AgentRunRequest
- getSessionToTraceIdsMap() - Method in class com.google.adk.web.service.ApiServerSpanExporter
- getSessionTrace(String) - Method in class com.google.adk.web.controller.DebugController
-
Retrieves trace spans for a given session ID.
- getSourceDir() - Method in class com.google.adk.web.config.AgentLoadingProperties
- getStartTime() - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler.RequestContext
- getState() - Method in class com.google.adk.web.dto.SessionRequest
- getStateDelta() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Gets the state delta to update in the persistent session state.
- getStateDelta() - Method in class com.google.adk.web.dto.AgentRunRequest
- getStopWords() - Method in class com.google.adk.utils.FirestoreProperties
-
Get the stop words for keyword extraction from the properties file, or return the default set if not found.
- getStreaming() - Method in class com.google.adk.web.dto.AgentRunRequest
- getSystemInstructions() - Method in class com.google.adk.models.LlmRequest
-
Returns all system instruction texts from the request as an immutable list.
- getTemperature() - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- getTextFromLlmResponse(LlmResponse) - Static method in class com.google.adk.models.GeminiUtil
-
Extracts text content from the first part of an LlmResponse, if available.
- getTimerSample() - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler.RequestContext
- getToolNamesWithPrefix(String) - Method in class com.google.adk.utils.ComponentRegistry
- getToolRegistry(LlmRequest) - Method in class com.google.adk.models.springai.MessageConverter
-
Gets tool registry from ADK tools for internal tracking.
- getTools(ReadonlyContext) - Method in class com.google.adk.tools.applicationintegrationtoolset.ApplicationIntegrationToolset
- getTools(ReadonlyContext) - Method in interface com.google.adk.tools.BaseToolset
-
Return all tools in the toolset based on the provided context.
- getTools(ReadonlyContext) - Method in class com.google.adk.tools.mcp.McpAsyncToolset
- getTools(ReadonlyContext) - Method in class com.google.adk.tools.mcp.McpToolset
- getTopK() - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- getTopP() - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- getTraceDict(String) - Method in class com.google.adk.web.controller.DebugController
-
Endpoint for retrieving trace information stored by the ApiServerSpanExporter, based on event ID.
- getTracer() - Static method in class com.google.adk.Telemetry
-
Gets the tracer.
- getUrl() - Method in class com.google.adk.a2a.A2AClient
- getUserId() - Method in class com.google.adk.web.dto.AddSessionToEvalSetRequest
- getUserId() - Method in class com.google.adk.web.dto.AgentRunRequest
- getValidation() - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- getWeather(String) - Static method in class com.google.adk.tutorials.CityTimeWeather
- getWeather(String) - Static method in class com.google.adk.tutorials.LiveAudioSingleAgent
- globalInstruction() - Method in class com.google.adk.agents.LlmAgent
- globalInstruction(Instruction) - Method in class com.google.adk.agents.LlmAgent.Builder
- globalInstruction(String) - Method in class com.google.adk.agents.LlmAgent.Builder
- GoogleCredentialsHelper - Class in com.google.adk.tools.applicationintegrationtoolset
- GoogleCredentialsHelper() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.GoogleCredentialsHelper
- GoogleMapsTool - Class in com.google.adk.tools
-
A built-in tool that is automatically invoked by Gemini 2 models to retrieve search results from Google Maps.
- GoogleMapsTool() - Constructor for class com.google.adk.tools.GoogleMapsTool
- GoogleSearchAgentTool - Class in com.google.adk.tools
-
A tool that wraps a sub-agent that only uses google_search tool.
- GoogleSearchAgentTool(LlmAgent) - Constructor for class com.google.adk.tools.GoogleSearchAgentTool
- GoogleSearchTool - Class in com.google.adk.tools
-
A built-in tool that is automatically invoked by Gemini 2 models to retrieve search results from Google Search.
- GoogleSearchTool() - Constructor for class com.google.adk.tools.GoogleSearchTool
- GraphController - Class in com.google.adk.web.controller
-
Controller handling graph generation endpoints.
- GraphController(BaseSessionService, AgentLoader) - Constructor for class com.google.adk.web.controller.GraphController
- GraphResponse - Class in com.google.adk.web.dto
-
DTO for the response of GET /apps/{appName}/users/{userId}/sessions/{sessionId}/events/{eventId}/graph.
- GraphResponse() - Constructor for class com.google.adk.web.dto.GraphResponse
- GraphResponse(String) - Constructor for class com.google.adk.web.dto.GraphResponse
-
Constructs a GraphResponse.
- groundingMetadata() - Method in class com.google.adk.events.Event
-
The grounding metadata of the event.
- groundingMetadata() - Method in class com.google.adk.models.LlmResponse
-
Returns the grounding metadata of the first candidate in the response, if available.
- groundingMetadata(GroundingMetadata) - Method in class com.google.adk.events.Event.Builder
- groundingMetadata(GroundingMetadata) - Method in class com.google.adk.models.LlmResponse.Builder
- groundingMetadata(Optional) - Method in class com.google.adk.events.Event.Builder
- groundingMetadata(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
H
- handle(SendMessageRequest) - Method in class com.google.adk.webservice.A2ARemoteService
- handleFunctionCalls(InvocationContext, Event, Map) - Static method in class com.google.adk.flows.llmflows.Functions
-
Handles standard, non-streaming function calls.
- handleFunctionCalls(InvocationContext, Event, Map, Map) - Static method in class com.google.adk.flows.llmflows.Functions
-
Handles standard, non-streaming function calls with tool confirmations.
- handleFunctionCallsLive(InvocationContext, Event, Map) - Static method in class com.google.adk.flows.llmflows.Functions
-
Handles function calls in a live/streaming context, supporting background execution and stream termination.
- handleFunctionCallsLive(InvocationContext, Event, Map, Map) - Static method in class com.google.adk.flows.llmflows.Functions
-
Handles function calls in a live/streaming context with tool confirmations, supporting background execution and stream termination.
- handleTextMessage(WebSocketSession, TextMessage) - Method in class com.google.adk.web.websocket.LiveWebSocketHandler
- handleTransportError(WebSocketSession, Throwable) - Method in class com.google.adk.web.websocket.LiveWebSocketHandler
- hasDelta() - Method in class com.google.adk.sessions.State
- hashCode() - Method in record class com.google.adk.a2a.converters.ResponseConverter.MessageSendResult
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.adk.agents.Instruction.Provider
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.adk.agents.Instruction.Static
-
Returns a hash code value for this object.
- hashCode() - Method in class com.google.adk.agents.InvocationContext
- hashCode() - Method in class com.google.adk.events.Event
- hashCode() - Method in class com.google.adk.events.EventActions
- hashCode() - Method in record class com.google.adk.flows.llmflows.ResumabilityConfig
-
Returns a hash code value for this object.
- hashCode() - Method in class com.google.adk.sessions.State
- hashCode() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.adk.tools.LoadMemoryResponse
-
Returns a hash code value for this object.
- hashCode() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns a hash code value for this object.
- hasTrailingCodeExecutionResult() - Method in class com.google.adk.events.Event
-
Returns whether the event has a trailing code execution result.
- headers() - Method in class com.google.adk.tools.mcp.SseServerParameters
-
Optional headers to include in the SSE connection request.
- headers() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
- headers() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
headersrecord component. - headers(Map) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Sets the headers for the SSE connection request.
- headers(Map) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
- HelloWorldAgent - Class in com.example.helloworld
-
Implements a simple agent that can roll a die and check prime numbers.
- HelloWorldRun - Class in com.example.helloworld
- HelpMojo - Class in com.google.adk.google_adk_maven_plugin
-
Display help information on google-adk-maven-plugin.
Callmvn google-adk:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class com.google.adk.google_adk_maven_plugin.HelpMojo
- hint() - Method in class com.google.adk.events.ToolConfirmation
- hint(String) - Method in class com.google.adk.events.ToolConfirmation.Builder
- historyEvents - Variable in class com.google.adk.a2a.converters.ConversationPreprocessor.PreparedInput
-
Historical events that should remain in the session transcript.
- host - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
- HttpApiClient - Class in com.google.adk.sessions
-
Base client for the HTTP APIs.
- HttpApiResponse - Class in com.google.adk.sessions
-
Wraps a real HTTP response to expose the methods needed by the GenAI SDK.
- HttpApiResponse(Response) - Constructor for class com.google.adk.sessions.HttpApiResponse
-
Constructs a HttpApiResponse instance with the response.
I
- id() - Method in class com.google.adk.events.Event
-
The event id.
- id() - Method in class com.google.adk.sessions.Session
- id(String) - Method in class com.google.adk.events.Event.Builder
- id(String) - Method in class com.google.adk.sessions.Session.Builder
- Identity - Class in com.google.adk.flows.llmflows
-
RequestProcessorthat gives the agent identity from the framework - Identity() - Constructor for class com.google.adk.flows.llmflows.Identity
- IMMEDIATE_RETRY - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.RetryStrategy
-
Retry immediately (for transient network issues)
- includeContents() - Method in class com.google.adk.agents.LlmAgent
- includeContents() - Method in class com.google.adk.agents.LlmAgentConfig
- includeContents(LlmAgent.IncludeContents) - Method in class com.google.adk.agents.LlmAgent.Builder
- incrementErrorCount(String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Increments the error count from the session state.
- incrementLlmCallsCount() - Method in class com.google.adk.agents.InvocationContext
-
Increments the count of LLM calls made during this invocation and throws an exception if the limit defined in
RunConfigis exceeded. - initializeAsyncSession(Object) - Static method in class com.google.adk.tools.mcp.McpSessionManager
- initializeAsyncSession(Object, McpTransportBuilder) - Static method in class com.google.adk.tools.mcp.McpSessionManager
- initializeSession(Object) - Static method in class com.google.adk.tools.mcp.McpSessionManager
- initializeSession(Object, McpTransportBuilder) - Static method in class com.google.adk.tools.mcp.McpSessionManager
- injectSessionState(InvocationContext, String) - Static method in class com.google.adk.utils.InstructionUtils
-
Populates placeholders in an instruction template string with values from the session state or loaded artifacts.
- InMemoryArtifactService - Class in com.google.adk.artifacts
-
An in-memory implementation of the
BaseArtifactService. - InMemoryArtifactService() - Constructor for class com.google.adk.artifacts.InMemoryArtifactService
- InMemoryMemoryService - Class in com.google.adk.memory
-
An in-memory memory service for prototyping purposes only.
- InMemoryMemoryService() - Constructor for class com.google.adk.memory.InMemoryMemoryService
- InMemoryRunner - Class in com.google.adk.runner
-
The class for the in-memory GenAi runner, using in-memory artifact and session services.
- InMemoryRunner(BaseAgent) - Constructor for class com.google.adk.runner.InMemoryRunner
- InMemoryRunner(BaseAgent, String) - Constructor for class com.google.adk.runner.InMemoryRunner
- InMemoryRunner(BaseAgent, String, List) - Constructor for class com.google.adk.runner.InMemoryRunner
- InMemorySessionService - Class in com.google.adk.sessions
-
An in-memory implementation of
BaseSessionServiceassumingSessionobjects are mutable regarding their state map, events list, and last update time. - InMemorySessionService() - Constructor for class com.google.adk.sessions.InMemorySessionService
-
Creates a new instance of the in-memory session service with empty storage.
- input() - Method in class com.google.adk.examples.Example
- input(Content) - Method in class com.google.adk.examples.Example.Builder
- inputAudioTranscription() - Method in class com.google.adk.agents.RunConfig
- inputFiles() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
-
The input files available to the code.
- inputFiles(List) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
- inputSchema - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
- inputSchema() - Method in class com.google.adk.agents.LlmAgent
- inputSchema(Schema) - Method in class com.google.adk.agents.LlmAgent.Builder
- INSTANCE - Static variable in class com.example.CustomDemoRegistry
-
Singleton instance for easy access
- INSTANCE - Static variable in class com.example.LifeAgent
- INSTANCE - Static variable in class com.google.adk.tools.ExitLoopTool
- INSTANCE - Static variable in class com.google.adk.tools.GoogleMapsTool
- INSTANCE - Static variable in class com.google.adk.tools.GoogleSearchTool
- INSTANCE - Static variable in class com.google.adk.tools.LoadArtifactsTool
- INSTANCE - Static variable in class com.google.adk.tools.UrlContextTool
- instruction() - Method in record class com.google.adk.agents.Instruction.Static
-
Returns the value of the
instructionrecord component. - instruction() - Method in class com.google.adk.agents.LlmAgent
- instruction() - Method in class com.google.adk.agents.LlmAgentConfig
- instruction(Instruction) - Method in class com.google.adk.agents.LlmAgent.Builder
- instruction(String) - Method in class com.google.adk.agents.LlmAgent.Builder
- Instruction - Interface in com.google.adk.agents
-
Represents an instruction that can be provided to an agent to guide its behavior.
- Instruction.Provider - Record Class in com.google.adk.agents
-
Returns an instruction dynamically constructed from the given context.
- Instruction.Static - Record Class in com.google.adk.agents
-
Plain instruction directly provided to the agent.
- Instructions - Class in com.google.adk.flows.llmflows
-
RequestProcessorthat handles instructions and global instructions for LLM flows. - Instructions() - Constructor for class com.google.adk.flows.llmflows.Instructions
- InstructionUtils - Class in com.google.adk.utils
-
Utility methods for handling instruction templates.
- IntegrationClient - Class in com.google.adk.tools.applicationintegrationtoolset
-
Utility class for interacting with Google Cloud Application Integration.
- IntegrationConnectorTool - Class in com.google.adk.tools.applicationintegrationtoolset
-
Application Integration Tool
- interrupted() - Method in class com.google.adk.events.Event
- interrupted() - Method in class com.google.adk.models.LlmResponse
-
Indicates that LLM was interrupted when generating the content.
- interrupted(Boolean) - Method in class com.google.adk.events.Event.Builder
- interrupted(Boolean) - Method in class com.google.adk.models.LlmResponse.Builder
- interrupted(Optional) - Method in class com.google.adk.events.Event.Builder
- interrupted(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
- invalidMessageStructure(String) - Static method in exception class com.google.adk.models.springai.MessageConversionException
-
Creates a MessageConversionException for invalid message structure.
- invocationContext - Variable in class com.google.adk.agents.ReadonlyContext
- invocationContext() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns the invocation context.
- InvocationContext - Class in com.google.adk.agents
-
The context for an agent invocation.
- InvocationContext(InvocationContext.Builder) - Constructor for class com.google.adk.agents.InvocationContext
- InvocationContext(BaseSessionService, BaseArtifactService, BaseMemoryService, Plugin, Optional, Optional, String, BaseAgent, Session, Optional, RunConfig, boolean) - Constructor for class com.google.adk.agents.InvocationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
InvocationContext.builder()instead. - InvocationContext(BaseSessionService, BaseArtifactService, BaseMemoryService, Optional, Optional, String, BaseAgent, Session, Optional, RunConfig, boolean) - Constructor for class com.google.adk.agents.InvocationContext
-
Deprecated, for removal: This API element is subject to removal in a future version.Use
InvocationContext.builder()instead. - InvocationContext.Builder - Class in com.google.adk.agents
-
Builder for
InvocationContext. - invocationId() - Method in class com.google.adk.agents.InvocationContext
-
Returns the unique ID for this invocation.
- invocationId() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns the ID of the current invocation.
- invocationId() - Method in class com.google.adk.events.Event
-
Id of the invocation that this event belongs to.
- invocationId(String) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the unique ID for the invocation.
- invocationId(String) - Method in class com.google.adk.events.Event.Builder
- isConfigurationValid(Optional) - Method in class com.google.adk.models.springai.ConfigMapper
-
Validates that the configuration is compatible with Spring AI.
- isEmpty() - Method in class com.google.adk.models.springai.StreamingResponseAggregator
-
Returns true if no content has been processed yet.
- isEmpty() - Method in class com.google.adk.sessions.State
- isEmpty() - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
- isEnabled() - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Observability
- isEnabled() - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Validation
- isFailFast() - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Validation
- isGemini2Model(String) - Static method in class com.google.adk.utils.ModelNameUtils
- isIncludeContent() - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Observability
- isMetricsEnabled() - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Observability
- isNullOrEmpty(Iterable) - Static method in class com.google.adk.utils.CollectionUtils
-
Checks if the given iterable is null or empty.
- isObservable() - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler.RequestContext
- isResumable() - Method in class com.google.adk.agents.InvocationContext
-
Returns whether the current invocation is resumable.
- isResumable() - Method in record class com.google.adk.flows.llmflows.ResumabilityConfig
-
Returns the value of the
isResumablerecord component. - isRetryable() - Method in class com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- isRetryable(SpringAIErrorMapper.ErrorCategory) - Static method in class com.google.adk.models.springai.error.SpringAIErrorMapper
-
Determines if an error is retryable based on its category.
- isStreaming() - Method in class com.google.adk.tools.FunctionTool
-
Returns true if the wrapped function returns a Flowable and can be used for streaming.
- isToolSelected(BaseTool, Optional, Optional) - Method in interface com.google.adk.tools.BaseToolset
-
Helper method to be used by implementers that returns true if the given tool is in the provided list of tools of if testing against the given ToolPredicate returns true (otherwise false).
- iterator() - Method in class com.google.adk.events.EventStream
-
Returns an iterator that fetches events lazily.
J
- jacksonBuilder() - Static method in class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
- JAVA_ADK_VERSION - Static variable in class com.google.adk.Version
- JsonBaseModel - Class in com.google.adk
-
The base class for the types that needs JSON serialization/deserialization capability.
- JsonBaseModel() - Constructor for class com.google.adk.JsonBaseModel
- jsonParsingFailed(String, Throwable) - Static method in exception class com.google.adk.models.springai.MessageConversionException
-
Creates a MessageConversionException for JSON parsing failures.
K
- KEY_APP_NAME - Static variable in class com.google.adk.utils.Constants
-
appName
- KEY_AUTHOR - Static variable in class com.google.adk.utils.Constants
-
author
- KEY_ID - Static variable in class com.google.adk.utils.Constants
-
id
- KEY_MODEL - Static variable in class com.google.adk.utils.Constants
-
model
- KEY_STATE - Static variable in class com.google.adk.utils.Constants
-
state
- KEY_TIMESTAMP - Static variable in class com.google.adk.utils.Constants
-
timestamp
- KEY_UPDATE_TIME - Static variable in class com.google.adk.utils.Constants
-
updateTime
- KEY_USER - Static variable in class com.google.adk.utils.Constants
-
user
- KEY_USER_ID - Static variable in class com.google.adk.utils.Constants
-
userId
- keySet() - Method in class com.google.adk.sessions.State
L
- LangChain4j - Class in com.google.adk.models.langchain4j
- LangChain4j(ChatModel) - Constructor for class com.google.adk.models.langchain4j.LangChain4j
- LangChain4j(ChatModel, StreamingChatModel, String) - Constructor for class com.google.adk.models.langchain4j.LangChain4j
- LangChain4j(ChatModel, String) - Constructor for class com.google.adk.models.langchain4j.LangChain4j
- LangChain4j(StreamingChatModel) - Constructor for class com.google.adk.models.langchain4j.LangChain4j
- LangChain4j(StreamingChatModel, String) - Constructor for class com.google.adk.models.langchain4j.LangChain4j
- lastUpdateTime() - Method in class com.google.adk.sessions.Session
- lastUpdateTime(Instant) - Method in class com.google.adk.sessions.Session.Builder
- lastUpdateTime(Instant) - Method in class com.google.adk.sessions.Session
- lastUpdateTimeSeconds(double) - Method in class com.google.adk.sessions.Session.Builder
- legacyTransferToAgent(String, ToolContext) - Static method in class com.google.adk.flows.llmflows.AgentTransfer
-
Backwards compatible transferToAgent that uses camel-case naming instead of the ADK's snake_case convention.
- LifeAgent - Class in com.example
-
Life agent for answering questions about life.
- listAgents() - Method in interface com.google.adk.maven.AgentLoader
-
Returns a list of available agent names.
- listAgents() - Method in class com.google.adk.maven.ConfigAgentLoader
- listAgents() - Method in interface com.google.adk.web.AgentLoader
-
Returns a list of available agent names.
- listAgents() - Method in class com.google.adk.web.AgentStaticLoader
- listAgents() - Method in class com.google.adk.web.CompiledAgentLoader
- listApps() - Method in class com.google.adk.web.controller.AgentController
-
Lists available applications.
- listArtifactKeys(String, String, String) - Method in interface com.google.adk.artifacts.BaseArtifactService
-
Lists all the artifact filenames within a session.
- listArtifactKeys(String, String, String) - Method in class com.google.adk.artifacts.GcsArtifactService
-
Lists artifact filenames for a user and session.
- listArtifactKeys(String, String, String) - Method in class com.google.adk.artifacts.InMemoryArtifactService
-
Lists filenames of stored artifacts for the session.
- listArtifactNames(String, String, String) - Method in class com.google.adk.web.controller.ArtifactController
-
Lists the names of all artifacts associated with a session.
- listArtifacts() - Method in class com.google.adk.agents.CallbackContext
-
Lists the filenames of the artifacts attached to the current session.
- ListArtifactsResponse - Class in com.google.adk.artifacts
-
Response for listing artifacts.
- ListArtifactsResponse() - Constructor for class com.google.adk.artifacts.ListArtifactsResponse
- ListArtifactsResponse.Builder - Class in com.google.adk.artifacts
-
Builder for
ListArtifactsResponse. - listArtifactVersions(String, String, String, String) - Method in class com.google.adk.web.controller.ArtifactController
-
Lists the available versions for a specific artifact.
- ListArtifactVersionsResponse - Class in com.google.adk.artifacts
-
Response for listing artifact versions.
- ListArtifactVersionsResponse() - Constructor for class com.google.adk.artifacts.ListArtifactVersionsResponse
- ListArtifactVersionsResponse.Builder - Class in com.google.adk.artifacts
-
Builder for
ListArtifactVersionsResponse. - listEvalResults(String) - Method in class com.google.adk.web.controller.EvaluationController
-
Lists all evaluation results for an app.
- listEvalSets(String) - Method in class com.google.adk.web.controller.EvaluationController
-
Placeholder for listing evaluation sets.
- listEvalsInEvalSet(String, String) - Method in class com.google.adk.web.controller.EvaluationController
-
Placeholder for listing evaluations within an evaluation set.
- listEvents(String, String, String) - Method in interface com.google.adk.sessions.BaseSessionService
-
Lists the events within a specific session.
- listEvents(String, String, String) - Method in class com.google.adk.sessions.FirestoreSessionService
-
Lists all events for a given appName, userId, and sessionId.
- listEvents(String, String, String) - Method in class com.google.adk.sessions.InMemorySessionService
- listEvents(String, String, String) - Method in class com.google.adk.sessions.VertexAiSessionService
- ListEventsResponse - Class in com.google.adk.sessions
-
Response for listing events.
- ListEventsResponse() - Constructor for class com.google.adk.sessions.ListEventsResponse
- ListEventsResponse.Builder - Class in com.google.adk.sessions
-
Builder for
ListEventsResponse. - listOperation(String, String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- listOperationRequest() - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- listSessions(String, String) - Method in interface com.google.adk.sessions.BaseSessionService
-
Lists sessions associated with a specific application and user.
- listSessions(String, String) - Method in class com.google.adk.sessions.FirestoreSessionService
-
Lists all sessions for a given appName and userId.
- listSessions(String, String) - Method in class com.google.adk.sessions.InMemorySessionService
- listSessions(String, String) - Method in class com.google.adk.sessions.VertexAiSessionService
- listSessions(String, String) - Method in class com.google.adk.web.controller.SessionController
-
Lists all non-evaluation sessions for a given app and user.
- ListSessionsResponse - Class in com.google.adk.sessions
-
Response for listing sessions.
- ListSessionsResponse() - Constructor for class com.google.adk.sessions.ListSessionsResponse
- ListSessionsResponse.Builder - Class in com.google.adk.sessions
-
Builder for
ListSessionsResponse. - listVersions(String, String, String, String) - Method in interface com.google.adk.artifacts.BaseArtifactService
-
Lists all the versions (as revision IDs) of an artifact.
- listVersions(String, String, String, String) - Method in class com.google.adk.artifacts.GcsArtifactService
-
Lists all available versions for a given artifact.
- listVersions(String, String, String, String) - Method in class com.google.adk.artifacts.InMemoryArtifactService
-
Lists all versions of the specified artifact.
- LiveAudioSingleAgent - Class in com.google.adk.tutorials
- LiveAudioSingleAgent() - Constructor for class com.google.adk.tutorials.LiveAudioSingleAgent
- liveConnectConfig() - Method in class com.google.adk.models.LlmRequest
-
Returns the configuration for live connections.
- liveConnectConfig(LiveConnectConfig) - Method in class com.google.adk.models.LlmRequest.Builder
- LiveRequest - Class in com.google.adk.agents
-
Represents a request to be sent to a live connection to the LLM model.
- LiveRequest.Builder - Class in com.google.adk.agents
-
Builder for constructing
LiveRequestinstances. - liveRequestQueue() - Method in class com.google.adk.agents.InvocationContext
-
Returns the queue for managing live requests, if available for this invocation.
- liveRequestQueue(LiveRequestQueue) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the queue for managing live requests.
- liveRequestQueue(Optional) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Deprecated, for removal: This API element is subject to removal in a future version.
- LiveRequestQueue - Class in com.google.adk.agents
-
A queue of live requests to be sent to the model.
- LiveRequestQueue() - Constructor for class com.google.adk.agents.LiveRequestQueue
- LiveWebSocketHandler - Class in com.google.adk.web.websocket
-
WebSocket Handler for the /run_live endpoint.
- LiveWebSocketHandler(ObjectMapper, BaseSessionService, RunnerService) - Constructor for class com.google.adk.web.websocket.LiveWebSocketHandler
- LlmAgent - Class in com.google.adk.agents
-
The LLM-based agent.
- LlmAgent(LlmAgent.Builder) - Constructor for class com.google.adk.agents.LlmAgent
- LlmAgent.Builder - Class in com.google.adk.agents
-
Builder for
LlmAgent. - LlmAgent.IncludeContents - Enum Class in com.google.adk.agents
-
Enum to define if contents of previous events should be included in requests to the underlying LLM.
- LlmAgentConfig - Class in com.google.adk.agents
-
Configuration for LlmAgent.
- LlmAgentConfig() - Constructor for class com.google.adk.agents.LlmAgentConfig
- LlmCallsLimitExceededException - Exception Class in com.google.adk.models
-
An error indicating that the limit for calls to the LLM has been exceeded.
- LlmCallsLimitExceededException(String) - Constructor for exception class com.google.adk.models.LlmCallsLimitExceededException
- LlmEventSummarizer - Class in com.google.adk.summarizer
-
An LLM-based event summarizer for sliding window compaction.
- LlmEventSummarizer(BaseLlm) - Constructor for class com.google.adk.summarizer.LlmEventSummarizer
- LlmEventSummarizer(BaseLlm, String) - Constructor for class com.google.adk.summarizer.LlmEventSummarizer
- llmRecording() - Method in class com.google.adk.plugins.recordings.Recording
-
LLM request-response pair.
- llmRecording(LlmRecording) - Method in class com.google.adk.plugins.recordings.Recording.Builder
- LlmRecording - Class in com.google.adk.plugins.recordings
-
Paired LLM request and response for replay.
- LlmRecording() - Constructor for class com.google.adk.plugins.recordings.LlmRecording
- LlmRecording.Builder - Class in com.google.adk.plugins.recordings
-
Builder for LlmRecording.
- LlmRegistry - Class in com.google.adk.models
-
Central registry for managing Large Language Model (LLM) instances.
- LlmRegistry.LlmFactory - Interface in com.google.adk.models
-
The factory interface for creating LLM instances.
- llmRequest() - Method in class com.google.adk.plugins.recordings.LlmRecording
-
The LLM request.
- llmRequest(LlmRequest) - Method in class com.google.adk.plugins.recordings.LlmRecording.Builder
- LlmRequest - Class in com.google.adk.models
-
Represents a request to be sent to the LLM.
- LlmRequest() - Constructor for class com.google.adk.models.LlmRequest
- LlmRequest.Builder - Class in com.google.adk.models
-
Builder for constructing
LlmRequestinstances. - llmResponse() - Method in class com.google.adk.plugins.recordings.LlmRecording
-
The LLM response.
- llmResponse(LlmResponse) - Method in class com.google.adk.plugins.recordings.LlmRecording.Builder
- LlmResponse - Class in com.google.adk.models
-
Represents a response received from the LLM.
- LlmResponse.Builder - Class in com.google.adk.models
-
Builder for constructing
LlmResponseinstances. - load(InputStream) - Static method in class com.google.adk.plugins.recordings.RecordingsLoader
-
Loads recordings from a YAML input stream.
- load(String) - Static method in class com.google.adk.plugins.recordings.RecordingsLoader
-
Loads recordings from a YAML string.
- load(Path) - Static method in class com.google.adk.plugins.recordings.RecordingsLoader
-
Loads recordings from a YAML file.
- loadAgent(String) - Method in interface com.google.adk.maven.AgentLoader
-
Loads the BaseAgent instance for the specified agent name.
- loadAgent(String) - Method in class com.google.adk.maven.ConfigAgentLoader
- loadAgent(String) - Method in interface com.google.adk.web.AgentLoader
-
Loads the BaseAgent instance for the specified agent name.
- loadAgent(String) - Method in class com.google.adk.web.AgentStaticLoader
- loadAgent(String) - Method in class com.google.adk.web.CompiledAgentLoader
- loadArtifact(String, String, String, String, Integer) - Method in class com.google.adk.web.controller.ArtifactController
-
Loads the latest or a specific version of an artifact associated with a session.
- loadArtifact(String, String, String, String, Optional) - Method in interface com.google.adk.artifacts.BaseArtifactService
-
Gets an artifact.
- loadArtifact(String, String, String, String, Optional) - Method in class com.google.adk.artifacts.GcsArtifactService
-
Loads an artifact from GCS.
- loadArtifact(String, String, String, String, Optional) - Method in class com.google.adk.artifacts.InMemoryArtifactService
-
Loads an artifact by version or latest.
- loadArtifact(String, Optional) - Method in class com.google.adk.agents.CallbackContext
-
Loads an artifact from the artifact service associated with the current session.
- LoadArtifactsTool - Class in com.google.adk.tools
-
A tool that loads artifacts and adds them to the session.
- LoadArtifactsTool() - Constructor for class com.google.adk.tools.LoadArtifactsTool
- loadArtifactVersion(String, String, String, String, int) - Method in class com.google.adk.web.controller.ArtifactController
-
Loads a specific version of an artifact.
- loadMemory(String, ToolContext) - Static method in class com.google.adk.tools.LoadMemoryTool
-
Loads the memory for the current user.
- LoadMemoryResponse - Record Class in com.google.adk.tools
-
The response from a load memory tool invocation.
- LoadMemoryResponse(List) - Constructor for record class com.google.adk.tools.LoadMemoryResponse
-
Creates an instance of a
LoadMemoryResponserecord class. - LoadMemoryTool - Class in com.google.adk.tools
-
A tool that loads memory for the current user.
- LoadMemoryTool() - Constructor for class com.google.adk.tools.LoadMemoryTool
- location() - Method in class com.google.adk.models.VertexCredentials
- location() - Method in class com.google.adk.sessions.HttpApiClient
-
Returns the location for Vertex AI APIs.
- location() - Method in class com.google.adk.tools.VertexAiSearchTool
- location(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- LoggingPlugin - Class in com.google.adk.plugins
-
A plugin that logs important information at each callback point.
- LoggingPlugin() - Constructor for class com.google.adk.plugins.LoggingPlugin
- LoggingPlugin(String) - Constructor for class com.google.adk.plugins.LoggingPlugin
- logRequest(String, String) - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler
-
Logs request content if enabled.
- logResponse(String, String) - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler
-
Logs response content if enabled.
- longRunning() - Method in class com.google.adk.tools.BaseTool
- LongRunningFunctionTool - Class in com.google.adk.tools
-
A function tool that returns the result asynchronously.
- longRunningToolIds() - Method in class com.google.adk.events.Event
-
Set of ids of the long running function calls.
- longRunningToolIds(Optional) - Method in class com.google.adk.events.Event.Builder
- longRunningToolIds(Set) - Method in class com.google.adk.events.Event.Builder
- LoopAgent - Class in com.google.adk.agents
-
An agent that runs its sub-agents sequentially in a loop.
- LoopAgent.Builder - Class in com.google.adk.agents
-
Builder for
LoopAgent. - LoopAgentConfig - Class in com.google.adk.agents
-
Configuration for LoopAgent.
- LoopAgentConfig() - Constructor for class com.google.adk.agents.LoopAgentConfig
M
- main(String[]) - Static method in class com.example.a2a_basic.A2AAgentRun
- main(String[]) - Static method in class com.example.helloworld.HelloWorldRun
- main(String[]) - Static method in class com.example.mcpfilesystem.McpFilesystemRun
-
Entry point for the sample runner.
- main(String[]) - Static method in class com.google.adk.samples.a2a_remote.RemoteA2AApplication
- main(String[]) - Static method in class com.google.adk.tutorials.CityTimeWeather
- main(String[]) - Static method in class com.google.adk.tutorials.LiveAudioSingleAgent
- main(String[]) - Static method in class com.google.adk.web.AdkWebServer
-
Main entry point for the Spring Boot application.
- main(String[]) - Static method in class com.google.adk.webservice.A2ARemoteApplication
- mapError(Throwable) - Static method in class com.google.adk.models.springai.error.SpringAIErrorMapper
-
Maps a Spring AI exception to an error category and retry strategy.
- MappedError(SpringAIErrorMapper.ErrorCategory, SpringAIErrorMapper.RetryStrategy, String) - Constructor for class com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- mapping() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
mappingrecord component. - maxAge() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
maxAgerecord component. - maxIterations() - Method in class com.google.adk.agents.LoopAgentConfig
- maxIterations(int) - Method in class com.google.adk.agents.LoopAgent.Builder
- maxIterations(Optional) - Method in class com.google.adk.agents.LoopAgent.Builder
- maxLlmCalls() - Method in class com.google.adk.agents.RunConfig
- maxResults() - Method in class com.google.adk.tools.VertexAiSearchTool
- maxResults(Integer) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- maxSteps - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
- maxSteps() - Method in class com.google.adk.agents.LlmAgent
- maxSteps(int) - Method in class com.google.adk.agents.LlmAgent.Builder
- McpAsyncTool - Class in com.google.adk.tools.mcp
-
Initializes a MCP tool.
- McpAsyncTool(McpSchema.Tool, McpAsyncClient, McpSessionManager) - Constructor for class com.google.adk.tools.mcp.McpAsyncTool
-
Creates a new McpAsyncTool with the default ObjectMapper.
- McpAsyncTool(McpSchema.Tool, McpAsyncClient, McpSessionManager, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.McpAsyncTool
-
Creates a new McpAsyncTool
- McpAsyncToolset - Class in com.google.adk.tools.mcp
-
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
- McpAsyncToolset(McpSessionManager, ObjectMapper, Optional) - Constructor for class com.google.adk.tools.mcp.McpAsyncToolset
-
Initializes the McpAsyncToolset with a provided McpSessionManager.
- McpAsyncToolset(SseServerParameters, ObjectMapper, Optional) - Constructor for class com.google.adk.tools.mcp.McpAsyncToolset
-
Initializes the McpAsyncToolset with SSE server parameters.
- McpAsyncToolset(ServerParameters, ObjectMapper, Optional) - Constructor for class com.google.adk.tools.mcp.McpAsyncToolset
-
Initializes the McpAsyncToolset with local server parameters.
- McpAsyncToolset.Builder - Class in com.google.adk.tools.mcp
-
Builder for McpAsyncToolset
- McpFilesystemAgent - Class in com.example.mcpfilesystem
-
Defines an agent that wires the MCP stdio filesystem server via
McpToolset. - McpFilesystemRun - Class in com.example.mcpfilesystem
-
Console runner that exercises
McpFilesystemAgent.ROOT_AGENT. - McpInitializationException(String, Throwable) - Constructor for exception class com.google.adk.tools.mcp.McpToolsetException.McpInitializationException
- mcpSession - Variable in class com.google.adk.tools.mcp.AbstractMcpTool
- mcpSessionManager - Variable in class com.google.adk.tools.mcp.AbstractMcpTool
- McpSessionManager - Class in com.google.adk.tools.mcp
-
Manages MCP client sessions.
- McpSessionManager(Object) - Constructor for class com.google.adk.tools.mcp.McpSessionManager
- McpSessionManager(Object, McpTransportBuilder) - Constructor for class com.google.adk.tools.mcp.McpSessionManager
- mcpTool - Variable in class com.google.adk.tools.mcp.AbstractMcpTool
- McpTool - Class in com.google.adk.tools.mcp
-
Initializes a MCP tool.
- McpTool(McpSchema.Tool, McpSyncClient, McpSessionManager) - Constructor for class com.google.adk.tools.mcp.McpTool
-
Creates a new McpTool with the default ObjectMapper.
- McpTool(McpSchema.Tool, McpSyncClient, McpSessionManager, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.McpTool
-
Creates a new McpTool with the default ObjectMapper.
- McpToolDeclarationException(String, Throwable) - Constructor for exception class com.google.adk.tools.mcp.McpToolException.McpToolDeclarationException
- McpToolException - Exception Class in com.google.adk.tools.mcp
-
Base exception for all errors originating from
AbstractMcpTooland its subclasses. - McpToolException(String, Throwable) - Constructor for exception class com.google.adk.tools.mcp.McpToolException
- McpToolException.McpToolDeclarationException - Exception Class in com.google.adk.tools.mcp
-
Exception thrown when there's an error during MCP tool declaration generated.
- McpToolLoadingException(String, Throwable) - Constructor for exception class com.google.adk.tools.mcp.McpToolsetException.McpToolLoadingException
- McpToolset - Class in com.google.adk.tools.mcp
-
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
- McpToolset(McpSessionManager, ObjectMapper, Optional) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with an McpSessionManager.
- McpToolset(SseServerParameters) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with SSE server parameters, using the ObjectMapper used across the ADK and no tool filter.
- McpToolset(SseServerParameters, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with SSE server parameters and no tool filter.
- McpToolset(SseServerParameters, ObjectMapper, Optional) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with SSE server parameters.
- McpToolset(SseServerParameters, Optional) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with SSE server parameters, using the ObjectMapper used across the ADK.
- McpToolset(StreamableHttpServerParameters) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with Streamable HTTP server parameters, using the ObjectMapper used across the ADK and no tool filter.
- McpToolset(StreamableHttpServerParameters, ObjectMapper, Optional) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with Steamable HTTP server parameters.
- McpToolset(ServerParameters) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with local server parameters, using the ObjectMapper used across the ADK and no tool filter.
- McpToolset(ServerParameters, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with local server parameters and no tool filter.
- McpToolset(ServerParameters, ObjectMapper, Optional) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with local server parameters.
- McpToolset(ServerParameters, Optional) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with local server parameters, using the ObjectMapper used across the ADK.
- McpToolset.McpToolsetConfig - Class in com.google.adk.tools.mcp
-
Configuration class for MCPToolset.
- McpToolsetConfig() - Constructor for class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- McpToolsetException - Exception Class in com.google.adk.tools.mcp
-
Base exception for all errors originating from
McpToolset. - McpToolsetException(String, Throwable) - Constructor for exception class com.google.adk.tools.mcp.McpToolsetException
- McpToolsetException.McpInitializationException - Exception Class in com.google.adk.tools.mcp
-
Exception thrown when there's an error during MCP session initialization.
- McpToolsetException.McpToolLoadingException - Exception Class in com.google.adk.tools.mcp
-
Exception thrown when there's an error during loading tools from the MCP server.
- McpTransportBuilder - Interface in com.google.adk.tools.mcp
-
Interface for building McpClientTransport instances.
- MEDIA_TYPE_APPLICATION_JSON - Static variable in class com.google.adk.sessions.HttpApiClient
- memories() - Method in class com.google.adk.memory.SearchMemoryResponse
-
Returns a list of memory entries that relate to the search query.
- memories() - Method in record class com.google.adk.tools.LoadMemoryResponse
-
Returns the value of the
memoriesrecord component. - MemoryEntry - Class in com.google.adk.memory
-
Represents one memory entry.
- MemoryEntry() - Constructor for class com.google.adk.memory.MemoryEntry
- MemoryEntry.Builder - Class in com.google.adk.memory
-
Builder for
MemoryEntry. - memoryService() - Method in class com.google.adk.agents.InvocationContext
-
Returns the memory service for accessing agent memory.
- memoryService() - Method in class com.google.adk.runner.Runner
- memoryService() - Method in class com.google.adk.web.AdkWebServer
-
Provides the singleton instance of the MemoryService (InMemory).
- memoryService(BaseMemoryService) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the memory service for accessing agent memory.
- memoryService(BaseMemoryService) - Method in class com.google.adk.runner.Runner.Builder
- merge(EventActions) - Method in class com.google.adk.events.EventActions.Builder
- message() - Method in record class com.google.adk.a2a.converters.ResponseConverter.MessageSendResult
-
Returns the value of the
messagerecord component. - MessageConversionException - Exception Class in com.google.adk.models.springai
-
Exception thrown when message conversion between ADK and Spring AI formats fails.
- MessageConversionException(String) - Constructor for exception class com.google.adk.models.springai.MessageConversionException
-
Constructs a new MessageConversionException with the specified detail message.
- MessageConversionException(String, Throwable) - Constructor for exception class com.google.adk.models.springai.MessageConversionException
-
Constructs a new MessageConversionException with the specified detail message and cause.
- MessageConversionException(Throwable) - Constructor for exception class com.google.adk.models.springai.MessageConversionException
-
Constructs a new MessageConversionException with the specified cause.
- MessageConverter - Class in com.google.adk.models.springai
-
Converts between ADK and Spring AI message formats.
- MessageConverter(ObjectMapper) - Constructor for class com.google.adk.models.springai.MessageConverter
- MessageSendResult(Message, Task) - Constructor for record class com.google.adk.a2a.converters.ResponseConverter.MessageSendResult
-
Creates an instance of a
MessageSendResultrecord class. - messageToEvents(Message, String, String) - Static method in class com.google.adk.a2a.converters.ResponseConverter
-
Converts an A2A message back to ADK events.
- meta() - Method in class com.google.adk.tools.mcp.AbstractMcpTool
- methods() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
methodsrecord component. - mimeType() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File
-
The mime type of the file (e.g., "image/png").
- mimeType(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
- model() - Method in class com.google.adk.agents.LlmAgent
- model() - Method in class com.google.adk.agents.LlmAgentConfig
- model() - Method in class com.google.adk.models.BaseLlm
-
Returns the name of the LLM model.
- model() - Method in class com.google.adk.models.LlmRequest
-
Returns the name of the LLM model to be used.
- model() - Method in class com.google.adk.models.Model
- model(BaseLlm) - Method in class com.google.adk.agents.LlmAgent.Builder
- model(BaseLlm) - Method in class com.google.adk.models.Model.Builder
- model(String) - Method in class com.google.adk.agents.LlmAgent.Builder
- model(String) - Method in class com.google.adk.models.LlmRequest.Builder
- Model - Class in com.google.adk.models
-
Represents a model by name or instance.
- Model() - Constructor for class com.google.adk.models.Model
- MODEL_ERROR - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Model-specific errors (model not found, unsupported features)
- Model.Builder - Class in com.google.adk.models
-
Builder for
Model. - modelName() - Method in class com.google.adk.models.Model
- modelName() - Method in class com.google.adk.models.springai.SpringAIEmbedding
-
Get the model name.
- modelName(String) - Method in class com.google.adk.models.ApigeeLlm.Builder
-
Sets the model string.
- modelName(String) - Method in class com.google.adk.models.Gemini.Builder
-
Sets the name of the Gemini model to use.
- modelName(String) - Method in class com.google.adk.models.Model.Builder
- ModelNameUtils - Class in com.google.adk.utils
- modelVersion() - Method in class com.google.adk.events.Event
-
The model version used to generate the response.
- modelVersion() - Method in class com.google.adk.models.LlmResponse
-
The model version used to generate the response.
- modelVersion(String) - Method in class com.google.adk.events.Event.Builder
- modelVersion(String) - Method in class com.google.adk.models.LlmResponse.Builder
- modelVersion(Optional) - Method in class com.google.adk.events.Event.Builder
- modelVersion(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
N
- name - Variable in class com.google.adk.agents.BaseAgent.Builder
- name - Variable in class com.google.adk.plugins.BasePlugin
- name - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
- name() - Method in class com.google.adk.agents.BaseAgent
-
Gets the agent's unique name.
- name() - Method in class com.google.adk.agents.BaseAgentConfig.CallbackRef
- name() - Method in class com.google.adk.agents.BaseAgentConfig
- name() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File
-
The name of the file with file extension (e.g., "file.csv").
- name() - Element in annotation interface com.google.adk.tools.Annotations.Schema
- name() - Method in class com.google.adk.tools.BaseTool
- name() - Method in class com.google.adk.tools.BaseTool.ToolConfig
- name(String) - Method in class com.google.adk.a2a.RemoteA2AAgent.Builder
- name(String) - Method in class com.google.adk.agents.BaseAgent.Builder
- name(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
- NamedToolPredicate - Class in com.google.adk.tools
- NamedToolPredicate(String...) - Constructor for class com.google.adk.tools.NamedToolPredicate
- NamedToolPredicate(List) - Constructor for class com.google.adk.tools.NamedToolPredicate
- NETWORK_ERROR - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Network connectivity issues
- newInvocationContextId() - Static method in class com.google.adk.agents.InvocationContext
-
Generates a new unique ID for an invocation context.
- newMessage - Variable in class com.google.adk.web.dto.AgentRunRequest
- nextPageToken() - Method in class com.google.adk.sessions.ListEventsResponse
- nextPageToken(String) - Method in class com.google.adk.sessions.ListEventsResponse.Builder
- NO_RETRY - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.RetryStrategy
-
Do not retry - permanent failure
- NONE - Enum constant in enum class com.google.adk.agents.LlmAgent.IncludeContents
- NONE - Enum constant in enum class com.google.adk.agents.RunConfig.StreamingMode
- NONE - Enum constant in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
- normalize(float[]) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Normalize an embedding vector to unit length.
- numRecentEvents() - Method in class com.google.adk.sessions.GetSessionConfig
- numRecentEvents(int) - Method in class com.google.adk.sessions.GetSessionConfig.Builder
O
- OBJECT_MAPPER - Static variable in class com.google.adk.tools.applicationintegrationtoolset.ApplicationIntegrationToolset
- OBJECT_MAPPER - Static variable in class com.google.adk.tools.applicationintegrationtoolset.IntegrationClient
- objectMapper - Variable in class com.google.adk.tools.mcp.AbstractMcpTool
- objectMapper() - Method in class com.google.adk.web.AdkWebServer
-
Configures the Jackson ObjectMapper for JSON serialization.
- objectMapper(ObjectMapper) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
- Observability() - Constructor for class com.google.adk.models.springai.properties.SpringAIProperties.Observability
- of() - Static method in class com.google.adk.utils.Pairs
-
Returns a new, empty
ConcurrentHashMap. - of(List) - Static method in class com.google.adk.plugins.recordings.Recordings
- of(K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining a single mapping. - of(K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining two mappings. - of(K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining three mappings. - of(K, V, K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining four mappings. - of(K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining five mappings. - of(K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining six mappings. - of(K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining seven mappings. - of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining eight mappings. - of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining nine mappings. - of(K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMapcontaining ten mappings. - onAgentUpdated(String) - Method in class com.google.adk.web.service.RunnerService
-
Called by hot loader when agents are updated
- onEventCallback(InvocationContext, Event) - Method in class com.google.adk.plugins.LoggingPlugin
- onEventCallback(InvocationContext, Event) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed after an event is yielded from runner.
- onEventCallback(InvocationContext, Event) - Method in class com.google.adk.plugins.PluginManager
- onModelErrorCallback(CallbackContext, LlmRequest.Builder, Throwable) - Method in class com.google.adk.plugins.LoggingPlugin
- onModelErrorCallback(CallbackContext, LlmRequest.Builder, Throwable) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed when a model call encounters an error.
- onModelErrorCallback(CallbackContext, LlmRequest.Builder, Throwable) - Method in class com.google.adk.plugins.PluginManager
- onToolErrorCallback(BaseTool, Map, ToolContext, Throwable) - Method in class com.google.adk.plugins.LoggingPlugin
- onToolErrorCallback(BaseTool, Map, ToolContext, Throwable) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed when a tool call encounters an error.
- onToolErrorCallback(BaseTool, Map, ToolContext, Throwable) - Method in class com.google.adk.plugins.PluginManager
- onUserMessageCallback(InvocationContext, Content) - Method in class com.google.adk.plugins.LoggingPlugin
- onUserMessageCallback(InvocationContext, Content) - Method in interface com.google.adk.plugins.Plugin
-
Callback executed when a user message is received before an invocation starts.
- onUserMessageCallback(InvocationContext, Content) - Method in class com.google.adk.plugins.PluginManager
- OpenTelemetryConfig - Class in com.google.adk.web.config
-
Configuration class for OpenTelemetry, setting up the tracer provider and span exporter.
- OpenTelemetryConfig() - Constructor for class com.google.adk.web.config.OpenTelemetryConfig
- openTelemetrySdk(SdkTracerProvider) - Method in class com.google.adk.web.config.OpenTelemetryConfig
- operations - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.EntitySchemaAndOperations
- optimizeDataFile() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
-
If true, extract and process data files from the model request and attach them to the code executor.
- optimizeDataFile() - Method in class com.google.adk.codeexecutors.ContainerCodeExecutor
- optional() - Element in annotation interface com.google.adk.tools.Annotations.Schema
- origins() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
originsrecord component. - output() - Method in class com.google.adk.examples.Example
- output(List) - Method in class com.google.adk.examples.Example.Builder
- outputAudioTranscription() - Method in class com.google.adk.agents.RunConfig
- outputFiles() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
-
The output files from the code execution.
- outputFiles(List) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
- outputKey() - Method in class com.google.adk.agents.LlmAgent
- outputKey() - Method in class com.google.adk.agents.LlmAgentConfig
- outputKey(String) - Method in class com.google.adk.agents.LlmAgent.Builder
- outputSchema - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
- outputSchema() - Method in class com.google.adk.agents.LlmAgent
- outputSchema(Schema) - Method in class com.google.adk.agents.LlmAgent.Builder
- outputSchema(Schema) - Method in class com.google.adk.models.LlmRequest.Builder
-
Sets the output schema for the LLM response.
- overlapSize() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
-
Returns the value of the
overlapSizerecord component.
P
- Pairs - Class in com.google.adk.utils
-
Utility class for creating ConcurrentHashMaps.
- PARALLEL - Enum constant in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
- ParallelAgent - Class in com.google.adk.agents
-
A shell agent that runs its sub-agents in parallel in isolated manner.
- ParallelAgent.Builder - Class in com.google.adk.agents
-
Builder for
ParallelAgent. - ParallelAgentConfig - Class in com.google.adk.agents
-
Configuration for ParallelAgent.
- ParallelAgentConfig() - Constructor for class com.google.adk.agents.ParallelAgentConfig
- parentAgent() - Method in class com.google.adk.agents.BaseAgent
-
Retrieves the parent agent in the agent tree.
- parentAgent(BaseAgent) - Method in class com.google.adk.agents.BaseAgent
-
Sets the parent agent.
- PartConverter - Class in com.google.adk.a2a.converters
-
Utility class for converting between Google GenAI Parts and A2A DataParts.
- partial() - Method in class com.google.adk.events.Event
-
partial is true for incomplete chunks from the LLM streaming response.
- partial() - Method in class com.google.adk.models.LlmResponse
-
Indicates whether the text content is part of a unfinished text stream.
- partial(Boolean) - Method in class com.google.adk.events.Event.Builder
- partial(Boolean) - Method in class com.google.adk.models.LlmResponse.Builder
- partial(Optional) - Method in class com.google.adk.events.Event.Builder
- partial(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
- payload() - Method in class com.google.adk.events.ToolConfirmation
- payload(Object) - Method in class com.google.adk.events.ToolConfirmation.Builder
- planning() - Method in class com.google.adk.agents.LlmAgent
- planning(boolean) - Method in class com.google.adk.agents.LlmAgent.Builder
- Plugin - Interface in com.google.adk.plugins
-
Interface for creating plugins.
- pluginManager() - Method in class com.google.adk.agents.InvocationContext
-
Returns the plugin manager for accessing tools and plugins.
- pluginManager() - Method in class com.google.adk.runner.Runner
- pluginManager(Plugin) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the plugin manager for accessing tools and plugins.
- PluginManager - Class in com.google.adk.plugins
-
Manages the registration and execution of plugins.
- PluginManager() - Constructor for class com.google.adk.plugins.PluginManager
- PluginManager(List) - Constructor for class com.google.adk.plugins.PluginManager
- plugins(List) - Method in class com.google.adk.runner.Runner.Builder
- populateClientFunctionCallId(Event) - Static method in class com.google.adk.flows.llmflows.Functions
-
Populates missing function call IDs in the provided event's content.
- populateHeaders(HttpRequest.Builder, Credentials) - Static method in interface com.google.adk.tools.applicationintegrationtoolset.CredentialsHelper
-
Populates the headers (such as Authorization or x-goog-project) in the HttpRequest.Builder with the metadata from the credentials.
- postprocess(InvocationContext, Event, LlmRequest, LlmResponse) - Method in class com.google.adk.flows.llmflows.BaseLlmFlow
-
Post-processes the LLM response after receiving it from the LLM.
- PreparedInput(ImmutableList, Optional, Optional) - Constructor for class com.google.adk.a2a.converters.ConversationPreprocessor.PreparedInput
-
Creates a new instance.
- prepareGenenerateContentRequest(LlmRequest, boolean) - Static method in class com.google.adk.models.GeminiUtil
-
Prepares an
LlmRequestfor the GenerateContent API. - prepareGenenerateContentRequest(LlmRequest, boolean, boolean) - Static method in class com.google.adk.models.GeminiUtil
-
Prepares an
LlmRequestfor the GenerateContent API. - preprocess(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.BaseLlmFlow
-
Pre-processes the LLM request before sending it to the LLM.
- primeAgent() - Method in class com.google.adk.samples.a2a_remote.RemoteA2AApplication
- processLlmRequest(LlmRequest.Builder) - Method in class com.google.adk.codeexecutors.BuiltInCodeExecutor
-
Pre-process the LLM request for Gemini 2.0+ models to use the code execution tool.
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.BaseTool
-
Processes the outgoing
LlmRequest.Builder. - processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.BuiltInCodeExecutionTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.ExampleTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.GoogleMapsTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.GoogleSearchTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.LoadArtifactsTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.LoadMemoryTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.retrieval.VertexAiRagRetrieval
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.UrlContextTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.VertexAiSearchTool
- processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.AgentTransfer
- processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Basic
- processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Contents
- processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Examples
- processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Identity
- processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Instructions
- processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.RequestConfirmationLlmRequestProcessor
- processRequest(InvocationContext, LlmRequest) - Method in interface com.google.adk.flows.llmflows.RequestProcessor
-
Process the LLM request as part of the pre-processing stage.
- processResponse(InvocationContext, LlmResponse) - Method in interface com.google.adk.flows.llmflows.ResponseProcessor
-
Process the LLM response as part of the post-processing stage.
- processStreamingResponse(LlmResponse) - Method in class com.google.adk.models.springai.StreamingResponseAggregator
-
Processes a streaming LlmResponse and returns the current aggregated state.
- project() - Method in class com.google.adk.models.VertexCredentials
- project() - Method in class com.google.adk.sessions.HttpApiClient
-
Returns the project ID for Vertex AI APIs.
- project() - Method in class com.google.adk.tools.VertexAiSearchTool
- project(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- Provider(Function) - Constructor for record class com.google.adk.agents.Instruction.Provider
-
Creates an instance of a
Providerrecord class. - proxyUrl(String) - Method in class com.google.adk.models.ApigeeLlm.Builder
-
Sets the URL of the Apigee proxy.
- put(String, Object) - Method in class com.google.adk.sessions.State
- put(String, Object) - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
- putAll(Map) - Method in class com.google.adk.sessions.State
- putIfAbsent(String, Object) - Method in class com.google.adk.sessions.State
R
- RATE_LIMITED - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Rate limiting or quota exceeded
- ReadonlyContext - Class in com.google.adk.agents
-
Provides read-only access to the context of an agent run.
- ReadonlyContext(InvocationContext) - Constructor for class com.google.adk.agents.ReadonlyContext
- readTimeout() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
- readTimeout(Duration) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
- realtime(Blob) - Method in class com.google.adk.agents.LiveRequestQueue
- receive() - Method in interface com.google.adk.models.BaseLlmConnection
-
Receives the model responses.
- receive() - Method in class com.google.adk.models.GeminiLlmConnection
- recognize(RecognitionConfig, RecognitionAudio) - Method in interface com.google.adk.flows.llmflows.audio.SpeechClientInterface
-
Performs synchronous speech recognition.
- recognize(RecognitionConfig, RecognitionAudio) - Method in class com.google.adk.flows.llmflows.audio.VertexSpeechClient
-
Performs synchronous speech recognition on the given audio input.
- recordError(SpringAIObservabilityHandler.RequestContext, Throwable) - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler
-
Records a failed request.
- Recording - Class in com.google.adk.plugins.recordings
-
Single interaction recording, ordered by request timestamp.
- Recording() - Constructor for class com.google.adk.plugins.recordings.Recording
- Recording.Builder - Class in com.google.adk.plugins.recordings
-
Builder for Recording.
- recordings() - Method in class com.google.adk.plugins.recordings.Recordings
-
Chronological list of all recordings.
- recordings(List) - Method in class com.google.adk.plugins.recordings.Recordings.Builder
- Recordings - Class in com.google.adk.plugins.recordings
-
All recordings in chronological order.
- Recordings() - Constructor for class com.google.adk.plugins.recordings.Recordings
- Recordings.Builder - Class in com.google.adk.plugins.recordings
-
Builder for Recordings.
- RecordingsLoader - Class in com.google.adk.plugins.recordings
-
Utility class for loading recordings from YAML files.
- recordSuccess(SpringAIObservabilityHandler.RequestContext, int, int, int) - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler
-
Records the completion of a successful request.
- register(String, Object) - Method in class com.google.adk.utils.ComponentRegistry
-
Registers an object with the given name.
- registerLlm(String, LlmRegistry.LlmFactory) - Static method in class com.google.adk.models.LlmRegistry
-
Registers a factory for model names matching the given regex pattern.
- registerPlugin(Plugin) - Method in class com.google.adk.plugins.PluginManager
-
Registers a new plugin.
- registerWebSocketHandlers(WebSocketHandlerRegistry) - Method in class com.google.adk.web.websocket.WebSocketConfig
- remote_prime_agent - package remote_prime_agent
- RemoteA2AAgent - Class in com.google.adk.a2a
-
Agent that communicates with a remote A2A agent via A2A client.
- RemoteA2AAgent() - Constructor for class com.google.adk.a2a.RemoteA2AAgent
- RemoteA2AAgent.A2AClientError - Exception Class in com.google.adk.a2a
-
Exception thrown when the A2A client encounters an error.
- RemoteA2AAgent.AgentCardResolutionError - Exception Class in com.google.adk.a2a
-
Exception thrown when the agent card cannot be resolved.
- RemoteA2AAgent.Builder - Class in com.google.adk.a2a
-
Builder for
RemoteA2AAgent. - RemoteA2AAgent.TypeError - Exception Class in com.google.adk.a2a
-
Exception thrown when a type error occurs.
- RemoteA2AApplication - Class in com.google.adk.samples.a2a_remote
-
Spring Boot entry point that wires the shared A2A webservice with the prime demo agent.
- RemoteA2AApplication() - Constructor for class com.google.adk.samples.a2a_remote.RemoteA2AApplication
- remove(Object) - Method in class com.google.adk.sessions.State
- remove(Object, Object) - Method in class com.google.adk.sessions.State
- REMOVED - Static variable in class com.google.adk.sessions.State
-
Sentinel object to mark removed entries in the delta map.
- replace(String, Object) - Method in class com.google.adk.sessions.State
- replace(String, Object, Object) - Method in class com.google.adk.sessions.State
- ReplayConfigError - Exception Class in com.google.adk.plugins
-
Exception raised when replay configuration is invalid or missing.
- ReplayConfigError(String) - Constructor for exception class com.google.adk.plugins.ReplayConfigError
- ReplayConfigError(String, Throwable) - Constructor for exception class com.google.adk.plugins.ReplayConfigError
- ReplayPlugin - Class in com.google.adk.plugins
-
Plugin for replaying ADK agent interactions from recordings.
- ReplayPlugin() - Constructor for class com.google.adk.plugins.ReplayPlugin
- ReplayPlugin(String) - Constructor for class com.google.adk.plugins.ReplayPlugin
- ReplayVerificationError - Exception Class in com.google.adk.plugins
-
Exception raised when replay verification fails.
- ReplayVerificationError(String) - Constructor for exception class com.google.adk.plugins.ReplayVerificationError
- ReplayVerificationError(String, Throwable) - Constructor for exception class com.google.adk.plugins.ReplayVerificationError
- request(String, String, String) - Method in class com.google.adk.sessions.HttpApiClient
-
Sends a Http request given the http method, path, and request json string.
- REQUEST_CONFIRMATION_FUNCTION_CALL_NAME - Static variable in class com.google.adk.flows.llmflows.Functions
-
The function call name for the request confirmation function.
- REQUEST_PROCESSORS - Static variable in class com.google.adk.flows.llmflows.SingleFlow
- requestConfirmation() - Method in class com.google.adk.tools.ToolContext
-
Requests confirmation for the given function call.
- requestConfirmation(String) - Method in class com.google.adk.tools.ToolContext
-
Requests confirmation for the given function call.
- requestConfirmation(String, Object) - Method in class com.google.adk.tools.ToolContext
-
Requests confirmation for the given function call.
- RequestConfirmationLlmRequestProcessor - Class in com.google.adk.flows.llmflows
-
Handles tool confirmation information to build the LLM request.
- RequestConfirmationLlmRequestProcessor() - Constructor for class com.google.adk.flows.llmflows.RequestConfirmationLlmRequestProcessor
- RequestContext(String, String, Instant, boolean, Timer.Sample) - Constructor for class com.google.adk.models.springai.observability.SpringAIObservabilityHandler.RequestContext
- RequestConverter - Class in com.google.adk.a2a.converters
-
rfe Converter for A2A Messages to ADK Events.
- requestedAuthConfigs() - Method in class com.google.adk.events.EventActions
- requestedAuthConfigs(ConcurrentMap) - Method in class com.google.adk.events.EventActions.Builder
- requestedToolConfirmations() - Method in class com.google.adk.events.EventActions
- requestedToolConfirmations(ConcurrentMap) - Method in class com.google.adk.events.EventActions.Builder
- RequestProcessingResult() - Constructor for class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
- requestProcessor - Static variable in class com.google.adk.flows.llmflows.CodeExecution
- RequestProcessor - Interface in com.google.adk.flows.llmflows
-
Interface for processing LLM requests.
- RequestProcessor.RequestProcessingResult - Class in com.google.adk.flows.llmflows
-
Result of request processing.
- requestProcessors - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
- reset() - Method in class com.google.adk.models.springai.StreamingResponseAggregator
-
Resets the aggregator for reuse.
- resetErrorCount(String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Resets the error count from the session state.
- resetForTest() - Static method in class com.google.adk.utils.FirestoreProperties
-
Resets the singleton instance.
- resolveAfterAgentCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
- resolveAfterModelCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
- resolveAfterToolCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
- resolveAgentClass(String) - Static method in class com.google.adk.utils.ComponentRegistry
-
Resolves the agent class based on the agent class name from the configuration.
- resolveAgentInstance(String) - Static method in class com.google.adk.utils.ComponentRegistry
-
Resolves an agent instance from the registry.
- resolveAndSetCallback(List, Class, String, Consumer) - Static method in class com.google.adk.agents.ConfigAgentUtils
-
Resolves and sets callbacks from configuration.
- resolveAndSetCommonAgentFields(BaseAgent.Builder, BaseAgentConfig, String) - Static method in class com.google.adk.agents.ConfigAgentUtils
-
Configures the common properties of an agent builder from the configuration.
- resolveBeforeAgentCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
- resolveBeforeModelCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
- resolveBeforeToolCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
- resolvedModel() - Method in class com.google.adk.agents.LlmAgent
- resolveSubAgents(List, String) - Static method in class com.google.adk.agents.ConfigAgentUtils
-
Resolves subagent configurations into actual BaseAgent instances.
- resolveToolClass(String) - Static method in class com.google.adk.utils.ComponentRegistry
-
Resolves the tool class based on the tool class name from the configuration.
- resolveToolInstance(String) - Static method in class com.google.adk.utils.ComponentRegistry
- resolveToolsetClass(String) - Static method in class com.google.adk.utils.ComponentRegistry
-
Resolves a toolset class by name from the registry or by attempting to load it.
- resolveToolsetInstance(String) - Static method in class com.google.adk.utils.ComponentRegistry
-
Resolves a toolset instance by name from the registry.
- response(GenerateContentResponse) - Method in class com.google.adk.models.LlmResponse.Builder
- RESPONSE_PROCESSORS - Static variable in class com.google.adk.flows.llmflows.SingleFlow
- ResponseConverter - Class in com.google.adk.a2a.converters
-
Utility for converting ADK events to A2A spec messages (and back).
- ResponseConverter.MessageSendResult - Record Class in com.google.adk.a2a.converters
-
Simple REST-friendly wrapper to carry either a message result or a task result.
- responseModalities() - Method in class com.google.adk.agents.RunConfig
- ResponseProcessingResult() - Constructor for class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
- responseProcessor - Static variable in class com.google.adk.flows.llmflows.CodeExecution
- ResponseProcessor - Interface in com.google.adk.flows.llmflows
-
Interface for processing LLM responses.
- ResponseProcessor.ResponseProcessingResult - Class in com.google.adk.flows.llmflows
-
Result of response processing.
- responseProcessors - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
- resumabilityConfig(ResumabilityConfig) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the resumability configuration for the current agent run.
- resumabilityConfig(ResumabilityConfig) - Method in class com.google.adk.runner.Runner.Builder
- ResumabilityConfig - Record Class in com.google.adk.flows.llmflows
-
An app contains Resumability configuration for the agents.
- ResumabilityConfig() - Constructor for record class com.google.adk.flows.llmflows.ResumabilityConfig
-
Creates a new
ResumabilityConfigwith resumability disabled. - ResumabilityConfig(boolean) - Constructor for record class com.google.adk.flows.llmflows.ResumabilityConfig
-
Creates an instance of a
ResumabilityConfigrecord class. - ROLL_AGENT - Static variable in class com.example.a2a_basic.A2AAgent
- ROLL_DIE_INSTANCE - Static variable in class com.example.CustomDieTool
- rollDie(int, ToolContext) - Static method in class com.example.a2a_basic.A2AAgent
- rollDie(int, ToolContext) - Static method in class com.example.CustomDieTool
- rollDie(int, ToolContext) - Static method in class com.example.helloworld.HelloWorldAgent
- ROOT_AGENT - Static variable in class com.example.helloworld.HelloWorldAgent
- ROOT_AGENT - Static variable in class com.example.mcpfilesystem.McpFilesystemAgent
-
Root agent instance exposed to runners and registries.
- ROOT_AGENT - Static variable in class com.google.adk.tutorials.CityTimeWeather
- ROOT_COLLECTION_NAME - Static variable in class com.google.adk.utils.Constants
-
root collection name fof firestore
- rootAgent() - Method in class com.google.adk.agents.BaseAgent
-
Returns the root agent for this agent by traversing up the parent chain.
- rpcUrl() - Method in class com.google.adk.a2a.RemoteA2AAgent
- run(InvocationContext) - Method in interface com.google.adk.flows.BaseFlow
-
Run this flow.
- run(InvocationContext) - Method in class com.google.adk.flows.llmflows.BaseLlmFlow
-
Executes the full LLM flow by repeatedly calling
BaseLlmFlow.runOneStep(InvocationContext)until a final response is produced. - runAfterAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.PluginManager
- runAfterModelCallback(CallbackContext, LlmResponse) - Method in class com.google.adk.plugins.PluginManager
- runAfterRunCallback(InvocationContext) - Method in class com.google.adk.plugins.PluginManager
- runAfterToolCallback(BaseTool, Map, ToolContext, Map) - Method in class com.google.adk.plugins.PluginManager
- runAsync(InvocationContext) - Method in class com.google.adk.agents.BaseAgent
-
Runs the agent asynchronously.
- runAsync(Session, Content, RunConfig) - Method in class com.google.adk.runner.Runner
-
Deprecated, for removal: This API element is subject to removal in a future version.Use runAsync with sessionId.
- runAsync(Session, Content, RunConfig, Map) - Method in class com.google.adk.runner.Runner
-
Deprecated, for removal: This API element is subject to removal in a future version.Use runAsync with sessionId.
- runAsync(String, String, Content) - Method in class com.google.adk.runner.Runner
- runAsync(String, String, Content, RunConfig) - Method in class com.google.adk.runner.Runner
- runAsync(String, String, Content, RunConfig, Map) - Method in class com.google.adk.runner.Runner
-
Runs the agent with an invocation-based mode.
- runAsync(Map, ToolContext) - Method in class com.google.adk.tools.AgentTool
- runAsync(Map, ToolContext) - Method in class com.google.adk.tools.applicationintegrationtoolset.IntegrationConnectorTool
- runAsync(Map, ToolContext) - Method in class com.google.adk.tools.BaseTool
-
Calls a tool.
- runAsync(Map, ToolContext) - Method in class com.google.adk.tools.FunctionTool
- runAsync(Map, ToolContext) - Method in class com.google.adk.tools.LoadArtifactsTool
- runAsync(Map, ToolContext) - Method in class com.google.adk.tools.mcp.McpAsyncTool
- runAsync(Map, ToolContext) - Method in class com.google.adk.tools.mcp.McpTool
- runAsync(Map, ToolContext) - Method in class com.google.adk.tools.retrieval.VertexAiRagRetrieval
- runAsyncImpl(InvocationContext) - Method in class com.google.adk.a2a.RemoteA2AAgent
- runAsyncImpl(InvocationContext) - Method in class com.google.adk.agents.BaseAgent
-
Agent-specific asynchronous logic.
- runAsyncImpl(InvocationContext) - Method in class com.google.adk.agents.LlmAgent
- runAsyncImpl(InvocationContext) - Method in class com.google.adk.agents.LoopAgent
- runAsyncImpl(InvocationContext) - Method in class com.google.adk.agents.ParallelAgent
-
Runs sub-agents in parallel and emits their events.
- runAsyncImpl(InvocationContext) - Method in class com.google.adk.agents.SequentialAgent
-
Runs sub-agents sequentially.
- runBeforeAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.PluginManager
- runBeforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in class com.google.adk.plugins.PluginManager
- runBeforeRunCallback(InvocationContext) - Method in class com.google.adk.plugins.PluginManager
- runBeforeToolCallback(BaseTool, Map, ToolContext) - Method in class com.google.adk.plugins.PluginManager
- runConfig() - Method in class com.google.adk.agents.InvocationContext
-
Returns the configuration for the current agent run.
- runConfig(RunConfig) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the configuration for the current agent run.
- RunConfig - Class in com.google.adk.agents
-
Configuration to modify an agent's LLM's underlying behavior.
- RunConfig() - Constructor for class com.google.adk.agents.RunConfig
- RunConfig.Builder - Class in com.google.adk.agents
-
Builder for
RunConfig. - RunConfig.StreamingMode - Enum Class in com.google.adk.agents
-
Streaming mode for the runner.
- RunConfig.ToolExecutionMode - Enum Class in com.google.adk.agents
-
Tool execution mode for the runner, when they are multiple tools requested (by the models or callbacks).
- runEval(String, String, RunEvalRequest) - Method in class com.google.adk.web.controller.EvaluationController
-
Placeholder for running evaluations.
- RunEvalRequest - Class in com.google.adk.web.dto
-
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/run-eval requests.
- RunEvalRequest() - Constructor for class com.google.adk.web.dto.RunEvalRequest
- RunEvalResult - Class in com.google.adk.web.dto
-
DTO for the response of POST /apps/{appName}/eval_sets/{evalSetId}/run-eval.
- RunEvalResult() - Constructor for class com.google.adk.web.dto.RunEvalResult
- RunEvalResult(String, String, String, String, List, String) - Constructor for class com.google.adk.web.dto.RunEvalResult
-
Constructs a RunEvalResult.
- runLive(InvocationContext) - Method in class com.google.adk.agents.BaseAgent
-
Runs the agent synchronously.
- runLive(InvocationContext) - Method in interface com.google.adk.flows.BaseFlow
- runLive(InvocationContext) - Method in class com.google.adk.flows.llmflows.BaseLlmFlow
-
Executes the LLM flow in streaming mode.
- runLive(Session, LiveRequestQueue, RunConfig) - Method in class com.google.adk.runner.Runner
-
Runs the agent in live mode, appending generated events to the session.
- runLive(String, String, LiveRequestQueue, RunConfig) - Method in class com.google.adk.runner.Runner
-
Retrieves the session and runs the agent in live mode.
- runLiveImpl(InvocationContext) - Method in class com.google.adk.a2a.RemoteA2AAgent
- runLiveImpl(InvocationContext) - Method in class com.google.adk.agents.BaseAgent
-
Agent-specific synchronous logic.
- runLiveImpl(InvocationContext) - Method in class com.google.adk.agents.LlmAgent
- runLiveImpl(InvocationContext) - Method in class com.google.adk.agents.LoopAgent
- runLiveImpl(InvocationContext) - Method in class com.google.adk.agents.ParallelAgent
-
Not supported for ParallelAgent.
- runLiveImpl(InvocationContext) - Method in class com.google.adk.agents.SequentialAgent
-
Runs sub-agents sequentially in live mode.
- Runner - Class in com.google.adk.runner
-
The main class for the GenAI Agents runner.
- Runner(BaseAgent, String, BaseArtifactService, BaseSessionService) - Constructor for class com.google.adk.runner.Runner
-
Deprecated.Use
Runner.Builderinstead. - Runner(BaseAgent, String, BaseArtifactService, BaseSessionService, BaseMemoryService) - Constructor for class com.google.adk.runner.Runner
-
Deprecated.Use
Runner.Builderinstead. - Runner(BaseAgent, String, BaseArtifactService, BaseSessionService, BaseMemoryService, List) - Constructor for class com.google.adk.runner.Runner
-
Deprecated.Use
Runner.Builderinstead. - Runner(BaseAgent, String, BaseArtifactService, BaseSessionService, BaseMemoryService, List, ResumabilityConfig) - Constructor for class com.google.adk.runner.Runner
-
Deprecated.Use
Runner.Builderinstead. - Runner(BaseAgent, String, BaseArtifactService, BaseSessionService, BaseMemoryService, List, ResumabilityConfig, EventsCompactionConfig) - Constructor for class com.google.adk.runner.Runner
-
Deprecated.Use
Runner.Builderinstead. - Runner.Builder - Class in com.google.adk.runner
-
Builder for
Runner. - RunnerService - Class in com.google.adk.web.service
-
Service for creating and caching Runner instances.
- RunnerService(AgentLoader, BaseArtifactService, BaseSessionService, BaseMemoryService, List) - Constructor for class com.google.adk.web.service.RunnerService
- runOnEventCallback(InvocationContext, Event) - Method in class com.google.adk.plugins.PluginManager
- runOnModelErrorCallback(CallbackContext, LlmRequest.Builder, Throwable) - Method in class com.google.adk.plugins.PluginManager
- runOnToolErrorCallback(BaseTool, Map, ToolContext, Throwable) - Method in class com.google.adk.plugins.PluginManager
- runOnUserMessageCallback(InvocationContext, Content) - Method in class com.google.adk.plugins.PluginManager
- runWithSessionId(String, Content, RunConfig) - Method in class com.google.adk.runner.Runner
-
Runs the agent asynchronously with a default user ID.
S
- sanitizeRequestForGeminiApi(LlmRequest) - Static method in class com.google.adk.models.GeminiUtil
-
Sanitizes the request to ensure it is compatible with the Gemini API backend.
- saveArtifact(String, Part) - Method in class com.google.adk.agents.CallbackContext
-
Saves an artifact and records it as a delta for the current session.
- saveArtifact(String, String, String, String, Part) - Method in interface com.google.adk.artifacts.BaseArtifactService
-
Saves an artifact.
- saveArtifact(String, String, String, String, Part) - Method in class com.google.adk.artifacts.GcsArtifactService
-
Saves an artifact to GCS and assigns a new version.
- saveArtifact(String, String, String, String, Part) - Method in class com.google.adk.artifacts.InMemoryArtifactService
-
Saves an artifact in memory and assigns a new version.
- saveInputBlobsAsArtifacts() - Method in class com.google.adk.agents.RunConfig
- schema - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.EntitySchemaAndOperations
- SchemaUtils - Class in com.google.adk
-
Utility class for validating schemas.
- sdkTracerProvider(ApiServerSpanExporter) - Method in class com.google.adk.web.config.OpenTelemetryConfig
- searchEngineId() - Method in class com.google.adk.tools.VertexAiSearchTool
- searchEngineId(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
- searchMemory(String) - Method in class com.google.adk.tools.ToolContext
-
Searches the memory of the current user.
- searchMemory(String, String, String) - Method in interface com.google.adk.memory.BaseMemoryService
-
Searches for sessions that match the query asynchronously.
- searchMemory(String, String, String) - Method in class com.google.adk.memory.FirestoreMemoryService
-
Searches memory entries for the given appName and userId that match the query keywords.
- searchMemory(String, String, String) - Method in class com.google.adk.memory.InMemoryMemoryService
- SearchMemoryResponse - Class in com.google.adk.memory
-
Represents the response from a memory search.
- SearchMemoryResponse() - Constructor for class com.google.adk.memory.SearchMemoryResponse
- SearchMemoryResponse.Builder - Class in com.google.adk.memory
-
Builder for
SearchMemoryResponse. - self() - Method in class com.google.adk.agents.BaseAgent.Builder
-
This is a safe cast to the concrete builder type.
- send(LiveRequest) - Method in class com.google.adk.agents.LiveRequestQueue
- sendContent(Content) - Method in interface com.google.adk.models.BaseLlmConnection
-
Sends a user content to the model.
- sendContent(Content) - Method in class com.google.adk.models.GeminiLlmConnection
- sendHistory(List) - Method in interface com.google.adk.models.BaseLlmConnection
-
Sends the conversation history to the model.
- sendHistory(List) - Method in class com.google.adk.models.GeminiLlmConnection
- sendMessage(SendMessageRequest) - Method in class com.google.adk.a2a.A2AClient
-
Sends a JSON-RPC message to the remote A2A agent and converts the response into the canonical
SendMessageResponsemodel. - sendMessage(SendMessageRequest) - Method in class com.google.adk.webservice.A2ARemoteController
- sendMessageResponseToEvents(SendMessageResponse, String, String) - Static method in class com.google.adk.a2a.converters.ResponseConverter
-
Converts a
SendMessageResponsecontaining aMessageresult into ADK events. - sendRealtime(Blob) - Method in interface com.google.adk.models.BaseLlmConnection
-
Sends a chunk of audio or a frame of video to the model in realtime.
- sendRealtime(Blob) - Method in class com.google.adk.models.GeminiLlmConnection
- SEQUENTIAL - Enum constant in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
- SequentialAgent - Class in com.google.adk.agents
-
An agent that runs its sub-agents sequentially.
- SequentialAgent.Builder - Class in com.google.adk.agents
-
Builder for
SequentialAgent. - SequentialAgentConfig - Class in com.google.adk.agents
-
Configuration for SequentialAgent.
- SequentialAgentConfig() - Constructor for class com.google.adk.agents.SequentialAgentConfig
- SERVER_ERROR - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Server-side errors from the AI provider
- serverParams() - Method in class com.google.adk.tools.mcp.StdioConnectionParameters
- serverParams(StdioServerParameters) - Method in class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
- serviceName - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
- session() - Method in class com.google.adk.agents.InvocationContext
-
Returns the session associated with this invocation.
- session(Session) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the session associated with this invocation.
- Session - Class in com.google.adk.sessions
- SESSION_COLLECTION_NAME - Static variable in class com.google.adk.utils.Constants
-
session collection name
- Session.Builder - Class in com.google.adk.sessions
-
Builder for
Session. - SessionController - Class in com.google.adk.web.controller
-
Controller handling session-related API endpoints.
- SessionController(BaseSessionService) - Constructor for class com.google.adk.web.controller.SessionController
- SessionException - Exception Class in com.google.adk.sessions
-
Represents a general error that occurred during session management operations.
- SessionException(String) - Constructor for exception class com.google.adk.sessions.SessionException
- SessionException(String, Throwable) - Constructor for exception class com.google.adk.sessions.SessionException
- SessionException(Throwable) - Constructor for exception class com.google.adk.sessions.SessionException
- sessionId - Variable in class com.google.adk.web.dto.AddSessionToEvalSetRequest
- sessionId - Variable in class com.google.adk.web.dto.AgentRunRequest
- sessionId - Variable in class com.google.adk.web.dto.RunEvalResult
- sessionId() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns the session ID.
- sessionIds() - Method in class com.google.adk.sessions.ListSessionsResponse
- SessionNotFoundException - Exception Class in com.google.adk.sessions
-
Indicates that a requested session could not be found.
- SessionNotFoundException(String) - Constructor for exception class com.google.adk.sessions.SessionNotFoundException
- SessionNotFoundException(String, Throwable) - Constructor for exception class com.google.adk.sessions.SessionNotFoundException
- SessionRequest - Class in com.google.adk.web.dto
-
Data Transfer Object (DTO) for POST /apps/{appName}/users/{userId}/sessions and POST /apps/{appName}/users/{userId}/sessions/{sessionId} equests.
- SessionRequest(Map) - Constructor for class com.google.adk.web.dto.SessionRequest
- sessions() - Method in class com.google.adk.sessions.ListSessionsResponse
- sessions(List) - Method in class com.google.adk.sessions.ListSessionsResponse.Builder
- sessionService() - Method in class com.google.adk.agents.InvocationContext
-
Returns the session service for managing session state.
- sessionService() - Method in class com.google.adk.runner.Runner
- sessionService() - Method in class com.google.adk.web.AdkWebServer
- sessionService(BaseSessionService) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the session service for managing session state.
- sessionService(BaseSessionService) - Method in class com.google.adk.runner.Runner.Builder
- SessionUtils - Class in com.google.adk.sessions
-
Utility functions for session service.
- SessionUtils() - Constructor for class com.google.adk.sessions.SessionUtils
- setActions(EventActions) - Method in class com.google.adk.events.Event
- setActions(EventActions) - Method in class com.google.adk.tools.ToolContext
- setAdditionalProperty(String, Object) - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
- setAfterAgentCallbacks(List) - Method in class com.google.adk.agents.BaseAgentConfig
- setAfterModelCallbacks(List) - Method in class com.google.adk.agents.LlmAgentConfig
- setAfterToolCallbacks(List) - Method in class com.google.adk.agents.LlmAgentConfig
- setAgentClass(String) - Method in class com.google.adk.agents.BaseAgentConfig
- setArgs(BaseTool.ToolArgsConfig) - Method in class com.google.adk.tools.BaseTool.ToolConfig
- setArtifactDelta(ConcurrentMap) - Method in class com.google.adk.events.EventActions
- setAuthor(String) - Method in class com.google.adk.events.Event
- setAvgLogprobs(Optional) - Method in class com.google.adk.events.Event
- setBaseAgentCallbacks(BaseAgentConfig, Consumer, Consumer) - Static method in class com.google.adk.agents.ConfigAgentUtils
-
Sets the common agent callbacks (before/after agent) from the config to the builder setters.
- setBeforeAgentCallbacks(List) - Method in class com.google.adk.agents.BaseAgentConfig
- setBeforeModelCallbacks(List) - Method in class com.google.adk.agents.LlmAgentConfig
- setBeforeToolCallbacks(List) - Method in class com.google.adk.agents.LlmAgentConfig
- setBuildOutputDirs(String[]) - Method in class com.google.adk.web.config.AgentLoadingProperties
- setCode(String) - Method in class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
- setCompaction(Optional) - Method in class com.google.adk.events.EventActions
- setConfigPath(String) - Method in class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
- setContent(Optional) - Method in class com.google.adk.events.Event
- setCredentials(GoogleCredentials) - Method in class com.google.adk.models.VertexCredentials.Builder
- setCredentials(Optional) - Method in class com.google.adk.models.VertexCredentials.Builder
- setCustomMetadata(String, Object) - Method in class com.google.adk.tools.BaseTool
-
Sets custom metadata to the tool associated with a key.
- setDescription(String) - Method in class com.google.adk.agents.BaseAgentConfig
- setDescription(String) - Method in class com.google.adk.tools.ExampleTool.Builder
- setDisallowTransferToParent(Boolean) - Method in class com.google.adk.agents.LlmAgentConfig
- setDisallowTransferToPeers(Boolean) - Method in class com.google.adk.agents.LlmAgentConfig
- setEnabled(boolean) - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Observability
- setEnabled(boolean) - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Validation
- setEndInvocation(boolean) - Method in class com.google.adk.agents.InvocationContext
-
Sets whether this invocation should be ended.
- setEndInvocation(boolean) - Method in class com.google.adk.events.EventActions
- setEndInvocation(Optional) - Method in class com.google.adk.events.EventActions
- setErrorCode(Optional) - Method in class com.google.adk.events.Event
- setErrorMessage(Optional) - Method in class com.google.adk.events.Event
- setEscalate(boolean) - Method in class com.google.adk.events.EventActions
- setEscalate(Optional) - Method in class com.google.adk.events.EventActions
- setExampleProvider(BaseExampleProvider) - Method in class com.google.adk.tools.ExampleTool.Builder
- setExecutionId(String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Sets the session ID for the code executor.
- setFailFast(boolean) - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Validation
- setFinishReason(Optional) - Method in class com.google.adk.events.Event
- setGenerateContentConfig(GenerateContentConfig) - Method in class com.google.adk.agents.LlmAgentConfig
- setGroundingMetadata(Optional) - Method in class com.google.adk.events.Event
- setId(String) - Method in class com.google.adk.events.Event
- setIncludeContent(boolean) - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Observability
- setIncludeContents(LlmAgent.IncludeContents) - Method in class com.google.adk.agents.LlmAgentConfig
- setInputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.adk.agents.RunConfig.Builder
- setInstance(ComponentRegistry) - Static method in class com.google.adk.utils.ComponentRegistry
-
Updates the global singleton instance with a new ComponentRegistry.
- setInstruction(String) - Method in class com.google.adk.agents.LlmAgentConfig
- setInterrupted(Optional) - Method in class com.google.adk.events.Event
- setInvocationId(String) - Method in class com.google.adk.events.Event
- setLocation(String) - Method in class com.google.adk.models.VertexCredentials.Builder
- setLocation(Optional) - Method in class com.google.adk.models.VertexCredentials.Builder
- setLongRunningToolIds(Optional) - Method in class com.google.adk.events.Event
- setMaxIterations(Integer) - Method in class com.google.adk.agents.LoopAgentConfig
- setMaxLlmCalls(int) - Method in class com.google.adk.agents.RunConfig.Builder
- setMaxTokens(Integer) - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- setMemories(List) - Method in class com.google.adk.memory.SearchMemoryResponse.Builder
-
Sets the list of memory entries using a list.
- setMetricsEnabled(boolean) - Method in class com.google.adk.models.springai.properties.SpringAIProperties.Observability
- setModel(String) - Method in class com.google.adk.agents.LlmAgentConfig
- setModel(String) - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- setModelVersion(Optional) - Method in class com.google.adk.events.Event
- setName(String) - Method in class com.google.adk.agents.BaseAgentConfig.CallbackRef
- setName(String) - Method in class com.google.adk.agents.BaseAgentConfig
- setName(String) - Method in class com.google.adk.tools.BaseTool.ToolConfig
- setName(String) - Method in class com.google.adk.tools.ExampleTool.Builder
- setObservability(SpringAIProperties.Observability) - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- setOutputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.adk.agents.RunConfig.Builder
- setOutputKey(String) - Method in class com.google.adk.agents.LlmAgentConfig
- setPartial(Optional) - Method in class com.google.adk.events.Event
- setProject(String) - Method in class com.google.adk.models.VertexCredentials.Builder
- setProject(Optional) - Method in class com.google.adk.models.VertexCredentials.Builder
- setRequestedAuthConfigs(ConcurrentMap) - Method in class com.google.adk.events.EventActions
- setRequestedToolConfirmations(ConcurrentMap) - Method in class com.google.adk.events.EventActions
- setResponseModalities(Iterable) - Method in class com.google.adk.agents.RunConfig.Builder
- setSaveInputBlobsAsArtifacts(boolean) - Method in class com.google.adk.agents.RunConfig.Builder
- setSkipSummarization(boolean) - Method in class com.google.adk.events.EventActions
- setSkipSummarization(Boolean) - Method in class com.google.adk.events.EventActions
- setSkipSummarization(Optional) - Method in class com.google.adk.events.EventActions
- setSourceDir(String) - Method in class com.google.adk.web.config.AgentLoadingProperties
- setSpeechConfig(SpeechConfig) - Method in class com.google.adk.agents.RunConfig.Builder
- setSseServerParams(SseServerParameters) - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- setStateDelta(ConcurrentMap) - Method in class com.google.adk.events.EventActions
- setStdioConnectionParams(StdioConnectionParameters) - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- setStdioServerParams(StdioServerParameters) - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- setStreamingMode(RunConfig.StreamingMode) - Method in class com.google.adk.agents.RunConfig.Builder
- setSubAgents(List) - Method in class com.google.adk.agents.BaseAgentConfig
- setTemperature(Double) - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- setTimestamp(long) - Method in class com.google.adk.events.Event
- setToolExecutionMode(RunConfig.ToolExecutionMode) - Method in class com.google.adk.agents.RunConfig.Builder
- setToolFilter(List) - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- setTools(List) - Method in class com.google.adk.agents.LlmAgentConfig
- setTopK(Integer) - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- setTopP(Double) - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- setTracerForTesting(Tracer) - Static method in class com.google.adk.Telemetry
-
Sets the OpenTelemetry instance to be used for tracing.
- setTransferToAgent(String) - Method in class com.google.adk.events.EventActions
- setTransferToAgent(Optional) - Method in class com.google.adk.events.EventActions
- setTurnComplete(Optional) - Method in class com.google.adk.events.Event
- setUsageMetadata(Optional) - Method in class com.google.adk.events.Event
- setValidation(SpringAIProperties.Validation) - Method in class com.google.adk.models.springai.properties.SpringAIProperties
- shouldClose() - Method in class com.google.adk.agents.LiveRequest
-
Extracts boolean value from the close field or returns false if unset.
- shouldEmitAccumulatedText(LlmResponse) - Static method in class com.google.adk.models.GeminiUtil
-
Determines if accumulated text should be emitted based on the current LlmResponse.
- shouldPauseInvocation(Event) - Method in class com.google.adk.agents.InvocationContext
-
Returns whether to pause the invocation right after this [event].
- shutdown() - Method in class com.google.adk.web.service.ApiServerSpanExporter
- SingleFlow - Class in com.google.adk.flows.llmflows
-
Basic LLM flow with fixed request and response processors.
- SingleFlow() - Constructor for class com.google.adk.flows.llmflows.SingleFlow
- SingleFlow(List, List, Optional) - Constructor for class com.google.adk.flows.llmflows.SingleFlow
- SingleFlow(Optional) - Constructor for class com.google.adk.flows.llmflows.SingleFlow
- size() - Method in class com.google.adk.sessions.State
- size() - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
- skipSummarization() - Method in class com.google.adk.events.EventActions
- skipSummarization(boolean) - Method in class com.google.adk.events.EventActions.Builder
- SlidingWindowEventCompactor - Class in com.google.adk.summarizer
-
This class performs events compaction in a sliding window fashion based on the
EventsCompactionConfig. - SlidingWindowEventCompactor(EventsCompactionConfig) - Constructor for class com.google.adk.summarizer.SlidingWindowEventCompactor
- SpeechClientInterface - Interface in com.google.adk.flows.llmflows.audio
-
Interface for a speech-to-text client.
- speechConfig() - Method in class com.google.adk.agents.RunConfig
- SpringAI - Class in com.google.adk.models.springai
-
Spring AI implementation of BaseLlm that wraps Spring AI ChatModel and StreamingChatModel.
- SpringAI(ChatModel) - Constructor for class com.google.adk.models.springai.SpringAI
- SpringAI(ChatModel, String) - Constructor for class com.google.adk.models.springai.SpringAI
- SpringAI(ChatModel, String, SpringAIProperties.Observability) - Constructor for class com.google.adk.models.springai.SpringAI
- SpringAI(ChatModel, StreamingChatModel, String) - Constructor for class com.google.adk.models.springai.SpringAI
- SpringAI(ChatModel, StreamingChatModel, String, SpringAIProperties.Observability) - Constructor for class com.google.adk.models.springai.SpringAI
- SpringAI(StreamingChatModel) - Constructor for class com.google.adk.models.springai.SpringAI
- SpringAI(StreamingChatModel, String) - Constructor for class com.google.adk.models.springai.SpringAI
- SpringAI(StreamingChatModel, String, SpringAIProperties.Observability) - Constructor for class com.google.adk.models.springai.SpringAI
- SpringAIAutoConfiguration - Class in com.google.adk.models.springai.autoconfigure
-
Auto-configuration for Spring AI integration with ADK.
- SpringAIAutoConfiguration() - Constructor for class com.google.adk.models.springai.autoconfigure.SpringAIAutoConfiguration
- springAIEmbedding(EmbeddingModel, SpringAIProperties) - Method in class com.google.adk.models.springai.autoconfigure.SpringAIAutoConfiguration
-
Creates a SpringAIEmbedding bean when EmbeddingModel is available.
- SpringAIEmbedding - Class in com.google.adk.models.springai
-
Spring AI embedding model wrapper that provides ADK-compatible embedding generation.
- SpringAIEmbedding(EmbeddingModel) - Constructor for class com.google.adk.models.springai.SpringAIEmbedding
- SpringAIEmbedding(EmbeddingModel, String) - Constructor for class com.google.adk.models.springai.SpringAIEmbedding
- SpringAIEmbedding(EmbeddingModel, String, SpringAIProperties.Observability) - Constructor for class com.google.adk.models.springai.SpringAIEmbedding
- SpringAIErrorMapper - Class in com.google.adk.models.springai.error
-
Maps Spring AI exceptions to appropriate ADK exceptions and error handling strategies.
- SpringAIErrorMapper() - Constructor for class com.google.adk.models.springai.error.SpringAIErrorMapper
- SpringAIErrorMapper.ErrorCategory - Enum Class in com.google.adk.models.springai.error
-
Error categories for different types of failures.
- SpringAIErrorMapper.MappedError - Class in com.google.adk.models.springai.error
-
Container for mapped error information.
- SpringAIErrorMapper.RetryStrategy - Enum Class in com.google.adk.models.springai.error
-
Retry strategy recommendations.
- SpringAIObservabilityHandler - Class in com.google.adk.models.springai.observability
-
Handles observability features for Spring AI integration using Micrometer.
- SpringAIObservabilityHandler(SpringAIProperties.Observability) - Constructor for class com.google.adk.models.springai.observability.SpringAIObservabilityHandler
-
Creates an observability handler with a default SimpleMeterRegistry.
- SpringAIObservabilityHandler(SpringAIProperties.Observability, MeterRegistry) - Constructor for class com.google.adk.models.springai.observability.SpringAIObservabilityHandler
-
Creates an observability handler with a custom MeterRegistry.
- SpringAIObservabilityHandler.RequestContext - Class in com.google.adk.models.springai.observability
-
Context for tracking a single request with Micrometer timer.
- SpringAIProperties - Class in com.google.adk.models.springai.properties
-
Configuration properties for Spring AI integration with ADK.
- SpringAIProperties() - Constructor for class com.google.adk.models.springai.properties.SpringAIProperties
- SpringAIProperties.Observability - Class in com.google.adk.models.springai.properties
-
Observability configuration settings.
- SpringAIProperties.Validation - Class in com.google.adk.models.springai.properties
-
Configuration validation settings.
- springAIWithBothModels(ChatModel, StreamingChatModel, SpringAIProperties) - Method in class com.google.adk.models.springai.autoconfigure.SpringAIAutoConfiguration
-
Creates a SpringAI bean when both ChatModel and StreamingChatModel are available.
- springAIWithChatModel(ChatModel, SpringAIProperties) - Method in class com.google.adk.models.springai.autoconfigure.SpringAIAutoConfiguration
-
Creates a SpringAI bean when only ChatModel is available.
- springAIWithStreamingModel(StreamingChatModel, SpringAIProperties) - Method in class com.google.adk.models.springai.autoconfigure.SpringAIAutoConfiguration
-
Creates a SpringAI bean when only StreamingChatModel is available.
- src.main.java.com.google.adk.samples.a2a_remote - package src.main.java.com.google.adk.samples.a2a_remote
- SSE - Enum constant in enum class com.google.adk.agents.RunConfig.StreamingMode
- sseEndpoint() - Method in class com.google.adk.tools.mcp.SseServerParameters
-
The endpoint to connect to on the SSE server.
- sseEndpoint(String) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Sets the endpoint to connect to on the SSE server.
- sseReadTimeout() - Method in class com.google.adk.tools.mcp.SseServerParameters
-
The timeout for reading data from the SSE stream.
- sseReadTimeout(Duration) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Sets the timeout for reading data from the SSE stream.
- SseServerParameters - Class in com.google.adk.tools.mcp
-
Parameters for establishing a MCP Server-Sent Events (SSE) connection.
- SseServerParameters() - Constructor for class com.google.adk.tools.mcp.SseServerParameters
- SseServerParameters.Builder - Class in com.google.adk.tools.mcp
-
Builder for
SseServerParameters. - sseServerParams() - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- start(BaseAgent...) - Static method in class com.google.adk.web.AdkWebServer
- startRequest(String, String) - Method in class com.google.adk.models.springai.observability.SpringAIObservabilityHandler
-
Records the start of a request.
- startTimestamp() - Method in class com.google.adk.events.EventCompaction
- startTimestamp(long) - Method in class com.google.adk.events.EventCompaction.Builder
- state() - Method in class com.google.adk.agents.CallbackContext
-
Returns the delta-aware state of the current callback.
- state() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns an unmodifiable view of the state of the session.
- state() - Method in class com.google.adk.sessions.Session
- state(State) - Method in class com.google.adk.sessions.Session.Builder
- state(ConcurrentMap) - Method in class com.google.adk.sessions.Session.Builder
- State - Class in com.google.adk.sessions
-
A
Stateobject that also keeps track of the changes to the state. - State(ConcurrentMap) - Constructor for class com.google.adk.sessions.State
- State(ConcurrentMap, ConcurrentMap) - Constructor for class com.google.adk.sessions.State
- stateDelta - Variable in class com.google.adk.web.dto.AgentRunRequest
-
Optional state delta to merge into the session state before running the agent.
- stateDelta() - Method in class com.google.adk.events.EventActions
- stateDelta(ConcurrentMap) - Method in class com.google.adk.events.EventActions.Builder
- stateful() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
-
Whether the code executor is stateful.
- stateful() - Method in class com.google.adk.codeexecutors.ContainerCodeExecutor
- Static(String) - Constructor for record class com.google.adk.agents.Instruction.Static
-
Creates an instance of a
Staticrecord class. - stderr() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
-
The standard error of the code execution.
- stderr(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
- StdioConnectionParameters - Class in com.google.adk.tools.mcp
- StdioConnectionParameters.Builder - Class in com.google.adk.tools.mcp
- stdioConnectionParams() - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- StdioServerParameters - Class in com.google.adk.tools.mcp
-
Parameters for establishing a MCP stdio connection.
- StdioServerParameters() - Constructor for class com.google.adk.tools.mcp.StdioServerParameters
- StdioServerParameters.Builder - Class in com.google.adk.tools.mcp
-
Builder for
StdioServerParameters. - stdioServerParams() - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- stdout() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
-
The standard output of the code execution.
- stdout(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
- stop() - Method in class com.google.adk.maven.ConfigAgentLoader
-
Stops the hot-loading service.
- STOP_WORDS - Static variable in class com.google.adk.utils.Constants
-
Stop words for keyword extraction, loaded from properties.
- stream() - Method in class com.google.adk.agents.ActiveStreamingTool
-
Returns the active stream of this streaming tool.
- stream(LiveRequestQueue) - Method in class com.google.adk.agents.ActiveStreamingTool
-
Sets the active stream of this streaming tool.
- StreamableHttpServerParameters - Class in com.google.adk.tools.mcp
-
Server parameters for Streamable HTTP client transport.
- StreamableHttpServerParameters(String, Map, Duration, Duration, Boolean) - Constructor for class com.google.adk.tools.mcp.StreamableHttpServerParameters
-
Server parameters for Streamable HTTP client transport.
- StreamableHttpServerParameters.Builder - Class in com.google.adk.tools.mcp
-
Builder for
StreamableHttpServerParameters. - streaming - Variable in class com.google.adk.web.dto.AgentRunRequest
- streamingMode() - Method in class com.google.adk.agents.RunConfig
- StreamingResponseAggregator - Class in com.google.adk.models.springai
-
Aggregates streaming responses from Spring AI models.
- StreamingResponseAggregator() - Constructor for class com.google.adk.models.springai.StreamingResponseAggregator
- stringifyContent() - Method in class com.google.adk.events.Event
-
Converts the event content into a readable string.
- stripThoughts(List) - Static method in class com.google.adk.models.GeminiUtil
-
Removes any `Part` that contains only a `thought` from the content list.
- subAgents - Variable in class com.google.adk.agents.BaseAgent.Builder
- subAgents() - Method in class com.google.adk.agents.BaseAgent
- subAgents() - Method in class com.google.adk.agents.BaseAgentConfig
- subAgents(BaseAgent...) - Method in class com.google.adk.agents.BaseAgent.Builder
- subAgents(List) - Method in class com.google.adk.a2a.RemoteA2AAgent.Builder
- subAgents(List) - Method in class com.google.adk.agents.BaseAgent.Builder
- summarizeEvents(List) - Method in interface com.google.adk.summarizer.BaseEventSummarizer
-
Compact a list of events into a single event.
- summarizeEvents(List) - Method in class com.google.adk.summarizer.LlmEventSummarizer
- summarizer() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
-
Returns the value of the
summarizerrecord component.
T
- task() - Method in record class com.google.adk.a2a.converters.ResponseConverter.MessageSendResult
-
Returns the value of the
taskrecord component. - task() - Method in class com.google.adk.agents.ActiveStreamingTool
-
Returns the active task of this streaming tool.
- task(Disposable) - Method in class com.google.adk.agents.ActiveStreamingTool
-
Sets the active task of this streaming tool.
- Telemetry - Class in com.google.adk
-
Utility class for capturing and reporting telemetry data within the ADK.
- TEMP_PREFIX - Static variable in class com.google.adk.sessions.State
- terminateOnClose() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
- terminateOnClose(boolean) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
- test(BaseTool, Optional) - Method in class com.google.adk.tools.NamedToolPredicate
- test(BaseTool, Optional) - Method in interface com.google.adk.tools.ToolPredicate
-
Decides if the given tool is selected.
- timeout() - Method in class com.google.adk.tools.mcp.SseServerParameters
-
The timeout for the initial connection attempt.
- timeout() - Method in class com.google.adk.tools.mcp.StdioConnectionParameters
- timeout() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
- timeout(float) - Method in class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
- timeout(Duration) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Sets the timeout for the initial connection attempt.
- timeout(Duration) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
- TIMEOUT_ERROR - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Timeout errors
- timeoutDuration() - Method in class com.google.adk.tools.mcp.StdioConnectionParameters
- timestamp() - Method in class com.google.adk.events.Event
-
The timestamp of the event.
- timestamp() - Method in class com.google.adk.memory.MemoryEntry
-
Returns the timestamp when the original content of this memory happened, or null if not set.
- timestamp(long) - Method in class com.google.adk.events.Event.Builder
- timestamp(String) - Method in class com.google.adk.memory.MemoryEntry.Builder
-
Sets the timestamp when the original content of this memory happened.
- timestamp(Instant) - Method in class com.google.adk.memory.MemoryEntry.Builder
-
A convenience method to set the timestamp from an
Instantobject, formatted as an ISO 8601 string. - timestamp(Optional) - Method in class com.google.adk.events.Event.Builder
- toBuilder() - Method in class com.google.adk.agents.InvocationContext
-
Returns a
InvocationContext.Builderinitialized with the values of this instance. - toBuilder() - Method in class com.google.adk.agents.LiveRequest
- toBuilder() - Method in class com.google.adk.agents.RunConfig
- toBuilder() - Method in class com.google.adk.events.Event
-
Creates a builder pre-filled with this event's values.
- toBuilder() - Method in class com.google.adk.events.EventActions
- toBuilder() - Method in class com.google.adk.events.ToolConfirmation
- toBuilder() - Method in class com.google.adk.examples.Example
- toBuilder() - Method in class com.google.adk.memory.MemoryEntry
-
Creates a new builder with a copy of this entry's values.
- toBuilder() - Method in class com.google.adk.models.LlmRequest
- toBuilder() - Method in class com.google.adk.models.LlmResponse
- toBuilder() - Method in class com.google.adk.models.Model
- toBuilder() - Method in class com.google.adk.tools.ToolContext
- toDoubleArray(float[]) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Convert float array to double array.
- toFloatArray(double[]) - Static method in class com.google.adk.models.springai.EmbeddingConverter
-
Convert double array to float array.
- toGenaiPart(Part) - Static method in class com.google.adk.a2a.converters.PartConverter
-
Convert an A2A JSON part into a Google GenAI part representation.
- toJson() - Method in class com.google.adk.JsonBaseModel
- toJsonNode(Object) - Static method in class com.google.adk.JsonBaseModel
-
Serializes an object to a JsonNode.
- toJsonString(Object) - Static method in class com.google.adk.JsonBaseModel
-
Serializes an object to a Json string.
- toLlmPrompt(LlmRequest) - Method in class com.google.adk.models.springai.MessageConverter
-
Converts an ADK LlmRequest to a Spring AI Prompt.
- toLlmResponse(ChatResponse) - Method in class com.google.adk.models.springai.MessageConverter
-
Converts a Spring AI ChatResponse to an ADK LlmResponse.
- toLlmResponse(ChatResponse, boolean) - Method in class com.google.adk.models.springai.MessageConverter
-
Converts a Spring AI ChatResponse to an ADK LlmResponse with streaming context.
- toMaybe(ApiFuture) - Static method in class com.google.adk.utils.ApiFutureUtils
-
Converts an ApiFuture to an RxJava Maybe.
- TOOL_CALL_SECURITY_STATES - Static variable in class com.google.adk.flows.llmflows.Functions
-
Session state key for storing the security policy outcomes for tool calls.
- ToolArgsConfig() - Constructor for class com.google.adk.tools.BaseTool.ToolArgsConfig
- toolCall() - Method in class com.google.adk.plugins.recordings.ToolRecording
-
The tool call.
- toolCall(FunctionCall) - Method in class com.google.adk.plugins.recordings.ToolRecording.Builder
- ToolConfig() - Constructor for class com.google.adk.tools.BaseTool.ToolConfig
- ToolConfig(String, BaseTool.ToolArgsConfig) - Constructor for class com.google.adk.tools.BaseTool.ToolConfig
- toolConfirmation() - Method in class com.google.adk.tools.ToolContext
- toolConfirmation(ToolConfirmation) - Method in class com.google.adk.tools.ToolContext.Builder
- toolConfirmation(ToolConfirmation) - Method in class com.google.adk.tools.ToolContext
- ToolConfirmation - Class in com.google.adk.events
-
Represents a tool confirmation configuration.
- ToolConfirmation() - Constructor for class com.google.adk.events.ToolConfirmation
- ToolConfirmation.Builder - Class in com.google.adk.events
-
Builder for
ToolConfirmation. - ToolContext - Class in com.google.adk.tools
-
ToolContext object provides a structured context for executing tools or functions.
- ToolContext.Builder - Class in com.google.adk.tools
-
Builder for
ToolContext. - ToolConverter - Class in com.google.adk.models.springai
-
Converts between ADK and Spring AI tool/function formats.
- ToolConverter() - Constructor for class com.google.adk.models.springai.ToolConverter
- ToolConverter.ToolMetadata - Class in com.google.adk.models.springai
-
Simple metadata holder for tool information.
- toolExecutionMode() - Method in class com.google.adk.agents.RunConfig
- toolFilter() - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
- toolFilter(List) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
- toolFilter(Optional) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
- ToolMetadata(String, String, FunctionDeclaration) - Constructor for class com.google.adk.models.springai.ToolConverter.ToolMetadata
- ToolPredicate - Interface in com.google.adk.tools
-
Functional interface to decide whether a tool should be exposed to the LLM based on the current context.
- toolRecording() - Method in class com.google.adk.plugins.recordings.Recording
-
Tool call-response pair.
- toolRecording(ToolRecording) - Method in class com.google.adk.plugins.recordings.Recording.Builder
- ToolRecording - Class in com.google.adk.plugins.recordings
-
Paired tool call and response for replay.
- ToolRecording() - Constructor for class com.google.adk.plugins.recordings.ToolRecording
- ToolRecording.Builder - Class in com.google.adk.plugins.recordings
-
Builder for ToolRecording.
- toolResponse() - Method in class com.google.adk.plugins.recordings.ToolRecording
-
The tool response.
- toolResponse(FunctionResponse) - Method in class com.google.adk.plugins.recordings.ToolRecording.Builder
- tools() - Method in class com.google.adk.agents.LlmAgent
- tools() - Method in class com.google.adk.agents.LlmAgentConfig
- tools() - Method in class com.google.adk.models.LlmRequest
-
Returns a map of tools available to the LLM.
- tools(Object...) - Method in class com.google.adk.agents.LlmAgent.Builder
- tools(List) - Method in class com.google.adk.agents.LlmAgent.Builder
- toolsets() - Method in class com.google.adk.agents.LlmAgent
- toolsUnion() - Method in class com.google.adk.agents.LlmAgent
- toServerParameters() - Method in class com.google.adk.tools.mcp.StdioServerParameters
-
Converts this to a
ServerParametersinstance. - toSingle(ApiFuture) - Static method in class com.google.adk.utils.ApiFutureUtils
-
Converts an ApiFuture to an RxJava Single.
- toSpringAiChatOptions(Optional) - Method in class com.google.adk.models.springai.ConfigMapper
-
Converts ADK GenerateContentConfig to Spring AI ChatOptions.
- toString() - Method in record class com.google.adk.a2a.converters.ResponseConverter.MessageSendResult
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.adk.agents.Instruction.Provider
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.adk.agents.Instruction.Static
-
Returns a string representation of this record class.
- toString() - Method in class com.google.adk.events.Event
- toString() - Method in record class com.google.adk.flows.llmflows.ResumabilityConfig
-
Returns a string representation of this record class.
- toString() - Method in class com.google.adk.models.springai.error.SpringAIErrorMapper.MappedError
- toString() - Method in class com.google.adk.sessions.Session
- toString() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
-
Returns a string representation of this record class.
- toString() - Method in record class com.google.adk.tools.LoadMemoryResponse
-
Returns a string representation of this record class.
- toString() - Method in class com.google.adk.tools.ToolContext
- toString() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns a string representation of this record class.
- traceCallLlm(InvocationContext, String, LlmRequest, LlmResponse) - Static method in class com.google.adk.Telemetry
-
Traces a call to the LLM.
- traceFlowable(Context, Span, Supplier) - Static method in class com.google.adk.Telemetry
-
Executes a Flowable with an OpenTelemetry Scope active for its entire lifecycle.
- traceSendData(InvocationContext, String, List) - Static method in class com.google.adk.Telemetry
-
Traces the sending of data (history or new content) to the agent/model.
- traceToolCall(Map) - Static method in class com.google.adk.Telemetry
-
Traces tool call arguments.
- traceToolResponse(InvocationContext, String, Event) - Static method in class com.google.adk.Telemetry
-
Traces tool response event.
- transferToAgent() - Method in class com.google.adk.events.EventActions
- transferToAgent() - Method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
-
The agent to transfer to.
- transferToAgent(String) - Method in class com.google.adk.events.EventActions.Builder
- transferToAgent(String, ToolContext) - Static method in class com.google.adk.flows.llmflows.AgentTransfer
- turnComplete() - Method in class com.google.adk.events.Event
- turnComplete() - Method in class com.google.adk.models.LlmResponse
-
Indicates whether the response from the model is complete.
- turnComplete(Boolean) - Method in class com.google.adk.events.Event.Builder
- turnComplete(Boolean) - Method in class com.google.adk.models.LlmResponse.Builder
- turnComplete(Optional) - Method in class com.google.adk.events.Event.Builder
- turnComplete(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
- TypeError(String) - Constructor for exception class com.google.adk.a2a.RemoteA2AAgent.TypeError
U
- UNKNOWN_ERROR - Enum constant in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Unknown or unclassified errors
- unsupportedContentType(String) - Static method in exception class com.google.adk.models.springai.MessageConversionException
-
Creates a MessageConversionException for unsupported content type.
- updateCodeExecutionResult(String, String, String, String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
-
Updates the code execution result.
- updatedRequest() - Method in class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
-
Updated LLM request.
- updatedResponse() - Method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
-
Updated LLM response.
- updateOperation(String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- updateOperationRequest(String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- url() - Method in class com.google.adk.tools.mcp.SseServerParameters
-
The URL of the SSE server.
- url() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
- url(String) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Sets the URL of the SSE server.
- url(String) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
- UrlContextTool - Class in com.google.adk.tools
-
A built-in tool that is automatically invoked by Gemini 2 models to retrieve information from the given URLs.
- UrlContextTool() - Constructor for class com.google.adk.tools.UrlContextTool
- usageMetadata() - Method in class com.google.adk.events.Event
- usageMetadata() - Method in class com.google.adk.models.LlmResponse
-
Usage metadata about the response(s).
- usageMetadata(GenerateContentResponseUsageMetadata) - Method in class com.google.adk.events.Event.Builder
- usageMetadata(GenerateContentResponseUsageMetadata) - Method in class com.google.adk.models.LlmResponse.Builder
- usageMetadata(Optional) - Method in class com.google.adk.events.Event.Builder
- usageMetadata(Optional) - Method in class com.google.adk.models.LlmResponse.Builder
- USER_PREFIX - Static variable in class com.google.adk.sessions.State
- USER_STATE_COLLECTION - Static variable in class com.google.adk.utils.Constants
-
user state colection
- userContent - Variable in class com.google.adk.a2a.converters.ConversationPreprocessor.PreparedInput
-
Extracted user message content, if a qualifying text event was found.
- userContent() - Method in class com.google.adk.agents.InvocationContext
-
Returns the user content that triggered this invocation, if any.
- userContent() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns the user content that initiated this invocation.
- userContent(Content) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the user content that triggered this invocation.
- userContent(Optional) - Method in class com.google.adk.agents.InvocationContext.Builder
-
Sets the user content that triggered this invocation.
- userEvent - Variable in class com.google.adk.a2a.converters.ConversationPreprocessor.PreparedInput
-
The concrete event that supplied
ConversationPreprocessor.PreparedInput.userContent, for callers needing metadata. - userId - Variable in class com.google.adk.web.dto.AddSessionToEvalSetRequest
- userId - Variable in class com.google.adk.web.dto.AgentRunRequest
- userId() - Method in class com.google.adk.agents.InvocationContext
-
Returns the user ID associated with the session.
- userId() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns the user ID.
- userId() - Method in class com.google.adk.sessions.Session
- userId(String) - Method in class com.google.adk.sessions.Session.Builder
- userMessageIndex() - Method in class com.google.adk.plugins.recordings.Recording
-
Index of the user message this recording belongs to (0-based).
- userMessageIndex(int) - Method in class com.google.adk.plugins.recordings.Recording.Builder
V
- validate() - Method in class com.google.adk.agents.LlmAgent.Builder
- validateMapOnSchema(Map, Schema, Boolean) - Static method in class com.google.adk.SchemaUtils
-
Validates a map against a schema.
- validateOutputSchema(String, Schema) - Static method in class com.google.adk.SchemaUtils
-
Validates an output string against a schema.
- Validation() - Constructor for class com.google.adk.models.springai.properties.SpringAIProperties.Validation
- valueOf(String) - Static method in enum class com.google.adk.a2a.converters.EventConverter.AggregationMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.adk.agents.LlmAgent.IncludeContents
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.adk.agents.RunConfig.StreamingMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.RetryStrategy
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.google.adk.a2a.converters.EventConverter.AggregationMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.adk.agents.LlmAgent.IncludeContents
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.adk.agents.RunConfig.StreamingMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.ErrorCategory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.google.adk.models.springai.error.SpringAIErrorMapper.RetryStrategy
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Method in class com.google.adk.sessions.State
- Version - Class in com.google.adk
-
Tracks the current ADK version.
- versions() - Method in class com.google.adk.artifacts.ListArtifactVersionsResponse
- versions(List) - Method in class com.google.adk.artifacts.ListArtifactVersionsResponse.Builder
- vertexAI() - Method in class com.google.adk.sessions.HttpApiClient
-
Returns whether the client is using Vertex AI APIs.
- VertexAiCodeExecutor - Class in com.google.adk.codeexecutors
-
A code executor that uses Vertex Code Interpreter Extension to execute code.
- VertexAiCodeExecutor(String) - Constructor for class com.google.adk.codeexecutors.VertexAiCodeExecutor
-
Initializes the VertexAiCodeExecutor.
- VertexAiRagRetrieval - Class in com.google.adk.tools.retrieval
-
A retrieval tool that fetches context from Vertex AI RAG.
- VertexAiRagRetrieval(String, String, VertexRagServiceClient, String, List, Double) - Constructor for class com.google.adk.tools.retrieval.VertexAiRagRetrieval
- VertexAiSearchAgentTool - Class in com.google.adk.tools
-
A tool that wraps a sub-agent that only uses vertex_ai_search tool.
- VertexAiSearchAgentTool(LlmAgent) - Constructor for class com.google.adk.tools.VertexAiSearchAgentTool
- VertexAiSearchTool - Class in com.google.adk.tools
-
A built-in tool using Vertex AI Search.
- VertexAiSearchTool.Builder - Class in com.google.adk.tools
-
Builder for
VertexAiSearchTool. - VertexAiSessionService - Class in com.google.adk.sessions
-
Connects to the managed Vertex AI Session Service.
- VertexAiSessionService() - Constructor for class com.google.adk.sessions.VertexAiSessionService
-
Creates a session service with default configuration.
- VertexAiSessionService(String, String, HttpApiClient) - Constructor for class com.google.adk.sessions.VertexAiSessionService
-
Creates a new instance of the Vertex AI Session Service with a custom ApiClient for testing.
- VertexAiSessionService(String, String, Optional, Optional) - Constructor for class com.google.adk.sessions.VertexAiSessionService
-
Creates a session service with specified project, location, credentials, and HTTP options.
- vertexCredentials(VertexCredentials) - Method in class com.google.adk.models.Gemini.Builder
-
Sets the Vertex AI credentials.
- VertexCredentials - Class in com.google.adk.models
-
Credentials for accessing Gemini models through Vertex.
- VertexCredentials() - Constructor for class com.google.adk.models.VertexCredentials
- VertexCredentials.Builder - Class in com.google.adk.models
-
Builder for
VertexCredentials. - VertexSpeechClient - Class in com.google.adk.flows.llmflows.audio
-
Implementation of SpeechClientInterface using Vertex AI SpeechClient.
- VertexSpeechClient() - Constructor for class com.google.adk.flows.llmflows.audio.VertexSpeechClient
-
Constructs a VertexSpeechClient, initializing the underlying Google Cloud SpeechClient.
W
- WEATHER_AGENT - Static variable in class com.google.adk.tutorials.LiveAudioSingleAgent
- Web Interface - Section in class com.google.adk.maven.WebMojo
- WebMojo - Class in com.google.adk.maven
-
Maven plugin goal that starts the Google ADK Web Server with user-provided agents.
- WebMojo() - Constructor for class com.google.adk.maven.WebMojo
- WebSocketConfig - Class in com.google.adk.web.websocket
-
Configuration class for WebSocket handling.
- WebSocketConfig(LiveWebSocketHandler) - Constructor for class com.google.adk.web.websocket.WebSocketConfig
- WORD_PATTERN - Static variable in class com.google.adk.utils.Constants
-
Pattern to match words for keyword extraction.
- wrapCallResult(ObjectMapper, String, McpSchema.CallToolResult) - Static method in class com.google.adk.tools.mcp.AbstractMcpTool
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
InvocationContext.toBuilder()andInvocationContext.Builder.agent(BaseAgent)instead.