Class AutoValue_ImmutableLongExemplarData
- java.lang.Object
-
- io.opentelemetry.sdk.metrics.internal.data.ImmutableLongExemplarData
-
- io.opentelemetry.sdk.metrics.internal.data.AutoValue_ImmutableLongExemplarData
-
- All Implemented Interfaces:
ExemplarData
,LongExemplarData
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_ImmutableLongExemplarData extends ImmutableLongExemplarData
-
-
Field Summary
Fields Modifier and Type Field Description private long
epochNanos
private Attributes
filteredAttributes
private SpanContext
spanContext
private long
value
-
Constructor Summary
Constructors Constructor Description AutoValue_ImmutableLongExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, long value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
long
getEpochNanos()
Returns the timestamp in nanos when measurement was collected.Attributes
getFilteredAttributes()
Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator.SpanContext
getSpanContext()
Returns theSpanContext
associated with this exemplar.long
getValue()
Numerical value of the measurement that was recorded.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.opentelemetry.sdk.metrics.internal.data.ImmutableLongExemplarData
create
-
-
-
-
Field Detail
-
filteredAttributes
private final Attributes filteredAttributes
-
epochNanos
private final long epochNanos
-
spanContext
private final SpanContext spanContext
-
value
private final long value
-
-
Constructor Detail
-
AutoValue_ImmutableLongExemplarData
AutoValue_ImmutableLongExemplarData(Attributes filteredAttributes, long epochNanos, SpanContext spanContext, long value)
-
-
Method Detail
-
getFilteredAttributes
public Attributes getFilteredAttributes()
Description copied from interface:ExemplarData
Returns the attributes that were recorded alongside the original measurement but filtered out by the aggregator.
-
getEpochNanos
public long getEpochNanos()
Description copied from interface:ExemplarData
Returns the timestamp in nanos when measurement was collected.
-
getSpanContext
public SpanContext getSpanContext()
Description copied from interface:ExemplarData
Returns theSpanContext
associated with this exemplar. If the exemplar was not recorded inside a sampled trace, theSpanContext
will be invalid.
-
getValue
public long getValue()
Description copied from interface:LongExemplarData
Numerical value of the measurement that was recorded.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-