Class LabelValue
java.lang.Object
io.opencensus.metrics.LabelValue
- Direct Known Subclasses:
AutoValue_LabelValue
The value of a
Label associated with a TimeSeries.- Since:
- 0.15
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelValueCreates aLabelValue.abstract StringgetValue()Returns the value of thisLabelValue.
-
Constructor Details
-
LabelValue
LabelValue()
-
-
Method Details
-
create
Creates aLabelValue.- Parameters:
value- the value of aLabel.nullvalue indicates an unsetLabelValue.- Returns:
- a
LabelValue. - Since:
- 0.17
-
getValue
Returns the value of thisLabelValue. Returnsnullif the value is unset and supposed to be ignored.- Returns:
- the value.
- Since:
- 0.17
-