Package io.opencensus.stats
Class AutoValue_AggregationData_DistributionData
- java.lang.Object
-
- io.opencensus.stats.AggregationData
-
- io.opencensus.stats.AggregationData.DistributionData
-
- io.opencensus.stats.AutoValue_AggregationData_DistributionData
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_AggregationData_DistributionData extends AggregationData.DistributionData
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.opencensus.stats.AggregationData
AggregationData.CountData, AggregationData.DistributionData, AggregationData.LastValueDataDouble, AggregationData.LastValueDataLong, AggregationData.MeanData, AggregationData.SumDataDouble, AggregationData.SumDataLong
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<java.lang.Long>bucketCountsprivate longcountprivate java.util.List<Exemplar>exemplarsprivate doublemeanprivate doublesumOfSquaredDeviations
-
Constructor Summary
Constructors Constructor Description AutoValue_AggregationData_DistributionData(double mean, long count, double sumOfSquaredDeviations, java.util.List<java.lang.Long> bucketCounts, java.util.List<Exemplar> exemplars)
-
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()Returns the aggregated bucket counts.longgetCount()Returns the aggregated count.java.util.List<Exemplar>getExemplars()Returns theExemplars associated with histogram buckets.doublegetMean()Returns the aggregated mean.doublegetSumOfSquaredDeviations()Returns the aggregated sum of squared deviations.inthashCode()java.lang.StringtoString()
-
-
-
Field Detail
-
mean
private final double mean
-
count
private final long count
-
sumOfSquaredDeviations
private final double sumOfSquaredDeviations
-
bucketCounts
private final java.util.List<java.lang.Long> bucketCounts
-
exemplars
private final java.util.List<Exemplar> exemplars
-
-
Constructor Detail
-
AutoValue_AggregationData_DistributionData
AutoValue_AggregationData_DistributionData(double mean, long count, double sumOfSquaredDeviations, java.util.List<java.lang.Long> bucketCounts, java.util.List<Exemplar> exemplars)
-
-
Method Detail
-
getMean
public double getMean()
Description copied from class:AggregationData.DistributionDataReturns the aggregated mean.- Specified by:
getMeanin classAggregationData.DistributionData- Returns:
- the aggregated mean.
-
getCount
public long getCount()
Description copied from class:AggregationData.DistributionDataReturns the aggregated count.- Specified by:
getCountin classAggregationData.DistributionData- Returns:
- the aggregated count.
-
getSumOfSquaredDeviations
public double getSumOfSquaredDeviations()
Description copied from class:AggregationData.DistributionDataReturns the aggregated sum of squared deviations.- Specified by:
getSumOfSquaredDeviationsin classAggregationData.DistributionData- Returns:
- the aggregated sum of squared deviations.
-
getBucketCounts
public java.util.List<java.lang.Long> getBucketCounts()
Description copied from class:AggregationData.DistributionDataReturns the aggregated bucket counts. The returned list is immutable, trying to update it will throw anUnsupportedOperationException.- Specified by:
getBucketCountsin classAggregationData.DistributionData- Returns:
- the aggregated bucket counts.
-
getExemplars
public java.util.List<Exemplar> getExemplars()
Description copied from class:AggregationData.DistributionDataReturns theExemplars associated with histogram buckets.- Specified by:
getExemplarsin classAggregationData.DistributionData- Returns:
- the
Exemplars associated with 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
-
-