Package io.opentelemetry.sdk.metrics
Class AutoValue_InstrumentSelector
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.InstrumentSelector
-
- io.opentelemetry.sdk.metrics.AutoValue_InstrumentSelector
-
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_InstrumentSelector extends InstrumentSelector
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
instrumentName
private InstrumentType
instrumentType
private java.lang.String
instrumentUnit
private java.lang.String
meterName
private java.lang.String
meterSchemaUrl
private java.lang.String
meterVersion
-
Constructor Summary
Constructors Constructor Description AutoValue_InstrumentSelector(InstrumentType instrumentType, java.lang.String instrumentName, java.lang.String instrumentUnit, java.lang.String meterName, java.lang.String meterVersion, java.lang.String meterSchemaUrl)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getInstrumentName()
Returns the selected instrument name, or null if this selects all instrument names.InstrumentType
getInstrumentType()
Returns the selectedInstrumentType
, or null if this selects all instrument types.java.lang.String
getInstrumentUnit()
Returns the selected instrument unit, or null if this selects all instrument units.java.lang.String
getMeterName()
Returns the selected meter name, or null if this selects instruments from all meter names.java.lang.String
getMeterSchemaUrl()
Returns the selected meter schema url, or null if this selects instruments from all meter schema urls.java.lang.String
getMeterVersion()
Returns the selected meter version, or null if this selects instruments from all meter versions.int
hashCode()
-
Methods inherited from class io.opentelemetry.sdk.metrics.InstrumentSelector
builder, create, toString
-
-
-
-
Field Detail
-
instrumentType
private final InstrumentType instrumentType
-
instrumentName
private final java.lang.String instrumentName
-
instrumentUnit
private final java.lang.String instrumentUnit
-
meterName
private final java.lang.String meterName
-
meterVersion
private final java.lang.String meterVersion
-
meterSchemaUrl
private final java.lang.String meterSchemaUrl
-
-
Constructor Detail
-
AutoValue_InstrumentSelector
AutoValue_InstrumentSelector(@Nullable InstrumentType instrumentType, @Nullable java.lang.String instrumentName, @Nullable java.lang.String instrumentUnit, @Nullable java.lang.String meterName, @Nullable java.lang.String meterVersion, @Nullable java.lang.String meterSchemaUrl)
-
-
Method Detail
-
getInstrumentType
@Nullable public InstrumentType getInstrumentType()
Description copied from class:InstrumentSelector
Returns the selectedInstrumentType
, or null if this selects all instrument types.- Specified by:
getInstrumentType
in classInstrumentSelector
-
getInstrumentName
@Nullable public java.lang.String getInstrumentName()
Description copied from class:InstrumentSelector
Returns the selected instrument name, or null if this selects all instrument names.Instrument name may contain the wildcard characters
*
and?
with the following matching criteria:*
matches 0 or more instances of any character?
matches exactly one instance of any character
- Specified by:
getInstrumentName
in classInstrumentSelector
-
getInstrumentUnit
@Nullable public java.lang.String getInstrumentUnit()
Description copied from class:InstrumentSelector
Returns the selected instrument unit, or null if this selects all instrument units.- Specified by:
getInstrumentUnit
in classInstrumentSelector
-
getMeterName
@Nullable public java.lang.String getMeterName()
Description copied from class:InstrumentSelector
Returns the selected meter name, or null if this selects instruments from all meter names.- Specified by:
getMeterName
in classInstrumentSelector
-
getMeterVersion
@Nullable public java.lang.String getMeterVersion()
Description copied from class:InstrumentSelector
Returns the selected meter version, or null if this selects instruments from all meter versions.- Specified by:
getMeterVersion
in classInstrumentSelector
-
getMeterSchemaUrl
@Nullable public java.lang.String getMeterSchemaUrl()
Description copied from class:InstrumentSelector
Returns the selected meter schema url, or null if this selects instruments from all meter schema urls.- Specified by:
getMeterSchemaUrl
in classInstrumentSelector
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-