Class AutoValue_SpanData


  • @Generated("com.google.auto.value.processor.AutoValueProcessor")
    final class AutoValue_SpanData
    extends SpanData
    • Method Detail

      • getContext

        public SpanContext getContext()
        Description copied from class: SpanData
        Returns the SpanContext associated with this Span.
        Specified by:
        getContext in class SpanData
        Returns:
        the SpanContext associated with this Span.
      • getParentSpanId

        @Nullable
        public SpanId getParentSpanId()
        Description copied from class: SpanData
        Returns the parent SpanId or null if the Span is a root Span.
        Specified by:
        getParentSpanId in class SpanData
        Returns:
        the parent SpanId or null if the Span is a root Span.
      • getHasRemoteParent

        @Nullable
        public java.lang.Boolean getHasRemoteParent()
        Description copied from class: SpanData
        Returns true if the parent is on a different process. null if this is a root span.
        Specified by:
        getHasRemoteParent in class SpanData
        Returns:
        true if the parent is on a different process. null if this is a root span.
      • getName

        public java.lang.String getName()
        Description copied from class: SpanData
        Returns the name of this Span.
        Specified by:
        getName in class SpanData
        Returns:
        the name of this Span.
      • getKind

        @Nullable
        public Span.Kind getKind()
        Description copied from class: SpanData
        Returns the kind of this Span.
        Specified by:
        getKind in class SpanData
        Returns:
        the kind of this Span.
      • getStartTimestamp

        public Timestamp getStartTimestamp()
        Description copied from class: SpanData
        Returns the start Timestamp of this Span.
        Specified by:
        getStartTimestamp in class SpanData
        Returns:
        the start Timestamp of this Span.
      • getAttributes

        public SpanData.Attributes getAttributes()
        Description copied from class: SpanData
        Returns the attributes recorded for this Span.
        Specified by:
        getAttributes in class SpanData
        Returns:
        the attributes recorded for this Span.
      • getLinks

        public SpanData.Links getLinks()
        Description copied from class: SpanData
        Returns links recorded for this Span.
        Specified by:
        getLinks in class SpanData
        Returns:
        links recorded for this Span.
      • getChildSpanCount

        @Nullable
        public java.lang.Integer getChildSpanCount()
        Description copied from class: SpanData
        Returns the number of child spans that were generated while the Span was running. If not null allows service implementations to detect missing child spans.

        This information is not always available.

        Specified by:
        getChildSpanCount in class SpanData
        Returns:
        the number of child spans that were generated while the Span was running.
      • getStatus

        @Nullable
        public Status getStatus()
        Description copied from class: SpanData
        Returns the Status or null if Span is still active.
        Specified by:
        getStatus in class SpanData
        Returns:
        the Status or null if Span is still active.
      • getEndTimestamp

        @Nullable
        public Timestamp getEndTimestamp()
        Description copied from class: SpanData
        Returns the end Timestamp or null if the Span is still active.
        Specified by:
        getEndTimestamp in class SpanData
        Returns:
        the end Timestamp or null if the Span is still active.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object