Uses of Annotation Interface
com.google.adk.annotations.Experimental
Packages that use Experimental
Package
Description
-
Uses of Experimental in com.google.adk.agents
Methods in com.google.adk.agents with annotations of type ExperimentalModifier and TypeMethodDescriptionInvocationContext.agentStates()Returns an unmodifiable view of the per-agent resumability checkpoint states for this invocation, keyed by agent name.InvocationContext.endOfAgents()Returns an unmodifiable view of the per-agent end-of-agent flags for this invocation, keyed by agent name.com.google.common.collect.ImmutableList<Event> InvocationContext.events(boolean currentInvocation, boolean currentBranch) Returns the current session's events, optionally filtered to the current invocation and/or the current branch.booleanInvocationContext.isResumable()Returns whether the current invocation is resumable.voidInvocationContext.populateInvocationAgentStates()RehydratesInvocationContext.agentStates()andInvocationContext.endOfAgents()from the current invocation's history when this invocation is resumable.io.reactivex.rxjava3.core.Flowable<Event> Runs this agent as a workflow node through itsBaseAgent.runAsync(InvocationContext)lifecycle, including its callbacks.booleanInvocationContext.shouldPauseInvocation(Event event) Returns whether to pause the invocation right after this event: it is resumable and the event carries a long-running function call, including a syntheticadk_request_confirmationHITL request. -
Uses of Experimental in com.google.adk.apps
Classes in com.google.adk.apps with annotations of type ExperimentalModifier and TypeClassDescriptionclassResumability config for every agent in an app: pause on a long-running call and resume from the last event.Methods in com.google.adk.apps with annotations of type ExperimentalModifier and TypeMethodDescriptionApp.Builder.resumabilityConfig(ResumabilityConfig resumabilityConfig) @Nullable ResumabilityConfigApp.resumabilityConfig() -
Uses of Experimental in com.google.adk.events
Methods in com.google.adk.events with annotations of type ExperimentalModifier and TypeMethodDescriptionEvent.nodeInfo()Identifies the workflow-node activation that emitted this event; outside a workflow, this value is empty or has an empty path.Event.output()For a workflow node, returns the value handed to successors, distinct fromEvent.content(), or empty when the event carries no node output.EventActions.route()For a workflow node, returns the routes this event selects; an edge is followed when it has one of these routes.voidEvent.setNodeInfo(@Nullable NodeInfo nodeInfo) voidvoid -
Uses of Experimental in com.google.adk.runner
Methods in com.google.adk.runner with annotations of type ExperimentalModifier and TypeMethodDescriptionio.reactivex.rxjava3.core.Flowable<Event> Runner.runAsync(String userId, String sessionId, @Nullable String invocationId, @Nullable com.google.genai.types.Content newMessage, RunConfig runConfig, @Nullable Map<String, Object> stateDelta) Runs the agent, resuming an existing invocation instead of starting a new one. -
Uses of Experimental in com.google.adk.workflow
Classes in com.google.adk.workflow with annotations of type ExperimentalModifier and TypeClassDescriptionclassBase class for nodes in a workflow graph.final recordA connection between two nodes in a workflow graph.final classA node that waits for every predecessor to complete, then outputs their outputs keyed by predecessor name.classA node's retry policy and execution timeout.classThe identity of the workflow-node activation that emitted anEvent.classHow a node is retried when it fails.interfaceA value on a workflow edge, and the value a node emits to select which of its outgoing edges are followed.final classThe node that marks where a workflow graph starts.final classA graph of nodes that is itself a node, so a workflow can go wherever a node can, including in another workflow.Methods in com.google.adk.workflow with annotations of type ExperimentalModifier and TypeMethodDescriptiondefault NodeConfigNode.config()Returns the node's retry policy and execution timeout.default Optional<com.google.genai.types.Schema> Node.inputSchema()Returns the schema the node's input must match.default Optional<com.google.genai.types.Schema> Node.outputSchema()Returns the schema that the node's output value must match.default booleanNode.requiresAllPredecessors()Returnstrueif the node runs only once every predecessor has completed, receiving all their outputs keyed by node name, as a fan-in node does.default booleanNode.rerunOnResume()Returnstrueif a resumed node runs again from scratch, rather than completing with the resuming answer as its output.io.reactivex.rxjava3.core.Flowable<?> Runs the node onnodeInput, the output it receives from its predecessors.default Optional<com.google.genai.types.Schema> Node.stateSchema()Returns the schema declaring the state keys the node uses.default booleanNode.waitForOutput()Returnstrueif the node stays re-triggerable until it produces an output or a route, instead of completing when its run completes.