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

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

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

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

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

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

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

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

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

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

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

        public DistributionAggregation.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<DistributionAggregation.Builder>
        Throws:
        IOException
      • getBucketBoundsList

        public List<Double> getBucketBoundsList()
         A Distribution may optionally contain a histogram of the values in the
         population. The bucket boundaries for that histogram are described by
         `bucket_bounds`. This defines `size(bucket_bounds) + 1` (= N)
         buckets. The boundaries for bucket index i are:
         (-infinity, bucket_bounds[i]) for i == 0
         [bucket_bounds[i-1], bucket_bounds[i]) for 0 < i < N-2
         [bucket_bounds[i-1], +infinity) for i == N-1
         i.e. an underflow bucket (number 0), zero or more finite buckets (1
         through N - 2, and an overflow bucket (N - 1), with inclusive lower
         bounds and exclusive upper bounds.
         If `bucket_bounds` has no elements (zero size), then there is no
         histogram associated with the Distribution. If `bucket_bounds` has only
         one element, there are no finite buckets, and that single element is the
         common boundary of the overflow and underflow buckets. The values must
         be monotonically increasing.
         
        repeated double bucket_bounds = 1;
        Specified by:
        getBucketBoundsList in interface DistributionAggregationOrBuilder
        Returns:
        A list containing the bucketBounds.
      • getBucketBoundsCount

        public int getBucketBoundsCount()
         A Distribution may optionally contain a histogram of the values in the
         population. The bucket boundaries for that histogram are described by
         `bucket_bounds`. This defines `size(bucket_bounds) + 1` (= N)
         buckets. The boundaries for bucket index i are:
         (-infinity, bucket_bounds[i]) for i == 0
         [bucket_bounds[i-1], bucket_bounds[i]) for 0 < i < N-2
         [bucket_bounds[i-1], +infinity) for i == N-1
         i.e. an underflow bucket (number 0), zero or more finite buckets (1
         through N - 2, and an overflow bucket (N - 1), with inclusive lower
         bounds and exclusive upper bounds.
         If `bucket_bounds` has no elements (zero size), then there is no
         histogram associated with the Distribution. If `bucket_bounds` has only
         one element, there are no finite buckets, and that single element is the
         common boundary of the overflow and underflow buckets. The values must
         be monotonically increasing.
         
        repeated double bucket_bounds = 1;
        Specified by:
        getBucketBoundsCount in interface DistributionAggregationOrBuilder
        Returns:
        The count of bucketBounds.
      • getBucketBounds

        public double getBucketBounds​(int index)
         A Distribution may optionally contain a histogram of the values in the
         population. The bucket boundaries for that histogram are described by
         `bucket_bounds`. This defines `size(bucket_bounds) + 1` (= N)
         buckets. The boundaries for bucket index i are:
         (-infinity, bucket_bounds[i]) for i == 0
         [bucket_bounds[i-1], bucket_bounds[i]) for 0 < i < N-2
         [bucket_bounds[i-1], +infinity) for i == N-1
         i.e. an underflow bucket (number 0), zero or more finite buckets (1
         through N - 2, and an overflow bucket (N - 1), with inclusive lower
         bounds and exclusive upper bounds.
         If `bucket_bounds` has no elements (zero size), then there is no
         histogram associated with the Distribution. If `bucket_bounds` has only
         one element, there are no finite buckets, and that single element is the
         common boundary of the overflow and underflow buckets. The values must
         be monotonically increasing.
         
        repeated double bucket_bounds = 1;
        Specified by:
        getBucketBounds in interface DistributionAggregationOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The bucketBounds at the given index.
      • setBucketBounds

        public DistributionAggregation.Builder setBucketBounds​(int index,
                                                               double value)
         A Distribution may optionally contain a histogram of the values in the
         population. The bucket boundaries for that histogram are described by
         `bucket_bounds`. This defines `size(bucket_bounds) + 1` (= N)
         buckets. The boundaries for bucket index i are:
         (-infinity, bucket_bounds[i]) for i == 0
         [bucket_bounds[i-1], bucket_bounds[i]) for 0 < i < N-2
         [bucket_bounds[i-1], +infinity) for i == N-1
         i.e. an underflow bucket (number 0), zero or more finite buckets (1
         through N - 2, and an overflow bucket (N - 1), with inclusive lower
         bounds and exclusive upper bounds.
         If `bucket_bounds` has no elements (zero size), then there is no
         histogram associated with the Distribution. If `bucket_bounds` has only
         one element, there are no finite buckets, and that single element is the
         common boundary of the overflow and underflow buckets. The values must
         be monotonically increasing.
         
        repeated double bucket_bounds = 1;
        Parameters:
        index - The index to set the value at.
        value - The bucketBounds to set.
        Returns:
        This builder for chaining.
      • addBucketBounds

        public DistributionAggregation.Builder addBucketBounds​(double value)
         A Distribution may optionally contain a histogram of the values in the
         population. The bucket boundaries for that histogram are described by
         `bucket_bounds`. This defines `size(bucket_bounds) + 1` (= N)
         buckets. The boundaries for bucket index i are:
         (-infinity, bucket_bounds[i]) for i == 0
         [bucket_bounds[i-1], bucket_bounds[i]) for 0 < i < N-2
         [bucket_bounds[i-1], +infinity) for i == N-1
         i.e. an underflow bucket (number 0), zero or more finite buckets (1
         through N - 2, and an overflow bucket (N - 1), with inclusive lower
         bounds and exclusive upper bounds.
         If `bucket_bounds` has no elements (zero size), then there is no
         histogram associated with the Distribution. If `bucket_bounds` has only
         one element, there are no finite buckets, and that single element is the
         common boundary of the overflow and underflow buckets. The values must
         be monotonically increasing.
         
        repeated double bucket_bounds = 1;
        Parameters:
        value - The bucketBounds to add.
        Returns:
        This builder for chaining.
      • addAllBucketBounds

        public DistributionAggregation.Builder addAllBucketBounds​(Iterable<? extends Double> values)
         A Distribution may optionally contain a histogram of the values in the
         population. The bucket boundaries for that histogram are described by
         `bucket_bounds`. This defines `size(bucket_bounds) + 1` (= N)
         buckets. The boundaries for bucket index i are:
         (-infinity, bucket_bounds[i]) for i == 0
         [bucket_bounds[i-1], bucket_bounds[i]) for 0 < i < N-2
         [bucket_bounds[i-1], +infinity) for i == N-1
         i.e. an underflow bucket (number 0), zero or more finite buckets (1
         through N - 2, and an overflow bucket (N - 1), with inclusive lower
         bounds and exclusive upper bounds.
         If `bucket_bounds` has no elements (zero size), then there is no
         histogram associated with the Distribution. If `bucket_bounds` has only
         one element, there are no finite buckets, and that single element is the
         common boundary of the overflow and underflow buckets. The values must
         be monotonically increasing.
         
        repeated double bucket_bounds = 1;
        Parameters:
        values - The bucketBounds to add.
        Returns:
        This builder for chaining.
      • clearBucketBounds

        public DistributionAggregation.Builder clearBucketBounds()
         A Distribution may optionally contain a histogram of the values in the
         population. The bucket boundaries for that histogram are described by
         `bucket_bounds`. This defines `size(bucket_bounds) + 1` (= N)
         buckets. The boundaries for bucket index i are:
         (-infinity, bucket_bounds[i]) for i == 0
         [bucket_bounds[i-1], bucket_bounds[i]) for 0 < i < N-2
         [bucket_bounds[i-1], +infinity) for i == N-1
         i.e. an underflow bucket (number 0), zero or more finite buckets (1
         through N - 2, and an overflow bucket (N - 1), with inclusive lower
         bounds and exclusive upper bounds.
         If `bucket_bounds` has no elements (zero size), then there is no
         histogram associated with the Distribution. If `bucket_bounds` has only
         one element, there are no finite buckets, and that single element is the
         common boundary of the overflow and underflow buckets. The values must
         be monotonically increasing.
         
        repeated double bucket_bounds = 1;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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