Index

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

A

AbstractMcpTool<T> - Class in com.google.adk.tools.mcp
Base class for MCP tools.
AbstractMcpTool(McpSchema.Tool, T, McpSessionManager, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.AbstractMcpTool
 
actionRequest(String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
actionResponse(String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
actions() - Method in class com.google.adk.events.Event
 
actions() - Method in class com.google.adk.tools.ToolContext
 
actions(EventActions) - Method in class com.google.adk.events.Event.Builder
 
actions(EventActions) - Method in class com.google.adk.tools.ToolContext.Builder
 
ActionSchema() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
 
ActiveStreamingTool - Class in com.google.adk.agents
Manages streaming tool related resources during invocation.
ActiveStreamingTool() - Constructor for class com.google.adk.agents.ActiveStreamingTool
 
ActiveStreamingTool(LiveRequestQueue) - Constructor for class com.google.adk.agents.ActiveStreamingTool
 
ActiveStreamingTool(Disposable) - Constructor for class com.google.adk.agents.ActiveStreamingTool
 
ActiveStreamingTool(Disposable, LiveRequestQueue) - Constructor for class com.google.adk.agents.ActiveStreamingTool
 
activeStreamingTools() - Method in class com.google.adk.agents.InvocationContext
Returns a map of tool call IDs to active streaming tools for the current invocation.
addExample(Example) - Method in class com.google.adk.tools.ExampleTool.Builder
 
addInputFiles(List<CodeExecutionUtils.File>) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Adds the input files to the code executor context.
AdditionalAdkComponentProvider - Class in com.google.adk.utils
Provides ADK components that are part of core.
AdditionalAdkComponentProvider() - Constructor for class com.google.adk.utils.AdditionalAdkComponentProvider
 
addProcessedFileNames(List<String>) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Adds the processed file name to the session state.
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
 
AdkComponentProvider - Interface in com.google.adk.utils
Service provider interface for ADK components to be registered in ComponentRegistry.
adkToMcpToolType(BaseTool) - Method in class com.google.adk.tools.mcp.ConversionUtils
 
afterAgentCallback - Variable in class com.google.adk.agents.BaseAgent.Builder
 
afterAgentCallback() - Method in class com.google.adk.agents.BaseAgent
 
afterAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.LoggingPlugin
 
afterAgentCallback(BaseAgent, CallbackContext) - Method in interface com.google.adk.plugins.Plugin
Callback executed after an agent's primary logic has completed.
afterAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.PluginManager
 
afterAgentCallback(Callbacks.AfterAgentCallback) - Method in class com.google.adk.agents.BaseAgent.Builder
 
afterAgentCallback(List<Callbacks.AfterAgentCallbackBase>) - Method in class com.google.adk.agents.BaseAgent.Builder
 
afterAgentCallbacks() - Method in class com.google.adk.agents.BaseAgentConfig
 
afterAgentCallbackSync(Callbacks.AfterAgentCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
 
afterModelCallback() - Method in class com.google.adk.agents.LlmAgent
 
afterModelCallback(CallbackContext, LlmResponse) - Method in class com.google.adk.plugins.LoggingPlugin
 
afterModelCallback(CallbackContext, LlmResponse) - Method in interface com.google.adk.plugins.Plugin
Callback executed after a response is received from the model.
afterModelCallback(CallbackContext, LlmResponse) - Method in class com.google.adk.plugins.PluginManager
 
afterModelCallback(Callbacks.AfterModelCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
 
afterModelCallback(List<? extends Callbacks.AfterModelCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
 
afterModelCallbacks() - Method in class com.google.adk.agents.LlmAgentConfig
 
afterModelCallbackSync(Callbacks.AfterModelCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
 
afterRunCallback(InvocationContext) - Method in class com.google.adk.plugins.LoggingPlugin
 
afterRunCallback(InvocationContext) - Method in interface com.google.adk.plugins.Plugin
Callback executed after an ADK runner run has completed.
afterRunCallback(InvocationContext) - Method in class com.google.adk.plugins.PluginManager
 
afterTimestamp() - Method in class com.google.adk.sessions.GetSessionConfig
 
afterTimestamp(Instant) - Method in class com.google.adk.sessions.GetSessionConfig.Builder
 
afterToolCallback() - Method in class com.google.adk.agents.LlmAgent
 
afterToolCallback(Callbacks.AfterToolCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
 
afterToolCallback(BaseTool, Map<String, Object>, ToolContext, Map<String, Object>) - Method in class com.google.adk.plugins.LoggingPlugin
 
afterToolCallback(BaseTool, Map<String, Object>, ToolContext, Map<String, Object>) - Method in interface com.google.adk.plugins.Plugin
Callback executed after a tool has been called.
afterToolCallback(BaseTool, Map<String, Object>, ToolContext, Map<String, Object>) - Method in class com.google.adk.plugins.PluginManager
 
afterToolCallback(List<? extends Callbacks.AfterToolCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
 
afterToolCallbacks() - Method in class com.google.adk.agents.LlmAgentConfig
 
afterToolCallbackSync(Callbacks.AfterToolCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
 
agent() - Method in class com.google.adk.agents.InvocationContext
Returns the agent being invoked.
agent() - Method in class com.google.adk.runner.Runner
 
agent(BaseAgent) - Method in class com.google.adk.agents.InvocationContext
Deprecated, for removal: This API element is subject to removal in a future version.
agent(BaseAgent) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the agent being invoked.
agent(BaseAgent) - Method in class com.google.adk.runner.Runner.Builder
 
agentClass() - Method in class com.google.adk.agents.BaseAgentConfig
 
agentName() - Method in class com.google.adk.agents.ReadonlyContext
Returns the name of the agent currently running.
AgentRefConfig() - Constructor for class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
 
AgentRefConfig(String) - Constructor for class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
Constructor for config-based agent reference.
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
 
annotations() - Method in class com.google.adk.tools.mcp.AbstractMcpTool
 
Annotations - Class in com.google.adk.tools
Annotations for tools.
Annotations.Schema - Annotation Interface in com.google.adk.tools
The annotation for binding the 'Schema' input.
apiClient(Client) - Method in class com.google.adk.models.Gemini.Builder
Sets the explicit Client instance for making API calls.
ApigeeLlm - Class in com.google.adk.models
A BaseLlm implementation for calling an Apigee proxy.
ApigeeLlm.Builder - Class in com.google.adk.models
Builder for ApigeeLlm.
apiKey() - Method in class com.google.adk.sessions.HttpApiClient
Returns the API key for Google AI APIs.
apiKey(String) - Method in class com.google.adk.models.Gemini.Builder
Sets the Google Gemini API key.
ApiResponse - Class in com.google.adk.sessions
The API response contains a response to a call to the GenAI APIs.
ApiResponse() - Constructor for class com.google.adk.sessions.ApiResponse
 
app(App) - Method in class com.google.adk.runner.Runner.Builder
 
App - Class in com.google.adk.apps
Represents an LLM-backed agentic application.
APP_PREFIX - Static variable in class com.google.adk.sessions.State
 
App.Builder - Class in com.google.adk.apps
Builder for App.
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.
apply(Completable) - Method in class com.google.adk.telemetry.Tracing.ContextTransformer
 
apply(Completable) - Method in class com.google.adk.telemetry.Tracing.TracerProvider
 
apply(Flowable<T>) - Method in class com.google.adk.telemetry.Tracing.ContextTransformer
 
apply(Flowable<T>) - Method in class com.google.adk.telemetry.Tracing.TracerProvider
 
apply(Maybe<T>) - Method in class com.google.adk.telemetry.Tracing.ContextTransformer
 
apply(Maybe<T>) - Method in class com.google.adk.telemetry.Tracing.TracerProvider
 
apply(Single<T>) - Method in class com.google.adk.telemetry.Tracing.ContextTransformer
 
apply(Single<T>) - Method in class com.google.adk.telemetry.Tracing.TracerProvider
 
appName() - Method in class com.google.adk.agents.InvocationContext
Returns the application name associated with the session.
appName() - Method in class com.google.adk.runner.Runner
 
appName() - Method in class com.google.adk.sessions.Session
 
appName() - Method in class com.google.adk.sessions.SessionKey
 
appName(String) - Method in class com.google.adk.runner.Runner.Builder
 
appName(String) - Method in class com.google.adk.sessions.Session.Builder
 
args() - Method in class com.google.adk.tools.BaseTool.ToolConfig
 
args() - Method in class com.google.adk.tools.mcp.StdioServerParameters
Optional arguments for the command.
args(List<String>) - Method in class com.google.adk.tools.mcp.StdioServerParameters.Builder
Sets the arguments for the command.
artifactDelta() - Method in class com.google.adk.events.EventActions
 
artifactDelta(Map<String, Integer>) - Method in class com.google.adk.events.EventActions.Builder
 
artifactService() - Method in class com.google.adk.agents.InvocationContext
Returns the artifact service for persisting artifacts.
artifactService() - Method in class com.google.adk.runner.Runner
 
artifactService(BaseArtifactService) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the artifact service for persisting artifacts.
artifactService(BaseArtifactService) - Method in class com.google.adk.runner.Runner.Builder
 
author() - Method in class com.google.adk.events.Event
The author of the event, it could be the name of the agent or "user" literal.
author() - Method in class com.google.adk.memory.MemoryEntry
Returns the author of the memory, or null if not set.
author(String) - Method in class com.google.adk.events.Event.Builder
 
author(String) - Method in class com.google.adk.memory.MemoryEntry.Builder
Sets the author of the memory.
autoCreateSession() - Method in class com.google.adk.agents.RunConfig
 
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
 
avgLogprobs() - Method in class com.google.adk.events.Event
 
avgLogprobs() - Method in class com.google.adk.models.LlmResponse
Error code if the response is an error.
avgLogprobs(Double) - Method in class com.google.adk.events.Event.Builder
 
avgLogprobs(Double) - Method in class com.google.adk.models.LlmResponse.Builder
 

B

BaseAgent - Class in com.google.adk.agents
Base class for all agents.
BaseAgent(String, String, List<? extends BaseAgent>, List<? extends Callbacks.BeforeAgentCallback>, List<? extends Callbacks.AfterAgentCallback>) - Constructor for class com.google.adk.agents.BaseAgent
Creates a new BaseAgent.
BaseAgent.Builder<B extends BaseAgent.Builder<B>> - Class in com.google.adk.agents
Base Builder for all agents.
BaseAgentConfig - Class in com.google.adk.agents
Base configuration for all agents with subagent support.
BaseAgentConfig() - Constructor for class com.google.adk.agents.BaseAgentConfig
 
BaseAgentConfig(String) - Constructor for class com.google.adk.agents.BaseAgentConfig
 
BaseAgentConfig(String, String, String) - Constructor for class com.google.adk.agents.BaseAgentConfig
Constructor with basic fields.
BaseAgentConfig.AgentRefConfig - Class in com.google.adk.agents
Configuration for referencing other agents (subagents).
BaseAgentConfig.CallbackRef - Class in com.google.adk.agents
Reference to a callback stored in the ComponentRegistry.
BaseArtifactService - Interface in com.google.adk.artifacts
Base interface for artifact services.
BaseCodeExecutor - Class in com.google.adk.codeexecutors
Abstract base class for all code executors.
BaseCodeExecutor() - Constructor for class com.google.adk.codeexecutors.BaseCodeExecutor
 
BaseComputer - Interface in com.google.adk.tools.computeruse
Defines an interface for computer environments.
BaseEventSummarizer - Interface in com.google.adk.summarizer
Base interface for producing events summary.
BaseExampleProvider - Interface in com.google.adk.examples
An interface that provides examples for a given query.
BaseFlow - Interface in com.google.adk.flows
Interface for the execution flows to run a group of agents.
BaseLlm - Class in com.google.adk.models
Abstract base class for Large Language Models (LLMs).
BaseLlm(String) - Constructor for class com.google.adk.models.BaseLlm
 
BaseLlmConnection - Interface in com.google.adk.models
The base class for a live model connection.
BaseLlmFlow - Class in com.google.adk.flows.llmflows
A basic flow that calls the LLM in a loop until a final response is generated.
BaseLlmFlow(List<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.
BasePlugin - Class in com.google.adk.plugins
Base class for creating plugins.
BasePlugin(String) - Constructor for class com.google.adk.plugins.BasePlugin
Constructs a new plugin with the given name.
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
Defines the contract for managing Sessions and their associated Events.
BaseTool - Class in com.google.adk.tools
The base class for all ADK tools.
BaseTool(String, String) - Constructor for class com.google.adk.tools.BaseTool
 
BaseTool(String, String, boolean) - Constructor for class com.google.adk.tools.BaseTool
 
BaseTool.ToolArgsConfig - Class in com.google.adk.tools
Configuration class for tool arguments that allows arbitrary key-value pairs.
BaseTool.ToolConfig - Class in com.google.adk.tools
Configuration class for a tool definition in YAML/JSON.
BaseToolset - Interface in com.google.adk.tools
Base interface for toolsets.
Basic - Class in com.google.adk.flows.llmflows
RequestProcessor that handles basic information to build the LLM request.
Basic() - Constructor for class com.google.adk.flows.llmflows.Basic
 
beforeAgentCallback - Variable in class com.google.adk.agents.BaseAgent.Builder
 
beforeAgentCallback() - Method in class com.google.adk.agents.BaseAgent
 
beforeAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.LoggingPlugin
 
beforeAgentCallback(BaseAgent, CallbackContext) - Method in interface com.google.adk.plugins.Plugin
Callback executed before an agent's primary logic is invoked.
beforeAgentCallback(BaseAgent, CallbackContext) - Method in class com.google.adk.plugins.PluginManager
 
beforeAgentCallback(Callbacks.BeforeAgentCallback) - Method in class com.google.adk.agents.BaseAgent.Builder
 
beforeAgentCallback(List<Callbacks.BeforeAgentCallbackBase>) - Method in class com.google.adk.agents.BaseAgent.Builder
 
beforeAgentCallbacks() - Method in class com.google.adk.agents.BaseAgentConfig
 
beforeAgentCallbackSync(Callbacks.BeforeAgentCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
 
beforeModelCallback() - Method in class com.google.adk.agents.LlmAgent
 
beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in class com.google.adk.plugins.ContextFilterPlugin
Filters the LLM request context by trimming recent turns and applying any custom filter.
beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in class com.google.adk.plugins.GlobalInstructionPlugin
 
beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in class com.google.adk.plugins.LoggingPlugin
 
beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in interface com.google.adk.plugins.Plugin
Callback executed before a request is sent to the model.
beforeModelCallback(CallbackContext, LlmRequest.Builder) - Method in class com.google.adk.plugins.PluginManager
 
beforeModelCallback(Callbacks.BeforeModelCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
 
beforeModelCallback(List<? extends Callbacks.BeforeModelCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
 
beforeModelCallbacks() - Method in class com.google.adk.agents.LlmAgentConfig
 
beforeModelCallbackSync(Callbacks.BeforeModelCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
 
beforeRunCallback(InvocationContext) - Method in class com.google.adk.plugins.LoggingPlugin
 
beforeRunCallback(InvocationContext) - Method in interface com.google.adk.plugins.Plugin
Callback executed before the ADK runner runs.
beforeRunCallback(InvocationContext) - Method in class com.google.adk.plugins.PluginManager
 
beforeToolCallback() - Method in class com.google.adk.agents.LlmAgent
 
beforeToolCallback(Callbacks.BeforeToolCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
 
beforeToolCallback(BaseTool, Map<String, Object>, ToolContext) - Method in class com.google.adk.plugins.LoggingPlugin
 
beforeToolCallback(BaseTool, Map<String, Object>, ToolContext) - Method in interface com.google.adk.plugins.Plugin
Callback executed before a tool is called.
beforeToolCallback(BaseTool, Map<String, Object>, ToolContext) - Method in class com.google.adk.plugins.PluginManager
 
beforeToolCallback(List<? extends Callbacks.BeforeToolCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
 
beforeToolCallbacks() - Method in class com.google.adk.agents.LlmAgentConfig
 
beforeToolCallbackSync(Callbacks.BeforeToolCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
 
BIDI - Enum constant in enum class com.google.adk.agents.RunConfig.StreamingMode
 
blob() - Method in class com.google.adk.agents.LiveRequest
Returns the blob of the request.
blob(Blob) - Method in class com.google.adk.agents.LiveRequest.Builder
 
branch() - Method in class com.google.adk.agents.InvocationContext
Returns the branch ID for the current invocation, if one is set.
branch() - Method in class com.google.adk.agents.ReadonlyContext
Returns the branch of the current invocation, if present.
branch() - Method in class com.google.adk.events.Event
The branch of the event.
branch(String) - Method in class com.google.adk.agents.InvocationContext
Sets the [branch] ID for the current invocation.
branch(String) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the branch ID for the invocation.
branch(String) - Method in class com.google.adk.events.Event
Sets the branch for this event.
branch(String) - Method in class com.google.adk.events.Event.Builder
 
build() - Method in class com.google.adk.agents.BaseAgent.Builder
 
build() - Method in class com.google.adk.agents.InvocationContext.Builder
Builds the InvocationContext instance.
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.apps.App.Builder
 
build() - Method in class com.google.adk.artifacts.ListArtifactsResponse.Builder
 
build() - Method in class com.google.adk.artifacts.ListArtifactVersionsResponse.Builder
 
build() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
 
build() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
 
build() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
 
build() - Method in class com.google.adk.events.Event.Builder
 
build() - Method in class com.google.adk.events.EventActions.Builder
 
build() - Method in class com.google.adk.events.EventCompaction.Builder
 
build() - Method in class com.google.adk.events.ToolConfirmation.Builder
 
build() - Method in class com.google.adk.examples.Example.Builder
 
build() - Method in class com.google.adk.memory.MemoryEntry.Builder
Builds the immutable 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.ApigeeLlm.Builder
Builds the ApigeeLlm instance.
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.plugins.ContextFilterPlugin.Builder
 
build() - Method in class com.google.adk.runner.Runner.Builder
 
build() - Method in class com.google.adk.sessions.GetSessionConfig.Builder
 
build() - Method in class com.google.adk.sessions.ListEventsResponse.Builder
 
build() - Method in class com.google.adk.sessions.ListSessionsResponse.Builder
 
build() - Method in class com.google.adk.sessions.Session.Builder
 
build() - Method in class com.google.adk.summarizer.EventsCompactionConfig.Builder
 
build() - Method in class com.google.adk.tools.computeruse.ComputerState.Builder
 
build() - Method in class com.google.adk.tools.ExampleTool.Builder
 
build() - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
 
build() - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
Builds a new SseServerParameters instance.
build() - Method in class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
 
build() - Method in class com.google.adk.tools.mcp.StdioServerParameters.Builder
Builds a new StdioServerParameters instance.
build() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
 
build() - Method in class com.google.adk.tools.ToolContext.Builder
 
build() - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
build(Object) - Method in class com.google.adk.tools.mcp.DefaultMcpTransportBuilder
 
build(Object) - Method in interface com.google.adk.tools.mcp.McpTransportBuilder
Builds an McpClientTransport based on the provided connection parameters.
buildCodeExecutionResultPart(CodeExecutionUtils.CodeExecutionResult) - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils
 
builder() - Static method in class com.google.adk.agents.InvocationContext
Returns a new InvocationContext.Builder for creating InvocationContext instances.
builder() - Static method in class com.google.adk.agents.LiveRequest
 
builder() - Static method in class com.google.adk.agents.LlmAgent
Returns a LlmAgent.Builder for LlmAgent.
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.apps.App
 
builder() - Static method in class com.google.adk.artifacts.ListArtifactsResponse
 
builder() - Static method in class com.google.adk.artifacts.ListArtifactVersionsResponse
 
builder() - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
 
builder() - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
 
builder() - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils.File
 
builder() - Static method in class com.google.adk.events.Event
 
builder() - Static method in class com.google.adk.events.EventActions
 
builder() - Static method in class com.google.adk.events.EventCompaction
 
builder() - Static method in class com.google.adk.events.ToolConfirmation
 
builder() - Static method in class com.google.adk.examples.Example
 
builder() - Static method in class com.google.adk.memory.MemoryEntry
Returns a new builder for creating a MemoryEntry.
builder() - Static method in class com.google.adk.memory.SearchMemoryResponse
Creates a new builder for SearchMemoryResponse.
builder() - Static method in class com.google.adk.models.ApigeeLlm
Returns a new Builder for constructing ApigeeLlm instances.
builder() - Static method in class com.google.adk.models.Gemini
Returns a new Builder instance for constructing Gemini objects.
builder() - Static method in class com.google.adk.models.LlmRequest
 
builder() - Static method in class com.google.adk.models.LlmResponse
 
builder() - Static method in class com.google.adk.models.Model
 
builder() - Static method in class com.google.adk.models.VertexCredentials
 
builder() - Static method in class com.google.adk.plugins.ContextFilterPlugin
 
builder() - Static method in class com.google.adk.runner.Runner
 
builder() - Static method in class com.google.adk.sessions.GetSessionConfig
 
builder() - Static method in class com.google.adk.sessions.ListEventsResponse
 
builder() - Static method in class com.google.adk.sessions.ListSessionsResponse
 
builder() - Static method in record class com.google.adk.summarizer.EventsCompactionConfig
 
builder() - Static method in class com.google.adk.tools.computeruse.ComputerState
 
builder() - Static method in class com.google.adk.tools.ExampleTool
 
builder() - Static method in class com.google.adk.tools.mcp.SseServerParameters
Creates a new builder for SseServerParameters.
builder() - Static method in class com.google.adk.tools.mcp.StdioConnectionParameters
 
builder() - Static method in class com.google.adk.tools.mcp.StdioServerParameters
Creates a new builder for StdioServerParameters.
builder() - Static method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
 
builder() - Static method in class com.google.adk.tools.VertexAiSearchTool
 
builder(InvocationContext) - Static method in class com.google.adk.tools.ToolContext
 
builder(RunConfig) - Static method in class com.google.adk.agents.RunConfig
 
builder(SessionKey) - Static method in class com.google.adk.sessions.Session
Creates a new Session.Builder with the given session key.
builder(String) - Static method in class com.google.adk.sessions.Session
 
Builder() - Constructor for class com.google.adk.agents.BaseAgent.Builder
 
Builder() - Constructor for class com.google.adk.agents.LiveRequest.Builder
 
Builder() - Constructor for class com.google.adk.agents.LlmAgent.Builder
 
Builder() - Constructor for class com.google.adk.agents.LoopAgent.Builder
 
Builder() - Constructor for class com.google.adk.agents.ParallelAgent.Builder
 
Builder() - Constructor for class com.google.adk.agents.RunConfig.Builder
 
Builder() - Constructor for class com.google.adk.agents.SequentialAgent.Builder
 
Builder() - Constructor for class com.google.adk.apps.App.Builder
 
Builder() - Constructor for class com.google.adk.artifacts.ListArtifactsResponse.Builder
 
Builder() - Constructor for class com.google.adk.artifacts.ListArtifactVersionsResponse.Builder
 
Builder() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
 
Builder() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
 
Builder() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
 
Builder() - Constructor for class com.google.adk.events.Event.Builder
 
Builder() - Constructor for class com.google.adk.events.EventActions.Builder
 
Builder() - Constructor for class com.google.adk.events.EventCompaction.Builder
 
Builder() - Constructor for class com.google.adk.events.ToolConfirmation.Builder
 
Builder() - Constructor for class com.google.adk.examples.Example.Builder
 
Builder() - Constructor for class com.google.adk.memory.MemoryEntry.Builder
 
Builder() - Constructor for class com.google.adk.memory.SearchMemoryResponse.Builder
 
Builder() - Constructor for class com.google.adk.models.ApigeeLlm.Builder
 
Builder() - Constructor for class com.google.adk.models.LlmRequest.Builder
 
Builder() - Constructor for class com.google.adk.models.LlmResponse.Builder
 
Builder() - Constructor for class com.google.adk.models.Model.Builder
 
Builder() - Constructor for class com.google.adk.models.VertexCredentials.Builder
 
Builder() - Constructor for class com.google.adk.plugins.ContextFilterPlugin.Builder
 
Builder() - Constructor for class com.google.adk.runner.Runner.Builder
 
Builder() - Constructor for class com.google.adk.sessions.GetSessionConfig.Builder
 
Builder() - Constructor for class com.google.adk.sessions.ListEventsResponse.Builder
 
Builder() - Constructor for class com.google.adk.sessions.ListSessionsResponse.Builder
 
Builder() - Constructor for class com.google.adk.summarizer.EventsCompactionConfig.Builder
 
Builder() - Constructor for class com.google.adk.tools.computeruse.ComputerState.Builder
 
Builder() - Constructor for class com.google.adk.tools.ExampleTool.Builder
 
Builder() - Constructor for class com.google.adk.tools.mcp.McpAsyncToolset.Builder
 
Builder() - Constructor for class com.google.adk.tools.mcp.SseServerParameters.Builder
 
Builder() - Constructor for class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
 
Builder() - Constructor for class com.google.adk.tools.mcp.StdioServerParameters.Builder
 
Builder() - Constructor for class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
 
Builder() - Constructor for class com.google.adk.tools.VertexAiSearchTool.Builder
 
Builder(SessionKey) - Constructor for class com.google.adk.sessions.Session.Builder
Creates a new Session.Builder with the given session key.
Builder(String) - Constructor for class com.google.adk.sessions.Session.Builder
 
buildExampleSi(BaseExampleProvider, String) - Static method in class com.google.adk.examples.ExampleUtils
Builds a formatted few-shot example string for the given query.
buildExecutableCodePart(String) - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils
 
buildFunctionDeclaration(Method, List<String>) - Static method in class com.google.adk.tools.FunctionCallingUtils
Builds a FunctionDeclaration from a Java Method, ignoring parameters with the given names.
buildSchemaFromType(Type) - Static method in class com.google.adk.tools.FunctionCallingUtils
Builds a Schema from a Java Type, creating a new context for the generation process.
buildSchemaFromType(Type, ObjectMapper) - Static method in class com.google.adk.tools.FunctionCallingUtils
Builds a Schema from a Java Type, creating a new context for the generation process.
BuiltInCodeExecutionTool - Class in com.google.adk.tools
A built-in code execution tool that is automatically invoked by Gemini 2 models.
BuiltInCodeExecutionTool() - Constructor for class com.google.adk.tools.BuiltInCodeExecutionTool
 
BuiltInCodeExecutor - Class in com.google.adk.codeexecutors
A code executor that uses the Model's built-in code executor.
BuiltInCodeExecutor() - Constructor for class com.google.adk.codeexecutors.BuiltInCodeExecutor
 

C

call(CallbackContext) - Method in interface com.google.adk.agents.Callbacks.AfterAgentCallback
Async callback after agent runs.
call(CallbackContext) - Method in interface com.google.adk.agents.Callbacks.AfterAgentCallbackSync
 
call(CallbackContext) - Method in interface com.google.adk.agents.Callbacks.BeforeAgentCallback
Async callback before agent runs.
call(CallbackContext) - Method in interface com.google.adk.agents.Callbacks.BeforeAgentCallbackSync
 
call(CallbackContext, LlmRequest.Builder) - Method in interface com.google.adk.agents.Callbacks.BeforeModelCallback
Async callback before LLM invocation.
call(CallbackContext, LlmRequest.Builder) - Method in interface com.google.adk.agents.Callbacks.BeforeModelCallbackSync
 
call(CallbackContext, LlmRequest, Exception) - Method in interface com.google.adk.agents.Callbacks.OnModelErrorCallback
Async callback when model call fails.
call(CallbackContext, LlmRequest, Exception) - Method in interface com.google.adk.agents.Callbacks.OnModelErrorCallbackSync
 
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, Exception) - Method in interface com.google.adk.agents.Callbacks.OnToolErrorCallback
Async callback when tool call fails.
call(InvocationContext, BaseTool, Map<String, Object>, ToolContext, Exception) - Method in interface com.google.adk.agents.Callbacks.OnToolErrorCallbackSync
 
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.
CallbackContext(InvocationContext, EventActions, String) - Constructor for class com.google.adk.agents.CallbackContext
Initializes callback context.
callbackContextData() - Method in class com.google.adk.agents.InvocationContext
Returns a map for storing temporary context data that can be shared between different parts of the invocation (e.g., before/on/after model callbacks).
callbackContextData(Map<String, Object>) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the callback context data for the invocation.
CallbackRef() - Constructor for class com.google.adk.agents.BaseAgentConfig.CallbackRef
 
CallbackRef(String) - Constructor for class com.google.adk.agents.BaseAgentConfig.CallbackRef
 
Callbacks - Class in com.google.adk.agents
Functional interfaces for agent lifecycle callbacks.
Callbacks.AfterAgentCallback - Interface in com.google.adk.agents
Async callback interface for actions to be performed after an agent has finished running.
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
Async callback interface for actions to be performed after a tool has been invoked.
Callbacks.AfterToolCallbackSync - Interface in com.google.adk.agents
Helper interface to allow for sync afterToolCallback.
Callbacks.BeforeAgentCallback - Interface in com.google.adk.agents
Async callback interface for actions to be performed before an agent starts running.
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
Async callback interface for actions to be performed before a tool is invoked.
Callbacks.BeforeToolCallbackSync - Interface in com.google.adk.agents
Helper interface to allow for sync beforeToolCallback.
Callbacks.OnModelErrorCallback - Interface in com.google.adk.agents
Async callback interface for handling errors that occur during an LLM model call.
Callbacks.OnModelErrorCallbackSync - Interface in com.google.adk.agents
Helper interface to allow for sync onModelErrorCallback.
Callbacks.OnToolErrorCallback - Interface in com.google.adk.agents
Async callback interface for handling errors that occur during a tool invocation.
Callbacks.OnToolErrorCallbackSync - Interface in com.google.adk.agents
Helper interface to allow for sync onToolErrorCallback.
CallbackUtil - Class in com.google.adk.agents
Utility methods for normalizing agent callbacks.
callLive(Map<String, Object>, ToolContext, InvocationContext) - Method in class com.google.adk.tools.FunctionTool
 
canonicalAfterAgentCallbacks() - Method in class com.google.adk.agents.BaseAgent
The resolved afterAgentCallback field as a list.
canonicalAfterModelCallbacks() - Method in class com.google.adk.agents.LlmAgent
The resolved afterModelCallback field as a list.
canonicalAfterToolCallbacks() - Method in class com.google.adk.agents.LlmAgent
The resolved afterToolCallback field as a list.
canonicalBeforeAgentCallbacks() - Method in class com.google.adk.agents.BaseAgent
The resolved beforeAgentCallback field as a list.
canonicalBeforeModelCallbacks() - Method in class com.google.adk.agents.LlmAgent
The resolved beforeModelCallback field as a list.
canonicalBeforeToolCallbacks() - Method in class com.google.adk.agents.LlmAgent
The resolved beforeToolCallback field as a list.
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.
canonicalOnModelErrorCallbacks() - Method in class com.google.adk.agents.LlmAgent
The resolved onModelErrorCallback field as a list.
canonicalOnToolErrorCallbacks() - Method in class com.google.adk.agents.LlmAgent
The resolved onToolErrorCallback field as a list.
canonicalTools() - Method in class com.google.adk.agents.LlmAgent
Constructs the list of tools for this agent based on the LlmAgent.tools() field.
canonicalTools(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
 
clearBeforeModelCallbacks() - Method in class com.google.adk.agents.LlmAgent.Builder
 
clearInputFiles() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Removes the input files and processed file names to the code executor context.
clickAt(int, int) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Clicks at a specific x, y coordinate on the webpage.
close() - Method in class com.google.adk.agents.BaseAgent
Closes all sub-agents.
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 class com.google.adk.agents.LlmAgent
 
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 interface com.google.adk.plugins.Plugin
Method executed when the runner is closed.
close() - Method in class com.google.adk.plugins.PluginManager
 
close() - Method in class com.google.adk.runner.Runner
Closes all plugins, code executors, and releases any resources.
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 interface com.google.adk.tools.computeruse.BaseComputer
Cleanup resources.
close() - Method in class com.google.adk.tools.computeruse.ComputerUseToolset
 
close() - Method in class com.google.adk.tools.mcp.McpAsyncToolset
 
close() - Method in class com.google.adk.tools.mcp.McpToolset
 
close(Boolean) - Method in class com.google.adk.agents.LiveRequest.Builder
 
close(Throwable) - Method in interface com.google.adk.models.BaseLlmConnection
Closes the connection with an error.
close(Throwable) - Method in class com.google.adk.models.GeminiLlmConnection
 
closeSession(Session) - Method in interface com.google.adk.sessions.BaseSessionService
Closes a session.
code() - Method in class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
 
code() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
The code to execute.
code(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
 
codeBlockDelimiters() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
The list of the enclosing delimiters to identify the code blocks.
CodeExecution - Class in com.google.adk.flows.llmflows
Handles Code Execution related logic.
CodeExecutionInput() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
 
CodeExecutionResult() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
 
CodeExecutionUtils - Class in com.google.adk.codeexecutors
Utility functions for code execution.
CodeExecutionUtils.CodeExecutionInput - Class in com.google.adk.codeexecutors
A structure that contains the input of code execution.
CodeExecutionUtils.CodeExecutionInput.Builder - Class in com.google.adk.codeexecutors
CodeExecutionUtils.CodeExecutionResult - Class in com.google.adk.codeexecutors
A structure that contains the result of code execution.
CodeExecutionUtils.CodeExecutionResult.Builder - Class in com.google.adk.codeexecutors
CodeExecutionUtils.File - Class in com.google.adk.codeexecutors
A structure that contains a file name and its content.
CodeExecutionUtils.File.Builder - Class in com.google.adk.codeexecutors
codeExecutor() - Method in class com.google.adk.agents.LlmAgent
 
codeExecutor(BaseCodeExecutor) - Method in class com.google.adk.agents.LlmAgent.Builder
 
CodeExecutorContext - Class in com.google.adk.codeexecutors
The persistent context used to configure the code executor.
CodeExecutorContext(Map<String, Object>) - Constructor for class com.google.adk.codeexecutors.CodeExecutorContext
Initializes the code executor context.
CollectionUtils - Class in com.google.adk.utils
Frequently used code snippets for collections.
com.google.adk - package com.google.adk
 
com.google.adk.agents - package com.google.adk.agents
 
com.google.adk.apps - package com.google.adk.apps
 
com.google.adk.artifacts - package com.google.adk.artifacts
 
com.google.adk.codeexecutors - package com.google.adk.codeexecutors
 
com.google.adk.events - package com.google.adk.events
 
com.google.adk.examples - package com.google.adk.examples
 
com.google.adk.flows - package com.google.adk.flows
 
com.google.adk.flows.llmflows - package com.google.adk.flows.llmflows
 
com.google.adk.flows.llmflows.audio - package com.google.adk.flows.llmflows.audio
 
com.google.adk.memory - package com.google.adk.memory
 
com.google.adk.models - package com.google.adk.models
 
com.google.adk.plugins - package com.google.adk.plugins
 
com.google.adk.runner - package com.google.adk.runner
 
com.google.adk.sessions - package com.google.adk.sessions
 
com.google.adk.summarizer - package com.google.adk.summarizer
 
com.google.adk.telemetry - package com.google.adk.telemetry
 
com.google.adk.tools - package com.google.adk.tools
 
com.google.adk.tools.applicationintegrationtoolset - package com.google.adk.tools.applicationintegrationtoolset
 
com.google.adk.tools.computeruse - package com.google.adk.tools.computeruse
 
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
 
command() - Method in class com.google.adk.tools.mcp.StdioServerParameters
The command to execute for the stdio server.
command(String) - Method in class com.google.adk.tools.mcp.StdioServerParameters.Builder
Sets the command to execute for the stdio server.
compact(Session, BaseSessionService) - Method in interface com.google.adk.summarizer.EventCompactor
Compacts events in the given session.
compact(Session, BaseSessionService) - Method in class com.google.adk.summarizer.SlidingWindowEventCompactor
Runs compaction for SlidingWindowCompactor.
compact(Session, BaseSessionService) - Method in class com.google.adk.summarizer.TailRetentionEventCompactor
 
compactedContent() - Method in class com.google.adk.events.EventCompaction
 
compactedContent(Content) - Method in class com.google.adk.events.EventCompaction.Builder
 
compaction() - Method in class com.google.adk.events.EventActions
 
compaction(EventCompaction) - Method in class com.google.adk.events.EventActions.Builder
 
Compaction - Class in com.google.adk.flows.llmflows
Request processor that performs event compaction.
Compaction() - Constructor for class com.google.adk.flows.llmflows.Compaction
 
compactionInterval() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
Returns the value of the compactionInterval record component.
compactionInterval(Integer) - Method in class com.google.adk.summarizer.EventsCompactionConfig.Builder
 
ComponentRegistry - Class in com.google.adk.utils
A registry for storing and retrieving ADK instances by name.
ComponentRegistry() - Constructor for class com.google.adk.utils.ComponentRegistry
 
ComputerEnvironment - Enum Class in com.google.adk.tools.computeruse
Enum for computer environments.
ComputerState - Class in com.google.adk.tools.computeruse
Represents the current state of the computer environment.
ComputerState.Builder - Class in com.google.adk.tools.computeruse
Builder for ComputerState.
ComputerUseTool - Class in com.google.adk.tools.computeruse
A tool that wraps computer control functions for use with LLMs.
ComputerUseTool(Object, Method, int[], int[]) - Constructor for class com.google.adk.tools.computeruse.ComputerUseTool
 
ComputerUseToolset - Class in com.google.adk.tools.computeruse
A toolset that provides computer use capabilities.
ComputerUseToolset(BaseComputer) - Constructor for class com.google.adk.tools.computeruse.ComputerUseToolset
 
ComputerUseToolset(BaseComputer, int[]) - Constructor for class com.google.adk.tools.computeruse.ComputerUseToolset
 
config() - Method in class com.google.adk.models.LlmRequest.Builder
 
config() - Method in class com.google.adk.models.LlmRequest
Returns the configuration for content generation.
config(GenerateContentConfig) - Method in class com.google.adk.models.LlmRequest.Builder
 
CONFIG_TYPE - Static variable in class com.google.adk.tools.mcp.McpToolset
 
ConfigAgentUtils - Class in com.google.adk.agents
Utility class for loading agent configurations from YAML files.
ConfigAgentUtils.ConfigurationException - Exception in com.google.adk.agents
Exception thrown when configuration is invalid.
configPath() - Method in class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
 
ConfigurationException(String) - Constructor for exception com.google.adk.agents.ConfigAgentUtils.ConfigurationException
 
ConfigurationException(String, Throwable) - Constructor for exception com.google.adk.agents.ConfigAgentUtils.ConfigurationException
 
configure(Consumer<Span>) - Method in class com.google.adk.telemetry.Tracing.TracerProvider
Configures the span created by this transformer.
confirmed() - Method in class com.google.adk.events.ToolConfirmation
 
confirmed(boolean) - Method in class com.google.adk.events.ToolConfirmation.Builder
 
connect(LlmRequest) - Method in class com.google.adk.models.ApigeeLlm
 
connect(LlmRequest) - Method in class com.google.adk.models.BaseLlm
Creates a live connection to the LLM.
connect(LlmRequest) - Method in class com.google.adk.models.Claude
 
connect(LlmRequest) - Method in class com.google.adk.models.Gemini
 
ConnectionDetails() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
 
connectionParams(SseServerParameters) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
 
connectionParams(ServerParameters) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
 
ConnectionsClient - Class in com.google.adk.tools.applicationintegrationtoolset
Utility class for interacting with the Google Cloud Connectors API.
ConnectionsClient(String, String, String, String, HttpClient, CredentialsHelper, ObjectMapper) - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
Initializes the ConnectionsClient.
ConnectionsClient(String, String, String, HttpClient, ObjectMapper) - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
ConnectionsClient.ActionSchema - Class in com.google.adk.tools.applicationintegrationtoolset
Represents the schema for an action.
ConnectionsClient.ConnectionDetails - Class in com.google.adk.tools.applicationintegrationtoolset
Represents details of a connection.
ConnectionsClient.EntitySchemaAndOperations - Class in com.google.adk.tools.applicationintegrationtoolset
Represents the schema and available operations for an entity.
connectorPayload(Map<String, Object>) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
ContainerCodeExecutor - Class in com.google.adk.codeexecutors
A code executor that uses a custom container to execute code.
ContainerCodeExecutor(String, String, String) - Constructor for class com.google.adk.codeexecutors.ContainerCodeExecutor
Deprecated.
Use one of the static factory methods instead.
containsKey(Object) - Method in class com.google.adk.sessions.State
 
containsValue(Object) - Method in class com.google.adk.sessions.State
 
content() - Method in class com.google.adk.agents.LiveRequest
Returns the content of the request.
content() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File
The base64-encoded bytes of the file content.
content() - Method in class com.google.adk.events.Event
 
content() - Method in class com.google.adk.memory.MemoryEntry
Returns the main content of the memory.
content() - Method in class com.google.adk.models.LlmResponse
Returns the content of the first candidate in the response, if available.
content(Content) - Method in class com.google.adk.agents.LiveRequest.Builder
 
content(Content) - Method in class com.google.adk.agents.LiveRequestQueue
 
content(Content) - Method in class com.google.adk.events.Event.Builder
 
content(Content) - Method in class com.google.adk.memory.MemoryEntry.Builder
Sets the main content of the memory.
content(Content) - Method in class com.google.adk.models.LlmResponse.Builder
 
content(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
 
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
 
contextCacheConfig() - Method in class com.google.adk.agents.InvocationContext
Returns the context cache configuration for the current agent run.
contextCacheConfig() - Method in class com.google.adk.apps.App
 
contextCacheConfig(ContextCacheConfig) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the context cache configuration for the current agent run.
contextCacheConfig(ContextCacheConfig) - Method in class com.google.adk.apps.App.Builder
 
ContextCacheConfig - Record Class in com.google.adk.agents
Configuration for context caching across all agents in an app.
ContextCacheConfig() - Constructor for record class com.google.adk.agents.ContextCacheConfig
 
ContextCacheConfig(int, Duration, int) - Constructor for record class com.google.adk.agents.ContextCacheConfig
Creates an instance of a ContextCacheConfig record class.
ContextFilterPlugin - Class in com.google.adk.plugins
A plugin that filters the LLM request Content list to reduce its size, for example to adhere to context window limits.
ContextFilterPlugin(ContextFilterPlugin.Builder) - Constructor for class com.google.adk.plugins.ContextFilterPlugin
 
ContextFilterPlugin.Builder - Class in com.google.adk.plugins
Builder for ContextFilterPlugin.
CONTINUE_OUTPUT_MESSAGE - Static variable in class com.google.adk.models.GeminiUtil
 
ConversionUtils - Class in com.google.adk.tools.mcp
Utility class for converting between different representations of MCP tools.
convertCodeExecutionParts(Content, List<String>, List<String>) - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils
Converts the code execution parts to text parts in a Content.
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
Deprecated, for removal: This API element is subject to removal in a future version.
Use other.toBuilder().build() instead.
CoreAdkComponentProvider - Class in com.google.adk.utils
Provides ADK components that are part of core.
CoreAdkComponentProvider() - Constructor for class com.google.adk.utils.CoreAdkComponentProvider
 
create(byte[]) - Static method in class com.google.adk.tools.computeruse.ComputerState
 
create(byte[], String) - Static method in class com.google.adk.tools.computeruse.ComputerState
 
create(BaseAgent) - Static method in class com.google.adk.tools.AgentTool
 
create(BaseAgent, boolean) - Static method in class com.google.adk.tools.AgentTool
 
create(BaseLlm) - Static method in class com.google.adk.tools.GoogleSearchAgentTool
 
create(BaseLlm, VertexAiSearchTool) - Static method in class com.google.adk.tools.VertexAiSearchAgentTool
 
create(LlmRequest, Iterable<Event>) - Static method in class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
create(LlmResponse, Iterable<Event>) - Static method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
 
create(LlmResponse, Iterable<Event>, String) - Static method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
 
create(FunctionTool) - Static method in class com.google.adk.tools.LongRunningFunctionTool
Creates a LongRunningFunctionTool from a FunctionTool.
create(GenerateContentResponse) - Static method in class com.google.adk.models.LlmResponse
 
create(Class<?>, String) - Static method in class com.google.adk.tools.FunctionTool
 
create(Class<?>, String) - Static method in class com.google.adk.tools.LongRunningFunctionTool
 
create(Class<?>, String, boolean) - Static method in class com.google.adk.tools.FunctionTool
 
create(Class<?>, String, boolean) - Static method in class com.google.adk.tools.LongRunningFunctionTool
 
create(Class<?>, String, boolean, boolean) - Static method in class com.google.adk.tools.FunctionTool
 
create(Object, Method) - Static method in class com.google.adk.tools.FunctionTool
 
create(Object, Method) - Static method in class com.google.adk.tools.LongRunningFunctionTool
 
create(Object, Method, boolean) - Static method in class com.google.adk.tools.FunctionTool
 
create(Object, Method, boolean) - Static method in class com.google.adk.tools.LongRunningFunctionTool
 
create(Object, Method, boolean, boolean) - 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(Object, String, boolean) - Static method in class com.google.adk.tools.FunctionTool
 
create(Object, String, boolean) - Static method in class com.google.adk.tools.LongRunningFunctionTool
 
create(Object, String, boolean, boolean) - Static method in class com.google.adk.tools.FunctionTool
 
create(Method) - Static method in class com.google.adk.tools.FunctionTool
 
create(Method) - Static method in class com.google.adk.tools.LongRunningFunctionTool
 
create(Method, boolean) - Static method in class com.google.adk.tools.FunctionTool
 
create(Method, boolean) - Static method in class com.google.adk.tools.LongRunningFunctionTool
 
create(Method, boolean, boolean) - Static method in class com.google.adk.tools.FunctionTool
 
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
 
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(SessionKey) - 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(SessionKey, Map<String, Object>) - Method in interface com.google.adk.sessions.BaseSessionService
Creates a new session with the specified parameters.
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 class com.google.adk.sessions.VertexAiSessionService
 
createSession(String, String, Map<String, Object>, String) - Method in class com.google.adk.sessions.InMemorySessionService
 
createSession(String, String, Map<String, Object>, String) - Method in class com.google.adk.sessions.VertexAiSessionService
 
createSession(String, String, ConcurrentMap<String, Object>, String) - Method in interface com.google.adk.sessions.BaseSessionService
createSession(String, String, Map<String, Object>, String) - Method in interface com.google.adk.sessions.BaseSessionService
Creates a new session with the specified parameters.
credentials() - Method in class com.google.adk.models.VertexCredentials
 
CredentialsHelper - Interface in com.google.adk.tools.applicationintegrationtoolset
This interface provides a method to convert a service account JSON string to a Google Credentials object.
currentState() - Method in interface com.google.adk.tools.computeruse.BaseComputer
Returns current state.
customFilter(UnaryOperator<List<Content>>) - Method in class com.google.adk.plugins.ContextFilterPlugin.Builder
 
customHeaders(Map<String, String>) - Method in class com.google.adk.models.ApigeeLlm.Builder
Sets a dictionary of headers to be sent with the request.
customMetadata() - Method in class com.google.adk.events.Event
The custom metadata of the event.
customMetadata() - Method in class com.google.adk.models.LlmResponse
Returns the custom metadata of the response, if available.
customMetadata() - Method in class com.google.adk.tools.BaseTool
Returns a read-only view of the tool metadata.
customMetadata(List<CustomMetadata>) - Method in class com.google.adk.events.Event.Builder
 
customMetadata(List<CustomMetadata>) - Method in class com.google.adk.models.LlmResponse.Builder
 

D

dataStore() - Method in class com.google.adk.tools.VertexAiSearchTool
 
dataStore(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
dataStoreId() - Method in class com.google.adk.tools.VertexAiSearchTool
 
dataStoreId(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
dataStoreSpecs() - Method in class com.google.adk.tools.VertexAiSearchTool
 
dataStoreSpecs(List<VertexAISearchDataStoreSpec>) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
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.AbstractMcpTool
 
declaration() - Method in class com.google.adk.tools.retrieval.BaseRetrievalTool
 
decodeContent(Content) - Static method in class com.google.adk.sessions.SessionUtils
Decodes Base64-encoded inline blobs in content.
DEFAULT - Enum constant in enum class com.google.adk.agents.LlmAgent.IncludeContents
 
DefaultMcpTransportBuilder - Class in com.google.adk.tools.mcp
The default builder for creating MCP client transports.
DefaultMcpTransportBuilder() - Constructor for class com.google.adk.tools.mcp.DefaultMcpTransportBuilder
 
deleteArtifact(SessionKey, String) - Method in interface com.google.adk.artifacts.BaseArtifactService
 
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.
deletedArtifactIds() - Method in class com.google.adk.events.EventActions
 
deletedArtifactIds(Set<String>) - Method in class com.google.adk.events.EventActions.Builder
 
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(SessionKey) - Method in interface com.google.adk.sessions.BaseSessionService
Deletes a specific session.
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
 
description - Variable in class com.google.adk.agents.BaseAgent.Builder
 
description - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
 
description() - Method in class com.google.adk.agents.BaseAgent
Gets the one-line description of the agent's capability.
description() - Method in class com.google.adk.agents.BaseAgentConfig
 
description() - Element in annotation interface com.google.adk.tools.Annotations.Schema
 
description() - Method in class com.google.adk.tools.BaseTool
 
description(String) - Method in class com.google.adk.agents.BaseAgent.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
 
dragAndDrop(int, int, int, int) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Drag and drop.

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
Returns whether this invocation should be ended, e.g., due to reaching a terminal state or error.
endInvocation() - Method in class com.google.adk.events.EventActions
Deprecated.
endInvocation(boolean) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets whether this invocation should be ended.
endInvocation(boolean) - Method in class com.google.adk.events.EventActions.Builder
endOfAgent() - Method in class com.google.adk.events.EventActions
 
endOfAgent(boolean) - Method in class com.google.adk.events.EventActions.Builder
 
endTimestamp() - Method in class com.google.adk.events.EventCompaction
 
endTimestamp(long) - Method in class com.google.adk.events.EventCompaction.Builder
 
EntitySchemaAndOperations() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.EntitySchemaAndOperations
 
entrySet() - Method in class com.google.adk.sessions.State
 
env() - Method in class com.google.adk.tools.mcp.StdioServerParameters
Optional environment variables.
env(Map<String, String>) - Method in class com.google.adk.tools.mcp.StdioServerParameters.Builder
Sets the environment variables.
environment() - Method in interface com.google.adk.tools.computeruse.BaseComputer
Returns the environment.
ENVIRONMENT_BROWSER - Enum constant in enum class com.google.adk.tools.computeruse.ComputerEnvironment
 
ENVIRONMENT_UNSPECIFIED - Enum constant in enum class com.google.adk.tools.computeruse.ComputerEnvironment
 
equals(Object) - Method in record class com.google.adk.agents.ContextCacheConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.google.adk.agents.Instruction.Provider
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class com.google.adk.agents.Instruction.Static
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.google.adk.agents.InvocationContext
 
equals(Object) - Method in class com.google.adk.events.Event
 
equals(Object) - Method in class com.google.adk.events.EventActions
 
equals(Object) - Method in class com.google.adk.sessions.SessionKey
 
equals(Object) - Method in class com.google.adk.sessions.State
 
equals(Object) - Method in record class com.google.adk.summarizer.EventsCompactionConfig
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class com.google.adk.tools.computeruse.ComputerState
 
equals(Object) - Method in record class com.google.adk.tools.LoadMemoryResponse
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
 
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
 
errorRetryAttempts() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
The number of attempts to retry on consecutive code execution errors.
escalate() - Method in class com.google.adk.events.EventActions
 
escalate(boolean) - Method in class com.google.adk.events.EventActions.Builder
 
Event - Class in com.google.adk.events
Represents an event in a session.
Event.Builder - Class in com.google.adk.events
Builder for Event.
eventActions - Variable in class com.google.adk.agents.CallbackContext
 
eventActions() - Method in class com.google.adk.agents.CallbackContext
Returns the EventActions associated with this context.
EventActions - Class in com.google.adk.events
Represents the actions attached to an event.
EventActions() - Constructor for class com.google.adk.events.EventActions
Default constructor for Jackson.
EventActions.Builder - Class in com.google.adk.events
Builder for EventActions.
EventCompaction - Class in com.google.adk.events
The compaction of the events.
EventCompaction() - Constructor for class com.google.adk.events.EventCompaction
 
EventCompaction.Builder - Class in com.google.adk.events
Builder for EventCompaction.
EventCompactor - Interface in com.google.adk.summarizer
Base interface for compacting events.
eventId() - Method in class com.google.adk.agents.CallbackContext
Returns the ID of the event associated with this context.
eventId(String) - Method in class com.google.adk.tools.ToolContext.Builder
 
eventRetentionSize() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
Returns the value of the eventRetentionSize record component.
eventRetentionSize(Integer) - Method in class com.google.adk.summarizer.EventsCompactionConfig.Builder
 
events() - Method in class com.google.adk.agents.ReadonlyContext
Returns an unmodifiable view of the events of the session.
events() - Method in class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
Events generated during processing.
events() - Method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
Events generated during processing.
events() - Method in class com.google.adk.sessions.ListEventsResponse
 
events() - Method in class com.google.adk.sessions.Session
 
events(List<Event>) - Method in class com.google.adk.sessions.ListEventsResponse.Builder
 
events(List<Event>) - Method in class com.google.adk.sessions.Session.Builder
 
eventsCompactionConfig() - Method in class com.google.adk.agents.InvocationContext
Returns the events compaction configuration for the current agent run.
eventsCompactionConfig() - Method in class com.google.adk.apps.App
 
eventsCompactionConfig(EventsCompactionConfig) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the events compaction configuration for the current agent run.
eventsCompactionConfig(EventsCompactionConfig) - Method in class com.google.adk.apps.App.Builder
 
EventsCompactionConfig - Record Class in com.google.adk.summarizer
Configuration for event compaction.
EventsCompactionConfig(int, int) - Constructor for record class com.google.adk.summarizer.EventsCompactionConfig
 
EventsCompactionConfig(int, int, BaseEventSummarizer) - Constructor for record class com.google.adk.summarizer.EventsCompactionConfig
 
EventsCompactionConfig(Integer, Integer, BaseEventSummarizer, Integer, Integer) - Constructor for record class com.google.adk.summarizer.EventsCompactionConfig
Creates an instance of a EventsCompactionConfig record class.
EventsCompactionConfig.Builder - Class in com.google.adk.summarizer
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
 
ExampleTool - Class in com.google.adk.tools
A tool that injects (few-shot) examples into the outgoing LLM request as system instructions.
ExampleTool.Builder - Class in com.google.adk.tools
Builder for ExampleTool.
ExampleUtils - Class in com.google.adk.examples
Utility class for examples.
executeCode(InvocationContext, CodeExecutionUtils.CodeExecutionInput) - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
Executes code and return the code execution result.
executeCode(InvocationContext, CodeExecutionUtils.CodeExecutionInput) - Method in class com.google.adk.codeexecutors.BuiltInCodeExecutor
 
executeCode(InvocationContext, CodeExecutionUtils.CodeExecutionInput) - Method in class com.google.adk.codeexecutors.ContainerCodeExecutor
 
executeCode(InvocationContext, CodeExecutionUtils.CodeExecutionInput) - Method in class com.google.adk.codeexecutors.VertexAiCodeExecutor
 
executeCustomQueryRequest() - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
executionId() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
The execution ID for the stateful code execution.
executionId(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
 
executionResultDelimiters() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
The delimiters to format the code execution result.
executor() - Method in class com.google.adk.agents.LlmAgent
 
executor(Executor) - Method in class com.google.adk.agents.LlmAgent.Builder
 
exitLoop(ToolContext) - Static method in class com.google.adk.tools.ExitLoopTool
Exit the LoopAgent execution.
ExitLoopTool - Class in com.google.adk.tools
Tool for exiting execution of LoopAgent.
extractCodeAndTruncateContent(Content.Builder, List<? extends List<String>>) - Static method in class com.google.adk.codeexecutors.CodeExecutionUtils
Extracts the first code block from the content and truncates everything after it.

F

File() - Constructor for class com.google.adk.codeexecutors.CodeExecutionUtils.File
 
filenames() - Method in class com.google.adk.artifacts.ListArtifactsResponse
 
filenames(List<String>) - Method in class com.google.adk.artifacts.ListArtifactsResponse.Builder
 
filter() - Method in class com.google.adk.tools.VertexAiSearchTool
 
filter(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
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.
finishReason() - Method in class com.google.adk.events.Event
 
finishReason() - Method in class com.google.adk.models.LlmResponse
Error code if the response is an error.
finishReason(FinishReason) - Method in class com.google.adk.events.Event.Builder
 
finishReason(FinishReason) - Method in class com.google.adk.models.LlmResponse.Builder
 
fromConfig(BaseAgentConfig, String) - Static method in class com.google.adk.agents.BaseAgent
Creates a new agent instance from a configuration object.
fromConfig(LlmAgentConfig, String) - Static method in class com.google.adk.agents.LlmAgent
Creates an LlmAgent from configuration with full subagent support.
fromConfig(LoopAgentConfig, String) - Static method in class com.google.adk.agents.LoopAgent
Creates a LoopAgent from configuration.
fromConfig(ParallelAgentConfig, String) - Static method in class com.google.adk.agents.ParallelAgent
Creates a ParallelAgent from configuration.
fromConfig(SequentialAgentConfig, String) - Static method in class com.google.adk.agents.SequentialAgent
Creates a SequentialAgent from configuration.
fromConfig(BaseTool.ToolArgsConfig) - Static method in class com.google.adk.tools.ExampleTool
Overload to match resolver which passes only ToolArgsConfig.
fromConfig(BaseTool.ToolArgsConfig, String) - Static method in class com.google.adk.tools.AgentTool
 
fromConfig(BaseTool.ToolArgsConfig, String) - Static method in class com.google.adk.tools.ExampleTool
Factory from YAML tool args.
fromConfig(BaseTool.ToolArgsConfig, String) - Static method in class com.google.adk.tools.LongRunningFunctionTool
 
fromConfig(BaseTool.ToolConfig, String) - Static method in class com.google.adk.tools.BaseTool
Creates a tool instance from a config.
fromConfig(BaseTool.ToolConfig, String) - Static method in class com.google.adk.tools.mcp.McpToolset
Creates a McpToolset instance from a config.
fromConfig(String) - Static method in class com.google.adk.agents.ConfigAgentUtils
Load agent from a YAML config file path.
fromDockerPath(String) - Static method in class com.google.adk.codeexecutors.ContainerCodeExecutor
Creates a ContainerCodeExecutor from a Dockerfile path.
fromDockerPath(String, String) - Static method in class com.google.adk.codeexecutors.ContainerCodeExecutor
Creates a ContainerCodeExecutor from a Dockerfile path.
fromImage(String) - Static method in class com.google.adk.codeexecutors.ContainerCodeExecutor
Creates a ContainerCodeExecutor from an image.
fromImage(String, String) - Static method in class com.google.adk.codeexecutors.ContainerCodeExecutor
Creates a ContainerCodeExecutor from an image.
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
 
fromJson(String) - Static method in class com.google.adk.sessions.SessionKey
 
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.
func() - Method in class com.google.adk.tools.FunctionTool
Returns the underlying function Method.
functionCallId() - Method in class com.google.adk.tools.ToolContext
 
functionCallId(String) - Method in class com.google.adk.tools.ToolContext.Builder
 
functionCallId(String) - Method in class com.google.adk.tools.ToolContext
 
FunctionCallingUtils - Class in com.google.adk.tools
Utility class for function calling.
functionCalls() - Method in class com.google.adk.events.Event
Returns all function calls from this event.
functionResponses() - Method in class com.google.adk.events.Event
Returns all function responses from this event.
Functions - Class in com.google.adk.flows.llmflows
Utility class for handling function calls.
FunctionTool - Class in com.google.adk.tools
FunctionTool implements a customized function calling tool.
FunctionTool(Object, Method, boolean) - Constructor for class com.google.adk.tools.FunctionTool
 
FunctionTool(Object, Method, boolean, boolean) - Constructor for class com.google.adk.tools.FunctionTool
 
FunctionTool(Object, Method, boolean, boolean, ObjectMapper) - Constructor for class com.google.adk.tools.FunctionTool
 
FunctionTool(Object, Method, boolean, ObjectMapper) - Constructor for class com.google.adk.tools.FunctionTool
 

G

GcsArtifactService - Class in com.google.adk.artifacts
An artifact service implementation using Google Cloud Storage (GCS).
GcsArtifactService(String, Storage) - Constructor for class com.google.adk.artifacts.GcsArtifactService
Initializes the GcsArtifactService.
Gemini - Class in com.google.adk.models
Represents the Gemini Generative AI model.
Gemini(String, VertexCredentials) - Constructor for class com.google.adk.models.Gemini
Constructs a new Gemini instance with a Google Gemini API key.
Gemini(String, Client) - Constructor for class com.google.adk.models.Gemini
Constructs a new Gemini instance.
Gemini(String, String) - Constructor for class com.google.adk.models.Gemini
Constructs a new Gemini instance with a Google Gemini API key.
Gemini.Builder - Class in com.google.adk.models
Builder for Gemini.
GeminiLlmConnection - Class in com.google.adk.models
Manages a persistent, bidirectional connection to the Gemini model via WebSockets for real-time interaction.
GeminiUtil - Class in com.google.adk.models
Request / Response utilities for Gemini.
generateClientFunctionCallId() - Static method in class com.google.adk.flows.llmflows.Functions
Generates a unique ID for a function call.
generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.ApigeeLlm
 
generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.BaseLlm
Generates one content from the given LLM request and tools.
generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.Claude
 
generateContent(LlmRequest, boolean) - Method in class com.google.adk.models.Gemini
 
generateContentConfig() - Method in class com.google.adk.agents.LlmAgent
 
generateContentConfig() - Method in class com.google.adk.agents.LlmAgentConfig
 
generateContentConfig(GenerateContentConfig) - Method in class com.google.adk.agents.LlmAgent.Builder
 
generateEventId() - Static method in class com.google.adk.events.Event
 
generateRequestConfirmationEvent(InvocationContext, Event, Event) - Static method in class com.google.adk.flows.llmflows.Functions
Generates a request confirmation event from a function response event.
get() - Method in class com.google.adk.agents.LiveRequestQueue
 
get(Object) - Method in class com.google.adk.sessions.State
 
get(String) - Method in class com.google.adk.utils.ComponentRegistry
Retrieves an object by name without type checking.
get(String, Class<T>) - Method in class com.google.adk.utils.ComponentRegistry
Retrieves an object by name and attempts to cast it to the specified type.
getActionOperation(String, String, String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
getActionSchema(String) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
Retrieves the input and output JSON schema for a given action.
getAdditionalProperties() - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
 
getAfterAgentCallbacks(List<Callbacks.AfterAgentCallbackBase>) - Static method in class com.google.adk.agents.CallbackUtil
Normalizes after-agent callbacks.
getAgentClasses() - Method in interface com.google.adk.utils.AdkComponentProvider
Returns a list of agent classes to register.
getAgentClasses() - Method in class com.google.adk.utils.CoreAdkComponentProvider
Returns agent classes for LlmAgent, LoopAgent, ParallelAgent and SequentialAgent.
getAskUserConfirmationFunctionCalls(Event) - Static method in class com.google.adk.flows.llmflows.Functions
Gets the ask user confirmation function calls from the event.
getBeforeAgentCallbacks(List<Callbacks.BeforeAgentCallbackBase>) - Static method in class com.google.adk.agents.CallbackUtil
Normalizes before-agent callbacks.
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
 
getEntitySchemaAndOperations(String) - Method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
Retrieves the JSON schema and available operations for a given entity.
getErrorCount(String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Gets the error count from the session state.
getExamples(String) - Method in interface com.google.adk.examples.BaseExampleProvider
 
getExecutionId() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Gets the session ID for the code executor.
getFirstSystemInstruction() - Method in class com.google.adk.models.LlmRequest
returns the first system instruction text from the request if present.
getGoogleCredentials(String) - Method in interface com.google.adk.tools.applicationintegrationtoolset.CredentialsHelper
Converts a service account JSON string to a Google Credentials object.
getGoogleCredentials(String) - Method in class com.google.adk.tools.applicationintegrationtoolset.GoogleCredentialsHelper
 
getInputFiles() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Gets the code executor input file names from the session state.
getInstance() - Static method in class com.google.adk.utils.ComponentRegistry
Returns the global singleton instance of ComponentRegistry.
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
Returns the mutable ObjectMapper instance used by ADK.
getMcpSession() - Method in class com.google.adk.tools.mcp.AbstractMcpTool
 
getName() - Method in class com.google.adk.plugins.BasePlugin
 
getName() - Method in interface com.google.adk.plugins.Plugin
 
getOperation(String, String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
getOperationRequest() - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
getOrDefault(String, T) - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
 
getOrEmpty(String, TypeReference<T>) - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
 
getPart0FromLlmResponse(LlmResponse) - Static method in class com.google.adk.models.GeminiUtil
Extracts the first part of an LlmResponse, if available.
getPlugin(String) - Method in class com.google.adk.plugins.PluginManager
Retrieves a registered plugin by its name.
getPlugins() - Method in class com.google.adk.plugins.PluginManager
Returns the list of registered plugins.
getProcessedFileNames() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Gets the processed file names from the session state.
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.
getSession(SessionKey, 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 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.
getStateDelta() - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Gets the state delta to update in the persistent session state.
getSystemInstructions() - Method in class com.google.adk.models.LlmRequest
Returns all system instruction texts from the request as an immutable list.
getTextFromLlmResponse(LlmResponse) - Static method in class com.google.adk.models.GeminiUtil
Extracts text content from the first part of an LlmResponse, if available.
getToolClasses() - Method in interface com.google.adk.utils.AdkComponentProvider
Returns a list of tool classes to register.
getToolClasses() - Method in class com.google.adk.utils.CoreAdkComponentProvider
Returns tool classes for AgentTool, LongRunningFunctionTool and ExampleTool.
getToolInstances() - Method in class com.google.adk.utils.AdditionalAdkComponentProvider
Returns tool instances for GoogleSearchTool and GoogleMapsTool.
getToolInstances() - Method in interface com.google.adk.utils.AdkComponentProvider
Returns a map of tool instances to register, with tool name as key.
getToolInstances() - Method in class com.google.adk.utils.CoreAdkComponentProvider
Returns tool instances for LoadArtifactsTool, ExitLoopTool and UrlContextTool.
getToolNamesWithPrefix(String) - Method in class com.google.adk.utils.ComponentRegistry
 
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.computeruse.ComputerUseToolset
 
getTools(ReadonlyContext) - Method in class com.google.adk.tools.mcp.McpAsyncToolset
 
getTools(ReadonlyContext) - Method in class com.google.adk.tools.mcp.McpToolset
 
getToolsetClasses() - Method in class com.google.adk.utils.AdditionalAdkComponentProvider
Returns toolset classes for McpToolset.
getToolsetClasses() - Method in interface com.google.adk.utils.AdkComponentProvider
Returns a list of toolset classes to register.
getTracer() - Static method in class com.google.adk.telemetry.Tracing
Gets the tracer.
getTtlString() - Method in record class com.google.adk.agents.ContextCacheConfig
Returns TTL as string format for cache creation.
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
 
GlobalInstructionPlugin - Class in com.google.adk.plugins
Plugin that provides global instructions functionality at the App level.
GlobalInstructionPlugin(String) - Constructor for class com.google.adk.plugins.GlobalInstructionPlugin
 
GlobalInstructionPlugin(String, String) - Constructor for class com.google.adk.plugins.GlobalInstructionPlugin
 
GlobalInstructionPlugin(Function<CallbackContext, Maybe<String>>) - Constructor for class com.google.adk.plugins.GlobalInstructionPlugin
 
GlobalInstructionPlugin(Function<CallbackContext, Maybe<String>>, String) - Constructor for class com.google.adk.plugins.GlobalInstructionPlugin
 
goBack() - Method in interface com.google.adk.tools.computeruse.BaseComputer
Navigates back.
goForward() - Method in interface com.google.adk.tools.computeruse.BaseComputer
Navigates forward.
GoogleCredentialsHelper - Class in com.google.adk.tools.applicationintegrationtoolset
 
GoogleCredentialsHelper() - Constructor for class com.google.adk.tools.applicationintegrationtoolset.GoogleCredentialsHelper
 
GoogleMapsTool - Class in com.google.adk.tools
A built-in tool that is automatically invoked by Gemini 2 models to retrieve search results from Google Maps.
GoogleMapsTool() - Constructor for class com.google.adk.tools.GoogleMapsTool
 
GoogleSearchAgentTool - Class in com.google.adk.tools
A tool that wraps a sub-agent that only uses google_search tool.
GoogleSearchAgentTool(LlmAgent) - Constructor for class com.google.adk.tools.GoogleSearchAgentTool
 
GoogleSearchTool - Class in com.google.adk.tools
A built-in tool that is automatically invoked by Gemini 2 and 3 models to retrieve search results from Google Search.
GoogleSearchTool() - Constructor for class com.google.adk.tools.GoogleSearchTool
 
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
 

H

handleFunctionCalls(InvocationContext, Event, Map<String, BaseTool>) - Static method in class com.google.adk.flows.llmflows.Functions
Handles standard, non-streaming function calls.
handleFunctionCalls(InvocationContext, Event, Map<String, BaseTool>, Map<String, ToolConfirmation>) - Static method in class com.google.adk.flows.llmflows.Functions
Handles standard, non-streaming function calls with tool confirmations.
handleFunctionCallsLive(InvocationContext, Event, Map<String, BaseTool>) - Static method in class com.google.adk.flows.llmflows.Functions
Handles function calls in a live/streaming context, supporting background execution and stream termination.
handleFunctionCallsLive(InvocationContext, Event, Map<String, BaseTool>, Map<String, ToolConfirmation>) - Static method in class com.google.adk.flows.llmflows.Functions
Handles function calls in a live/streaming context with tool confirmations, supporting background execution and stream termination.
hasDelta() - Method in class com.google.adk.sessions.State
 
hashCode() - Method in record class com.google.adk.agents.ContextCacheConfig
Returns a hash code value for this object.
hashCode() - Method in record class com.google.adk.agents.Instruction.Provider
Returns a hash code value for this object.
hashCode() - Method in record class com.google.adk.agents.Instruction.Static
Returns a hash code value for this object.
hashCode() - Method in class com.google.adk.agents.InvocationContext
 
hashCode() - Method in class com.google.adk.events.Event
 
hashCode() - Method in class com.google.adk.events.EventActions
 
hashCode() - Method in class com.google.adk.sessions.SessionKey
 
hashCode() - Method in class com.google.adk.sessions.State
 
hashCode() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
Returns a hash code value for this object.
hashCode() - Method in class com.google.adk.tools.computeruse.ComputerState
 
hashCode() - Method in record class com.google.adk.tools.LoadMemoryResponse
Returns a hash code value for this object.
hasSlidingWindowCompactionConfig() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
 
hasTrailingCodeExecutionResult() - Method in class com.google.adk.events.Event
Returns whether the event has a trailing code execution result.
headers() - Method in class com.google.adk.tools.mcp.SseServerParameters
Optional headers to include in the SSE connection request.
headers() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
 
headers(Map<String, Object>) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
Sets the headers for the SSE connection request.
headers(Map<String, String>) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
 
hint() - Method in class com.google.adk.events.ToolConfirmation
 
hint(String) - Method in class com.google.adk.events.ToolConfirmation.Builder
 
host - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
 
hoverAt(int, int) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Hovers at a specific x, y coordinate on the webpage.
HttpApiClient - Class in com.google.adk.sessions
Base client for the HTTP APIs.
HttpApiResponse - Class in com.google.adk.sessions
Wraps a real HTTP response to expose the methods needed by the GenAI SDK.
HttpApiResponse(Response) - Constructor for class com.google.adk.sessions.HttpApiResponse
Constructs a HttpApiResponse instance with the response.

I

id() - Method in class com.google.adk.events.Event
The event id.
id() - Method in class com.google.adk.sessions.Session
 
id() - Method in class com.google.adk.sessions.SessionKey
 
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() - Method in class com.google.adk.agents.LlmAgentConfig
 
includeContents(LlmAgent.IncludeContents) - Method in class com.google.adk.agents.LlmAgent.Builder
 
incrementErrorCount(String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Increments the error count from the session state.
incrementLlmCallsCount() - Method in class com.google.adk.agents.InvocationContext
Increments the count of LLM calls made during this invocation and throws an exception if the limit defined in RunConfig is exceeded.
initialize() - Method in interface com.google.adk.tools.computeruse.BaseComputer
Initialize the computer.
initializeAsyncSession(Object) - Static method in class com.google.adk.tools.mcp.McpSessionManager
 
initializeAsyncSession(Object, McpTransportBuilder) - Static method in class com.google.adk.tools.mcp.McpSessionManager
 
initializeSession(Object) - Static method in class com.google.adk.tools.mcp.McpSessionManager
 
initializeSession(Object, McpTransportBuilder) - Static method in class com.google.adk.tools.mcp.McpSessionManager
 
injectSessionState(InvocationContext, String) - Static method in class com.google.adk.utils.InstructionUtils
Populates placeholders in an instruction template string with values from the session state or loaded artifacts.
InMemoryArtifactService - Class in com.google.adk.artifacts
An in-memory implementation of the BaseArtifactService.
InMemoryArtifactService() - Constructor for class com.google.adk.artifacts.InMemoryArtifactService
 
InMemoryMemoryService - Class in com.google.adk.memory
An in-memory memory service for prototyping purposes only.
InMemoryMemoryService() - Constructor for class com.google.adk.memory.InMemoryMemoryService
 
InMemoryRunner - Class in com.google.adk.runner
The class for the in-memory GenAi runner, using in-memory artifact and session services.
InMemoryRunner(BaseAgent) - Constructor for class com.google.adk.runner.InMemoryRunner
 
InMemoryRunner(BaseAgent, String) - Constructor for class com.google.adk.runner.InMemoryRunner
 
InMemoryRunner(BaseAgent, String, List<? extends Plugin>) - Constructor for class com.google.adk.runner.InMemoryRunner
 
InMemorySessionService - Class in com.google.adk.sessions
An in-memory implementation of BaseSessionService assuming Session 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
 
inputAudioTranscription() - Method in class com.google.adk.agents.RunConfig
 
inputFiles() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput
The input files available to the code.
inputFiles(List<CodeExecutionUtils.File>) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionInput.Builder
 
inputSchema - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
 
inputSchema() - Method in class com.google.adk.agents.LlmAgent
 
inputSchema(Schema) - Method in class com.google.adk.agents.LlmAgent.Builder
 
INSTANCE - Static variable in class com.google.adk.tools.BuiltInCodeExecutionTool
 
INSTANCE - Static variable in class com.google.adk.tools.ExitLoopTool
 
INSTANCE - Static variable in class com.google.adk.tools.GoogleMapsTool
 
INSTANCE - Static variable in class com.google.adk.tools.GoogleSearchTool
 
INSTANCE - Static variable in class com.google.adk.tools.LoadArtifactsTool
 
INSTANCE - Static variable in class com.google.adk.tools.UrlContextTool
 
instruction() - Method in record class com.google.adk.agents.Instruction.Static
Returns the value of the 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
 
invocationContext - Variable in class com.google.adk.agents.ReadonlyContext
 
invocationContext() - Method in class com.google.adk.agents.ReadonlyContext
Returns the invocation context.
InvocationContext - Class in com.google.adk.agents
The context for an agent invocation.
InvocationContext(InvocationContext.Builder) - Constructor for class com.google.adk.agents.InvocationContext
 
InvocationContext.Builder - Class in com.google.adk.agents
Builder for InvocationContext.
invocationId() - Method in class com.google.adk.agents.InvocationContext
Returns the unique ID for this invocation.
invocationId() - Method in class com.google.adk.agents.ReadonlyContext
Returns the ID of the current invocation.
invocationId() - Method in class com.google.adk.events.Event
Id of the invocation that this event belongs to.
invocationId(String) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the unique ID for the invocation.
invocationId(String) - Method in class com.google.adk.events.Event.Builder
 
isEmpty() - Method in class com.google.adk.sessions.State
 
isEmpty() - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
 
isGemini2Model(String) - Static method in class com.google.adk.utils.ModelNameUtils
 
isGeminiModel(String) - Static method in class com.google.adk.utils.ModelNameUtils
 
isInstanceOfGemini(Object) - Static method in class com.google.adk.utils.ModelNameUtils
Checks whether an object is an instance of Gemini, by searching through its class hierarchy for a class whose name equals the hardcoded String name of Gemini class.
isNullOrEmpty(Iterable<T>) - Static method in class com.google.adk.utils.CollectionUtils
Checks if the given iterable is null or empty.
isStreaming() - Method in class com.google.adk.tools.FunctionTool
Returns true if the wrapped function returns a Flowable and can be used for streaming.
isToolSelected(BaseTool, Object, ReadonlyContext) - Method in interface com.google.adk.tools.BaseToolset
Checks if a tool should be selected based on a filter.
iterator() - Method in class com.google.adk.events.EventStream
Returns an iterator that fetches events lazily.

J

jacksonBuilder() - Static method in class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
 
JAVA_ADK_VERSION - Static variable in class com.google.adk.Version
 
JsonBaseModel - Class in com.google.adk
The base class for the types that needs JSON serialization/deserialization capability.
JsonBaseModel() - Constructor for class com.google.adk.JsonBaseModel
 

K

keyCombination(List<String>) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Presses key combination.
keySet() - Method in class com.google.adk.sessions.State
 

L

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
 
listArtifactKeys(SessionKey) - Method in interface com.google.adk.artifacts.BaseArtifactService
 
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.
listArtifacts() - Method in class com.google.adk.agents.CallbackContext
Lists the filenames of the artifacts attached to the current session.
ListArtifactsResponse - Class in com.google.adk.artifacts
Response for listing artifacts.
ListArtifactsResponse() - Constructor for class com.google.adk.artifacts.ListArtifactsResponse
 
ListArtifactsResponse.Builder - Class in com.google.adk.artifacts
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
listEvents(SessionKey) - Method in interface com.google.adk.sessions.BaseSessionService
Lists the events within a specific session.
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(SessionKey) - Method in interface com.google.adk.sessions.BaseSessionService
Lists sessions associated with a specific application and user.
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
 
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
listVersions(SessionKey, String) - Method in interface com.google.adk.artifacts.BaseArtifactService
 
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
Returns the queue for managing live requests, if available for this invocation.
liveRequestQueue(LiveRequestQueue) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the queue for managing live requests.
LiveRequestQueue - 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
 
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 in com.google.adk.models
An error indicating that the limit for calls to the LLM has been exceeded.
LlmCallsLimitExceededException(String) - Constructor for exception com.google.adk.models.LlmCallsLimitExceededException
 
LlmEventSummarizer - Class in com.google.adk.summarizer
An LLM-based event summarizer for sliding window compaction.
LlmEventSummarizer(BaseLlm) - Constructor for class com.google.adk.summarizer.LlmEventSummarizer
 
LlmEventSummarizer(BaseLlm, String) - Constructor for class com.google.adk.summarizer.LlmEventSummarizer
 
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.
loadArtifact(SessionKey, String) - Method in interface com.google.adk.artifacts.BaseArtifactService
Loads the latest version of an artifact from the service.
loadArtifact(SessionKey, String, int) - Method in interface com.google.adk.artifacts.BaseArtifactService
 
loadArtifact(String) - Method in class com.google.adk.agents.CallbackContext
Loads the latest version of an artifact from the service.
loadArtifact(String, int) - Method in class com.google.adk.agents.CallbackContext
Loads a specific version of an artifact from the service.
loadArtifact(String, String, String, String) - Method in interface com.google.adk.artifacts.BaseArtifactService
Loads the latest version of an artifact from the service.
loadArtifact(String, String, String, String, int) - Method in interface com.google.adk.artifacts.BaseArtifactService
Loads a specific version of an artifact from the service.
loadArtifact(String, String, String, String, Integer) - Method in interface com.google.adk.artifacts.BaseArtifactService
 
loadArtifact(String, String, String, String, Integer) - Method in class com.google.adk.artifacts.GcsArtifactService
Loads an artifact from GCS.
loadArtifact(String, String, String, String, Integer) - Method in class com.google.adk.artifacts.InMemoryArtifactService
Loads an artifact by version or latest.
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
 
loadMemory(String, ToolContext) - Static method in class com.google.adk.tools.LoadMemoryTool
Loads the memory for the current user.
LoadMemoryResponse - Record Class in com.google.adk.tools
The response from a load memory tool invocation.
LoadMemoryResponse(List<MemoryEntry>) - Constructor for record class com.google.adk.tools.LoadMemoryResponse
Creates an instance of a LoadMemoryResponse record class.
LoadMemoryTool - Class in com.google.adk.tools
A tool that loads memory for the current user.
LoadMemoryTool() - Constructor for class com.google.adk.tools.LoadMemoryTool
 
location() - Method in class com.google.adk.models.VertexCredentials
 
location() - Method in class com.google.adk.sessions.HttpApiClient
Returns the location for Vertex AI APIs.
location() - Method in class com.google.adk.tools.VertexAiSearchTool
 
location(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
LoggingPlugin - Class in com.google.adk.plugins
A plugin that logs important information at each callback point.
LoggingPlugin() - Constructor for class com.google.adk.plugins.LoggingPlugin
 
LoggingPlugin(String) - Constructor for class com.google.adk.plugins.LoggingPlugin
 
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(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.
LoopAgentConfig - Class in com.google.adk.agents
Configuration for LoopAgent.
LoopAgentConfig() - Constructor for class com.google.adk.agents.LoopAgentConfig
 

M

maxInvocations() - Method in record class com.google.adk.agents.ContextCacheConfig
Returns the value of the maxInvocations record component.
maxIterations() - Method in class com.google.adk.agents.LoopAgent
 
maxIterations() - Method in class com.google.adk.agents.LoopAgentConfig
 
maxIterations(Integer) - Method in class com.google.adk.agents.LoopAgent.Builder
 
maxLlmCalls() - Method in class com.google.adk.agents.RunConfig
 
maxResults() - Method in class com.google.adk.tools.VertexAiSearchTool
 
maxResults(Integer) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
maxSteps - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
 
maxSteps() - Method in class com.google.adk.agents.LlmAgent
 
maxSteps(int) - Method in class com.google.adk.agents.LlmAgent.Builder
 
McpAsyncTool - Class in com.google.adk.tools.mcp
Initializes a MCP tool.
McpAsyncTool(McpSchema.Tool, McpAsyncClient, McpSessionManager) - Constructor for class com.google.adk.tools.mcp.McpAsyncTool
Creates a new McpAsyncTool with the default ObjectMapper.
McpAsyncTool(McpSchema.Tool, McpAsyncClient, McpSessionManager, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.McpAsyncTool
Creates a new McpAsyncTool
McpAsyncToolset - Class in com.google.adk.tools.mcp
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
McpAsyncToolset.Builder - Class in com.google.adk.tools.mcp
Builder for McpAsyncToolset
McpInitializationException(String, Throwable) - Constructor for exception com.google.adk.tools.mcp.McpToolsetException.McpInitializationException
 
mcpSession - Variable in class com.google.adk.tools.mcp.AbstractMcpTool
 
mcpSessionManager - Variable in class com.google.adk.tools.mcp.AbstractMcpTool
 
McpSessionManager - Class in com.google.adk.tools.mcp
Manages MCP client sessions.
McpSessionManager(Object) - Constructor for class com.google.adk.tools.mcp.McpSessionManager
 
McpSessionManager(Object, McpTransportBuilder) - Constructor for class com.google.adk.tools.mcp.McpSessionManager
 
mcpTool - Variable in class com.google.adk.tools.mcp.AbstractMcpTool
 
McpTool - Class in com.google.adk.tools.mcp
Initializes a MCP tool.
McpTool(McpSchema.Tool, McpSyncClient, McpSessionManager) - Constructor for class com.google.adk.tools.mcp.McpTool
Creates a new McpTool with the default ObjectMapper.
McpTool(McpSchema.Tool, McpSyncClient, McpSessionManager, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.McpTool
Creates a new McpTool with the default ObjectMapper.
McpToolDeclarationException(String, Throwable) - Constructor for exception com.google.adk.tools.mcp.McpToolException.McpToolDeclarationException
 
McpToolException - Exception in com.google.adk.tools.mcp
Base exception for all errors originating from AbstractMcpTool and its subclasses.
McpToolException(String, Throwable) - Constructor for exception com.google.adk.tools.mcp.McpToolException
 
McpToolException.McpToolDeclarationException - Exception in com.google.adk.tools.mcp
Exception thrown when there's an error during MCP tool declaration generated.
McpToolLoadingException(String, Throwable) - Constructor for exception com.google.adk.tools.mcp.McpToolsetException.McpToolLoadingException
 
McpToolset - Class in com.google.adk.tools.mcp
Connects to a MCP Server, and retrieves MCP Tools into ADK Tools.
McpToolset(McpSessionManager, ObjectMapper, Optional<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(StreamableHttpServerParameters) - Constructor for class com.google.adk.tools.mcp.McpToolset
Initializes the McpToolset with Streamable HTTP server parameters, using the ObjectMapper used across the ADK and no tool filter.
McpToolset(StreamableHttpServerParameters, ObjectMapper, Optional<Object>) - Constructor for class com.google.adk.tools.mcp.McpToolset
Initializes the McpToolset with Steamable HTTP server parameters.
McpToolset(ServerParameters) - Constructor for class com.google.adk.tools.mcp.McpToolset
Initializes the McpToolset with local server parameters, using the ObjectMapper used across the ADK and no tool filter.
McpToolset(ServerParameters, ObjectMapper) - Constructor for class com.google.adk.tools.mcp.McpToolset
Initializes the McpToolset with local server parameters and no tool filter.
McpToolset(ServerParameters, ObjectMapper, Optional<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.McpToolsetConfig - Class in com.google.adk.tools.mcp
Configuration class for MCPToolset.
McpToolsetConfig() - Constructor for class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
McpToolsetException - Exception in com.google.adk.tools.mcp
Base exception for all errors originating from McpToolset.
McpToolsetException(String, Throwable) - Constructor for exception com.google.adk.tools.mcp.McpToolsetException
 
McpToolsetException.McpInitializationException - Exception in com.google.adk.tools.mcp
Exception thrown when there's an error during MCP session initialization.
McpToolsetException.McpToolLoadingException - Exception in com.google.adk.tools.mcp
Exception thrown when there's an error during loading tools from the MCP server.
McpTransportBuilder - Interface in com.google.adk.tools.mcp
Interface for building McpClientTransport instances.
MEDIA_TYPE_APPLICATION_JSON - Static variable in class com.google.adk.sessions.HttpApiClient
 
memories() - Method in class com.google.adk.memory.SearchMemoryResponse
Returns a list of memory entries that relate to the search query.
memories() - Method in record class com.google.adk.tools.LoadMemoryResponse
Returns the value of the memories record component.
MemoryEntry - Class in com.google.adk.memory
Represents one memory entry.
MemoryEntry() - Constructor for class com.google.adk.memory.MemoryEntry
 
MemoryEntry.Builder - Class in com.google.adk.memory
Builder for MemoryEntry.
memoryService() - Method in class com.google.adk.agents.InvocationContext
Returns the memory service for accessing agent memory.
memoryService() - Method in class com.google.adk.runner.Runner
 
memoryService(BaseMemoryService) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the memory service for accessing agent memory.
memoryService(BaseMemoryService) - Method in class com.google.adk.runner.Runner.Builder
 
merge(EventActions) - Method in class com.google.adk.events.EventActions.Builder
 
meta() - Method in class com.google.adk.tools.mcp.AbstractMcpTool
 
mimeType() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File
The mime type of the file (e.g., "image/png").
mimeType(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
 
minTokens() - Method in record class com.google.adk.agents.ContextCacheConfig
Returns the value of the minTokens 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.ApigeeLlm.Builder
Sets the model string.
modelName(String) - Method in class com.google.adk.models.Gemini.Builder
Sets the name of the Gemini model to use.
modelName(String) - Method in class com.google.adk.models.Model.Builder
 
ModelNameUtils - Class in com.google.adk.utils
 
modelVersion() - Method in class com.google.adk.events.Event
The model version used to generate the response.
modelVersion() - Method in class com.google.adk.models.LlmResponse
The model version used to generate the response.
modelVersion(String) - Method in class com.google.adk.events.Event.Builder
 
modelVersion(String) - Method in class com.google.adk.models.LlmResponse.Builder
 

N

name - Variable in class com.google.adk.agents.BaseAgent.Builder
 
name - Variable in class com.google.adk.plugins.BasePlugin
 
name - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
 
name() - Method in class com.google.adk.agents.BaseAgent
Gets the agent's unique name.
name() - Method in class com.google.adk.agents.BaseAgentConfig.CallbackRef
 
name() - Method in class com.google.adk.agents.BaseAgentConfig
 
name() - Method in class com.google.adk.apps.App
 
name() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File
The name of the file with file extension (e.g., "file.csv").
name() - Element in annotation interface com.google.adk.tools.Annotations.Schema
 
name() - Method in class com.google.adk.tools.BaseTool
 
name() - Method in class com.google.adk.tools.BaseTool.ToolConfig
 
name(String) - Method in class com.google.adk.agents.BaseAgent.Builder
 
name(String) - Method in class com.google.adk.apps.App.Builder
 
name(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.File.Builder
 
name(String) - Method in class com.google.adk.plugins.ContextFilterPlugin.Builder
 
NamedToolPredicate - Class in com.google.adk.tools
 
NamedToolPredicate(String...) - Constructor for class com.google.adk.tools.NamedToolPredicate
 
NamedToolPredicate(List<String>) - Constructor for class com.google.adk.tools.NamedToolPredicate
 
navigate(String) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Navigates to URL.
newInvocationContextId() - Static method in class com.google.adk.agents.InvocationContext
Generates a new unique ID for an invocation context.
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
 
NONE - Enum constant in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
 
numInvocationsToKeep(int) - Method in class com.google.adk.plugins.ContextFilterPlugin.Builder
 
numRecentEvents() - Method in class com.google.adk.sessions.GetSessionConfig
 
numRecentEvents(int) - Method in class com.google.adk.sessions.GetSessionConfig.Builder
 

O

objectMapper - Static variable in class com.google.adk.tools.applicationintegrationtoolset.ApplicationIntegrationToolset
 
objectMapper - Static variable in class com.google.adk.tools.applicationintegrationtoolset.IntegrationClient
 
objectMapper - Variable in class com.google.adk.tools.mcp.AbstractMcpTool
 
objectMapper(ObjectMapper) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
 
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.
onEventCallback(InvocationContext, Event) - Method in class com.google.adk.plugins.LoggingPlugin
 
onEventCallback(InvocationContext, Event) - Method in interface com.google.adk.plugins.Plugin
Callback executed after an event is yielded from runner.
onEventCallback(InvocationContext, Event) - Method in class com.google.adk.plugins.PluginManager
 
onModelErrorCallback() - Method in class com.google.adk.agents.LlmAgent
 
onModelErrorCallback(CallbackContext, LlmRequest.Builder, Throwable) - Method in class com.google.adk.plugins.LoggingPlugin
 
onModelErrorCallback(CallbackContext, LlmRequest.Builder, Throwable) - Method in interface com.google.adk.plugins.Plugin
Callback executed when a model call encounters an error.
onModelErrorCallback(CallbackContext, LlmRequest.Builder, Throwable) - Method in class com.google.adk.plugins.PluginManager
 
onModelErrorCallback(Callbacks.OnModelErrorCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
 
onModelErrorCallback(List<? extends Callbacks.OnModelErrorCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
 
onModelErrorCallbackSync(Callbacks.OnModelErrorCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
 
onSuccess(BiConsumer<Span, T>) - Method in class com.google.adk.telemetry.Tracing.TracerProvider
Registers a callback to be executed with the span and the result item when the stream emits a success value.
onToolErrorCallback() - Method in class com.google.adk.agents.LlmAgent
 
onToolErrorCallback(Callbacks.OnToolErrorCallback) - Method in class com.google.adk.agents.LlmAgent.Builder
 
onToolErrorCallback(BaseTool, Map<String, Object>, ToolContext, Throwable) - Method in class com.google.adk.plugins.LoggingPlugin
 
onToolErrorCallback(BaseTool, Map<String, Object>, ToolContext, Throwable) - Method in interface com.google.adk.plugins.Plugin
Callback executed when a tool call encounters an error.
onToolErrorCallback(BaseTool, Map<String, Object>, ToolContext, Throwable) - Method in class com.google.adk.plugins.PluginManager
 
onToolErrorCallback(List<? extends Callbacks.OnToolErrorCallbackBase>) - Method in class com.google.adk.agents.LlmAgent.Builder
 
onToolErrorCallbackSync(Callbacks.OnToolErrorCallbackSync) - Method in class com.google.adk.agents.LlmAgent.Builder
 
onUserMessageCallback(InvocationContext, Content) - Method in class com.google.adk.plugins.LoggingPlugin
 
onUserMessageCallback(InvocationContext, Content) - Method in interface com.google.adk.plugins.Plugin
Callback executed when a user message is received before an invocation starts.
onUserMessageCallback(InvocationContext, Content) - Method in class com.google.adk.plugins.PluginManager
 
openWebBrowser() - Method in interface com.google.adk.tools.computeruse.BaseComputer
Opens the web browser.
operations - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.EntitySchemaAndOperations
 
optimizeDataFile() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
If true, extract and process data files from the model request and attach them to the code executor.
optimizeDataFile() - Method in class com.google.adk.codeexecutors.ContainerCodeExecutor
 
optional() - Element in annotation interface com.google.adk.tools.Annotations.Schema
 
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
 
outputFiles() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
The output files from the code execution.
outputFiles(List<CodeExecutionUtils.File>) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
 
outputKey() - Method in class com.google.adk.agents.LlmAgent
 
outputKey() - Method in class com.google.adk.agents.LlmAgentConfig
 
outputKey(String) - Method in class com.google.adk.agents.LlmAgent.Builder
 
outputSchema - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ActionSchema
 
outputSchema() - Method in class com.google.adk.agents.LlmAgent
 
outputSchema(Schema) - Method in class com.google.adk.agents.LlmAgent.Builder
 
outputSchema(Schema) - Method in class com.google.adk.models.LlmRequest.Builder
Sets the output schema for the LLM response.
overlapSize() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
Returns the value of the overlapSize record component.
overlapSize(Integer) - Method in class com.google.adk.summarizer.EventsCompactionConfig.Builder
 

P

Pairs - Class in com.google.adk.utils
Utility class for creating ConcurrentHashMaps.
PARALLEL - Enum constant in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
 
ParallelAgent - Class in com.google.adk.agents
A shell agent that runs its sub-agents in parallel in isolated manner.
ParallelAgent.Builder - Class in com.google.adk.agents
Builder for ParallelAgent.
ParallelAgentConfig - Class in com.google.adk.agents
Configuration for ParallelAgent.
ParallelAgentConfig() - Constructor for class com.google.adk.agents.ParallelAgentConfig
 
parentAgent() - Method in class com.google.adk.agents.BaseAgent
Retrieves the parent agent in the agent tree.
parentAgent(BaseAgent) - Method in class com.google.adk.agents.BaseAgent
Sets the parent agent.
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
 
payload() - Method in class com.google.adk.events.ToolConfirmation
 
payload(Object) - Method in class com.google.adk.events.ToolConfirmation.Builder
 
planning() - Method in class com.google.adk.agents.LlmAgent
 
planning(boolean) - Method in class com.google.adk.agents.LlmAgent.Builder
 
Plugin - Interface in com.google.adk.plugins
Interface for creating plugins.
pluginManager() - Method in class com.google.adk.agents.InvocationContext
Returns the plugin manager for accessing tools and plugins.
pluginManager() - Method in class com.google.adk.runner.Runner
 
pluginManager(Plugin) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the plugin manager for accessing tools and plugins.
PluginManager - Class in com.google.adk.plugins
Manages the registration and execution of plugins.
PluginManager() - Constructor for class com.google.adk.plugins.PluginManager
 
PluginManager(List<? extends Plugin>) - Constructor for class com.google.adk.plugins.PluginManager
 
plugins() - Method in class com.google.adk.apps.App
 
plugins(Plugin...) - Method in class com.google.adk.apps.App.Builder
 
plugins(Plugin...) - Method in class com.google.adk.runner.Runner.Builder
 
plugins(List<? extends Plugin>) - Method in class com.google.adk.apps.App.Builder
 
plugins(List<? extends Plugin>) - Method in class com.google.adk.runner.Runner.Builder
 
populateClientFunctionCallId(Event) - Static method in class com.google.adk.flows.llmflows.Functions
Populates missing function call IDs in the provided event's content.
populateHeaders(HttpRequest.Builder, Credentials) - Static method in interface com.google.adk.tools.applicationintegrationtoolset.CredentialsHelper
Populates the headers (such as Authorization or x-goog-project) in the HttpRequest.Builder with the metadata from the credentials.
postprocess(InvocationContext, Event, LlmRequest, LlmResponse) - Method in class com.google.adk.flows.llmflows.BaseLlmFlow
Post-processes the LLM response after receiving it from the LLM.
prepareGenenerateContentRequest(LlmRequest, boolean) - Static method in class com.google.adk.models.GeminiUtil
Prepares an LlmRequest for the GenerateContent API.
prepareGenenerateContentRequest(LlmRequest, boolean, boolean) - Static method in class com.google.adk.models.GeminiUtil
Prepares an LlmRequest for the GenerateContent API.
preprocess(InvocationContext, AtomicReference<LlmRequest>) - Method in class com.google.adk.flows.llmflows.BaseLlmFlow
Pre-processes the LLM request before sending it to the LLM.
processLlmRequest(LlmRequest.Builder) - Method in class com.google.adk.codeexecutors.BuiltInCodeExecutor
Pre-process the LLM request for Gemini 2.0+ models to use the code execution tool.
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.BaseTool
Processes the outgoing LlmRequest.Builder.
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.BuiltInCodeExecutionTool
 
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.computeruse.ComputerUseToolset
Adds computer use configuration to the LLM request.
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.ExampleTool
 
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.GoogleMapsTool
 
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.GoogleSearchTool
 
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.LoadArtifactsTool
 
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.LoadMemoryTool
 
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.retrieval.VertexAiRagRetrieval
 
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.UrlContextTool
 
processLlmRequest(LlmRequest.Builder, ToolContext) - Method in class com.google.adk.tools.VertexAiSearchTool
 
processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.AgentTransfer
 
processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Basic
 
processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Compaction
 
processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Contents
 
processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Examples
 
processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Identity
 
processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.Instructions
 
processRequest(InvocationContext, LlmRequest) - Method in class com.google.adk.flows.llmflows.RequestConfirmationLlmRequestProcessor
 
processRequest(InvocationContext, LlmRequest) - Method in interface com.google.adk.flows.llmflows.RequestProcessor
Process the LLM request as part of the pre-processing stage.
processResponse(InvocationContext, LlmResponse) - Method in interface com.google.adk.flows.llmflows.ResponseProcessor
Process the LLM response as part of the post-processing stage.
project() - Method in class com.google.adk.models.VertexCredentials
 
project() - Method in class com.google.adk.sessions.HttpApiClient
Returns the project ID for Vertex AI APIs.
project() - Method in class com.google.adk.tools.VertexAiSearchTool
 
project(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
Provider(Function<ReadonlyContext, Single<String>>) - Constructor for record class com.google.adk.agents.Instruction.Provider
Creates an instance of a Provider record class.
proxyUrl(String) - Method in class com.google.adk.models.ApigeeLlm.Builder
Sets the URL of the Apigee proxy.
put(String, Object) - Method in class com.google.adk.sessions.State
 
put(String, Object) - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
 
putAll(Map<? 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
 
readTimeout() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
 
readTimeout(Duration) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
 
realtime(Blob) - Method in class com.google.adk.agents.LiveRequestQueue
 
receive() - Method in interface com.google.adk.models.BaseLlmConnection
Receives the model responses.
receive() - Method in class com.google.adk.models.GeminiLlmConnection
 
recognize(RecognitionConfig, RecognitionAudio) - Method in interface com.google.adk.flows.llmflows.audio.SpeechClientInterface
Performs synchronous speech recognition.
recognize(RecognitionConfig, RecognitionAudio) - Method in class com.google.adk.flows.llmflows.audio.VertexSpeechClient
Performs synchronous speech recognition on the given audio input.
register(String, Object) - Method in class com.google.adk.utils.ComponentRegistry
Registers an object with the given name.
registerLlm(String, LlmRegistry.LlmFactory) - Static method in class com.google.adk.models.LlmRegistry
Registers a factory for model names matching the given regex pattern.
registerPlugin(Plugin) - Method in class com.google.adk.plugins.PluginManager
Registers a new plugin.
remove(Object) - Method in class com.google.adk.sessions.State
 
remove(Object, Object) - Method in class com.google.adk.sessions.State
 
removeClientFunctionCallId(LlmRequest) - Static method in class com.google.adk.models.GeminiUtil
Removes client-side function call IDs from the request.
REMOVED - Static variable in class com.google.adk.sessions.State
Sentinel object to mark removed entries in the delta map.
removeStateByKey(String) - Method in class com.google.adk.events.EventActions
Removes a key from the state delta.
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_CONFIRMATION_FUNCTION_CALL_NAME - Static variable in class com.google.adk.flows.llmflows.Functions
The function call name for the request confirmation function.
REQUEST_PROCESSORS - Static variable in class com.google.adk.flows.llmflows.SingleFlow
 
requestConfirmation() - Method in class com.google.adk.tools.ToolContext
Requests confirmation for the given function call.
requestConfirmation(String) - Method in class com.google.adk.tools.ToolContext
Requests confirmation for the given function call.
requestConfirmation(String, Object) - Method in class com.google.adk.tools.ToolContext
Requests confirmation for the given function call.
RequestConfirmationLlmRequestProcessor - Class in com.google.adk.flows.llmflows
Handles tool confirmation information to build the LLM request.
RequestConfirmationLlmRequestProcessor() - Constructor for class com.google.adk.flows.llmflows.RequestConfirmationLlmRequestProcessor
 
requestedAuthConfigs() - Method in class com.google.adk.events.EventActions
 
requestedAuthConfigs(ConcurrentMap<String, ConcurrentMap<String, Object>>) - Method in class com.google.adk.events.EventActions.Builder
 
requestedToolConfirmations() - Method in class com.google.adk.events.EventActions
 
requestedToolConfirmations(Map<String, ToolConfirmation>) - Method in class com.google.adk.events.EventActions.Builder
 
RequestProcessingResult() - Constructor for class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
 
requestProcessor - Static variable in class com.google.adk.flows.llmflows.CodeExecution
 
RequestProcessor - Interface in com.google.adk.flows.llmflows
Interface for processing LLM requests.
RequestProcessor.RequestProcessingResult - Class in com.google.adk.flows.llmflows
Result of request processing.
requestProcessors - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
 
resetErrorCount(String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Resets the error count from the session state.
resolveAfterAgentCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
 
resolveAfterModelCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
 
resolveAfterToolCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
 
resolveAgentClass(String) - Static method in class com.google.adk.utils.ComponentRegistry
Resolves the agent class based on the agent class name from the configuration.
resolveAgentInstance(String) - Static method in class com.google.adk.utils.ComponentRegistry
Resolves an agent instance from the registry.
resolveAndSetCallback(List<BaseAgentConfig.CallbackRef>, Class<T>, String, Consumer<ImmutableList<T>>) - Static method in class com.google.adk.agents.ConfigAgentUtils
Resolves and sets callbacks from configuration.
resolveAndSetCommonAgentFields(BaseAgent.Builder<?>, BaseAgentConfig, String) - Static method in class com.google.adk.agents.ConfigAgentUtils
Configures the common properties of an agent builder from the configuration.
resolveBeforeAgentCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
 
resolveBeforeModelCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
 
resolveBeforeToolCallback(String) - Static method in class com.google.adk.utils.ComponentRegistry
 
resolvedModel() - Method in class com.google.adk.agents.LlmAgent
 
resolveSubAgents(List<BaseAgentConfig.AgentRefConfig>, String) - Static method in class com.google.adk.agents.ConfigAgentUtils
Resolves subagent configurations into actual BaseAgent instances.
resolveToolClass(String) - Static method in class com.google.adk.utils.ComponentRegistry
Resolves the tool class based on the tool class name from the configuration.
resolveToolInstance(String) - Static method in class com.google.adk.utils.ComponentRegistry
 
resolveToolsetClass(String) - Static method in class com.google.adk.utils.ComponentRegistry
Resolves a toolset class by name from the registry or by attempting to load it.
resolveToolsetInstance(String) - Static method in class com.google.adk.utils.ComponentRegistry
Resolves a toolset instance by name from the registry.
response(GenerateContentResponse) - Method in class com.google.adk.models.LlmResponse.Builder
 
RESPONSE_PROCESSORS - Static variable in class com.google.adk.flows.llmflows.SingleFlow
 
responseModalities() - Method in class com.google.adk.agents.RunConfig
 
ResponseProcessingResult() - Constructor for class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
 
responseProcessor - Static variable in class com.google.adk.flows.llmflows.CodeExecution
 
ResponseProcessor - Interface in com.google.adk.flows.llmflows
Interface for processing LLM responses.
ResponseProcessor.ResponseProcessingResult - Class in com.google.adk.flows.llmflows
Result of response processing.
responseProcessors - Variable in class com.google.adk.flows.llmflows.BaseLlmFlow
 
rootAgent() - Method in class com.google.adk.agents.BaseAgent
Returns the root agent for this agent by traversing up the parent chain.
rootAgent() - Method in class com.google.adk.apps.App
 
rootAgent(BaseAgent) - Method in class com.google.adk.apps.App.Builder
 
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(io.opentelemetry.context.Context, 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(SessionKey, Content) - Method in class com.google.adk.runner.Runner
runAsync(SessionKey, Content, RunConfig) - Method in class com.google.adk.runner.Runner
runAsync(SessionKey, Content, RunConfig, Map<String, Object>) - Method in class com.google.adk.runner.Runner
runAsync(Session, Content, RunConfig) - Method in class com.google.adk.runner.Runner
Deprecated, for removal: This API element is subject to removal in a future version.
Use runAsync with sessionId.
runAsync(Session, Content, RunConfig, Map<String, Object>) - Method in class com.google.adk.runner.Runner
Deprecated, for removal: This API element is subject to removal in a future version.
Use runAsync with sessionId.
runAsync(String, String, Content) - Method in class com.google.adk.runner.Runner
runAsync(String, String, Content, RunConfig) - Method in class com.google.adk.runner.Runner
runAsync(String, String, Content, RunConfig, Map<String, Object>) - Method in class com.google.adk.runner.Runner
Runs the agent with an invocation-based 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.computeruse.ComputerUseTool
 
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.
runAsyncImpl(Session, Content, RunConfig, Map<String, Object>) - Method in class com.google.adk.runner.Runner
Runs the agent asynchronously using a provided Session object.
runBeforeRunCallback(InvocationContext) - Method in class com.google.adk.plugins.PluginManager
 
runConfig() - Method in class com.google.adk.agents.InvocationContext
Returns the configuration for the current agent run.
runConfig(RunConfig) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the configuration for the current agent run.
RunConfig - Class in com.google.adk.agents
Configuration to modify an agent's LLM's underlying behavior.
RunConfig() - Constructor for class com.google.adk.agents.RunConfig
 
RunConfig.Builder - Class in com.google.adk.agents
Builder for RunConfig.
RunConfig.StreamingMode - Enum Class in com.google.adk.agents
Streaming mode for the runner.
RunConfig.ToolExecutionMode - Enum Class in com.google.adk.agents
Tool execution mode for the runner, when they are multiple tools requested (by the models or callbacks).
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(SessionKey, LiveRequestQueue, RunConfig) - Method in class com.google.adk.runner.Runner
Retrieves the session and runs the agent in live 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
Deprecated.
Use Runner.Builder instead.
Runner(BaseAgent, String, BaseArtifactService, BaseSessionService, BaseMemoryService) - Constructor for class com.google.adk.runner.Runner
Deprecated.
Use Runner.Builder instead.
Runner(BaseAgent, String, BaseArtifactService, BaseSessionService, BaseMemoryService, List<? extends Plugin>) - Constructor for class com.google.adk.runner.Runner
Deprecated.
Use Runner.Builder instead.
Runner(BaseAgent, String, BaseArtifactService, BaseSessionService, BaseMemoryService, List<? extends Plugin>, EventsCompactionConfig, ContextCacheConfig) - Constructor for class com.google.adk.runner.Runner
Deprecated.
Use Runner.Builder instead.
Runner.Builder - Class in com.google.adk.runner
Builder for Runner.
runOnUserMessageCallback(InvocationContext, Content) - Method in class com.google.adk.plugins.PluginManager
 
runWithSessionId(String, Content, RunConfig) - Method in class com.google.adk.runner.Runner
Deprecated, for removal: This API element is subject to removal in a future version.

S

sanitizeRequestForGeminiApi(LlmRequest) - Static method in class com.google.adk.models.GeminiUtil
Sanitizes the request to ensure it is compatible with the Gemini API backend.
saveAndReloadArtifact(SessionKey, String, Part) - Method in interface com.google.adk.artifacts.BaseArtifactService
Saves an artifact and returns it with fileData if available.
saveAndReloadArtifact(String, String, String, String, Part) - Method in interface com.google.adk.artifacts.BaseArtifactService
Saves an artifact and returns it with fileData if available.
saveAndReloadArtifact(String, String, String, String, Part) - Method in class com.google.adk.artifacts.GcsArtifactService
 
saveAndReloadArtifact(String, String, String, String, Part) - Method in class com.google.adk.artifacts.InMemoryArtifactService
 
saveArtifact(SessionKey, String, Part) - Method in interface com.google.adk.artifacts.BaseArtifactService
Saves an artifact.
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.
screenshot() - Method in class com.google.adk.tools.computeruse.ComputerState
 
screenshot(byte[]) - Method in class com.google.adk.tools.computeruse.ComputerState.Builder
 
screenSize() - Method in interface com.google.adk.tools.computeruse.BaseComputer
Returns the screen size of the environment.
scrollAt(int, int, String, int) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Scrolls at a specific x, y coordinate by magnitude.
scrollDocument(String) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Scrolls the entire webpage in a direction.
search() - Method in interface com.google.adk.tools.computeruse.BaseComputer
Jumps to search.
searchEngineId() - Method in class com.google.adk.tools.VertexAiSearchTool
 
searchEngineId(String) - Method in class com.google.adk.tools.VertexAiSearchTool.Builder
 
searchMemory(String) - Method in class com.google.adk.tools.ToolContext
Searches the memory of the current user.
searchMemory(String, String, String) - Method in interface com.google.adk.memory.BaseMemoryService
Searches for sessions that match the query asynchronously.
searchMemory(String, String, String) - Method in class com.google.adk.memory.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
self() - Method in class com.google.adk.agents.BaseAgent.Builder
This is a safe cast to the concrete builder type.
send(LiveRequest) - Method in class com.google.adk.agents.LiveRequestQueue
 
sendContent(Content) - Method in interface com.google.adk.models.BaseLlmConnection
Sends a user content to the model.
sendContent(Content) - Method in class com.google.adk.models.GeminiLlmConnection
 
sendHistory(List<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
 
SEQUENTIAL - Enum constant in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
 
SequentialAgent - Class in com.google.adk.agents
An agent that runs its sub-agents sequentially.
SequentialAgent.Builder - Class in com.google.adk.agents
Builder for SequentialAgent.
SequentialAgentConfig - Class in com.google.adk.agents
Configuration for SequentialAgent.
SequentialAgentConfig() - Constructor for class com.google.adk.agents.SequentialAgentConfig
 
serverParams() - Method in class com.google.adk.tools.mcp.StdioConnectionParameters
 
serverParams(StdioServerParameters) - Method in class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
 
serviceName - Variable in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient.ConnectionDetails
 
session() - Method in class com.google.adk.agents.InvocationContext
Returns the session associated with this invocation.
session(Session) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the session associated with this invocation.
Session - Class in com.google.adk.sessions
A Session object that encapsulates the State and Events of a session.
Session.Builder - Class in com.google.adk.sessions
Builder for Session.
SessionException - Exception in com.google.adk.sessions
Represents a general error that occurred during session management operations.
SessionException(String) - Constructor for exception com.google.adk.sessions.SessionException
 
SessionException(String, Throwable) - Constructor for exception com.google.adk.sessions.SessionException
 
SessionException(Throwable) - Constructor for exception com.google.adk.sessions.SessionException
 
sessionId() - Method in class com.google.adk.agents.ReadonlyContext
Returns the session ID.
sessionIds() - Method in class com.google.adk.sessions.ListSessionsResponse
 
sessionKey() - Method in class com.google.adk.sessions.Session
Returns the session key.
sessionKey(SessionKey) - Method in class com.google.adk.sessions.Session.Builder
Sets the session key.
SessionKey - Class in com.google.adk.sessions
Key for a session, composed of appName, userId and session id.
SessionKey(String, String, String) - Constructor for class com.google.adk.sessions.SessionKey
 
SessionNotFoundException - Exception in com.google.adk.sessions
Indicates that a requested session could not be found.
SessionNotFoundException(String) - Constructor for exception com.google.adk.sessions.SessionNotFoundException
 
SessionNotFoundException(String, Throwable) - Constructor for exception 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
Returns the session service for managing session state.
sessionService() - Method in class com.google.adk.runner.Runner
 
sessionService(BaseSessionService) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the session service for managing session state.
sessionService(BaseSessionService) - Method in class com.google.adk.runner.Runner.Builder
 
SessionUtils - Class in com.google.adk.sessions
Utility functions for session service.
SessionUtils() - Constructor for class com.google.adk.sessions.SessionUtils
 
setActions(EventActions) - Method in class com.google.adk.events.Event
 
setActions(EventActions) - Method in class com.google.adk.tools.ToolContext
 
setAdditionalProperty(String, Object) - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
 
setAfterAgentCallbacks(List<BaseAgentConfig.CallbackRef>) - Method in class com.google.adk.agents.BaseAgentConfig
 
setAfterModelCallbacks(List<BaseAgentConfig.CallbackRef>) - Method in class com.google.adk.agents.LlmAgentConfig
 
setAfterToolCallbacks(List<BaseAgentConfig.CallbackRef>) - Method in class com.google.adk.agents.LlmAgentConfig
 
setAgentClass(String) - Method in class com.google.adk.agents.BaseAgentConfig
 
setArgs(BaseTool.ToolArgsConfig) - Method in class com.google.adk.tools.BaseTool.ToolConfig
 
setArtifactDelta(Map<String, Integer>) - Method in class com.google.adk.events.EventActions
 
setAuthor(String) - Method in class com.google.adk.events.Event
 
setAutoCreateSession(boolean) - Method in class com.google.adk.agents.RunConfig.Builder
 
setAvgLogprobs(Double) - Method in class com.google.adk.events.Event
 
setBaseAgentCallbacks(BaseAgentConfig, Consumer<ImmutableList<Callbacks.BeforeAgentCallbackBase>>, Consumer<ImmutableList<Callbacks.AfterAgentCallbackBase>>) - Static method in class com.google.adk.agents.ConfigAgentUtils
Sets the common agent callbacks (before/after agent) from the config to the builder setters.
setBeforeAgentCallbacks(List<BaseAgentConfig.CallbackRef>) - Method in class com.google.adk.agents.BaseAgentConfig
 
setBeforeModelCallbacks(List<BaseAgentConfig.CallbackRef>) - Method in class com.google.adk.agents.LlmAgentConfig
 
setBeforeToolCallbacks(List<BaseAgentConfig.CallbackRef>) - Method in class com.google.adk.agents.LlmAgentConfig
 
setCode(String) - Method in class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
 
setCompaction(EventCompaction) - Method in class com.google.adk.events.EventActions
 
setConfigPath(String) - Method in class com.google.adk.agents.BaseAgentConfig.AgentRefConfig
 
setContent(Content) - Method in class com.google.adk.events.Event
 
setCredentials(GoogleCredentials) - Method in class com.google.adk.models.VertexCredentials.Builder
 
setCustomMetadata(String, Object) - Method in class com.google.adk.tools.BaseTool
Sets custom metadata to the tool associated with a key.
setCustomMetadata(List<CustomMetadata>) - Method in class com.google.adk.events.Event
 
setDeletedArtifactIds(Set<String>) - Method in class com.google.adk.events.EventActions
 
setDescription(String) - Method in class com.google.adk.agents.BaseAgentConfig
 
setDescription(String) - Method in class com.google.adk.tools.ExampleTool.Builder
 
setDisallowTransferToParent(Boolean) - Method in class com.google.adk.agents.LlmAgentConfig
 
setDisallowTransferToPeers(Boolean) - Method in class com.google.adk.agents.LlmAgentConfig
 
setEndInvocation(boolean) - Method in class com.google.adk.agents.InvocationContext
Sets whether this invocation should be ended.
setEndInvocation(boolean) - Method in class com.google.adk.events.EventActions
Deprecated.
setEndOfAgent(boolean) - Method in class com.google.adk.events.EventActions
 
setErrorCode(FinishReason) - Method in class com.google.adk.events.Event
 
setErrorMessage(String) - Method in class com.google.adk.events.Event
 
setEscalate(Boolean) - Method in class com.google.adk.events.EventActions
 
setExampleProvider(BaseExampleProvider) - Method in class com.google.adk.tools.ExampleTool.Builder
 
setExecutionId(String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Sets the session ID for the code executor.
setFinishReason(FinishReason) - Method in class com.google.adk.events.Event
 
setFinishReason(Optional<FinishReason>) - Method in class com.google.adk.events.Event
Deprecated.
setGenerateContentConfig(GenerateContentConfig) - Method in class com.google.adk.agents.LlmAgentConfig
 
setGroundingMetadata(GroundingMetadata) - Method in class com.google.adk.events.Event
 
setId(String) - Method in class com.google.adk.events.Event
 
setIncludeContents(LlmAgent.IncludeContents) - Method in class com.google.adk.agents.LlmAgentConfig
 
setInputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.adk.agents.RunConfig.Builder
 
setInstance(ComponentRegistry) - Static method in class com.google.adk.utils.ComponentRegistry
Updates the global singleton instance with a new ComponentRegistry.
setInstruction(String) - Method in class com.google.adk.agents.LlmAgentConfig
 
setInterrupted(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
 
setLongRunningToolIds(Set<String>) - Method in class com.google.adk.events.Event
 
setMaxIterations(Integer) - Method in class com.google.adk.agents.LoopAgentConfig
 
setMaxLlmCalls(int) - Method in class com.google.adk.agents.RunConfig.Builder
 
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
 
setModelVersion(String) - Method in class com.google.adk.events.Event
 
setName(String) - Method in class com.google.adk.agents.BaseAgentConfig.CallbackRef
 
setName(String) - Method in class com.google.adk.agents.BaseAgentConfig
 
setName(String) - Method in class com.google.adk.tools.BaseTool.ToolConfig
 
setName(String) - Method in class com.google.adk.tools.ExampleTool.Builder
 
setOutputAudioTranscription(AudioTranscriptionConfig) - Method in class com.google.adk.agents.RunConfig.Builder
 
setOutputKey(String) - Method in class com.google.adk.agents.LlmAgentConfig
 
setParent(Context) - Method in class com.google.adk.telemetry.Tracing.TracerProvider
Sets an explicit parent context for the span created by this transformer.
setPartial(Boolean) - Method in class com.google.adk.events.Event
 
setProject(String) - Method in class com.google.adk.models.VertexCredentials.Builder
 
setRequestedAuthConfigs(ConcurrentMap<String, ConcurrentMap<String, Object>>) - Method in class com.google.adk.events.EventActions
 
setRequestedToolConfirmations(Map<String, ToolConfirmation>) - 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
 
setSpeechConfig(SpeechConfig) - Method in class com.google.adk.agents.RunConfig.Builder
 
setSseServerParams(SseServerParameters) - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
setStateDelta(ConcurrentMap<String, Object>) - Method in class com.google.adk.events.EventActions
Deprecated.
setStdioConnectionParams(StdioConnectionParameters) - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
setStdioServerParams(StdioServerParameters) - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
setStreamingMode(RunConfig.StreamingMode) - Method in class com.google.adk.agents.RunConfig.Builder
 
setSubAgents(List<BaseAgentConfig.AgentRefConfig>) - Method in class com.google.adk.agents.BaseAgentConfig
 
setTimestamp(long) - Method in class com.google.adk.events.Event
 
setToolExecutionMode(RunConfig.ToolExecutionMode) - Method in class com.google.adk.agents.RunConfig.Builder
 
setToolFilter(List<String>) - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
setTools(List<BaseTool.ToolConfig>) - Method in class com.google.adk.agents.LlmAgentConfig
 
setTracerForTesting(Tracer) - Static method in class com.google.adk.telemetry.Tracing
Sets the OpenTelemetry instance to be used for tracing.
setTransferToAgent(String) - Method in class com.google.adk.events.EventActions
 
setTurnComplete(Boolean) - Method in class com.google.adk.events.Event
 
setUsageMetadata(GenerateContentResponseUsageMetadata) - 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.
shouldEmitAccumulatedText(LlmResponse) - Static method in class com.google.adk.models.GeminiUtil
Determines if accumulated text should be emitted based on the current LlmResponse.
SingleFlow - Class in com.google.adk.flows.llmflows
Basic LLM flow with fixed request and response processors.
SingleFlow() - Constructor for class com.google.adk.flows.llmflows.SingleFlow
 
SingleFlow(List<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
 
size() - Method in class com.google.adk.tools.BaseTool.ToolArgsConfig
 
skipSummarization() - Method in class com.google.adk.events.EventActions
 
skipSummarization(boolean) - Method in class com.google.adk.events.EventActions.Builder
 
SlidingWindowEventCompactor - Class in com.google.adk.summarizer
This class performs events compaction in a sliding window fashion based on the EventsCompactionConfig.
SlidingWindowEventCompactor(EventsCompactionConfig) - Constructor for class com.google.adk.summarizer.SlidingWindowEventCompactor
 
SpeechClientInterface - Interface in com.google.adk.flows.llmflows.audio
Interface for a speech-to-text client.
speechConfig() - Method in class com.google.adk.agents.RunConfig
 
SSE - Enum constant in enum class com.google.adk.agents.RunConfig.StreamingMode
 
sseEndpoint() - Method in class com.google.adk.tools.mcp.SseServerParameters
The endpoint to connect to on the SSE server.
sseEndpoint(String) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
Sets the endpoint to connect to on the SSE server.
sseReadTimeout() - Method in class com.google.adk.tools.mcp.SseServerParameters
The timeout for reading data from the SSE stream.
sseReadTimeout(Duration) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
Sets the timeout for reading data from the SSE stream.
SseServerParameters - Class in com.google.adk.tools.mcp
Parameters for establishing a MCP Server-Sent Events (SSE) connection.
SseServerParameters() - Constructor for class com.google.adk.tools.mcp.SseServerParameters
 
SseServerParameters.Builder - Class in com.google.adk.tools.mcp
Builder for SseServerParameters.
sseServerParams() - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
startTimestamp() - Method in class com.google.adk.events.EventCompaction
 
startTimestamp(long) - Method in class com.google.adk.events.EventCompaction.Builder
 
state() - Method in class com.google.adk.agents.CallbackContext
Returns the delta-aware state of the current callback.
state() - Method in class com.google.adk.agents.ReadonlyContext
Returns an unmodifiable view of the state of the session.
state() - Method in class com.google.adk.sessions.Session
 
state(State) - Method in class com.google.adk.sessions.Session.Builder
 
state(ConcurrentMap<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(Map<String, Object>) - Constructor for class com.google.adk.sessions.State
 
State(Map<String, Object>, Map<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
 
stateful() - Method in class com.google.adk.codeexecutors.BaseCodeExecutor
Whether the code executor is stateful.
stateful() - Method in class com.google.adk.codeexecutors.ContainerCodeExecutor
 
Static(String) - Constructor for record class com.google.adk.agents.Instruction.Static
Creates an instance of a Static record class.
stderr() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
The standard error of the code execution.
stderr(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
 
StdioConnectionParameters - Class in com.google.adk.tools.mcp
 
StdioConnectionParameters.Builder - Class in com.google.adk.tools.mcp
 
stdioConnectionParams() - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
StdioServerParameters - Class in com.google.adk.tools.mcp
Parameters for establishing a MCP stdio connection.
StdioServerParameters() - Constructor for class com.google.adk.tools.mcp.StdioServerParameters
 
StdioServerParameters.Builder - Class in com.google.adk.tools.mcp
stdioServerParams() - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
stdout() - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult
The standard output of the code execution.
stdout(String) - Method in class com.google.adk.codeexecutors.CodeExecutionUtils.CodeExecutionResult.Builder
 
stream() - Method in class com.google.adk.agents.ActiveStreamingTool
Returns the active stream of this streaming tool.
stream(LiveRequestQueue) - Method in class com.google.adk.agents.ActiveStreamingTool
Sets the active stream of this streaming tool.
StreamableHttpServerParameters - Class in com.google.adk.tools.mcp
Server parameters for Streamable HTTP client transport.
StreamableHttpServerParameters(String, Map<String, String>, Duration, Duration, Boolean) - Constructor for class com.google.adk.tools.mcp.StreamableHttpServerParameters
Server parameters for Streamable HTTP client transport.
StreamableHttpServerParameters.Builder - Class in com.google.adk.tools.mcp
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.
stripThoughts(List<Content>) - Static method in class com.google.adk.models.GeminiUtil
Removes any `Part` that contains only a `thought` from the content list.
subAgents - Variable in class com.google.adk.agents.BaseAgent.Builder
 
subAgents() - Method in class com.google.adk.agents.BaseAgent
 
subAgents() - Method in class com.google.adk.agents.BaseAgentConfig
 
subAgents(BaseAgent...) - Method in class com.google.adk.agents.BaseAgent.Builder
 
subAgents(List<? extends BaseAgent>) - Method in class com.google.adk.agents.BaseAgent.Builder
 
summarizeEvents(List<Event>) - Method in interface com.google.adk.summarizer.BaseEventSummarizer
Compact a list of events into a single event.
summarizeEvents(List<Event>) - Method in class com.google.adk.summarizer.LlmEventSummarizer
 
summarizer() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
Returns the value of the summarizer record component.
summarizer(BaseEventSummarizer) - Method in class com.google.adk.summarizer.EventsCompactionConfig.Builder
 

T

TailRetentionEventCompactor - Class in com.google.adk.summarizer
This class performs event compaction by retaining the tail of the event stream.
TailRetentionEventCompactor(BaseEventSummarizer, int, int) - Constructor for class com.google.adk.summarizer.TailRetentionEventCompactor
 
task() - Method in class com.google.adk.agents.ActiveStreamingTool
Returns the active task of this streaming tool.
task(Disposable) - Method in class com.google.adk.agents.ActiveStreamingTool
Sets the active task of this streaming tool.
TEMP_PREFIX - Static variable in class com.google.adk.sessions.State
 
terminateOnClose() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
 
terminateOnClose(boolean) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
 
test(BaseTool, ReadonlyContext) - Method in interface com.google.adk.tools.ToolPredicate
Decides if the given tool is selected.
test(BaseTool, Optional<ReadonlyContext>) - Method in class com.google.adk.tools.NamedToolPredicate
 
test(BaseTool, Optional<ReadonlyContext>) - Method in interface com.google.adk.tools.ToolPredicate
timeout() - Method in class com.google.adk.tools.mcp.SseServerParameters
The timeout for the initial connection attempt.
timeout() - Method in class com.google.adk.tools.mcp.StdioConnectionParameters
 
timeout() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
 
timeout(float) - Method in class com.google.adk.tools.mcp.StdioConnectionParameters.Builder
 
timeout(Duration) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
Sets the timeout for the initial connection attempt.
timeout(Duration) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
 
timeoutDuration() - Method in class com.google.adk.tools.mcp.StdioConnectionParameters
 
timestamp() - Method in class com.google.adk.events.Event
The timestamp of the event.
timestamp() - Method in class com.google.adk.memory.MemoryEntry
Returns the timestamp when the original content of this memory happened, or null if not set.
timestamp(long) - Method in class com.google.adk.events.Event.Builder
 
timestamp(String) - Method in class com.google.adk.memory.MemoryEntry.Builder
Sets the timestamp when the original content of this memory happened.
timestamp(Instant) - Method in class com.google.adk.memory.MemoryEntry.Builder
A convenience method to set the timestamp from an Instant object, formatted as an ISO 8601 string.
toBuilder() - Method in class com.google.adk.agents.InvocationContext
Returns a InvocationContext.Builder initialized with the values of this instance.
toBuilder() - Method in class com.google.adk.agents.LiveRequest
 
toBuilder() - Method in class com.google.adk.agents.RunConfig
 
toBuilder() - Method in class com.google.adk.events.Event
Creates a builder pre-filled with this event's values.
toBuilder() - Method in class com.google.adk.events.EventActions
 
toBuilder() - Method in class com.google.adk.events.ToolConfirmation
 
toBuilder() - Method in class com.google.adk.examples.Example
 
toBuilder() - Method in class com.google.adk.memory.MemoryEntry
Creates a new builder with a copy of this entry's values.
toBuilder() - Method in class com.google.adk.models.LlmRequest
 
toBuilder() - Method in class com.google.adk.models.LlmResponse
 
toBuilder() - Method in class com.google.adk.models.Model
 
toBuilder() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
 
toBuilder() - Method in class com.google.adk.tools.ToolContext
 
toGenerateContentResponseUsageMetadata(UsageMetadata) - Static method in class com.google.adk.models.GeminiUtil
 
toJson() - Method in class com.google.adk.JsonBaseModel
Serializes this object (i.e., the ObjectMappper instance used by ADK) to a Json string.
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.
tokenThreshold() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
Returns the value of the tokenThreshold record component.
tokenThreshold(Integer) - Method in class com.google.adk.summarizer.EventsCompactionConfig.Builder
 
TOOL_CALL_SECURITY_STATES - Static variable in class com.google.adk.flows.llmflows.Functions
Session state key for storing the security policy outcomes for tool calls.
ToolArgsConfig() - Constructor for class com.google.adk.tools.BaseTool.ToolArgsConfig
 
ToolConfig() - Constructor for class com.google.adk.tools.BaseTool.ToolConfig
 
ToolConfig(String, BaseTool.ToolArgsConfig) - Constructor for class com.google.adk.tools.BaseTool.ToolConfig
 
toolConfirmation() - Method in class com.google.adk.tools.ToolContext
 
toolConfirmation(ToolConfirmation) - Method in class com.google.adk.tools.ToolContext.Builder
 
toolConfirmation(ToolConfirmation) - Method in class com.google.adk.tools.ToolContext
 
ToolConfirmation - Class in com.google.adk.events
Represents a tool confirmation configuration.
ToolConfirmation() - Constructor for class com.google.adk.events.ToolConfirmation
 
ToolConfirmation.Builder - Class in com.google.adk.events
Builder for ToolConfirmation.
ToolContext - Class in com.google.adk.tools
ToolContext object provides a structured context for executing tools or functions.
ToolContext.Builder - Class in com.google.adk.tools
Builder for ToolContext.
toolExecutionMode() - Method in class com.google.adk.agents.RunConfig
 
toolFilter() - Method in class com.google.adk.tools.mcp.McpToolset.McpToolsetConfig
 
toolFilter(ToolPredicate) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
 
toolFilter(List<String>) - Method in class com.google.adk.tools.mcp.McpAsyncToolset.Builder
 
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.agents.LlmAgentConfig
 
tools() - Method in class com.google.adk.models.LlmRequest
Returns a map of tools available to the LLM.
tools(Object...) - Method in class com.google.adk.agents.LlmAgent.Builder
 
tools(List<?>) - Method in class com.google.adk.agents.LlmAgent.Builder
 
toolsets() - Method in class com.google.adk.agents.LlmAgent
 
toolsUnion() - Method in class com.google.adk.agents.LlmAgent
 
toServerParameters() - Method in class com.google.adk.tools.mcp.StdioServerParameters
Converts this to a ServerParameters instance.
toString() - Method in record class com.google.adk.agents.ContextCacheConfig
Returns a string representation of this record class.
toString() - Method in record class com.google.adk.agents.Instruction.Provider
Returns a string representation of this record class.
toString() - Method in record class com.google.adk.agents.Instruction.Static
Returns a string representation of this record class.
toString() - Method in class com.google.adk.events.Event
 
toString() - Method in class com.google.adk.sessions.Session
 
toString() - Method in class com.google.adk.sessions.SessionKey
 
toString() - Method in record class com.google.adk.summarizer.EventsCompactionConfig
Returns a string representation of this record class.
toString() - Method in record class com.google.adk.tools.LoadMemoryResponse
Returns a string representation of this record class.
toString() - Method in class com.google.adk.tools.ToolContext
 
trace(String) - Static method in class com.google.adk.telemetry.Tracing
Returns a transformer that traces the execution of an RxJava stream.
traceAgent(String, String, String, InvocationContext) - Static method in class com.google.adk.telemetry.Tracing
Returns a transformer that traces an agent invocation.
traceAgentInvocation(Span, String, String, InvocationContext) - Static method in class com.google.adk.telemetry.Tracing
Sets span attributes immediately available on agent invocation according to OTEL semconv version 1.37.
traceCallLlm(Span, InvocationContext, String, LlmRequest, LlmResponse) - Static method in class com.google.adk.telemetry.Tracing
Traces a call to the LLM.
traceFlowable(Context, Span, Supplier<Flowable<T>>) - Static method in class com.google.adk.telemetry.Tracing
Executes a Flowable with an OpenTelemetry Scope active for its entire lifecycle.
traceSendData(InvocationContext, String, List<Content>) - Static method in class com.google.adk.telemetry.Tracing
Traces the sending of data (history or new content) to the agent/model.
traceToolCall(String, String, String, Map<String, Object>) - Static method in class com.google.adk.telemetry.Tracing
Traces tool call arguments.
traceToolResponse(String, Event) - Static method in class com.google.adk.telemetry.Tracing
Traces tool response event.
Tracing - Class in com.google.adk.telemetry
Utility class for capturing and reporting telemetry data within the ADK.
Tracing.ContextTransformer<T> - Class in com.google.adk.telemetry
A transformer that re-activates a given context for the duration of the stream's subscription.
Tracing.TracerProvider<T> - Class in com.google.adk.telemetry
A transformer that manages an OpenTelemetry span and scope for RxJava streams.
transferToAgent() - Method in class com.google.adk.events.EventActions
 
transferToAgent() - Method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
The agent to transfer to.
transferToAgent(String) - Method in class com.google.adk.events.EventActions.Builder
 
transferToAgent(String, ToolContext) - Static method in class com.google.adk.flows.llmflows.AgentTransfer
 
ttl() - Method in record class com.google.adk.agents.ContextCacheConfig
Returns the value of the ttl record component.
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
 
typeTextAt(int, int, String, Boolean, Boolean) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Types text at a specific x, y coordinate.

U

updateCodeExecutionResult(String, String, String, String) - Method in class com.google.adk.codeexecutors.CodeExecutorContext
Updates the code execution result.
updatedRequest() - Method in class com.google.adk.flows.llmflows.RequestProcessor.RequestProcessingResult
Updated LLM request.
updatedResponse() - Method in class com.google.adk.flows.llmflows.ResponseProcessor.ResponseProcessingResult
Updated LLM response.
updateOperation(String, String, String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
updateOperationRequest(String) - Static method in class com.google.adk.tools.applicationintegrationtoolset.ConnectionsClient
 
url() - Method in class com.google.adk.tools.computeruse.ComputerState
 
url() - Method in class com.google.adk.tools.mcp.SseServerParameters
The URL of the SSE server.
url() - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters
 
url(String) - Method in class com.google.adk.tools.computeruse.ComputerState.Builder
 
url(String) - Method in class com.google.adk.tools.mcp.SseServerParameters.Builder
Sets the URL of the SSE server.
url(String) - Method in class com.google.adk.tools.mcp.StreamableHttpServerParameters.Builder
 
UrlContextTool - Class in com.google.adk.tools
A built-in tool that is automatically invoked by Gemini 2 and 3 models to retrieve information from the given URLs.
UrlContextTool() - Constructor for class com.google.adk.tools.UrlContextTool
 
usageMetadata() - Method in class com.google.adk.events.Event
 
usageMetadata() - Method in class com.google.adk.models.LlmResponse
Usage metadata about the response(s).
usageMetadata(GenerateContentResponseUsageMetadata) - Method in class com.google.adk.events.Event.Builder
 
usageMetadata(GenerateContentResponseUsageMetadata) - Method in class com.google.adk.models.LlmResponse.Builder
 
USER_PREFIX - Static variable in class com.google.adk.sessions.State
 
userContent() - Method in class com.google.adk.agents.InvocationContext
Returns the user content that triggered this invocation, if any.
userContent() - Method in class com.google.adk.agents.ReadonlyContext
Returns the user content that initiated this invocation.
userContent(Content) - Method in class com.google.adk.agents.InvocationContext.Builder
Sets the user content that triggered this invocation.
userId() - Method in class com.google.adk.agents.InvocationContext
Returns the user ID associated with the session.
userId() - Method in class com.google.adk.agents.ReadonlyContext
Returns the user ID.
userId() - Method in class com.google.adk.sessions.Session
 
userId() - Method in class com.google.adk.sessions.SessionKey
 
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.
valueOf(String) - Static method in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class com.google.adk.tools.computeruse.ComputerEnvironment
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() - Static method in enum class com.google.adk.agents.RunConfig.ToolExecutionMode
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Method in class com.google.adk.sessions.State
 
values() - Static method in enum class com.google.adk.tools.computeruse.ComputerEnvironment
Returns an array containing the constants of this enum class, in the order they are declared.
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.
VertexAiCodeExecutor - Class in com.google.adk.codeexecutors
A code executor that uses Vertex Code Interpreter Extension to execute code.
VertexAiCodeExecutor(String) - Constructor for class com.google.adk.codeexecutors.VertexAiCodeExecutor
Initializes the VertexAiCodeExecutor.
VertexAiRagRetrieval - Class in com.google.adk.tools.retrieval
A retrieval tool that fetches context from Vertex AI RAG.
VertexAiRagRetrieval(String, String, VertexRagServiceClient, String, List<RetrieveContextsRequest.VertexRagStore.RagResource>, Double) - Constructor for class com.google.adk.tools.retrieval.VertexAiRagRetrieval
 
VertexAiSearchAgentTool - Class in com.google.adk.tools
A tool that wraps a sub-agent that only uses vertex_ai_search tool.
VertexAiSearchAgentTool(LlmAgent) - Constructor for class com.google.adk.tools.VertexAiSearchAgentTool
 
VertexAiSearchTool - Class in com.google.adk.tools
A built-in tool using Vertex AI Search.
VertexAiSearchTool.Builder - Class in com.google.adk.tools
Builder for VertexAiSearchTool.
VertexAiSessionService - Class in com.google.adk.sessions
Connects to the managed Vertex AI Session Service.
VertexAiSessionService() - Constructor for class com.google.adk.sessions.VertexAiSessionService
Creates a session service with default configuration.
VertexAiSessionService(String, String, GoogleCredentials, HttpOptions) - Constructor for class com.google.adk.sessions.VertexAiSessionService
Creates a session service with specified project, location, credentials, and HTTP options.
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.
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

wait(Duration) - Method in interface com.google.adk.tools.computeruse.BaseComputer
Waits for specified duration.
withContext(Context) - Static method in class com.google.adk.telemetry.Tracing
Returns a transformer that re-activates a given context for the duration of the stream's subscription.
wrapCallResult(ObjectMapper, String, McpSchema.CallToolResult) - Static method in class com.google.adk.tools.mcp.AbstractMcpTool
 
A B C D E F G H I J K L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form