Class AutoValue_ImmutableLinkData
java.lang.Object
io.opentelemetry.sdk.trace.data.ImmutableLinkData
io.opentelemetry.sdk.trace.data.AutoValue_ImmutableLinkData
- All Implemented Interfaces:
LinkData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Attributesprivate final SpanContextprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionAutoValue_ImmutableLinkData(SpanContext spanContext, Attributes attributes, int totalAttributeCount) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the set of attributes.Returns theSpanContextof the span thisLinkDatarefers to.intThe total number of attributes that were recorded on this Link.inthashCode()toString()Methods inherited from class ImmutableLinkData
create, create, create
-
Field Details
-
spanContext
-
attributes
-
totalAttributeCount
private final int totalAttributeCount
-
-
Constructor Details
-
AutoValue_ImmutableLinkData
AutoValue_ImmutableLinkData(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
-
-
Method Details
-
getSpanContext
Description copied from interface:LinkDataReturns theSpanContextof the span thisLinkDatarefers to. -
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
-
equals
-
hashCode
-