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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Attributes
private final long
private final String
private final int
-
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableEventData
(String name, Attributes attributes, long epochNanos, int totalAttributeCount) -
Method Summary
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 Details
-
name
-
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
Description copied from interface:EventData
Return the name of theEventData
.- Returns:
- the name of the
EventData
.
-
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
-
equals
-
hashCode
public int hashCode()
-