接口 TraceContextOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
TraceContext, TraceContext.Builder

public interface TraceContextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    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.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • getTraceId

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

      com.google.protobuf.ByteString getTraceIdBytes()
       [Optional] A string id represents the whole trace.
       
      string traceId = 1;
      返回:
      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;
      返回:
      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;
      返回:
      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;
      返回:
      The spanId.