类 SpanAttachedEvent.SpanReference

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.skywalking.apm.network.language.agent.v3.SpanAttachedEvent.SpanReference
所有已实现的接口:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, SpanAttachedEvent.SpanReferenceOrBuilder
封闭类:
SpanAttachedEvent

public static final class SpanAttachedEvent.SpanReference extends com.google.protobuf.GeneratedMessageV3 implements SpanAttachedEvent.SpanReferenceOrBuilder
Protobuf type skywalking.v3.SpanAttachedEvent.SpanReference
另请参阅:
  • 字段详细资料

    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      另请参阅:
    • TRACEID_FIELD_NUMBER

      public static final int TRACEID_FIELD_NUMBER
      另请参阅:
    • TRACESEGMENTID_FIELD_NUMBER

      public static final int TRACESEGMENTID_FIELD_NUMBER
      另请参阅:
    • SPANID_FIELD_NUMBER

      public static final int SPANID_FIELD_NUMBER
      另请参阅:
  • 方法详细资料

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      newInstance 在类中 com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      指定者:
      getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
      覆盖:
      getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
    • getTypeValue

      public int getTypeValue()
      .skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;
      指定者:
      getTypeValue 在接口中 SpanAttachedEvent.SpanReferenceOrBuilder
      返回:
      The enum numeric value on the wire for type.
    • getType

      .skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;
      指定者:
      getType 在接口中 SpanAttachedEvent.SpanReferenceOrBuilder
      返回:
      The type.
    • getTraceId

      public String getTraceId()
       [Optional] A string id represents the whole trace.
       
      string traceId = 2;
      指定者:
      getTraceId 在接口中 SpanAttachedEvent.SpanReferenceOrBuilder
      返回:
      The traceId.
    • getTraceIdBytes

      public com.google.protobuf.ByteString getTraceIdBytes()
       [Optional] A string id represents the whole trace.
       
      string traceId = 2;
      指定者:
      getTraceIdBytes 在接口中 SpanAttachedEvent.SpanReferenceOrBuilder
      返回:
      The bytes for traceId.
    • getTraceSegmentId

      public String getTraceSegmentId()
       A unique id represents this segment. Other segments could use this id to reference as a child segment.
       [Optional] when this span reference
       
      string traceSegmentId = 3;
      指定者:
      getTraceSegmentId 在接口中 SpanAttachedEvent.SpanReferenceOrBuilder
      返回:
      The traceSegmentId.
    • getTraceSegmentIdBytes

      public com.google.protobuf.ByteString getTraceSegmentIdBytes()
       A unique id represents this segment. Other segments could use this id to reference as a child segment.
       [Optional] when this span reference
       
      string traceSegmentId = 3;
      指定者:
      getTraceSegmentIdBytes 在接口中 SpanAttachedEvent.SpanReferenceOrBuilder
      返回:
      The bytes for traceSegmentId.
    • getSpanId

      public String getSpanId()
       If type == SKYWALKING
       The number id of the span. Should be unique in the whole segment.
       Starting at 0
       If type == ZIPKIN
       The type of span ID is string.
       
      string spanId = 4;
      指定者:
      getSpanId 在接口中 SpanAttachedEvent.SpanReferenceOrBuilder
      返回:
      The spanId.
    • getSpanIdBytes

      public com.google.protobuf.ByteString getSpanIdBytes()
       If type == SKYWALKING
       The number id of the span. Should be unique in the whole segment.
       Starting at 0
       If type == ZIPKIN
       The type of span ID is string.
       
      string spanId = 4;
      指定者:
      getSpanIdBytes 在接口中 SpanAttachedEvent.SpanReferenceOrBuilder
      返回:
      The bytes for spanId.
    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      指定者:
      writeTo 在接口中 com.google.protobuf.MessageLite
      覆盖:
      writeTo 在类中 com.google.protobuf.GeneratedMessageV3
      抛出:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      指定者:
      getSerializedSize 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      指定者:
      equals 在接口中 com.google.protobuf.Message
      覆盖:
      equals 在类中 com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      指定者:
      hashCode 在接口中 com.google.protobuf.Message
      覆盖:
      hashCode 在类中 com.google.protobuf.AbstractMessage
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static SpanAttachedEvent.SpanReference parseDelimitedFrom(InputStream input) throws IOException
      抛出:
      IOException
    • parseDelimitedFrom

      public static SpanAttachedEvent.SpanReference parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

      public static SpanAttachedEvent.SpanReference parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      抛出:
      IOException
    • newBuilderForType

      public SpanAttachedEvent.SpanReference.Builder newBuilderForType()
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.Message
      指定者:
      newBuilderForType 在接口中 com.google.protobuf.MessageLite
    • newBuilder

      public static SpanAttachedEvent.SpanReference.Builder newBuilder()
    • newBuilder

    • toBuilder

      指定者:
      toBuilder 在接口中 com.google.protobuf.Message
      指定者:
      toBuilder 在接口中 com.google.protobuf.MessageLite
    • newBuilderForType

      protected SpanAttachedEvent.SpanReference.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      指定者:
      newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SpanAttachedEvent.SpanReference getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<SpanAttachedEvent.SpanReference> parser()
    • getParserForType

      public com.google.protobuf.Parser<SpanAttachedEvent.SpanReference> getParserForType()
      指定者:
      getParserForType 在接口中 com.google.protobuf.Message
      指定者:
      getParserForType 在接口中 com.google.protobuf.MessageLite
      覆盖:
      getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public SpanAttachedEvent.SpanReference getDefaultInstanceForType()
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
      指定者:
      getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder