AS AgentScopeAPI 手册 / API Reference

ExecutionAttemptCommand

public final class ExecutionAttemptCommand extends com.google.protobuf.GeneratedMessage implements ExecutionAttemptCommandOrBuilder
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:11–1748

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

Protobuf type agentscope.protocol.v1.ExecutionAttemptCommand

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
Protobuf type `agentscope.protocol.v1.ExecutionAttemptCommand`

字段摘要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.
COMMAND_FIELD_NUMBER
staticfinal
int
命令 FIELD 数量字段。
The COMMAND FIELD NUMBER field.
CONTEXT_URL_FIELD_NUMBER
staticfinal
int
上下文 URL FIELD 数量字段。
The CONTEXT URL FIELD NUMBER field.
TASK_TOKEN_FIELD_NUMBER
staticfinal
int
任务令牌 FIELD 数量字段。
The TASK TOKEN FIELD NUMBER field.
ATTEMPT_TOKEN_FIELD_NUMBER
staticfinal
int
尝试令牌 FIELD 数量字段。
The ATTEMPT TOKEN FIELD NUMBER field.
RUNTIME_BINDING_FIELD_NUMBER
staticfinal
int
运行时绑定 FIELD 数量字段。
The RUNTIME BINDING FIELD NUMBER field.
PAYLOAD_FIELD_NUMBER
staticfinal
int
负载 FIELD 数量字段。
The PAYLOAD FIELD NUMBER field.
TIMESTAMP_FIELD_NUMBER
staticfinal
int
时间戳 FIELD 数量字段。
The TIMESTAMP 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 getCommand()
获取命令。
``` dispatch | cancel
public com.google.protobuf.ByteString getCommandBytes()
获取命令字节。
``` dispatch | cancel
public java.lang.String getContextUrl()
获取上下文 URL。
`string context_url = 7;`
public com.google.protobuf.ByteString getContextUrlBytes()
获取上下文 URL 字节。
`string context_url = 7;`
public java.lang.String getTaskToken()
获取任务令牌。
`string task_token = 8;`
public com.google.protobuf.ByteString getTaskTokenBytes()
获取任务令牌字节。
`string task_token = 8;`
public java.lang.String getAttemptToken()
获取尝试令牌。
`string attempt_token = 9;`
public com.google.protobuf.ByteString getAttemptTokenBytes()
获取尝试令牌字节。
`string attempt_token = 9;`
public com.google.protobuf.ByteString getRuntimeBinding()
获取运行时绑定。
`bytes runtime_binding = 10;`
public com.google.protobuf.ByteString getPayload()
获取负载。
`bytes payload = 11;`
public long getTimestamp()
获取时间戳。
`int64 timestamp = 12;`
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.controlplane.proto.ExecutionAttemptCommand parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<ExecutionAttemptCommand> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<ExecutionAttemptCommand> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.controlplane.proto.ExecutionAttemptCommand 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/controlplane/proto/ExecutionAttemptCommand.java:55

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/controlplane/proto/ExecutionAttemptCommand.java:94

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/controlplane/proto/ExecutionAttemptCommand.java:133

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/controlplane/proto/ExecutionAttemptCommand.java:172

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/controlplane/proto/ExecutionAttemptCommand.java:211

COMMAND_FIELD_NUMBER

public static final int COMMAND_FIELD_NUMBER
staticfinal

命令 FIELD 数量字段。声明为 public static final int COMMAND_FIELD_NUMBER。

The COMMAND FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:222

CONTEXT_URL_FIELD_NUMBER

public static final int CONTEXT_URL_FIELD_NUMBER
staticfinal

上下文 URL FIELD 数量字段。声明为 public static final int CONTEXT_URL_FIELD_NUMBER。

The CONTEXT URL FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:269

TASK_TOKEN_FIELD_NUMBER

public static final int TASK_TOKEN_FIELD_NUMBER
staticfinal

任务令牌 FIELD 数量字段。声明为 public static final int TASK_TOKEN_FIELD_NUMBER。

The TASK TOKEN FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:308

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/controlplane/proto/ExecutionAttemptCommand.java:347

RUNTIME_BINDING_FIELD_NUMBER

public static final int RUNTIME_BINDING_FIELD_NUMBER
staticfinal

运行时绑定 FIELD 数量字段。声明为 public static final int RUNTIME_BINDING_FIELD_NUMBER。

The RUNTIME BINDING FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:386

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
staticfinal

负载 FIELD 数量字段。声明为 public static final int PAYLOAD_FIELD_NUMBER。

The PAYLOAD FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:397

TIMESTAMP_FIELD_NUMBER

public static final int TIMESTAMP_FIELD_NUMBER
staticfinal

时间戳 FIELD 数量字段。声明为 public static final int TIMESTAMP_FIELD_NUMBER。

The TIMESTAMP FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:408

方法详情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/controlplane/proto/ExecutionAttemptCommand.java:42–45

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/controlplane/proto/ExecutionAttemptCommand.java:47–53

getAttemptId

public java.lang.String getAttemptId()

获取尝试标识。

string attempt_id = 1;

返回Returns java.lang.String
返回java.lang.String。The attemptId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:62–74

getAttemptIdBytes

public com.google.protobuf.ByteString getAttemptIdBytes()

获取尝试标识字节。

string attempt_id = 1;

返回Returns com.google.protobuf.ByteString
字节用于 attemptId。The bytes for attemptId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:79–92

