Uses of Class
com.google.adk.events.Event
Packages that use Event
Package
Description
-
Uses of Event in com.google.adk
Methods in com.google.adk with parameters of type EventModifier and TypeMethodDescriptionstatic void
Telemetry.traceToolResponse
(InvocationContext invocationContext, String eventId, Event functionResponseEvent) Traces tool response event. -
Uses of Event in com.google.adk.agents
Methods in com.google.adk.agents that return types with arguments of type EventModifier and TypeMethodDescriptionReadonlyContext.events()
Returns an unmodifiable view of the events of the session.io.reactivex.rxjava3.core.Flowable
<Event> BaseAgent.runAsync
(InvocationContext parentContext) Runs the agent asynchronously.protected abstract io.reactivex.rxjava3.core.Flowable
<Event> BaseAgent.runAsyncImpl
(InvocationContext invocationContext) Agent-specific asynchronous logic.protected io.reactivex.rxjava3.core.Flowable
<Event> LlmAgent.runAsyncImpl
(InvocationContext invocationContext) protected io.reactivex.rxjava3.core.Flowable
<Event> LoopAgent.runAsyncImpl
(InvocationContext invocationContext) protected io.reactivex.rxjava3.core.Flowable
<Event> ParallelAgent.runAsyncImpl
(InvocationContext invocationContext) Runs sub-agents in parallel and emits their events.protected io.reactivex.rxjava3.core.Flowable
<Event> SequentialAgent.runAsyncImpl
(InvocationContext invocationContext) Runs sub-agents sequentially.io.reactivex.rxjava3.core.Flowable
<Event> BaseAgent.runLive
(InvocationContext parentContext) Runs the agent synchronously.protected abstract io.reactivex.rxjava3.core.Flowable
<Event> BaseAgent.runLiveImpl
(InvocationContext invocationContext) Agent-specific synchronous logic.protected io.reactivex.rxjava3.core.Flowable
<Event> LlmAgent.runLiveImpl
(InvocationContext invocationContext) protected io.reactivex.rxjava3.core.Flowable
<Event> LoopAgent.runLiveImpl
(InvocationContext invocationContext) protected io.reactivex.rxjava3.core.Flowable
<Event> ParallelAgent.runLiveImpl
(InvocationContext invocationContext) Not supported for ParallelAgent.protected io.reactivex.rxjava3.core.Flowable
<Event> SequentialAgent.runLiveImpl
(InvocationContext invocationContext) Runs sub-agents sequentially in live mode. -
Uses of Event in com.google.adk.events
Classes in com.google.adk.events that implement interfaces with type arguments of type EventMethods in com.google.adk.events that return EventModifier and TypeMethodDescriptionEvent.Builder.build()
static Event
Parses an event from a JSON string.Methods in com.google.adk.events that return types with arguments of type EventModifier and TypeMethodDescriptionEventStream.iterator()
Returns an iterator that fetches events lazily.Constructor parameters in com.google.adk.events with type arguments of type EventModifierConstructorDescriptionEventStream
(Supplier<Event> eventSupplier) Constructs a new event stream. -
Uses of Event in com.google.adk.flows
Methods in com.google.adk.flows that return types with arguments of type EventModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable
<Event> BaseFlow.run
(InvocationContext invocationContext) Run this flow.default io.reactivex.rxjava3.core.Flowable
<Event> BaseFlow.runLive
(InvocationContext invocationContext) -
Uses of Event in com.google.adk.flows.llmflows
Methods in com.google.adk.flows.llmflows that return types with arguments of type EventModifier and TypeMethodDescriptionRequestProcessor.RequestProcessingResult.events()
ResponseProcessor.ResponseProcessingResult.events()
static io.reactivex.rxjava3.core.Maybe
<Event> Functions.handleFunctionCalls
(InvocationContext invocationContext, Event functionCallEvent, Map<String, BaseTool> tools) io.reactivex.rxjava3.core.Flowable
<Event> BaseLlmFlow.run
(InvocationContext invocationContext) Executes the full LLM flow by repeatedly callingBaseLlmFlow.runOneStep(com.google.adk.agents.InvocationContext)
until a final response is produced.io.reactivex.rxjava3.core.Flowable
<Event> BaseLlmFlow.runLive
(InvocationContext invocationContext) Executes the LLM flow in streaming mode.Methods in com.google.adk.flows.llmflows with parameters of type EventModifier and TypeMethodDescriptionstatic io.reactivex.rxjava3.core.Maybe
<Event> Functions.handleFunctionCalls
(InvocationContext invocationContext, Event functionCallEvent, Map<String, BaseTool> tools) static void
Functions.populateClientFunctionCallId
(Event modelResponseEvent) Populates missing function call IDs in the provided event's content.protected io.reactivex.rxjava3.core.Single
<ResponseProcessor.ResponseProcessingResult> BaseLlmFlow.postprocess
(InvocationContext context, Event baseEventForLlmResponse, LlmRequest llmRequest, LlmResponse llmResponse) Post-processes the LLM response after receiving it from the LLM.Method parameters in com.google.adk.flows.llmflows with type arguments of type EventModifier and TypeMethodDescriptionRequestProcessor.RequestProcessingResult.create
(LlmRequest updatedRequest, Iterable<Event> events) ResponseProcessor.ResponseProcessingResult.create
(LlmResponse updatedResponse, Iterable<Event> events, Optional<String> transferToAgent) -
Uses of Event in com.google.adk.runner
Methods in com.google.adk.runner that return types with arguments of type EventModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable
<Event> Runs the agent in the standard mode using a provided Session object.io.reactivex.rxjava3.core.Flowable
<Event> Asynchronously runs the agent for a given user and session, processing a new message and using a defaultRunConfig
.io.reactivex.rxjava3.core.Flowable
<Event> Runner.runAsync
(String userId, String sessionId, com.google.genai.types.Content newMessage, RunConfig runConfig) Runs the agent in the standard mode.io.reactivex.rxjava3.core.Flowable
<Event> Runner.runLive
(Session session, LiveRequestQueue liveRequestQueue, RunConfig runConfig) Runs the agent in live mode, appending generated events to the session.io.reactivex.rxjava3.core.Flowable
<Event> Runner.runLive
(String userId, String sessionId, LiveRequestQueue liveRequestQueue, RunConfig runConfig) Retrieves the session and runs the agent in live mode.io.reactivex.rxjava3.core.Flowable
<Event> Runner.runWithSessionId
(String sessionId, com.google.genai.types.Content newMessage, RunConfig runConfig) Runs the agent asynchronously with a default user ID. -
Uses of Event in com.google.adk.sessions
Methods in com.google.adk.sessions that return types with arguments of type EventModifier and TypeMethodDescriptiondefault io.reactivex.rxjava3.core.Single
<Event> BaseSessionService.appendEvent
(Session session, Event event) Appends an event to an in-memory session object and updates the session's state based on the event's state delta, if applicable.io.reactivex.rxjava3.core.Single
<Event> InMemorySessionService.appendEvent
(Session session, Event event) io.reactivex.rxjava3.core.Single
<Event> VertexAiSessionService.appendEvent
(Session session, Event event) abstract com.google.common.collect.ImmutableList
<Event> ListEventsResponse.events()
Session.events()
Methods in com.google.adk.sessions with parameters of type EventModifier and TypeMethodDescriptiondefault io.reactivex.rxjava3.core.Single
<Event> BaseSessionService.appendEvent
(Session session, Event event) Appends an event to an in-memory session object and updates the session's state based on the event's state delta, if applicable.io.reactivex.rxjava3.core.Single
<Event> InMemorySessionService.appendEvent
(Session session, Event event) io.reactivex.rxjava3.core.Single
<Event> VertexAiSessionService.appendEvent
(Session session, Event event) Method parameters in com.google.adk.sessions with type arguments of type Event -
Uses of Event in com.google.adk.web
Methods in com.google.adk.web that return types with arguments of type EventModifier and TypeMethodDescriptionAdkWebServer.AgentController.agentRun
(AdkWebServer.AgentRunRequest request) Executes a non-streaming agent run for a given session and message.