Interface HistogramProtoOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
HistogramProto, HistogramProto.Builder
-
Method Summary
Modifier and TypeMethodDescriptiondoublegetBucket(int index) repeated double bucket = 7 [packed = true];intrepeated double bucket = 7 [packed = true];doublegetBucketLimit(int index) Parallel arrays encoding the bucket boundaries and the bucket values. bucket(i) is the count for the bucket i.intParallel arrays encoding the bucket boundaries and the bucket values. bucket(i) is the count for the bucket i.Parallel arrays encoding the bucket boundaries and the bucket values. bucket(i) is the count for the bucket i.repeated double bucket = 7 [packed = true];doublegetMax()double max = 2;doublegetMin()double min = 1;doublegetNum()double num = 3;doublegetSum()double sum = 4;doubledouble sum_squares = 5;Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
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
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
-
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.
-