AS AgentScopeAPI 手册 / API Reference

SubagentInfo

public final class SubagentInfo extends com.google.protobuf.GeneratedMessage implements SubagentInfoOrBuilder
源码Source 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_NUMBER
staticfinal
int
名称 FIELD 数量字段。
The NAME FIELD NUMBER field.
DESCRIPTION_FIELD_NUMBER
staticfinal
int
DESCRIPTION FIELD 数量字段。
The DESCRIPTION FIELD NUMBER field.
TOOLS_FIELD_NUMBER
staticfinal
int
工具 FIELD 数量字段。
The TOOLS FIELD NUMBER field.
WORKSPACE_MODE_FIELD_NUMBER
staticfinal
int
工作区模式 FIELD 数量字段。
The WORKSPACE MODE FIELD NUMBER field.
URL_FIELD_NUMBER
staticfinal
int
URL FIELD 数量字段。
The URL FIELD NUMBER field.
INVOKE_COUNT_FIELD_NUMBER
staticfinal
int
调用数量 FIELD 数量字段。
The INVOKE COUNT FIELD NUMBER field.
LAST_INVOKED_AT_FIELD_NUMBER
staticfinal
int
最后 INVOKED AT FIELD 数量字段。
The LAST INVOKED AT FIELD NUMBER field.

方法摘要Method Summary

