Class LoopAgent.Builder
java.lang.Object
com.google.adk.agents.LoopAgent.Builder
- Enclosing class:
LoopAgent
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionafterAgentCallback
(Callbacks.AfterAgentCallback afterAgentCallback) beforeAgentCallback
(Callbacks.BeforeAgentCallback beforeAgentCallback) build()
description
(String description) maxIterations
(int maxIterations) maxIterations
(Optional<Integer> maxIterations)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
-
description
-
subAgents
-
subAgents
-
maxIterations
-
maxIterations
-
beforeAgentCallback
@CanIgnoreReturnValue public LoopAgent.Builder beforeAgentCallback(Callbacks.BeforeAgentCallback beforeAgentCallback) -
afterAgentCallback
@CanIgnoreReturnValue public LoopAgent.Builder afterAgentCallback(Callbacks.AfterAgentCallback afterAgentCallback) -
build
-