InventoryReport
public final class InventoryReport extends com.google.protobuf.GeneratedMessage implements InventoryReportOrBuilder
io/agentscope/controlplane/proto/InventoryReport.java:17–1275清单报告,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 InventoryReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getSubagentsList、getSubagentsOrBuilderList、getSubagentsCount、getSubagents。
InventoryReport carries the instance-level runtime inventory: subagents,
workspaces and health. Sent right after connect, then on change or at the
Level-1 cadence.
Protobuf type agentscope.protocol.v1.InventoryReport
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 ```
InventoryReport carries the instance-level runtime inventory: subagents,
workspaces and health. |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
SUBAGENTS_FIELD_NUMBERstaticfinal | int | SUBAGENTS FIELD 数量字段。 The SUBAGENTS FIELD NUMBER field. |
WORKSPACES_FIELD_NUMBERstaticfinal | int | WORKSPACES FIELD 数量字段。 The WORKSPACES FIELD NUMBER field. |
HEALTH_FIELD_NUMBERstaticfinal | int | 健康状态 FIELD 数量字段。 The HEALTH FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
SUBAGENTS_FIELD_NUMBER
public static final int SUBAGENTS_FIELD_NUMBER
SUBAGENTS FIELD 数量字段。声明为 public static final int SUBAGENTS_FIELD_NUMBER。
The SUBAGENTS FIELD NUMBER field.
io/agentscope/controlplane/proto/InventoryReport.java:54WORKSPACES_FIELD_NUMBER
public static final int WORKSPACES_FIELD_NUMBER
WORKSPACES FIELD 数量字段。声明为 public static final int WORKSPACES_FIELD_NUMBER。
The WORKSPACES FIELD NUMBER field.
io/agentscope/controlplane/proto/InventoryReport.java:95HEALTH_FIELD_NUMBER
public static final int HEALTH_FIELD_NUMBER
健康状态 FIELD 数量字段。声明为 public static final int HEALTH_FIELD_NUMBER。
The HEALTH FIELD NUMBER field.
io/agentscope/controlplane/proto/InventoryReport.java:136方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/InventoryReport.java:40–43internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/InventoryReport.java:45–51getSubagentsList
public java.util.List<io.agentscope.controlplane.proto.SubagentInfo> getSubagentsList()
获取 getSubagentsList。
repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;
java.util.List<io.agentscope.controlplane.proto.SubagentInfo>io/agentscope/controlplane/proto/InventoryReport.java:60–63getSubagentsOrBuilderList
public java.util.List<? extends io.agentscope.controlplane.proto.SubagentInfoOrBuilder> getSubagentsOrBuilderList()
获取 getSubagentsOrBuilderList。
repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;
java.util.List<? extends io.agentscope.controlplane.proto.SubagentInfoOrBuilder>io/agentscope/controlplane/proto/InventoryReport.java:67–71getSubagentsCount
public int getSubagentsCount()
获取 getSubagentsCount。
repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;
intio/agentscope/controlplane/proto/InventoryReport.java:75–78getSubagents
public io.agentscope.controlplane.proto.SubagentInfo getSubagents(int index)
获取 getSubagents。
repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.controlplane.proto.SubagentInfoio/agentscope/controlplane/proto/InventoryReport.java:82–85getSubagentsOrBuilder
public io.agentscope.controlplane.proto.SubagentInfoOrBuilder getSubagentsOrBuilder(int index)
获取 getSubagentsOrBuilder。
repeated .agentscope.protocol.v1.SubagentInfo subagents = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.controlplane.proto.SubagentInfoOrBuilderio/agentscope/controlplane/proto/InventoryReport.java:89–93getWorkspacesList
public java.util.List<io.agentscope.controlplane.proto.WorkspaceInfo> getWorkspacesList()
获取 getWorkspacesList。
repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;
java.util.List<io.agentscope.controlplane.proto.WorkspaceInfo>io/agentscope/controlplane/proto/InventoryReport.java:101–104getWorkspacesOrBuilderList
public java.util.List<? extends io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder> getWorkspacesOrBuilderList()
获取 getWorkspacesOrBuilderList。
repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;
java.util.List<? extends io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder>io/agentscope/controlplane/proto/InventoryReport.java:108–112getWorkspacesCount
public int getWorkspacesCount()
获取 getWorkspacesCount。
repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;
intio/agentscope/controlplane/proto/InventoryReport.java:116–119getWorkspaces
public io.agentscope.controlplane.proto.WorkspaceInfo getWorkspaces(int index)
获取 getWorkspaces。
repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.controlplane.proto.WorkspaceInfoio/agentscope/controlplane/proto/InventoryReport.java:123–126getWorkspacesOrBuilder
public io.agentscope.controlplane.proto.WorkspaceInfoOrBuilder getWorkspacesOrBuilder(int index)
获取 getWorkspacesOrBuilder。
repeated .agentscope.protocol.v1.WorkspaceInfo workspaces = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
index | int | 索引(类型 `int`)。The index. |
io.agentscope.controlplane.proto.WorkspaceInfoOrBuilderio/agentscope/controlplane/proto/InventoryReport.java:130–134hasHealth
public boolean hasHealth()
判断是否具有健康状态。
.agentscope.protocol.v1.InstanceHealth health = 3;
booleanio/agentscope/controlplane/proto/InventoryReport.java:142–145getHealth
public io.agentscope.controlplane.proto.InstanceHealth getHealth()
获取健康状态。
.agentscope.protocol.v1.InstanceHealth health = 3;
io.agentscope.controlplane.proto.InstanceHealthio/agentscope/controlplane/proto/InventoryReport.java:150–153getHealthOrBuilder
public io.agentscope.controlplane.proto.InstanceHealthOrBuilder getHealthOrBuilder()
获取健康状态或构建器。
.agentscope.protocol.v1.InstanceHealth health = 3;
io.agentscope.controlplane.proto.InstanceHealthOrBuilderio/agentscope/controlplane/proto/InventoryReport.java:157–160isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/InventoryReport.java:163–171writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
设置写入到。
Performs the write to operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
output | com.google.protobuf.CodedOutputStream | 输出(类型 `com.google.protobuf.CodedOutputStream`)。The output. |
java.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:173–186getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/controlplane/proto/InventoryReport.java:188–209equals
public boolean equals(java.lang.Object obj)
设置该参数。
Performs the equals operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
obj | java.lang.Object | obj(类型 `java.lang.Object`)。The obj. |
booleanio/agentscope/controlplane/proto/InventoryReport.java:211–232hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/controlplane/proto/InventoryReport.java:234–256parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | java.nio.ByteBuffer | 数据(类型 `java.nio.ByteBuffer`)。The data. |
io.agentscope.controlplane.proto.InventoryReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:258–262parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | java.nio.ByteBuffer | 数据(类型 `java.nio.ByteBuffer`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.InventoryReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:263–268parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | com.google.protobuf.ByteString | 数据(类型 `com.google.protobuf.ByteString`)。The data. |
io.agentscope.controlplane.proto.InventoryReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:269–273parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | com.google.protobuf.ByteString | 数据(类型 `com.google.protobuf.ByteString`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.InventoryReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:274–279parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.controlplane.proto.InventoryReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:280–283parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.InventoryReportcom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:284–289parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(java.io.InputStream input) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
io.agentscope.controlplane.proto.InventoryReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:290–294parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.InventoryReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:295–301parseDelimitedFrom
public static io.agentscope.controlplane.proto.InventoryReport parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
解析 parseDelimitedFrom。
Parses the delimited from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
io.agentscope.controlplane.proto.InventoryReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:303–307parseDelimitedFrom
public static io.agentscope.controlplane.proto.InventoryReport parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析 parseDelimitedFrom。
Parses the delimited from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | java.io.InputStream | 输入消息(类型 `java.io.InputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.InventoryReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:309–315parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
io.agentscope.controlplane.proto.InventoryReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:316–321parseFrom
public static io.agentscope.controlplane.proto.InventoryReport parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
io.agentscope.controlplane.proto.InventoryReportjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/InventoryReport.java:322–328newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/controlplane/proto/InventoryReport.java:330–331newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/controlplane/proto/InventoryReport.java:332–334newBuilder
public static Builder newBuilder(io.agentscope.controlplane.proto.InventoryReport prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.controlplane.proto.InventoryReport | prototype(类型 `io.agentscope.controlplane.proto.InventoryReport`)。The prototype. |
Builderio/agentscope/controlplane/proto/InventoryReport.java:335–337toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/controlplane/proto/InventoryReport.java:338–342newBuilderForType
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
创建构建器用于类型。
Performs the new builder for type operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
parent | com.google.protobuf.GeneratedMessage.BuilderParent | 父级(类型 `com.google.protobuf.GeneratedMessage.BuilderParent`)。The parent. |
Builderio/agentscope/controlplane/proto/InventoryReport.java:344–349getDefaultInstance
public static io.agentscope.controlplane.proto.InventoryReport getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.controlplane.proto.InventoryReportio/agentscope/controlplane/proto/InventoryReport.java:1235–1237parser
public static com.google.protobuf.Parser<InventoryReport> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<InventoryReport>io/agentscope/controlplane/proto/InventoryReport.java:1261–1263getParserForType
public com.google.protobuf.Parser<InventoryReport> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<InventoryReport>io/agentscope/controlplane/proto/InventoryReport.java:1265–1268getDefaultInstanceForType
public io.agentscope.controlplane.proto.InventoryReport getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.InventoryReportio/agentscope/controlplane/proto/InventoryReport.java:1270–1273嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.InventoryReportOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.InventoryReportOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
InventoryReport carries the instance-level runtime inventory: subagents,
workspaces and health. Sent right after connect, then on change or at the
Level-1 cadence.
Protobuf type agentscope.protocol.v1.InventoryReport