AS AgentScopeAPI 手册 / API Reference

AgentRunClientStarter

public class AgentRunClientStarter extends BaseClientStarter
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:32–207

用于AgentRun 客户端的配置。位于 io.agentscope.runtime.sandbox.client.agentrun 包,继承自 BaseClientStarter。核心成员包括 getAgentRunAccessKeyId、getAgentRunAccessKeySecret、getAgentRunAccountId、getAgentRunRegionId、getAgentRunCpu、getAgentRunMemory。

Configuration for AgentRun client. Uses Builder pattern for convenient configuration.

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
A class in io.agentscope.runtime.sandbox.client.agentrun that deploys, schedules and serves agents.

方法摘要Method Summary

方法Method说明Description
public String getAgentRunAccessKeyId()
获取智能体运行访问键标识。
Returns the agent run access key id.
public String getAgentRunAccessKeySecret()
获取智能体运行访问键密钥。
Returns the agent run access key secret.
public String getAgentRunAccountId()
获取 `getAgentRunAccountId`。
Returns the agent run account id.
public String getAgentRunRegionId()
获取智能体运行区域标识。
Returns the agent run region id.
public float getAgentRunCpu()
获取 `getAgentRunCpu`。
Returns the agent run cpu.
public int getAgentRunMemory()
获取智能体运行记忆。
Returns the agent run memory.
public String getAgentRunVpcId()
获取 `getAgentRunVpcId`。
Returns the agent run vpc id.
public List<String> getAgentRunVswitchIds()
获取 `getAgentRunVswitchIds`。
Returns the agent run vswitch ids.
public String getAgentRunSecurityGroupId()
获取 `getAgentRunSecurityGroupId`。
Returns the agent run security group id.
public String getAgentRunPrefix()
获取 `getAgentRunPrefix`。
Returns the agent run prefix.
public String getAgentrunLogProject()
获取 `getAgentrunLogProject`。
Returns the agentrun log project.
public String getAgentrunLogStore()
获取 `getAgentrunLogStore`。
Returns the agentrun log store.
public static Builder builder()
static
返回构建器实例。
Returns the builder.
public BaseClient startClient(PortManager portManager)
启动客户端。
Starts the client.

方法详情Method Detail

getAgentRunAccessKeyId

public String getAgentRunAccessKeyId()

获取智能体运行访问键标识。

Returns the agent run access key id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:64–66

getAgentRunAccessKeySecret

public String getAgentRunAccessKeySecret()

获取智能体运行访问键密钥。

Returns the agent run access key secret.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:68–70

getAgentRunAccountId

public String getAgentRunAccountId()

获取 getAgentRunAccountId。

Returns the agent run account id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:72–74

getAgentRunRegionId

public String getAgentRunRegionId()

获取智能体运行区域标识。

Returns the agent run region id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:76–78

getAgentRunCpu

public float getAgentRunCpu()

获取 getAgentRunCpu。

Returns the agent run cpu.

返回Returns float
返回数值结果。Returns a numeric result.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:80–82

getAgentRunMemory

public int getAgentRunMemory()

获取智能体运行记忆。

Returns the agent run memory.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:84–86

getAgentRunVpcId

public String getAgentRunVpcId()

获取 getAgentRunVpcId。

Returns the agent run vpc id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:88–90

getAgentRunVswitchIds

public List<String> getAgentRunVswitchIds()

获取 getAgentRunVswitchIds。

Returns the agent run vswitch ids.

返回Returns List<String>
返回列出。Returns list.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:92–94

getAgentRunSecurityGroupId

public String getAgentRunSecurityGroupId()

获取 getAgentRunSecurityGroupId。

Returns the agent run security group id.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:96–98

getAgentRunPrefix

public String getAgentRunPrefix()

获取 getAgentRunPrefix。

Returns the agent run prefix.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:100–102

getAgentrunLogProject

public String getAgentrunLogProject()

获取 getAgentrunLogProject。

Returns the agentrun log project.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:104–106

getAgentrunLogStore

public String getAgentrunLogStore()

获取 getAgentrunLogStore。

Returns the agentrun log store.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:108–110

builder

public static Builder builder()
static

返回构建器实例。

Returns the builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:113–115

startClient

public BaseClient startClient(PortManager portManager)

启动客户端。

Starts the client.

参数Parameters
名称Name类型Type说明Description
portManagerPortManagerport 管理器(类型 `PortManager`)。The port manager.
返回Returns BaseClient
返回BaseClient。Returns base client.
源码Source io/agentscope/runtime/sandbox/client/agentrun/AgentRunClientStarter.java:117–127

嵌套类详情Nested Class Detail

Builder

public static class Builder

构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.client.agentrun 包。核心成员包括 agentRunAccessKeyId、agentRunAccessKeySecret、agentRunAccountId、agentRunRegionId、agentRunCpu、agentRunMemory。

A class in io.agentscope.runtime.sandbox.client.agentrun that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.client.agentrun.

继承成员Inherited Members

继承自Methods inherited from BaseClientStarter
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.