AS AgentScopeAPI 手册 / API Reference

ConfigType

public enum ConfigType implements com.google.protobuf.ProtocolMessageEnum
源码Source 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_VALUE
staticfinal
int
配置类型 UNSPECIFIED 值字段。
`CONFIG_TYPE_UNSPECIFIED = 0;`
CONFIG_TYPE_AGENT_VALUE
staticfinal
int
配置类型智能体值字段。
`CONFIG_TYPE_AGENT = 1;`
CONFIG_TYPE_TOOL_VALUE
staticfinal
int
配置类型工具值字段。
`CONFIG_TYPE_TOOL = 2;`
CONFIG_TYPE_SKILL_VALUE
staticfinal
int
配置类型技能值字段。
`CONFIG_TYPE_SKILL = 3;`
CONFIG_TYPE_OVERRIDE_VALUE
staticfinal
int
配置类型 OVERRIDE 值字段。
`CONFIG_TYPE_OVERRIDE = 4;`
CONFIG_TYPE_MODEL_VALUE
staticfinal
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)
staticfinal

执行配置类型 UNSPECIFIED相关操作。

CONFIG_TYPE_UNSPECIFIED = 0;

源码Source io/agentscope/controlplane/proto/ConfigType.java:20

CONFIG_TYPE_AGENT

CONFIG_TYPE_AGENT(1)
staticfinal

执行配置类型智能体相关操作。

CONFIG_TYPE_AGENT = 1;

源码Source io/agentscope/controlplane/proto/ConfigType.java:24

CONFIG_TYPE_TOOL

CONFIG_TYPE_TOOL(2)
staticfinal

执行配置类型工具相关操作。

CONFIG_TYPE_TOOL = 2;

源码Source io/agentscope/controlplane/proto/ConfigType.java:28

CONFIG_TYPE_SKILL

CONFIG_TYPE_SKILL(3)
staticfinal

执行配置类型技能相关操作。

CONFIG_TYPE_SKILL = 3;

源码Source io/agentscope/controlplane/proto/ConfigType.java:32

CONFIG_TYPE_OVERRIDE

CONFIG_TYPE_OVERRIDE(4)
staticfinal

执行配置类型 OVERRIDE相关操作。

CONFIG_TYPE_OVERRIDE = 4;

源码Source io/agentscope/controlplane/proto/ConfigType.java:36

CONFIG_TYPE_MODEL

CONFIG_TYPE_MODEL(5)
staticfinal

执行配置类型模型相关操作。

CONFIG_TYPE_MODEL = 5;

源码Source io/agentscope/controlplane/proto/ConfigType.java:40

UNRECOGNIZED

UNRECOGNIZED(-1)
staticfinal

执行 UNRECOGNIZED 方法。

Performs the UNRECOGNIZED operation.

源码Source io/agentscope/controlplane/proto/ConfigType.java:41

字段详情Field Detail

CONFIG_TYPE_UNSPECIFIED_VALUE

public static final int CONFIG_TYPE_UNSPECIFIED_VALUE
staticfinal

配置类型 UNSPECIFIED 值字段。声明为 public static final int CONFIG_TYPE_UNSPECIFIED_VALUE。

CONFIG_TYPE_UNSPECIFIED = 0;

源码Source io/agentscope/controlplane/proto/ConfigType.java:56

CONFIG_TYPE_AGENT_VALUE

public static final int CONFIG_TYPE_AGENT_VALUE
staticfinal

配置类型智能体值字段。声明为 public static final int CONFIG_TYPE_AGENT_VALUE。

CONFIG_TYPE_AGENT = 1;

源码Source io/agentscope/controlplane/proto/ConfigType.java:60

CONFIG_TYPE_TOOL_VALUE

public static final int CONFIG_TYPE_TOOL_VALUE
staticfinal

配置类型工具值字段。声明为 public static final int CONFIG_TYPE_TOOL_VALUE。

CONFIG_TYPE_TOOL = 2;

源码Source io/agentscope/controlplane/proto/ConfigType.java:64

CONFIG_TYPE_SKILL_VALUE

