AS AgentScopeAPI 手册 / API Reference

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;

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

getConfigType

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

获取配置类型。

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

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

getVersion

public java.lang.String getVersion()

获取版本。

string version = 2;

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

getVersionBytes

public com.google.protobuf.ByteString getVersionBytes()

获取版本字节。

string version = 2;

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

getNonce

public java.lang.String getNonce()

获取 getNonce。

string nonce = 3;

返回Returns java.lang.String
返回java.lang.String。The nonce.
源码Source io/agentscope/aistio/proto/ConfigAckOrBuilder.java:39

getNonceBytes

public com.google.protobuf.ByteString getNonceBytes()

获取 getNonceBytes。

string nonce = 3;

返回Returns com.google.protobuf.ByteString
返回com.google.protobuf.ByteString。The bytes for nonce.
源码Source io/agentscope/aistio/proto/ConfigAckOrBuilder.java:44–45

getAccepted

public boolean getAccepted()

获取 getAccepted。

bool accepted = 4;

返回Returns boolean
返回布尔值,表示判断结果。The accepted.
源码Source io/agentscope/aistio/proto/ConfigAckOrBuilder.java:51

getRejectReason

public java.lang.String getRejectReason()

获取拒绝推理。

string reject_reason = 5;

返回Returns java.lang.String
返回java.lang.String。The rejectReason.
源码Source io/agentscope/aistio/proto/ConfigAckOrBuilder.java:57

getRejectReasonBytes

public com.google.protobuf.ByteString getRejectReasonBytes()

获取拒绝推理字节。

string reject_reason = 5;

返回Returns com.google.protobuf.ByteString
字节用于 rejectReason。The bytes for rejectReason.
源码Source io/agentscope/aistio/proto/ConfigAckOrBuilder.java:62–63
基于官方固定版本源码静态生成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.