Package io.opentelemetry.sdk.trace.data
Class AutoValue_ImmutableLinkData
- java.lang.Object
-
- io.opentelemetry.sdk.trace.data.ImmutableLinkData
-
- io.opentelemetry.sdk.trace.data.AutoValue_ImmutableLinkData
-
- All Implemented Interfaces:
LinkData
@Generated("com.google.auto.value.processor.AutoValueProcessor") final class AutoValue_ImmutableLinkData extends ImmutableLinkData
-
-
Field Summary
Fields Modifier and Type Field Description private Attributes
attributes
private SpanContext
spanContext
private int
totalAttributeCount
-
Constructor Summary
Constructors Constructor Description AutoValue_ImmutableLinkData(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Attributes
getAttributes()
Returns the set of attributes.SpanContext
getSpanContext()
Returns theSpanContext
of the span thisLinkData
refers to.int
getTotalAttributeCount()
The total number of attributes that were recorded on this Link.int
hashCode()
java.lang.String
toString()
-
Methods inherited from class io.opentelemetry.sdk.trace.data.ImmutableLinkData
create, create, create
-
-
-
-
Field Detail
-
spanContext
private final SpanContext spanContext
-
attributes
private final Attributes attributes
-
totalAttributeCount
private final int totalAttributeCount
-
-
Constructor Detail
-
AutoValue_ImmutableLinkData
AutoValue_ImmutableLinkData(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
-
-
Method Detail
-
getSpanContext
public SpanContext getSpanContext()
Description copied from interface:LinkData
Returns theSpanContext
of the span thisLinkData
refers to.
-
getAttributes
public Attributes getAttributes()
Description copied from interface:LinkData
Returns the set of attributes.- Returns:
- the set of attributes.
-
getTotalAttributeCount
public int getTotalAttributeCount()
Description copied from interface:LinkData
The total number of attributes that were recorded on this Link. 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.getMaxNumberOfAttributesPerLink()
- Returns:
- The number of attributes on this link.
-
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
-
-