AS AgentScopeAPI 手册 / API Reference

InventoryReportOrBuilder

public interface InventoryReportOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:8–74

定义清单报告或构建器契约的接口。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getSubagentsList、getSubagents、getSubagentsCount、getSubagentsOrBuilderList、getSubagentsOrBuilder、getWorkspacesList。

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说明Description
public java.util.List<io.agentscope.controlplane.proto.SubagentInfo> getSubagentsList()
获取 `getSubagentsList`。
`repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;`
public io.agentscope.controlplane.proto.SubagentInfo getSubagents(int index)
获取 `getSubagents`。
`repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;`
public int getSubagentsCount()
获取 `getSubagentsCount`。
`repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;`
public java.util.List<? extends io.agentscope.controlplane.proto.SubagentInfoOrBuilder> getSubagentsOrBuilderList()
获取 `getSubagentsOrBuilderList`。
`repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;`
public io.agentscope.controlplane.proto.SubagentInfoOrBuilder getSubagentsOrBuilder(int index)
获取 `getSubagentsOrBuilder`。
`repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;`
public java.util.List<io.agentscope.controlplane.proto.WorkspaceInfo> getWorkspacesList()
获取 `getWorkspacesList`。
`repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;`
public io.agentscope.controlplane.proto.WorkspaceInfo getWorkspaces(int index)
获取 `getWorkspaces`。
`repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;`
public int getWorkspacesCount()
获取 `getWorkspacesCount`。
`repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;`
public java.util.List<? extends io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder> getWorkspacesOrBuilderList()
获取 `getWorkspacesOrBuilderList`。
`repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;`
public io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder getWorkspacesOrBuilder(int index)
获取 `getWorkspacesOrBuilder`。
`repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;`
public boolean hasHealth()
判断是否具有健康状态。
`.agentscope.protocol.v1.InstanceHealth health = 3;`
public io.agentscope.controlplane.proto.InstanceHealth getHealth()
获取健康状态。
`.agentscope.protocol.v1.InstanceHealth health = 3;`
public io.agentscope.controlplane.proto.InstanceHealthOrBuilder getHealthOrBuilder()
获取健康状态或构建器。
`.agentscope.protocol.v1.InstanceHealth health = 3;`

方法详情Method Detail

getSubagentsList

public java.util.List<io.agentscope.controlplane.proto.SubagentInfo> getSubagentsList()

获取 getSubagentsList。

repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;

返回Returns java.util.List<io.agentscope.controlplane.proto.SubagentInfo>
返回java.util.列出。Returns java util list.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:15–16

getSubagents

public io.agentscope.controlplane.proto.SubagentInfo getSubagents(int index)

获取 getSubagents。

repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:20

getSubagentsCount

public int getSubagentsCount()

获取 getSubagentsCount。

repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:24

getSubagentsOrBuilderList

public java.util.List<? extends io.agentscope.controlplane.proto.SubagentInfoOrBuilder> getSubagentsOrBuilderList()

获取 getSubagentsOrBuilderList。

repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;

返回Returns java.util.List<? extends io.agentscope.controlplane.proto.SubagentInfoOrBuilder>
返回java.util.列出。Returns java util list.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:28–29

getSubagentsOrBuilder

public io.agentscope.controlplane.proto.SubagentInfoOrBuilder getSubagentsOrBuilder(int index)

获取 getSubagentsOrBuilder。

repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index.
返回Returns io.agentscope.controlplane.proto.SubagentInfoOrBuilder
返回io.agentscope.controlplane.协议.SubagentInfoOrBuilder。Returns io agentscope controlplane proto subagent info or builder.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:33–34

getWorkspacesList

public java.util.List<io.agentscope.controlplane.proto.WorkspaceInfo> getWorkspacesList()

获取 getWorkspacesList。

repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;

返回Returns java.util.List<io.agentscope.controlplane.proto.WorkspaceInfo>
返回java.util.列出。Returns java util list.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:39–40

getWorkspaces

public io.agentscope.controlplane.proto.WorkspaceInfo getWorkspaces(int index)

获取 getWorkspaces。

repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index.
返回Returns io.agentscope.controlplane.proto.WorkspaceInfo
返回io.agentscope.controlplane.协议.WorkspaceInfo。Returns io agentscope controlplane proto workspace info.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:44

getWorkspacesCount

public int getWorkspacesCount()

获取 getWorkspacesCount。

repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:48

getWorkspacesOrBuilderList

public java.util.List<? extends io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder> getWorkspacesOrBuilderList()

获取 getWorkspacesOrBuilderList。

repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;

返回Returns java.util.List<? extends io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder>
返回java.util.列出。Returns java util list.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:52–53

getWorkspacesOrBuilder

public io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder getWorkspacesOrBuilder(int index)

获取 getWorkspacesOrBuilder。

repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index.
返回Returns io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder
返回io.agentscope.controlplane.协议.WorkspaceInfoOrBuilder。Returns io agentscope controlplane proto workspace info or builder.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:57–58

hasHealth

public boolean hasHealth()

判断是否具有健康状态。

.agentscope.protocol.v1.InstanceHealth health = 3;

返回Returns boolean
返回布尔值,表示判断结果。Whether the health field is set.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:64

getHealth

public io.agentscope.controlplane.proto.InstanceHealth getHealth()

获取健康状态。

.agentscope.protocol.v1.InstanceHealth health = 3;

返回Returns io.agentscope.controlplane.proto.InstanceHealth
健康状态。The health.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:69

getHealthOrBuilder

public io.agentscope.controlplane.proto.InstanceHealthOrBuilder getHealthOrBuilder()

获取健康状态或构建器。

.agentscope.protocol.v1.InstanceHealth health = 3;

返回Returns io.agentscope.controlplane.proto.InstanceHealthOrBuilder
返回io.agentscope.controlplane.协议.InstanceHealthOrBuilder。Returns io agentscope controlplane proto instance health or builder.
源码Source io/agentscope/controlplane/proto/InventoryReportOrBuilder.java:73
基于官方固定版本源码静态生成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.