AS AgentScopeAPI 手册 / API Reference

ExecutionAttemptReport

public final class ExecutionAttemptReport extends com.google.protobuf.GeneratedMessage implements ExecutionAttemptReportOrBuilder
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:15–2217

执行尝试报告,承载智能体的部署、调度与服务化运行。位于 io.agentscope.aistio.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 ExecutionAttemptReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getAttemptId、getAttemptIdBytes、getAgentTaskId、getAgentTaskIdBytes。


ExecutionAttemptReport is fenced by attempt identity and dispatch generation.

Protobuf type agentscope.protocol.v1.ExecutionAttemptReport

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
``` ExecutionAttemptReport is fenced by attempt identity and dispatch generation.

字段摘要Field Summary

字段Field类型Type说明Description
ATTEMPT_ID_FIELD_NUMBER
staticfinal
int
尝试标识 FIELD 数量字段。
The ATTEMPT ID FIELD NUMBER field.
AGENT_TASK_ID_FIELD_NUMBER
staticfinal
int
智能体任务标识 FIELD 数量字段。
The AGENT TASK ID FIELD NUMBER field.
RUN_ID_FIELD_NUMBER
staticfinal
int
运行标识 FIELD 数量字段。
The RUN ID FIELD NUMBER field.
NODE_ID_FIELD_NUMBER
staticfinal
int
节点标识 FIELD 数量字段。
The NODE ID FIELD NUMBER field.
GENERATION_FIELD_NUMBER
staticfinal
int
GENERATION FIELD 数量字段。
The GENERATION FIELD NUMBER field.
ACTION_FIELD_NUMBER
staticfinal
int
动作 FIELD 数量字段。
The ACTION FIELD NUMBER field.
INPUT_IDS_FIELD_NUMBER
staticfinal
int
输入 IDS FIELD 数量字段。
The INPUT IDS FIELD NUMBER field.
CONTENT_FIELD_NUMBER
staticfinal
int
内容 FIELD 数量字段。
The CONTENT FIELD NUMBER field.
RESULT_FIELD_NUMBER
staticfinal
int
结果 FIELD 数量字段。
The RESULT FIELD NUMBER field.
ERROR_CODE_FIELD_NUMBER
staticfinal
int
错误 CODE FIELD 数量字段。
The ERROR CODE FIELD NUMBER field.
ERROR_MESSAGE_FIELD_NUMBER
staticfinal
int
错误消息 FIELD 数量字段。
The ERROR MESSAGE FIELD NUMBER field.
CHECKPOINT_FIELD_NUMBER
staticfinal
int
检查点 FIELD 数量字段。
The CHECKPOINT FIELD NUMBER field.
USAGE_FIELD_NUMBER
staticfinal
int
用量 FIELD 数量字段。
The USAGE FIELD NUMBER field.
IDEMPOTENCY_KEY_FIELD_NUMBER
staticfinal
int
IDEMPOTENCY 键 FIELD 数量字段。
The IDEMPOTENCY KEY FIELD NUMBER field.
ATTEMPT_TOKEN_FIELD_NUMBER
staticfinal
int
尝试令牌 FIELD 数量字段。
The ATTEMPT TOKEN FIELD NUMBER field.

方法摘要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 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 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 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;`
public final boolean isInitialized()
final
判断是否已初始化。
Returns whether the initialized.
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
设置写入到。
Performs the write to operation.
public int getSerializedSize()
获取 `getSerializedSize`。
Returns the serialized size.
public boolean equals(java.lang.Object obj)
设置该参数。
Performs the equals operation.
public int hashCode()
返回 `hashCode` 结果。
Returns the hash code.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
public static Builder newBuilder()
static
创建构建器。
Returns the new builder.
public static Builder newBuilder(io.agentscope.aistio.proto.ExecutionAttemptReport prototype)
static
创建构建器。
Performs the new builder operation.
public Builder toBuilder()
返回到构建器。
Returns the to builder.
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
创建构建器用于类型。
Performs the new builder for type operation.
public static io.agentscope.aistio.proto.ExecutionAttemptReport getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<ExecutionAttemptReport> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<ExecutionAttemptReport> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.aistio.proto.ExecutionAttemptReport getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.

