Package io.opentelemetry.sdk.metrics
Class AutoValue_InstrumentSelector
java.lang.Object
io.opentelemetry.sdk.metrics.InstrumentSelector
io.opentelemetry.sdk.metrics.AutoValue_InstrumentSelector
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_InstrumentSelector
(InstrumentType instrumentType, String instrumentName, String instrumentUnit, String meterName, String meterVersion, String meterSchemaUrl) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns the selected instrument name, or null if this selects all instrument names.Returns the selectedInstrumentType
, or null if this selects all instrument types.Returns the selected instrument unit, or null if this selects all instrument units.Returns the selected meter name, or null if this selects instruments from all meter names.Returns the selected meter schema url, or null if this selects instruments from all meter schema urls.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 Details
-
instrumentType
-
instrumentName
-
instrumentUnit
-
meterName
-
meterVersion
-
meterSchemaUrl
-
-
Constructor Details
-
AutoValue_InstrumentSelector
-
-
Method Details
-
getInstrumentType
Description copied from class:InstrumentSelector
Returns the selectedInstrumentType
, or null if this selects all instrument types.- Specified by:
getInstrumentType
in classInstrumentSelector
-
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
Description copied from class:InstrumentSelector
Returns the selected instrument unit, or null if this selects all instrument units.- Specified by:
getInstrumentUnit
in classInstrumentSelector
-
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
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
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
-
hashCode
public int hashCode()
-