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.String
description
private java.util.List<LabelKey>
labelKeys
private java.lang.String
name
private MetricDescriptor.Type
type
private java.lang.String
unit
-
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 boolean
equals(java.lang.Object o)
java.lang.String
getDescription()
Returns the description of this metric descriptor.java.util.List<LabelKey>
getLabelKeys()
Returns the label keys associated with this metric descriptor.java.lang.String
getName()
Returns the metric descriptor name.MetricDescriptor.Type
getType()
Returns the type of this metric descriptor.java.lang.String
getUnit()
Returns the unit of this metric descriptor.int
hashCode()
java.lang.String
toString()
-
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:MetricDescriptor
Returns the metric descriptor name.- Specified by:
getName
in classMetricDescriptor
- Returns:
- the metric descriptor name.
-
getDescription
public java.lang.String getDescription()
Description copied from class:MetricDescriptor
Returns the description of this metric descriptor.- Specified by:
getDescription
in classMetricDescriptor
- Returns:
- the description of this metric descriptor.
-
getUnit
public java.lang.String getUnit()
Description copied from class:MetricDescriptor
Returns the unit of this metric descriptor.- Specified by:
getUnit
in classMetricDescriptor
- Returns:
- the unit of this metric descriptor.
-
getType
public MetricDescriptor.Type getType()
Description copied from class:MetricDescriptor
Returns the type of this metric descriptor.- Specified by:
getType
in classMetricDescriptor
- Returns:
- the type of this metric descriptor.
-
getLabelKeys
public java.util.List<LabelKey> getLabelKeys()
Description copied from class:MetricDescriptor
Returns the label keys associated with this metric descriptor.- Specified by:
getLabelKeys
in classMetricDescriptor
- Returns:
- the label keys associated with this metric descriptor.
-
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
-
-