Interface HistogramProtoOrBuilder

All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
All Known Implementing Classes:
HistogramProto, HistogramProto.Builder

public interface HistogramProtoOrBuilder extends MessageOrBuilder
  • Method Details

    • getMin

      double getMin()
      double min = 1;
      Returns:
      The min.
    • getMax

      double getMax()
      double max = 2;
      Returns:
      The max.
    • getNum

      double getNum()
      double num = 3;
      Returns:
      The num.
    • getSum

      double getSum()
      double sum = 4;
      Returns:
      The sum.
    • getSumSquares

      double getSumSquares()
      double sum_squares = 5;
      Returns:
      The sumSquares.
    • getBucketLimitList

      List<Double> getBucketLimitList()
      Parallel arrays encoding the bucket boundaries and the bucket values.
      bucket(i) is the count for the bucket i.  The range for
      a bucket is:
        i == 0:  -DBL_MAX .. bucket_limit(0)
        i != 0:  bucket_limit(i-1) .. bucket_limit(i)
      
      repeated double bucket_limit = 6 [packed = true];
      Returns:
      A list containing the bucketLimit.
    • getBucketLimitCount

      int getBucketLimitCount()
      Parallel arrays encoding the bucket boundaries and the bucket values.
      bucket(i) is the count for the bucket i.  The range for
      a bucket is:
        i == 0:  -DBL_MAX .. bucket_limit(0)
        i != 0:  bucket_limit(i-1) .. bucket_limit(i)
      
      repeated double bucket_limit = 6 [packed = true];
      Returns:
      The count of bucketLimit.
    • getBucketLimit

      double getBucketLimit(int index)
      Parallel arrays encoding the bucket boundaries and the bucket values.
      bucket(i) is the count for the bucket i.  The range for
      a bucket is:
        i == 0:  -DBL_MAX .. bucket_limit(0)
        i != 0:  bucket_limit(i-1) .. bucket_limit(i)
      
      repeated double bucket_limit = 6 [packed = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The bucketLimit at the given index.
    • getBucketList

      List<Double> getBucketList()
      repeated double bucket = 7 [packed = true];
      Returns:
      A list containing the bucket.
    • getBucketCount

      int getBucketCount()
      repeated double bucket = 7 [packed = true];
      Returns:
      The count of bucket.
    • getBucket

      double getBucket(int index)
      repeated double bucket = 7 [packed = true];
      Parameters:
      index - The index of the element to return.
      Returns:
      The bucket at the given index.