Package io.opencensus.metrics
Class AutoValue_MetricOptions
java.lang.Object
io.opencensus.metrics.MetricOptions
io.opencensus.metrics.AutoValue_MetricOptions
@Generated("com.google.auto.value.processor.AutoValueProcessor")
final class AutoValue_MetricOptions
extends MetricOptions
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map
<LabelKey, LabelValue> private final String
private final String
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AutoValue_MetricOptions
(String description, String unit, List<LabelKey> labelKeys, Map<LabelKey, LabelValue> constantLabels) -
Method Summary
Methods inherited from class io.opencensus.metrics.MetricOptions
builder
-
Field Details
-
description
-
unit
-
labelKeys
-
constantLabels
-
-
Constructor Details
-
AutoValue_MetricOptions
-
-
Method Details
-
getDescription
Description copied from class:MetricOptions
Returns the description of the Metric.Default value is
""
.- Specified by:
getDescription
in classMetricOptions
- Returns:
- the description of the Metric.
-
getUnit
Description copied from class:MetricOptions
Returns the unit of the Metric.Default value is
"1"
.- Specified by:
getUnit
in classMetricOptions
- Returns:
- the unit of the Metric.
-
getLabelKeys
Description copied from class:MetricOptions
Returns the list of label keys for the Metric.Default value is
Collections.emptyList()
.- Specified by:
getLabelKeys
in classMetricOptions
- Returns:
- the list of label keys for the Metric.
-
getConstantLabels
Description copied from class:MetricOptions
Returns the map of constant labels (they will be added to all the TimeSeries) for the Metric.Default value is
Collections.emptyMap()
.- Specified by:
getConstantLabels
in classMetricOptions
- Returns:
- the map of constant labels for the Metric.
-
toString
-
equals
-
hashCode
public int hashCode()
-