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.StringinstrumentNameprivate InstrumentTypeinstrumentTypeprivate java.lang.StringinstrumentUnitprivate java.lang.StringmeterNameprivate java.lang.StringmeterSchemaUrlprivate java.lang.StringmeterVersion
-
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 booleanequals(java.lang.Object o)java.lang.StringgetInstrumentName()Returns the selected instrument name, or null if this selects all instrument names.InstrumentTypegetInstrumentType()Returns the selectedInstrumentType, or null if this selects all instrument types.java.lang.StringgetInstrumentUnit()Returns the selected instrument unit, or null if this selects all instrument units.java.lang.StringgetMeterName()Returns the selected meter name, or null if this selects instruments from all meter names.java.lang.StringgetMeterSchemaUrl()Returns the selected meter schema url, or null if this selects instruments from all meter schema urls.java.lang.StringgetMeterVersion()Returns the selected meter version, or null if this selects instruments from all meter versions.inthashCode()-
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:InstrumentSelectorReturns the selectedInstrumentType, or null if this selects all instrument types.- Specified by:
getInstrumentTypein classInstrumentSelector
-
getInstrumentName
@Nullable public java.lang.String getInstrumentName()
Description copied from class:InstrumentSelectorReturns 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:
getInstrumentNamein classInstrumentSelector
-
getInstrumentUnit
@Nullable public java.lang.String getInstrumentUnit()
Description copied from class:InstrumentSelectorReturns the selected instrument unit, or null if this selects all instrument units.- Specified by:
getInstrumentUnitin classInstrumentSelector
-
getMeterName
@Nullable public java.lang.String getMeterName()
Description copied from class:InstrumentSelectorReturns the selected meter name, or null if this selects instruments from all meter names.- Specified by:
getMeterNamein classInstrumentSelector
-
getMeterVersion
@Nullable public java.lang.String getMeterVersion()
Description copied from class:InstrumentSelectorReturns the selected meter version, or null if this selects instruments from all meter versions.- Specified by:
getMeterVersionin classInstrumentSelector
-
getMeterSchemaUrl
@Nullable public java.lang.String getMeterSchemaUrl()
Description copied from class:InstrumentSelectorReturns the selected meter schema url, or null if this selects instruments from all meter schema urls.- Specified by:
getMeterSchemaUrlin classInstrumentSelector
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-