Class Workflow.Builder
java.lang.Object
com.google.adk.workflow.Workflow.Builder
- Enclosing class:
Workflow
-
Method Summary
Modifier and TypeMethodDescriptionbuild()config(NodeConfig config) description(String description) inputSchema(@Nullable com.google.genai.types.Schema inputSchema) maxConcurrency(int maxConcurrency) Sets the maximum number of nodes to run at once, which must be at least 1.outputSchema(@Nullable com.google.genai.types.Schema outputSchema) rerunOnResume(boolean rerunOnResume) stateSchema(@Nullable com.google.genai.types.Schema stateSchema) waitForOutput(boolean waitForOutput)
-
Method Details
-
name
-
edges
-
edges
-
description
-
maxConcurrency
Sets the maximum number of nodes to run at once, which must be at least 1. A workflow without one has no limit. -
rerunOnResume
-
waitForOutput
-
config
-
inputSchema
@CanIgnoreReturnValue public Workflow.Builder inputSchema(@Nullable com.google.genai.types.Schema inputSchema) -
outputSchema
@CanIgnoreReturnValue public Workflow.Builder outputSchema(@Nullable com.google.genai.types.Schema outputSchema) -
stateSchema
@CanIgnoreReturnValue public Workflow.Builder stateSchema(@Nullable com.google.genai.types.Schema stateSchema) -
build
-