Interface Span.LinkOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Span.Link, Span.Link.Builder
    Enclosing class:
    Span

    public static interface Span.LinkOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • getTraceId

        com.google.protobuf.ByteString getTraceId()
         A unique identifier of a trace that this linked span is part of. The ID is a 
         16-byte array.
         
        bytes trace_id = 1;
        Returns:
        The traceId.
      • getSpanId

        com.google.protobuf.ByteString getSpanId()
         A unique identifier for the linked span. The ID is an 8-byte array.
         
        bytes span_id = 2;
        Returns:
        The spanId.
      • getTypeValue

        int getTypeValue()
         The relationship of the current span relative to the linked span.
         
        .opencensus.proto.trace.v1.Span.Link.Type type = 3;
        Returns:
        The enum numeric value on the wire for type.
      • getType

        Span.Link.Type getType()
         The relationship of the current span relative to the linked span.
         
        .opencensus.proto.trace.v1.Span.Link.Type type = 3;
        Returns:
        The type.
      • hasAttributes

        boolean hasAttributes()
         A set of attributes on the link.
         
        .opencensus.proto.trace.v1.Span.Attributes attributes = 4;
        Returns:
        Whether the attributes field is set.
      • getAttributes

        Span.Attributes getAttributes()
         A set of attributes on the link.
         
        .opencensus.proto.trace.v1.Span.Attributes attributes = 4;
        Returns:
        The attributes.
      • getAttributesOrBuilder

        Span.AttributesOrBuilder getAttributesOrBuilder()
         A set of attributes on the link.
         
        .opencensus.proto.trace.v1.Span.Attributes attributes = 4;
      • hasTracestate

        boolean hasTracestate()
         The Tracestate associated with the link.
         
        .opencensus.proto.trace.v1.Span.Tracestate tracestate = 5;
        Returns:
        Whether the tracestate field is set.
      • getTracestate

        Span.Tracestate getTracestate()
         The Tracestate associated with the link.
         
        .opencensus.proto.trace.v1.Span.Tracestate tracestate = 5;
        Returns:
        The tracestate.
      • getTracestateOrBuilder

        Span.TracestateOrBuilder getTracestateOrBuilder()
         The Tracestate associated with the link.
         
        .opencensus.proto.trace.v1.Span.Tracestate tracestate = 5;