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 Attributesattributesprivate SpanContextspanContextprivate inttotalAttributeCount
-
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 booleanequals(java.lang.Object o)AttributesgetAttributes()Returns the set of attributes.SpanContextgetSpanContext()Returns theSpanContextof the span thisLinkDatarefers to.intgetTotalAttributeCount()The total number of attributes that were recorded on this Link.inthashCode()java.lang.StringtoString()-
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:LinkDataReturns theSpanContextof the span thisLinkDatarefers to.
-
getAttributes
public Attributes getAttributes()
Description copied from interface:LinkDataReturns the set of attributes.- Returns:
- the set of attributes.
-
getTotalAttributeCount
public int getTotalAttributeCount()
Description copied from interface:LinkDataThe 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:
toStringin classjava.lang.Object
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-