Class AutoValue_ImmutableExceptionEventData

java.lang.Object
io.opentelemetry.sdk.trace.data.ImmutableExceptionEventData
io.opentelemetry.sdk.trace.data.AutoValue_ImmutableExceptionEventData
All Implemented Interfaces:
EventData, ExceptionEventData

final class AutoValue_ImmutableExceptionEventData extends ImmutableExceptionEventData
  • Field Details

    • attributes

      private final Attributes attributes
    • epochNanos

      private final long epochNanos
    • totalAttributeCount

      private final int totalAttributeCount
    • exception

      private final Throwable exception
  • Constructor Details

    • AutoValue_ImmutableExceptionEventData

      AutoValue_ImmutableExceptionEventData(Attributes attributes, long epochNanos, int totalAttributeCount, Throwable exception)
  • Method Details

    • getAttributes

      public Attributes getAttributes()
      Description copied from interface: EventData
      Return the attributes of the EventData.
      Returns:
      the attributes of the EventData.
    • getEpochNanos

      public long getEpochNanos()
      Description copied from interface: EventData
      Returns 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: EventData
      The 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 Throwable getException()
      Description copied from interface: ExceptionEventData
      Return the exception of the ExceptionEventData.
      Returns:
      the exception of the ExceptionEventData
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object