public interface SpanOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Span.Attributes |
getAttributes()
A set of attributes on the span.
|
Span.AttributesOrBuilder |
getAttributesOrBuilder()
A set of attributes on the span.
|
com.google.protobuf.Int32Value |
getChildSpanCount()
An optional number of child spans that were generated while this span
was active.
|
com.google.protobuf.Int32ValueOrBuilder |
getChildSpanCountOrBuilder()
An optional number of child spans that were generated while this span
was active.
|
TruncatableString |
getDisplayName()
A description of the span's operation (up to 128 bytes).
|
TruncatableStringOrBuilder |
getDisplayNameOrBuilder()
A description of the span's operation (up to 128 bytes).
|
com.google.protobuf.Timestamp |
getEndTime()
The end time of the span.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end time of the span.
|
Span.Links |
getLinks()
A maximum of 128 links are allowed per Span.
|
Span.LinksOrBuilder |
getLinksOrBuilder()
A maximum of 128 links are allowed per Span.
|
java.lang.String |
getName()
The resource name of the span in the following format:
projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
[TRACE_ID] is a unique identifier for a trace within a project.
|
com.google.protobuf.ByteString |
getNameBytes()
The resource name of the span in the following format:
projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
[TRACE_ID] is a unique identifier for a trace within a project.
|
java.lang.String |
getParentSpanId()
The [SPAN_ID] of this span's parent span.
|
com.google.protobuf.ByteString |
getParentSpanIdBytes()
The [SPAN_ID] of this span's parent span.
|
com.google.protobuf.BoolValue |
getSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
com.google.protobuf.BoolValueOrBuilder |
getSameProcessAsParentSpanOrBuilder()
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
java.lang.String |
getSpanId()
The [SPAN_ID] portion of the span's resource name.
|
com.google.protobuf.ByteString |
getSpanIdBytes()
The [SPAN_ID] portion of the span's resource name.
|
StackTrace |
getStackTrace()
Stack trace captured at the start of the span.
|
StackTraceOrBuilder |
getStackTraceOrBuilder()
Stack trace captured at the start of the span.
|
com.google.protobuf.Timestamp |
getStartTime()
The start time of the span.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The start time of the span.
|
com.google.rpc.Status |
getStatus()
An optional final status for this span.
|
com.google.rpc.StatusOrBuilder |
getStatusOrBuilder()
An optional final status for this span.
|
Span.TimeEvents |
getTimeEvents()
The included time events.
|
Span.TimeEventsOrBuilder |
getTimeEventsOrBuilder()
The included time events.
|
boolean |
hasAttributes()
A set of attributes on the span.
|
boolean |
hasChildSpanCount()
An optional number of child spans that were generated while this span
was active.
|
boolean |
hasDisplayName()
A description of the span's operation (up to 128 bytes).
|
boolean |
hasEndTime()
The end time of the span.
|
boolean |
hasLinks()
A maximum of 128 links are allowed per Span.
|
boolean |
hasSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
boolean |
hasStackTrace()
Stack trace captured at the start of the span.
|
boolean |
hasStartTime()
The start time of the span.
|
boolean |
hasStatus()
An optional final status for this span.
|
boolean |
hasTimeEvents()
The included time events.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofjava.lang.String getName()
The resource name of the span in the following format:
projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
[TRACE_ID] is a unique identifier for a trace within a project.
[SPAN_ID] is a unique identifier for a span within a trace,
assigned when the span is created.
string name = 1;com.google.protobuf.ByteString getNameBytes()
The resource name of the span in the following format:
projects/[PROJECT_ID]/traces/[TRACE_ID]/spans/[SPAN_ID]
[TRACE_ID] is a unique identifier for a trace within a project.
[SPAN_ID] is a unique identifier for a span within a trace,
assigned when the span is created.
string name = 1;java.lang.String getSpanId()
The [SPAN_ID] portion of the span's resource name. The ID is a 16-character hexadecimal encoding of an 8-byte array.
string span_id = 2;com.google.protobuf.ByteString getSpanIdBytes()
The [SPAN_ID] portion of the span's resource name. The ID is a 16-character hexadecimal encoding of an 8-byte array.
string span_id = 2;java.lang.String getParentSpanId()
The [SPAN_ID] of this span's parent span. If this is a root span, then this field must be empty.
string parent_span_id = 3;com.google.protobuf.ByteString getParentSpanIdBytes()
The [SPAN_ID] of this span's parent span. If this is a root span, then this field must be empty.
string parent_span_id = 3;boolean hasDisplayName()
A description of the span's operation (up to 128 bytes).
Stackdriver Trace displays the description in the
{% dynamic print site_values.console_name %}.
For example, the display name can be a qualified method name or a file name
and a line number where the operation is called. A best practice is to use
the same display name within an application and at the same call point.
This makes it easier to correlate spans in different traces.
.google.devtools.cloudtrace.v2.TruncatableString display_name = 4;TruncatableString getDisplayName()
A description of the span's operation (up to 128 bytes).
Stackdriver Trace displays the description in the
{% dynamic print site_values.console_name %}.
For example, the display name can be a qualified method name or a file name
and a line number where the operation is called. A best practice is to use
the same display name within an application and at the same call point.
This makes it easier to correlate spans in different traces.
.google.devtools.cloudtrace.v2.TruncatableString display_name = 4;TruncatableStringOrBuilder getDisplayNameOrBuilder()
A description of the span's operation (up to 128 bytes).
Stackdriver Trace displays the description in the
{% dynamic print site_values.console_name %}.
For example, the display name can be a qualified method name or a file name
and a line number where the operation is called. A best practice is to use
the same display name within an application and at the same call point.
This makes it easier to correlate spans in different traces.
.google.devtools.cloudtrace.v2.TruncatableString display_name = 4;boolean hasStartTime()
The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running.
.google.protobuf.Timestamp start_time = 5;com.google.protobuf.Timestamp getStartTime()
The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running.
.google.protobuf.Timestamp start_time = 5;com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
The start time of the span. On the client side, this is the time kept by the local machine where the span execution starts. On the server side, this is the time when the server's application handler starts running.
.google.protobuf.Timestamp start_time = 5;boolean hasEndTime()
The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.
.google.protobuf.Timestamp end_time = 6;com.google.protobuf.Timestamp getEndTime()
The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.
.google.protobuf.Timestamp end_time = 6;com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
The end time of the span. On the client side, this is the time kept by the local machine where the span execution ends. On the server side, this is the time when the server application handler stops running.
.google.protobuf.Timestamp end_time = 6;boolean hasAttributes()
A set of attributes on the span. There is a limit of 32 attributes per span.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 7;Span.Attributes getAttributes()
A set of attributes on the span. There is a limit of 32 attributes per span.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 7;Span.AttributesOrBuilder getAttributesOrBuilder()
A set of attributes on the span. There is a limit of 32 attributes per span.
.google.devtools.cloudtrace.v2.Span.Attributes attributes = 7;boolean hasStackTrace()
Stack trace captured at the start of the span.
.google.devtools.cloudtrace.v2.StackTrace stack_trace = 8;StackTrace getStackTrace()
Stack trace captured at the start of the span.
.google.devtools.cloudtrace.v2.StackTrace stack_trace = 8;StackTraceOrBuilder getStackTraceOrBuilder()
Stack trace captured at the start of the span.
.google.devtools.cloudtrace.v2.StackTrace stack_trace = 8;boolean hasTimeEvents()
The included time events. There can be up to 32 annotations and 128 message events per span.
.google.devtools.cloudtrace.v2.Span.TimeEvents time_events = 9;Span.TimeEvents getTimeEvents()
The included time events. There can be up to 32 annotations and 128 message events per span.
.google.devtools.cloudtrace.v2.Span.TimeEvents time_events = 9;Span.TimeEventsOrBuilder getTimeEventsOrBuilder()
The included time events. There can be up to 32 annotations and 128 message events per span.
.google.devtools.cloudtrace.v2.Span.TimeEvents time_events = 9;boolean hasLinks()
A maximum of 128 links are allowed per Span.
.google.devtools.cloudtrace.v2.Span.Links links = 10;Span.Links getLinks()
A maximum of 128 links are allowed per Span.
.google.devtools.cloudtrace.v2.Span.Links links = 10;Span.LinksOrBuilder getLinksOrBuilder()
A maximum of 128 links are allowed per Span.
.google.devtools.cloudtrace.v2.Span.Links links = 10;boolean hasStatus()
An optional final status for this span.
.google.rpc.Status status = 11;com.google.rpc.Status getStatus()
An optional final status for this span.
.google.rpc.Status status = 11;com.google.rpc.StatusOrBuilder getStatusOrBuilder()
An optional final status for this span.
.google.rpc.Status status = 11;boolean hasSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace crosses a process boundary. True when the parent_span belongs to the same process as the current span.
.google.protobuf.BoolValue same_process_as_parent_span = 12;com.google.protobuf.BoolValue getSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace crosses a process boundary. True when the parent_span belongs to the same process as the current span.
.google.protobuf.BoolValue same_process_as_parent_span = 12;com.google.protobuf.BoolValueOrBuilder getSameProcessAsParentSpanOrBuilder()
A highly recommended but not required flag that identifies when a trace crosses a process boundary. True when the parent_span belongs to the same process as the current span.
.google.protobuf.BoolValue same_process_as_parent_span = 12;boolean hasChildSpanCount()
An optional number of child spans that were generated while this span was active. If set, allows implementation to detect missing child spans.
.google.protobuf.Int32Value child_span_count = 13;com.google.protobuf.Int32Value getChildSpanCount()
An optional number of child spans that were generated while this span was active. If set, allows implementation to detect missing child spans.
.google.protobuf.Int32Value child_span_count = 13;com.google.protobuf.Int32ValueOrBuilder getChildSpanCountOrBuilder()
An optional number of child spans that were generated while this span was active. If set, allows implementation to detect missing child spans.
.google.protobuf.Int32Value child_span_count = 13;