Class AutoValue_InstrumentDescriptor
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.descriptor.InstrumentDescriptor
-
- io.opentelemetry.sdk.metrics.internal.descriptor.AutoValue_InstrumentDescriptor
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_InstrumentDescriptor extends InstrumentDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description private Adviceadviceprivate java.lang.Stringdescriptionprivate java.lang.Stringnameprivate InstrumentTypetypeprivate java.lang.Stringunitprivate InstrumentValueTypevalueType
-
Constructor Summary
Constructors Constructor Description AutoValue_InstrumentDescriptor(java.lang.String name, java.lang.String description, java.lang.String unit, InstrumentType type, InstrumentValueType valueType, Advice advice)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdvicegetAdvice()Not part of instrument identity.java.lang.StringgetDescription()java.lang.StringgetName()InstrumentTypegetType()java.lang.StringgetUnit()InstrumentValueTypegetValueType()java.lang.StringtoString()-
Methods inherited from class io.opentelemetry.sdk.metrics.internal.descriptor.InstrumentDescriptor
create, equals, getSourceInfo, hashCode
-
-
-
-
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 InstrumentType type
-
valueType
private final InstrumentValueType valueType
-
advice
private final Advice advice
-
-
Constructor Detail
-
AutoValue_InstrumentDescriptor
AutoValue_InstrumentDescriptor(java.lang.String name, java.lang.String description, java.lang.String unit, InstrumentType type, InstrumentValueType valueType, Advice advice)
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein classInstrumentDescriptor
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescriptionin classInstrumentDescriptor
-
getUnit
public java.lang.String getUnit()
- Specified by:
getUnitin classInstrumentDescriptor
-
getType
public InstrumentType getType()
- Specified by:
getTypein classInstrumentDescriptor
-
getValueType
public InstrumentValueType getValueType()
- Specified by:
getValueTypein classInstrumentDescriptor
-
getAdvice
public Advice getAdvice()
Description copied from class:InstrumentDescriptorNot part of instrument identity. Ignored fromInstrumentDescriptor.hashCode()andInstrumentDescriptor.equals(Object).- Specified by:
getAdvicein classInstrumentDescriptor
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-