AS AgentScopeAPI 手册 / API Reference

Constants

public class Constants
源码Source io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:22–66

Constants,支持智能体之间的发现、委派与协作。位于 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_HTTP
staticfinal
String
协议类型 HTTP字段。
The PROTOCOL TYPE HTTP field.
PROTOCOL_TYPE_HTTPS
staticfinal
String
协议类型 HTTP S字段。
The PROTOCOL TYPE HTTP s field.
AGENTSCOPE_RUNTIME_A2A_PREFIX
staticfinal
String
AGENTSCOPE 运行时 A2A PREFIX字段。
The AGENTSCOPE RUNTIME A2A PREFIX field.
NACOS_PREFIX
staticfinal
String
`NACOS_PREFIX` 字段。
The NACOS PREFIX field.
REGISTRY_PREFIX
staticfinal
String
注册表 PREFIX字段。
The REGISTRY PREFIX field.
PROPERTIES_ENV_PREFIX
staticfinal
String
属性 ENV PREFIX字段。
The PROPERTIES ENV PREFIX field.

字段详情Field Detail

PROTOCOL_TYPE_HTTP

public static final String PROTOCOL_TYPE_HTTP
staticfinal

协议类型 HTTP字段。声明为 public static final String PROTOCOL_TYPE_HTTP。

The PROTOCOL TYPE HTTP field.

源码Source io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:24

PROTOCOL_TYPE_HTTPS

public static final String PROTOCOL_TYPE_HTTPS
staticfinal

协议类型 HTTP S字段。声明为 public static final String PROTOCOL_TYPE_HTTPS。

The PROTOCOL TYPE HTTP s field.

源码Source io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:26

AGENTSCOPE_RUNTIME_A2A_PREFIX

public static final String AGENTSCOPE_RUNTIME_A2A_PREFIX
staticfinal

AGENTSCOPE 运行时 A2A PREFIX字段。声明为 public static final String AGENTSCOPE_RUNTIME_A2A_PREFIX。

The AGENTSCOPE RUNTIME A2A PREFIX field.

源码Source io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:28

NACOS_PREFIX

public static final String NACOS_PREFIX
staticfinal

NACOS_PREFIX 字段。声明为 public static final String NACOS_PREFIX。

The NACOS PREFIX field.

源码Source io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:30

REGISTRY_PREFIX

public static final String REGISTRY_PREFIX
staticfinal

注册表 PREFIX字段。声明为 public static final String REGISTRY_PREFIX。

The REGISTRY PREFIX field.

源码Source io/agentscope/extensions/runtime/a2a/nacos/constant/Constants.java:32

PROPERTIES_ENV_PREFIX

public static final String PROPERTIES_ENV_PREFIX
staticfinal

属性 ENV PREFIX字段。声明为 public static final String PROPERTIES_ENV_PREFIX。

The PROPERTIES ENV PREFIX field.

源码Source 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.

基于官方固定版本源码静态生成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.