Class AutoValue_ImmutableExponentialHistogramBuckets
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.data.ImmutableExponentialHistogramBuckets
-
- io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableExponentialHistogramBuckets
-
- All Implemented Interfaces:
ExponentialHistogramBuckets
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_ImmutableExponentialHistogramBuckets extends ImmutableExponentialHistogramBuckets
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Long>bucketCountsprivate intoffsetprivate intscaleprivate longtotalCount
-
Constructor Summary
Constructors Constructor Description AutoValue_ImmutableExponentialHistogramBuckets(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 booleanequals(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.intgetOffset()The offset shifts the bucket boundaries according tolower_bound = base^(offset+i).intgetScale()The scale of the buckets.longgetTotalCount()The total count is the sum of all the values in the buckets.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableExponentialHistogramBuckets
create
-
-
-
-
Method Detail
-
getScale
public int getScale()
Description copied from interface:ExponentialHistogramBucketsThe scale of the buckets. Must align withExponentialHistogramPointData.getScale().
-
getOffset
public int getOffset()
Description copied from interface:ExponentialHistogramBucketsThe 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:ExponentialHistogramBucketsThe 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:ExponentialHistogramBucketsThe total count is the sum of all the values in the buckets.- Returns:
- the total count.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-