Class Aggregation.Histogram.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<Aggregation.Histogram.Builder>
      • clear

        public Aggregation.Histogram.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<Aggregation.Histogram.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<Aggregation.Histogram.Builder>
      • getDefaultInstanceForType

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

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

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

        public Aggregation.Histogram.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<Aggregation.Histogram.Builder>
      • clearField

        public Aggregation.Histogram.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<Aggregation.Histogram.Builder>
      • clearOneof

        public Aggregation.Histogram.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<Aggregation.Histogram.Builder>
      • setRepeatedField

        public Aggregation.Histogram.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<Aggregation.Histogram.Builder>
      • addRepeatedField

        public Aggregation.Histogram.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<Aggregation.Histogram.Builder>
      • isInitialized

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

        public Aggregation.Histogram.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<Aggregation.Histogram.Builder>
        Throws:
        IOException
      • getLowerBoundsList

        public List<Double> getLowerBoundsList()
         Lower bounds of buckets.
         The response will contain `n+1` buckets for `n` bounds.
         The first bucket will count all assets for which the field value is
         smaller than the first bound.
         Subsequent buckets will count assets for which the field value is
         greater or equal to a lower bound and smaller than the next one.
         The last bucket will count assets for which the field value is greater or
         equal to the final lower bound.
         You can define up to 20 lower bounds.
         
        repeated double lower_bounds = 1;
        Specified by:
        getLowerBoundsList in interface Aggregation.HistogramOrBuilder
        Returns:
        A list containing the lowerBounds.
      • getLowerBoundsCount

        public int getLowerBoundsCount()
         Lower bounds of buckets.
         The response will contain `n+1` buckets for `n` bounds.
         The first bucket will count all assets for which the field value is
         smaller than the first bound.
         Subsequent buckets will count assets for which the field value is
         greater or equal to a lower bound and smaller than the next one.
         The last bucket will count assets for which the field value is greater or
         equal to the final lower bound.
         You can define up to 20 lower bounds.
         
        repeated double lower_bounds = 1;
        Specified by:
        getLowerBoundsCount in interface Aggregation.HistogramOrBuilder
        Returns:
        The count of lowerBounds.
      • getLowerBounds

        public double getLowerBounds​(int index)
         Lower bounds of buckets.
         The response will contain `n+1` buckets for `n` bounds.
         The first bucket will count all assets for which the field value is
         smaller than the first bound.
         Subsequent buckets will count assets for which the field value is
         greater or equal to a lower bound and smaller than the next one.
         The last bucket will count assets for which the field value is greater or
         equal to the final lower bound.
         You can define up to 20 lower bounds.
         
        repeated double lower_bounds = 1;
        Specified by:
        getLowerBounds in interface Aggregation.HistogramOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The lowerBounds at the given index.
      • setLowerBounds

        public Aggregation.Histogram.Builder setLowerBounds​(int index,
                                                            double value)
         Lower bounds of buckets.
         The response will contain `n+1` buckets for `n` bounds.
         The first bucket will count all assets for which the field value is
         smaller than the first bound.
         Subsequent buckets will count assets for which the field value is
         greater or equal to a lower bound and smaller than the next one.
         The last bucket will count assets for which the field value is greater or
         equal to the final lower bound.
         You can define up to 20 lower bounds.
         
        repeated double lower_bounds = 1;
        Parameters:
        index - The index to set the value at.
        value - The lowerBounds to set.
        Returns:
        This builder for chaining.
      • addLowerBounds

        public Aggregation.Histogram.Builder addLowerBounds​(double value)
         Lower bounds of buckets.
         The response will contain `n+1` buckets for `n` bounds.
         The first bucket will count all assets for which the field value is
         smaller than the first bound.
         Subsequent buckets will count assets for which the field value is
         greater or equal to a lower bound and smaller than the next one.
         The last bucket will count assets for which the field value is greater or
         equal to the final lower bound.
         You can define up to 20 lower bounds.
         
        repeated double lower_bounds = 1;
        Parameters:
        value - The lowerBounds to add.
        Returns:
        This builder for chaining.
      • addAllLowerBounds

        public Aggregation.Histogram.Builder addAllLowerBounds​(Iterable<? extends Double> values)
         Lower bounds of buckets.
         The response will contain `n+1` buckets for `n` bounds.
         The first bucket will count all assets for which the field value is
         smaller than the first bound.
         Subsequent buckets will count assets for which the field value is
         greater or equal to a lower bound and smaller than the next one.
         The last bucket will count assets for which the field value is greater or
         equal to the final lower bound.
         You can define up to 20 lower bounds.
         
        repeated double lower_bounds = 1;
        Parameters:
        values - The lowerBounds to add.
        Returns:
        This builder for chaining.
      • clearLowerBounds

        public Aggregation.Histogram.Builder clearLowerBounds()
         Lower bounds of buckets.
         The response will contain `n+1` buckets for `n` bounds.
         The first bucket will count all assets for which the field value is
         smaller than the first bound.
         Subsequent buckets will count assets for which the field value is
         greater or equal to a lower bound and smaller than the next one.
         The last bucket will count assets for which the field value is greater or
         equal to the final lower bound.
         You can define up to 20 lower bounds.
         
        repeated double lower_bounds = 1;
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Aggregation.Histogram.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<Aggregation.Histogram.Builder>
      • mergeUnknownFields

        public final Aggregation.Histogram.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<Aggregation.Histogram.Builder>