Interface SpanAttachedEvent.SpanReferenceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SpanAttachedEvent.SpanReference,SpanAttachedEvent.SpanReference.Builder
- Enclosing class:
- SpanAttachedEvent
public static interface SpanAttachedEvent.SpanReferenceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionIf type == SKYWALKING The number id of the span.com.google.protobuf.ByteStringIf type == SKYWALKING 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.A unique id represents this segment.com.google.protobuf.ByteStringA unique id represents this segment.getType().skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;int.skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getTypeValue
int getTypeValue().skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
SpanAttachedEvent.SpanReferenceType getType().skywalking.v3.SpanAttachedEvent.SpanReferenceType type = 1;- Returns:
- The type.
-
getTraceId
String getTraceId()[Optional] A string id represents the whole trace.
string traceId = 2;- Returns:
- The traceId.
-
getTraceIdBytes
com.google.protobuf.ByteString getTraceIdBytes()[Optional] A string id represents the whole trace.
string traceId = 2;- Returns:
- The bytes for traceId.
-
getTraceSegmentId
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;- Returns:
- The traceSegmentId.
-
getTraceSegmentIdBytes
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;- Returns:
- The bytes for traceSegmentId.
-
getSpanId
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;- Returns:
- The spanId.
-
getSpanIdBytes
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;- Returns:
- The bytes for spanId.
-