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 Advice
advice
private java.lang.String
description
private java.lang.String
name
private InstrumentType
type
private java.lang.String
unit
private InstrumentValueType
valueType
-
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 Advice
getAdvice()
Not part of instrument identity.java.lang.String
getDescription()
java.lang.String
getName()
InstrumentType
getType()
java.lang.String
getUnit()
InstrumentValueType
getValueType()
java.lang.String
toString()
-
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:
getName
in classInstrumentDescriptor
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in classInstrumentDescriptor
-
getUnit
public java.lang.String getUnit()
- Specified by:
getUnit
in classInstrumentDescriptor
-
getType
public InstrumentType getType()
- Specified by:
getType
in classInstrumentDescriptor
-
getValueType
public InstrumentValueType getValueType()
- Specified by:
getValueType
in classInstrumentDescriptor
-
getAdvice
public Advice getAdvice()
Description copied from class:InstrumentDescriptor
Not part of instrument identity. Ignored fromInstrumentDescriptor.hashCode()
andInstrumentDescriptor.equals(Object)
.- Specified by:
getAdvice
in classInstrumentDescriptor
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-