Package io.opentelemetry.sdk.trace.data
Class AutoValue_ImmutableEventData
- java.lang.Object
-
- io.opentelemetry.sdk.trace.data.ImmutableEventData
-
- io.opentelemetry.sdk.trace.data.AutoValue_ImmutableEventData
-
- All Implemented Interfaces:
EventData
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_ImmutableEventData extends ImmutableEventData
-
-
Field Summary
Fields Modifier and Type Field Description private Attributes
attributes
private long
epochNanos
private java.lang.String
name
private int
totalAttributeCount
-
Constructor Summary
Constructors Constructor Description AutoValue_ImmutableEventData(java.lang.String name, Attributes attributes, long epochNanos, int totalAttributeCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Attributes
getAttributes()
Return the attributes of theEventData
.long
getEpochNanos()
Returns the epoch time in nanos of this event.java.lang.String
getName()
Return the name of theEventData
.int
getTotalAttributeCount()
The total number of attributes that were recorded on this Event.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.opentelemetry.sdk.trace.data.ImmutableEventData
create, create
-
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
-
name
private final java.lang.String name
-
attributes
private final Attributes attributes
-
epochNanos
private final long epochNanos
-
totalAttributeCount
private final int totalAttributeCount
-
-
Constructor Detail
-
AutoValue_ImmutableEventData
AutoValue_ImmutableEventData(java.lang.String name, Attributes attributes, long epochNanos, int totalAttributeCount)
-
-
Method Detail
-
getName
public java.lang.String getName()
Description copied from interface:EventData
Return the name of theEventData
.- Returns:
- the name of the
EventData
.
-
getAttributes
public Attributes getAttributes()
Description copied from interface:EventData
Return the attributes of theEventData
.- 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 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
-
-