Package io.opencensus.metrics.export
Class AutoValue_TimeSeries
- java.lang.Object
-
- io.opencensus.metrics.export.TimeSeries
-
- io.opencensus.metrics.export.AutoValue_TimeSeries
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_TimeSeries extends TimeSeries
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.List<LabelValue>labelValuesprivate java.util.List<Point>pointsprivate TimestampstartTimestamp
-
Constructor Summary
Constructors Constructor Description AutoValue_TimeSeries(java.util.List<LabelValue> labelValues, java.util.List<Point> points, Timestamp startTimestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.util.List<LabelValue>getLabelValues()Returns the set ofLabelValues that uniquely identify thisTimeSeries.java.util.List<Point>getPoints()Returns the dataPoints of thisTimeSeries.TimestampgetStartTimestamp()Returns the startTimestampof thisTimeSeriesif thePoints are cumulative, ornullif thePoints are gauge.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opencensus.metrics.export.TimeSeries
create, create, createWithOnePoint, setPoint
-
-
-
-
Field Detail
-
labelValues
private final java.util.List<LabelValue> labelValues
-
points
private final java.util.List<Point> points
-
startTimestamp
private final Timestamp startTimestamp
-
-
Constructor Detail
-
AutoValue_TimeSeries
AutoValue_TimeSeries(java.util.List<LabelValue> labelValues, java.util.List<Point> points, @Nullable Timestamp startTimestamp)
-
-
Method Detail
-
getLabelValues
public java.util.List<LabelValue> getLabelValues()
Description copied from class:TimeSeriesReturns the set ofLabelValues that uniquely identify thisTimeSeries.Apply to all
Points.The order of
LabelValues must match that ofLabelKeys in theMetricDescriptor.- Specified by:
getLabelValuesin classTimeSeries- Returns:
- the
LabelValues.
-
getPoints
public java.util.List<Point> getPoints()
Description copied from class:TimeSeriesReturns the dataPoints of thisTimeSeries.- Specified by:
getPointsin classTimeSeries- Returns:
- the data
Points.
-
getStartTimestamp
@Nullable public Timestamp getStartTimestamp()
Description copied from class:TimeSeriesReturns the startTimestampof thisTimeSeriesif thePoints are cumulative, ornullif thePoints are gauge.- Specified by:
getStartTimestampin classTimeSeries- Returns:
- the start
Timestampornull.
-
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
-
-