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

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

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

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

        public OrcProto.StringStatistics.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.StringStatistics.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.StringStatistics.Builder>
      • mergeFrom

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

        public OrcProto.StringStatistics.Builder setMinimumBytes​(com.google.protobuf.ByteString value)
        optional string minimum = 1;
        Parameters:
        value - The bytes for minimum to set.
        Returns:
        This builder for chaining.
      • setMaximumBytes

        public OrcProto.StringStatistics.Builder setMaximumBytes​(com.google.protobuf.ByteString value)
        optional string maximum = 2;
        Parameters:
        value - The bytes for maximum to set.
        Returns:
        This builder for chaining.
      • hasSum

        public boolean hasSum()
         sum will store the total length of all strings in a stripe
         
        optional sint64 sum = 3;
        Specified by:
        hasSum in interface OrcProto.StringStatisticsOrBuilder
        Returns:
        Whether the sum field is set.
      • getSum

        public long getSum()
         sum will store the total length of all strings in a stripe
         
        optional sint64 sum = 3;
        Specified by:
        getSum in interface OrcProto.StringStatisticsOrBuilder
        Returns:
        The sum.
      • setSum

        public OrcProto.StringStatistics.Builder setSum​(long value)
         sum will store the total length of all strings in a stripe
         
        optional sint64 sum = 3;
        Parameters:
        value - The sum to set.
        Returns:
        This builder for chaining.
      • clearSum

        public OrcProto.StringStatistics.Builder clearSum()
         sum will store the total length of all strings in a stripe
         
        optional sint64 sum = 3;
        Returns:
        This builder for chaining.
      • hasLowerBound

        public boolean hasLowerBound()
         If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
         bound instead of the minimum or maximum values above.
         
        optional string lowerBound = 4;
        Specified by:
        hasLowerBound in interface OrcProto.StringStatisticsOrBuilder
        Returns:
        Whether the lowerBound field is set.
      • getLowerBound

        public String getLowerBound()
         If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
         bound instead of the minimum or maximum values above.
         
        optional string lowerBound = 4;
        Specified by:
        getLowerBound in interface OrcProto.StringStatisticsOrBuilder
        Returns:
        The lowerBound.
      • getLowerBoundBytes

        public com.google.protobuf.ByteString getLowerBoundBytes()
         If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
         bound instead of the minimum or maximum values above.
         
        optional string lowerBound = 4;
        Specified by:
        getLowerBoundBytes in interface OrcProto.StringStatisticsOrBuilder
        Returns:
        The bytes for lowerBound.
      • setLowerBound

        public OrcProto.StringStatistics.Builder setLowerBound​(String value)
         If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
         bound instead of the minimum or maximum values above.
         
        optional string lowerBound = 4;
        Parameters:
        value - The lowerBound to set.
        Returns:
        This builder for chaining.
      • clearLowerBound

        public OrcProto.StringStatistics.Builder clearLowerBound()
         If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
         bound instead of the minimum or maximum values above.
         
        optional string lowerBound = 4;
        Returns:
        This builder for chaining.
      • setLowerBoundBytes

        public OrcProto.StringStatistics.Builder setLowerBoundBytes​(com.google.protobuf.ByteString value)
         If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
         bound instead of the minimum or maximum values above.
         
        optional string lowerBound = 4;
        Parameters:
        value - The bytes for lowerBound to set.
        Returns:
        This builder for chaining.
      • setUpperBound

        public OrcProto.StringStatistics.Builder setUpperBound​(String value)
        optional string upperBound = 5;
        Parameters:
        value - The upperBound to set.
        Returns:
        This builder for chaining.
      • setUpperBoundBytes

        public OrcProto.StringStatistics.Builder setUpperBoundBytes​(com.google.protobuf.ByteString value)
        optional string upperBound = 5;
        Parameters:
        value - The bytes for upperBound to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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