PayloadCase
public enum PayloadCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum
io/agentscope/controlplane/proto/Upstream.java:49–94定义负载取值的枚举。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.Internal.EnumLite、com.google.protobuf.AbstractMessage.InternalOneOfEnum。核心成员包括 valueOf、forNumber、getNumber、CONNECT、CONFIG_ACK、SESSION_REPORT。
A enum in io.agentscope.controlplane.proto that defines enum values used when components deploys, schedules and serves agents. Declared in io.agentscope.controlplane.proto. Implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum.
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
CONNECT | 建立连接并完成初始化。 Performs the CONNECT operation. |
CONFIG_ACK | 执行配置确认相关操作。 Performs the CONFIG ACK operation. |
SESSION_REPORT | 执行会话报告相关操作。 Performs the SESSION REPORT operation. |
EXECUTION_ATTEMPT | 执行执行尝试相关操作。 Performs the EXECUTION ATTEMPT operation. |
HEARTBEAT | 执行心跳相关操作。 Performs the HEARTBEAT operation. |
EVENT_REPORT | 执行事件报告相关操作。 Performs the EVENT REPORT operation. |
CONTEXT_REPORT | 执行上下文报告相关操作。 Performs the CONTEXT REPORT operation. |
INVENTORY | 执行清单相关操作。 Performs the INVENTORY operation. |
CONVERSATION_TURN | 执行会话轮次相关操作。 Performs the CONVERSATION TURN operation. |
PAYLOAD_NOT_SET | 执行负载不设置相关操作。 Performs the PAYLOAD NOT SET operation. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static PayloadCase valueOf(int value)staticdeprecated | 设置值的。 Performs the value of operation. |
public static PayloadCase forNumber(int value)static | 设置用于数量。 Performs the for number operation. |
public int getNumber() | 获取数量。 Returns the number. |
枚举常量详情Enum Constant Detail
CONNECT
CONNECT(10)
建立连接并完成初始化。
Performs the CONNECT operation.
io/agentscope/controlplane/proto/Upstream.java:52CONFIG_ACK
CONFIG_ACK(11)
执行配置确认相关操作。
Performs the CONFIG ACK operation.
io/agentscope/controlplane/proto/Upstream.java:53SESSION_REPORT
SESSION_REPORT(12)
执行会话报告相关操作。
Performs the SESSION REPORT operation.
io/agentscope/controlplane/proto/Upstream.java:54EXECUTION_ATTEMPT
EXECUTION_ATTEMPT(13)
执行执行尝试相关操作。
Performs the EXECUTION ATTEMPT operation.
io/agentscope/controlplane/proto/Upstream.java:55HEARTBEAT
HEARTBEAT(14)
执行心跳相关操作。
Performs the HEARTBEAT operation.
io/agentscope/controlplane/proto/Upstream.java:56EVENT_REPORT
EVENT_REPORT(15)
执行事件报告相关操作。
Performs the EVENT REPORT operation.
io/agentscope/controlplane/proto/Upstream.java:57CONTEXT_REPORT
CONTEXT_REPORT(16)
执行上下文报告相关操作。
Performs the CONTEXT REPORT operation.
io/agentscope/controlplane/proto/Upstream.java:58INVENTORY
INVENTORY(17)
执行清单相关操作。
Performs the INVENTORY operation.
io/agentscope/controlplane/proto/Upstream.java:59CONVERSATION_TURN
CONVERSATION_TURN(18)
执行会话轮次相关操作。
Performs the CONVERSATION TURN operation.
io/agentscope/controlplane/proto/Upstream.java:60PAYLOAD_NOT_SET
PAYLOAD_NOT_SET(0)
执行负载不设置相关操作。
Performs the PAYLOAD NOT SET operation.
io/agentscope/controlplane/proto/Upstream.java:61方法详情Method Detail
valueOf
public static PayloadCase valueOf(int value)
设置值的。
Performs the value of operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | int | 值(类型 `int`)。The number of the enum to look for. |
PayloadCaseio/agentscope/controlplane/proto/Upstream.java:71–74forNumber
public static PayloadCase forNumber(int value)
设置用于数量。
Performs the for number operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | int | 值(类型 `int`)。The value. |
PayloadCaseio/agentscope/controlplane/proto/Upstream.java:76–90getNumber
public int getNumber()
获取数量。
Returns the number.
intio/agentscope/controlplane/proto/Upstream.java:91–93