AS AgentScopeAPI 手册 / API Reference

Builder

public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.ExecutionAttemptReportOrBuilder
源码Source 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说明Description
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal
获取描述符。
Returns the descriptor.
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 `internalGetFieldAccessorTable` 结果。
Returns the internal get field accessor table.
public Builder clear()
清空或重置内部状态。
Clears or resets internal state.
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 `getDescriptorForType`。
Returns the descriptor for type.
public io.agentscope.aistio.proto.ExecutionAttemptReport getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
public io.agentscope.aistio.proto.ExecutionAttemptReport build()
构建并返回最终实例。
Creates and returns an instance.
public io.agentscope.aistio.proto.ExecutionAttemptReport buildPartial()
构建 `buildPartial`。
Builds the partial.
public Builder mergeFrom(com.google.protobuf.Message other)
设置该配置项。
Performs the merge from operation.
public Builder mergeFrom(io.agentscope.aistio.proto.ExecutionAttemptReport other)
设置该配置项。
Performs the merge from operation.
public final boolean isInitialized()
final
判断是否已初始化。
Returns whether the initialized.
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
设置该配置项。
Performs the merge from operation.
public java.lang.String getAttemptId()
获取尝试标识。
`string attempt_id = 1;`
public com.google.protobuf.ByteString getAttemptIdBytes()
获取尝试标识字节。
`string attempt_id = 1;`
public Builder setAttemptId(java.lang.String value)
设置设置尝试标识。
`string attempt_id = 1;`
public Builder clearAttemptId()
清空尝试标识。
`string attempt_id = 1;`
public Builder setAttemptIdBytes(com.google.protobuf.ByteString value)
设置设置尝试标识字节。
`string attempt_id = 1;`
public java.lang.String getAgentTaskId()
获取智能体任务标识。
`string agent_task_id = 2;`
public com.google.protobuf.ByteString getAgentTaskIdBytes()
获取智能体任务标识字节。
`string agent_task_id = 2;`
public Builder setAgentTaskId(java.lang.String value)
设置设置智能体任务标识。
`string agent_task_id = 2;`
public Builder clearAgentTaskId()
清空智能体任务标识。
`string agent_task_id = 2;`
public Builder setAgentTaskIdBytes(com.google.protobuf.ByteString value)
设置设置智能体任务标识字节。
`string agent_task_id = 2;`
public java.lang.String getRunId()
获取运行标识。
`string run_id = 3;`
public com.google.protobuf.ByteString getRunIdBytes()
获取运行标识字节。
`string run_id = 3;`
public Builder setRunId(java.lang.String value)
设置设置运行标识。
`string run_id = 3;`
public Builder clearRunId()
清空运行标识。
`string run_id = 3;`
public Builder setRunIdBytes(com.google.protobuf.ByteString value)
设置设置运行标识字节。
`string run_id = 3;`
public java.lang.String getNodeId()
获取节点标识。
`string node_id = 4;`
public com.google.protobuf.ByteString getNodeIdBytes()
获取节点标识字节。
`string node_id = 4;`
public Builder setNodeId(java.lang.String value)
设置设置节点标识。
`string node_id = 4;`
public Builder clearNodeId()
清空节点标识。
`string node_id = 4;`
public Builder setNodeIdBytes(com.google.protobuf.ByteString value)
设置设置节点标识字节。
`string node_id = 4;`
public long getGeneration()
获取 `getGeneration`。
`int64 generation = 5;`
public Builder setGeneration(long value)
设置该配置项。
`int64 generation = 5;`
public Builder clearGeneration()
清空 `clearGeneration`。
`int64 generation = 5;`
public java.lang.String getAction()
获取动作。
``` ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
public com.google.protobuf.ByteString getActionBytes()
获取动作字节。
``` ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
public Builder setAction(java.lang.String value)
设置设置动作。
``` ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
public Builder clearAction()
清空动作。
``` ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
public Builder setActionBytes(com.google.protobuf.ByteString value)
设置设置动作字节。
``` ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled
public com.google.protobuf.ProtocolStringList getInputIdsList()
获取 `getInputIdsList`。
`repeated string input_ids = 7;`
public int getInputIdsCount()
获取 `getInputIdsCount`。
`repeated string input_ids = 7;`
public java.lang.String getInputIds(int index)
获取 `getInputIds`。
`repeated string input_ids = 7;`
public com.google.protobuf.ByteString getInputIdsBytes(int index)
获取 `getInputIdsBytes`。
`repeated string input_ids = 7;`
public Builder setInputIds(int index, java.lang.String value)
设置该配置项。
`repeated string input_ids = 7;`
public Builder addInputIds(java.lang.String value)
添加 `addInputIds`。
`repeated string input_ids = 7;`
public Builder addAllInputIds(java.lang.Iterable<java.lang.String> values)
添加 `addAllInputIds`。
`repeated string input_ids = 7;`
public Builder clearInputIds()
清空 `clearInputIds`。
`repeated string input_ids = 7;`
public Builder addInputIdsBytes(com.google.protobuf.ByteString value)
添加 `addInputIdsBytes`。
`repeated string input_ids = 7;`
public java.lang.String getContent()
获取内容。
`string content = 8;`
public com.google.protobuf.ByteString getContentBytes()
获取内容字节。
`string content = 8;`
public Builder setContent(java.lang.String value)
设置设置内容。
`string content = 8;`
public Builder clearContent()
清空内容。
`string content = 8;`
public Builder setContentBytes(com.google.protobuf.ByteString value)
设置设置内容字节。
`string content = 8;`
public com.google.protobuf.ByteString getResult()
获取结果。
`bytes result = 9;`
public Builder setResult(com.google.protobuf.ByteString value)
设置设置结果。
`bytes result = 9;`
public Builder clearResult()
清空结果。
`bytes result = 9;`
public java.lang.String getErrorCode()
获取 `getErrorCode`。
`string error_code = 10;`
public com.google.protobuf.ByteString getErrorCodeBytes()
获取 `getErrorCodeBytes`。
`string error_code = 10;`
public Builder setErrorCode(java.lang.String value)
设置该配置项。
`string error_code = 10;`
public Builder clearErrorCode()
清空 `clearErrorCode`。
`string error_code = 10;`
public Builder setErrorCodeBytes(com.google.protobuf.ByteString value)
设置该配置项。
`string error_code = 10;`
public java.lang.String getErrorMessage()
获取错误消息。
`string error_message = 11;`
public com.google.protobuf.ByteString getErrorMessageBytes()
获取错误消息字节。
`string error_message = 11;`
public Builder setErrorMessage(java.lang.String value)
设置设置错误消息。
`string error_message = 11;`
public Builder clearErrorMessage()
清空错误消息。
`string error_message = 11;`
public Builder setErrorMessageBytes(com.google.protobuf.ByteString value)
设置设置错误消息字节。
`string error_message = 11;`
public com.google.protobuf.ByteString getCheckpoint()
获取检查点。
`bytes checkpoint = 12;`
public Builder setCheckpoint(com.google.protobuf.ByteString value)
设置设置检查点。
`bytes checkpoint = 12;`
public Builder clearCheckpoint()
清空检查点。
`bytes checkpoint = 12;`
public com.google.protobuf.ByteString getUsage()
获取用量。
`bytes usage = 13;`
public Builder setUsage(com.google.protobuf.ByteString value)
设置设置用量。
`bytes usage = 13;`
public Builder clearUsage()
清空用量。
`bytes usage = 13;`
public java.lang.String getIdempotencyKey()
获取 `getIdempotencyKey`。
`string idempotency_key = 14;`
public com.google.protobuf.ByteString getIdempotencyKeyBytes()
获取 `getIdempotencyKeyBytes`。
`string idempotency_key = 14;`
public Builder setIdempotencyKey(java.lang.String value)
设置该配置项。
`string idempotency_key = 14;`
public Builder clearIdempotencyKey()
清空 `clearIdempotencyKey`。
`string idempotency_key = 14;`
public Builder setIdempotencyKeyBytes(com.google.protobuf.ByteString value)
设置该配置项。
`string idempotency_key = 14;`
public java.lang.String getAttemptToken()
获取尝试令牌。
`string attempt_token = 15;`
public com.google.protobuf.ByteString getAttemptTokenBytes()
获取尝试令牌字节。
`string attempt_token = 15;`
public Builder setAttemptToken(java.lang.String value)
设置设置尝试令牌。
`string attempt_token = 15;`
public Builder clearAttemptToken()
清空尝试令牌。
`string attempt_token = 15;`
public Builder setAttemptTokenBytes(com.google.protobuf.ByteString value)
设置设置尝试令牌字节。
`string attempt_token = 15;`

方法详情Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal

获取描述符。

Returns the descriptor.

返回Returns com.google.protobuf.Descriptors.Descriptor
返回com.google.protobuf.Descriptors.Descriptor。Returns com google protobuf descriptors descriptor.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:862–865

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

返回 internalGetFieldAccessorTable 结果。

Returns the internal get field accessor table.

返回Returns com.google.protobuf.GeneratedMessage.FieldAccessorTable
返回com.google.protobuf.GeneratedMessage.FieldAccessorTable。Returns com google protobuf generated message field accessor table.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:867–873

clear

public Builder clear()

清空或重置内部状态。

Clears or resets internal state.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:885–906

getDescriptorForType

public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()

获取 getDescriptorForType。

Returns the descriptor for type.

返回Returns com.google.protobuf.Descriptors.Descriptor
返回com.google.protobuf.Descriptors.Descriptor。Returns com google protobuf descriptors descriptor.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:908–912

getDefaultInstanceForType

public io.agentscope.aistio.proto.ExecutionAttemptReport getDefaultInstanceForType()

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:914–917

build

public io.agentscope.aistio.proto.ExecutionAttemptReport build()

构建并返回最终实例。

Creates and returns an instance.

返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:919–926

buildPartial

public io.agentscope.aistio.proto.ExecutionAttemptReport buildPartial()

构建 buildPartial。

Builds the partial.

返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:928–934

mergeFrom

public Builder mergeFrom(com.google.protobuf.Message other)

设置该配置项。

Performs the merge from operation.

参数Parameters
名称Name类型Type说明Description
othercom.google.protobuf.Messageother(类型 `com.google.protobuf.Message`)。The other.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:986–994

mergeFrom

public Builder mergeFrom(io.agentscope.aistio.proto.ExecutionAttemptReport other)

设置该配置项。

Performs the merge from operation.

参数Parameters
名称Name类型Type说明Description
otherio.agentscope.aistio.proto.ExecutionAttemptReportother(类型 `io.agentscope.aistio.proto.ExecutionAttemptReport`)。The other.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:996–1073

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1075–1078

mergeFrom

public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException

设置该配置项。

Performs the merge from operation.

参数Parameters
名称Name类型Type说明Description
inputcom.google.protobuf.CodedInputStream输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1080–1186

getAttemptId

public java.lang.String getAttemptId()

获取尝试标识。

string attempt_id = 1;

返回Returns java.lang.String
返回java.lang.String。The attemptId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1194–1205

getAttemptIdBytes

public com.google.protobuf.ByteString getAttemptIdBytes()

获取尝试标识字节。

string attempt_id = 1;

返回Returns com.google.protobuf.ByteString
字节用于 attemptId。The bytes for attemptId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1210–1222

setAttemptId

public Builder setAttemptId(java.lang.String value)

设置设置尝试标识。

string attempt_id = 1;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.StringattemptId 到设置。The attemptId to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1228–1235

clearAttemptId

public Builder clearAttemptId()

清空尝试标识。

string attempt_id = 1;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1240–1245

setAttemptIdBytes

public Builder setAttemptIdBytes(com.google.protobuf.ByteString value)

设置设置尝试标识字节。

string attempt_id = 1;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于 attemptId 到设置。The bytes for attemptId to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1251–1259

getAgentTaskId

public java.lang.String getAgentTaskId()

获取智能体任务标识。

string agent_task_id = 2;

返回Returns java.lang.String
返回java.lang.String。The agentTaskId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1266–1277

getAgentTaskIdBytes

public com.google.protobuf.ByteString getAgentTaskIdBytes()

获取智能体任务标识字节。

string agent_task_id = 2;

返回Returns com.google.protobuf.ByteString
字节用于 agentTaskId。The bytes for agentTaskId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1282–1294

setAgentTaskId

public Builder setAgentTaskId(java.lang.String value)

设置设置智能体任务标识。

string agent_task_id = 2;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.StringagentTaskId 到设置。The agentTaskId to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1300–1307

clearAgentTaskId

public Builder clearAgentTaskId()

清空智能体任务标识。

string agent_task_id = 2;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1312–1317

setAgentTaskIdBytes

public Builder setAgentTaskIdBytes(com.google.protobuf.ByteString value)

设置设置智能体任务标识字节。

string agent_task_id = 2;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于 agentTaskId 到设置。The bytes for agentTaskId to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1323–1331

getRunId

public java.lang.String getRunId()

获取运行标识。

string run_id = 3;

返回Returns java.lang.String
运行标识。The runId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1338–1349

getRunIdBytes

public com.google.protobuf.ByteString getRunIdBytes()

获取运行标识字节。

string run_id = 3;

返回Returns com.google.protobuf.ByteString
字节用于运行标识。The bytes for runId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1354–1366

setRunId

public Builder setRunId(java.lang.String value)

设置设置运行标识。

string run_id = 3;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.String运行标识到设置。The runId to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1372–1379

clearRunId

public Builder clearRunId()

清空运行标识。

string run_id = 3;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1384–1389

setRunIdBytes

public Builder setRunIdBytes(com.google.protobuf.ByteString value)

设置设置运行标识字节。

string run_id = 3;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于运行标识到设置。The bytes for runId to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1395–1403

getNodeId

public java.lang.String getNodeId()

获取节点标识。

string node_id = 4;

返回Returns java.lang.String
节点标识。The nodeId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1410–1421

getNodeIdBytes

public com.google.protobuf.ByteString getNodeIdBytes()

获取节点标识字节。

string node_id = 4;

返回Returns com.google.protobuf.ByteString
字节用于节点标识。The bytes for nodeId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1426–1438

setNodeId

public Builder setNodeId(java.lang.String value)

设置设置节点标识。

string node_id = 4;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.String节点标识到设置。The nodeId to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1444–1451

clearNodeId

public Builder clearNodeId()

清空节点标识。

string node_id = 4;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1456–1461

setNodeIdBytes

public Builder setNodeIdBytes(com.google.protobuf.ByteString value)

设置设置节点标识字节。

string node_id = 4;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于节点标识到设置。The bytes for nodeId to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1467–1475

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 5;

返回Returns long
返回数值结果。The generation.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1482–1485

setGeneration

public Builder setGeneration(long value)

设置该配置项。

int64 generation = 5;

参数Parameters
名称Name类型Type说明Description
valuelong值(类型 `long`)。The generation to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1491–1497

clearGeneration

public Builder clearGeneration()

清空 clearGeneration。

int64 generation = 5;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1502–1507

getAction

public java.lang.String getAction()

获取动作。

ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;

返回Returns java.lang.String
动作。The action.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1518–1529

getActionBytes

public com.google.protobuf.ByteString getActionBytes()

获取动作字节。

ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;

返回Returns com.google.protobuf.ByteString
字节用于动作。The bytes for action.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1538–1550

setAction

public Builder setAction(java.lang.String value)

设置设置动作。

ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.String动作到设置。The action to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1560–1567

clearAction

public Builder clearAction()

清空动作。

ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1576–1581

setActionBytes

public Builder setActionBytes(com.google.protobuf.ByteString value)

设置设置动作字节。

ack | preparing | start | heartbeat | waiting | progress | respond | complete | fail | cancelled string action = 6;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于动作到设置。The bytes for action to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1591–1599

getInputIdsList

public com.google.protobuf.ProtocolStringList getInputIdsList()

获取 getInputIdsList。

repeated string input_ids = 7;

返回Returns com.google.protobuf.ProtocolStringList
返回com.google.protobuf.ProtocolStringList。A list containing the inputIds.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1613–1617

getInputIdsCount

public int getInputIdsCount()

获取 getInputIdsCount。

repeated string input_ids = 7;

返回Returns int
inputIds的数量。The count of inputIds.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1622–1624

getInputIds

public java.lang.String getInputIds(int index)

获取 getInputIds。

repeated string input_ids = 7;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index of the element to return.
返回Returns java.lang.String
返回java.lang.String。The inputIds at the given index.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1630–1632

getInputIdsBytes

public com.google.protobuf.ByteString getInputIdsBytes(int index)

获取 getInputIdsBytes。

repeated string input_ids = 7;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index of the value to return.
返回Returns com.google.protobuf.ByteString
返回com.google.protobuf.ByteString。The bytes of the inputIds at the given index.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1638–1641

setInputIds

public Builder setInputIds(int index, java.lang.String value)

设置该配置项。

repeated string input_ids = 7;

参数Parameters
名称Name类型Type说明Description
indexint索引到设置值 at。The index to set the value at.
valuejava.lang.StringinputIds 到设置。The inputIds to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1648–1656

addInputIds

public Builder addInputIds(java.lang.String value)

添加 addInputIds。

repeated string input_ids = 7;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.StringinputIds 到添加。The inputIds to add.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1662–1670

addAllInputIds

public Builder addAllInputIds(java.lang.Iterable<java.lang.String> values)

添加 addAllInputIds。

repeated string input_ids = 7;

参数Parameters
名称Name类型Type说明Description
valuesjava.lang.Iterable<java.lang.String>inputIds 到添加。The inputIds to add.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1676–1684

clearInputIds

public Builder clearInputIds()

清空 clearInputIds。

repeated string input_ids = 7;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1689–1695

addInputIdsBytes

public Builder addInputIdsBytes(com.google.protobuf.ByteString value)

添加 addInputIdsBytes。

repeated string input_ids = 7;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteStringinputIds 到添加的字节。The bytes of the inputIds to add.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1701–1710

getContent

public java.lang.String getContent()

获取内容。

string content = 8;

返回Returns java.lang.String
内容。The content.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1717–1728

getContentBytes

public com.google.protobuf.ByteString getContentBytes()

获取内容字节。

string content = 8;

返回Returns com.google.protobuf.ByteString
字节用于内容。The bytes for content.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1733–1745

setContent

public Builder setContent(java.lang.String value)

设置设置内容。

string content = 8;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.String内容到设置。The content to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1751–1758

clearContent

public Builder clearContent()

清空内容。

string content = 8;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1763–1768

setContentBytes

public Builder setContentBytes(com.google.protobuf.ByteString value)

设置设置内容字节。

string content = 8;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于内容到设置。The bytes for content to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1774–1782

getResult

public com.google.protobuf.ByteString getResult()

获取结果。

bytes result = 9;

返回Returns com.google.protobuf.ByteString
结果。The result.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1789–1792

setResult

public Builder setResult(com.google.protobuf.ByteString value)

设置设置结果。

bytes result = 9;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString结果到设置。The result to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1798–1804

clearResult

public Builder clearResult()

清空结果。

bytes result = 9;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1809–1814

getErrorCode

public java.lang.String getErrorCode()

获取 getErrorCode。

string error_code = 10;

返回Returns java.lang.String
返回java.lang.String。The errorCode.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1821–1832

getErrorCodeBytes

public com.google.protobuf.ByteString getErrorCodeBytes()

获取 getErrorCodeBytes。

string error_code = 10;

返回Returns com.google.protobuf.ByteString
字节用于 errorCode。The bytes for errorCode.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1837–1849

setErrorCode

public Builder setErrorCode(java.lang.String value)

设置该配置项。

string error_code = 10;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.StringerrorCode 到设置。The errorCode to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1855–1862

clearErrorCode

public Builder clearErrorCode()

清空 clearErrorCode。

string error_code = 10;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1867–1872

setErrorCodeBytes

public Builder setErrorCodeBytes(com.google.protobuf.ByteString value)

设置该配置项。

string error_code = 10;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于 errorCode 到设置。The bytes for errorCode to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1878–1886

getErrorMessage

public java.lang.String getErrorMessage()

获取错误消息。

string error_message = 11;

返回Returns java.lang.String
返回java.lang.String。The errorMessage.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1893–1904

getErrorMessageBytes

public com.google.protobuf.ByteString getErrorMessageBytes()

获取错误消息字节。

string error_message = 11;

返回Returns com.google.protobuf.ByteString
字节用于 errorMessage。The bytes for errorMessage.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1909–1921

setErrorMessage

public Builder setErrorMessage(java.lang.String value)

设置设置错误消息。

string error_message = 11;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.StringerrorMessage 到设置。The errorMessage to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1927–1934

clearErrorMessage

public Builder clearErrorMessage()

清空错误消息。

string error_message = 11;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1939–1944

setErrorMessageBytes

public Builder setErrorMessageBytes(com.google.protobuf.ByteString value)

设置设置错误消息字节。

string error_message = 11;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于 errorMessage 到设置。The bytes for errorMessage to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1950–1958

getCheckpoint

public com.google.protobuf.ByteString getCheckpoint()

获取检查点。

bytes checkpoint = 12;

返回Returns com.google.protobuf.ByteString
检查点。The checkpoint.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1965–1968

setCheckpoint

public Builder setCheckpoint(com.google.protobuf.ByteString value)

设置设置检查点。

bytes checkpoint = 12;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString检查点到设置。The checkpoint to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1974–1980

clearCheckpoint

public Builder clearCheckpoint()

清空检查点。

bytes checkpoint = 12;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1985–1990

getUsage

public com.google.protobuf.ByteString getUsage()

获取用量。

bytes usage = 13;

返回Returns com.google.protobuf.ByteString
用量。The usage.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:1997–2000

setUsage

public Builder setUsage(com.google.protobuf.ByteString value)

设置设置用量。

bytes usage = 13;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString用量到设置。The usage to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2006–2012

clearUsage

public Builder clearUsage()

清空用量。

bytes usage = 13;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2017–2022

getIdempotencyKey

public java.lang.String getIdempotencyKey()

获取 getIdempotencyKey。

string idempotency_key = 14;

返回Returns java.lang.String
返回java.lang.String。The idempotencyKey.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2029–2040

getIdempotencyKeyBytes

public com.google.protobuf.ByteString getIdempotencyKeyBytes()

获取 getIdempotencyKeyBytes。

string idempotency_key = 14;

返回Returns com.google.protobuf.ByteString
字节用于 idempotencyKey。The bytes for idempotencyKey.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2045–2057

setIdempotencyKey

public Builder setIdempotencyKey(java.lang.String value)

设置该配置项。

string idempotency_key = 14;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.StringidempotencyKey 到设置。The idempotencyKey to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2063–2070

clearIdempotencyKey

public Builder clearIdempotencyKey()

清空 clearIdempotencyKey。

string idempotency_key = 14;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2075–2080

setIdempotencyKeyBytes

public Builder setIdempotencyKeyBytes(com.google.protobuf.ByteString value)

设置该配置项。

string idempotency_key = 14;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于 idempotencyKey 到设置。The bytes for idempotencyKey to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2086–2094

getAttemptToken

public java.lang.String getAttemptToken()

获取尝试令牌。

string attempt_token = 15;

返回Returns java.lang.String
返回java.lang.String。The attemptToken.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2101–2112

getAttemptTokenBytes

public com.google.protobuf.ByteString getAttemptTokenBytes()

获取尝试令牌字节。

string attempt_token = 15;

返回Returns com.google.protobuf.ByteString
字节用于 attemptToken。The bytes for attemptToken.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2117–2129

setAttemptToken

public Builder setAttemptToken(java.lang.String value)

设置设置尝试令牌。

string attempt_token = 15;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.StringattemptToken 到设置。The attemptToken to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2135–2142

clearAttemptToken

public Builder clearAttemptToken()

清空尝试令牌。

string attempt_token = 15;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2147–2152

setAttemptTokenBytes

public Builder setAttemptTokenBytes(com.google.protobuf.ByteString value)

设置设置尝试令牌字节。

string attempt_token = 15;

参数Parameters
名称Name类型Type说明Description
valuecom.google.protobuf.ByteString字节用于 attemptToken 到设置。The bytes for attemptToken to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2158–2166
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.