public static final class Span.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder> implements SpanOrBuilder
A span represents a single operation within a trace. Spans can be nested to form a trace tree. Often, a trace contains a root span that describes the end-to-end latency, and one or more subspans for its sub-operations. A trace can also contain multiple root spans, or none at all. Spans do not need to be contiguous - there may be gaps or overlaps between spans in a trace. TODO(bdrutu): Add an example.Protobuf type
opencensus.proto.trace.Span| Modifier and Type | Method and Description |
|---|---|
Span.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Span |
build() |
Span |
buildPartial() |
Span.Builder |
clear() |
Span.Builder |
clearAttributes()
A set of attributes on the span.
|
Span.Builder |
clearChildSpanCount()
An optional number of child spans that were generated while this span
was active.
|
Span.Builder |
clearEndTime()
The end time of the span.
|
Span.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Span.Builder |
clearLinks()
The inclued links.
|
Span.Builder |
clearName()
A description of the span's operation.
|
Span.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Span.Builder |
clearParentSpanId()
The `span_id` of this span's parent span.
|
Span.Builder |
clearSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
Span.Builder |
clearSpanId()
A unique identifier for a span within a trace, assigned when the span
is created.
|
Span.Builder |
clearStackTrace()
A stack trace captured at the start of the span.
|
Span.Builder |
clearStartTime()
The start time of the span.
|
Span.Builder |
clearStatus()
An optional final status for this span.
|
Span.Builder |
clearTimeEvents()
The included time events.
|
Span.Builder |
clearTraceId()
A unique identifier for a trace.
|
Span.Builder |
clone() |
Span.Attributes |
getAttributes()
A set of attributes on the span.
|
Span.Attributes.Builder |
getAttributesBuilder()
A set of attributes on the span.
|
Span.AttributesOrBuilder |
getAttributesOrBuilder()
A set of attributes on the span.
|
com.google.protobuf.UInt32Value |
getChildSpanCount()
An optional number of child spans that were generated while this span
was active.
|
com.google.protobuf.UInt32Value.Builder |
getChildSpanCountBuilder()
An optional number of child spans that were generated while this span
was active.
|
com.google.protobuf.UInt32ValueOrBuilder |
getChildSpanCountOrBuilder()
An optional number of child spans that were generated while this span
was active.
|
Span |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getEndTime()
The end time of the span.
|
com.google.protobuf.Timestamp.Builder |
getEndTimeBuilder()
The end time of the span.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end time of the span.
|
Span.Links |
getLinks()
The inclued links.
|
Span.Links.Builder |
getLinksBuilder()
The inclued links.
|
Span.LinksOrBuilder |
getLinksOrBuilder()
The inclued links.
|
TruncatableString |
getName()
A description of the span's operation.
|
TruncatableString.Builder |
getNameBuilder()
A description of the span's operation.
|
TruncatableStringOrBuilder |
getNameOrBuilder()
A description of the span's operation.
|
com.google.protobuf.ByteString |
getParentSpanId()
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.BoolValue.Builder |
getSameProcessAsParentSpanBuilder()
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.
|
com.google.protobuf.ByteString |
getSpanId()
A unique identifier for a span within a trace, assigned when the span
is created.
|
StackTrace |
getStackTrace()
A stack trace captured at the start of the span.
|
StackTrace.Builder |
getStackTraceBuilder()
A stack trace captured at the start of the span.
|
StackTraceOrBuilder |
getStackTraceOrBuilder()
A stack trace captured at the start of the span.
|
com.google.protobuf.Timestamp |
getStartTime()
The start time of the span.
|
com.google.protobuf.Timestamp.Builder |
getStartTimeBuilder()
The start time of the span.
|
com.google.protobuf.TimestampOrBuilder |
getStartTimeOrBuilder()
The start time of the span.
|
Status |
getStatus()
An optional final status for this span.
|
Status.Builder |
getStatusBuilder()
An optional final status for this span.
|
StatusOrBuilder |
getStatusOrBuilder()
An optional final status for this span.
|
Span.TimeEvents |
getTimeEvents()
The included time events.
|
Span.TimeEvents.Builder |
getTimeEventsBuilder()
The included time events.
|
Span.TimeEventsOrBuilder |
getTimeEventsOrBuilder()
The included time events.
|
com.google.protobuf.ByteString |
getTraceId()
A unique identifier for a trace.
|
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 |
hasEndTime()
The end time of the span.
|
boolean |
hasLinks()
The inclued links.
|
boolean |
hasName()
A description of the span's operation.
|
boolean |
hasSameProcessAsParentSpan()
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
boolean |
hasStackTrace()
A 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.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Span.Builder |
mergeAttributes(Span.Attributes value)
A set of attributes on the span.
|
Span.Builder |
mergeChildSpanCount(com.google.protobuf.UInt32Value value)
An optional number of child spans that were generated while this span
was active.
|
Span.Builder |
mergeEndTime(com.google.protobuf.Timestamp value)
The end time of the span.
|
Span.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Span.Builder |
mergeFrom(com.google.protobuf.Message other) |
Span.Builder |
mergeFrom(Span other) |
Span.Builder |
mergeLinks(Span.Links value)
The inclued links.
|
Span.Builder |
mergeName(TruncatableString value)
A description of the span's operation.
|
Span.Builder |
mergeSameProcessAsParentSpan(com.google.protobuf.BoolValue value)
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
Span.Builder |
mergeStackTrace(StackTrace value)
A stack trace captured at the start of the span.
|
Span.Builder |
mergeStartTime(com.google.protobuf.Timestamp value)
The start time of the span.
|
Span.Builder |
mergeStatus(Status value)
An optional final status for this span.
|
Span.Builder |
mergeTimeEvents(Span.TimeEvents value)
The included time events.
|
Span.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Span.Builder |
setAttributes(Span.Attributes.Builder builderForValue)
A set of attributes on the span.
|
Span.Builder |
setAttributes(Span.Attributes value)
A set of attributes on the span.
|
Span.Builder |
setChildSpanCount(com.google.protobuf.UInt32Value.Builder builderForValue)
An optional number of child spans that were generated while this span
was active.
|
Span.Builder |
setChildSpanCount(com.google.protobuf.UInt32Value value)
An optional number of child spans that were generated while this span
was active.
|
Span.Builder |
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The end time of the span.
|
Span.Builder |
setEndTime(com.google.protobuf.Timestamp value)
The end time of the span.
|
Span.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Span.Builder |
setLinks(Span.Links.Builder builderForValue)
The inclued links.
|
Span.Builder |
setLinks(Span.Links value)
The inclued links.
|
Span.Builder |
setName(TruncatableString.Builder builderForValue)
A description of the span's operation.
|
Span.Builder |
setName(TruncatableString value)
A description of the span's operation.
|
Span.Builder |
setParentSpanId(com.google.protobuf.ByteString value)
The `span_id` of this span's parent span.
|
Span.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Span.Builder |
setSameProcessAsParentSpan(com.google.protobuf.BoolValue.Builder builderForValue)
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
Span.Builder |
setSameProcessAsParentSpan(com.google.protobuf.BoolValue value)
A highly recommended but not required flag that identifies when a trace
crosses a process boundary.
|
Span.Builder |
setSpanId(com.google.protobuf.ByteString value)
A unique identifier for a span within a trace, assigned when the span
is created.
|
Span.Builder |
setStackTrace(StackTrace.Builder builderForValue)
A stack trace captured at the start of the span.
|
Span.Builder |
setStackTrace(StackTrace value)
A stack trace captured at the start of the span.
|
Span.Builder |
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
The start time of the span.
|
Span.Builder |
setStartTime(com.google.protobuf.Timestamp value)
The start time of the span.
|
Span.Builder |
setStatus(Status.Builder builderForValue)
An optional final status for this span.
|
Span.Builder |
setStatus(Status value)
An optional final status for this span.
|
Span.Builder |
setTimeEvents(Span.TimeEvents.Builder builderForValue)
The included time events.
|
Span.Builder |
setTimeEvents(Span.TimeEvents value)
The included time events.
|
Span.Builder |
setTraceId(com.google.protobuf.ByteString value)
A unique identifier for a trace.
|
Span.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Span build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Span buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Span.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Span.Builder>public Span.Builder mergeFrom(Span other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public Span.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Span.Builder>IOExceptionpublic com.google.protobuf.ByteString getTraceId()
A unique identifier for a trace. All spans from the same trace share the same `trace_id`. The ID is a 16-byte array. This field is required.
bytes trace_id = 1;getTraceId in interface SpanOrBuilderpublic Span.Builder setTraceId(com.google.protobuf.ByteString value)
A unique identifier for a trace. All spans from the same trace share the same `trace_id`. The ID is a 16-byte array. This field is required.
bytes trace_id = 1;public Span.Builder clearTraceId()
A unique identifier for a trace. All spans from the same trace share the same `trace_id`. The ID is a 16-byte array. This field is required.
bytes trace_id = 1;public com.google.protobuf.ByteString getSpanId()
A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. This field is required.
bytes span_id = 2;getSpanId in interface SpanOrBuilderpublic Span.Builder setSpanId(com.google.protobuf.ByteString value)
A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. This field is required.
bytes span_id = 2;public Span.Builder clearSpanId()
A unique identifier for a span within a trace, assigned when the span is created. The ID is an 8-byte array. This field is required.
bytes span_id = 2;public com.google.protobuf.ByteString getParentSpanId()
The `span_id` of this span's parent span. If this is a root span, then this field must be empty. The ID is an 8-byte array.
bytes parent_span_id = 3;getParentSpanId in interface SpanOrBuilderpublic Span.Builder setParentSpanId(com.google.protobuf.ByteString value)
The `span_id` of this span's parent span. If this is a root span, then this field must be empty. The ID is an 8-byte array.
bytes parent_span_id = 3;public Span.Builder clearParentSpanId()
The `span_id` of this span's parent span. If this is a root span, then this field must be empty. The ID is an 8-byte array.
bytes parent_span_id = 3;public boolean hasName()
A description of the span's operation. For example, the 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 at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;hasName in interface SpanOrBuilderpublic TruncatableString getName()
A description of the span's operation. For example, the 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 at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;getName in interface SpanOrBuilderpublic Span.Builder setName(TruncatableString value)
A description of the span's operation. For example, the 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 at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;public Span.Builder setName(TruncatableString.Builder builderForValue)
A description of the span's operation. For example, the 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 at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;public Span.Builder mergeName(TruncatableString value)
A description of the span's operation. For example, the 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 at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;public Span.Builder clearName()
A description of the span's operation. For example, the 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 at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;public TruncatableString.Builder getNameBuilder()
A description of the span's operation. For example, the 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 at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;public TruncatableStringOrBuilder getNameOrBuilder()
A description of the span's operation. For example, the 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 at the same call point in an application. This makes it easier to correlate spans in different traces. This field is required.
.opencensus.proto.trace.TruncatableString name = 4;getNameOrBuilder in interface SpanOrBuilderpublic 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;hasStartTime in interface SpanOrBuilderpublic 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;getStartTime in interface SpanOrBuilderpublic Span.Builder setStartTime(com.google.protobuf.Timestamp value)
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;public Span.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;public Span.Builder mergeStartTime(com.google.protobuf.Timestamp value)
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;public Span.Builder clearStartTime()
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;public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
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;public 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;getStartTimeOrBuilder in interface SpanOrBuilderpublic 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;hasEndTime in interface SpanOrBuilderpublic 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;getEndTime in interface SpanOrBuilderpublic Span.Builder setEndTime(com.google.protobuf.Timestamp value)
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;public Span.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
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;public Span.Builder mergeEndTime(com.google.protobuf.Timestamp value)
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;public Span.Builder clearEndTime()
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;public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()
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;public 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;getEndTimeOrBuilder in interface SpanOrBuilderpublic boolean hasAttributes()
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;hasAttributes in interface SpanOrBuilderpublic Span.Attributes getAttributes()
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;getAttributes in interface SpanOrBuilderpublic Span.Builder setAttributes(Span.Attributes value)
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;public Span.Builder setAttributes(Span.Attributes.Builder builderForValue)
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;public Span.Builder mergeAttributes(Span.Attributes value)
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;public Span.Builder clearAttributes()
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;public Span.Attributes.Builder getAttributesBuilder()
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;public Span.AttributesOrBuilder getAttributesOrBuilder()
A set of attributes on the span.
.opencensus.proto.trace.Span.Attributes attributes = 7;getAttributesOrBuilder in interface SpanOrBuilderpublic boolean hasStackTrace()
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;hasStackTrace in interface SpanOrBuilderpublic StackTrace getStackTrace()
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;getStackTrace in interface SpanOrBuilderpublic Span.Builder setStackTrace(StackTrace value)
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;public Span.Builder setStackTrace(StackTrace.Builder builderForValue)
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;public Span.Builder mergeStackTrace(StackTrace value)
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;public Span.Builder clearStackTrace()
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;public StackTrace.Builder getStackTraceBuilder()
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;public StackTraceOrBuilder getStackTraceOrBuilder()
A stack trace captured at the start of the span.
.opencensus.proto.trace.StackTrace stack_trace = 8;getStackTraceOrBuilder in interface SpanOrBuilderpublic boolean hasTimeEvents()
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;hasTimeEvents in interface SpanOrBuilderpublic Span.TimeEvents getTimeEvents()
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;getTimeEvents in interface SpanOrBuilderpublic Span.Builder setTimeEvents(Span.TimeEvents value)
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;public Span.Builder setTimeEvents(Span.TimeEvents.Builder builderForValue)
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;public Span.Builder mergeTimeEvents(Span.TimeEvents value)
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;public Span.Builder clearTimeEvents()
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;public Span.TimeEvents.Builder getTimeEventsBuilder()
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;public Span.TimeEventsOrBuilder getTimeEventsOrBuilder()
The included time events.
.opencensus.proto.trace.Span.TimeEvents time_events = 9;getTimeEventsOrBuilder in interface SpanOrBuilderpublic boolean hasLinks()
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;hasLinks in interface SpanOrBuilderpublic Span.Links getLinks()
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;getLinks in interface SpanOrBuilderpublic Span.Builder setLinks(Span.Links value)
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;public Span.Builder setLinks(Span.Links.Builder builderForValue)
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;public Span.Builder mergeLinks(Span.Links value)
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;public Span.Builder clearLinks()
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;public Span.Links.Builder getLinksBuilder()
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;public Span.LinksOrBuilder getLinksOrBuilder()
The inclued links.
.opencensus.proto.trace.Span.Links links = 10;getLinksOrBuilder in interface SpanOrBuilderpublic boolean hasStatus()
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;hasStatus in interface SpanOrBuilderpublic Status getStatus()
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;getStatus in interface SpanOrBuilderpublic Span.Builder setStatus(Status value)
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;public Span.Builder setStatus(Status.Builder builderForValue)
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;public Span.Builder mergeStatus(Status value)
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;public Span.Builder clearStatus()
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;public Status.Builder getStatusBuilder()
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;public StatusOrBuilder getStatusOrBuilder()
An optional final status for this span.
.opencensus.proto.trace.Status status = 11;getStatusOrBuilder in interface SpanOrBuilderpublic 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;hasSameProcessAsParentSpan in interface SpanOrBuilderpublic 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;getSameProcessAsParentSpan in interface SpanOrBuilderpublic Span.Builder setSameProcessAsParentSpan(com.google.protobuf.BoolValue value)
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;public Span.Builder setSameProcessAsParentSpan(com.google.protobuf.BoolValue.Builder builderForValue)
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;public Span.Builder mergeSameProcessAsParentSpan(com.google.protobuf.BoolValue value)
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;public Span.Builder clearSameProcessAsParentSpan()
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;public com.google.protobuf.BoolValue.Builder getSameProcessAsParentSpanBuilder()
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;public 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;getSameProcessAsParentSpanOrBuilder in interface SpanOrBuilderpublic boolean hasChildSpanCount()
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;hasChildSpanCount in interface SpanOrBuilderpublic com.google.protobuf.UInt32Value getChildSpanCount()
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;getChildSpanCount in interface SpanOrBuilderpublic Span.Builder setChildSpanCount(com.google.protobuf.UInt32Value value)
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;public Span.Builder setChildSpanCount(com.google.protobuf.UInt32Value.Builder builderForValue)
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;public Span.Builder mergeChildSpanCount(com.google.protobuf.UInt32Value value)
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;public Span.Builder clearChildSpanCount()
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;public com.google.protobuf.UInt32Value.Builder getChildSpanCountBuilder()
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;public com.google.protobuf.UInt32ValueOrBuilder getChildSpanCountOrBuilder()
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
.google.protobuf.UInt32Value child_span_count = 13;getChildSpanCountOrBuilder in interface SpanOrBuilderpublic final Span.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>public final Span.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Span.Builder>Copyright © 2018 The Envoy Project. All rights reserved.