AS AgentScopeAPI 手册 / API Reference

Builder

public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.ExecutionAttemptCommandOrBuilder
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:694–1700

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

方法摘要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.controlplane.proto.ExecutionAttemptCommand getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
public io.agentscope.controlplane.proto.ExecutionAttemptCommand build()
构建并返回最终实例。
Creates and returns an instance.
public io.agentscope.controlplane.proto.ExecutionAttemptCommand buildPartial()
构建 `buildPartial`。
Builds the partial.
public Builder mergeFrom(com.google.protobuf.Message other)
设置该配置项。
Performs the merge from operation.
public Builder mergeFrom(io.agentscope.controlplane.proto.ExecutionAttemptCommand 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 getCommand()
获取命令。
``` dispatch | cancel
public com.google.protobuf.ByteString getCommandBytes()
获取命令字节。
``` dispatch | cancel
public Builder setCommand(java.lang.String value)
设置设置命令。
``` dispatch | cancel
public Builder clearCommand()
清空命令。
``` dispatch | cancel
public Builder setCommandBytes(com.google.protobuf.ByteString value)
设置设置命令字节。
``` dispatch | cancel
public java.lang.String getContextUrl()
获取上下文 URL。
`string context_url = 7;`
public com.google.protobuf.ByteString getContextUrlBytes()
获取上下文 URL 字节。
`string context_url = 7;`
public Builder setContextUrl(java.lang.String value)
设置设置上下文 URL。
`string context_url = 7;`
public Builder clearContextUrl()
清空上下文 URL。
`string context_url = 7;`
public Builder setContextUrlBytes(com.google.protobuf.ByteString value)
设置设置上下文 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 Builder setTaskToken(java.lang.String value)
设置设置任务令牌。
`string task_token = 8;`
public Builder clearTaskToken()
清空任务令牌。
`string task_token = 8;`
public Builder setTaskTokenBytes(com.google.protobuf.ByteString value)
设置设置任务令牌字节。
`string task_token = 8;`
public java.lang.String getAttemptToken()
获取尝试令牌。
`string attempt_token = 9;`
public com.google.protobuf.ByteString getAttemptTokenBytes()
获取尝试令牌字节。
`string attempt_token = 9;`
public Builder setAttemptToken(java.lang.String value)
设置设置尝试令牌。
`string attempt_token = 9;`
public Builder clearAttemptToken()
清空尝试令牌。
`string attempt_token = 9;`
public Builder setAttemptTokenBytes(com.google.protobuf.ByteString value)
设置设置尝试令牌字节。
`string attempt_token = 9;`
public com.google.protobuf.ByteString getRuntimeBinding()
获取运行时绑定。
`bytes runtime_binding = 10;`
public Builder setRuntimeBinding(com.google.protobuf.ByteString value)
设置设置运行时绑定。
`bytes runtime_binding = 10;`
public Builder clearRuntimeBinding()
清空运行时绑定。
`bytes runtime_binding = 10;`
public com.google.protobuf.ByteString getPayload()
获取负载。
`bytes payload = 11;`
public Builder setPayload(com.google.protobuf.ByteString value)
设置设置负载。
`bytes payload = 11;`
public Builder clearPayload()
清空负载。
`bytes payload = 11;`
public long getTimestamp()
获取时间戳。
`int64 timestamp = 12;`
public Builder setTimestamp(long value)
设置设置时间戳。
`int64 timestamp = 12;`
public Builder clearTimestamp()
清空时间戳。
`int64 timestamp = 12;`

方法详情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:698–701

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:703–709

clear

public Builder clear()

清空或重置内部状态。

Clears or resets internal state.

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

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

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:746–749

build

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

构建并返回最终实例。

Creates and returns an 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:751–758

buildPartial

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

构建 buildPartial。

Builds the partial.

返回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:760–766

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

mergeFrom

public Builder mergeFrom(io.agentscope.controlplane.proto.ExecutionAttemptCommand other)

设置该配置项。

Performs the merge from operation.

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

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

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

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

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:980–991

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:996–1008

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

clearAttemptId

public Builder clearAttemptId()

清空尝试标识。

string attempt_id = 1;

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

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

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:1052–1063

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:1068–1080

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

clearAgentTaskId

public Builder clearAgentTaskId()

清空智能体任务标识。

string agent_task_id = 2;

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

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

getRunId

public java.lang.String getRunId()

获取运行标识。

string run_id = 3;

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

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:1140–1152

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

clearRunId

public Builder clearRunId()

清空运行标识。

string run_id = 3;

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

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

getNodeId

public java.lang.String getNodeId()

获取节点标识。

string node_id = 4;

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

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:1212–1224

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

clearNodeId

public Builder clearNodeId()

清空节点标识。

string node_id = 4;

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

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

getGeneration

public long getGeneration()

获取 getGeneration。

int64 generation = 5;

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

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

clearGeneration

public Builder clearGeneration()

清空 clearGeneration。

int64 generation = 5;

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

getCommand

public java.lang.String getCommand()

获取命令。

dispatch | cancel string command = 6;

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

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:1324–1336

setCommand

public Builder setCommand(java.lang.String value)

设置设置命令。

dispatch | cancel string command = 6;

参数Parameters
名称Name类型Type说明Description
valuejava.lang.String命令到设置。The command to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1346–1353

clearCommand

public Builder clearCommand()

清空命令。

dispatch | cancel string command = 6;

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

setCommandBytes

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

设置设置命令字节。

dispatch | cancel string command = 6;

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

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:1392–1403

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:1408–1420

setContextUrl

public Builder setContextUrl(java.lang.String value)

设置设置上下文 URL。

string context_url = 7;

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

clearContextUrl

public Builder clearContextUrl()

清空上下文 URL。

string context_url = 7;

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

setContextUrlBytes

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

设置设置上下文 URL 字节。

string context_url = 7;

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

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:1464–1475

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:1480–1492

setTaskToken

public Builder setTaskToken(java.lang.String value)

设置设置任务令牌。

string task_token = 8;

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

clearTaskToken

public Builder clearTaskToken()

清空任务令牌。

string task_token = 8;

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

setTaskTokenBytes

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

设置设置任务令牌字节。

string task_token = 8;

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

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:1536–1547

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:1552–1564

setAttemptToken

public Builder setAttemptToken(java.lang.String value)

设置设置尝试令牌。

string attempt_token = 9;

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

clearAttemptToken

public Builder clearAttemptToken()

清空尝试令牌。

string attempt_token = 9;

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

setAttemptTokenBytes

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

设置设置尝试令牌字节。

string attempt_token = 9;

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

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:1608–1611

setRuntimeBinding

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

设置设置运行时绑定。

bytes runtime_binding = 10;

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

clearRuntimeBinding

public Builder clearRuntimeBinding()

清空运行时绑定。

bytes runtime_binding = 10;

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

getPayload

public com.google.protobuf.ByteString getPayload()

获取负载。

bytes payload = 11;

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

setPayload

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

设置设置负载。

bytes payload = 11;

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

clearPayload

public Builder clearPayload()

清空负载。

bytes payload = 11;

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

getTimestamp

public long getTimestamp()

获取时间戳。

int64 timestamp = 12;

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

setTimestamp

public Builder setTimestamp(long value)

设置设置时间戳。

int64 timestamp = 12;

参数Parameters
名称Name类型Type说明Description
valuelong时间戳到设置。The timestamp to set.
返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1681–1687

clearTimestamp

public Builder clearTimestamp()

清空时间戳。

int64 timestamp = 12;

返回Returns Builder
返回当前实例,以支持链式调用。This builder for chaining.
源码Source io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1692–1697
基于官方固定版本源码静态生成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.