Package io.opentelemetry.sdk.trace.data
Class AutoValue_ImmutableExceptionEventData
- java.lang.Object
-
- io.opentelemetry.sdk.trace.data.ImmutableExceptionEventData
-
- io.opentelemetry.sdk.trace.data.AutoValue_ImmutableExceptionEventData
-
- All Implemented Interfaces:
EventData,ExceptionEventData
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_ImmutableExceptionEventData extends ImmutableExceptionEventData
-
-
Field Summary
Fields Modifier and Type Field Description private Attributesattributesprivate longepochNanosprivate java.lang.Throwableexceptionprivate inttotalAttributeCount
-
Constructor Summary
Constructors Constructor Description AutoValue_ImmutableExceptionEventData(Attributes attributes, long epochNanos, int totalAttributeCount, java.lang.Throwable exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)AttributesgetAttributes()Return the attributes of theEventData.longgetEpochNanos()Returns the epoch time in nanos of this event.java.lang.ThrowablegetException()Return theexceptionof theExceptionEventData.intgetTotalAttributeCount()The total number of attributes that were recorded on this Event.inthashCode()java.lang.StringtoString()-
Methods inherited from class io.opentelemetry.sdk.trace.data.ImmutableExceptionEventData
create, getName
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.opentelemetry.sdk.trace.data.EventData
getDroppedAttributesCount
-
-
-
-
Field Detail
-
attributes
private final Attributes attributes
-
epochNanos
private final long epochNanos
-
totalAttributeCount
private final int totalAttributeCount
-
exception
private final java.lang.Throwable exception
-
-
Constructor Detail
-
AutoValue_ImmutableExceptionEventData
AutoValue_ImmutableExceptionEventData(Attributes attributes, long epochNanos, int totalAttributeCount, java.lang.Throwable exception)
-
-
Method Detail
-
getAttributes
public Attributes getAttributes()
Description copied from interface:EventDataReturn the attributes of theEventData.- Returns:
- the attributes of the
EventData.
-
getEpochNanos
public long getEpochNanos()
Description copied from interface:EventDataReturns the epoch time in nanos of this event.- Returns:
- the epoch time in nanos of this event.
-
getTotalAttributeCount
public int getTotalAttributeCount()
Description copied from interface:EventDataThe total number of attributes that were recorded on this Event. This number may be larger than the number of attributes that are attached to this span, if the total number recorded was greater than the configured maximum value. See:SpanLimits.getMaxNumberOfAttributesPerEvent()- Returns:
- The total number of attributes on this event.
-
getException
public java.lang.Throwable getException()
Description copied from interface:ExceptionEventDataReturn theexceptionof theExceptionEventData.- Returns:
- the
exceptionof theExceptionEventData
-
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
-
-