方法Method说明Description
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal
获取描述符。
Returns the descriptor.
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 `internalGetFieldAccessorTable` 结果。
Returns the internal get field accessor table.
public java.lang.String getName()
获取名称。
`string name = 1;`
public com.google.protobuf.ByteString getNameBytes()
获取名称字节。
`string name = 1;`
public java.lang.String getDescription()
获取 `getDescription`。
`string description = 2;`
public com.google.protobuf.ByteString getDescriptionBytes()
获取 `getDescriptionBytes`。
`string description = 2;`
public com.google.protobuf.ProtocolStringList getToolsList()
获取工具列表。
`repeated string tools = 3;`
public int getToolsCount()
获取工具数量。
`repeated string tools = 3;`
public java.lang.String getTools(int index)
获取工具。
`repeated string tools = 3;`
public com.google.protobuf.ByteString getToolsBytes(int index)
获取工具字节。
`repeated string tools = 3;`
public java.lang.String getWorkspaceMode()
获取工作区模式。
``` isolated | shared
public com.google.protobuf.ByteString getWorkspaceModeBytes()
获取工作区模式字节。
``` isolated | shared
public java.lang.String getUrl()
获取URL。
``` remote subagent endpoint, if any
public com.google.protobuf.ByteString getUrlBytes()
获取URL 字节。
``` remote subagent endpoint, if any
public long getInvokeCount()
获取调用数量。
`int64 invoke_count = 6;`
public long getLastInvokedAt()
获取 `getLastInvokedAt`。
``` unix milliseconds
public final boolean isInitialized()
final
判断是否已初始化。
Returns whether the initialized.
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
设置写入到。
Performs the write to operation.
public int getSerializedSize()
获取 `getSerializedSize`。
Returns the serialized size.
public boolean equals(java.lang.Object obj)
设置该参数。
Performs the equals operation.
public int hashCode()
返回 `hashCode` 结果。
Returns the hash code.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(java.io.InputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.SubagentInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析 `parseDelimitedFrom`。
Parses the delimited from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static
解析来自。
Parses the from.
public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static
解析来自。
Parses the from.
public Builder newBuilderForType()
创建构建器用于类型。
Returns the new builder for type.
public static Builder newBuilder()
static
创建构建器。
Returns the new builder.
public static Builder newBuilder(io.agentscope.controlplane.proto.SubagentInfo prototype)
static
创建构建器。
Performs the new builder operation.
public Builder toBuilder()
返回到构建器。
Returns the to builder.
protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)
创建构建器用于类型。
Performs the new builder for type operation.
public static io.agentscope.controlplane.proto.SubagentInfo getDefaultInstance()
static
获取默认实例。
Returns the default instance.
public static com.google.protobuf.Parser<SubagentInfo> parser()
static
返回解析器。
Returns the parser.
public com.google.protobuf.Parser<SubagentInfo> getParserForType()
获取解析器用于类型。
Returns the parser for type.
public io.agentscope.controlplane.proto.SubagentInfo getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.

字段详情Field Detail

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
staticfinal

名称 FIELD 数量字段。声明为 public static final int NAME_FIELD_NUMBER。

The NAME FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/SubagentInfo.java:51

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
staticfinal

DESCRIPTION FIELD 数量字段。声明为 public static final int DESCRIPTION_FIELD_NUMBER。

The DESCRIPTION FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/SubagentInfo.java:90

TOOLS_FIELD_NUMBER

public static final int TOOLS_FIELD_NUMBER
staticfinal

工具 FIELD 数量字段。声明为 public static final int TOOLS_FIELD_NUMBER。

The TOOLS FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/SubagentInfo.java:129

WORKSPACE_MODE_FIELD_NUMBER

public static final int WORKSPACE_MODE_FIELD_NUMBER
staticfinal

工作区模式 FIELD 数量字段。声明为 public static final int WORKSPACE_MODE_FIELD_NUMBER。

The WORKSPACE MODE FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/SubagentInfo.java:166

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
staticfinal

URL FIELD 数量字段。声明为 public static final int URL_FIELD_NUMBER。

The URL FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/SubagentInfo.java:213

INVOKE_COUNT_FIELD_NUMBER

public static final int INVOKE_COUNT_FIELD_NUMBER
staticfinal

调用数量 FIELD 数量字段。声明为 public static final int INVOKE_COUNT_FIELD_NUMBER。

The INVOKE COUNT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/SubagentInfo.java:260

LAST_INVOKED_AT_FIELD_NUMBER

public static final int LAST_INVOKED_AT_FIELD_NUMBER
staticfinal

最后 INVOKED AT FIELD 数量字段。声明为 public static final int LAST_INVOKED_AT_FIELD_NUMBER。

The LAST INVOKED AT FIELD NUMBER field.

源码Source io/agentscope/controlplane/proto/SubagentInfo.java:271

方法详情Method Detail

getDescriptor

public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
staticfinal

获取描述符。

Returns the descriptor.

返回Returns com.google.protobuf.Descriptors.Descriptor
返回com.google.protobuf.Descriptors.Descriptor。Returns com google protobuf descriptors descriptor.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:38–41

internalGetFieldAccessorTable

protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()

返回 internalGetFieldAccessorTable 结果。

Returns the internal get field accessor table.

返回Returns com.google.protobuf.GeneratedMessage.FieldAccessorTable
返回com.google.protobuf.GeneratedMessage.FieldAccessorTable。Returns com google protobuf generated message field accessor table.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:43–49

getName

public java.lang.String getName()

获取名称。

string name = 1;

返回Returns java.lang.String
名称。The name.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:58–70

getNameBytes

public com.google.protobuf.ByteString getNameBytes()

获取名称字节。

string name = 1;

返回Returns com.google.protobuf.ByteString
字节用于名称。The bytes for name.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:75–88

getDescription

public java.lang.String getDescription()

获取 getDescription。

string description = 2;

返回Returns java.lang.String
返回java.lang.String。The description.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:97–109

getDescriptionBytes

public com.google.protobuf.ByteString getDescriptionBytes()

获取 getDescriptionBytes。

string description = 2;

返回Returns com.google.protobuf.ByteString
返回com.google.protobuf.ByteString。The bytes for description.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:114–127

getToolsList

public com.google.protobuf.ProtocolStringList getToolsList()

获取工具列表。

repeated string tools = 3;

返回Returns com.google.protobuf.ProtocolStringList
返回com.google.protobuf.ProtocolStringList。A list containing the tools.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:137–140

getToolsCount

public int getToolsCount()

获取工具数量。

repeated string tools = 3;

返回Returns int
工具的数量。The count of tools.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:145–147

getTools

public java.lang.String getTools(int index)

获取工具。

repeated string tools = 3;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index of the element to return.
返回Returns java.lang.String
返回java.lang.String。The tools at the given index.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:153–155

getToolsBytes

public com.google.protobuf.ByteString getToolsBytes(int index)

获取工具字节。

repeated string tools = 3;

参数Parameters
名称Name类型Type说明Description
indexint索引(类型 `int`)。The index of the value to return.
返回Returns com.google.protobuf.ByteString
返回com.google.protobuf.ByteString。The bytes of the tools at the given index.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:161–164

getWorkspaceMode

public java.lang.String getWorkspaceMode()

获取工作区模式。

isolated | shared string workspace_mode = 4;

返回Returns java.lang.String
返回java.lang.String。The workspaceMode.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:177–189

getWorkspaceModeBytes

public com.google.protobuf.ByteString getWorkspaceModeBytes()

获取工作区模式字节。

isolated | shared string workspace_mode = 4;

返回Returns com.google.protobuf.ByteString
字节用于 workspaceMode。The bytes for workspaceMode.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:198–211

getUrl

public java.lang.String getUrl()

获取URL。

remote subagent endpoint, if any string url = 5;

返回Returns java.lang.String
返回java.lang.String。The url.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:224–236

getUrlBytes

public com.google.protobuf.ByteString getUrlBytes()

获取URL 字节。

remote subagent endpoint, if any string url = 5;

返回Returns com.google.protobuf.ByteString
字节用于 URL。The bytes for url.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:245–258

getInvokeCount

public long getInvokeCount()

获取调用数量。

int64 invoke_count = 6;

返回Returns long
返回数值结果。The invokeCount.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:266–269

getLastInvokedAt

public long getLastInvokedAt()

获取 getLastInvokedAt。

unix milliseconds int64 last_invoked_at = 7;

返回Returns long
返回数值结果。The lastInvokedAt.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:281–284

isInitialized

public final boolean isInitialized()
final

判断是否已初始化。

Returns whether the initialized.

返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:287–295

writeTo

public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException

设置写入到。

Performs the write to operation.

参数Parameters
名称Name类型Type说明Description
outputcom.google.protobuf.CodedOutputStream输出(类型 `com.google.protobuf.CodedOutputStream`)。The output.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:297–322

getSerializedSize

public int getSerializedSize()

获取 getSerializedSize。

Returns the serialized size.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:324–361

equals

public boolean equals(java.lang.Object obj)

设置该参数。

Performs the equals operation.

参数Parameters
名称Name类型Type说明Description
objjava.lang.Objectobj(类型 `java.lang.Object`)。The obj.
返回Returns boolean
返回布尔值,表示判断结果。Returns a boolean result.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:363–389

hashCode

public int hashCode()

返回 hashCode 结果。

Returns the hash code.

返回Returns int
返回数值结果。Returns a numeric result.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:391–419

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datajava.nio.ByteBuffer数据(类型 `java.nio.ByteBuffer`)。The data.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:421–425

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datajava.nio.ByteBuffer数据(类型 `java.nio.ByteBuffer`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:426–431

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datacom.google.protobuf.ByteString数据(类型 `com.google.protobuf.ByteString`)。The data.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:432–436

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
datacom.google.protobuf.ByteString数据(类型 `com.google.protobuf.ByteString`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:437–442

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
databyte[]数据(类型 `byte[]`)。The data.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:443–446

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
databyte[]数据(类型 `byte[]`)。The data.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • com.google.protobuf.InvalidProtocolBufferException 可能抛出 `com.google.protobuf.InvalidProtocolBufferException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:447–452

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(java.io.InputStream input) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:453–457

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:458–464

parseDelimitedFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
static

解析 parseDelimitedFrom。

Parses the delimited from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:466–470

parseDelimitedFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析 parseDelimitedFrom。

Parses the delimited from.

参数Parameters
名称Name类型Type说明Description
inputjava.io.InputStream输入消息(类型 `java.io.InputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:472–478

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputcom.google.protobuf.CodedInputStream输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:479–484

parseFrom

public static io.agentscope.controlplane.proto.SubagentInfo parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
static

解析来自。

Parses the from.

参数Parameters
名称Name类型Type说明Description
inputcom.google.protobuf.CodedInputStream输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input.
extensionRegistrycom.google.protobuf.ExtensionRegistryLite扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry.
返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
抛出Throws
  • java.io.IOException 可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:485–491

newBuilderForType

public Builder newBuilderForType()

创建构建器用于类型。

Returns the new builder for type.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:493–494

newBuilder

public static Builder newBuilder()
static

创建构建器。

Returns the new builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:495–497

newBuilder

public static Builder newBuilder(io.agentscope.controlplane.proto.SubagentInfo prototype)
static

创建构建器。

Performs the new builder operation.

参数Parameters
名称Name类型Type说明Description
prototypeio.agentscope.controlplane.proto.SubagentInfoprototype(类型 `io.agentscope.controlplane.proto.SubagentInfo`)。The prototype.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:498–500

toBuilder

public Builder toBuilder()

返回到构建器。

Returns the to builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:501–505

newBuilderForType

protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent)

创建构建器用于类型。

Performs the new builder for type operation.

参数Parameters
名称Name类型Type说明Description
parentcom.google.protobuf.GeneratedMessage.BuilderParent父级(类型 `com.google.protobuf.GeneratedMessage.BuilderParent`)。The parent.
返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:507–512

getDefaultInstance

public static io.agentscope.controlplane.proto.SubagentInfo getDefaultInstance()
static

获取默认实例。

Returns the default instance.

返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:1263–1265

parser

public static com.google.protobuf.Parser<SubagentInfo> parser()
static

返回解析器。

Returns the parser.

返回Returns com.google.protobuf.Parser<SubagentInfo>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:1289–1291

getParserForType

public com.google.protobuf.Parser<SubagentInfo> getParserForType()

获取解析器用于类型。

Returns the parser for type.

返回Returns com.google.protobuf.Parser<SubagentInfo>
返回com.google.protobuf.解析器。Returns com google protobuf parser.
源码Source io/agentscope/controlplane/proto/SubagentInfo.java:1293–1296

getDefaultInstanceForType

public io.agentscope.controlplane.proto.SubagentInfo getDefaultInstanceForType()

获取默认实例用于类型。

Returns the default instance for type.

返回Returns io.agentscope.controlplane.proto.SubagentInfo
返回io.agentscope.controlplane.协议.SubagentInfo。Returns io agentscope controlplane proto subagent info.
源码Source io/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

基于官方固定版本源码静态生成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.