Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.ExecutionAttemptCommandOrBuilder
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 Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:698–701internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:703–709clear
public Builder clear()
清空或重置内部状态。
Clears or resets internal state.
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:721–738getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 getDescriptorForType。
Returns the descriptor for type.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:740–744getDefaultInstanceForType
public io.agentscope.controlplane.proto.ExecutionAttemptCommand getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.ExecutionAttemptCommandio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:746–749build
public io.agentscope.controlplane.proto.ExecutionAttemptCommand build()
构建并返回最终实例。
Creates and returns an instance.
io.agentscope.controlplane.proto.ExecutionAttemptCommandio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:751–758buildPartial
public io.agentscope.controlplane.proto.ExecutionAttemptCommand buildPartial()
构建 buildPartial。
Builds the partial.
io.agentscope.controlplane.proto.ExecutionAttemptCommandio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:760–766mergeFrom
public Builder mergeFrom(com.google.protobuf.Message other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | com.google.protobuf.Message | other(类型 `com.google.protobuf.Message`)。The other. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:808–816mergeFrom
public Builder mergeFrom(io.agentscope.controlplane.proto.ExecutionAttemptCommand other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | io.agentscope.controlplane.proto.ExecutionAttemptCommand | other(类型 `io.agentscope.controlplane.proto.ExecutionAttemptCommand`)。The other. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:818–875isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:877–880mergeFrom
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
Builderjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ExecutionAttemptCommand.java:882–972getAttemptId
public java.lang.String getAttemptId()
获取尝试标识。
string attempt_id = 1;
java.lang.Stringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:980–991getAttemptIdBytes
public com.google.protobuf.ByteString getAttemptIdBytes()
获取尝试标识字节。
string attempt_id = 1;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:996–1008setAttemptId
public Builder setAttemptId(java.lang.String value)
设置设置尝试标识。
string attempt_id = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | attemptId 到设置。The attemptId to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1014–1021clearAttemptId
public Builder clearAttemptId()
清空尝试标识。
string attempt_id = 1;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1026–1031setAttemptIdBytes
public Builder setAttemptIdBytes(com.google.protobuf.ByteString value)
设置设置尝试标识字节。
string attempt_id = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 attemptId 到设置。The bytes for attemptId to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1037–1045getAgentTaskId
public java.lang.String getAgentTaskId()
获取智能体任务标识。
string agent_task_id = 2;
java.lang.Stringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1052–1063getAgentTaskIdBytes
public com.google.protobuf.ByteString getAgentTaskIdBytes()
获取智能体任务标识字节。
string agent_task_id = 2;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1068–1080setAgentTaskId
public Builder setAgentTaskId(java.lang.String value)
设置设置智能体任务标识。
string agent_task_id = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | agentTaskId 到设置。The agentTaskId to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1086–1093clearAgentTaskId
public Builder clearAgentTaskId()
清空智能体任务标识。
string agent_task_id = 2;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1098–1103setAgentTaskIdBytes
public Builder setAgentTaskIdBytes(com.google.protobuf.ByteString value)
设置设置智能体任务标识字节。
string agent_task_id = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 agentTaskId 到设置。The bytes for agentTaskId to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1109–1117getRunId
public java.lang.String getRunId()
获取运行标识。
string run_id = 3;
java.lang.Stringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1124–1135getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()
获取运行标识字节。
string run_id = 3;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1140–1152setRunId
public Builder setRunId(java.lang.String value)
设置设置运行标识。
string run_id = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 运行标识到设置。The runId to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1158–1165clearRunId
public Builder clearRunId()
清空运行标识。
string run_id = 3;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1170–1175setRunIdBytes
public Builder setRunIdBytes(com.google.protobuf.ByteString value)
设置设置运行标识字节。
string run_id = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于运行标识到设置。The bytes for runId to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1181–1189getNodeId
public java.lang.String getNodeId()
获取节点标识。
string node_id = 4;
java.lang.Stringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1196–1207getNodeIdBytes
public com.google.protobuf.ByteString getNodeIdBytes()
获取节点标识字节。
string node_id = 4;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1212–1224setNodeId
public Builder setNodeId(java.lang.String value)
设置设置节点标识。
string node_id = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 节点标识到设置。The nodeId to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1230–1237clearNodeId
public Builder clearNodeId()
清空节点标识。
string node_id = 4;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1242–1247setNodeIdBytes
public Builder setNodeIdBytes(com.google.protobuf.ByteString value)
设置设置节点标识字节。
string node_id = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于节点标识到设置。The bytes for nodeId to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1253–1261getGeneration
public long getGeneration()
获取 getGeneration。
int64 generation = 5;
longio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1268–1271setGeneration
public Builder setGeneration(long value)
设置该配置项。
int64 generation = 5;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | long | 值(类型 `long`)。The generation to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1277–1283clearGeneration
public Builder clearGeneration()
清空 clearGeneration。
int64 generation = 5;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1288–1293getCommand
public java.lang.String getCommand()
获取命令。
dispatch | cancel string command = 6;
java.lang.Stringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1304–1315getCommandBytes
public com.google.protobuf.ByteString getCommandBytes()
获取命令字节。
dispatch | cancel string command = 6;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1324–1336setCommand
public Builder setCommand(java.lang.String value)
设置设置命令。
dispatch | cancel string command = 6;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 命令到设置。The command to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1346–1353clearCommand
public Builder clearCommand()
清空命令。
dispatch | cancel string command = 6;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1362–1367setCommandBytes
public Builder setCommandBytes(com.google.protobuf.ByteString value)
设置设置命令字节。
dispatch | cancel string command = 6;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于命令到设置。The bytes for command to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1377–1385getContextUrl
public java.lang.String getContextUrl()
获取上下文 URL。
string context_url = 7;
java.lang.Stringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1392–1403getContextUrlBytes
public com.google.protobuf.ByteString getContextUrlBytes()
获取上下文 URL 字节。
string context_url = 7;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1408–1420setContextUrl
public Builder setContextUrl(java.lang.String value)
设置设置上下文 URL。
string context_url = 7;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | contextUrl 到设置。The contextUrl to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1426–1433clearContextUrl
public Builder clearContextUrl()
清空上下文 URL。
string context_url = 7;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1438–1443setContextUrlBytes
public Builder setContextUrlBytes(com.google.protobuf.ByteString value)
设置设置上下文 URL 字节。
string context_url = 7;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 contextUrl 到设置。The bytes for contextUrl to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1449–1457getTaskToken
public java.lang.String getTaskToken()
获取任务令牌。
string task_token = 8;
java.lang.Stringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1464–1475getTaskTokenBytes
public com.google.protobuf.ByteString getTaskTokenBytes()
获取任务令牌字节。
string task_token = 8;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1480–1492setTaskToken
public Builder setTaskToken(java.lang.String value)
设置设置任务令牌。
string task_token = 8;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | taskToken 到设置。The taskToken to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1498–1505clearTaskToken
public Builder clearTaskToken()
清空任务令牌。
string task_token = 8;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1510–1515setTaskTokenBytes
public Builder setTaskTokenBytes(com.google.protobuf.ByteString value)
设置设置任务令牌字节。
string task_token = 8;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 taskToken 到设置。The bytes for taskToken to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1521–1529getAttemptToken
public java.lang.String getAttemptToken()
获取尝试令牌。
string attempt_token = 9;
java.lang.Stringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1536–1547getAttemptTokenBytes
public com.google.protobuf.ByteString getAttemptTokenBytes()
获取尝试令牌字节。
string attempt_token = 9;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1552–1564setAttemptToken
public Builder setAttemptToken(java.lang.String value)
设置设置尝试令牌。
string attempt_token = 9;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | attemptToken 到设置。The attemptToken to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1570–1577clearAttemptToken
public Builder clearAttemptToken()
清空尝试令牌。
string attempt_token = 9;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1582–1587setAttemptTokenBytes
public Builder setAttemptTokenBytes(com.google.protobuf.ByteString value)
设置设置尝试令牌字节。
string attempt_token = 9;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 attemptToken 到设置。The bytes for attemptToken to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1593–1601getRuntimeBinding
public com.google.protobuf.ByteString getRuntimeBinding()
获取运行时绑定。
bytes runtime_binding = 10;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1608–1611setRuntimeBinding
public Builder setRuntimeBinding(com.google.protobuf.ByteString value)
设置设置运行时绑定。
bytes runtime_binding = 10;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | runtimeBinding 到设置。The runtimeBinding to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1617–1623clearRuntimeBinding
public Builder clearRuntimeBinding()
清空运行时绑定。
bytes runtime_binding = 10;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1628–1633getPayload
public com.google.protobuf.ByteString getPayload()
获取负载。
bytes payload = 11;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1640–1643setPayload
public Builder setPayload(com.google.protobuf.ByteString value)
设置设置负载。
bytes payload = 11;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 负载到设置。The payload to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1649–1655clearPayload
public Builder clearPayload()
清空负载。
bytes payload = 11;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1660–1665getTimestamp
public long getTimestamp()
获取时间戳。
int64 timestamp = 12;
longio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1672–1675setTimestamp
public Builder setTimestamp(long value)
设置设置时间戳。
int64 timestamp = 12;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | long | 时间戳到设置。The timestamp to set. |
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1681–1687clearTimestamp
public Builder clearTimestamp()
清空时间戳。
int64 timestamp = 12;
Builderio/agentscope/controlplane/proto/ExecutionAttemptCommand.java:1692–1697