AS AgentScopeAPI 手册 / API Reference

AsdpProto

public final class AsdpProto
源码Source io/agentscope/controlplane/proto/AsdpProto.java:8–439

ASDP 协议,承载智能体的部署、调度与服务化运行。位于 io.agentscope.controlplane.proto 包。核心成员包括 registerAllExtensions、getDescriptor。

A class in io.agentscope.controlplane.proto that deploys, schedules and serves agents. Declared in io.agentscope.controlplane.proto.

方法摘要Method Summary

方法Method说明Description
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
static
注册所有扩展。
Registers the all extensions.
public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
static
注册所有扩展。
Registers the all extensions.
public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
static
获取描述符。
Returns the descriptor.

方法详情Method Detail

registerAllExtensions

public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)
static

注册所有扩展。

Registers the all extensions.

参数Parameters
名称Name类型Type说明Description
registrycom.google.protobuf.ExtensionRegistryLite注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The registry.
源码Source io/agentscope/controlplane/proto/AsdpProto.java:19–21

registerAllExtensions

public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)
static

注册所有扩展。

Registers the all extensions.

参数Parameters
名称Name类型Type说明Description
registrycom.google.protobuf.ExtensionRegistry注册表(类型 `com.google.protobuf.ExtensionRegistry`)。The registry.
源码Source io/agentscope/controlplane/proto/AsdpProto.java:23–27

getDescriptor

public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor()
static

获取描述符。

Returns the descriptor.

返回Returns com.google.protobuf.Descriptors.FileDescriptor
返回com.google.protobuf.Descriptors.FileDescriptor。Returns com google protobuf descriptors file descriptor.
源码Source io/agentscope/controlplane/proto/AsdpProto.java:149–152
基于官方固定版本源码静态生成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.