类 TaskArtifactUpdateEvent.Builder
java.lang.Object
io.github.a2ap.core.model.TaskArtifactUpdateEvent.Builder
Builder class for TaskArtifactUpdateEvent
-
方法概要
修饰符和类型方法说明Sets whether this appends to a previous artifactSets the artifactbuild()Builds a new TaskArtifactUpdateEvent instanceSets the context IDSets whether this is the final updateSets the kindSets whether this is the last chunkSets the metadataSets the task ID
-
方法详细资料
-
taskId
Sets the task ID- 参数:
taskId- The task ID- 返回:
- This builder for chaining
-
contextId
Sets the context ID- 参数:
contextId- The context ID- 返回:
- This builder for chaining
-
kind
Sets the kind- 参数:
kind- The kind- 返回:
- This builder for chaining
-
artifact
Sets the artifact- 参数:
artifact- The artifact- 返回:
- This builder for chaining
-
isFinal
Sets whether this is the final update- 参数:
isFinal- Whether this is the final update- 返回:
- This builder for chaining
-
append
Sets whether this appends to a previous artifact- 参数:
append- Whether this appends to a previous artifact- 返回:
- This builder for chaining
-
lastChunk
Sets whether this is the last chunk- 参数:
lastChunk- Whether this is the last chunk- 返回:
- This builder for chaining
-
metadata
Sets the metadata- 参数:
metadata- The metadata- 返回:
- This builder for chaining
-
build
Builds a new TaskArtifactUpdateEvent instance- 返回:
- The built instance
-