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 boolean
equals(java.lang.Object o)
long
getCount()
Returns the number of values in each bucket of the histogram.Exemplar
getExemplar()
int
hashCode()
java.lang.String
toString()
-
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.Bucket
Returns the number of values in each bucket of the histogram.- Specified by:
getCount
in 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:
getExemplar
in classDistribution.Bucket
- Returns:
- the
Exemplar
associated with theBucket
, ornull
if there isn't one.
-
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
-
-