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

final class AutoValue_ImmutableHistogramPointData extends ImmutableHistogramPointData
  • Field Details

    • 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 List<Double> getBoundaries
    • getCounts

      private final List<Long> getCounts
    • getExemplars

      private final List<DoubleExemplarData> getExemplars
  • Constructor Details

    • AutoValue_ImmutableHistogramPointData

      AutoValue_ImmutableHistogramPointData(long getStartEpochNanos, long getEpochNanos, Attributes getAttributes, double getSum, long getCount, boolean hasMin, double getMin, boolean hasMax, double getMax, List<Double> getBoundaries, List<Long> getCounts, List<DoubleExemplarData> getExemplars)
  • Method Details

    • getStartEpochNanos

      public long getStartEpochNanos()
      Description copied from interface: PointData
      Returns the start time of the aggregation in epoch nanos.
    • getEpochNanos

      public long getEpochNanos()
      Description copied from interface: PointData
      Returns the end time of the aggregation in epoch nanos.
    • getAttributes

      public Attributes getAttributes()
      Description copied from interface: PointData
      Returns the attributes of the aggregation.
    • getSum

      public double getSum()
      Description copied from interface: HistogramPointData
      The sum of all measurements recorded.
      Returns:
      the sum of recorded measurements.
    • getCount

      public long getCount()
      Description copied from interface: HistogramPointData
      The number of measurements taken.
      Returns:
      the count of recorded measurements.
    • hasMin

      public boolean hasMin()
      Description copied from interface: HistogramPointData
      Return true if HistogramPointData.getMin() is set.
    • getMin

      public double getMin()
      Description copied from interface: HistogramPointData
      The min of all measurements recorded, if HistogramPointData.hasMin() is true. If HistogramPointData.hasMin() is false, the response should be ignored.
    • hasMax

      public boolean hasMax()
      Description copied from interface: HistogramPointData
      Return true if HistogramPointData.getMax() is set.
    • getMax

      public double getMax()
      Description copied from interface: HistogramPointData
      The max of all measurements recorded, if HistogramPointData.hasMax() is true. If HistogramPointData.hasMax() is false, the response should be ignored.
    • getBoundaries

      public List<Double> getBoundaries()
      Description copied from interface: HistogramPointData
      The 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 List<Long> getCounts()
      Description copied from interface: HistogramPointData
      The counts in each bucket.
      Returns:
      the read-only counts in each bucket. do not mutate the returned object.
    • getExemplars

      public List<DoubleExemplarData> getExemplars()
      Description copied from interface: HistogramPointData
      List of exemplars collected from measurements that were used to form the data point.
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object