Class OrcProto.Encryption.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • clear

        public OrcProto.Encryption.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • getDefaultInstanceForType

        public OrcProto.Encryption getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public OrcProto.Encryption build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public OrcProto.Encryption buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public OrcProto.Encryption.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • setField

        public OrcProto.Encryption.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                    Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • clearField

        public OrcProto.Encryption.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • clearOneof

        public OrcProto.Encryption.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • setRepeatedField

        public OrcProto.Encryption.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            int index,
                                                            Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • addRepeatedField

        public OrcProto.Encryption.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                            Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • mergeFrom

        public OrcProto.Encryption.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OrcProto.Encryption.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • mergeFrom

        public OrcProto.Encryption.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                     com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                              throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<OrcProto.Encryption.Builder>
        Throws:
        IOException
      • removeMask

        public OrcProto.Encryption.Builder removeMask​(int index)
         all of the masks used in this file
         
        repeated .orc.proto.DataMask mask = 1;
      • getMaskBuilder

        public OrcProto.DataMask.Builder getMaskBuilder​(int index)
         all of the masks used in this file
         
        repeated .orc.proto.DataMask mask = 1;
      • addMaskBuilder

        public OrcProto.DataMask.Builder addMaskBuilder()
         all of the masks used in this file
         
        repeated .orc.proto.DataMask mask = 1;
      • addMaskBuilder

        public OrcProto.DataMask.Builder addMaskBuilder​(int index)
         all of the masks used in this file
         
        repeated .orc.proto.DataMask mask = 1;
      • getMaskBuilderList

        public List<OrcProto.DataMask.Builder> getMaskBuilderList()
         all of the masks used in this file
         
        repeated .orc.proto.DataMask mask = 1;
      • clearKey

        public OrcProto.Encryption.Builder clearKey()
         all of the keys used in this file
         
        repeated .orc.proto.EncryptionKey key = 2;
      • removeKey

        public OrcProto.Encryption.Builder removeKey​(int index)
         all of the keys used in this file
         
        repeated .orc.proto.EncryptionKey key = 2;
      • getKeyBuilder

        public OrcProto.EncryptionKey.Builder getKeyBuilder​(int index)
         all of the keys used in this file
         
        repeated .orc.proto.EncryptionKey key = 2;
      • addKeyBuilder

        public OrcProto.EncryptionKey.Builder addKeyBuilder​(int index)
         all of the keys used in this file
         
        repeated .orc.proto.EncryptionKey key = 2;
      • getVariantsList

        public List<OrcProto.EncryptionVariant> getVariantsList()
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
        Specified by:
        getVariantsList in interface OrcProto.EncryptionOrBuilder
      • getVariantsCount

        public int getVariantsCount()
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
        Specified by:
        getVariantsCount in interface OrcProto.EncryptionOrBuilder
      • getVariants

        public OrcProto.EncryptionVariant getVariants​(int index)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
        Specified by:
        getVariants in interface OrcProto.EncryptionOrBuilder
      • setVariants

        public OrcProto.Encryption.Builder setVariants​(int index,
                                                       OrcProto.EncryptionVariant value)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • setVariants

        public OrcProto.Encryption.Builder setVariants​(int index,
                                                       OrcProto.EncryptionVariant.Builder builderForValue)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • addVariants

        public OrcProto.Encryption.Builder addVariants​(OrcProto.EncryptionVariant value)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • addVariants

        public OrcProto.Encryption.Builder addVariants​(int index,
                                                       OrcProto.EncryptionVariant value)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • addVariants

        public OrcProto.Encryption.Builder addVariants​(OrcProto.EncryptionVariant.Builder builderForValue)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • addVariants

        public OrcProto.Encryption.Builder addVariants​(int index,
                                                       OrcProto.EncryptionVariant.Builder builderForValue)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • addAllVariants

        public OrcProto.Encryption.Builder addAllVariants​(Iterable<? extends OrcProto.EncryptionVariant> values)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • clearVariants

        public OrcProto.Encryption.Builder clearVariants()
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • removeVariants

        public OrcProto.Encryption.Builder removeVariants​(int index)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • getVariantsBuilder

        public OrcProto.EncryptionVariant.Builder getVariantsBuilder​(int index)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • getVariantsOrBuilder

        public OrcProto.EncryptionVariantOrBuilder getVariantsOrBuilder​(int index)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
        Specified by:
        getVariantsOrBuilder in interface OrcProto.EncryptionOrBuilder
      • getVariantsOrBuilderList

        public List<? extends OrcProto.EncryptionVariantOrBuilder> getVariantsOrBuilderList()
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
        Specified by:
        getVariantsOrBuilderList in interface OrcProto.EncryptionOrBuilder
      • addVariantsBuilder

        public OrcProto.EncryptionVariant.Builder addVariantsBuilder()
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • addVariantsBuilder

        public OrcProto.EncryptionVariant.Builder addVariantsBuilder​(int index)
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • getVariantsBuilderList

        public List<OrcProto.EncryptionVariant.Builder> getVariantsBuilderList()
         The encrypted variants.
         Readers should prefer the first variant that the user has access to
         the corresponding key. If they don't have access to any of the keys,
         they should get the unencrypted masked data.
         
        repeated .orc.proto.EncryptionVariant variants = 3;
      • hasKeyProvider

        public boolean hasKeyProvider()
         How are the local keys encrypted?
         
        optional .orc.proto.KeyProviderKind keyProvider = 4;
        Specified by:
        hasKeyProvider in interface OrcProto.EncryptionOrBuilder
        Returns:
        Whether the keyProvider field is set.
      • setKeyProvider

        public OrcProto.Encryption.Builder setKeyProvider​(OrcProto.KeyProviderKind value)
         How are the local keys encrypted?
         
        optional .orc.proto.KeyProviderKind keyProvider = 4;
        Parameters:
        value - The keyProvider to set.
        Returns:
        This builder for chaining.
      • clearKeyProvider

        public OrcProto.Encryption.Builder clearKeyProvider()
         How are the local keys encrypted?
         
        optional .orc.proto.KeyProviderKind keyProvider = 4;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OrcProto.Encryption.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>
      • mergeUnknownFields

        public final OrcProto.Encryption.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<OrcProto.Encryption.Builder>