SubagentInfo
public final class SubagentInfo extends com.google.protobuf.GeneratedMessage implements SubagentInfoOrBuilder
io/agentscope/controlplane/proto/SubagentInfo.java:11–1303子智能体信息,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage,实现 SubagentInfoOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、getName、getNameBytes、getDescription、getDescriptionBytes。
Protobuf type agentscope.protocol.v1.SubagentInfo
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 Protobuf type `agentscope.protocol.v1.SubagentInfo` |
字段摘要Field Summary
| 字段Field | 类型Type | 说明Description |
|---|---|---|
NAME_FIELD_NUMBERstaticfinal | int | 名称 FIELD 数量字段。 The NAME FIELD NUMBER field. |
DESCRIPTION_FIELD_NUMBERstaticfinal | int | DESCRIPTION FIELD 数量字段。 The DESCRIPTION FIELD NUMBER field. |
TOOLS_FIELD_NUMBERstaticfinal | int | 工具 FIELD 数量字段。 The TOOLS FIELD NUMBER field. |
WORKSPACE_MODE_FIELD_NUMBERstaticfinal | int | 工作区模式 FIELD 数量字段。 The WORKSPACE MODE FIELD NUMBER field. |
URL_FIELD_NUMBERstaticfinal | int | URL FIELD 数量字段。 The URL FIELD NUMBER field. |
INVOKE_COUNT_FIELD_NUMBERstaticfinal | int | 调用数量 FIELD 数量字段。 The INVOKE COUNT FIELD NUMBER field. |
LAST_INVOKED_AT_FIELD_NUMBERstaticfinal | int | 最后 INVOKED AT FIELD 数量字段。 The LAST INVOKED AT FIELD NUMBER field. |
方法摘要Method Summary
字段详情Field Detail
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
名称 FIELD 数量字段。声明为 public static final int NAME_FIELD_NUMBER。
The NAME FIELD NUMBER field.
io/agentscope/controlplane/proto/SubagentInfo.java:51DESCRIPTION_FIELD_NUMBER
public static final int DESCRIPTION_FIELD_NUMBER
DESCRIPTION FIELD 数量字段。声明为 public static final int DESCRIPTION_FIELD_NUMBER。
The DESCRIPTION FIELD NUMBER field.
io/agentscope/controlplane/proto/SubagentInfo.java:90TOOLS_FIELD_NUMBER
public static final int TOOLS_FIELD_NUMBER
工具 FIELD 数量字段。声明为 public static final int TOOLS_FIELD_NUMBER。
The TOOLS FIELD NUMBER field.
io/agentscope/controlplane/proto/SubagentInfo.java:129WORKSPACE_MODE_FIELD_NUMBER
public static final int WORKSPACE_MODE_FIELD_NUMBER
工作区模式 FIELD 数量字段。声明为 public static final int WORKSPACE_MODE_FIELD_NUMBER。
The WORKSPACE MODE FIELD NUMBER field.
io/agentscope/controlplane/proto/SubagentInfo.java:166URL_FIELD_NUMBER
public static final int URL_FIELD_NUMBER
URL FIELD 数量字段。声明为 public static final int URL_FIELD_NUMBER。
The URL FIELD NUMBER field.
io/agentscope/controlplane/proto/SubagentInfo.java:213INVOKE_COUNT_FIELD_NUMBER
public static final int INVOKE_COUNT_FIELD_NUMBER
调用数量 FIELD 数量字段。声明为 public static final int INVOKE_COUNT_FIELD_NUMBER。
The INVOKE COUNT FIELD NUMBER field.
io/agentscope/controlplane/proto/SubagentInfo.java:260LAST_INVOKED_AT_FIELD_NUMBER
public static final int LAST_INVOKED_AT_FIELD_NUMBER
最后 INVOKED AT FIELD 数量字段。声明为 public static final int LAST_INVOKED_AT_FIELD_NUMBER。
The LAST INVOKED AT FIELD NUMBER field.
io/agentscope/controlplane/proto/SubagentInfo.java:271方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/SubagentInfo.java:38–41internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/SubagentInfo.java:43–49getName
public java.lang.String getName()
获取名称。
string name = 1;
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfo.java:58–70getNameBytes
public com.google.protobuf.ByteString getNameBytes()
获取名称字节。
string name = 1;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfo.java:75–88getDescription
public java.lang.String getDescription()
获取 getDescription。
string description = 2;
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfo.java:97–109getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
获取 getDescriptionBytes。
string description = 2;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfo.java:114–127getToolsList
public com.google.protobuf.ProtocolStringList getToolsList()
获取工具列表。
repeated string tools = 3;
com.google.protobuf.ProtocolStringListio/agentscope/controlplane/proto/SubagentInfo.java:137–140getToolsCount
public int getToolsCount()
获取工具数量。
repeated string tools = 3;
intio/agentscope/controlplane/proto/SubagentInfo.java:145–147getTools
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/SubagentInfo.java:153–155getToolsBytes
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/SubagentInfo.java:161–164getWorkspaceMode
public java.lang.String getWorkspaceMode()
获取工作区模式。
isolated | shared string workspace_mode = 4;
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfo.java:177–189getWorkspaceModeBytes
public com.google.protobuf.ByteString getWorkspaceModeBytes()
获取工作区模式字节。
isolated | shared string workspace_mode = 4;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfo.java:198–211getUrl
public java.lang.String getUrl()
获取URL。
remote subagent endpoint, if any string url = 5;
java.lang.Stringio/agentscope/controlplane/proto/SubagentInfo.java:224–236getUrlBytes
public com.google.protobuf.ByteString getUrlBytes()
获取URL 字节。
remote subagent endpoint, if any string url = 5;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/SubagentInfo.java:245–258getInvokeCount
public long getInvokeCount()
获取调用数量。
int64 invoke_count = 6;
longio/agentscope/controlplane/proto/SubagentInfo.java:266–269getLastInvokedAt
public long getLastInvokedAt()
获取 getLastInvokedAt。
unix milliseconds int64 last_invoked_at = 7;
longio/agentscope/controlplane/proto/SubagentInfo.java:281–284isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/SubagentInfo.java:287–295writeTo
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/SubagentInfo.java:297–322getSerializedSize
public int getSerializedSize()
获取 getSerializedSize。
Returns the serialized size.
intio/agentscope/controlplane/proto/SubagentInfo.java:324–361equals
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/SubagentInfo.java:363–389hashCode
public int hashCode()
返回 hashCode 结果。
Returns the hash code.
intio/agentscope/controlplane/proto/SubagentInfo.java:391–419parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:421–425parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:426–431parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:432–436parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:437–442parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
解析来自。
Parses the from.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
data | byte[] | 数据(类型 `byte[]`)。The data. |
io.agentscope.controlplane.proto.SubagentInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:443–446parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfocom.google.protobuf.InvalidProtocolBufferException可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:447–452parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:453–457parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:458–464parseDelimitedFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:466–470parseDelimitedFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:472–478parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:479–484parseFrom
public static io.agentscope.controlplane.proto.SubagentInfo 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.SubagentInfojava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/SubagentInfo.java:485–491newBuilderForType
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
Builderio/agentscope/controlplane/proto/SubagentInfo.java:493–494newBuilder
public static Builder newBuilder()
创建构建器。
Returns the new builder.
Builderio/agentscope/controlplane/proto/SubagentInfo.java:495–497newBuilder
public static Builder newBuilder(io.agentscope.controlplane.proto.SubagentInfo prototype)
创建构建器。
Performs the new builder operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
prototype | io.agentscope.controlplane.proto.SubagentInfo | prototype(类型 `io.agentscope.controlplane.proto.SubagentInfo`)。The prototype. |
Builderio/agentscope/controlplane/proto/SubagentInfo.java:498–500toBuilder
public Builder toBuilder()
返回到构建器。
Returns the to builder.
Builderio/agentscope/controlplane/proto/SubagentInfo.java:501–505newBuilderForType
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/SubagentInfo.java:507–512getDefaultInstance
public static io.agentscope.controlplane.proto.SubagentInfo getDefaultInstance()
获取默认实例。
Returns the default instance.
io.agentscope.controlplane.proto.SubagentInfoio/agentscope/controlplane/proto/SubagentInfo.java:1263–1265parser
public static com.google.protobuf.Parser<SubagentInfo> parser()
返回解析器。
Returns the parser.
com.google.protobuf.Parser<SubagentInfo>io/agentscope/controlplane/proto/SubagentInfo.java:1289–1291getParserForType
public com.google.protobuf.Parser<SubagentInfo> getParserForType()
获取解析器用于类型。
Returns the parser for type.
com.google.protobuf.Parser<SubagentInfo>io/agentscope/controlplane/proto/SubagentInfo.java:1293–1296getDefaultInstanceForType
public io.agentscope.controlplane.proto.SubagentInfo getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.SubagentInfoio/agentscope/controlplane/proto/SubagentInfo.java:1298–1301嵌套类详情Nested Class Detail
Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.SubagentInfoOrBuilder构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.SubagentInfoOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Protobuf type agentscope.protocol.v1.SubagentInfo