A2aAgentCardProperties
@ConfigurationProperties(Constants.A2A_SERVER_CARD_PREFIX) public class A2aAgentCardProperties
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:30–173A 2 a 智能体卡片属性,支持智能体之间的发现、委派与协作。位于 io.agentscope.spring.boot.a2a.properties 包。核心成员包括 getName、setName、getDescription、setDescription、getUrl、setUrl。
A2a server agent card properties.
方法摘要Method Summary
方法详情Method Detail
getName
public String getName()
获取名称。
Returns the name.
Stringio/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:62–64setName
public void setName(String name)
设置名称。
Sets the name.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
name | String | 名称(类型 `String`)。The name. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:66–68getDescription
public String getDescription()
获取 getDescription。
Returns the description.
Stringio/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:70–72setDescription
public void setDescription(String description)
设置 setDescription。
Sets the description.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
description | String | 描述(类型 `String`)。The description. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:74–76getUrl
public String getUrl()
获取URL。
Returns the url.
Stringio/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:78–80setUrl
public void setUrl(String url)
设置URL。
Sets the url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
url | String | 服务地址(类型 `String`)。The url. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:82–84getProvider
public AgentProvider getProvider()
获取提供者。
Returns the provider.
AgentProviderio/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:86–88setProvider
public void setProvider(AgentProvider provider)
设置提供者。
Sets the provider.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
provider | AgentProvider | 提供者(类型 `AgentProvider`)。The provider. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:90–92getVersion
public String getVersion()
获取版本。
Returns the version.
Stringio/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:94–96setVersion
public void setVersion(String version)
设置版本。
Sets the version.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
version | String | 版本(类型 `String`)。The version. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:98–100getDocumentationUrl
public String getDocumentationUrl()
获取 getDocumentationUrl。
Returns the documentation url.
Stringio/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:102–104setDocumentationUrl
public void setDocumentationUrl(String documentationUrl)
设置 setDocumentationUrl。
Sets the documentation url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
documentationUrl | String | documentation URL(类型 `String`)。The documentation url. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:106–108getDefaultInputModes
public List<String> getDefaultInputModes()
获取 getDefaultInputModes。
Returns the default input modes.
List<String>io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:110–112setDefaultInputModes
public void setDefaultInputModes(List<String> defaultInputModes)
设置 setDefaultInputModes。
Sets the default input modes.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
defaultInputModes | List<String> | 默认输入 Modes(类型 `List`)。The default input modes. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:114–116getDefaultOutputModes
public List<String> getDefaultOutputModes()
获取 getDefaultOutputModes。
Returns the default output modes.
List<String>io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:118–120setDefaultOutputModes
public void setDefaultOutputModes(List<String> defaultOutputModes)
设置 setDefaultOutputModes。
Sets the default output modes.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
defaultOutputModes | List<String> | 默认输出 Modes(类型 `List`)。The default output modes. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:122–124getSkills
public List<AgentSkill> getSkills()
获取技能。
Returns the skills.
List<AgentSkill>io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:126–128setSkills
public void setSkills(List<AgentSkill> skills)
设置技能。
Sets the skills.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
skills | List<AgentSkill> | 技能(类型 `List`)。The skills. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:130–132getSecuritySchemes
public Map<String, SecurityScheme> getSecuritySchemes()
获取 getSecuritySchemes。
Returns the security schemes.
Map<String, SecurityScheme>io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:134–136setSecuritySchemes
public void setSecuritySchemes(Map<String, SecurityScheme> securitySchemes)
设置 setSecuritySchemes。
Sets the security schemes.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
securitySchemes | Map<String, SecurityScheme> | security Schemes(类型 `Map`)。The security schemes. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:138–140getSecurity
public List<Map<String, List<String>>> getSecurity()
获取 getSecurity。
Returns the security.
List<Map<String, List<String>>>io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:142–144setSecurity
public void setSecurity(List<Map<String, List<String>>> security)
设置 setSecurity。
Sets the security.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
security | List<Map<String, List<String>>> | security(类型 `List >>`)。The security. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:146–148getIconUrl
public String getIconUrl()
获取 getIconUrl。
Returns the icon url.
Stringio/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:150–152setIconUrl
public void setIconUrl(String iconUrl)
设置 setIconUrl。
Sets the icon url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
iconUrl | String | icon URL(类型 `String`)。The icon url. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:154–156getAdditionalInterfaces
public List<AgentInterface> getAdditionalInterfaces()
获取 getAdditionalInterfaces。
Returns the additional interfaces.
List<AgentInterface>io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:158–160setAdditionalInterfaces
public void setAdditionalInterfaces(List<AgentInterface> additionalInterfaces)
设置 setAdditionalInterfaces。
Sets the additional interfaces.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
additionalInterfaces | List<AgentInterface> | additional Interfaces(类型 `List`)。The additional interfaces. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:162–164getPreferredTransport
public String getPreferredTransport()
获取 getPreferredTransport。
Returns the preferred transport.
Stringio/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:166–168setPreferredTransport
public void setPreferredTransport(String preferredTransport)
设置 setPreferredTransport。
Sets the preferred transport.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
preferredTransport | String | preferred 传输层(类型 `String`)。The preferred transport. |
io/agentscope/spring/boot/a2a/properties/A2aAgentCardProperties.java:170–172