SubagentInfoOrBuilder
public interface SubagentInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
io/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:8–116定义子智能体信息或构建器契约的接口。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getName、getNameBytes、getDescription、getDescriptionBytes、getToolsList、getToolsCount。
An interface in io.agentscope.controlplane.proto that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.controlplane.proto. Implements com.google.protobuf.MessageOrBuilder.
方法摘要Method Summary
方法详情Method Detail
getName
public java.lang.String getName()
获取名称。
string name = 1;
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:16getNameBytes
public com.google.protobuf.ByteString getNameBytes()
获取名称字节。
string name = 1;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:21–22getDescription
public java.lang.String getDescription()
获取 getDescription。
string description = 2;
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:28getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
获取 getDescriptionBytes。
string description = 2;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:33–34getToolsList
public java.util.List<java.lang.String> getToolsList()
获取工具列表。
repeated string tools = 3;
java.util.List<java.lang.String>io/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:40–41getToolsCount
public int getToolsCount()
获取工具数量。
repeated string tools = 3;
intio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:46getTools
public java.lang.String getTools(int index)
获取工具。
repeated string tools = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index of the element to return. |
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:52getToolsBytes
public com.google.protobuf.ByteString getToolsBytes(int index)
获取工具字节。
repeated string tools = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index of the value to return. |
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:58–59getWorkspaceMode
public java.lang.String getWorkspaceMode()
获取工作区模式。
isolated | shared string workspace_mode = 4;
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:69getWorkspaceModeBytes
public com.google.protobuf.ByteString getWorkspaceModeBytes()
获取工作区模式字节。
isolated | shared string workspace_mode = 4;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:78–79getUrl
public java.lang.String getUrl()
获取URL。
remote subagent endpoint, if any string url = 5;
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:89getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
获取URL 字节。
remote subagent endpoint, if any string url = 5;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:98–99getInvokeCount
public long getInvokeCount()
获取调用数量。
int64 invoke_count = 6;
longio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:105getLastInvokedAt
public long getLastInvokedAt()
获取 getLastInvokedAt。
unix milliseconds int64 last_invoked_at = 7;
longio/agentscope/controlplane/proto/SubagentInfoOrBuilder.java:115