NacosA2aRegistryTransportProperties
public record NacosA2aRegistryTransportProperties(String transport, String host, int port, String path, boolean supportTls, String protocol, String query)
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:31–133承载 Nacos A 2 a 注册表传输层属性数据的记录类型。位于 io.agentscope.extensions.nacos.a2a.registry 包。核心成员包括 transport、host、port、path、supportTls、protocol。
Properties for A2A Transports Endpoint registry to Nacos.
记录组件摘要Record Component Summary
| 组件Component | 类型Type | 说明Description |
|---|---|---|
transport | String | 执行传输层相关操作。 Performs the transport operation. |
host | String | 执行 `host` 方法。 Performs the host operation. |
port | int | 执行 `port` 方法。 Performs the port operation. |
path | String | 执行路径相关操作。 Performs the path operation. |
supportTls | boolean | 执行 `supportTls` 方法。 Performs the support tls operation. |
protocol | String | 执行协议相关操作。 Performs the protocol operation. |
query | String | 执行查询相关操作。 Performs the query operation. |
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.extensions.nacos.a2a.registry that supports discovery, delegation and collaboration between agents. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public static Builder builder()static | 返回构建器实例。 Returns the builder. |
public static Builder from(AgentInterface agentInterface)static | 创建构建器实例来自 AgentInterface 对象。 Creates a Builder instance from an AgentInterface object. |
记录组件详情Record Component Detail
transport
String transport执行传输层相关操作。
Performs the transport operation.
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:31–133host
String host执行 host 方法。
Performs the host operation.
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:31–133port
int port执行 port 方法。
Performs the port operation.
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:31–133path
String path执行路径相关操作。
Performs the path operation.
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:31–133supportTls
boolean supportTls执行 supportTls 方法。
Performs the support tls operation.
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:31–133protocol
String protocol执行协议相关操作。
Performs the protocol operation.
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:31–133query
String query执行查询相关操作。
Performs the query operation.
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:31–133方法详情Method Detail
builder
public static Builder builder()
返回构建器实例。
Returns the builder.
Builderio/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:37–39from
public static Builder from(AgentInterface agentInterface)
创建构建器实例来自 AgentInterface 对象。
Creates a Builder instance from an AgentInterface object.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentInterface | AgentInterface | 智能体 Interface(类型 `AgentInterface`)。the AgentInterface to extract information from |
BuilderNacosRuntimeException当if URL in agentInterface是无效时抛出 `NacosRuntimeException`。if the URL in agentInterface is invalid
io/agentscope/extensions/nacos/a2a/registry/NacosA2aRegistryTransportProperties.java:54–70嵌套类详情Nested Class Detail
Builder
public static class Builder构建器,用于构建并配置目标实例。位于 io.agentscope.extensions.nacos.a2a.registry 包。核心成员包括 transport、host、port、path、supportTls、protocol。
A class in io.agentscope.extensions.nacos.a2a.registry that supports discovery, delegation and collaboration between agents. Declared in io.agentscope.extensions.nacos.a2a.registry.