public static final class Encryptionpb.KeyDictionary.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder> implements Encryptionpb.KeyDictionaryOrBuilder
encryptionpb.KeyDictionary
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>
public Encryptionpb.KeyDictionary getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Encryptionpb.KeyDictionary build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Encryptionpb.KeyDictionary buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Encryptionpb.KeyDictionary.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Encryptionpb.KeyDictionary.Builder>
IOException
public int getKeysCount()
Encryptionpb.KeyDictionaryOrBuilder
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;
getKeysCount
in interface Encryptionpb.KeyDictionaryOrBuilder
public 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.KeyDictionaryOrBuilder
public Map<Long,Encryptionpb.DataKey> getKeysMap()
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;
getKeysMap
in interface Encryptionpb.KeyDictionaryOrBuilder
public 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.KeyDictionaryOrBuilder
public Encryptionpb.DataKey getKeysOrThrow(long key)
A map of key ID to dat key.
map<uint64, .encryptionpb.DataKey> keys = 1;
getKeysOrThrow
in interface Encryptionpb.KeyDictionaryOrBuilder
public 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.KeyDictionaryOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.KeyDictionary.Builder>
Copyright © 2024 PingCAP. All rights reserved.