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 Distribution
Distribution.Bucket, Distribution.BucketOptions -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Distribution.BucketOptionsprivate final List<Distribution.Bucket> private final longprivate final doubleprivate final double -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_Distribution(long count, double sum, double sumOfSquaredDeviations, Distribution.BucketOptions bucketOptions, List<Distribution.Bucket> buckets) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns bucket options used to create a histogram for the distribution.Returns the aggregated histogramDistribution.Buckets.longgetCount()Returns the aggregated count.doublegetSum()Returns the aggregated sum.doubleReturns the aggregated sum of squared deviations.inthashCode()toString()Methods inherited from class Distribution
create
-
Field Details
-
count
private final long count -
sum
private final double sum -
sumOfSquaredDeviations
private final double sumOfSquaredDeviations -
bucketOptions
-
buckets
-
-
Constructor Details
-
AutoValue_Distribution
AutoValue_Distribution(long count, double sum, double sumOfSquaredDeviations, @Nullable Distribution.BucketOptions bucketOptions, List<Distribution.Bucket> buckets)
-
-
Method Details
-
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
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
Description copied from class:DistributionReturns the aggregated histogramDistribution.Buckets.- Specified by:
getBucketsin classDistribution- Returns:
- the aggregated histogram buckets.
-
toString
-
equals
-
hashCode
-