PayloadCase
public enum PayloadCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum
io/agentscope/controlplane/proto/Downstream.java:48–89定义负载取值的枚举。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.Internal.EnumLite、com.google.protobuf.AbstractMessage.InternalOneOfEnum。核心成员包括 valueOf、forNumber、getNumber、CONNECT_ACK、CONFIG_PUSH、SESSION_CMD。
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_ACK | 执行连接确认相关操作。 Performs the CONNECT ACK operation. |
CONFIG_PUSH | 执行配置推送相关操作。 Performs the CONFIG PUSH operation. |
SESSION_CMD | 执行会话 CMD相关操作。 Performs the SESSION CMD operation. |
EXECUTION_ATTEMPT | 执行执行尝试相关操作。 Performs the EXECUTION ATTEMPT operation. |
HEARTBEAT | 执行心跳相关操作。 Performs the HEARTBEAT operation. |
CONVERSATION_TURN | 执行会话轮次相关操作。 Performs the CONVERSATION TURN operation. |
EVENT_ACK | 执行事件确认相关操作。 Performs the EVENT ACK 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_ACK
CONNECT_ACK(10)
执行连接确认相关操作。
Performs the CONNECT ACK operation.
io/agentscope/controlplane/proto/Downstream.java:51CONFIG_PUSH
CONFIG_PUSH(11)
执行配置推送相关操作。
Performs the CONFIG PUSH operation.
io/agentscope/controlplane/proto/Downstream.java:52SESSION_CMD
SESSION_CMD(12)
执行会话 CMD相关操作。
Performs the SESSION CMD operation.
io/agentscope/controlplane/proto/Downstream.java:53EXECUTION_ATTEMPT
EXECUTION_ATTEMPT(13)
执行执行尝试相关操作。
Performs the EXECUTION ATTEMPT operation.
io/agentscope/controlplane/proto/Downstream.java:54HEARTBEAT
HEARTBEAT(14)
执行心跳相关操作。
Performs the HEARTBEAT operation.
io/agentscope/controlplane/proto/Downstream.java:55CONVERSATION_TURN
CONVERSATION_TURN(15)
执行会话轮次相关操作。
Performs the CONVERSATION TURN operation.
io/agentscope/controlplane/proto/Downstream.java:56EVENT_ACK
EVENT_ACK(16)
执行事件确认相关操作。
Performs the EVENT ACK operation.
io/agentscope/controlplane/proto/Downstream.java:57PAYLOAD_NOT_SET
PAYLOAD_NOT_SET(0)
执行负载不设置相关操作。
Performs the PAYLOAD NOT SET operation.
io/agentscope/controlplane/proto/Downstream.java:58方法详情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/Downstream.java:68–71forNumber
public static PayloadCase forNumber(int value)
设置用于数量。
Performs the for number operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | int | 值(类型 `int`)。The value. |
PayloadCaseio/agentscope/controlplane/proto/Downstream.java:73–85getNumber
public int getNumber()
获取数量。
Returns the number.
intio/agentscope/controlplane/proto/Downstream.java:86–88