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 Stringprivate final String -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateAutoValue_MetricOptions(String description, String unit, List<LabelKey> labelKeys, Map<LabelKey, LabelValue> constantLabels) -
Method Summary
Methods inherited from class MetricOptions
builder
-
Field Details
-
description
-
unit
-
labelKeys
-
constantLabels
-
-
Constructor Details
-
AutoValue_MetricOptions
-
-
Method Details
-
getDescription
Description copied from class:MetricOptionsReturns the description of the Metric.Default value is
"".- Specified by:
getDescriptionin classMetricOptions- Returns:
- the description of the Metric.
-
getUnit
Description copied from class:MetricOptionsReturns the unit of the Metric.Default value is
"1".- Specified by:
getUnitin classMetricOptions- Returns:
- the unit of the Metric.
-
getLabelKeys
Description copied from class:MetricOptionsReturns the list of label keys for the Metric.Default value is
Collections.emptyList().- Specified by:
getLabelKeysin classMetricOptions- Returns:
- the list of label keys for the Metric.
-
getConstantLabels
Description copied from class:MetricOptionsReturns the map of constant labels (they will be added to all the TimeSeries) for the Metric.Default value is
Collections.emptyMap().- Specified by:
getConstantLabelsin classMetricOptions- Returns:
- the map of constant labels for the Metric.
-
toString
-
equals
-
hashCode
-