Class AutoValue_ImmutableLinkData

java.lang.Object
io.opentelemetry.sdk.trace.data.ImmutableLinkData
io.opentelemetry.sdk.trace.data.AutoValue_ImmutableLinkData
All Implemented Interfaces:
LinkData

final class AutoValue_ImmutableLinkData extends ImmutableLinkData
  • Field Details

    • spanContext

      private final SpanContext spanContext
    • attributes

      private final Attributes attributes
    • totalAttributeCount

      private final int totalAttributeCount
  • Constructor Details

    • AutoValue_ImmutableLinkData

      AutoValue_ImmutableLinkData(SpanContext spanContext, Attributes attributes, int totalAttributeCount)
  • Method Details

    • getSpanContext

      public SpanContext getSpanContext()
      Description copied from interface: LinkData
      Returns the SpanContext of the span this LinkData 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 String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object