类 SpanAttachedEvent

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

public final class SpanAttachedEvent extends com.google.protobuf.GeneratedMessageV3 implements SpanAttachedEventOrBuilder
 SpanAttachedEvent represents an attached event for a traced RPC.
 When an RPC is being traced by the in-process language agent, a span would be reported by the client-side agent.
 And the rover would be aware of this RPC due to the existing tracing header.
 Then, the rover agent collects extra information from the OS level to provide assistance information to diagnose network performance.
 
Protobuf type skywalking.v3.SpanAttachedEvent
另请参阅:
  • 字段详细资料

    • STARTTIME_FIELD_NUMBER

      public static final int STARTTIME_FIELD_NUMBER
      另请参阅:
    • EVENT_FIELD_NUMBER

      public static final int EVENT_FIELD_NUMBER
      另请参阅:
    • ENDTIME_FIELD_NUMBER

      public static final int ENDTIME_FIELD_NUMBER
      另请参阅:
    • TAGS_FIELD_NUMBER

      public static final int TAGS_FIELD_NUMBER
      另请参阅:
    • SUMMARY_FIELD_NUMBER

      public static final int SUMMARY_FIELD_NUMBER
      另请参阅:
    • TRACECONTEXT_FIELD_NUMBER

      public static final int TRACECONTEXT_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
    • hasStartTime

      public boolean hasStartTime()
       The nanosecond timestamp of the event's start time.
       Notice, most unit of timestamp in SkyWalking is milliseconds, but NANO-SECOND is required here.
       Because the attached event happens in the OS syscall level, most of them are executed rapidly.
       
      .skywalking.v3.Instant startTime = 1;
      指定者:
      hasStartTime 在接口中 SpanAttachedEventOrBuilder
      返回:
      Whether the startTime field is set.
    • getStartTime

      public Instant getStartTime()
       The nanosecond timestamp of the event's start time.
       Notice, most unit of timestamp in SkyWalking is milliseconds, but NANO-SECOND is required here.
       Because the attached event happens in the OS syscall level, most of them are executed rapidly.
       
      .skywalking.v3.Instant startTime = 1;
      指定者:
      getStartTime 在接口中 SpanAttachedEventOrBuilder
      返回:
      The startTime.
    • getStartTimeOrBuilder

      public InstantOrBuilder getStartTimeOrBuilder()
       The nanosecond timestamp of the event's start time.
       Notice, most unit of timestamp in SkyWalking is milliseconds, but NANO-SECOND is required here.
       Because the attached event happens in the OS syscall level, most of them are executed rapidly.
       
      .skywalking.v3.Instant startTime = 1;
      指定者:
      getStartTimeOrBuilder 在接口中 SpanAttachedEventOrBuilder
    • getEvent

      public String getEvent()
       The official event name.
       For example, the event name is a method signature from syscall stack.
       
      string event = 2;
      指定者:
      getEvent 在接口中 SpanAttachedEventOrBuilder
      返回:
      The event.
    • getEventBytes

      public com.google.protobuf.ByteString getEventBytes()
       The official event name.
       For example, the event name is a method signature from syscall stack.
       
      string event = 2;
      指定者:
      getEventBytes 在接口中 SpanAttachedEventOrBuilder
      返回:
      The bytes for event.
    • hasEndTime

      public boolean hasEndTime()
       [Optional] The nanosecond timestamp of the event's end time.
       
      .skywalking.v3.Instant endTime = 3;
      指定者:
      hasEndTime 在接口中 SpanAttachedEventOrBuilder
      返回:
      Whether the endTime field is set.
    • getEndTime

      public Instant getEndTime()
       [Optional] The nanosecond timestamp of the event's end time.
       
      .skywalking.v3.Instant endTime = 3;
      指定者:
      getEndTime 在接口中 SpanAttachedEventOrBuilder
      返回:
      The endTime.
    • getEndTimeOrBuilder

      public InstantOrBuilder getEndTimeOrBuilder()
       [Optional] The nanosecond timestamp of the event's end time.
       
      .skywalking.v3.Instant endTime = 3;
      指定者:
      getEndTimeOrBuilder 在接口中 SpanAttachedEventOrBuilder
    • getTagsList

      public List<KeyStringValuePair> getTagsList()
       The tags for this event includes some extra OS level information,
       such as
       1. net_device used for this exit span.
       2. network L7 protocol
       
      repeated .skywalking.v3.KeyStringValuePair tags = 4;
      指定者:
      getTagsList 在接口中 SpanAttachedEventOrBuilder
    • getTagsOrBuilderList

      public List<? extends KeyStringValuePairOrBuilder> getTagsOrBuilderList()
       The tags for this event includes some extra OS level information,
       such as
       1. net_device used for this exit span.
       2. network L7 protocol
       
      repeated .skywalking.v3.KeyStringValuePair tags = 4;
      指定者:
      getTagsOrBuilderList 在接口中 SpanAttachedEventOrBuilder
    • getTagsCount

      public int getTagsCount()
       The tags for this event includes some extra OS level information,
       such as
       1. net_device used for this exit span.
       2. network L7 protocol
       
      repeated .skywalking.v3.KeyStringValuePair tags = 4;
      指定者:
      getTagsCount 在接口中 SpanAttachedEventOrBuilder
    • getTags

      public KeyStringValuePair getTags(int index)
       The tags for this event includes some extra OS level information,
       such as
       1. net_device used for this exit span.
       2. network L7 protocol
       
      repeated .skywalking.v3.KeyStringValuePair tags = 4;
      指定者:
      getTags 在接口中 SpanAttachedEventOrBuilder
    • getTagsOrBuilder

      public KeyStringValuePairOrBuilder getTagsOrBuilder(int index)
       The tags for this event includes some extra OS level information,
       such as
       1. net_device used for this exit span.
       2. network L7 protocol
       
      repeated .skywalking.v3.KeyStringValuePair tags = 4;
      指定者:
      getTagsOrBuilder 在接口中 SpanAttachedEventOrBuilder
    • getSummaryList

      public List<KeyIntValuePair> getSummaryList()
       The summary of statistics during this event.
       Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
       
      repeated .skywalking.v3.KeyIntValuePair summary = 5;
      指定者:
      getSummaryList 在接口中 SpanAttachedEventOrBuilder
    • getSummaryOrBuilderList

      public List<? extends KeyIntValuePairOrBuilder> getSummaryOrBuilderList()
       The summary of statistics during this event.
       Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
       
      repeated .skywalking.v3.KeyIntValuePair summary = 5;
      指定者:
      getSummaryOrBuilderList 在接口中 SpanAttachedEventOrBuilder
    • getSummaryCount

      public int getSummaryCount()
       The summary of statistics during this event.
       Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
       
      repeated .skywalking.v3.KeyIntValuePair summary = 5;
      指定者:
      getSummaryCount 在接口中 SpanAttachedEventOrBuilder
    • getSummary

      public KeyIntValuePair getSummary(int index)
       The summary of statistics during this event.
       Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
       
      repeated .skywalking.v3.KeyIntValuePair summary = 5;
      指定者:
      getSummary 在接口中 SpanAttachedEventOrBuilder
    • getSummaryOrBuilder

      public KeyIntValuePairOrBuilder getSummaryOrBuilder(int index)
       The summary of statistics during this event.
       Each statistic provides a name(metric name) to represent the name, and an int64/long as the value.
       
      repeated .skywalking.v3.KeyIntValuePair summary = 5;
      指定者:
      getSummaryOrBuilder 在接口中 SpanAttachedEventOrBuilder
    • hasTraceContext

      public boolean hasTraceContext()
       Refer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata
       https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-item
       
      .skywalking.v3.SpanAttachedEvent.SpanReference traceContext = 6;
      指定者:
      hasTraceContext 在接口中 SpanAttachedEventOrBuilder
      返回:
      Whether the traceContext field is set.
    • getTraceContext

      public SpanAttachedEvent.SpanReference getTraceContext()
       Refer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata
       https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-item
       
      .skywalking.v3.SpanAttachedEvent.SpanReference traceContext = 6;
      指定者:
      getTraceContext 在接口中 SpanAttachedEventOrBuilder
      返回:
      The traceContext.
    • getTraceContextOrBuilder

      public SpanAttachedEvent.SpanReferenceOrBuilder getTraceContextOrBuilder()
       Refer to a trace context decoded from `sw8` header through network, such as HTTP header, MQ metadata
       https://skywalking.apache.org/docs/main/next/en/protocols/skywalking-cross-process-propagation-headers-protocol-v3/#standard-header-item
       
      .skywalking.v3.SpanAttachedEvent.SpanReference traceContext = 6;
      指定者:
      getTraceContextOrBuilder 在接口中 SpanAttachedEventOrBuilder
    • 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 parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static SpanAttachedEvent.Builder newBuilder()
    • newBuilder

      public static SpanAttachedEvent.Builder newBuilder(SpanAttachedEvent prototype)
    • toBuilder

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

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

      public static SpanAttachedEvent getDefaultInstance()
    • parser

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

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

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