Package io.opencensus.metrics.export
Class AutoValue_Distribution
- java.lang.Object
-
- io.opencensus.metrics.export.Distribution
-
- io.opencensus.metrics.export.AutoValue_Distribution
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Distribution extends Distribution
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.opencensus.metrics.export.Distribution
Distribution.Bucket, Distribution.BucketOptions
-
-
Field Summary
Fields Modifier and Type Field Description private Distribution.BucketOptionsbucketOptionsprivate java.util.List<Distribution.Bucket>bucketsprivate longcountprivate doublesumprivate doublesumOfSquaredDeviations
-
Constructor Summary
Constructors Constructor Description AutoValue_Distribution(long count, double sum, double sumOfSquaredDeviations, Distribution.BucketOptions bucketOptions, java.util.List<Distribution.Bucket> buckets)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)Distribution.BucketOptionsgetBucketOptions()Returns bucket options used to create a histogram for the distribution.java.util.List<Distribution.Bucket>getBuckets()Returns the aggregated histogramDistribution.Buckets.longgetCount()Returns the aggregated count.doublegetSum()Returns the aggregated sum.doublegetSumOfSquaredDeviations()Returns the aggregated sum of squared deviations.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opencensus.metrics.export.Distribution
create
-
-
-
-
Field Detail
-
count
private final long count
-
sum
private final double sum
-
sumOfSquaredDeviations
private final double sumOfSquaredDeviations
-
bucketOptions
private final Distribution.BucketOptions bucketOptions
-
buckets
private final java.util.List<Distribution.Bucket> buckets
-
-
Constructor Detail
-
AutoValue_Distribution
AutoValue_Distribution(long count, double sum, double sumOfSquaredDeviations, @Nullable Distribution.BucketOptions bucketOptions, java.util.List<Distribution.Bucket> buckets)
-
-
Method Detail
-
getCount
public long getCount()
Description copied from class:DistributionReturns the aggregated count.- Specified by:
getCountin classDistribution- Returns:
- the aggregated count.
-
getSum
public double getSum()
Description copied from class:DistributionReturns the aggregated sum.- Specified by:
getSumin classDistribution- Returns:
- the aggregated sum.
-
getSumOfSquaredDeviations
public double getSumOfSquaredDeviations()
Description copied from class:DistributionReturns the aggregated sum of squared deviations.The sum of squared deviations from the mean of the values in the population. For values x_i this is:
Sum[i=1..n]((x_i - mean)^2)
If count is zero then this field must be zero.
- Specified by:
getSumOfSquaredDeviationsin classDistribution- Returns:
- the aggregated sum of squared deviations.
-
getBucketOptions
@Nullable public Distribution.BucketOptions getBucketOptions()
Description copied from class:DistributionReturns bucket options used to create a histogram for the distribution.- Specified by:
getBucketOptionsin classDistribution- Returns:
- the
BucketOptionsassociated with theDistribution, ornullif there isn't one.
-
getBuckets
public java.util.List<Distribution.Bucket> getBuckets()
Description copied from class:DistributionReturns the aggregated histogramDistribution.Buckets.- Specified by:
getBucketsin classDistribution- Returns:
- the aggregated histogram buckets.
-
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
-
-