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>
bucketCounts
private long
count
private java.util.List<Exemplar>
exemplars
private double
mean
private double
sumOfSquaredDeviations
-
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 boolean
equals(java.lang.Object o)
java.util.List<java.lang.Long>
getBucketCounts()
Returns the aggregated bucket counts.long
getCount()
Returns the aggregated count.java.util.List<Exemplar>
getExemplars()
Returns theExemplar
s associated with histogram buckets.double
getMean()
Returns the aggregated mean.double
getSumOfSquaredDeviations()
Returns the aggregated sum of squared deviations.int
hashCode()
java.lang.String
toString()
-
-
-
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.DistributionData
Returns the aggregated mean.- Specified by:
getMean
in classAggregationData.DistributionData
- Returns:
- the aggregated mean.
-
getCount
public long getCount()
Description copied from class:AggregationData.DistributionData
Returns the aggregated count.- Specified by:
getCount
in classAggregationData.DistributionData
- Returns:
- the aggregated count.
-
getSumOfSquaredDeviations
public double getSumOfSquaredDeviations()
Description copied from class:AggregationData.DistributionData
Returns the aggregated sum of squared deviations.- Specified by:
getSumOfSquaredDeviations
in classAggregationData.DistributionData
- Returns:
- the aggregated sum of squared deviations.
-
getBucketCounts
public java.util.List<java.lang.Long> getBucketCounts()
Description copied from class:AggregationData.DistributionData
Returns the aggregated bucket counts. The returned list is immutable, trying to update it will throw anUnsupportedOperationException
.- Specified by:
getBucketCounts
in classAggregationData.DistributionData
- Returns:
- the aggregated bucket counts.
-
getExemplars
public java.util.List<Exemplar> getExemplars()
Description copied from class:AggregationData.DistributionData
Returns theExemplar
s associated with histogram buckets.- Specified by:
getExemplars
in classAggregationData.DistributionData
- Returns:
- the
Exemplar
s associated with histogram buckets.
-
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
-
-