Constants
public class Constants
io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:22–66Constants,支持智能体之间的发现、委派与协作。位于 io.agentscope.extensions.runtime.a2a.nacos.constant 包。核心成员包括 PROTOCOL_TYPE_HTTP、PROTOCOL_TYPE_HTTPS、AGENTSCOPE_RUNTIME_A2A_PREFIX、NACOS_PREFIX、REGISTRY_PREFIX、PROPERTIES_ENV_PREFIX。
@author xiweng.yy Declared in io.agentscope.extensions.runtime.a2a.nacos.constant.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
TransportPropertiesAttribute | 枚举enum | 定义传输层属性属性相关取值的枚举。 A enum in io.agentscope.extensions.runtime.a2a.nacos.constant that defines enum values used when components supports discovery, delegation and collaboration between agents. |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
PROTOCOL_TYPE_HTTPstaticfinal | String | 协议类型 HTTP字段。 The PROTOCOL TYPE HTTP field. |
PROTOCOL_TYPE_HTTPSstaticfinal | String | 协议类型 HTTP S字段。 The PROTOCOL TYPE HTTP s field. |
AGENTSCOPE_RUNTIME_A2A_PREFIXstaticfinal | String | AGENTSCOPE 运行时 A2A PREFIX字段。 The AGENTSCOPE RUNTIME A2A PREFIX field. |
NACOS_PREFIXstaticfinal | String | `NACOS_PREFIX` 字段。 The NACOS PREFIX field. |
REGISTRY_PREFIXstaticfinal | String | 注册表 PREFIX字段。 The REGISTRY PREFIX field. |
PROPERTIES_ENV_PREFIXstaticfinal | String | 属性 ENV PREFIX字段。 The PROPERTIES ENV PREFIX field. |
字段详情Field Detail
PROTOCOL_TYPE_HTTP
public static final String PROTOCOL_TYPE_HTTP
协议类型 HTTP字段。声明为 public static final String PROTOCOL_TYPE_HTTP。
The PROTOCOL TYPE HTTP field.
io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:24PROTOCOL_TYPE_HTTPS
public static final String PROTOCOL_TYPE_HTTPS
协议类型 HTTP S字段。声明为 public static final String PROTOCOL_TYPE_HTTPS。
The PROTOCOL TYPE HTTP s field.
io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:26AGENTSCOPE_RUNTIME_A2A_PREFIX
public static final String AGENTSCOPE_RUNTIME_A2A_PREFIX
AGENTSCOPE 运行时 A2A PREFIX字段。声明为 public static final String AGENTSCOPE_RUNTIME_A2A_PREFIX。
The AGENTSCOPE RUNTIME A2A PREFIX field.
io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:28NACOS_PREFIX
public static final String NACOS_PREFIX
NACOS_PREFIX 字段。声明为 public static final String NACOS_PREFIX。
The NACOS PREFIX field.
io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:30REGISTRY_PREFIX
public static final String REGISTRY_PREFIX
注册表 PREFIX字段。声明为 public static final String REGISTRY_PREFIX。
The REGISTRY PREFIX field.
io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:32PROPERTIES_ENV_PREFIX
public static final String PROPERTIES_ENV_PREFIX
属性 ENV PREFIX字段。声明为 public static final String PROPERTIES_ENV_PREFIX。
The PROPERTIES ENV PREFIX field.
io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:34嵌套类详情Nested Class Detail
TransportPropertiesAttribute
public enum TransportPropertiesAttribute定义传输层属性属性相关取值的枚举。位于 io.agentscope.extensions.runtime.a2a.nacos.constant 包。核心成员包括 getPropertyKey、getByEnvKey、HOST、PORT、PATH、PROTOCOL。
A enum in io.agentscope.extensions.runtime.a2a.nacos.constant that defines enum values used when components supports discovery, delegation and collaboration between agents. Declared in io.agentscope.extensions.runtime.a2a.nacos.constant.