A2aAgentCardProperties
@ConfigurationProperties(Constants.A2A_SERVER_CARD_PREFIX) public class A2aAgentCardProperties
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:33–176A 2 a 智能体卡片属性,承载智能体的部署、调度与服务化运行。位于 io.agentscope.runtime.autoconfigure 包。核心成员包括 getName、setName、getDescription、setDescription、getUrl、setUrl。
A2a server agent card properties.
方法摘要Method Summary
方法详情Method Detail
getName
public String getName()
获取名称。
Returns the name.
Stringio/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:64–66setName
public void setName(String name)
设置名称。
Sets the name.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
name | String | 名称(类型 `String`)。The name. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:68–70getDescription
public String getDescription()
获取 getDescription。
Returns the description.
Stringio/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:72–74setDescription
public void setDescription(String description)
设置 setDescription。
Sets the description.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
description | String | 描述(类型 `String`)。The description. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:76–78getUrl
public String getUrl()
获取URL。
Returns the url.
Stringio/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:80–82setUrl
public void setUrl(String url)
设置URL。
Sets the url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
url | String | 服务地址(类型 `String`)。The url. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:84–86getProvider
public AgentProvider getProvider()
获取提供者。
Returns the provider.
AgentProviderio/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:88–90setProvider
public void setProvider(AgentProvider provider)
设置提供者。
Sets the provider.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
provider | AgentProvider | 提供者(类型 `AgentProvider`)。The provider. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:92–94getVersion
public String getVersion()
获取版本。
Returns the version.
Stringio/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:96–98setVersion
public void setVersion(String version)
设置版本。
Sets the version.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
version | String | 版本(类型 `String`)。The version. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:100–102getDocumentationUrl
public String getDocumentationUrl()
获取 getDocumentationUrl。
Returns the documentation url.
Stringio/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:104–106setDocumentationUrl
public void setDocumentationUrl(String documentationUrl)
设置 setDocumentationUrl。
Sets the documentation url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
documentationUrl | String | documentation URL(类型 `String`)。The documentation url. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:108–110getDefaultInputModes
public List<String> getDefaultInputModes()
获取 getDefaultInputModes。
Returns the default input modes.
List<String>io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:112–114setDefaultInputModes
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/runtime/autoconfigure/A2aAgentCardProperties.java:116–118getDefaultOutputModes
public List<String> getDefaultOutputModes()
获取 getDefaultOutputModes。
Returns the default output modes.
List<String>io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:120–122setDefaultOutputModes
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/runtime/autoconfigure/A2aAgentCardProperties.java:124–126getSkills
public List<AgentSkill> getSkills()
获取技能。
Returns the skills.
List<AgentSkill>io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:128–130setSkills
public void setSkills(List<AgentSkill> skills)
设置技能。
Sets the skills.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
skills | List<AgentSkill> | 技能(类型 `List`)。The skills. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:132–134isSupportsAuthenticatedExtendedCard
public boolean isSupportsAuthenticatedExtendedCard()
判断是否 isSupportsAuthenticatedExtendedCard。
Returns whether the supports authenticated extended card.
booleanio/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:136–138setSupportsAuthenticatedExtendedCard
public void setSupportsAuthenticatedExtendedCard(boolean supportsAuthenticatedExtendedCard)
设置 setSupportsAuthenticatedExtendedCard。
Sets the supports authenticated extended card.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
supportsAuthenticatedExtendedCard | boolean | 支持 Authenticated Extended 卡片(类型 `boolean`)。The supports authenticated extended card. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:140–142getSecuritySchemes
public Map<String, SecurityScheme> getSecuritySchemes()
获取 getSecuritySchemes。
Returns the security schemes.
Map<String, SecurityScheme>io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:144–146setSecuritySchemes
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/runtime/autoconfigure/A2aAgentCardProperties.java:148–150getSecurity
public List<Map<String, List<String>>> getSecurity()
获取 getSecurity。
Returns the security.
List<Map<String, List<String>>>io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:152–154setSecurity
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/runtime/autoconfigure/A2aAgentCardProperties.java:156–158getIconUrl
public String getIconUrl()
获取 getIconUrl。
Returns the icon url.
Stringio/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:160–162setIconUrl
public void setIconUrl(String iconUrl)
设置 setIconUrl。
Sets the icon url.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
iconUrl | String | icon URL(类型 `String`)。The icon url. |
io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:164–166getAdditionalInterfaces
public List<AgentInterface> getAdditionalInterfaces()
获取 getAdditionalInterfaces。
Returns the additional interfaces.
List<AgentInterface>io/agentscope/runtime/autoconfigure/A2aAgentCardProperties.java:168–170setAdditionalInterfaces
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/runtime/autoconfigure/A2aAgentCardProperties.java:172–174