ConfigAckOrBuilder
public interface ConfigAckOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:8–64定义配置确认或构建器契约的接口。位于 io.agentscope.aistio.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getConfigTypeValue、getConfigType、getVersion、getVersionBytes、getNonce、getNonceBytes。
An interface in io.agentscope.aistio.proto that defines the contract for components that deploys, schedules and serves agents. Declared in io.agentscope.aistio.proto. Implements com.google.protobuf.MessageOrBuilder.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public int getConfigTypeValue() | 获取配置类型值。 `.agentscope.protocol.v1.ConfigType config_type = 1;` |
public io.agentscope.aistio.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 java.lang.String getNonce() | 获取 `getNonce`。 `string nonce = 3;` |
public com.google.protobuf.ByteString getNonceBytes() | 获取 `getNonceBytes`。 `string nonce = 3;` |
public boolean getAccepted() | 获取 `getAccepted`。 `bool accepted = 4;` |
public java.lang.String getRejectReason() | 获取拒绝推理。 `string reject_reason = 5;` |
public com.google.protobuf.ByteString getRejectReasonBytes() | 获取拒绝推理字节。 `string reject_reason = 5;` |
方法详情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/aistio/proto/ConfigAckOrBuilder.java:16getConfigType
public io.agentscope.aistio.proto.ConfigType getConfigType()
获取配置类型。
.agentscope.protocol.v1.ConfigType config_type = 1;
io.agentscope.aistio.proto.ConfigType返回io.agentscope.aistio.协议.ConfigType。The configType.
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:21getVersion
public java.lang.String getVersion()
获取版本。
string version = 2;
java.lang.String版本。The version.
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:27getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
获取版本字节。
string version = 2;
com.google.protobuf.ByteString字节用于版本。The bytes for version.
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:32–33getNonce
public java.lang.String getNonce()
获取 getNonce。
string nonce = 3;
java.lang.String返回java.lang.String。The nonce.
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:39getNonceBytes
public com.google.protobuf.ByteString getNonceBytes()
获取 getNonceBytes。
string nonce = 3;
com.google.protobuf.ByteString返回com.google.protobuf.ByteString。The bytes for nonce.
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:44–45getAccepted
public boolean getAccepted()
获取 getAccepted。
bool accepted = 4;
boolean返回布尔值,表示判断结果。The accepted.
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:51getRejectReason
public java.lang.String getRejectReason()
获取拒绝推理。
string reject_reason = 5;
java.lang.String返回java.lang.String。The rejectReason.
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:57getRejectReasonBytes
public com.google.protobuf.ByteString getRejectReasonBytes()
获取拒绝推理字节。
string reject_reason = 5;
com.google.protobuf.ByteString字节用于 rejectReason。The bytes for rejectReason.
源码Source
io/agentscope/aistio/proto/ConfigAckOrBuilder.java:62–63