Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.ExecutionAttemptReportOrBuilder
io/agentscope/aistio/proto/ExecutionAttemptReport.java:858–2169构建器,用于构建并配置目标实例。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.aistio.proto.ExecutionAttemptReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
ExecutionAttemptReport is fenced by attempt identity and dispatch generation.
Protobuf type agentscope.protocol.v1.ExecutionAttemptReport
方法摘要Method Summary
方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/aistio/proto/ExecutionAttemptReport.java:862–865internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/aistio/proto/ExecutionAttemptReport.java:867–873clear
public Builder clear()
清空或重置内部状态。
Clears or resets internal state.
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:885–906getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 getDescriptorForType。
Returns the descriptor for type.
com.google.protobuf.Descriptors.Descriptorio/agentscope/aistio/proto/ExecutionAttemptReport.java:908–912getDefaultInstanceForType
public io.agentscope.aistio.proto.ExecutionAttemptReport getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.aistio.proto.ExecutionAttemptReportio/agentscope/aistio/proto/ExecutionAttemptReport.java:914–917build
public io.agentscope.aistio.proto.ExecutionAttemptReport build()
构建并返回最终实例。
Creates and returns an instance.
io.agentscope.aistio.proto.ExecutionAttemptReportio/agentscope/aistio/proto/ExecutionAttemptReport.java:919–926buildPartial
public io.agentscope.aistio.proto.ExecutionAttemptReport buildPartial()
构建 buildPartial。
Builds the partial.
io.agentscope.aistio.proto.ExecutionAttemptReportio/agentscope/aistio/proto/ExecutionAttemptReport.java:928–934mergeFrom
public Builder mergeFrom(com.google.protobuf.Message other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | com.google.protobuf.Message | other(类型 `com.google.protobuf.Message`)。The other. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:986–994mergeFrom
public Builder mergeFrom(io.agentscope.aistio.proto.ExecutionAttemptReport other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | io.agentscope.aistio.proto.ExecutionAttemptReport | other(类型 `io.agentscope.aistio.proto.ExecutionAttemptReport`)。The other. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:996–1073isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/aistio/proto/ExecutionAttemptReport.java:1075–1078mergeFrom
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
Builderjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/aistio/proto/ExecutionAttemptReport.java:1080–1186getAttemptId
public java.lang.String getAttemptId()
获取尝试标识。
string attempt_id = 1;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1194–1205getAttemptIdBytes
public com.google.protobuf.ByteString getAttemptIdBytes()
获取尝试标识字节。
string attempt_id = 1;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1210–1222setAttemptId
public Builder setAttemptId(java.lang.String value)
设置设置尝试标识。
string attempt_id = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | attemptId 到设置。The attemptId to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1228–1235clearAttemptId
public Builder clearAttemptId()
清空尝试标识。
string attempt_id = 1;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1240–1245setAttemptIdBytes
public Builder setAttemptIdBytes(com.google.protobuf.ByteString value)
设置设置尝试标识字节。
string attempt_id = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 attemptId 到设置。The bytes for attemptId to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1251–1259getAgentTaskId
public java.lang.String getAgentTaskId()
获取智能体任务标识。
string agent_task_id = 2;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1266–1277getAgentTaskIdBytes
public com.google.protobuf.ByteString getAgentTaskIdBytes()
获取智能体任务标识字节。
string agent_task_id = 2;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1282–1294setAgentTaskId
public Builder setAgentTaskId(java.lang.String value)
设置设置智能体任务标识。
string agent_task_id = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | agentTaskId 到设置。The agentTaskId to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1300–1307clearAgentTaskId
public Builder clearAgentTaskId()
清空智能体任务标识。
string agent_task_id = 2;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1312–1317setAgentTaskIdBytes
public Builder setAgentTaskIdBytes(com.google.protobuf.ByteString value)
设置设置智能体任务标识字节。
string agent_task_id = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 agentTaskId 到设置。The bytes for agentTaskId to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1323–1331getRunId
public java.lang.String getRunId()
获取运行标识。
string run_id = 3;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1338–1349getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()
获取运行标识字节。
string run_id = 3;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1354–1366setRunId
public Builder setRunId(java.lang.String value)
设置设置运行标识。
string run_id = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 运行标识到设置。The runId to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1372–1379clearRunId
public Builder clearRunId()
清空运行标识。
string run_id = 3;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1384–1389setRunIdBytes
public Builder setRunIdBytes(com.google.protobuf.ByteString value)
设置设置运行标识字节。
string run_id = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于运行标识到设置。The bytes for runId to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1395–1403getNodeId
public java.lang.String getNodeId()
获取节点标识。
string node_id = 4;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1410–1421getNodeIdBytes
public com.google.protobuf.ByteString getNodeIdBytes()
获取节点标识字节。
string node_id = 4;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1426–1438setNodeId
public Builder setNodeId(java.lang.String value)
设置设置节点标识。
string node_id = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 节点标识到设置。The nodeId to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1444–1451clearNodeId
public Builder clearNodeId()
清空节点标识。
string node_id = 4;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1456–1461setNodeIdBytes
public Builder setNodeIdBytes(com.google.protobuf.ByteString value)
设置设置节点标识字节。
string node_id = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于节点标识到设置。The bytes for nodeId to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1467–1475getGeneration
public long getGeneration()
获取 getGeneration。
int64 generation = 5;
longio/agentscope/aistio/proto/ExecutionAttemptReport.java:1482–1485setGeneration
public Builder setGeneration(long value)
设置该配置项。
int64 generation = 5;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | long | 值(类型 `long`)。The generation to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1491–1497clearGeneration
public Builder clearGeneration()
清空 clearGeneration。
int64 generation = 5;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1502–1507getAction
public java.lang.String getAction()
获取动作。
ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1518–1529getActionBytes
public com.google.protobuf.ByteString getActionBytes()
获取动作字节。
ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1538–1550setAction
public Builder setAction(java.lang.String value)
设置设置动作。
ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 动作到设置。The action to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1560–1567clearAction
public Builder clearAction()
清空动作。
ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1576–1581setActionBytes
public Builder setActionBytes(com.google.protobuf.ByteString value)
设置设置动作字节。
ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于动作到设置。The bytes for action to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1591–1599getInputIdsList
public com.google.protobuf.ProtocolStringList getInputIdsList()
获取 getInputIdsList。
repeated string input_ids = 7;
com.google.protobuf.ProtocolStringListio/agentscope/aistio/proto/ExecutionAttemptReport.java:1613–1617getInputIdsCount
public int getInputIdsCount()
获取 getInputIdsCount。
repeated string input_ids = 7;
intio/agentscope/aistio/proto/ExecutionAttemptReport.java:1622–1624getInputIds
public java.lang.String getInputIds(int index)
获取 getInputIds。
repeated string input_ids = 7;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index of the element to return. |
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1630–1632getInputIdsBytes
public com.google.protobuf.ByteString getInputIdsBytes(int index)
获取 getInputIdsBytes。
repeated string input_ids = 7;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index of the value to return. |
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1638–1641setInputIds
public Builder setInputIds(int index, java.lang.String value)
设置该配置项。
repeated string input_ids = 7;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引到设置值 at。The index to set the value at. |
value | java.lang.String | inputIds 到设置。The inputIds to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1648–1656addInputIds
public Builder addInputIds(java.lang.String value)
添加 addInputIds。
repeated string input_ids = 7;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | inputIds 到添加。The inputIds to add. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1662–1670addAllInputIds
public Builder addAllInputIds(java.lang.Iterable<java.lang.String> values)
添加 addAllInputIds。
repeated string input_ids = 7;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
values | java.lang.Iterable<java.lang.String> | inputIds 到添加。The inputIds to add. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1676–1684clearInputIds
public Builder clearInputIds()
清空 clearInputIds。
repeated string input_ids = 7;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1689–1695addInputIdsBytes
public Builder addInputIdsBytes(com.google.protobuf.ByteString value)
添加 addInputIdsBytes。
repeated string input_ids = 7;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | inputIds 到添加的字节。The bytes of the inputIds to add. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1701–1710getContent
public java.lang.String getContent()
获取内容。
string content = 8;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1717–1728getContentBytes
public com.google.protobuf.ByteString getContentBytes()
获取内容字节。
string content = 8;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1733–1745setContent
public Builder setContent(java.lang.String value)
设置设置内容。
string content = 8;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 内容到设置。The content to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1751–1758clearContent
public Builder clearContent()
清空内容。
string content = 8;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1763–1768setContentBytes
public Builder setContentBytes(com.google.protobuf.ByteString value)
设置设置内容字节。
string content = 8;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于内容到设置。The bytes for content to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1774–1782getResult
public com.google.protobuf.ByteString getResult()
获取结果。
bytes result = 9;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1789–1792setResult
public Builder setResult(com.google.protobuf.ByteString value)
设置设置结果。
bytes result = 9;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 结果到设置。The result to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1798–1804clearResult
public Builder clearResult()
清空结果。
bytes result = 9;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1809–1814getErrorCode
public java.lang.String getErrorCode()
获取 getErrorCode。
string error_code = 10;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1821–1832getErrorCodeBytes
public com.google.protobuf.ByteString getErrorCodeBytes()
获取 getErrorCodeBytes。
string error_code = 10;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1837–1849setErrorCode
public Builder setErrorCode(java.lang.String value)
设置该配置项。
string error_code = 10;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | errorCode 到设置。The errorCode to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1855–1862clearErrorCode
public Builder clearErrorCode()
清空 clearErrorCode。
string error_code = 10;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1867–1872setErrorCodeBytes
public Builder setErrorCodeBytes(com.google.protobuf.ByteString value)
设置该配置项。
string error_code = 10;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 errorCode 到设置。The bytes for errorCode to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1878–1886getErrorMessage
public java.lang.String getErrorMessage()
获取错误消息。
string error_message = 11;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1893–1904getErrorMessageBytes
public com.google.protobuf.ByteString getErrorMessageBytes()
获取错误消息字节。
string error_message = 11;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1909–1921setErrorMessage
public Builder setErrorMessage(java.lang.String value)
设置设置错误消息。
string error_message = 11;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | errorMessage 到设置。The errorMessage to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1927–1934clearErrorMessage
public Builder clearErrorMessage()
清空错误消息。
string error_message = 11;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1939–1944setErrorMessageBytes
public Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
设置设置错误消息字节。
string error_message = 11;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 errorMessage 到设置。The bytes for errorMessage to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1950–1958getCheckpoint
public com.google.protobuf.ByteString getCheckpoint()
获取检查点。
bytes checkpoint = 12;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1965–1968setCheckpoint
public Builder setCheckpoint(com.google.protobuf.ByteString value)
设置设置检查点。
bytes checkpoint = 12;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 检查点到设置。The checkpoint to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1974–1980clearCheckpoint
public Builder clearCheckpoint()
清空检查点。
bytes checkpoint = 12;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:1985–1990getUsage
public com.google.protobuf.ByteString getUsage()
获取用量。
bytes usage = 13;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:1997–2000setUsage
public Builder setUsage(com.google.protobuf.ByteString value)
设置设置用量。
bytes usage = 13;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 用量到设置。The usage to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:2006–2012clearUsage
public Builder clearUsage()
清空用量。
bytes usage = 13;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:2017–2022getIdempotencyKey
public java.lang.String getIdempotencyKey()
获取 getIdempotencyKey。
string idempotency_key = 14;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:2029–2040getIdempotencyKeyBytes
public com.google.protobuf.ByteString getIdempotencyKeyBytes()
获取 getIdempotencyKeyBytes。
string idempotency_key = 14;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:2045–2057setIdempotencyKey
public Builder setIdempotencyKey(java.lang.String value)
设置该配置项。
string idempotency_key = 14;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | idempotencyKey 到设置。The idempotencyKey to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:2063–2070clearIdempotencyKey
public Builder clearIdempotencyKey()
清空 clearIdempotencyKey。
string idempotency_key = 14;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:2075–2080setIdempotencyKeyBytes
public Builder setIdempotencyKeyBytes(com.google.protobuf.ByteString value)
设置该配置项。
string idempotency_key = 14;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 idempotencyKey 到设置。The bytes for idempotencyKey to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:2086–2094getAttemptToken
public java.lang.String getAttemptToken()
获取尝试令牌。
string attempt_token = 15;
java.lang.Stringio/agentscope/aistio/proto/ExecutionAttemptReport.java:2101–2112getAttemptTokenBytes
public com.google.protobuf.ByteString getAttemptTokenBytes()
获取尝试令牌字节。
string attempt_token = 15;
com.google.protobuf.ByteStringio/agentscope/aistio/proto/ExecutionAttemptReport.java:2117–2129setAttemptToken
public Builder setAttemptToken(java.lang.String value)
设置设置尝试令牌。
string attempt_token = 15;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | attemptToken 到设置。The attemptToken to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:2135–2142clearAttemptToken
public Builder clearAttemptToken()
清空尝试令牌。
string attempt_token = 15;
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:2147–2152setAttemptTokenBytes
public Builder setAttemptTokenBytes(com.google.protobuf.ByteString value)
设置设置尝试令牌字节。
string attempt_token = 15;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 attemptToken 到设置。The bytes for attemptToken to set. |
Builderio/agentscope/aistio/proto/ExecutionAttemptReport.java:2158–2166