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.Stringdescriptionprivate java.lang.Stringnameprivate InstrumentDescriptorsourceInstrumentprivate Viewview
-
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.StringgetDescription()The description of the descriptor, equal toView.getDescription()if not null, elseInstrumentDescriptor.getDescription().java.lang.StringgetName()The name of the descriptor, equal toView.getName()if not null, elseInstrumentDescriptor.getName().InstrumentDescriptorgetSourceInstrument()The instrument which lead to the creation of this metric.ViewgetView()The view that lead to the creation of this metric.java.lang.StringtoString()-
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:MetricDescriptorThe name of the descriptor, equal toView.getName()if not null, elseInstrumentDescriptor.getName().- Specified by:
getNamein classMetricDescriptor
-
getDescription
public java.lang.String getDescription()
Description copied from class:MetricDescriptorThe description of the descriptor, equal toView.getDescription()if not null, elseInstrumentDescriptor.getDescription().- Specified by:
getDescriptionin classMetricDescriptor
-
getView
public View getView()
Description copied from class:MetricDescriptorThe view that lead to the creation of this metric.- Specified by:
getViewin classMetricDescriptor
-
getSourceInstrument
public InstrumentDescriptor getSourceInstrument()
Description copied from class:MetricDescriptorThe instrument which lead to the creation of this metric.- Specified by:
getSourceInstrumentin classMetricDescriptor
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-