Class AutoValue_ImmutableDoubleExemplarData
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.data.ImmutableDoubleExemplarData
-
- io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableDoubleExemplarData
-
- All Implemented Interfaces:
DoubleExemplarData,ExemplarData
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_ImmutableDoubleExemplarData extends ImmutableDoubleExemplarData
-
-
Field Summary
Fields Modifier and Type Field Description private longepochNanosprivate AttributesfilteredAttributesprivate SpanContextspanContextprivate doublevalue
-
Constructor Summary
Constructors Constructor Description AutoValue_ImmutableDoubleExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, double value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetEpochNanos()Returns the timestamp in nanos when measurement was collected.AttributesgetFilteredAttributes()Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator.SpanContextgetSpanContext()Returns theSpanContextassociated with this exemplar.doublegetValue()Numerical value of the measurement that was recorded.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableDoubleExemplarData
create
-
-
-
-
Field Detail
-
filteredAttributes
private final Attributes filteredAttributes
-
epochNanos
private final long epochNanos
-
spanContext
private final SpanContext spanContext
-
value
private final double value
-
-
Constructor Detail
-
AutoValue_ImmutableDoubleExemplarData
AutoValue_ImmutableDoubleExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, double value)
-
-
Method Detail
-
getFilteredAttributes
public Attributes getFilteredAttributes()
Description copied from interface:ExemplarDataReturns the attributes that were recorded alongside the original measurement but filtered out by the aggregator.
-
getEpochNanos
public long getEpochNanos()
Description copied from interface:ExemplarDataReturns the timestamp in nanos when measurement was collected.
-
getSpanContext
public SpanContext getSpanContext()
Description copied from interface:ExemplarDataReturns theSpanContextassociated with this exemplar. If the exemplar was not recorded inside a sampled trace, theSpanContextwill be invalid.
-
getValue
public double getValue()
Description copied from interface:DoubleExemplarDataNumerical value of the measurement that was recorded.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-