Class AutoValue_MetricDescriptor
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.descriptor.MetricDescriptor
-
- io.opentelemetry.sdk.metrics.internal.descriptor.AutoValue_MetricDescriptor
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_MetricDescriptor extends MetricDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
description
private java.lang.String
name
private InstrumentDescriptor
sourceInstrument
private View
view
-
Constructor Summary
Constructors Constructor Description AutoValue_MetricDescriptor(java.lang.String name, java.lang.String description, View view, InstrumentDescriptor sourceInstrument)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
The description of the descriptor, equal toView.getDescription()
if not null, elseInstrumentDescriptor.getDescription()
.java.lang.String
getName()
The name of the descriptor, equal toView.getName()
if not null, elseInstrumentDescriptor.getName()
.InstrumentDescriptor
getSourceInstrument()
The instrument which lead to the creation of this metric.View
getView()
The view that lead to the creation of this metric.java.lang.String
toString()
-
Methods inherited from class io.opentelemetry.sdk.metrics.internal.descriptor.MetricDescriptor
create, create, equals, getAggregationName, getViewSourceInfo, hashCode
-
-
-
-
Field Detail
-
name
private final java.lang.String name
-
description
private final java.lang.String description
-
view
private final View view
-
sourceInstrument
private final InstrumentDescriptor sourceInstrument
-
-
Constructor Detail
-
AutoValue_MetricDescriptor
AutoValue_MetricDescriptor(java.lang.String name, java.lang.String description, View view, InstrumentDescriptor sourceInstrument)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from class:MetricDescriptor
The name of the descriptor, equal toView.getName()
if not null, elseInstrumentDescriptor.getName()
.- Specified by:
getName
in classMetricDescriptor
-
getDescription
public java.lang.String getDescription()
Description copied from class:MetricDescriptor
The description of the descriptor, equal toView.getDescription()
if not null, elseInstrumentDescriptor.getDescription()
.- Specified by:
getDescription
in classMetricDescriptor
-
getView
public View getView()
Description copied from class:MetricDescriptor
The view that lead to the creation of this metric.- Specified by:
getView
in classMetricDescriptor
-
getSourceInstrument
public InstrumentDescriptor getSourceInstrument()
Description copied from class:MetricDescriptor
The instrument which lead to the creation of this metric.- Specified by:
getSourceInstrument
in classMetricDescriptor
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-