Class App.Builder
java.lang.Object
com.google.adk.apps.App.Builder
- Enclosing class:
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. Passing an agent sets it as the root node, like any other node. -
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
-