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.Long
count
private java.lang.Double
sum
private 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 boolean
equals(java.lang.Object o)
java.lang.Long
getCount()
Returns the number of values in thisSnapshot
.java.lang.Double
getSum()
Returns the sum of values in thisSnapshot
.java.util.List<Summary.Snapshot.ValueAtPercentile>
getValueAtPercentiles()
Returns the list ofValueAtPercentile
s in thisSnapshot
.int
hashCode()
java.lang.String
toString()
-
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.Snapshot
Returns the number of values in thisSnapshot
. If not available returnsnull
.- Specified by:
getCount
in classSummary.Snapshot
- Returns:
- the number of values in this
Snapshot
.
-
getSum
@Nullable public java.lang.Double getSum()
Description copied from class:Summary.Snapshot
Returns the sum of values in thisSnapshot
. If not available returnsnull
.- Specified by:
getSum
in classSummary.Snapshot
- Returns:
- the sum of values in this
Snapshot
.
-
getValueAtPercentiles
public java.util.List<Summary.Snapshot.ValueAtPercentile> getValueAtPercentiles()
Description copied from class:Summary.Snapshot
Returns the list ofValueAtPercentile
s in thisSnapshot
.- Specified by:
getValueAtPercentiles
in classSummary.Snapshot
- Returns:
- the list of
ValueAtPercentile
s in thisSnapshot
.
-
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
-
-