AS AgentScopeAPI 手册 / API Reference

ExecutionAttemptReportOrBuilder

public interface ExecutionAttemptReportOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:8–188

定义执行尝试报告或构建器契约的接口。位于 io.agentscope.aistio.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getAttemptId、getAttemptIdBytes、getAgentTaskId、getAgentTaskIdBytes、getRunId、getRunIdBytes。

An interface in io.agentscope.aistio.proto that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.aistio.proto. Implements com.google.protobuf.MessageOrBuilder.

方法摘要Method Summary

方法Method说明Description
public java.lang.String getAttemptId()
获取尝试标识。
`string attempt_id = 1;`
public com.google.protobuf.ByteString getAttemptIdBytes()
获取尝试标识字节。
`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 java.lang.String getRunId()
获取运行标识。
`string run_id = 3;`
public com.google.protobuf.ByteString getRunIdBytes()
获取运行标识字节。
`string run_id = 3;`
public java.lang.String getNodeId()
获取节点标识。
`string node_id = 4;`
public com.google.protobuf.ByteString getNodeIdBytes()
获取节点标识字节。
`string node_id = 4;`
public long getGeneration()
获取 `getGeneration`。
`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 java.util.List<java.lang.String> 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 java.lang.String getContent()
获取内容。
`string content = 8;`
public com.google.protobuf.ByteString getContentBytes()
获取内容字节。
`string content = 8;`
public com.google.protobuf.ByteString getResult()
获取结果。
`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 java.lang.String getErrorMessage()
获取错误消息。
`string error_message = 11;`
public com.google.protobuf.ByteString getErrorMessageBytes()
获取错误消息字节。
`string error_message = 11;`
public com.google.protobuf.ByteString getCheckpoint()
获取检查点。
`bytes checkpoint = 12;`
public com.google.protobuf.ByteString getUsage()
获取用量。
`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 java.lang.String getAttemptToken()
获取尝试令牌。
`string attempt_token = 15;`
public com.google.protobuf.ByteString getAttemptTokenBytes()
获取尝试令牌字节。
`string attempt_token = 15;`

方法详情Method Detail

getAttemptId

public java.lang.String getAttemptId()

获取尝试标识。

string attempt_id = 1;

返回Returns java.lang.String
返回java.lang.String。The attemptId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:16

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/ExecutionAttemptReportOrBuilder.java:21–22

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/ExecutionAttemptReportOrBuilder.java:28

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/ExecutionAttemptReportOrBuilder.java:33–34

getRunId

public java.lang.String getRunId()

获取运行标识。

string run_id = 3;

返回Returns java.lang.String
运行标识。The runId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:40

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/ExecutionAttemptReportOrBuilder.java:45–46

getNodeId

public java.lang.String getNodeId()

获取节点标识。

string node_id = 4;

返回Returns java.lang.String
节点标识。The nodeId.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:52

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/ExecutionAttemptReportOrBuilder.java:57–58

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 5;

返回Returns long
返回数值结果。The generation.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:64

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/ExecutionAttemptReportOrBuilder.java:74

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/ExecutionAttemptReportOrBuilder.java:83–84

getInputIdsList

public java.util.List<java.lang.String> getInputIdsList()

获取 getInputIdsList。

repeated string input_ids = 7;

返回Returns java.util.List<java.lang.String>
返回java.util.列出。A list containing the inputIds.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:90–91

getInputIdsCount

public int getInputIdsCount()

获取 getInputIdsCount。

repeated string input_ids = 7;

返回Returns int
inputIds的数量。The count of inputIds.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:96

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/ExecutionAttemptReportOrBuilder.java:102

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/ExecutionAttemptReportOrBuilder.java:108–109

getContent

public java.lang.String getContent()

获取内容。

string content = 8;

返回Returns java.lang.String
内容。The content.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:115

getContentBytes

public com.google.protobuf.ByteString getContentBytes()

获取内容字节。

string content = 8;

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

getResult

public com.google.protobuf.ByteString getResult()

获取结果。

bytes result = 9;

返回Returns com.google.protobuf.ByteString
结果。The result.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:127

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/ExecutionAttemptReportOrBuilder.java:133

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/ExecutionAttemptReportOrBuilder.java:138–139

getErrorMessage

public java.lang.String getErrorMessage()

获取错误消息。

string error_message = 11;

返回Returns java.lang.String
返回java.lang.String。The errorMessage.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:145

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/ExecutionAttemptReportOrBuilder.java:150–151

getCheckpoint

public com.google.protobuf.ByteString getCheckpoint()

获取检查点。

bytes checkpoint = 12;

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

getUsage

public com.google.protobuf.ByteString getUsage()

获取用量。

bytes usage = 13;

返回Returns com.google.protobuf.ByteString
用量。The usage.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:163

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/ExecutionAttemptReportOrBuilder.java:169

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/ExecutionAttemptReportOrBuilder.java:174–175

getAttemptToken

public java.lang.String getAttemptToken()

获取尝试令牌。

string attempt_token = 15;

返回Returns java.lang.String
返回java.lang.String。The attemptToken.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReportOrBuilder.java:181

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/ExecutionAttemptReportOrBuilder.java:186–187
基于官方固定版本源码静态生成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.