public static final class Encryptionpb.MasterKeyKms.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.MasterKeyKms.Builder> implements Encryptionpb.MasterKeyKmsOrBuilder
MasterKeyKms is a master key backed by KMS service that manages the encryption key, and provide API to encrypt and decrypt a data key, which is used to encrypt the content.Protobuf type
encryptionpb.MasterKeyKms
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.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.MasterKeyKms.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.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public Encryptionpb.MasterKeyKms build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public Encryptionpb.MasterKeyKms buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public Encryptionpb.MasterKeyKms.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.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.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.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.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.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.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.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.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.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.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.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<Encryptionpb.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.Builder mergeFrom(Encryptionpb.MasterKeyKms other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.MasterKeyKms.Builder>
public Encryptionpb.MasterKeyKms.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.MasterKeyKms.Builder>
IOException
public String getVendor()
KMS vendor.
string vendor = 1;
getVendor
in interface Encryptionpb.MasterKeyKmsOrBuilder
public com.google.protobuf.ByteString getVendorBytes()
KMS vendor.
string vendor = 1;
getVendorBytes
in interface Encryptionpb.MasterKeyKmsOrBuilder
public Encryptionpb.MasterKeyKms.Builder setVendor(String value)
KMS vendor.
string vendor = 1;
value
- The vendor to set.public Encryptionpb.MasterKeyKms.Builder clearVendor()
KMS vendor.
string vendor = 1;
public Encryptionpb.MasterKeyKms.Builder setVendorBytes(com.google.protobuf.ByteString value)
KMS vendor.
string vendor = 1;
value
- The bytes for vendor to set.public String getKeyId()
KMS key id.
string key_id = 2;
getKeyId
in interface Encryptionpb.MasterKeyKmsOrBuilder
public com.google.protobuf.ByteString getKeyIdBytes()
KMS key id.
string key_id = 2;
getKeyIdBytes
in interface Encryptionpb.MasterKeyKmsOrBuilder
public Encryptionpb.MasterKeyKms.Builder setKeyId(String value)
KMS key id.
string key_id = 2;
value
- The keyId to set.public Encryptionpb.MasterKeyKms.Builder clearKeyId()
KMS key id.
string key_id = 2;
public Encryptionpb.MasterKeyKms.Builder setKeyIdBytes(com.google.protobuf.ByteString value)
KMS key id.
string key_id = 2;
value
- The bytes for keyId to set.public String getRegion()
KMS region.
string region = 3;
getRegion
in interface Encryptionpb.MasterKeyKmsOrBuilder
public com.google.protobuf.ByteString getRegionBytes()
KMS region.
string region = 3;
getRegionBytes
in interface Encryptionpb.MasterKeyKmsOrBuilder
public Encryptionpb.MasterKeyKms.Builder setRegion(String value)
KMS region.
string region = 3;
value
- The region to set.public Encryptionpb.MasterKeyKms.Builder clearRegion()
KMS region.
string region = 3;
public Encryptionpb.MasterKeyKms.Builder setRegionBytes(com.google.protobuf.ByteString value)
KMS region.
string region = 3;
value
- The bytes for region to set.public String getEndpoint()
KMS endpoint. Normally not needed.
string endpoint = 4;
getEndpoint
in interface Encryptionpb.MasterKeyKmsOrBuilder
public com.google.protobuf.ByteString getEndpointBytes()
KMS endpoint. Normally not needed.
string endpoint = 4;
getEndpointBytes
in interface Encryptionpb.MasterKeyKmsOrBuilder
public Encryptionpb.MasterKeyKms.Builder setEndpoint(String value)
KMS endpoint. Normally not needed.
string endpoint = 4;
value
- The endpoint to set.public Encryptionpb.MasterKeyKms.Builder clearEndpoint()
KMS endpoint. Normally not needed.
string endpoint = 4;
public Encryptionpb.MasterKeyKms.Builder setEndpointBytes(com.google.protobuf.ByteString value)
KMS endpoint. Normally not needed.
string endpoint = 4;
value
- The bytes for endpoint to set.public final Encryptionpb.MasterKeyKms.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.MasterKeyKms.Builder>
public final Encryptionpb.MasterKeyKms.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<Encryptionpb.MasterKeyKms.Builder>
Copyright © 2024 PingCAP. All rights reserved.