Package io.opencensus.metrics.export
Class AutoValue_MetricDescriptor
- java.lang.Object
-
- io.opencensus.metrics.export.MetricDescriptor
-
- io.opencensus.metrics.export.AutoValue_MetricDescriptor
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_MetricDescriptor extends MetricDescriptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.opencensus.metrics.export.MetricDescriptor
MetricDescriptor.Type
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringdescriptionprivate java.util.List<LabelKey>labelKeysprivate java.lang.Stringnameprivate MetricDescriptor.Typetypeprivate java.lang.Stringunit
-
Constructor Summary
Constructors Constructor Description AutoValue_MetricDescriptor(java.lang.String name, java.lang.String description, java.lang.String unit, MetricDescriptor.Type type, java.util.List<LabelKey> labelKeys)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetDescription()Returns the description of this metric descriptor.java.util.List<LabelKey>getLabelKeys()Returns the label keys associated with this metric descriptor.java.lang.StringgetName()Returns the metric descriptor name.MetricDescriptor.TypegetType()Returns the type of this metric descriptor.java.lang.StringgetUnit()Returns the unit of this metric descriptor.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opencensus.metrics.export.MetricDescriptor
create
-
-
-
-
Field Detail
-
name
private final java.lang.String name
-
description
private final java.lang.String description
-
unit
private final java.lang.String unit
-
type
private final MetricDescriptor.Type type
-
labelKeys
private final java.util.List<LabelKey> labelKeys
-
-
Constructor Detail
-
AutoValue_MetricDescriptor
AutoValue_MetricDescriptor(java.lang.String name, java.lang.String description, java.lang.String unit, MetricDescriptor.Type type, java.util.List<LabelKey> labelKeys)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:MetricDescriptorReturns the metric descriptor name.- Specified by:
getNamein classMetricDescriptor- Returns:
- the metric descriptor name.
-
getDescription
public java.lang.String getDescription()
Description copied from class:MetricDescriptorReturns the description of this metric descriptor.- Specified by:
getDescriptionin classMetricDescriptor- Returns:
- the description of this metric descriptor.
-
getUnit
public java.lang.String getUnit()
Description copied from class:MetricDescriptorReturns the unit of this metric descriptor.- Specified by:
getUnitin classMetricDescriptor- Returns:
- the unit of this metric descriptor.
-
getType
public MetricDescriptor.Type getType()
Description copied from class:MetricDescriptorReturns the type of this metric descriptor.- Specified by:
getTypein classMetricDescriptor- Returns:
- the type of this metric descriptor.
-
getLabelKeys
public java.util.List<LabelKey> getLabelKeys()
Description copied from class:MetricDescriptorReturns the label keys associated with this metric descriptor.- Specified by:
getLabelKeysin classMetricDescriptor- Returns:
- the label keys associated with this metric descriptor.
-
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
-
-