Package com.google.adk.apps
Class App.Builder
java.lang.Object
com.google.adk.apps.App.Builder
- Enclosing class:
- App
Builder for
App.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()contextCacheConfig(@Nullable ContextCacheConfig contextCacheConfig) eventsCompactionConfig(@Nullable EventsCompactionConfig eventsCompactionConfig) resumabilityConfig(@Nullable ResumabilityConfig resumabilityConfig) Sets the root agent, or clears it whennull.Sets the workflow node the app runs in place of a root agent, or clears it whennull.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
-
rootAgent
Sets the root agent, or clears it whennull. -
rootNode
Sets the workflow node the app runs in place of a root agent, or clears it whennull. If the given node is an agent, it becomes the root agent. -
plugins
-
plugins
-
eventsCompactionConfig
@CanIgnoreReturnValue public App.Builder eventsCompactionConfig(@Nullable EventsCompactionConfig eventsCompactionConfig) -
contextCacheConfig
@CanIgnoreReturnValue public App.Builder contextCacheConfig(@Nullable ContextCacheConfig contextCacheConfig) -
resumabilityConfig
@CanIgnoreReturnValue @Experimental public App.Builder resumabilityConfig(@Nullable ResumabilityConfig resumabilityConfig) -
build
-