java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.apache.skywalking.apm.network.language.agent.v3.SpanObject
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, SpanObjectOrBuilder

public final class SpanObject extends com.google.protobuf.GeneratedMessageV3 implements SpanObjectOrBuilder
 Span represents a execution unit in the system, with duration and many other attributes.
 Span could be a method, a RPC, MQ message produce or consume.
 In the practice, the span should be added when it is really necessary, to avoid payload overhead.
 We recommend to creating spans in across process(client/server of RPC/MQ) and across thread cases only.
 
Protobuf type skywalking.v3.SpanObject
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Span represents a execution unit in the system, with duration and many other attributes.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
    Component id is a predefinited number id in the SkyWalking.
    static SpanObject
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    long
    End timestamp in milliseconds of this span, measured between the current time and midnight, January 1, 1970 UTC.
    boolean
    The status of the span.
    getLogs(int index)
    String key, String value pair with an accurate timestamp.
    int
    String key, String value pair with an accurate timestamp.
    String key, String value pair with an accurate timestamp.
    getLogsOrBuilder(int index)
    String key, String value pair with an accurate timestamp.
    List<? extends LogOrBuilder>
    String key, String value pair with an accurate timestamp.
    A logic name represents this span.
    com.google.protobuf.ByteString
    A logic name represents this span.
    int
    The number id of the parent span in the whole segment.
    com.google.protobuf.Parser<SpanObject>
     
    Remote address of the peer in RPC/MQ case.
    com.google.protobuf.ByteString
    Remote address of the peer in RPC/MQ case.
    getRefs(int index)
    <Optional> In the across thread and across process, these references targeting the parent segments.
    int
    <Optional> In the across thread and across process, these references targeting the parent segments.
    <Optional> In the across thread and across process, these references targeting the parent segments.
    getRefsOrBuilder(int index)
    <Optional> In the across thread and across process, these references targeting the parent segments.
    <Optional> In the across thread and across process, these references targeting the parent segments.
    int
     
    boolean
    Force the backend don't do analysis, if the value is TRUE.
    int
    The number id of the span.
    Span layer represent the component tech stack, related to the network tech.
    int
    Span layer represent the component tech stack, related to the network tech.
    Span type represents the role in the RPC context.
    int
    Span type represents the role in the RPC context.
    long
    Start timestamp in milliseconds of this span, measured between the current time and midnight, January 1, 1970 UTC.
    getTags(int index)
    String key, String value pair.
    int
    String key, String value pair.
    String key, String value pair.
    getTagsOrBuilder(int index)
    String key, String value pair.
    String key, String value pair.
    final com.google.protobuf.UnknownFieldSet
     
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static SpanObject
     
    static SpanObject
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static SpanObject
    parseFrom(byte[] data)
     
    static SpanObject
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static SpanObject
    parseFrom(com.google.protobuf.ByteString data)
     
    static SpanObject
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static SpanObject
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static SpanObject
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static SpanObject
     
    static SpanObject
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static SpanObject
     
    static SpanObject
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<SpanObject>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getUnknownFields

      public final com.google.protobuf.UnknownFieldSet getUnknownFields()
      Specified by:
      getUnknownFields in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getUnknownFields in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getSpanId

      public int getSpanId()
       The number id of the span. Should be unique in the whole segment.
       Starting at 0.
       
      int32 spanId = 1;
      Specified by:
      getSpanId in interface SpanObjectOrBuilder
      Returns:
      The spanId.
    • getParentSpanId

      public int getParentSpanId()
       The number id of the parent span in the whole segment.
       -1 represents no parent span.
       Also, be known as the root/first span of the segment.
       
      int32 parentSpanId = 2;
      Specified by:
      getParentSpanId in interface SpanObjectOrBuilder
      Returns:
      The parentSpanId.
    • getStartTime

      public long getStartTime()
       Start timestamp in milliseconds of this span,
       measured between the current time and midnight, January 1, 1970 UTC.
       
      int64 startTime = 3;
      Specified by:
      getStartTime in interface SpanObjectOrBuilder
      Returns:
      The startTime.
    • getEndTime

      public long getEndTime()
       End timestamp in milliseconds of this span,
       measured between the current time and midnight, January 1, 1970 UTC.
       
      int64 endTime = 4;
      Specified by:
      getEndTime in interface SpanObjectOrBuilder
      Returns:
      The endTime.
    • getRefsList

      public List<SegmentReference> getRefsList()
       <Optional>
       In the across thread and across process, these references targeting the parent segments.
       The references usually have only one element, but in batch consumer case, such as in MQ or async batch process, it could be multiple.
       
      repeated .skywalking.v3.SegmentReference refs = 5;
      Specified by:
      getRefsList in interface SpanObjectOrBuilder
    • getRefsOrBuilderList

      public List<? extends SegmentReferenceOrBuilder> getRefsOrBuilderList()
       <Optional>
       In the across thread and across process, these references targeting the parent segments.
       The references usually have only one element, but in batch consumer case, such as in MQ or async batch process, it could be multiple.
       
      repeated .skywalking.v3.SegmentReference refs = 5;
      Specified by:
      getRefsOrBuilderList in interface SpanObjectOrBuilder
    • getRefsCount

      public int getRefsCount()
       <Optional>
       In the across thread and across process, these references targeting the parent segments.
       The references usually have only one element, but in batch consumer case, such as in MQ or async batch process, it could be multiple.
       
      repeated .skywalking.v3.SegmentReference refs = 5;
      Specified by:
      getRefsCount in interface SpanObjectOrBuilder
    • getRefs

      public SegmentReference getRefs(int index)
       <Optional>
       In the across thread and across process, these references targeting the parent segments.
       The references usually have only one element, but in batch consumer case, such as in MQ or async batch process, it could be multiple.
       
      repeated .skywalking.v3.SegmentReference refs = 5;
      Specified by:
      getRefs in interface SpanObjectOrBuilder
    • getRefsOrBuilder

      public SegmentReferenceOrBuilder getRefsOrBuilder(int index)
       <Optional>
       In the across thread and across process, these references targeting the parent segments.
       The references usually have only one element, but in batch consumer case, such as in MQ or async batch process, it could be multiple.
       
      repeated .skywalking.v3.SegmentReference refs = 5;
      Specified by:
      getRefsOrBuilder in interface SpanObjectOrBuilder
    • getOperationName

      public String getOperationName()
       A logic name represents this span.
       We don't recommend to include the parameter, such as HTTP request parameters, as a part of the operation, especially this is the name of the entry span.
       All statistic for the endpoints are aggregated base on this name. Those parameters should be added in the tags if necessary.
       If in some cases, it have to be a part of the operation name,
       users should use the Group Parameterized Endpoints capability at the backend to get the meaningful metrics.
       Read https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/endpoint-grouping-rules.md
       
      string operationName = 6;
      Specified by:
      getOperationName in interface SpanObjectOrBuilder
      Returns:
      The operationName.
    • getOperationNameBytes

      public com.google.protobuf.ByteString getOperationNameBytes()
       A logic name represents this span.
       We don't recommend to include the parameter, such as HTTP request parameters, as a part of the operation, especially this is the name of the entry span.
       All statistic for the endpoints are aggregated base on this name. Those parameters should be added in the tags if necessary.
       If in some cases, it have to be a part of the operation name,
       users should use the Group Parameterized Endpoints capability at the backend to get the meaningful metrics.
       Read https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/endpoint-grouping-rules.md
       
      string operationName = 6;
      Specified by:
      getOperationNameBytes in interface SpanObjectOrBuilder
      Returns:
      The bytes for operationName.
    • getPeer

      public String getPeer()
       Remote address of the peer in RPC/MQ case.
       This is required when spanType = Exit, as it is a part of the SkyWalking STAM(Streaming Topology Analysis Method).
       For more details, read https://wu-sheng.github.io/STAM/
       
      string peer = 7;
      Specified by:
      getPeer in interface SpanObjectOrBuilder
      Returns:
      The peer.
    • getPeerBytes

      public com.google.protobuf.ByteString getPeerBytes()
       Remote address of the peer in RPC/MQ case.
       This is required when spanType = Exit, as it is a part of the SkyWalking STAM(Streaming Topology Analysis Method).
       For more details, read https://wu-sheng.github.io/STAM/
       
      string peer = 7;
      Specified by:
      getPeerBytes in interface SpanObjectOrBuilder
      Returns:
      The bytes for peer.
    • getSpanTypeValue

      public int getSpanTypeValue()
       Span type represents the role in the RPC context.
       
      .skywalking.v3.SpanType spanType = 8;
      Specified by:
      getSpanTypeValue in interface SpanObjectOrBuilder
      Returns:
      The enum numeric value on the wire for spanType.
    • getSpanType

      public SpanType getSpanType()
       Span type represents the role in the RPC context.
       
      .skywalking.v3.SpanType spanType = 8;
      Specified by:
      getSpanType in interface SpanObjectOrBuilder
      Returns:
      The spanType.
    • getSpanLayerValue

      public int getSpanLayerValue()
       Span layer represent the component tech stack, related to the network tech.
       
      .skywalking.v3.SpanLayer spanLayer = 9;
      Specified by:
      getSpanLayerValue in interface SpanObjectOrBuilder
      Returns:
      The enum numeric value on the wire for spanLayer.
    • getSpanLayer

      public SpanLayer getSpanLayer()
       Span layer represent the component tech stack, related to the network tech.
       
      .skywalking.v3.SpanLayer spanLayer = 9;
      Specified by:
      getSpanLayer in interface SpanObjectOrBuilder
      Returns:
      The spanLayer.
    • getComponentId

      public int getComponentId()
       Component id is a predefinited number id in the SkyWalking.
       It represents the framework, tech stack used by this tracked span, such as Spring.
       All IDs are defined in the https://github.com/apache/skywalking/blob/master/oap-server/server-bootstrap/src/main/resources/component-libraries.yml
       Send a pull request if you want to add languages, components or mapping defintions,
       all public components could be accepted.
       Follow this doc for more details, https://github.com/apache/skywalking/blob/master/docs/en/guides/Component-library-settings.md
       
      int32 componentId = 10;
      Specified by:
      getComponentId in interface SpanObjectOrBuilder
      Returns:
      The componentId.
    • getIsError

      public boolean getIsError()
       The status of the span. False means the tracked execution ends in the unexpected status.
       This affects the successful rate statistic in the backend.
       Exception or error code happened in the tracked process doesn't mean isError == true, the implementations of agent plugin and tracing SDK make the final decision.
       
      bool isError = 11;
      Specified by:
      getIsError in interface SpanObjectOrBuilder
      Returns:
      The isError.
    • getTagsList

      public List<KeyStringValuePair> getTagsList()
       String key, String value pair.
       Tags provides more informance, includes parameters.
       In the OAP backend analysis, some special tag or tag combination could provide other advanced features.
       https://github.com/apache/skywalking/blob/master/docs/en/guides/Java-Plugin-Development-Guide.md#special-span-tags
       
      repeated .skywalking.v3.KeyStringValuePair tags = 12;
      Specified by:
      getTagsList in interface SpanObjectOrBuilder
    • getTagsOrBuilderList

      public List<? extends KeyStringValuePairOrBuilder> getTagsOrBuilderList()
       String key, String value pair.
       Tags provides more informance, includes parameters.
       In the OAP backend analysis, some special tag or tag combination could provide other advanced features.
       https://github.com/apache/skywalking/blob/master/docs/en/guides/Java-Plugin-Development-Guide.md#special-span-tags
       
      repeated .skywalking.v3.KeyStringValuePair tags = 12;
      Specified by:
      getTagsOrBuilderList in interface SpanObjectOrBuilder
    • getTagsCount

      public int getTagsCount()
       String key, String value pair.
       Tags provides more informance, includes parameters.
       In the OAP backend analysis, some special tag or tag combination could provide other advanced features.
       https://github.com/apache/skywalking/blob/master/docs/en/guides/Java-Plugin-Development-Guide.md#special-span-tags
       
      repeated .skywalking.v3.KeyStringValuePair tags = 12;
      Specified by:
      getTagsCount in interface SpanObjectOrBuilder
    • getTags

      public KeyStringValuePair getTags(int index)
       String key, String value pair.
       Tags provides more informance, includes parameters.
       In the OAP backend analysis, some special tag or tag combination could provide other advanced features.
       https://github.com/apache/skywalking/blob/master/docs/en/guides/Java-Plugin-Development-Guide.md#special-span-tags
       
      repeated .skywalking.v3.KeyStringValuePair tags = 12;
      Specified by:
      getTags in interface SpanObjectOrBuilder
    • getTagsOrBuilder

      public KeyStringValuePairOrBuilder getTagsOrBuilder(int index)
       String key, String value pair.
       Tags provides more informance, includes parameters.
       In the OAP backend analysis, some special tag or tag combination could provide other advanced features.
       https://github.com/apache/skywalking/blob/master/docs/en/guides/Java-Plugin-Development-Guide.md#special-span-tags
       
      repeated .skywalking.v3.KeyStringValuePair tags = 12;
      Specified by:
      getTagsOrBuilder in interface SpanObjectOrBuilder
    • getLogsList

      public List<Log> getLogsList()
       String key, String value pair with an accurate timestamp.
       Logging some events happening in the context of the span duration.
       
      repeated .skywalking.v3.Log logs = 13;
      Specified by:
      getLogsList in interface SpanObjectOrBuilder
    • getLogsOrBuilderList

      public List<? extends LogOrBuilder> getLogsOrBuilderList()
       String key, String value pair with an accurate timestamp.
       Logging some events happening in the context of the span duration.
       
      repeated .skywalking.v3.Log logs = 13;
      Specified by:
      getLogsOrBuilderList in interface SpanObjectOrBuilder
    • getLogsCount

      public int getLogsCount()
       String key, String value pair with an accurate timestamp.
       Logging some events happening in the context of the span duration.
       
      repeated .skywalking.v3.Log logs = 13;
      Specified by:
      getLogsCount in interface SpanObjectOrBuilder
    • getLogs

      public Log getLogs(int index)
       String key, String value pair with an accurate timestamp.
       Logging some events happening in the context of the span duration.
       
      repeated .skywalking.v3.Log logs = 13;
      Specified by:
      getLogs in interface SpanObjectOrBuilder
    • getLogsOrBuilder

      public LogOrBuilder getLogsOrBuilder(int index)
       String key, String value pair with an accurate timestamp.
       Logging some events happening in the context of the span duration.
       
      repeated .skywalking.v3.Log logs = 13;
      Specified by:
      getLogsOrBuilder in interface SpanObjectOrBuilder
    • getSkipAnalysis

      public boolean getSkipAnalysis()
       Force the backend don't do analysis, if the value is TRUE.
       The backend has its own configurations to follow or override this.
       Use this mostly because the agent/SDK could know more context of the service role.
       
      bool skipAnalysis = 14;
      Specified by:
      getSkipAnalysis in interface SpanObjectOrBuilder
      Returns:
      The skipAnalysis.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static SpanObject parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanObject parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanObject parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanObject parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static SpanObject parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

      public static SpanObject parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpanObject parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SpanObject parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static SpanObject parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpanObject parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static SpanObject parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public SpanObject.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static SpanObject.Builder newBuilder()
    • newBuilder

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

      public SpanObject.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected SpanObject.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static SpanObject getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<SpanObject> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public SpanObject getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder