Class AutoValue_ImmutableSpanContext

  • All Implemented Interfaces:
    SpanContext

    @Generated("com.google.auto.value.processor.AutoValueProcessor")
    final class AutoValue_ImmutableSpanContext
    extends ImmutableSpanContext
    • Field Detail

      • traceId

        private final java.lang.String traceId
      • spanId

        private final java.lang.String spanId
      • remote

        private final boolean remote
      • valid

        private final boolean valid
    • Constructor Detail

      • AutoValue_ImmutableSpanContext

        AutoValue_ImmutableSpanContext​(java.lang.String traceId,
                                       java.lang.String spanId,
                                       TraceFlags traceFlags,
                                       TraceState traceState,
                                       boolean remote,
                                       boolean valid)
    • Method Detail

      • getTraceId

        public java.lang.String getTraceId()
        Description copied from interface: SpanContext
        Returns the trace identifier associated with this SpanContext as 32 character lowercase hex String.
        Returns:
        the trace identifier associated with this SpanContext as lowercase hex.
      • getSpanId

        public java.lang.String getSpanId()
        Description copied from interface: SpanContext
        Returns the span identifier associated with this SpanContext as 16 character lowercase hex String.
        Returns:
        the span identifier associated with this SpanContext as 16 character lowercase hex (base16) String.
      • getTraceFlags

        public TraceFlags getTraceFlags()
        Description copied from interface: SpanContext
        Returns the trace flags associated with this SpanContext.
        Returns:
        the trace flags associated with this SpanContext.
      • getTraceState

        public TraceState getTraceState()
        Description copied from interface: SpanContext
        Returns the TraceState associated with this SpanContext.
        Returns:
        the TraceState associated with this SpanContext.
      • isRemote

        public boolean isRemote()
        Description copied from interface: SpanContext
        Returns true if the SpanContext was propagated from a remote parent.
        Returns:
        true if the SpanContext was propagated from a remote parent.
      • 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