Class OrcProto.EncryptionVariant.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.EncryptionVariant.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.EncryptionVariant.Builder>
      • getDefaultInstanceForType

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

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

        public OrcProto.EncryptionVariant buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.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.EncryptionVariant.Builder>
      • mergeFrom

        public OrcProto.EncryptionVariant.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.EncryptionVariant.Builder>
        Throws:
        IOException
      • setRoot

        public OrcProto.EncryptionVariant.Builder setRoot​(int value)
         the column id of the root
         
        optional uint32 root = 1;
        Parameters:
        value - The root to set.
        Returns:
        This builder for chaining.
      • hasKey

        public boolean hasKey()
         The master key that was used to encrypt the local key, referenced as
         an index into the Encryption.key list.
         
        optional uint32 key = 2;
        Specified by:
        hasKey in interface OrcProto.EncryptionVariantOrBuilder
        Returns:
        Whether the key field is set.
      • getKey

        public int getKey()
         The master key that was used to encrypt the local key, referenced as
         an index into the Encryption.key list.
         
        optional uint32 key = 2;
        Specified by:
        getKey in interface OrcProto.EncryptionVariantOrBuilder
        Returns:
        The key.
      • setKey

        public OrcProto.EncryptionVariant.Builder setKey​(int value)
         The master key that was used to encrypt the local key, referenced as
         an index into the Encryption.key list.
         
        optional uint32 key = 2;
        Parameters:
        value - The key to set.
        Returns:
        This builder for chaining.
      • clearKey

        public OrcProto.EncryptionVariant.Builder clearKey()
         The master key that was used to encrypt the local key, referenced as
         an index into the Encryption.key list.
         
        optional uint32 key = 2;
        Returns:
        This builder for chaining.
      • hasEncryptedKey

        public boolean hasEncryptedKey()
         the encrypted key for the file footer
         
        optional bytes encryptedKey = 3;
        Specified by:
        hasEncryptedKey in interface OrcProto.EncryptionVariantOrBuilder
        Returns:
        Whether the encryptedKey field is set.
      • getEncryptedKey

        public com.google.protobuf.ByteString getEncryptedKey()
         the encrypted key for the file footer
         
        optional bytes encryptedKey = 3;
        Specified by:
        getEncryptedKey in interface OrcProto.EncryptionVariantOrBuilder
        Returns:
        The encryptedKey.
      • setEncryptedKey

        public OrcProto.EncryptionVariant.Builder setEncryptedKey​(com.google.protobuf.ByteString value)
         the encrypted key for the file footer
         
        optional bytes encryptedKey = 3;
        Parameters:
        value - The encryptedKey to set.
        Returns:
        This builder for chaining.
      • clearEncryptedKey

        public OrcProto.EncryptionVariant.Builder clearEncryptedKey()
         the encrypted key for the file footer
         
        optional bytes encryptedKey = 3;
        Returns:
        This builder for chaining.
      • clearStripeStatistics

        public OrcProto.EncryptionVariant.Builder clearStripeStatistics()
         the stripe statistics for this variant
         
        repeated .orc.proto.Stream stripeStatistics = 4;
      • removeStripeStatistics

        public OrcProto.EncryptionVariant.Builder removeStripeStatistics​(int index)
         the stripe statistics for this variant
         
        repeated .orc.proto.Stream stripeStatistics = 4;
      • getStripeStatisticsBuilder

        public OrcProto.Stream.Builder getStripeStatisticsBuilder​(int index)
         the stripe statistics for this variant
         
        repeated .orc.proto.Stream stripeStatistics = 4;
      • addStripeStatisticsBuilder

        public OrcProto.Stream.Builder addStripeStatisticsBuilder()
         the stripe statistics for this variant
         
        repeated .orc.proto.Stream stripeStatistics = 4;
      • addStripeStatisticsBuilder

        public OrcProto.Stream.Builder addStripeStatisticsBuilder​(int index)
         the stripe statistics for this variant
         
        repeated .orc.proto.Stream stripeStatistics = 4;
      • getStripeStatisticsBuilderList

        public List<OrcProto.Stream.Builder> getStripeStatisticsBuilderList()
         the stripe statistics for this variant
         
        repeated .orc.proto.Stream stripeStatistics = 4;
      • hasFileStatistics

        public boolean hasFileStatistics()
         encrypted file statistics as a FileStatistics
         
        optional bytes fileStatistics = 5;
        Specified by:
        hasFileStatistics in interface OrcProto.EncryptionVariantOrBuilder
        Returns:
        Whether the fileStatistics field is set.
      • getFileStatistics

        public com.google.protobuf.ByteString getFileStatistics()
         encrypted file statistics as a FileStatistics
         
        optional bytes fileStatistics = 5;
        Specified by:
        getFileStatistics in interface OrcProto.EncryptionVariantOrBuilder
        Returns:
        The fileStatistics.
      • setFileStatistics

        public OrcProto.EncryptionVariant.Builder setFileStatistics​(com.google.protobuf.ByteString value)
         encrypted file statistics as a FileStatistics
         
        optional bytes fileStatistics = 5;
        Parameters:
        value - The fileStatistics to set.
        Returns:
        This builder for chaining.
      • clearFileStatistics

        public OrcProto.EncryptionVariant.Builder clearFileStatistics()
         encrypted file statistics as a FileStatistics
         
        optional bytes fileStatistics = 5;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final OrcProto.EncryptionVariant.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.EncryptionVariant.Builder>
      • mergeUnknownFields

        public final OrcProto.EncryptionVariant.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.EncryptionVariant.Builder>