Interface TraceContextOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TraceContext, TraceContext.Builder

public interface TraceContextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    [Optional] The number id of the span.
    [Optional] A string id represents the whole trace.
    com.google.protobuf.ByteString
    [Optional] A string id represents the whole trace.
    [Optional] A unique id represents this segment.
    com.google.protobuf.ByteString
    [Optional] A unique id represents this segment.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTraceId

      String getTraceId()
       [Optional] A string id represents the whole trace.
       
      string traceId = 1;
      Returns:
      The traceId.
    • getTraceIdBytes

      com.google.protobuf.ByteString getTraceIdBytes()
       [Optional] A string id represents the whole trace.
       
      string traceId = 1;
      Returns:
      The bytes for traceId.
    • getTraceSegmentId

      String getTraceSegmentId()
       [Optional] A unique id represents this segment. Other segments could use this id to reference as a child segment.
       
      string traceSegmentId = 2;
      Returns:
      The traceSegmentId.
    • getTraceSegmentIdBytes

      com.google.protobuf.ByteString getTraceSegmentIdBytes()
       [Optional] A unique id represents this segment. Other segments could use this id to reference as a child segment.
       
      string traceSegmentId = 2;
      Returns:
      The bytes for traceSegmentId.
    • getSpanId

      int getSpanId()
       [Optional] The number id of the span. Should be unique in the whole segment.
       Starting at 0.
       
      int32 spanId = 3;
      Returns:
      The spanId.