Package io.opencensus.metrics.export
Class AutoValue_Distribution_Bucket
- java.lang.Object
-
- io.opencensus.metrics.export.Distribution.Bucket
-
- io.opencensus.metrics.export.AutoValue_Distribution_Bucket
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Distribution_Bucket extends Distribution.Bucket
-
-
Constructor Summary
Constructors Constructor Description AutoValue_Distribution_Bucket(long count, Exemplar exemplar)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetCount()Returns the number of values in each bucket of the histogram.ExemplargetExemplar()inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opencensus.metrics.export.Distribution.Bucket
create, create
-
-
-
-
Field Detail
-
count
private final long count
-
exemplar
private final Exemplar exemplar
-
-
Constructor Detail
-
AutoValue_Distribution_Bucket
AutoValue_Distribution_Bucket(long count, @Nullable Exemplar exemplar)
-
-
Method Detail
-
getCount
public long getCount()
Description copied from class:Distribution.BucketReturns the number of values in each bucket of the histogram.- Specified by:
getCountin classDistribution.Bucket- Returns:
- the number of values in each bucket of the histogram.
-
getExemplar
@Nullable public Exemplar getExemplar()
Description copied from class:Distribution.Bucket- Specified by:
getExemplarin classDistribution.Bucket- Returns:
- the
Exemplarassociated with theBucket, ornullif there isn't one.
-
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
-
-