public static final class Encryptionpb.KeyDictionary.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder> implements Encryptionpb.KeyDictionaryOrBuilder
encryptionpb.KeyDictionarygetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Encryptionpb.KeyDictionary build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Encryptionpb.KeyDictionary buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Encryptionpb.KeyDictionary.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder mergeFrom(Encryptionpb.KeyDictionary other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public Encryptionpb.KeyDictionary.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Encryptionpb.KeyDictionary.Builder>IOExceptionpublic int getKeysCount()
Encryptionpb.KeyDictionaryOrBuilderA map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;getKeysCount in interface Encryptionpb.KeyDictionaryOrBuilderpublic boolean containsKeys(long key)
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;containsKeys in interface Encryptionpb.KeyDictionaryOrBuilder@Deprecated public Map<Long,Encryptionpb.DataKey> getKeys()
getKeysMap() instead.getKeys in interface Encryptionpb.KeyDictionaryOrBuilderpublic Map<Long,Encryptionpb.DataKey> getKeysMap()
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;getKeysMap in interface Encryptionpb.KeyDictionaryOrBuilderpublic Encryptionpb.DataKey getKeysOrDefault(long key, Encryptionpb.DataKey defaultValue)
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;getKeysOrDefault in interface Encryptionpb.KeyDictionaryOrBuilderpublic Encryptionpb.DataKey getKeysOrThrow(long key)
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;getKeysOrThrow in interface Encryptionpb.KeyDictionaryOrBuilderpublic Encryptionpb.KeyDictionary.Builder clearKeys()
public Encryptionpb.KeyDictionary.Builder removeKeys(long key)
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;@Deprecated public Map<Long,Encryptionpb.DataKey> getMutableKeys()
public Encryptionpb.KeyDictionary.Builder putKeys(long key, Encryptionpb.DataKey value)
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;public Encryptionpb.KeyDictionary.Builder putAllKeys(Map<Long,Encryptionpb.DataKey> values)
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;public long getCurrentKeyId()
ID of a key currently in use.
uint64 current_key_id = 2;getCurrentKeyId in interface Encryptionpb.KeyDictionaryOrBuilderpublic Encryptionpb.KeyDictionary.Builder setCurrentKeyId(long value)
ID of a key currently in use.
uint64 current_key_id = 2;value - The currentKeyId to set.public Encryptionpb.KeyDictionary.Builder clearCurrentKeyId()
ID of a key currently in use.
uint64 current_key_id = 2;public final Encryptionpb.KeyDictionary.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>public final Encryptionpb.KeyDictionary.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>Copyright © 2025 PingCAP. All rights reserved.