AS AgentScopeAPI 手册 / API Reference

ExecutionAttemptCommandOrBuilder

public interface ExecutionAttemptCommandOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:8–139

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

An interface in io.agentscope.controlplane.proto that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.controlplane.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 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;`

方法详情Method Detail

getAttemptId

public java.lang.String getAttemptId()

获取尝试标识。

string attempt_id = 1;

返回Returns java.lang.String
返回java.lang.String。The attemptId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.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/controlplane/proto/ExecutionAttemptCommandOrBuilder.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/controlplane/proto/ExecutionAttemptCommandOrBuilder.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/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:33–34

getRunId

public java.lang.String getRunId()

获取运行标识。

string run_id = 3;

返回Returns java.lang.String
运行标识。The runId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.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/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:45–46

getNodeId

public java.lang.String getNodeId()

获取节点标识。

string node_id = 4;

返回Returns java.lang.String
节点标识。The nodeId.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.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/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:57–58

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 5;

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

getCommand

public java.lang.String getCommand()

获取命令。

dispatch | cancel string command = 6;

返回Returns java.lang.String
命令。The command.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:74

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

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/ExecutionAttemptCommandOrBuilder.java:90

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/ExecutionAttemptCommandOrBuilder.java:95–96

getTaskToken

public java.lang.String getTaskToken()

获取任务令牌。

string task_token = 8;

返回Returns java.lang.String
返回java.lang.String。The taskToken.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:102

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/ExecutionAttemptCommandOrBuilder.java:107–108

getAttemptToken

public java.lang.String getAttemptToken()

获取尝试令牌。

string attempt_token = 9;

返回Returns java.lang.String
返回java.lang.String。The attemptToken.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:114

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/ExecutionAttemptCommandOrBuilder.java:119–120

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/ExecutionAttemptCommandOrBuilder.java:126

getPayload

public com.google.protobuf.ByteString getPayload()

获取负载。

bytes payload = 11;

返回Returns com.google.protobuf.ByteString
负载。The payload.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:132

getTimestamp

public long getTimestamp()

获取时间戳。

int64 timestamp = 12;

返回Returns long
时间戳。The timestamp.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommandOrBuilder.java:138
基于官方固定版本源码静态生成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.