StatisticalDataPoint

public final class StatisticalDataPoint extends ProtoParcelable, AggregateDataPoint

Object
   ↳ ProtoParcelable
     ↳ AggregateDataPoint
       ↳ StatisticalDataPoint

An AggregateDataPoint containing the statistical aggregates min, max, and average for the type dataType between startTime and endTime. This should generally correspond with DataPoints of type DataType.TimeType.SAMPLE.

Summary

Public constructors

StatisticalDataPoint(
    Instant startTime,
    Instant endTime,
    DataType dataType,
    Value min,
    Value max,
    Value average
)

Public methods

@NonNull String

Inherited methods

From class ProtoParcelable
int
boolean
equals(Object other)
int
void
writeToParcel(Parcel dest, int flags)

Public fields

average

public final @NonNull Value average

dataType

public final @NonNull DataType dataType

endTime

public final @NonNull Instant endTime

max

public final @NonNull Value max

min

public final @NonNull Value min

startTime

public final @NonNull Instant startTime

Public constructors

StatisticalDataPoint

public final StatisticalDataPoint(
    Instant startTime,
    Instant endTime,
    DataType dataType,
    Value min,
    Value max,
    Value average
)

Public methods

toString

public @NonNull String toString()