AS AgentScopeAPI 手册 / API Reference

ConfigPushOrBuilder

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

定义配置推送或构建器契约的接口。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getConfigTypeValue、getConfigType、getVersion、getVersionBytes、getResources、getNonce。

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 int getConfigTypeValue()
获取配置类型值。
`.agentscope.protocol.v1.ConfigType config_type = 1;`
public io.agentscope.controlplane.proto.ConfigType getConfigType()
获取配置类型。
`.agentscope.protocol.v1.ConfigType config_type = 1;`
public java.lang.String getVersion()
获取版本。
`string version = 2;`
public com.google.protobuf.ByteString getVersionBytes()
获取版本字节。
`string version = 2;`
public com.google.protobuf.ByteString getResources()
获取 `getResources`。
`bytes resources = 3;`
public java.lang.String getNonce()
获取 `getNonce`。
`string nonce = 4;`
public com.google.protobuf.ByteString getNonceBytes()
获取 `getNonceBytes`。
`string nonce = 4;`

方法详情Method Detail

getConfigTypeValue

public int getConfigTypeValue()

获取配置类型值。

.agentscope.protocol.v1.ConfigType config_type = 1;

返回Returns int
返回数值结果。The enum numeric value on the wire for configType.
源码Source io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:16

getConfigType

public io.agentscope.controlplane.proto.ConfigType getConfigType()

获取配置类型。

.agentscope.protocol.v1.ConfigType config_type = 1;

返回Returns io.agentscope.controlplane.proto.ConfigType
返回io.agentscope.controlplane.协议.ConfigType。The configType.
源码Source io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:21

getVersion

public java.lang.String getVersion()

获取版本。

string version = 2;

返回Returns java.lang.String
版本。The version.
源码Source io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:27

getVersionBytes

public com.google.protobuf.ByteString getVersionBytes()

获取版本字节。

string version = 2;

返回Returns com.google.protobuf.ByteString
字节用于版本。The bytes for version.
源码Source io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:32–33

getResources

public com.google.protobuf.ByteString getResources()

获取 getResources。

bytes resources = 3;

返回Returns com.google.protobuf.ByteString
返回com.google.protobuf.ByteString。The resources.
源码Source io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:39

getNonce

public java.lang.String getNonce()

获取 getNonce。

string nonce = 4;

返回Returns java.lang.String
返回java.lang.String。The nonce.
源码Source io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:45

getNonceBytes

public com.google.protobuf.ByteString getNonceBytes()

获取 getNonceBytes。

string nonce = 4;

返回Returns com.google.protobuf.ByteString
返回com.google.protobuf.ByteString。The bytes for nonce.
源码Source io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:50–51
基于官方固定版本源码静态生成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.