Class AutoValue_ImmutableHistogramPointData
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.data.ImmutableHistogramPointData
-
- io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableHistogramPointData
-
- All Implemented Interfaces:
HistogramPointData,PointData
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_ImmutableHistogramPointData extends ImmutableHistogramPointData
-
-
Field Summary
Fields Modifier and Type Field Description private AttributesgetAttributesprivate java.util.List<java.lang.Double>getBoundariesprivate longgetCountprivate java.util.List<java.lang.Long>getCountsprivate longgetEpochNanosprivate java.util.List<DoubleExemplarData>getExemplarsprivate doublegetMaxprivate doublegetMinprivate longgetStartEpochNanosprivate doublegetSumprivate booleanhasMaxprivate booleanhasMin
-
Constructor Summary
Constructors Constructor Description AutoValue_ImmutableHistogramPointData(long getStartEpochNanos, long getEpochNanos, Attributes getAttributes, double getSum, long getCount, boolean hasMin, double getMin, boolean hasMax, double getMax, java.util.List<java.lang.Double> getBoundaries, java.util.List<java.lang.Long> getCounts, java.util.List<DoubleExemplarData> getExemplars)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)AttributesgetAttributes()Returns the attributes of the aggregation.java.util.List<java.lang.Double>getBoundaries()The bucket boundaries.longgetCount()The number of measurements taken.java.util.List<java.lang.Long>getCounts()The counts in each bucket.longgetEpochNanos()Returns the end time of the aggregation in epoch nanos.java.util.List<DoubleExemplarData>getExemplars()List of exemplars collected from measurements that were used to form the data point.doublegetMax()The max of all measurements recorded, ifHistogramPointData.hasMax()istrue.doublegetMin()The min of all measurements recorded, ifHistogramPointData.hasMin()istrue.longgetStartEpochNanos()Returns the start time of the aggregation in epoch nanos.doublegetSum()The sum of all measurements recorded.inthashCode()booleanhasMax()ReturntrueifHistogramPointData.getMax()is set.booleanhasMin()ReturntrueifHistogramPointData.getMin()is set.java.lang.StringtoString()-
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableHistogramPointData
create, create
-
-
-
-
Field Detail
-
getStartEpochNanos
private final long getStartEpochNanos
-
getEpochNanos
private final long getEpochNanos
-
getAttributes
private final Attributes getAttributes
-
getSum
private final double getSum
-
getCount
private final long getCount
-
hasMin
private final boolean hasMin
-
getMin
private final double getMin
-
hasMax
private final boolean hasMax
-
getMax
private final double getMax
-
getBoundaries
private final java.util.List<java.lang.Double> getBoundaries
-
getCounts
private final java.util.List<java.lang.Long> getCounts
-
getExemplars
private final java.util.List<DoubleExemplarData> getExemplars
-
-
Constructor Detail
-
AutoValue_ImmutableHistogramPointData
AutoValue_ImmutableHistogramPointData(long getStartEpochNanos, long getEpochNanos, Attributes getAttributes, double getSum, long getCount, boolean hasMin, double getMin, boolean hasMax, double getMax, java.util.List<java.lang.Double> getBoundaries, java.util.List<java.lang.Long> getCounts, java.util.List<DoubleExemplarData> getExemplars)
-
-
Method Detail
-
getStartEpochNanos
public long getStartEpochNanos()
Description copied from interface:PointDataReturns the start time of the aggregation in epoch nanos.
-
getEpochNanos
public long getEpochNanos()
Description copied from interface:PointDataReturns the end time of the aggregation in epoch nanos.
-
getAttributes
public Attributes getAttributes()
Description copied from interface:PointDataReturns the attributes of the aggregation.
-
getSum
public double getSum()
Description copied from interface:HistogramPointDataThe sum of all measurements recorded.- Returns:
- the sum of recorded measurements.
-
getCount
public long getCount()
Description copied from interface:HistogramPointDataThe number of measurements taken.- Returns:
- the count of recorded measurements.
-
hasMin
public boolean hasMin()
Description copied from interface:HistogramPointDataReturntrueifHistogramPointData.getMin()is set.
-
getMin
public double getMin()
Description copied from interface:HistogramPointDataThe min of all measurements recorded, ifHistogramPointData.hasMin()istrue. IfHistogramPointData.hasMin()isfalse, the response should be ignored.
-
hasMax
public boolean hasMax()
Description copied from interface:HistogramPointDataReturntrueifHistogramPointData.getMax()is set.
-
getMax
public double getMax()
Description copied from interface:HistogramPointDataThe max of all measurements recorded, ifHistogramPointData.hasMax()istrue. IfHistogramPointData.hasMax()isfalse, the response should be ignored.
-
getBoundaries
public java.util.List<java.lang.Double> getBoundaries()
Description copied from interface:HistogramPointDataThe bucket boundaries. For a Histogram with N defined boundaries, e.g, [x, y, z]. There are N+1 counts: (-inf, x], (x, y], (y, z], (z, +inf).- Returns:
- the read-only bucket boundaries in increasing order. do not mutate the returned object.
-
getCounts
public java.util.List<java.lang.Long> getCounts()
Description copied from interface:HistogramPointDataThe counts in each bucket.- Returns:
- the read-only counts in each bucket. do not mutate the returned object.
-
getExemplars
public java.util.List<DoubleExemplarData> getExemplars()
Description copied from interface:HistogramPointDataList of exemplars collected from measurements that were used to form the data point.
-
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
-
-