ConfigType
public enum ConfigType implements com.google.protobuf.ProtocolMessageEnum
io/agentscope/controlplane/proto/ConfigType.java:15–163定义配置类型的枚举。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.ProtocolMessageEnum。核心成员包括 getNumber、valueOf、forNumber、internalGetValueMap、getValueDescriptor、getDescriptorForType。
ConfigType identifies the type of configuration resource (analogous to xDS type_url).
Protobuf enum agentscope.protocol.v1.ConfigType
枚举常量摘要Enum Constant Summary
| 常量Constant | 说明Description |
|---|---|
CONFIG_TYPE_UNSPECIFIED | 执行配置类型 UNSPECIFIED相关操作。 `CONFIG_TYPE_UNSPECIFIED = 0;` |
CONFIG_TYPE_AGENT | 执行配置类型智能体相关操作。 `CONFIG_TYPE_AGENT = 1;` |
CONFIG_TYPE_TOOL | 执行配置类型工具相关操作。 `CONFIG_TYPE_TOOL = 2;` |
CONFIG_TYPE_SKILL | 执行配置类型技能相关操作。 `CONFIG_TYPE_SKILL = 3;` |
CONFIG_TYPE_OVERRIDE | 执行配置类型 OVERRIDE相关操作。 `CONFIG_TYPE_OVERRIDE = 4;` |
CONFIG_TYPE_MODEL | 执行配置类型模型相关操作。 `CONFIG_TYPE_MODEL = 5;` |
UNRECOGNIZED | 执行 `UNRECOGNIZED` 方法。 Performs the UNRECOGNIZED operation. |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
CONFIG_TYPE_UNSPECIFIED_VALUEstaticfinal | int | 配置类型 UNSPECIFIED 值字段。 `CONFIG_TYPE_UNSPECIFIED = 0;` |
CONFIG_TYPE_AGENT_VALUEstaticfinal | int | 配置类型智能体值字段。 `CONFIG_TYPE_AGENT = 1;` |
CONFIG_TYPE_TOOL_VALUEstaticfinal | int | 配置类型工具值字段。 `CONFIG_TYPE_TOOL = 2;` |
CONFIG_TYPE_SKILL_VALUEstaticfinal | int | 配置类型技能值字段。 `CONFIG_TYPE_SKILL = 3;` |
CONFIG_TYPE_OVERRIDE_VALUEstaticfinal | int | 配置类型 OVERRIDE 值字段。 `CONFIG_TYPE_OVERRIDE = 4;` |
CONFIG_TYPE_MODEL_VALUEstaticfinal | int | 配置类型模型值字段。 `CONFIG_TYPE_MODEL = 5;` |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public final int getNumber()final | 获取数量。 Returns the number. |
public static ConfigType valueOf(int value)staticdeprecated | 设置值的。 Performs the value of operation. |
public static ConfigType forNumber(int value)static | 设置用于数量。 Performs the for number operation. |
public static com.google.protobuf.Internal.EnumLiteMap<ConfigType> internalGetValueMap()static | 返回内部读取值映射。 Returns the internal get value map. |
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()final | 获取值描述符。 Returns the value descriptor. |
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()final | 获取 `getDescriptorForType`。 Returns the descriptor for type. |
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()staticfinal | 获取描述符。 Returns the descriptor. |
public static ConfigType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)static | 设置值的。 Performs the value of operation. |
枚举常量详情Enum Constant Detail
CONFIG_TYPE_UNSPECIFIED
CONFIG_TYPE_UNSPECIFIED(0)
执行配置类型 UNSPECIFIED相关操作。
CONFIG_TYPE_UNSPECIFIED = 0;
io/agentscope/controlplane/proto/ConfigType.java:20CONFIG_TYPE_AGENT
CONFIG_TYPE_AGENT(1)
执行配置类型智能体相关操作。
CONFIG_TYPE_AGENT = 1;
io/agentscope/controlplane/proto/ConfigType.java:24CONFIG_TYPE_TOOL
CONFIG_TYPE_TOOL(2)
执行配置类型工具相关操作。
CONFIG_TYPE_TOOL = 2;
io/agentscope/controlplane/proto/ConfigType.java:28CONFIG_TYPE_SKILL
CONFIG_TYPE_SKILL(3)
执行配置类型技能相关操作。
CONFIG_TYPE_SKILL = 3;
io/agentscope/controlplane/proto/ConfigType.java:32CONFIG_TYPE_OVERRIDE
CONFIG_TYPE_OVERRIDE(4)
执行配置类型 OVERRIDE相关操作。
CONFIG_TYPE_OVERRIDE = 4;
io/agentscope/controlplane/proto/ConfigType.java:36CONFIG_TYPE_MODEL
CONFIG_TYPE_MODEL(5)
执行配置类型模型相关操作。
CONFIG_TYPE_MODEL = 5;
io/agentscope/controlplane/proto/ConfigType.java:40UNRECOGNIZED
UNRECOGNIZED(-1)
执行 UNRECOGNIZED 方法。
Performs the UNRECOGNIZED operation.
io/agentscope/controlplane/proto/ConfigType.java:41字段详情Field Detail
CONFIG_TYPE_UNSPECIFIED_VALUE
public static final int CONFIG_TYPE_UNSPECIFIED_VALUE
配置类型 UNSPECIFIED 值字段。声明为 public static final int CONFIG_TYPE_UNSPECIFIED_VALUE。
CONFIG_TYPE_UNSPECIFIED = 0;
io/agentscope/controlplane/proto/ConfigType.java:56CONFIG_TYPE_AGENT_VALUE
public static final int CONFIG_TYPE_AGENT_VALUE
配置类型智能体值字段。声明为 public static final int CONFIG_TYPE_AGENT_VALUE。
CONFIG_TYPE_AGENT = 1;
io/agentscope/controlplane/proto/ConfigType.java:60CONFIG_TYPE_TOOL_VALUE
public static final int CONFIG_TYPE_TOOL_VALUE
配置类型工具值字段。声明为 public static final int CONFIG_TYPE_TOOL_VALUE。
CONFIG_TYPE_TOOL = 2;
io/agentscope/controlplane/proto/ConfigType.java:64CONFIG_TYPE_SKILL_VALUE
public static final int CONFIG_TYPE_SKILL_VALUE
配置类型技能值字段。声明为 public static final int CONFIG_TYPE_SKILL_VALUE。
CONFIG_TYPE_SKILL = 3;
io/agentscope/controlplane/proto/ConfigType.java:68CONFIG_TYPE_OVERRIDE_VALUE
public static final int CONFIG_TYPE_OVERRIDE_VALUE
配置类型 OVERRIDE 值字段。声明为 public static final int CONFIG_TYPE_OVERRIDE_VALUE。
CONFIG_TYPE_OVERRIDE = 4;
io/agentscope/controlplane/proto/ConfigType.java:72CONFIG_TYPE_MODEL_VALUE
public static final int CONFIG_TYPE_MODEL_VALUE
配置类型模型值字段。声明为 public static final int CONFIG_TYPE_MODEL_VALUE。
CONFIG_TYPE_MODEL = 5;
io/agentscope/controlplane/proto/ConfigType.java:76方法详情Method Detail
getNumber
public final int getNumber()
获取数量。
Returns the number.
intio/agentscope/controlplane/proto/ConfigType.java:79–85valueOf
public static ConfigType valueOf(int value)
设置值的。
Performs the value of operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | int | 值(类型 `int`)。The numeric wire value of the corresponding enum entry. |
ConfigTypeio/agentscope/controlplane/proto/ConfigType.java:92–95forNumber
public static ConfigType forNumber(int value)
设置用于数量。
Performs the for number operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | int | 值(类型 `int`)。The numeric wire value of the corresponding enum entry. |
ConfigTypeio/agentscope/controlplane/proto/ConfigType.java:101–111internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ConfigType> internalGetValueMap()
返回内部读取值映射。
Returns the internal get value map.
com.google.protobuf.Internal.EnumLiteMap<ConfigType>io/agentscope/controlplane/proto/ConfigType.java:113–116getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
获取值描述符。
Returns the value descriptor.
com.google.protobuf.Descriptors.EnumValueDescriptorio/agentscope/controlplane/proto/ConfigType.java:125–132getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
获取 getDescriptorForType。
Returns the descriptor for type.
com.google.protobuf.Descriptors.EnumDescriptorio/agentscope/controlplane/proto/ConfigType.java:133–136getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.EnumDescriptorio/agentscope/controlplane/proto/ConfigType.java:137–140valueOf
public static ConfigType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
设置值的。
Performs the value of operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
desc | com.google.protobuf.Descriptors.EnumValueDescriptor | desc(类型 `com.google.protobuf.Descriptors.EnumValueDescriptor`)。The desc. |
ConfigTypeio/agentscope/controlplane/proto/ConfigType.java:144–154