类:App.Builder
java.lang.Object
com.google.adk.apps.App.Builder
- Enclosing class:
App
-
构造函数概述
Constructors -
方法概述
Modifier and TypeMethodDescriptionbuild()contextCacheConfig(@Nullable ContextCacheConfig contextCacheConfig) eventsCompactionConfig(@Nullable EventsCompactionConfig eventsCompactionConfig) resumabilityConfig(@Nullable ResumabilityConfig resumabilityConfig) 用于设置根代理(root agent),或在需要时清除该根代理。null.将应用程序运行的工作流节点设置为替代根代理(root agent)的节点;或者在该节点被替换时将其清除。null.
-
构造函数详细信息
-
Builder
public Builder()
-
-
方法详细信息(Method Details)
-
name
-
rootAgent
用于设置根代理(root agent),或在需要时清除该根代理。null. -
rootNode
将应用程序运行的工作流节点设置为替代根代理(root agent)的节点;或者在该节点被替换时将其清除。null如果给定的节点是一个代理(agent),那么它就会成为根代理(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
-