Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- 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
- addResourceHandlers(ResourceHandlerRegistry) - Method in class com.google.adk.web.AdkWebServer
-
Configures resource handlers for serving static content (like the Dev UI).
- addSessionToEvalSet(String, String, AdkWebServer.AddSessionToEvalSetRequest) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Placeholder for adding a session to an evaluation set.
- AddSessionToEvalSetRequest() - Constructor for class com.google.adk.web.AdkWebServer.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.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<String>, List<String>, List<String>, boolean, long) - Constructor for record class com.google.adk.web.config.AdkWebCorsProperties
-
Creates an instance of a
AdkWebCorsProperties
record class. - AdkWebServer - Class in com.google.adk.web
-
Single-file Spring Boot application for the Agent Server.
- AdkWebServer() - Constructor for class com.google.adk.web.AdkWebServer
- AdkWebServer.AddSessionToEvalSetRequest - Class in com.google.adk.web
-
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/add-session requests.
- AdkWebServer.AgentController - Class in com.google.adk.web
-
Spring Boot REST Controller handling agent-related API endpoints.
- AdkWebServer.AgentRunRequest - Class in com.google.adk.web
-
Data Transfer Object (DTO) for POST /run and POST /run-sse requests.
- AdkWebServer.ApiServerSpanExporter - Class in com.google.adk.web
-
A custom SpanExporter that stores relevant span data.
- AdkWebServer.GraphResponse - Class in com.google.adk.web
-
DTO for the response of GET /apps/{appName}/users/{userId}/sessions/{sessionId}/events/{eventId}/graph.
- AdkWebServer.LiveWebSocketHandler - Class in com.google.adk.web
-
WebSocket Handler for the /run_live endpoint.
- AdkWebServer.OpenTelemetryConfig - Class in com.google.adk.web
-
Configuration class for OpenTelemetry, setting up the tracer provider and span exporter.
- AdkWebServer.RunEvalRequest - Class in com.google.adk.web
-
DTO for POST /apps/{appName}/eval_sets/{evalSetId}/run-eval requests.
- AdkWebServer.RunEvalResult - Class in com.google.adk.web
-
DTO for the response of POST /apps/{appName}/eval_sets/{evalSetId}/run-eval.
- AdkWebServer.RunnerService - Class in com.google.adk.web
-
Service for creating and caching Runner instances.
- AdkWebServer.WebSocketConfig - Class in com.google.adk.web
-
Configuration class for WebSocket handling.
- afterAgentCallback() - Method in class com.google.adk.agents.BaseAgent
- afterAgentCallback(Callbacks.AfterAgentCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterAgentCallback(Callbacks.AfterAgentCallback) - Method in class com.google.adk.agents.LoopAgent.Builder
- afterAgentCallback(Callbacks.AfterAgentCallback) - Method in class com.google.adk.agents.ParallelAgent.Builder
- afterAgentCallback(Callbacks.AfterAgentCallback) - Method in class com.google.adk.agents.SequentialAgent.Builder
- afterAgentCallback(List<Callbacks.AfterAgentCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterAgentCallback(List<Callbacks.AfterAgentCallbackBase>) - Method in class com.google.adk.agents.LoopAgent.Builder
- afterAgentCallback(List<Callbacks.AfterAgentCallbackBase>) - Method in class com.google.adk.agents.ParallelAgent.Builder
- afterAgentCallback(List<Callbacks.AfterAgentCallbackBase>) - Method in class com.google.adk.agents.SequentialAgent.Builder
- afterAgentCallbackSync(Callbacks.AfterAgentCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterConnectionClosed(WebSocketSession, CloseStatus) - Method in class com.google.adk.web.AdkWebServer.LiveWebSocketHandler
- afterConnectionEstablished(WebSocketSession) - Method in class com.google.adk.web.AdkWebServer.LiveWebSocketHandler
- afterModelCallback() - Method in class com.google.adk.agents.LlmAgent
- afterModelCallback(Callbacks.AfterModelCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterModelCallback(List<Callbacks.AfterModelCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterModelCallbackSync(Callbacks.AfterModelCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- 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(List<Callbacks.AfterToolCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
- afterToolCallbackSync(Callbacks.AfterToolCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- agent() - Method in class com.google.adk.agents.InvocationContext
- agent() - Method in class com.google.adk.runner.Runner
- agent(BaseAgent) - Method in class com.google.adk.agents.InvocationContext
- AgentCompilerLoader - Class in com.google.adk.web
-
Dynamically compiles and loads ADK
BaseAgent
implementations from source files. - AgentCompilerLoader(AgentLoadingProperties) - Constructor for class com.google.adk.web.AgentCompilerLoader
-
Initializes the loader with agent configuration and proactively attempts to locate the ADK core JAR.
- AgentController(BaseSessionService, BaseArtifactService, Map<String, BaseAgent>, AdkWebServer.ApiServerSpanExporter, AdkWebServer.RunnerService) - Constructor for class com.google.adk.web.AdkWebServer.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
- 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.
- agentRun(AdkWebServer.AgentRunRequest) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Executes a non-streaming agent run for a given session and message.
- AgentRunRequest() - Constructor for class com.google.adk.web.AdkWebServer.AgentRunRequest
- agentRunSse(AdkWebServer.AgentRunRequest) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Executes an agent run and streams the resulting events using Server-Sent Events (SSE).
- 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
-
RequestProcessor
that 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
allowCredentials
record component. - 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
Client
instance for making API calls. - 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.network
-
The API response contains a response to a call to the GenAI APIs.
- 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.network.ApiResponse
- ApiResponse() - Constructor for class com.google.adk.sessions.ApiResponse
- apiServerSpanExporter() - Method in class com.google.adk.web.AdkWebServer.OpenTelemetryConfig
- ApiServerSpanExporter() - Constructor for class com.google.adk.web.AdkWebServer.ApiServerSpanExporter
- APP_PREFIX - Static variable in class com.google.adk.sessions.State
- 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.InMemorySessionService
- appendEvent(Session, Event) - Method in class com.google.adk.sessions.VertexAiSessionService
- appendInstructions(List<String>) - Method in class com.google.adk.models.LlmRequest.Builder
- appendTools(List<BaseTool>) - 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>, String, Map<String, List<String>>, List<String>, 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.AdkWebServer.AgentRunRequest
- appName - Variable in class com.google.adk.web.AdkWebServer.RunEvalResult
- appName() - Method in class com.google.adk.agents.InvocationContext
- 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.sessions.Session.Builder
- artifactDelta() - Method in class com.google.adk.events.EventActions
- artifactDelta(ConcurrentMap<String, Part>) - Method in class com.google.adk.events.EventActions.Builder
- artifactService() - Method in class com.google.adk.agents.InvocationContext
- 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).
- 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
- 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<Integer>) - Constructor for class com.google.adk.flows.llmflows.AutoFlow
B
- BaseAgent - Class in com.google.adk.agents
-
Base class for all agents.
- BaseAgent(String, String, List<? extends BaseAgent>, List<Callbacks.BeforeAgentCallback>, List<Callbacks.AfterAgentCallback>) - Constructor for class com.google.adk.agents.BaseAgent
-
Creates a new BaseAgent.
- BaseAgentConfig - Class in com.google.adk.agents
-
Base configuration for all agents.
- BaseAgentConfig() - Constructor for class com.google.adk.agents.BaseAgentConfig
- BaseArtifactService - Interface in com.google.adk.artifacts
-
Base interface for artifact services.
- 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<RequestProcessor>, List<ResponseProcessor>) - Constructor for class com.google.adk.flows.llmflows.BaseLlmFlow
- BaseLlmFlow(List<RequestProcessor>, List<ResponseProcessor>, Optional<Integer>) - Constructor for class com.google.adk.flows.llmflows.BaseLlmFlow
- BaseMemoryService - Interface in com.google.adk.memory
-
Base contract for memory services.
- 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
- BaseToolset - Interface in com.google.adk.tools
-
Base interface for toolsets.
- Basic - Class in com.google.adk.flows.llmflows
-
RequestProcessor
that handles basic information to build the LLM request. - Basic() - Constructor for class com.google.adk.flows.llmflows.Basic
- beforeAgentCallback() - Method in class com.google.adk.agents.BaseAgent
- beforeAgentCallback(Callbacks.BeforeAgentCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeAgentCallback(Callbacks.BeforeAgentCallback) - Method in class com.google.adk.agents.LoopAgent.Builder
- beforeAgentCallback(Callbacks.BeforeAgentCallback) - Method in class com.google.adk.agents.ParallelAgent.Builder
- beforeAgentCallback(Callbacks.BeforeAgentCallback) - Method in class com.google.adk.agents.SequentialAgent.Builder
- beforeAgentCallback(List<Callbacks.BeforeAgentCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeAgentCallback(List<Callbacks.BeforeAgentCallbackBase>) - Method in class com.google.adk.agents.LoopAgent.Builder
- beforeAgentCallback(List<Callbacks.BeforeAgentCallbackBase>) - Method in class com.google.adk.agents.ParallelAgent.Builder
- beforeAgentCallback(List<Callbacks.BeforeAgentCallbackBase>) - Method in class com.google.adk.agents.SequentialAgent.Builder
- beforeAgentCallbackSync(Callbacks.BeforeAgentCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeModelCallback() - Method in class com.google.adk.agents.LlmAgent
- beforeModelCallback(Callbacks.BeforeModelCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeModelCallback(List<Callbacks.BeforeModelCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeModelCallbackSync(Callbacks.BeforeModelCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeToolCallback() - Method in class com.google.adk.agents.LlmAgent
- beforeToolCallback(Callbacks.BeforeToolCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
- beforeToolCallback(List<Callbacks.BeforeToolCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
- 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<Blob>) - Method in class com.google.adk.agents.LiveRequest.Builder
- branch() - Method in class com.google.adk.agents.InvocationContext
- 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
- 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<String>) - Method in class com.google.adk.events.Event
- branch(Optional<String>) - Method in class com.google.adk.events.Event.Builder
- 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.events.Event.Builder
- build() - Method in class com.google.adk.events.EventActions.Builder
- build() - Method in class com.google.adk.examples.Example.Builder
- build() - Method in class com.google.adk.memory.MemoryEntry.Builder
-
Builds the immutable
MemoryEntry
object. - build() - Method in class com.google.adk.memory.SearchMemoryResponse.Builder
-
Builds the immutable
SearchMemoryResponse
object. - build() - Method in class com.google.adk.models.Gemini.Builder
-
Builds the
Gemini
instance. - 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.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.mcp.SseServerParameters.Builder
-
Builds a new
SseServerParameters
instance. - build() - Method in class com.google.adk.tools.ToolContext.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.
- builder() - Static method in class com.google.adk.agents.LiveRequest
- builder() - Static method in class com.google.adk.agents.LlmAgent
-
Returns a
LlmAgent.Builder
forLlmAgent
. - 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.events.Event
- builder() - Static method in class com.google.adk.events.EventActions
- 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.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.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.mcp.SseServerParameters
-
Creates a new builder for
SseServerParameters
. - 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.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.events.Event.Builder
- Builder() - Constructor for class com.google.adk.events.EventActions.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.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.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.mcp.SseServerParameters.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.
- buildFunctionDeclaration(Method, List<String>) - Static method in class com.google.adk.tools.FunctionCallingUtils
- buildSchemaFromType(Type) - Static method in class com.google.adk.tools.FunctionCallingUtils
- 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
C
- 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) - Method in interface com.google.adk.agents.Callbacks.BeforeModelCallback
-
Async callback before LLM invocation.
- call(CallbackContext, LlmRequest) - 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<String, Object>, ToolContext) - Method in interface com.google.adk.agents.Callbacks.BeforeToolCallback
-
Async callback before tool runs.
- call(InvocationContext, BaseTool, Map<String, Object>, ToolContext) - Method in interface com.google.adk.agents.Callbacks.BeforeToolCallbackSync
- call(InvocationContext, BaseTool, Map<String, Object>, ToolContext, Object) - Method in interface com.google.adk.agents.Callbacks.AfterToolCallback
-
Async callback after tool runs.
- call(InvocationContext, BaseTool, Map<String, Object>, 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.
- 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.
- canonicalGlobalInstruction(ReadonlyContext) - Method in class com.google.adk.agents.LlmAgent
-
Constructs the text global instruction for this agent based on the
LlmAgent.globalInstruction
field. - canonicalInstruction(ReadonlyContext) - Method in class com.google.adk.agents.LlmAgent
-
Constructs the text instruction for this agent based on the
LlmAgent.instruction
field. - 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<ReadonlyContext>) - Method in class com.google.adk.agents.LlmAgent
-
Constructs the list of tools for this agent based on the
LlmAgent.tools()
field. - 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
- 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.network.ApiResponse
- close() - Method in class com.google.adk.network.HttpApiResponse
-
Closes the Http response.
- 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.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<Boolean>) - Method in class com.google.adk.agents.LiveRequest.Builder
- closeSession(Session) - Method in interface com.google.adk.sessions.BaseSessionService
-
Closes a session.
- CollectionUtils - Class in com.google.adk.utils
-
Frequently used code snippets for collections.
- com.google.adk - package com.google.adk
- com.google.adk.agents - package com.google.adk.agents
- com.google.adk.artifacts - package com.google.adk.artifacts
- com.google.adk.events - package com.google.adk.events
- com.google.adk.examples - package com.google.adk.examples
- com.google.adk.exceptions - package com.google.adk.exceptions
- 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.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.network - package com.google.adk.network
- com.google.adk.runner - package com.google.adk.runner
- com.google.adk.sessions - package com.google.adk.sessions
- 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.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
- 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
- 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
- ConnectionDetails() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
- ConnectionsClient - Class in com.google.adk.tools.applicationintegrationtoolset
-
Utility class for interacting with the Google Cloud Connectors API.
- ConnectionsClient(String, String, String, IntegrationConnectorTool.HttpExecutor, ObjectMapper) - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
-
Initializes the 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<String, Object>) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- 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.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.models.LlmResponse.Builder
- content(Optional<Content>) - Method in class com.google.adk.agents.LiveRequest.Builder
- content(Optional<Content>) - Method in class com.google.adk.events.Event.Builder
- contents() - Method in class com.google.adk.models.LlmRequest
-
Returns the list of content sent to the LLM.
- contents(List<Content>) - Method in class com.google.adk.models.LlmRequest.Builder
- Contents - Class in com.google.adk.flows.llmflows
-
RequestProcessor
that populates content in request for LLM flows. - Contents() - Constructor for class com.google.adk.flows.llmflows.Contents
- ConversionUtils - Class in com.google.adk.tools.mcp
-
Utility class for converting between different representations of MCP tools.
- convertJsonSchemaToOpenApiSchema(Map<String, Object>) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
-
Converts a JSON Schema dictionary to an OpenAPI schema dictionary.
- copyOf(InvocationContext) - Static method in class com.google.adk.agents.InvocationContext
- corsConfigurationSource(AdkWebCorsProperties) - Method in class com.google.adk.web.config.AdkWebCorsConfig
- corsFilter(CorsConfigurationSource) - Method in class com.google.adk.web.config.AdkWebCorsConfig
- create(BaseAgent) - Static method in class com.google.adk.tools.AgentTool
- create(BaseAgent, boolean) - Static method in class com.google.adk.tools.AgentTool
- create(LlmRequest, Iterable<Event>) - Static method in class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
- create(LlmResponse, Iterable<Event>, Optional<String>) - Static method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
- create(BaseSessionService, BaseArtifactService, BaseAgent, Session, LiveRequestQueue, RunConfig) - Static method in class com.google.adk.agents.InvocationContext
- create(BaseSessionService, BaseArtifactService, String, BaseAgent, Session, Content, RunConfig) - Static method in class com.google.adk.agents.InvocationContext
- 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(Object, Method) - Static method in class com.google.adk.tools.FunctionTool
- 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(Method) - Static method in class com.google.adk.tools.FunctionTool
- create(Method) - Static method in class com.google.adk.tools.LongRunningFunctionTool
- create(String) - Method in interface com.google.adk.models.LlmRegistry.LlmFactory
- create(List<Candidate>) - Static method in class com.google.adk.models.LlmResponse
- createAsyncSession() - Method in class com.google.adk.tools.mcp.McpSessionManager
- createEvalSet(String, String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
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
- 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, ConcurrentMap<String, Object>, String) - Method in class com.google.adk.sessions.InMemorySessionService
- createSession(String, String, ConcurrentMap<String, Object>, String) - Method in interface com.google.adk.sessions.BaseSessionService
-
Creates a new session with the specified parameters.
- createSession(String, String, ConcurrentMap<String, Object>, String) - Method in class com.google.adk.sessions.VertexAiSessionService
- createSession(String, String, Map<String, Object>) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Creates a new session where the ID is generated by the service.
- createSessionWithId(String, String, String, Map<String, Object>) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Creates a new session with a specific ID provided by the client.
- credentials() - Method in class com.google.adk.models.VertexCredentials
D
- 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
FunctionDeclaration
representation 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.McpAsyncTool
- declaration() - Method in class com.google.adk.tools.mcp.McpTool
- 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.AdkWebServer.AgentController
-
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.InMemorySessionService
- deleteSession(String, String, String) - Method in class com.google.adk.sessions.VertexAiSessionService
- deleteSession(String, String, String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Deletes a specific session.
- 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.agents.LlmAgent.Builder
- description(String) - Method in class com.google.adk.agents.LoopAgent.Builder
- description(String) - Method in class com.google.adk.agents.ParallelAgent.Builder
- description(String) - Method in class com.google.adk.agents.SequentialAgent.Builder
- determineLlmFlow() - Method in class com.google.adk.agents.LlmAgent
- 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.AdkWebServer.GraphResponse
E
- 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
- endInvocation() - Method in class com.google.adk.events.EventActions
- endInvocation(boolean) - Method in class com.google.adk.events.EventActions.Builder
- EntitySchemaAndOperations() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.EntitySchemaAndOperations
- entrySet() - Method in class com.google.adk.sessions.State
- 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 class com.google.adk.sessions.State
- 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<FinishReason>) - Method in class com.google.adk.events.Event.Builder
- errorCode(Optional<FinishReason>) - 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<String>) - Method in class com.google.adk.events.Event.Builder
- errorMessage(Optional<String>) - Method in class com.google.adk.models.LlmResponse.Builder
- escalate() - Method in class com.google.adk.events.EventActions
- escalate(boolean) - Method in class com.google.adk.events.EventActions.Builder
- evalId - Variable in class com.google.adk.web.AdkWebServer.AddSessionToEvalSetRequest
- evalId - Variable in class com.google.adk.web.AdkWebServer.RunEvalResult
- evalIds - Variable in class com.google.adk.web.AdkWebServer.RunEvalRequest
- evalMetricResults - Variable in class com.google.adk.web.AdkWebServer.RunEvalResult
- evalMetrics - Variable in class com.google.adk.web.AdkWebServer.RunEvalRequest
- evalSetId - Variable in class com.google.adk.web.AdkWebServer.RunEvalResult
- 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
. - 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() - Method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
- events() - Method in class com.google.adk.sessions.ListEventsResponse
- events() - Method in class com.google.adk.sessions.Session
- events(List<Event>) - Method in class com.google.adk.sessions.ListEventsResponse.Builder
- events(List<Event>) - Method in class com.google.adk.sessions.Session.Builder
- EventStream - Class in com.google.adk.events
-
Iterable stream of
Event
objects. - EventStream(Supplier<Event>) - Constructor for class com.google.adk.events.EventStream
-
Constructs a new event stream.
- Example - Class in com.google.adk.examples
-
Represents an few-shot example.
- Example() - Constructor for class com.google.adk.examples.Example
- Example.Builder - Class in com.google.adk.examples
-
Builder for constructing
Example
instances. - 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<Example>) - Method in class com.google.adk.agents.LlmAgent.Builder
- Examples - Class in com.google.adk.flows.llmflows
-
RequestProcessor
that populates examples in LLM request. - Examples() - Constructor for class com.google.adk.flows.llmflows.Examples
- ExampleUtils - Class in com.google.adk.examples
-
Utility class for examples.
- executeCustomQueryRequest() - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
- 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
- ExitLoopTool - Class in com.google.adk.tools
-
Exits the loop.
- export(Collection<SpanData>) - Method in class com.google.adk.web.AdkWebServer.ApiServerSpanExporter
F
- filenames() - Method in class com.google.adk.artifacts.ListArtifactsResponse
- filenames(List<String>) - Method in class com.google.adk.artifacts.ListArtifactsResponse.Builder
- finalEvalStatus - Variable in class com.google.adk.web.AdkWebServer.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.
- findSubAgent(String) - Method in class com.google.adk.agents.BaseAgent
-
Recursively search sub agent by name.
- flush() - Method in class com.google.adk.web.AdkWebServer.ApiServerSpanExporter
- 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<T>) - 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
LiveRequest
object. - fromJsonString(String, Class<T>) - Static method in class com.google.adk.JsonBaseModel
-
Deserializes a Json string to an object of the given type.
- 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
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.
- 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.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
- generateContentConfig() - Method in class com.google.adk.agents.LlmAgent
- generateContentConfig(GenerateContentConfig) - Method in class com.google.adk.agents.LlmAgent.Builder
- generateEventId() - Static method in class com.google.adk.events.Event
- get() - Method in class com.google.adk.agents.LiveRequestQueue
- get(Object) - Method in class com.google.adk.sessions.State
- 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.
- getAfterAgentCallbacks(List<Callbacks.AfterAgentCallbackBase>) - Static method in class com.google.adk.agents.CallbackUtil
-
Normalizes after-agent callbacks.
- getAgentGraphDotSource(BaseAgent, List<List<String>>) - 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.AdkWebServer.ApiServerSpanExporter
- getAppName() - Method in class com.google.adk.web.AdkWebServer.AgentRunRequest
- getBeforeAgentCallbacks(List<Callbacks.BeforeAgentCallbackBase>) - Static method in class com.google.adk.agents.CallbackUtil
-
Normalizes before-agent callbacks.
- getCompileClasspath() - Method in class com.google.adk.web.config.AgentLoadingProperties
- 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
- getDotSrc() - Method in class com.google.adk.web.AdkWebServer.GraphResponse
- getEntity() - Method in class com.google.adk.network.ApiResponse
-
Gets the ResponseBody.
- getEntity() - Method in class com.google.adk.network.HttpApiResponse
-
Returns the ResponseBody from the response.
- getEntitySchemaAndOperations(String) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
-
Retrieves the JSON schema and available operations for a given entity.
- getEvalId() - Method in class com.google.adk.web.AdkWebServer.AddSessionToEvalSetRequest
- getEvalIds() - Method in class com.google.adk.web.AdkWebServer.RunEvalRequest
- getEvalMetrics() - Method in class com.google.adk.web.AdkWebServer.RunEvalRequest
- getEvalResult(String, String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Gets a specific evaluation result.
- getEventGraph(String, String, String, String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Endpoint to get a graph representation of an event (currently returns a placeholder).
- getEventTraceAttributes(String) - Method in class com.google.adk.web.AdkWebServer.ApiServerSpanExporter
- getExamples(String) - Method in interface com.google.adk.examples.BaseExampleProvider
- getFirstSystemInstruction() - Method in class com.google.adk.models.LlmRequest
-
returns the first system instruction text from the request if present.
- getInstruction() - Method in record class com.google.adk.agents.Instruction.Provider
-
Returns the value of the
getInstruction
record 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<FunctionCall>, Map<String, BaseTool>) - Static method in class com.google.adk.flows.llmflows.Functions
- getMapper() - Static method in class com.google.adk.JsonBaseModel
- getMcpSession() - Method in class com.google.adk.tools.mcp.McpAsyncTool
- getMcpSession() - Method in class com.google.adk.tools.mcp.McpTool
- getNewMessage() - Method in class com.google.adk.web.AdkWebServer.AgentRunRequest
- 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
- 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.
- getRunner(String) - Method in class com.google.adk.web.AdkWebServer.RunnerService
-
Gets the Runner instance for a given application name.
- getSession(String, String, String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Retrieves a specific session by its ID.
- getSession(String, String, String, Optional<GetSessionConfig>) - Method in interface com.google.adk.sessions.BaseSessionService
-
Retrieves a specific session, optionally filtering the events included.
- getSession(String, String, String, Optional<GetSessionConfig>) - Method in class com.google.adk.sessions.InMemorySessionService
- getSession(String, String, String, Optional<GetSessionConfig>) - 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.AdkWebServer.AddSessionToEvalSetRequest
- getSessionId() - Method in class com.google.adk.web.AdkWebServer.AgentRunRequest
- getSessionToTraceIdsMap() - Method in class com.google.adk.web.AdkWebServer.ApiServerSpanExporter
- getSessionTrace(String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Retrieves trace spans for a given session ID.
- getSourceDir() - Method in class com.google.adk.web.config.AgentLoadingProperties
- getStreaming() - Method in class com.google.adk.web.AdkWebServer.AgentRunRequest
- getSystemInstructions() - Method in class com.google.adk.models.LlmRequest
-
Returns all system instruction texts from the request as an immutable list.
- 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.McpToolset
- getTraceDict(String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
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.
- getUserId() - Method in class com.google.adk.web.AdkWebServer.AddSessionToEvalSetRequest
- getUserId() - Method in class com.google.adk.web.AdkWebServer.AgentRunRequest
- 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
- 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
- GraphResponse() - Constructor for class com.google.adk.web.AdkWebServer.GraphResponse
- GraphResponse(String) - Constructor for class com.google.adk.web.AdkWebServer.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<GroundingMetadata>) - Method in class com.google.adk.events.Event.Builder
- groundingMetadata(Optional<GroundingMetadata>) - Method in class com.google.adk.models.LlmResponse.Builder
H
- handleFunctionCalls(InvocationContext, Event, Map<String, BaseTool>) - Static method in class com.google.adk.flows.llmflows.Functions
- handleTextMessage(WebSocketSession, TextMessage) - Method in class com.google.adk.web.AdkWebServer.LiveWebSocketHandler
- handleTransportError(WebSocketSession, Throwable) - Method in class com.google.adk.web.AdkWebServer.LiveWebSocketHandler
- hasDelta() - Method in class com.google.adk.sessions.State
- 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 class com.google.adk.sessions.State
- hashCode() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns a hash code value for this object.
- headers() - Method in class com.google.adk.tools.mcp.SseServerParameters
-
Optional headers to include in the SSE connection request.
- headers() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
headers
record component. - headers(Map<String, Object>) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Sets the headers for the SSE connection request.
- 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.network
-
Wraps a real HTTP response to expose the methods needed by the GenAI SDK.
- 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.network.HttpApiResponse
-
Constructs a HttpApiResponse instance with the response.
- 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
-
RequestProcessor
that gives the agent identity from the framework - Identity() - Constructor for class com.google.adk.flows.llmflows.Identity
- includeContents() - Method in class com.google.adk.agents.LlmAgent
- includeContents(LlmAgent.IncludeContents) - Method in class com.google.adk.agents.LlmAgent.Builder
- incrementLlmCallsCount() - Method in class com.google.adk.agents.InvocationContext
- 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
- InMemorySessionService - Class in com.google.adk.sessions
-
An in-memory implementation of
BaseSessionService
assumingSession
objects 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
- 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
- instruction() - Method in record class com.google.adk.agents.Instruction.Static
-
Returns the value of the
instruction
record 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
-
RequestProcessor
that 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<Boolean>) - Method in class com.google.adk.events.Event.Builder
- interrupted(Optional<Boolean>) - Method in class com.google.adk.models.LlmResponse.Builder
- invocationContext - Variable in class com.google.adk.agents.ReadonlyContext
- InvocationContext - Class in com.google.adk.agents
-
The context for an agent invocation.
- invocationId() - Method in class com.google.adk.agents.InvocationContext
- 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.events.Event.Builder
- isEmpty() - Method in class com.google.adk.sessions.State
- isNullOrEmpty(Iterable<T>) - Static method in class com.google.adk.utils.CollectionUtils
-
Checks if the given iterable is null or empty.
- isToolSelected(BaseTool, Optional<Object>, Optional<ReadonlyContext>) - 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
- 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
K
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
- listApps() - Method in class com.google.adk.web.AdkWebServer.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.AdkWebServer.AgentController
-
Lists the names of all artifacts associated with a session.
- listArtifacts() - Method in class com.google.adk.tools.ToolContext
-
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.AdkWebServer.AgentController
-
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.AdkWebServer.AgentController
-
Lists all evaluation results for an app.
- listEvalSets(String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Placeholder for listing evaluation sets.
- listEvalsInEvalSet(String, String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
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.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.InMemorySessionService
- listSessions(String, String) - Method in class com.google.adk.sessions.VertexAiSessionService
- listSessions(String, String) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
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.
- 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
LiveRequest
instances. - liveRequestQueue() - Method in class com.google.adk.agents.InvocationContext
- 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(ObjectMapper, BaseSessionService, AdkWebServer.RunnerService) - Constructor for class com.google.adk.web.AdkWebServer.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.exceptions
-
An error indicating that the limit for calls to the LLM has been exceeded.
- LlmCallsLimitExceededException(String) - Constructor for exception class com.google.adk.exceptions.LlmCallsLimitExceededException
- 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 - 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
LlmRequest
instances. - 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
LlmResponse
instances. - loadAgents() - Method in class com.google.adk.web.AgentCompilerLoader
-
Discovers, compiles, and loads agents from the configured source directory.
- loadArtifact(String, String, String, String, Integer) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Loads the latest or a specific version of an artifact associated with a session.
- loadArtifact(String, String, String, String, Optional<Integer>) - Method in interface com.google.adk.artifacts.BaseArtifactService
-
Gets an artifact.
- loadArtifact(String, String, String, String, Optional<Integer>) - Method in class com.google.adk.artifacts.GcsArtifactService
-
Loads an artifact from GCS.
- loadArtifact(String, String, String, String, Optional<Integer>) - Method in class com.google.adk.artifacts.InMemoryArtifactService
-
Loads an artifact by version or latest.
- loadArtifact(String, Optional<Integer>) - 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.AdkWebServer.AgentController
-
Loads a specific version of an artifact.
- loadedAgentRegistry(AgentCompilerLoader, AgentLoadingProperties) - Method in class com.google.adk.web.AdkWebServer
- 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.
- 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<Set<String>>) - Method in class com.google.adk.events.Event.Builder
- longRunningToolIds(Set<String>) - 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
.
M
- main(String[]) - Static method in class com.google.adk.web.AdkWebServer
-
Main entry point for the Spring Boot application.
- mapping() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
mapping
record component. - maxAge() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
maxAge
record component. - maxIterations(int) - Method in class com.google.adk.agents.LoopAgent.Builder
- maxIterations(Optional<Integer>) - Method in class com.google.adk.agents.LoopAgent.Builder
- maxLlmCalls() - Method in class com.google.adk.agents.RunConfig
- 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
- McpInitializationException(String, Throwable) - Constructor for exception class com.google.adk.tools.mcp.McpToolset.McpInitializationException
- 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 - 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.
- McpToolLoadingException(String, Throwable) - Constructor for exception class com.google.adk.tools.mcp.McpToolset.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<Object>) - 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<Object>) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with SSE server parameters.
- McpToolset(SseServerParameters, Optional<Object>) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with SSE server parameters, using the ObjectMapper used across the ADK.
- 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<Object>) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with local server parameters.
- McpToolset(ServerParameters, Optional<Object>) - Constructor for class com.google.adk.tools.mcp.McpToolset
-
Initializes the McpToolset with local server parameters, using the ObjectMapper used across the ADK.
- McpToolset.McpInitializationException - Exception Class in com.google.adk.tools.mcp
-
Exception thrown when there's an error during MCP session initialization.
- McpToolset.McpToolLoadingException - Exception Class in com.google.adk.tools.mcp
-
Exception thrown when there's an error during loading tools from the MCP server.
- McpToolset.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.McpToolset.McpToolsetException
- 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.
- 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
. - merge(EventActions) - Method in class com.google.adk.events.EventActions.Builder
- methods() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
methods
record component. - 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.Builder - Class in com.google.adk.models
-
Builder for
Model
. - modelName() - Method in class com.google.adk.models.Model
- 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
N
- 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
- name() - Element in annotation interface com.google.adk.tools.Annotations.Schema
- name() - Method in class com.google.adk.tools.BaseTool
- name(String) - Method in class com.google.adk.agents.LlmAgent.Builder
- name(String) - Method in class com.google.adk.agents.LoopAgent.Builder
- name(String) - Method in class com.google.adk.agents.ParallelAgent.Builder
- name(String) - Method in class com.google.adk.agents.SequentialAgent.Builder
- newInvocationContextId() - Static method in class com.google.adk.agents.InvocationContext
- newMessage - Variable in class com.google.adk.web.AdkWebServer.AgentRunRequest
- nextPageToken() - Method in class com.google.adk.sessions.ListEventsResponse
- nextPageToken(String) - Method in class com.google.adk.sessions.ListEventsResponse.Builder
- NONE - Enum constant in enum class com.google.adk.agents.LlmAgent.IncludeContents
- NONE - Enum constant in enum class com.google.adk.agents.RunConfig.StreamingMode
- 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() - Method in class com.google.adk.web.AdkWebServer
- of() - Static method in class com.google.adk.utils.Pairs
-
Returns a new, empty
ConcurrentHashMap
. - of(K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMap
containing a single mapping. - of(K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMap
containing two mappings. - of(K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMap
containing three mappings. - of(K, V, K, V, K, V, K, V) - Static method in class com.google.adk.utils.Pairs
-
Returns a new
ConcurrentHashMap
containing 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
ConcurrentHashMap
containing 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
ConcurrentHashMap
containing 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
ConcurrentHashMap
containing 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
ConcurrentHashMap
containing 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
ConcurrentHashMap
containing 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
ConcurrentHashMap
containing ten mappings. - OpenTelemetryConfig() - Constructor for class com.google.adk.web.AdkWebServer.OpenTelemetryConfig
- openTelemetrySdk(SdkTracerProvider) - Method in class com.google.adk.web.AdkWebServer.OpenTelemetryConfig
- operations - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.EntitySchemaAndOperations
- origins() - Method in record class com.google.adk.web.config.AdkWebCorsProperties
-
Returns the value of the
origins
record component. - output() - Method in class com.google.adk.examples.Example
- output(List<Content>) - Method in class com.google.adk.examples.Example.Builder
- outputAudioTranscription() - Method in class com.google.adk.agents.RunConfig
- 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.
P
- Pairs - Class in com.google.adk.utils
-
Utility class for creating ConcurrentHashMaps.
- 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
. - 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.
- 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<Boolean>) - Method in class com.google.adk.events.Event.Builder
- partial(Optional<Boolean>) - Method in class com.google.adk.models.LlmResponse.Builder
- planning() - Method in class com.google.adk.agents.LlmAgent
- planning(boolean) - Method in class com.google.adk.agents.LlmAgent.Builder
- populateClientFunctionCallId(Event) - Static method in class com.google.adk.flows.llmflows.Functions
-
Populates missing function call IDs in the provided event's content.
- 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.
- preprocess(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.BaseLlmFlow
-
Pre-processes the LLM request before sending it to the LLM.
- 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.GoogleSearchTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.LoadArtifactsTool
- processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.retrieval.VertexAiRagRetrieval
- 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 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.
- 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.
- Provider(Function<ReadonlyContext, Single<String>>) - Constructor for record class com.google.adk.agents.Instruction.Provider
-
Creates an instance of a
Provider
record class. - put(String, Object) - Method in class com.google.adk.sessions.State
- putAll(Map<? extends String, ? extends Object>) - Method in class com.google.adk.sessions.State
- putIfAbsent(String, Object) - Method in class com.google.adk.sessions.State
R
- 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
- 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.
- registerLlm(String, LlmRegistry.LlmFactory) - Static method in class com.google.adk.models.LlmRegistry
-
Registers a factory for model names matching the given regex pattern.
- registerWebSocketHandlers(WebSocketHandlerRegistry) - Method in class com.google.adk.web.AdkWebServer.WebSocketConfig
- remove(Object) - Method in class com.google.adk.sessions.State
- remove(Object, Object) - Method in class com.google.adk.sessions.State
- replace(String, Object) - Method in class com.google.adk.sessions.State
- replace(String, Object, Object) - Method in class com.google.adk.sessions.State
- 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_PROCESSORS - Static variable in class com.google.adk.flows.llmflows.SingleFlow
- requestedAuthConfigs() - Method in class com.google.adk.events.EventActions
- requestedAuthConfigs(ConcurrentMap<String, ConcurrentMap<String, Object>>) - Method in class com.google.adk.events.EventActions.Builder
- RequestProcessingResult() - Constructor for class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
- RequestProcessor - Interface in com.google.adk.flows.llmflows
- RequestProcessor.RequestProcessingResult - Class in com.google.adk.flows.llmflows
- requestProcessors - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
- resolvedModel() - Method in class com.google.adk.agents.LlmAgent
- response(GenerateContentResponse) - Method in class com.google.adk.models.LlmResponse.Builder
- RESPONSE_PROCESSORS - Static variable in class com.google.adk.flows.llmflows.SingleFlow
- responseModalities() - Method in class com.google.adk.agents.RunConfig
- ResponseProcessingResult() - Constructor for class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
- ResponseProcessor - Interface in com.google.adk.flows.llmflows
- ResponseProcessor.ResponseProcessingResult - Class in com.google.adk.flows.llmflows
- responseProcessors - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
- rootAgent() - Method in class com.google.adk.agents.BaseAgent
-
Returns the root agent for this agent by traversing up the parent chain.
- 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(com.google.adk.agents.InvocationContext)
until a final response is produced. - 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
-
Runs the agent in the standard mode using a provided Session object.
- runAsync(String, String, Content) - Method in class com.google.adk.runner.Runner
-
Asynchronously runs the agent for a given user and session, processing a new message and using a default
RunConfig
. - runAsync(String, String, Content, RunConfig) - Method in class com.google.adk.runner.Runner
-
Runs the agent in the standard mode.
- runAsync(Map<String, Object>, ToolContext) - Method in class com.google.adk.tools.AgentTool
- runAsync(Map<String, Object>, ToolContext) - Method in class com.google.adk.tools.applicationintegrationtoolset.IntegrationConnectorTool
- runAsync(Map<String, Object>, ToolContext) - Method in class com.google.adk.tools.BaseTool
-
Calls a tool.
- runAsync(Map<String, Object>, ToolContext) - Method in class com.google.adk.tools.FunctionTool
- runAsync(Map<String, Object>, ToolContext) - Method in class com.google.adk.tools.LoadArtifactsTool
- runAsync(Map<String, Object>, ToolContext) - Method in class com.google.adk.tools.mcp.McpAsyncTool
- runAsync(Map<String, Object>, ToolContext) - Method in class com.google.adk.tools.mcp.McpTool
- runAsync(Map<String, Object>, ToolContext) - Method in class com.google.adk.tools.retrieval.VertexAiRagRetrieval
- 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.
- runConfig() - Method in class com.google.adk.agents.InvocationContext
- 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.
- runEval(String, String, AdkWebServer.RunEvalRequest) - Method in class com.google.adk.web.AdkWebServer.AgentController
-
Placeholder for running evaluations.
- RunEvalRequest() - Constructor for class com.google.adk.web.AdkWebServer.RunEvalRequest
- RunEvalResult() - Constructor for class com.google.adk.web.AdkWebServer.RunEvalResult
- RunEvalResult(String, String, String, String, List<List<Object>>, String) - Constructor for class com.google.adk.web.AdkWebServer.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.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
-
Creates a new
Runner
. - RunnerService(Map<String, BaseAgent>, BaseArtifactService, BaseSessionService) - Constructor for class com.google.adk.web.AdkWebServer.RunnerService
- runWithSessionId(String, Content, RunConfig) - Method in class com.google.adk.runner.Runner
-
Runs the agent asynchronously with a default user ID.
S
- 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(AdkWebServer.ApiServerSpanExporter) - Method in class com.google.adk.web.AdkWebServer.OpenTelemetryConfig
- 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.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
. - 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<Content>) - Method in interface com.google.adk.models.BaseLlmConnection
-
Sends the conversation history to the model.
- sendHistory(List<Content>) - Method in class com.google.adk.models.GeminiLlmConnection
- 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
- 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
. - serviceName - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
- session() - Method in class com.google.adk.agents.InvocationContext
- Session - Class in com.google.adk.sessions
- Session.Builder - Class in com.google.adk.sessions
-
Builder for
Session
. - 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.AdkWebServer.AddSessionToEvalSetRequest
- sessionId - Variable in class com.google.adk.web.AdkWebServer.AgentRunRequest
- sessionId - Variable in class com.google.adk.web.AdkWebServer.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
- sessions() - Method in class com.google.adk.sessions.ListSessionsResponse
- sessions(List<Session>) - Method in class com.google.adk.sessions.ListSessionsResponse.Builder
- sessionService() - Method in class com.google.adk.agents.InvocationContext
- sessionService() - Method in class com.google.adk.runner.Runner
- sessionService() - Method in class com.google.adk.web.AdkWebServer
- 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
- setArtifactDelta(ConcurrentMap<String, Part>) - Method in class com.google.adk.events.EventActions
- setAuthor(String) - Method in class com.google.adk.events.Event
- setAuthor(String) - Method in class com.google.adk.memory.MemoryEntry.Builder
-
Sets the author of the memory.
- setCompileClasspath(String) - Method in class com.google.adk.web.config.AgentLoadingProperties
- setContent(Content) - Method in class com.google.adk.memory.MemoryEntry.Builder
-
Sets the main content of the memory.
- setContent(Optional<Content>) - Method in class com.google.adk.events.Event
- setCredentials(GoogleCredentials) - Method in class com.google.adk.models.VertexCredentials.Builder
- setCredentials(Optional<GoogleCredentials>) - Method in class com.google.adk.models.VertexCredentials.Builder
- setDescription(String) - Method in class com.google.adk.agents.BaseAgentConfig
- setDisallowTransferToParent(Boolean) - Method in class com.google.adk.agents.LlmAgentConfig
- setDisallowTransferToPeers(Boolean) - Method in class com.google.adk.agents.LlmAgentConfig
- setEndInvocation(boolean) - Method in class com.google.adk.agents.InvocationContext
- setEndInvocation(boolean) - Method in class com.google.adk.events.EventActions
- setEndInvocation(Optional<Boolean>) - Method in class com.google.adk.events.EventActions
- setErrorCode(Optional<FinishReason>) - Method in class com.google.adk.events.Event
- setErrorMessage(Optional<String>) - Method in class com.google.adk.events.Event
- setEscalate(boolean) - Method in class com.google.adk.events.EventActions
- setEscalate(Optional<Boolean>) - Method in class com.google.adk.events.EventActions
- setGroundingMetadata(Optional<GroundingMetadata>) - Method in class com.google.adk.events.Event
- setId(String) - Method in class com.google.adk.events.Event
- setInstruction(String) - Method in class com.google.adk.agents.LlmAgentConfig
- setInterrupted(Optional<Boolean>) - 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<String>) - Method in class com.google.adk.models.VertexCredentials.Builder
- setLongRunningToolIds(Optional<Set<String>>) - Method in class com.google.adk.events.Event
- setMaxLlmCalls(int) - Method in class com.google.adk.agents.RunConfig.Builder
- setMemories(List<MemoryEntry>) - Method in class com.google.adk.memory.SearchMemoryResponse.Builder
-
Sets the list of memory entries using a list.
- setModel(String) - Method in class com.google.adk.agents.LlmAgentConfig
- setName(String) - Method in class com.google.adk.agents.BaseAgentConfig
- setOutputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.adk.agents.RunConfig.Builder
- setOutputKey(String) - Method in class com.google.adk.agents.LlmAgentConfig
- setPartial(Optional<Boolean>) - Method in class com.google.adk.events.Event
- setProject(String) - Method in class com.google.adk.models.VertexCredentials.Builder
- setProject(Optional<String>) - Method in class com.google.adk.models.VertexCredentials.Builder
- setRequestedAuthConfigs(ConcurrentMap<String, ConcurrentMap<String, Object>>) - Method in class com.google.adk.events.EventActions
- setResponseModalities(Iterable<Modality>) - 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<Boolean>) - 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
- setStateDelta(ConcurrentMap<String, Object>) - Method in class com.google.adk.events.EventActions
- setStreamingMode(RunConfig.StreamingMode) - Method in class com.google.adk.agents.RunConfig.Builder
- setTimestamp(long) - Method in class com.google.adk.events.Event
- setTimestamp(String) - Method in class com.google.adk.memory.MemoryEntry.Builder
-
Sets the timestamp when the original content of this memory happened.
- setTimestamp(Instant) - Method in class com.google.adk.memory.MemoryEntry.Builder
-
A convenience method to set the timestamp from an
Instant
object, formatted as an ISO 8601 string. - setTransferToAgent(String) - Method in class com.google.adk.events.EventActions
- setTransferToAgent(Optional<String>) - Method in class com.google.adk.events.EventActions
- setTurnComplete(Optional<Boolean>) - Method in class com.google.adk.events.Event
- shouldClose() - Method in class com.google.adk.agents.LiveRequest
-
Extracts boolean value from the close field or returns false if unset.
- shutdown() - Method in class com.google.adk.web.AdkWebServer.ApiServerSpanExporter
- SingleFlow - Class in com.google.adk.flows.llmflows
-
Basic LLM flow with fixed request processors and no response post-processing.
- SingleFlow() - Constructor for class com.google.adk.flows.llmflows.SingleFlow
- SingleFlow(List<RequestProcessor>, List<ResponseProcessor>, Optional<Integer>) - Constructor for class com.google.adk.flows.llmflows.SingleFlow
- SingleFlow(Optional<Integer>) - Constructor for class com.google.adk.flows.llmflows.SingleFlow
- size() - Method in class com.google.adk.sessions.State
- skipSummarization() - Method in class com.google.adk.events.EventActions
- skipSummarization(boolean) - Method in class com.google.adk.events.EventActions.Builder
- 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
- SSE - Enum constant in enum class com.google.adk.agents.RunConfig.StreamingMode
- 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
. - 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<String, Object>) - Method in class com.google.adk.sessions.Session.Builder
- State - Class in com.google.adk.sessions
-
A
State
object that also keeps track of the changes to the state. - State(ConcurrentMap<String, Object>) - Constructor for class com.google.adk.sessions.State
- State(ConcurrentMap<String, Object>, ConcurrentMap<String, Object>) - Constructor for class com.google.adk.sessions.State
- stateDelta() - Method in class com.google.adk.events.EventActions
- stateDelta(ConcurrentMap<String, Object>) - Method in class com.google.adk.events.EventActions.Builder
- Static(String) - Constructor for record class com.google.adk.agents.Instruction.Static
-
Creates an instance of a
Static
record class. - stepsCompleted - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
- streaming - Variable in class com.google.adk.web.AdkWebServer.AgentRunRequest
- streamingMode() - Method in class com.google.adk.agents.RunConfig
- stringifyContent() - Method in class com.google.adk.events.Event
-
Converts the event content into a readable string.
- subAgents() - Method in class com.google.adk.agents.BaseAgent
- subAgents(BaseAgent...) - Method in class com.google.adk.agents.LlmAgent.Builder
- subAgents(BaseAgent...) - Method in class com.google.adk.agents.LoopAgent.Builder
- subAgents(BaseAgent...) - Method in class com.google.adk.agents.ParallelAgent.Builder
- subAgents(BaseAgent...) - Method in class com.google.adk.agents.SequentialAgent.Builder
- subAgents(List<? extends BaseAgent>) - Method in class com.google.adk.agents.LlmAgent.Builder
- subAgents(List<? extends BaseAgent>) - Method in class com.google.adk.agents.LoopAgent.Builder
- subAgents(List<? extends BaseAgent>) - Method in class com.google.adk.agents.ParallelAgent.Builder
- subAgents(List<? extends BaseAgent>) - Method in class com.google.adk.agents.SequentialAgent.Builder
T
- 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
- test(BaseTool, Optional<ReadonlyContext>) - 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(Duration) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Sets the timeout for the initial connection attempt.
- 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(Optional<Long>) - Method in class com.google.adk.events.Event.Builder
- toBuilder() - Method in class com.google.adk.agents.LiveRequest
- 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.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
- toGeminiSchema(McpSchema.JsonSchema) - Method in class com.google.adk.tools.mcp.McpAsyncTool
- toGeminiSchema(McpSchema.JsonSchema) - Method in class com.google.adk.tools.mcp.McpTool
- 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.
- 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
. - 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.
- tools() - Method in class com.google.adk.agents.LlmAgent
- 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
- toolsUnion() - Method in class com.google.adk.agents.LlmAgent
- 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 class com.google.adk.sessions.Session
- 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.
- traceSendData(InvocationContext, String, List<Content>) - Static method in class com.google.adk.Telemetry
-
Traces the sending of data (history or new content) to the agent/model.
- traceToolCall(Map<String, Object>) - 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
- transferToAgent(String) - Method in class com.google.adk.events.EventActions.Builder
- transferToAgent(String, ToolContext) - Static method in class com.google.adk.flows.llmflows.AgentTransfer
-
Marks the target agent for transfer using the tool context.
- 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<Boolean>) - Method in class com.google.adk.events.Event.Builder
- turnComplete(Optional<Boolean>) - Method in class com.google.adk.models.LlmResponse.Builder
U
- updatedRequest() - Method in class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
- updatedResponse() - Method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
- 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(String) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
-
Sets the URL of the SSE server.
- usageMetadata() - Method in class com.google.adk.models.LlmResponse
-
Usage metadata about the response(s).
- usageMetadata(GenerateContentResponseUsageMetadata) - Method in class com.google.adk.models.LlmResponse.Builder
- usageMetadata(Optional<GenerateContentResponseUsageMetadata>) - Method in class com.google.adk.models.LlmResponse.Builder
- USER_PREFIX - Static variable in class com.google.adk.sessions.State
- userContent() - Method in class com.google.adk.agents.InvocationContext
- userContent() - Method in class com.google.adk.agents.ReadonlyContext
-
Returns the user content that initiated this invocation.
- userId - Variable in class com.google.adk.web.AdkWebServer.AddSessionToEvalSetRequest
- userId - Variable in class com.google.adk.web.AdkWebServer.AgentRunRequest
- userId() - Method in class com.google.adk.agents.InvocationContext
- userId() - Method in class com.google.adk.sessions.Session
- userId(String) - Method in class com.google.adk.sessions.Session.Builder
V
- validate() - Method in class com.google.adk.agents.LlmAgent.Builder
- validateMapOnSchema(Map<String, Object>, 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.
- 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.
- 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() - 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<Part>) - 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.
- VertexAiRagRetrieval - Class in com.google.adk.tools.retrieval
-
A retrieval tool that fetches context from Vertex AI RAG.
- VertexAiRagRetrieval(String, String, VertexRagServiceClient, String, List<RetrieveContextsRequest.VertexRagStore.RagResource>, Double) - Constructor for class com.google.adk.tools.retrieval.VertexAiRagRetrieval
- VertexAiSessionService - Class in com.google.adk.sessions
-
TODO: Use the genai HttpApiClient and ApiResponse methods once they are public.
- 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<GoogleCredentials>, Optional<HttpOptions>) - 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
- WebSocketConfig(AdkWebServer.LiveWebSocketHandler) - Constructor for class com.google.adk.web.AdkWebServer.WebSocketConfig
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form