A2aCommonProperties
@ConfigurationProperties(Constants.A2A_SERVER_PREFIX) public class A2aCommonProperties
源码Source
io/agentscope/runtime/autoconfigure/A2aCommonProperties.java:23–58用于部署的服务端配置。位于 io.agentscope.runtime.autoconfigure 包。核心成员包括 getAgentCompletionTimeoutSeconds、setAgentCompletionTimeoutSeconds、getConsumptionCompletionTimeoutSeconds、setConsumptionCompletionTimeoutSeconds、A2aCommonProperties。
Server configuration for deployment
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
public A2aCommonProperties() | 初始化 `A2aCommonProperties` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
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. |
构造器详情Constructor Detail
A2aCommonProperties
public A2aCommonProperties()
初始化 A2aCommonProperties 实例。
Creates a new instance.
源码Source
io/agentscope/runtime/autoconfigure/A2aCommonProperties.java:32–33方法详情Method Detail
getAgentCompletionTimeoutSeconds
public Integer getAgentCompletionTimeoutSeconds()
获取智能体补全超时秒。
Returns the agent completion timeout seconds.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/runtime/autoconfigure/A2aCommonProperties.java:43–45setAgentCompletionTimeoutSeconds
public void setAgentCompletionTimeoutSeconds(Integer agentCompletionTimeoutSeconds)
设置智能体补全超时秒。
Sets the agent completion timeout seconds.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
agentCompletionTimeoutSeconds | Integer | 智能体补全超时秒(类型 `Integer`)。The agent completion timeout seconds. |
源码Source
io/agentscope/runtime/autoconfigure/A2aCommonProperties.java:47–49getConsumptionCompletionTimeoutSeconds
public Integer getConsumptionCompletionTimeoutSeconds()
获取 getConsumptionCompletionTimeoutSeconds。
Returns the consumption completion timeout seconds.
Integer返回数值结果。Returns a numeric result.
源码Source
io/agentscope/runtime/autoconfigure/A2aCommonProperties.java:51–53setConsumptionCompletionTimeoutSeconds
public void setConsumptionCompletionTimeoutSeconds(Integer consumptionCompletionTimeoutSeconds)
设置 setConsumptionCompletionTimeoutSeconds。
Sets the consumption completion timeout seconds.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
consumptionCompletionTimeoutSeconds | Integer | consumption 补全超时秒(类型 `Integer`)。The consumption completion timeout seconds. |
源码Source
io/agentscope/runtime/autoconfigure/A2aCommonProperties.java:55–57