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;
int返回数值结果。The enum numeric value on the wire for configType.
源码Source
io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:16getConfigType
public io.agentscope.controlplane.proto.ConfigType getConfigType()
获取配置类型。
.agentscope.protocol.v1.ConfigType config_type = 1;
io.agentscope.controlplane.proto.ConfigType返回io.agentscope.controlplane.协议.ConfigType。The configType.
源码Source
io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:21getVersion
public java.lang.String getVersion()
获取版本。
string version = 2;
java.lang.String版本。The version.
源码Source
io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:27getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
获取版本字节。
string version = 2;
com.google.protobuf.ByteString字节用于版本。The bytes for version.
源码Source
io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:32–33getResources
public com.google.protobuf.ByteString getResources()
获取 getResources。
bytes resources = 3;
com.google.protobuf.ByteString返回com.google.protobuf.ByteString。The resources.
源码Source
io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:39getNonce
public java.lang.String getNonce()
获取 getNonce。
string nonce = 4;
java.lang.String返回java.lang.String。The nonce.
源码Source
io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:45getNonceBytes
public com.google.protobuf.ByteString getNonceBytes()
获取 getNonceBytes。
string nonce = 4;
com.google.protobuf.ByteString返回com.google.protobuf.ByteString。The bytes for nonce.
源码Source
io/agentscope/controlplane/proto/ConfigPushOrBuilder.java:50–51