Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.ConfigAckOrBuilder
io/agentscope/controlplane/proto/ConfigAck.java:404–893构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.ConfigAckOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Config acknowledgement (analogous to xDS ACK/NACK)
Protobuf type agentscope.protocol.v1.ConfigAck
方法摘要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/ConfigAck.java:408–411internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/ConfigAck.java:413–419clear
public Builder clear()
清空或重置内部状态。
Clears or resets internal state.
Builderio/agentscope/controlplane/proto/ConfigAck.java:431–441getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 getDescriptorForType。
Returns the descriptor for type.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/ConfigAck.java:443–447getDefaultInstanceForType
public io.agentscope.controlplane.proto.ConfigAck getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.ConfigAckio/agentscope/controlplane/proto/ConfigAck.java:449–452build
public io.agentscope.controlplane.proto.ConfigAck build()
构建并返回最终实例。
Creates and returns an instance.
io.agentscope.controlplane.proto.ConfigAckio/agentscope/controlplane/proto/ConfigAck.java:454–461buildPartial
public io.agentscope.controlplane.proto.ConfigAck buildPartial()
构建 buildPartial。
Builds the partial.
io.agentscope.controlplane.proto.ConfigAckio/agentscope/controlplane/proto/ConfigAck.java:463–469mergeFrom
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/ConfigAck.java:490–498mergeFrom
public Builder mergeFrom(io.agentscope.controlplane.proto.ConfigAck other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | io.agentscope.controlplane.proto.ConfigAck | other(类型 `io.agentscope.controlplane.proto.ConfigAck`)。The other. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:500–526isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/ConfigAck.java:528–531mergeFrom
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/ConfigAck.java:533–588getConfigTypeValue
public int getConfigTypeValue()
获取配置类型值。
.agentscope.protocol.v1.ConfigType config_type = 1;
intio/agentscope/controlplane/proto/ConfigAck.java:596–598setConfigTypeValue
public Builder setConfigTypeValue(int value)
设置设置配置类型值。
.agentscope.protocol.v1.ConfigType config_type = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | int | 值(类型 `int`)。The enum numeric value on the wire for configType to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:604–609getConfigType
public io.agentscope.controlplane.proto.ConfigType getConfigType()
获取配置类型。
.agentscope.protocol.v1.ConfigType config_type = 1;
io.agentscope.controlplane.proto.ConfigTypeio/agentscope/controlplane/proto/ConfigAck.java:614–618setConfigType
public Builder setConfigType(io.agentscope.controlplane.proto.ConfigType value)
设置设置配置类型。
.agentscope.protocol.v1.ConfigType config_type = 1;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | io.agentscope.controlplane.proto.ConfigType | configType 到设置。The configType to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:624–632clearConfigType
public Builder clearConfigType()
清空配置类型。
.agentscope.protocol.v1.ConfigType config_type = 1;
Builderio/agentscope/controlplane/proto/ConfigAck.java:637–642getVersion
public java.lang.String getVersion()
获取版本。
string version = 2;
java.lang.Stringio/agentscope/controlplane/proto/ConfigAck.java:649–660getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
获取版本字节。
string version = 2;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConfigAck.java:665–677setVersion
public Builder setVersion(java.lang.String value)
设置设置版本。
string version = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 版本到设置。The version to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:683–690clearVersion
public Builder clearVersion()
清空版本。
string version = 2;
Builderio/agentscope/controlplane/proto/ConfigAck.java:695–700setVersionBytes
public Builder setVersionBytes(com.google.protobuf.ByteString value)
设置设置版本字节。
string version = 2;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于版本到设置。The bytes for version to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:706–714getNonce
public java.lang.String getNonce()
获取 getNonce。
string nonce = 3;
java.lang.Stringio/agentscope/controlplane/proto/ConfigAck.java:721–732getNonceBytes
public com.google.protobuf.ByteString getNonceBytes()
获取 getNonceBytes。
string nonce = 3;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConfigAck.java:737–749setNonce
public Builder setNonce(java.lang.String value)
设置该配置项。
string nonce = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 值(类型 `java.lang.String`)。The nonce to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:755–762clearNonce
public Builder clearNonce()
清空 clearNonce。
string nonce = 3;
Builderio/agentscope/controlplane/proto/ConfigAck.java:767–772setNonceBytes
public Builder setNonceBytes(com.google.protobuf.ByteString value)
设置该配置项。
string nonce = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 值(类型 `com.google.protobuf.ByteString`)。The bytes for nonce to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:778–786getAccepted
public boolean getAccepted()
获取 getAccepted。
bool accepted = 4;
booleanio/agentscope/controlplane/proto/ConfigAck.java:793–796setAccepted
public Builder setAccepted(boolean value)
设置该配置项。
bool accepted = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | boolean | 值(类型 `boolean`)。The accepted to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:802–808clearAccepted
public Builder clearAccepted()
清空 clearAccepted。
bool accepted = 4;
Builderio/agentscope/controlplane/proto/ConfigAck.java:813–818getRejectReason
public java.lang.String getRejectReason()
获取拒绝推理。
string reject_reason = 5;
java.lang.Stringio/agentscope/controlplane/proto/ConfigAck.java:825–836getRejectReasonBytes
public com.google.protobuf.ByteString getRejectReasonBytes()
获取拒绝推理字节。
string reject_reason = 5;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConfigAck.java:841–853setRejectReason
public Builder setRejectReason(java.lang.String value)
设置设置拒绝推理。
string reject_reason = 5;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | rejectReason 到设置。The rejectReason to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:859–866clearRejectReason
public Builder clearRejectReason()
清空拒绝推理。
string reject_reason = 5;
Builderio/agentscope/controlplane/proto/ConfigAck.java:871–876setRejectReasonBytes
public Builder setRejectReasonBytes(com.google.protobuf.ByteString value)
设置设置拒绝推理字节。
string reject_reason = 5;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 字节用于 rejectReason 到设置。The bytes for rejectReason to set. |
Builderio/agentscope/controlplane/proto/ConfigAck.java:882–890