Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.ConnectResponseOrBuilder
io/agentscope/controlplane/proto/ConnectResponse.java:317–655构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.ConnectResponseOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Protobuf type agentscope.protocol.v1.ConnectResponse
方法摘要Method Summary
方法详情Method Detail
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
获取描述符。
Returns the descriptor.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/ConnectResponse.java:321–324internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/ConnectResponse.java:326–332clear
public Builder clear()
清空或重置内部状态。
Clears or resets internal state.
Builderio/agentscope/controlplane/proto/ConnectResponse.java:344–352getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 getDescriptorForType。
Returns the descriptor for type.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/ConnectResponse.java:354–358getDefaultInstanceForType
public io.agentscope.controlplane.proto.ConnectResponse getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.ConnectResponseio/agentscope/controlplane/proto/ConnectResponse.java:360–363build
public io.agentscope.controlplane.proto.ConnectResponse build()
构建并返回最终实例。
Creates and returns an instance.
io.agentscope.controlplane.proto.ConnectResponseio/agentscope/controlplane/proto/ConnectResponse.java:365–372buildPartial
public io.agentscope.controlplane.proto.ConnectResponse buildPartial()
构建 buildPartial。
Builds the partial.
io.agentscope.controlplane.proto.ConnectResponseio/agentscope/controlplane/proto/ConnectResponse.java:374–380mergeFrom
public Builder mergeFrom(com.google.protobuf.Message other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | com.google.protobuf.Message | other(类型 `com.google.protobuf.Message`)。The other. |
Builderio/agentscope/controlplane/proto/ConnectResponse.java:395–403mergeFrom
public Builder mergeFrom(io.agentscope.controlplane.proto.ConnectResponse other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | io.agentscope.controlplane.proto.ConnectResponse | other(类型 `io.agentscope.controlplane.proto.ConnectResponse`)。The other. |
Builderio/agentscope/controlplane/proto/ConnectResponse.java:405–423isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/ConnectResponse.java:425–428mergeFrom
public Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
input | com.google.protobuf.CodedInputStream | 输入消息(类型 `com.google.protobuf.CodedInputStream`)。The input. |
extensionRegistry | com.google.protobuf.ExtensionRegistryLite | 扩展注册表(类型 `com.google.protobuf.ExtensionRegistryLite`)。The extension registry. |
Builderjava.io.IOException可能抛出 `java.io.IOException`。Thrown when the operation cannot be completed.
io/agentscope/controlplane/proto/ConnectResponse.java:430–475getAccepted
public boolean getAccepted()
获取 getAccepted。
bool accepted = 1;
booleanio/agentscope/controlplane/proto/ConnectResponse.java:483–486setAccepted
public Builder setAccepted(boolean value)
设置该配置项。
bool accepted = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | boolean | 值(类型 `boolean`)。The accepted to set. |
Builderio/agentscope/controlplane/proto/ConnectResponse.java:492–498clearAccepted
public Builder clearAccepted()
清空 clearAccepted。
bool accepted = 1;
Builderio/agentscope/controlplane/proto/ConnectResponse.java:503–508getRejectReason
public java.lang.String getRejectReason()
获取拒绝推理。
string reject_reason = 2;
java.lang.Stringio/agentscope/controlplane/proto/ConnectResponse.java:515–526getRejectReasonBytes
public com.google.protobuf.ByteString getRejectReasonBytes()
获取拒绝推理字节。
string reject_reason = 2;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConnectResponse.java:531–543setRejectReason
public Builder setRejectReason(java.lang.String value)
设置设置拒绝推理。
string reject_reason = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | rejectReason 到设置。The rejectReason to set. |
Builderio/agentscope/controlplane/proto/ConnectResponse.java:549–556clearRejectReason
public Builder clearRejectReason()
清空拒绝推理。
string reject_reason = 2;
Builderio/agentscope/controlplane/proto/ConnectResponse.java:561–566setRejectReasonBytes
public Builder setRejectReasonBytes(com.google.protobuf.ByteString value)
设置设置拒绝推理字节。
string reject_reason = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 rejectReason 到设置。The bytes for rejectReason to set. |
Builderio/agentscope/controlplane/proto/ConnectResponse.java:572–580getControlPlaneVersion
public java.lang.String getControlPlaneVersion()
获取控制面版本。
string control_plane_version = 3;
java.lang.Stringio/agentscope/controlplane/proto/ConnectResponse.java:587–598getControlPlaneVersionBytes
public com.google.protobuf.ByteString getControlPlaneVersionBytes()
获取控制面版本字节。
string control_plane_version = 3;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConnectResponse.java:603–615setControlPlaneVersion
public Builder setControlPlaneVersion(java.lang.String value)
设置设置控制面版本。
string control_plane_version = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | controlPlaneVersion 到设置。The controlPlaneVersion to set. |
Builderio/agentscope/controlplane/proto/ConnectResponse.java:621–628clearControlPlaneVersion
public Builder clearControlPlaneVersion()
清空控制面版本。
string control_plane_version = 3;
Builderio/agentscope/controlplane/proto/ConnectResponse.java:633–638setControlPlaneVersionBytes
public Builder setControlPlaneVersionBytes(com.google.protobuf.ByteString value)
设置设置控制面版本字节。
string control_plane_version = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 controlPlaneVersion 到设置。The bytes for controlPlaneVersion to set. |
Builderio/agentscope/controlplane/proto/ConnectResponse.java:644–652