Builder
public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder<Builder> implements io.agentscope.controlplane.proto.ConfigPushOrBuilder
io/agentscope/controlplane/proto/ConfigPush.java:354–757构建器,用于构建并配置目标实例。位于 io.agentscope.controlplane.proto 包,继承自 com.google.protobuf.GeneratedMessage.Builder<Builder>,实现 io.agentscope.controlplane.proto.ConfigPushOrBuilder。核心成员包括 getDescriptor、internalGetFieldAccessorTable、clear、getDescriptorForType、getDefaultInstanceForType、build。
Config push (analogous to xDS DiscoveryResponse)
Protobuf type agentscope.protocol.v1.ConfigPush
方法摘要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/ConfigPush.java:358–361internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
返回 internalGetFieldAccessorTable 结果。
Returns the internal get field accessor table.
com.google.protobuf.GeneratedMessage.FieldAccessorTableio/agentscope/controlplane/proto/ConfigPush.java:363–369clear
public Builder clear()
清空或重置内部状态。
Clears or resets internal state.
Builderio/agentscope/controlplane/proto/ConfigPush.java:381–390getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
获取 getDescriptorForType。
Returns the descriptor for type.
com.google.protobuf.Descriptors.Descriptorio/agentscope/controlplane/proto/ConfigPush.java:392–396getDefaultInstanceForType
public io.agentscope.controlplane.proto.ConfigPush getDefaultInstanceForType()
获取默认实例用于类型。
Returns the default instance for type.
io.agentscope.controlplane.proto.ConfigPushio/agentscope/controlplane/proto/ConfigPush.java:398–401build
public io.agentscope.controlplane.proto.ConfigPush build()
构建并返回最终实例。
Creates and returns an instance.
io.agentscope.controlplane.proto.ConfigPushio/agentscope/controlplane/proto/ConfigPush.java:403–410buildPartial
public io.agentscope.controlplane.proto.ConfigPush buildPartial()
构建 buildPartial。
Builds the partial.
io.agentscope.controlplane.proto.ConfigPushio/agentscope/controlplane/proto/ConfigPush.java:412–418mergeFrom
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/ConfigPush.java:436–444mergeFrom
public Builder mergeFrom(io.agentscope.controlplane.proto.ConfigPush other)
设置该配置项。
Performs the merge from operation.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
other | io.agentscope.controlplane.proto.ConfigPush | other(类型 `io.agentscope.controlplane.proto.ConfigPush`)。The other. |
Builderio/agentscope/controlplane/proto/ConfigPush.java:446–467isInitialized
public final boolean isInitialized()
判断是否已初始化。
Returns whether the initialized.
booleanio/agentscope/controlplane/proto/ConfigPush.java:469–472mergeFrom
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/ConfigPush.java:474–524getConfigTypeValue
public int getConfigTypeValue()
获取配置类型值。
.agentscope.protocol.v1.ConfigType config_type = 1;
intio/agentscope/controlplane/proto/ConfigPush.java:532–534setConfigTypeValue
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/ConfigPush.java:540–545getConfigType
public io.agentscope.controlplane.proto.ConfigType getConfigType()
获取配置类型。
.agentscope.protocol.v1.ConfigType config_type = 1;
io.agentscope.controlplane.proto.ConfigTypeio/agentscope/controlplane/proto/ConfigPush.java:550–554setConfigType
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/ConfigPush.java:560–568clearConfigType
public Builder clearConfigType()
清空配置类型。
.agentscope.protocol.v1.ConfigType config_type = 1;
Builderio/agentscope/controlplane/proto/ConfigPush.java:573–578getVersion
public java.lang.String getVersion()
获取版本。
string version = 2;
java.lang.Stringio/agentscope/controlplane/proto/ConfigPush.java:585–596getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()
获取版本字节。
string version = 2;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConfigPush.java:601–613setVersion
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/ConfigPush.java:619–626clearVersion
public Builder clearVersion()
清空版本。
string version = 2;
Builderio/agentscope/controlplane/proto/ConfigPush.java:631–636setVersionBytes
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/ConfigPush.java:642–650getResources
public com.google.protobuf.ByteString getResources()
获取 getResources。
bytes resources = 3;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConfigPush.java:657–660setResources
public Builder setResources(com.google.protobuf.ByteString value)
设置该配置项。
bytes resources = 3;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 值(类型 `com.google.protobuf.ByteString`)。The resources to set. |
Builderio/agentscope/controlplane/proto/ConfigPush.java:666–672clearResources
public Builder clearResources()
清空 clearResources。
bytes resources = 3;
Builderio/agentscope/controlplane/proto/ConfigPush.java:677–682getNonce
public java.lang.String getNonce()
获取 getNonce。
string nonce = 4;
java.lang.Stringio/agentscope/controlplane/proto/ConfigPush.java:689–700getNonceBytes
public com.google.protobuf.ByteString getNonceBytes()
获取 getNonceBytes。
string nonce = 4;
com.google.protobuf.ByteStringio/agentscope/controlplane/proto/ConfigPush.java:705–717setNonce
public Builder setNonce(java.lang.String value)
设置该配置项。
string nonce = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | java.lang.String | 值(类型 `java.lang.String`)。The nonce to set. |
Builderio/agentscope/controlplane/proto/ConfigPush.java:723–730clearNonce
public Builder clearNonce()
清空 clearNonce。
string nonce = 4;
Builderio/agentscope/controlplane/proto/ConfigPush.java:735–740setNonceBytes
public Builder setNonceBytes(com.google.protobuf.ByteString value)
设置该配置项。
string nonce = 4;
| 名称Name | 类型Type | 说明Description |
|---|---|---|
value | com.google.protobuf.ByteString | 值(类型 `com.google.protobuf.ByteString`)。The bytes for nonce to set. |
Builderio/agentscope/controlplane/proto/ConfigPush.java:746–754