类 SpanAttachedEvent.SpanReference.Builder

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

public static final class SpanAttachedEvent.SpanReference.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder> implements SpanAttachedEvent.SpanReferenceOrBuilder
Protobuf type skywalking.v3.SpanAttachedEvent.SpanReference
  • 方法详细资料

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      指定者:
      internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • clear

      指定者:
      clear 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clear 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clear 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      指定者:
      getDescriptorForType 在接口中 com.google.protobuf.Message.Builder
      指定者:
      getDescriptorForType 在接口中 com.google.protobuf.MessageOrBuilder
      覆盖:
      getDescriptorForType 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • getDefaultInstanceForType

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

      指定者:
      build 在接口中 com.google.protobuf.Message.Builder
      指定者:
      build 在接口中 com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      指定者:
      clone 在接口中 com.google.protobuf.Message.Builder
      指定者:
      clone 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      clone 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • setField

      public SpanAttachedEvent.SpanReference.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      setField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • clearField

      public SpanAttachedEvent.SpanReference.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      指定者:
      clearField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • clearOneof

      public SpanAttachedEvent.SpanReference.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      指定者:
      clearOneof 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      clearOneof 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • setRepeatedField

      public SpanAttachedEvent.SpanReference.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      指定者:
      setRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • addRepeatedField

      public SpanAttachedEvent.SpanReference.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      指定者:
      addRepeatedField 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      addRepeatedField 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • mergeFrom

      public SpanAttachedEvent.SpanReference.Builder mergeFrom(com.google.protobuf.Message other)
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<SpanAttachedEvent.SpanReference.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      指定者:
      isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
      覆盖:
      isInitialized 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • mergeFrom

      public SpanAttachedEvent.SpanReference.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      指定者:
      mergeFrom 在接口中 com.google.protobuf.Message.Builder
      指定者:
      mergeFrom 在接口中 com.google.protobuf.MessageLite.Builder
      覆盖:
      mergeFrom 在类中 com.google.protobuf.AbstractMessage.Builder<SpanAttachedEvent.SpanReference.Builder>
      抛出:
      IOException
    • getTypeValue

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

      public SpanAttachedEvent.SpanReference.Builder setTypeValue(int value)
      .skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;
      参数:
      value - The enum numeric value on the wire for type to set.
      返回:
      This builder for chaining.
    • getType

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

      .skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;
      参数:
      value - The type to set.
      返回:
      This builder for chaining.
    • clearType

      .skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;
      返回:
      This builder for chaining.
    • 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.
    • setTraceId

       [Optional] A string id represents the whole trace.
       
      string traceId = 2;
      参数:
      value - The traceId to set.
      返回:
      This builder for chaining.
    • clearTraceId

       [Optional] A string id represents the whole trace.
       
      string traceId = 2;
      返回:
      This builder for chaining.
    • setTraceIdBytes

      public SpanAttachedEvent.SpanReference.Builder setTraceIdBytes(com.google.protobuf.ByteString value)
       [Optional] A string id represents the whole trace.
       
      string traceId = 2;
      参数:
      value - The bytes for traceId to set.
      返回:
      This builder for chaining.
    • 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.
    • setTraceSegmentId

      public SpanAttachedEvent.SpanReference.Builder setTraceSegmentId(String value)
       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;
      参数:
      value - The traceSegmentId to set.
      返回:
      This builder for chaining.
    • clearTraceSegmentId

      public SpanAttachedEvent.SpanReference.Builder clearTraceSegmentId()
       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;
      返回:
      This builder for chaining.
    • setTraceSegmentIdBytes

      public SpanAttachedEvent.SpanReference.Builder setTraceSegmentIdBytes(com.google.protobuf.ByteString value)
       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;
      参数:
      value - The bytes for traceSegmentId to set.
      返回:
      This builder for chaining.
    • 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.
    • setSpanId

       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;
      参数:
      value - The spanId to set.
      返回:
      This builder for chaining.
    • clearSpanId

       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;
      返回:
      This builder for chaining.
    • setSpanIdBytes

      public SpanAttachedEvent.SpanReference.Builder setSpanIdBytes(com.google.protobuf.ByteString value)
       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;
      参数:
      value - The bytes for spanId to set.
      返回:
      This builder for chaining.
    • setUnknownFields

      public final SpanAttachedEvent.SpanReference.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      setUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      setUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>
    • mergeUnknownFields

      public final SpanAttachedEvent.SpanReference.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      指定者:
      mergeUnknownFields 在接口中 com.google.protobuf.Message.Builder
      覆盖:
      mergeUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3.Builder<SpanAttachedEvent.SpanReference.Builder>