public static final class Encryptionpb.EncryptedContent.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder> implements Encryptionpb.EncryptedContentOrBuilder
encryptionpb.EncryptedContent| 限定符和类型 | 方法和说明 |
|---|---|
Encryptionpb.EncryptedContent.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Encryptionpb.EncryptedContent |
build() |
Encryptionpb.EncryptedContent |
buildPartial() |
Encryptionpb.EncryptedContent.Builder |
clear() |
Encryptionpb.EncryptedContent.Builder |
clearCiphertextKey()
Encrypted data key generated by KMS and used to actually encrypt data.
|
Encryptionpb.EncryptedContent.Builder |
clearContent()
Encrypted content.
|
Encryptionpb.EncryptedContent.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Encryptionpb.EncryptedContent.Builder |
clearIv()
Initilization vector (IV) used.
|
Encryptionpb.EncryptedContent.Builder |
clearMasterKey()
Master key used to encrypt the content.
|
Encryptionpb.EncryptedContent.Builder |
clearMetadata() |
Encryptionpb.EncryptedContent.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Encryptionpb.EncryptedContent.Builder |
clone() |
boolean |
containsMetadata(String key)
Metadata of the encrypted content.
|
com.google.protobuf.ByteString |
getCiphertextKey()
Encrypted data key generated by KMS and used to actually encrypt data.
|
com.google.protobuf.ByteString |
getContent()
Encrypted content.
|
Encryptionpb.EncryptedContent |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getIv()
Initilization vector (IV) used.
|
Encryptionpb.MasterKey |
getMasterKey()
Master key used to encrypt the content.
|
Encryptionpb.MasterKey.Builder |
getMasterKeyBuilder()
Master key used to encrypt the content.
|
Encryptionpb.MasterKeyOrBuilder |
getMasterKeyOrBuilder()
Master key used to encrypt the content.
|
Map<String,com.google.protobuf.ByteString> |
getMetadata()
已过时。
|
int |
getMetadataCount()
Metadata of the encrypted content.
|
Map<String,com.google.protobuf.ByteString> |
getMetadataMap()
Metadata of the encrypted content.
|
com.google.protobuf.ByteString |
getMetadataOrDefault(String key,
com.google.protobuf.ByteString defaultValue)
Metadata of the encrypted content.
|
com.google.protobuf.ByteString |
getMetadataOrThrow(String key)
Metadata of the encrypted content.
|
Map<String,com.google.protobuf.ByteString> |
getMutableMetadata()
已过时。
|
boolean |
hasMasterKey()
Master key used to encrypt the content.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Encryptionpb.EncryptedContent.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Encryptionpb.EncryptedContent.Builder |
mergeFrom(Encryptionpb.EncryptedContent other) |
Encryptionpb.EncryptedContent.Builder |
mergeFrom(com.google.protobuf.Message other) |
Encryptionpb.EncryptedContent.Builder |
mergeMasterKey(Encryptionpb.MasterKey value)
Master key used to encrypt the content.
|
Encryptionpb.EncryptedContent.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Encryptionpb.EncryptedContent.Builder |
putAllMetadata(Map<String,com.google.protobuf.ByteString> values)
Metadata of the encrypted content.
|
Encryptionpb.EncryptedContent.Builder |
putMetadata(String key,
com.google.protobuf.ByteString value)
Metadata of the encrypted content.
|
Encryptionpb.EncryptedContent.Builder |
removeMetadata(String key)
Metadata of the encrypted content.
|
Encryptionpb.EncryptedContent.Builder |
setCiphertextKey(com.google.protobuf.ByteString value)
Encrypted data key generated by KMS and used to actually encrypt data.
|
Encryptionpb.EncryptedContent.Builder |
setContent(com.google.protobuf.ByteString value)
Encrypted content.
|
Encryptionpb.EncryptedContent.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Encryptionpb.EncryptedContent.Builder |
setIv(com.google.protobuf.ByteString value)
Initilization vector (IV) used.
|
Encryptionpb.EncryptedContent.Builder |
setMasterKey(Encryptionpb.MasterKey.Builder builderForValue)
Master key used to encrypt the content.
|
Encryptionpb.EncryptedContent.Builder |
setMasterKey(Encryptionpb.MasterKey value)
Master key used to encrypt the content.
|
Encryptionpb.EncryptedContent.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Encryptionpb.EncryptedContent.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, 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, newUninitializedMessageExceptionpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder clear()
clear 在接口中 com.google.protobuf.Message.Builderclear 在接口中 com.google.protobuf.MessageLite.Builderclear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType 在接口中 com.google.protobuf.Message.BuildergetDescriptorForType 在接口中 com.google.protobuf.MessageOrBuildergetDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderpublic Encryptionpb.EncryptedContent build()
build 在接口中 com.google.protobuf.Message.Builderbuild 在接口中 com.google.protobuf.MessageLite.Builderpublic Encryptionpb.EncryptedContent buildPartial()
buildPartial 在接口中 com.google.protobuf.Message.BuilderbuildPartial 在接口中 com.google.protobuf.MessageLite.Builderpublic Encryptionpb.EncryptedContent.Builder clone()
clone 在接口中 com.google.protobuf.Message.Builderclone 在接口中 com.google.protobuf.MessageLite.Builderclone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField 在接口中 com.google.protobuf.Message.BuildersetField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField 在接口中 com.google.protobuf.Message.BuilderclearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof 在接口中 com.google.protobuf.Message.BuilderclearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField 在接口中 com.google.protobuf.Message.BuildersetRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField 在接口中 com.google.protobuf.Message.BuilderaddRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder mergeFrom(Encryptionpb.EncryptedContent other)
public final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public Encryptionpb.EncryptedContent.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom 在接口中 com.google.protobuf.Message.BuildermergeFrom 在接口中 com.google.protobuf.MessageLite.BuildermergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<Encryptionpb.EncryptedContent.Builder>IOExceptionpublic int getMetadataCount()
Encryptionpb.EncryptedContentOrBuilderMetadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;public boolean containsMetadata(String key)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;@Deprecated public Map<String,com.google.protobuf.ByteString> getMetadata()
getMetadataMap() instead.public Map<String,com.google.protobuf.ByteString> getMetadataMap()
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;public com.google.protobuf.ByteString getMetadataOrDefault(String key, com.google.protobuf.ByteString defaultValue)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;public com.google.protobuf.ByteString getMetadataOrThrow(String key)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;public Encryptionpb.EncryptedContent.Builder clearMetadata()
public Encryptionpb.EncryptedContent.Builder removeMetadata(String key)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;@Deprecated public Map<String,com.google.protobuf.ByteString> getMutableMetadata()
public Encryptionpb.EncryptedContent.Builder putMetadata(String key, com.google.protobuf.ByteString value)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;public Encryptionpb.EncryptedContent.Builder putAllMetadata(Map<String,com.google.protobuf.ByteString> values)
Metadata of the encrypted content. Eg. IV, method and KMS key ID It is preferred to define new fields for extra metadata than using this metadata map.
map<string, bytes> metadata = 1;public com.google.protobuf.ByteString getContent()
Encrypted content.
bytes content = 2;public Encryptionpb.EncryptedContent.Builder setContent(com.google.protobuf.ByteString value)
Encrypted content.
bytes content = 2;public Encryptionpb.EncryptedContent.Builder clearContent()
Encrypted content.
bytes content = 2;public boolean hasMasterKey()
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;public Encryptionpb.MasterKey getMasterKey()
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;public Encryptionpb.EncryptedContent.Builder setMasterKey(Encryptionpb.MasterKey value)
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;public Encryptionpb.EncryptedContent.Builder setMasterKey(Encryptionpb.MasterKey.Builder builderForValue)
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;public Encryptionpb.EncryptedContent.Builder mergeMasterKey(Encryptionpb.MasterKey value)
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;public Encryptionpb.EncryptedContent.Builder clearMasterKey()
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;public Encryptionpb.MasterKey.Builder getMasterKeyBuilder()
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;public Encryptionpb.MasterKeyOrBuilder getMasterKeyOrBuilder()
Master key used to encrypt the content.
.encryptionpb.MasterKey master_key = 3;public com.google.protobuf.ByteString getIv()
Initilization vector (IV) used.
bytes iv = 4;getIv 在接口中 Encryptionpb.EncryptedContentOrBuilderpublic Encryptionpb.EncryptedContent.Builder setIv(com.google.protobuf.ByteString value)
Initilization vector (IV) used.
bytes iv = 4;public Encryptionpb.EncryptedContent.Builder clearIv()
Initilization vector (IV) used.
bytes iv = 4;public com.google.protobuf.ByteString getCiphertextKey()
Encrypted data key generated by KMS and used to actually encrypt data. Valid only when KMS is used.
bytes ciphertext_key = 5;public Encryptionpb.EncryptedContent.Builder setCiphertextKey(com.google.protobuf.ByteString value)
Encrypted data key generated by KMS and used to actually encrypt data. Valid only when KMS is used.
bytes ciphertext_key = 5;public Encryptionpb.EncryptedContent.Builder clearCiphertextKey()
Encrypted data key generated by KMS and used to actually encrypt data. Valid only when KMS is used.
bytes ciphertext_key = 5;public final Encryptionpb.EncryptedContent.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields 在接口中 com.google.protobuf.Message.BuildersetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>public final Encryptionpb.EncryptedContent.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields 在接口中 com.google.protobuf.Message.BuildermergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.EncryptedContent.Builder>Copyright © 2023 PingCAP. All rights reserved.