public static final int CONFIG_TYPE_SKILL_VALUE
staticfinal

配置类型技能值字段。声明为 public static final int CONFIG_TYPE_SKILL_VALUE。

CONFIG_TYPE_SKILL = 3;

源码Source io/agentscope/controlplane/proto/ConfigType.java:68

CONFIG_TYPE_OVERRIDE_VALUE

public static final int CONFIG_TYPE_OVERRIDE_VALUE
staticfinal

配置类型 OVERRIDE 值字段。声明为 public static final int CONFIG_TYPE_OVERRIDE_VALUE。

CONFIG_TYPE_OVERRIDE = 4;

源码Source io/agentscope/controlplane/proto/ConfigType.java:72

CONFIG_TYPE_MODEL_VALUE

public static final int CONFIG_TYPE_MODEL_VALUE
staticfinal

配置类型模型值字段。声明为 public static final int CONFIG_TYPE_MODEL_VALUE。

CONFIG_TYPE_MODEL = 5;

源码Source io/agentscope/controlplane/proto/ConfigType.java:76

方法详情Method Detail

getNumber

public final int getNumber()
final

获取数量。

Returns the number.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/ConfigType.java:79–85

valueOf

public static ConfigType valueOf(int value)
staticdeprecated

设置值的。

Performs the value of operation.

已弃用。Deprecated. 已弃用,请改用受支持的替代 API。Use `#forNumber(int)` instead.
参数Parameters
名称Name类型Type说明Description
valueint值(类型 `int`)。The numeric wire value of the corresponding enum entry.
返回Returns ConfigType
返回ConfigType。The enum associated with the given numeric wire value.
源码Source io/agentscope/controlplane/proto/ConfigType.java:92–95

forNumber

public static ConfigType forNumber(int value)
static

设置用于数量。

Performs the for number operation.

参数Parameters
名称Name类型Type说明Description
valueint值(类型 `int`)。The numeric wire value of the corresponding enum entry.
返回Returns ConfigType
返回ConfigType。The enum associated with the given numeric wire value.
源码Source io/agentscope/controlplane/proto/ConfigType.java:101–111

internalGetValueMap

public static com.google.protobuf.Internal.EnumLiteMap<ConfigType> internalGetValueMap()
static

返回内部读取值映射。

Returns the internal get value map.

返回Returns com.google.protobuf.Internal.EnumLiteMap<ConfigType>
返回com.google.protobuf.内部.EnumLiteMap。Returns com google protobuf internal enum lite map.
源码Source io/agentscope/controlplane/proto/ConfigType.java:113–116

getValueDescriptor

public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
final

获取值描述符。

Returns the value descriptor.

返回Returns com.google.protobuf.Descriptors.EnumValueDescriptor
返回com.google.protobuf.Descriptors.EnumValueDescriptor。Returns com google protobuf descriptors enum value descriptor.
源码Source io/agentscope/controlplane/proto/ConfigType.java:125–132

getDescriptorForType

public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
final

获取 getDescriptorForType。

Returns the descriptor for type.

返回Returns com.google.protobuf.Descriptors.EnumDescriptor
返回com.google.protobuf.Descriptors.EnumDescriptor。Returns com google protobuf descriptors enum descriptor.
源码Source io/agentscope/controlplane/proto/ConfigType.java:133–136

getDescriptor

public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
staticfinal

获取描述符。

Returns the descriptor.

返回Returns com.google.protobuf.Descriptors.EnumDescriptor
返回com.google.protobuf.Descriptors.EnumDescriptor。Returns com google protobuf descriptors enum descriptor.
源码Source io/agentscope/controlplane/proto/ConfigType.java:137–140

valueOf

public static ConfigType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

设置值的。

Performs the value of operation.

参数Parameters
名称Name类型Type说明Description
desccom.google.protobuf.Descriptors.EnumValueDescriptordesc(类型 `com.google.protobuf.Descriptors.EnumValueDescriptor`)。The desc.
返回Returns ConfigType
返回ConfigType。Returns config type.
源码Source io/agentscope/controlplane/proto/ConfigType.java:144–154
基于官方固定版本源码静态生成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.