字段详情Field Detail

ATTEMPT_ID_FIELD_NUMBER

public static final int ATTEMPT_ID_FIELD_NUMBER
staticfinal

尝试标识 FIELD 数量字段。声明为 public static final int ATTEMPT_ID_FIELD_NUMBER。

The ATTEMPT ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:64

AGENT_TASK_ID_FIELD_NUMBER

public static final int AGENT_TASK_ID_FIELD_NUMBER
staticfinal

智能体任务标识 FIELD 数量字段。声明为 public static final int AGENT_TASK_ID_FIELD_NUMBER。

The AGENT TASK ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:103

RUN_ID_FIELD_NUMBER

public static final int RUN_ID_FIELD_NUMBER
staticfinal

运行标识 FIELD 数量字段。声明为 public static final int RUN_ID_FIELD_NUMBER。

The RUN ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:142

NODE_ID_FIELD_NUMBER

public static final int NODE_ID_FIELD_NUMBER
staticfinal

节点标识 FIELD 数量字段。声明为 public static final int NODE_ID_FIELD_NUMBER。

The NODE ID FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:181

GENERATION_FIELD_NUMBER

public static final int GENERATION_FIELD_NUMBER
staticfinal

GENERATION FIELD 数量字段。声明为 public static final int GENERATION_FIELD_NUMBER。

The GENERATION FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:220

ACTION_FIELD_NUMBER

public static final int ACTION_FIELD_NUMBER
staticfinal

动作 FIELD 数量字段。声明为 public static final int ACTION_FIELD_NUMBER。

The ACTION FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:231

INPUT_IDS_FIELD_NUMBER

public static final int INPUT_IDS_FIELD_NUMBER
staticfinal

输入 IDS FIELD 数量字段。声明为 public static final int INPUT_IDS_FIELD_NUMBER。

The INPUT IDS FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:278

CONTENT_FIELD_NUMBER

public static final int CONTENT_FIELD_NUMBER
staticfinal

内容 FIELD 数量字段。声明为 public static final int CONTENT_FIELD_NUMBER。

The CONTENT FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:315

RESULT_FIELD_NUMBER

public static final int RESULT_FIELD_NUMBER
staticfinal

结果 FIELD 数量字段。声明为 public static final int RESULT_FIELD_NUMBER。

The RESULT FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:354

ERROR_CODE_FIELD_NUMBER

public static final int ERROR_CODE_FIELD_NUMBER
staticfinal

错误 CODE FIELD 数量字段。声明为 public static final int ERROR_CODE_FIELD_NUMBER。

The ERROR CODE FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:365

ERROR_MESSAGE_FIELD_NUMBER

public static final int ERROR_MESSAGE_FIELD_NUMBER
staticfinal

错误消息 FIELD 数量字段。声明为 public static final int ERROR_MESSAGE_FIELD_NUMBER。

The ERROR MESSAGE FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:404

CHECKPOINT_FIELD_NUMBER

public static final int CHECKPOINT_FIELD_NUMBER
staticfinal

检查点 FIELD 数量字段。声明为 public static final int CHECKPOINT_FIELD_NUMBER。

The CHECKPOINT FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:443

USAGE_FIELD_NUMBER

public static final int USAGE_FIELD_NUMBER
staticfinal

用量 FIELD 数量字段。声明为 public static final int USAGE_FIELD_NUMBER。

The USAGE FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:454

IDEMPOTENCY_KEY_FIELD_NUMBER

public static final int IDEMPOTENCY_KEY_FIELD_NUMBER
staticfinal

IDEMPOTENCY 键 FIELD 数量字段。声明为 public static final int IDEMPOTENCY_KEY_FIELD_NUMBER。

The IDEMPOTENCY KEY FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:465

ATTEMPT_TOKEN_FIELD_NUMBER

public static final int ATTEMPT_TOKEN_FIELD_NUMBER
staticfinal

尝试令牌 FIELD 数量字段。声明为 public static final int ATTEMPT_TOKEN_FIELD_NUMBER。

The ATTEMPT TOKEN FIELD NUMBER field.

源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:504

方法详情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:51–54

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:56–62

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:71–83

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:88–101

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:110–122

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:127–140

getRunId

public java.lang.String getRunId()