getAgentTaskId

public java.lang.String getAgentTaskId()

获取智能体任务标识。

string agent_task_id = 2;

返回Returns java.lang.String
返回java.lang.String。The agentTaskId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:101–113

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/controlplane/proto/ExecutionAttemptCommand.java:118–131

getRunId

public java.lang.String getRunId()

获取运行标识。

string run_id = 3;

返回Returns java.lang.String
运行标识。The runId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:140–152

getRunIdBytes

public com.google.protobuf.ByteString getRunIdBytes()

获取运行标识字节。

string run_id = 3;

返回Returns com.google.protobuf.ByteString
字节用于运行标识。The bytes for runId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:157–170

getNodeId

public java.lang.String getNodeId()

获取节点标识。

string node_id = 4;

返回Returns java.lang.String
节点标识。The nodeId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:179–191

getNodeIdBytes

public com.google.protobuf.ByteString getNodeIdBytes()

获取节点标识字节。

string node_id = 4;

返回Returns com.google.protobuf.ByteString
字节用于节点标识。The bytes for nodeId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:196–209

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 5;

返回Returns long
返回数值结果。The generation.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:217–220

getCommand

public java.lang.String getCommand()

获取命令。

dispatch | cancel string command = 6;

返回Returns java.lang.String
命令。The command.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:233–245

getCommandBytes

public com.google.protobuf.ByteString getCommandBytes()

获取命令字节。

dispatch | cancel string command = 6;

返回Returns com.google.protobuf.ByteString
字节用于命令。The bytes for command.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:254–267

getContextUrl

public java.lang.String getContextUrl()

获取上下文 URL。

string context_url = 7;

返回Returns java.lang.String
返回java.lang.String。The contextUrl.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:276–288

getContextUrlBytes

public com.google.protobuf.ByteString getContextUrlBytes()

获取上下文 URL 字节。

string context_url = 7;

返回Returns com.google.protobuf.ByteString
字节用于 contextUrl。The bytes for contextUrl.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:293–306

getTaskToken

public java.lang.String getTaskToken()

获取任务令牌。

string task_token = 8;

返回Returns java.lang.String
返回java.lang.String。The taskToken.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:315–327

getTaskTokenBytes

public com.google.protobuf.ByteString getTaskTokenBytes()

获取任务令牌字节。

string task_token = 8;

返回Returns com.google.protobuf.ByteString
字节用于 taskToken。The bytes for taskToken.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:332–345

getAttemptToken

public java.lang.String getAttemptToken()

获取尝试令牌。

string attempt_token = 9;

返回Returns java.lang.String
返回java.lang.String。The attemptToken.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:354–366

getAttemptTokenBytes

public com.google.protobuf.ByteString getAttemptTokenBytes()

获取尝试令牌字节。

string attempt_token = 9;

返回Returns com.google.protobuf.ByteString
字节用于 attemptToken。The bytes for attemptToken.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:371–384

getRuntimeBinding

public com.google.protobuf.ByteString getRuntimeBinding()

获取运行时绑定。

bytes runtime_binding = 10;

返回Returns com.google.protobuf.ByteString
返回com.google.protobuf.ByteString。The runtimeBinding.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:392–395

getPayload

public com.google.protobuf.ByteString getPayload()

获取负载。

bytes payload = 11;

返回Returns com.google.protobuf.ByteString
负载。The payload.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:403–406

getTimestamp

public long getTimestamp()

获取时间戳。

int64 timestamp = 12;

返回Returns long
时间戳。The timestamp.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:414–417

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:420–428

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/controlplane/proto/ExecutionAttemptCommand.java:430–470

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:472–521

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/controlplane/proto/ExecutionAttemptCommand.java:523–559

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:561–597

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:599–603

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:604–609

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:610–614

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:615–620

parseFrom

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

解析来自。

Parses the from.

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

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:625–630

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:631–635

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:636–642

parseDelimitedFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:644–648

parseDelimitedFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:650–656

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:657–662

parseFrom

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand 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.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:663–669

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

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

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

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

newBuilder

public static Builder newBuilder(io.agentscope.controlplane.proto.ExecutionAttemptCommand prototype)
static

创建构建器。

Performs the new builder operation.

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

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

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

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/controlplane/proto/ExecutionAttemptCommand.java:685–690

getDefaultInstance

public static io.agentscope.controlplane.proto.ExecutionAttemptCommand getDefaultInstance()
static

获取默认实例。

Returns the default instance.

返回Returns io.agentscope.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1708–1710

parser

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

返回解析器。

Returns the parser.

返回Returns com.google.protobuf.Parser<ExecutionAttemptCommand>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1734–1736

getParserForType

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

获取解析器用于类型。

Returns the parser for type.

返回Returns com.google.protobuf.Parser<ExecutionAttemptCommand>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1738–1741

getDefaultInstanceForType

public io.agentscope.controlplane.proto.ExecutionAttemptCommand getDefaultInstanceForType()

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.controlplane.proto.ExecutionAttemptCommand
返回io.agentscope.controlplane.协议.ExecutionAttemptCommand。Returns io agentscope controlplane proto execution attempt command.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1743–1746

嵌套类详情Nested Class Detail

Builder

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

构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.ExecutionAttemptCommandOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。

Protobuf type agentscope.protocol.v1.ExecutionAttemptCommand

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