Class EventActions.Builder
java.lang.Object
com.google.adk.events.EventActions.Builder
- Enclosing class:
EventActions
“Builder for”是一个用于描述某种构建工具或框架的术语。它通常表示该工具/框架用于帮助开发者或系统管理员快速、高效地创建或构建特定类型的应用程序、系统或组件。例如:“Builder for Web Applications”(用于构建Web应用程序的工具)或“Builder for Cloud Services”(用于构建云服务的工具)。
EventActions.-
构造函数概述
Constructors -
方法概述
Modifier and TypeMethodDescriptionagentState(@Nullable Map<String, Object> agentState) artifactDelta(@Nullable Map<String, Integer> value) build()compaction(@Nullable EventCompaction value) deletedArtifactIds(Set<String> value) endInvocation(boolean endInvocation) 已弃用(Deprecated)。endOfAgent(boolean endOfAgent) merge(EventActions other) requestedToolConfirmations(@Nullable Map<String, ToolConfirmation> value) rewindBeforeInvocationId(@Nullable String value) setModelResponse(@Nullable Object value) skipSummarization(@Nullable Boolean skipSummarization) stateDelta(@Nullable Map<String, Object> value) transferToAgent(@Nullable String agentId)
-
构造函数详细信息
-
Builder
public Builder()
-
-
方法详细信息(Method Details)
-
skipSummarization
@CanIgnoreReturnValue public EventActions.Builder skipSummarization(@Nullable Boolean skipSummarization) -
stateDelta
-
artifactDelta
@CanIgnoreReturnValue public EventActions.Builder artifactDelta(@Nullable Map<String, Integer> value) -
deletedArtifactIds
-
transferToAgent
-
escalate
-
requestedAuthConfigs
-
requestedToolConfirmations
@CanIgnoreReturnValue public EventActions.Builder requestedToolConfirmations(@Nullable Map<String, ToolConfirmation> value) -
endOfAgent
-
endInvocation
Deprecated.UseendOfAgent(boolean)instead. -
agentState
@CanIgnoreReturnValue public EventActions.Builder agentState(@Nullable Map<String, Object> agentState) -
compaction
-
setModelResponse
-
rewindBeforeInvocationId
-
route
-
merge
-
build
-
endOfAgent(boolean)相反。