Package io.opencensus.metrics.export
Class AutoValue_Summary_Snapshot
- java.lang.Object
-
- io.opencensus.metrics.export.Summary.Snapshot
-
- io.opencensus.metrics.export.AutoValue_Summary_Snapshot
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_Summary_Snapshot extends Summary.Snapshot
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.opencensus.metrics.export.Summary.Snapshot
Summary.Snapshot.ValueAtPercentile
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Longcountprivate java.lang.Doublesumprivate java.util.List<Summary.Snapshot.ValueAtPercentile>valueAtPercentiles
-
Constructor Summary
Constructors Constructor Description AutoValue_Summary_Snapshot(java.lang.Long count, java.lang.Double sum, java.util.List<Summary.Snapshot.ValueAtPercentile> valueAtPercentiles)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.LonggetCount()Returns the number of values in thisSnapshot.java.lang.DoublegetSum()Returns the sum of values in thisSnapshot.java.util.List<Summary.Snapshot.ValueAtPercentile>getValueAtPercentiles()Returns the list ofValueAtPercentiles in thisSnapshot.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opencensus.metrics.export.Summary.Snapshot
create
-
-
-
-
Field Detail
-
count
private final java.lang.Long count
-
sum
private final java.lang.Double sum
-
valueAtPercentiles
private final java.util.List<Summary.Snapshot.ValueAtPercentile> valueAtPercentiles
-
-
Constructor Detail
-
AutoValue_Summary_Snapshot
AutoValue_Summary_Snapshot(@Nullable java.lang.Long count, @Nullable java.lang.Double sum, java.util.List<Summary.Snapshot.ValueAtPercentile> valueAtPercentiles)
-
-
Method Detail
-
getCount
@Nullable public java.lang.Long getCount()
Description copied from class:Summary.SnapshotReturns the number of values in thisSnapshot. If not available returnsnull.- Specified by:
getCountin classSummary.Snapshot- Returns:
- the number of values in this
Snapshot.
-
getSum
@Nullable public java.lang.Double getSum()
Description copied from class:Summary.SnapshotReturns the sum of values in thisSnapshot. If not available returnsnull.- Specified by:
getSumin classSummary.Snapshot- Returns:
- the sum of values in this
Snapshot.
-
getValueAtPercentiles
public java.util.List<Summary.Snapshot.ValueAtPercentile> getValueAtPercentiles()
Description copied from class:Summary.SnapshotReturns the list ofValueAtPercentiles in thisSnapshot.- Specified by:
getValueAtPercentilesin classSummary.Snapshot- Returns:
- the list of
ValueAtPercentiles in thisSnapshot.
-
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
-
-