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>
labelValues
private java.util.List<Point>
points
private Timestamp
startTimestamp
-
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 boolean
equals(java.lang.Object o)
java.util.List<LabelValue>
getLabelValues()
Returns the set ofLabelValue
s that uniquely identify thisTimeSeries
.java.util.List<Point>
getPoints()
Returns the dataPoint
s of thisTimeSeries
.Timestamp
getStartTimestamp()
Returns the startTimestamp
of thisTimeSeries
if thePoint
s are cumulative, ornull
if thePoint
s are gauge.int
hashCode()
java.lang.String
toString()
-
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:TimeSeries
Returns the set ofLabelValue
s that uniquely identify thisTimeSeries
.Apply to all
Point
s.The order of
LabelValue
s must match that ofLabelKey
s in theMetricDescriptor
.- Specified by:
getLabelValues
in classTimeSeries
- Returns:
- the
LabelValue
s.
-
getPoints
public java.util.List<Point> getPoints()
Description copied from class:TimeSeries
Returns the dataPoint
s of thisTimeSeries
.- Specified by:
getPoints
in classTimeSeries
- Returns:
- the data
Point
s.
-
getStartTimestamp
@Nullable public Timestamp getStartTimestamp()
Description copied from class:TimeSeries
Returns the startTimestamp
of thisTimeSeries
if thePoint
s are cumulative, ornull
if thePoint
s are gauge.- Specified by:
getStartTimestamp
in classTimeSeries
- Returns:
- the start
Timestamp
ornull
.
-
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
-
-