Class AutoValue_ImmutableEventData

java.lang.Object
io.opentelemetry.sdk.trace.data.ImmutableEventData
io.opentelemetry.sdk.trace.data.AutoValue_ImmutableEventData
All Implemented Interfaces:
EventData

final class AutoValue_ImmutableEventData extends ImmutableEventData
  • Field Details

    • name

      private final String name
    • attributes

      private final Attributes attributes
    • epochNanos

      private final long epochNanos
    • totalAttributeCount

      private final int totalAttributeCount
  • Constructor Details

    • AutoValue_ImmutableEventData

      AutoValue_ImmutableEventData(String name, Attributes attributes, long epochNanos, int totalAttributeCount)
  • Method Details

    • getName

      public String getName()
      Description copied from interface: EventData
      Return the name of the EventData.
      Returns:
      the name of the EventData.
    • 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.
    • 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