Class AutoValue_EmptyExponentialHistogramBuckets
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.data.EmptyExponentialHistogramBuckets
-
- io.opentelemetry.sdk.metrics.internal.data.AutoValue_EmptyExponentialHistogramBuckets
-
- All Implemented Interfaces:
ExponentialHistogramBuckets
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_EmptyExponentialHistogramBuckets extends EmptyExponentialHistogramBuckets
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Long>
bucketCounts
private int
offset
private int
scale
private long
totalCount
-
Constructor Summary
Constructors Constructor Description AutoValue_EmptyExponentialHistogramBuckets(int scale, int offset, java.util.List<java.lang.Long> bucketCounts, long totalCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.util.List<java.lang.Long>
getBucketCounts()
The bucket counts is a list of counts representing number of measurements that fall into each bucket.int
getOffset()
The offset shifts the bucket boundaries according tolower_bound = base^(offset+i).
int
getScale()
The scale of the buckets.long
getTotalCount()
The total count is the sum of all the values in the buckets.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.EmptyExponentialHistogramBuckets
get
-
-
-
-
Method Detail
-
getScale
public int getScale()
Description copied from interface:ExponentialHistogramBuckets
The scale of the buckets. Must align withExponentialHistogramPointData.getScale()
.
-
getOffset
public int getOffset()
Description copied from interface:ExponentialHistogramBuckets
The offset shifts the bucket boundaries according tolower_bound = base^(offset+i).
.- Returns:
- the offset.
-
getBucketCounts
public java.util.List<java.lang.Long> getBucketCounts()
Description copied from interface:ExponentialHistogramBuckets
The bucket counts is a list of counts representing number of measurements that fall into each bucket.- Returns:
- the bucket counts.
-
getTotalCount
public long getTotalCount()
Description copied from interface:ExponentialHistogramBuckets
The total count is the sum of all the values in the buckets.- Returns:
- the total count.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-