ConnectResponseOrBuilder
public interface ConnectResponseOrBuilder extends com.google.protobuf.MessageOrBuilder
源码Source
io/agentscope/controlplane/proto/ConnectResponseOrBuilder.java:8–41定义连接响应或构建器契约的接口。位于 io.agentscope.controlplane.proto 包,实现 com.google.protobuf.MessageOrBuilder。核心成员包括 getAccepted、getRejectReason、getRejectReasonBytes、getControlPlaneVersion、getControlPlaneVersionBytes。
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 boolean getAccepted() | 获取 `getAccepted`。 `bool accepted = 1;` |
public java.lang.String getRejectReason() | 获取拒绝推理。 `string reject_reason = 2;` |
public com.google.protobuf.ByteString getRejectReasonBytes() | 获取拒绝推理字节。 `string reject_reason = 2;` |
public java.lang.String getControlPlaneVersion() | 获取控制面版本。 `string control_plane_version = 3;` |
public com.google.protobuf.ByteString getControlPlaneVersionBytes() | 获取控制面版本字节。 `string control_plane_version = 3;` |
方法详情Method Detail
getAccepted
public boolean getAccepted()
获取 getAccepted。
bool accepted = 1;
boolean返回布尔值,表示判断结果。The accepted.
源码Source
io/agentscope/controlplane/proto/ConnectResponseOrBuilder.java:16getRejectReason
public java.lang.String getRejectReason()
获取拒绝推理。
string reject_reason = 2;
java.lang.String返回java.lang.String。The rejectReason.
源码Source
io/agentscope/controlplane/proto/ConnectResponseOrBuilder.java:22getRejectReasonBytes
public com.google.protobuf.ByteString getRejectReasonBytes()
获取拒绝推理字节。
string reject_reason = 2;
com.google.protobuf.ByteString字节用于 rejectReason。The bytes for rejectReason.
源码Source
io/agentscope/controlplane/proto/ConnectResponseOrBuilder.java:27–28getControlPlaneVersion
public java.lang.String getControlPlaneVersion()
获取控制面版本。
string control_plane_version = 3;
java.lang.String返回java.lang.String。The controlPlaneVersion.
源码Source
io/agentscope/controlplane/proto/ConnectResponseOrBuilder.java:34getControlPlaneVersionBytes
public com.google.protobuf.ByteString getControlPlaneVersionBytes()
获取控制面版本字节。
string control_plane_version = 3;
com.google.protobuf.ByteString字节用于 controlPlaneVersion。The bytes for controlPlaneVersion.
源码Source
io/agentscope/controlplane/proto/ConnectResponseOrBuilder.java:39–40