A2aCommonProperties
@ConfigurationProperties(Constants.A2A_SERVER_PREFIX) public class A2aCommonProperties
io/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:24–91用于部署的A2A 服务端配置。位于 io.agentscope.spring.boot.a2a.properties 包。核心成员包括 isEnabled、setEnabled、getAgentCompletionTimeoutSeconds、setAgentCompletionTimeoutSeconds、getConsumptionCompletionTimeoutSeconds、setConsumptionCompletionTimeoutSeconds。
A2A Server configuration for deployment.
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public A2aCommonProperties() | 初始化 `A2aCommonProperties` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public boolean isEnabled() | 判断是否已启用。 Returns whether the enabled. |
public void setEnabled(boolean enabled) | 设置已启用。 Sets the enabled. |
public Integer getAgentCompletionTimeoutSeconds() | 获取智能体补全超时秒。 Returns the agent completion timeout seconds. |
public void setAgentCompletionTimeoutSeconds(Integer agentCompletionTimeoutSeconds) | 设置智能体补全超时秒。 Sets the agent completion timeout seconds. |
public Integer getConsumptionCompletionTimeoutSeconds() | 获取 `getConsumptionCompletionTimeoutSeconds`。 Returns the consumption completion timeout seconds. |
public void setConsumptionCompletionTimeoutSeconds(Integer consumptionCompletionTimeoutSeconds) | 设置 `setConsumptionCompletionTimeoutSeconds`。 Sets the consumption completion timeout seconds. |
public boolean isCompleteWithMessage() | 判断是否 `isCompleteWithMessage`。 Returns whether the complete with message. |
public void setCompleteWithMessage(boolean completeWithMessage) | 设置 `setCompleteWithMessage`。 Sets the complete with message. |
public boolean isRequireInnerMessage() | 判断是否 `isRequireInnerMessage`。 Returns whether the require inner message. |
public void setRequireInnerMessage(boolean requireInnerMessage) | 设置 `setRequireInnerMessage`。 Sets the require inner message. |
构造器详情Constructor Detail
A2aCommonProperties
public A2aCommonProperties()
初始化 A2aCommonProperties 实例。
Creates a new instance.
io/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:49方法详情Method Detail
isEnabled
public boolean isEnabled()
判断是否已启用。
Returns whether the enabled.
booleanio/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:51–53setEnabled
public void setEnabled(boolean enabled)
设置已启用。
Sets the enabled.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
enabled | boolean | 已启用(类型 `boolean`)。The enabled. |
io/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:55–57getAgentCompletionTimeoutSeconds
public Integer getAgentCompletionTimeoutSeconds()
获取智能体补全超时秒。
Returns the agent completion timeout seconds.
Integerio/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:59–61setAgentCompletionTimeoutSeconds
public void setAgentCompletionTimeoutSeconds(Integer agentCompletionTimeoutSeconds)
设置智能体补全超时秒。
Sets the agent completion timeout seconds.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentCompletionTimeoutSeconds | Integer | 智能体补全超时秒(类型 `Integer`)。The agent completion timeout seconds. |
io/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:63–65getConsumptionCompletionTimeoutSeconds
public Integer getConsumptionCompletionTimeoutSeconds()
获取 getConsumptionCompletionTimeoutSeconds。
Returns the consumption completion timeout seconds.
Integerio/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:67–69setConsumptionCompletionTimeoutSeconds
public void setConsumptionCompletionTimeoutSeconds(Integer consumptionCompletionTimeoutSeconds)
设置 setConsumptionCompletionTimeoutSeconds。
Sets the consumption completion timeout seconds.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
consumptionCompletionTimeoutSeconds | Integer | consumption 补全超时秒(类型 `Integer`)。The consumption completion timeout seconds. |
io/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:71–74isCompleteWithMessage
public boolean isCompleteWithMessage()
判断是否 isCompleteWithMessage。
Returns whether the complete with message.
booleanio/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:76–78setCompleteWithMessage
public void setCompleteWithMessage(boolean completeWithMessage)
设置 setCompleteWithMessage。
Sets the complete with message.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
completeWithMessage | boolean | complete 使用消息(类型 `boolean`)。The complete with message. |
io/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:80–82isRequireInnerMessage
public boolean isRequireInnerMessage()
判断是否 isRequireInnerMessage。
Returns whether the require inner message.
booleanio/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:84–86setRequireInnerMessage
public void setRequireInnerMessage(boolean requireInnerMessage)
设置 setRequireInnerMessage。
Sets the require inner message.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
requireInnerMessage | boolean | require Inner 消息(类型 `boolean`)。The require inner message. |
io/agentscope/spring/boot/a2a/properties/A2aCommonProperties.java:88–90