Uses of Class
com.google.adk.workflow.FunctionNode.Builder
Packages that use FunctionNode.Builder
-
Uses of FunctionNode.Builder in com.google.adk.workflow
Methods in com.google.adk.workflow that return FunctionNode.BuilderModifier and TypeMethodDescriptionSets the function the node runs on each input.static <I,O> FunctionNode.Builder <I, O> FunctionNodes.builder(com.fasterxml.jackson.core.type.TypeReference<I> inputType, com.fasterxml.jackson.core.type.TypeReference<O> outputType) LikeFunctionNodes.builder(Class, Class), for generic port types.static <I,O> FunctionNode.Builder <I, O> FunctionNodes.builder(com.fasterxml.jackson.core.type.TypeReference<I> inputType, Class<O> outputType) LikeFunctionNodes.builder(Class, Class), for a generic input type.static <I,O> FunctionNode.Builder <I, O> FunctionNodes.builder(Class<I> inputType, com.fasterxml.jackson.core.type.TypeReference<O> outputType) LikeFunctionNodes.builder(Class, Class), for a generic output type.static <I,O> FunctionNode.Builder <I, O> Returns a builder for a node with these port types, for propertiesFunctionNodes.of(String, Class, Class, NodeBody)does not take.FunctionNode.Builder.config(NodeConfig config) Sets the node's retry policy and execution timeout.FunctionNode.Builder.description(String description) Sets what the node does, for humans and for a model that may call it.FunctionNode.Builder.inputSchema(@Nullable com.google.genai.types.Schema inputSchema) Sets the schema that describes the node's input, in place of one inferred from its type, and that each run checks the input against.Sets the node's name, unique within its graph.FunctionNode.Builder.outputSchema(@Nullable com.google.genai.types.Schema outputSchema) Sets the schema that describes the node's output, in place of one inferred from its type, and that each run checks the output against.FunctionNode.Builder.requireConfirmation(boolean requireConfirmation) Sets whether each run first asks the user to approve it; either overload replaces the other.FunctionNode.Builder.requireConfirmation(ConfirmationPredicate<? super I> predicate) Sets a predicate that decides for each input whether a run asks the user to approve it, as thebooleanoverload does for every input.FunctionNode.Builder.rerunOnResume(boolean rerunOnResume) Sets whether a resume runs the node again rather than using the resuming answer.FunctionNode.Builder.scheduler(@Nullable io.reactivex.rxjava3.core.Scheduler scheduler) Sets the scheduler that decodes the input and runs the confirmation predicate and the body, ornull(the default) for theRunner's scheduler.FunctionNode.Builder.stateSchema(@Nullable com.google.genai.types.Schema stateSchema) Sets the state keys the node uses, which child nodes inherit unless they declare their own.FunctionNode.toBuilder()Returns a builder initialized with this node's properties.FunctionNode.Builder.waitForOutput(boolean waitForOutput) Sets whether the node stays re-triggerable until it produces an output or a route.