获取运行标识。

string run_id = 3;

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

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:166–179

getNodeId

public java.lang.String getNodeId()

获取节点标识。

string node_id = 4;

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

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:205–218

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 5;

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

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:242–254

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:263–276

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:286–289

getInputIdsCount

public int getInputIdsCount()

获取 getInputIdsCount。

repeated string input_ids = 7;

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

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:302–304

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:310–313

getContent

public java.lang.String getContent()

获取内容。

string content = 8;

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

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:339–352

getResult

public com.google.protobuf.ByteString getResult()

获取结果。

bytes result = 9;

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

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:372–384

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:389–402

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:411–423

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:428–441

getCheckpoint

public com.google.protobuf.ByteString getCheckpoint()

获取检查点。

bytes checkpoint = 12;

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

getUsage

public com.google.protobuf.ByteString getUsage()

获取用量。

bytes usage = 13;

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

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:472–484

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:489–502

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:511–523

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:528–541

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

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

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException

设置写入到。

Performs the write to operation.

参数Parameters
名称Name类型Type说明Description
outputcom.google.protobuf.CodedOutputStream输出(类型 `com.google.protobuf.CodedOutputStream`)。The output.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:554–603

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:605–668

equals

public boolean equals(java.lang.Object obj)

设置该参数。

Performs the equals operation.

参数Parameters
名称Name类型Type说明Description
objjava.lang.Objectobj(类型 `java.lang.Object`)。The obj.
返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:670–712

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:714–757

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datajava.nio.ByteBuffer数据(类型 `java.nio.ByteBuffer`)。The data.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:759–763

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datajava.nio.ByteBuffer数据(类型 `java.nio.ByteBuffer`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:764–769

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datacom.google.protobuf.ByteString数据(类型 `com.google.protobuf.ByteString`)。The data.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:770–774

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datacom.google.protobuf.ByteString数据(类型 `com.google.protobuf.ByteString`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:775–780

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
databyte[]数据(类型 `byte[]`)。The data.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:781–784

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
databyte[]数据(类型 `byte[]`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:785–790

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(java.io.InputStream input) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:791–795

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:796–802

parseDelimitedFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static

解析 parseDelimitedFrom。

Parses the delimited from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:804–808

parseDelimitedFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析 parseDelimitedFrom。

Parses the delimited from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:810–816

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputcom.google.protobuf.CodedInputStream输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input.
返回Returns io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:817–822

parseFrom

public static io.agentscope.aistio.proto.ExecutionAttemptReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析来自。

Parses the from.

参数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 io.agentscope.aistio.proto.ExecutionAttemptReport
返回io.agentscope.aistio.协议.ExecutionAttemptReport。Returns io agentscope aistio proto execution attempt report.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:823–829

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

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

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

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

newBuilder

public static Builder newBuilder(io.agentscope.aistio.proto.ExecutionAttemptReport prototype)
static

创建构建器。

Performs the new builder operation.

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

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

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

newBuilderForType

protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)

创建构建器用于类型。

Performs the new builder for type operation.

参数Parameters
名称Name类型Type说明Description
parentcom.google.protobuf.GeneratedMessage.BuilderParent父级(类型 `com.google.protobuf.GeneratedMessage.BuilderParent`)。The parent.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:845–850

getDefaultInstance

public static io.agentscope.aistio.proto.ExecutionAttemptReport getDefaultInstance()
static

获取默认实例。

Returns the default 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:2177–2179

parser

public static com.google.protobuf.Parser<ExecutionAttemptReport> parser()
static

返回解析器。

Returns the parser.

返回Returns com.google.protobuf.Parser<ExecutionAttemptReport>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2203–2205

getParserForType

public com.google.protobuf.Parser<ExecutionAttemptReport> getParserForType()

获取解析器用于类型。

Returns the parser for type.

返回Returns com.google.protobuf.Parser<ExecutionAttemptReport>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/aistio/proto/ExecutionAttemptReport.java:2207–2210

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:2212–2215

嵌套类详情Nested Class Detail

Builder

public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.aistio.proto.ExecutionAttemptReportOrBuilder

构建器,用于构建并配置目标实例。位于 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

基于官方固定版本源码静态生成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.