Interface Span.LinkOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Span.Link
,Span.Link.Builder
- Enclosing class:
- Span
public static interface Span.LinkOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Span.Attributes
getAttributes()
A set of attributes on the link.Span.AttributesOrBuilder
getAttributesOrBuilder()
A set of attributes on the link.String
getSpanId()
The `[SPAN_ID]` for a span within a trace.com.google.protobuf.ByteString
getSpanIdBytes()
The `[SPAN_ID]` for a span within a trace.String
getTraceId()
The `[TRACE_ID]` for a trace within a project.com.google.protobuf.ByteString
getTraceIdBytes()
The `[TRACE_ID]` for a trace within a project.Span.Link.Type
getType()
The relationship of the current span relative to the linked span.int
getTypeValue()
The relationship of the current span relative to the linked span.boolean
hasAttributes()
A set of attributes on the link.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTraceId
String getTraceId()
The `[TRACE_ID]` for a trace within a project.
string trace_id = 1;
- Returns:
- The traceId.
-
getTraceIdBytes
com.google.protobuf.ByteString getTraceIdBytes()
The `[TRACE_ID]` for a trace within a project.
string trace_id = 1;
- Returns:
- The bytes for traceId.
-
getSpanId
String getSpanId()
The `[SPAN_ID]` for a span within a trace.
string span_id = 2;
- Returns:
- The spanId.
-
getSpanIdBytes
com.google.protobuf.ByteString getSpanIdBytes()
The `[SPAN_ID]` for a span within a trace.
string span_id = 2;
- Returns:
- The bytes for spanId.
-
getTypeValue
int getTypeValue()
The relationship of the current span relative to the linked span.
.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;
- Returns:
- The enum numeric value on the wire for type.
-
getType
Span.Link.Type getType()
The relationship of the current span relative to the linked span.
.google.devtools.cloudtrace.v2.Span.Link.Type type = 3;
- Returns:
- The type.
-
hasAttributes
boolean hasAttributes()
A set of attributes on the link. Up to 32 attributes can be specified per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
- Returns:
- Whether the attributes field is set.
-
getAttributes
Span.Attributes getAttributes()
A set of attributes on the link. Up to 32 attributes can be specified per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
- Returns:
- The attributes.
-
getAttributesOrBuilder
Span.AttributesOrBuilder getAttributesOrBuilder()
A set of attributes on the link. Up to 32 attributes can be specified per link.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 4;
-
-