public final class Span extends com.google.protobuf.GeneratedMessageV3 implements SpanOrBuilder
A span represents a single operation within a trace. Spans can be nested to form a trace tree. Spans may also be linked to other spans from the same or different trace. And form graphs. 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. The next id is 17. TODO(bdrutu): Add an example.Protobuf type
opencensus.proto.trace.v1.Span| Modifier and Type | Class and Description |
|---|---|
static class |
Span.Attributes
A set of attributes, each with a key and a value.
|
static interface |
Span.AttributesOrBuilder |
static class |
Span.Builder
A span represents a single operation within a trace.
|
static class |
Span.Link
A pointer from the current span to another span in the same trace or in a
different trace.
|
static interface |
Span.LinkOrBuilder |
static class |
Span.Links
A collection of links, which are references from this span to a span
in the same or different trace.
|
static interface |
Span.LinksOrBuilder |
static class |
Span.SpanKind
Type of span.
|
static class |
Span.TimeEvent
A time-stamped annotation or message event in the Span.
|
static interface |
Span.TimeEventOrBuilder |
static class |
Span.TimeEvents
A collection of `TimeEvent`s.
|
static interface |
Span.TimeEventsOrBuilder |
static class |
Span.Tracestate
This field conveys information about request position in multiple distributed tracing graphs.
|
static interface |
Span.TracestateOrBuilder |
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| Modifier and Type | Field and Description |
|---|---|
static int |
ATTRIBUTES_FIELD_NUMBER |
static int |
CHILD_SPAN_COUNT_FIELD_NUMBER |
static int |
END_TIME_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
LINKS_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
PARENT_SPAN_ID_FIELD_NUMBER |
static int |
RESOURCE_FIELD_NUMBER |
static int |
SAME_PROCESS_AS_PARENT_SPAN_FIELD_NUMBER |
static int |
SPAN_ID_FIELD_NUMBER |
static int |
STACK_TRACE_FIELD_NUMBER |
static int |
START_TIME_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
static int |
TIME_EVENTS_FIELD_NUMBER |
static int |
TRACE_ID_FIELD_NUMBER |
static int |
TRACESTATE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Span.Attributes |
getAttributes()
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.UInt32ValueOrBuilder |
getChildSpanCountOrBuilder()
An optional number of child spans that were generated while this span
was active.
|
static Span |
getDefaultInstance() |
Span |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Timestamp |
getEndTime()
The end time of the span.
|
com.google.protobuf.TimestampOrBuilder |
getEndTimeOrBuilder()
The end time of the span.
|
Span.SpanKind |
getKind()
Distinguishes between spans generated in a particular context.
|
int |
getKindValue()
Distinguishes between spans generated in a particular context.
|
Span.Links |
getLinks()
The included links.
|
Span.LinksOrBuilder |
getLinksOrBuilder()
The included links.
|
TruncatableString |
getName()
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.Parser<Span> |
getParserForType() |
Resource |
getResource()
An optional resource that is associated with this span.
|
ResourceOrBuilder |
getResourceOrBuilder()
An optional resource that is associated with this 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.
|
int |
getSerializedSize() |
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.
|
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.TimestampOrBuilder |
getStartTimeOrBuilder()
The start time of the span.
|
Status |
getStatus()
An optional final status for this span.
|
StatusOrBuilder |
getStatusOrBuilder()
An optional final status for this span.
|
Span.TimeEvents |
getTimeEvents()
The included time events.
|
Span.TimeEventsOrBuilder |
getTimeEventsOrBuilder()
The included time events.
|
com.google.protobuf.ByteString |
getTraceId()
A unique identifier for a trace.
|
Span.Tracestate |
getTracestate()
The Tracestate on the span.
|
Span.TracestateOrBuilder |
getTracestateOrBuilder()
The Tracestate on the span.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
boolean |
hasLinks()
The included links.
|
boolean |
hasName()
A description of the span's operation.
|
boolean |
hasResource()
An optional resource that is associated with this span.
|
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.
|
boolean |
hasTracestate()
The Tracestate on the span.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Span.Builder |
newBuilder() |
static Span.Builder |
newBuilder(Span prototype) |
Span.Builder |
newBuilderForType() |
protected Span.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Span |
parseDelimitedFrom(InputStream input) |
static Span |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(byte[] data) |
static Span |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(ByteBuffer data) |
static Span |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(com.google.protobuf.ByteString data) |
static Span |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Span |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Span |
parseFrom(InputStream input) |
static Span |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Span> |
parser() |
Span.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TRACE_ID_FIELD_NUMBER
public static final int SPAN_ID_FIELD_NUMBER
public static final int TRACESTATE_FIELD_NUMBER
public static final int PARENT_SPAN_ID_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int KIND_FIELD_NUMBER
public static final int START_TIME_FIELD_NUMBER
public static final int END_TIME_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER
public static final int STACK_TRACE_FIELD_NUMBER
public static final int TIME_EVENTS_FIELD_NUMBER
public static final int LINKS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int RESOURCE_FIELD_NUMBER
public static final int SAME_PROCESS_AS_PARENT_SPAN_FIELD_NUMBER
public static final int CHILD_SPAN_COUNT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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. An ID with all zeroes is considered invalid. This field is semantically required. Receiver should generate new random trace_id if empty or invalid trace_id was received. This field is required.
bytes trace_id = 1;getTraceId in interface SpanOrBuilderpublic 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. An ID with all zeroes is considered invalid. This field is semantically required. Receiver should generate new random span_id if empty or invalid span_id was received. This field is required.
bytes span_id = 2;getSpanId in interface SpanOrBuilderpublic boolean hasTracestate()
The Tracestate on the span.
.opencensus.proto.trace.v1.Span.Tracestate tracestate = 15;hasTracestate in interface SpanOrBuilderpublic Span.Tracestate getTracestate()
The Tracestate on the span.
.opencensus.proto.trace.v1.Span.Tracestate tracestate = 15;getTracestate in interface SpanOrBuilderpublic Span.TracestateOrBuilder getTracestateOrBuilder()
The Tracestate on the span.
.opencensus.proto.trace.v1.Span.Tracestate tracestate = 15;getTracestateOrBuilder in interface SpanOrBuilderpublic 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 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 semantically required to be set to non-empty string. When null or empty string received - receiver may use string "name" as a replacement. There might be smarted algorithms implemented by receiver to fix the empty span name. This field is required.
.opencensus.proto.trace.v1.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 semantically required to be set to non-empty string. When null or empty string received - receiver may use string "name" as a replacement. There might be smarted algorithms implemented by receiver to fix the empty span name. This field is required.
.opencensus.proto.trace.v1.TruncatableString name = 4;getName in interface SpanOrBuilderpublic 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 semantically required to be set to non-empty string. When null or empty string received - receiver may use string "name" as a replacement. There might be smarted algorithms implemented by receiver to fix the empty span name. This field is required.
.opencensus.proto.trace.v1.TruncatableString name = 4;getNameOrBuilder in interface SpanOrBuilderpublic int getKindValue()
Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `CLIENT` (caller) and `SERVER` (callee) to identify queueing latency associated with the span.
.opencensus.proto.trace.v1.Span.SpanKind kind = 14;getKindValue in interface SpanOrBuilderpublic Span.SpanKind getKind()
Distinguishes between spans generated in a particular context. For example, two spans with the same name may be distinguished using `CLIENT` (caller) and `SERVER` (callee) to identify queueing latency associated with the span.
.opencensus.proto.trace.v1.Span.SpanKind kind = 14;getKind 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. This field is semantically required. When not set on receive - receiver should set it to the value of end_time field if it was set. Or to the current time if neither was set. It is important to keep end_time > start_time for consistency. This field is required.
.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. This field is semantically required. When not set on receive - receiver should set it to the value of end_time field if it was set. Or to the current time if neither was set. It is important to keep end_time > start_time for consistency. This field is required.
.google.protobuf.Timestamp start_time = 5;getStartTime in interface SpanOrBuilderpublic 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. This field is semantically required. When not set on receive - receiver should set it to the value of end_time field if it was set. Or to the current time if neither was set. It is important to keep end_time > start_time for consistency. This field is required.
.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. This field is semantically required. When not set on receive - receiver should set it to start_time value. It is important to keep end_time > start_time for consistency. This field is required.
.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. This field is semantically required. When not set on receive - receiver should set it to start_time value. It is important to keep end_time > start_time for consistency. This field is required.
.google.protobuf.Timestamp end_time = 6;getEndTime in interface SpanOrBuilderpublic 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. This field is semantically required. When not set on receive - receiver should set it to start_time value. It is important to keep end_time > start_time for consistency. This field is required.
.google.protobuf.Timestamp end_time = 6;getEndTimeOrBuilder in interface SpanOrBuilderpublic boolean hasAttributes()
A set of attributes on the span.
.opencensus.proto.trace.v1.Span.Attributes attributes = 7;hasAttributes in interface SpanOrBuilderpublic Span.Attributes getAttributes()
A set of attributes on the span.
.opencensus.proto.trace.v1.Span.Attributes attributes = 7;getAttributes in interface SpanOrBuilderpublic Span.AttributesOrBuilder getAttributesOrBuilder()
A set of attributes on the span.
.opencensus.proto.trace.v1.Span.Attributes attributes = 7;getAttributesOrBuilder in interface SpanOrBuilderpublic boolean hasStackTrace()
A stack trace captured at the start of the span.
.opencensus.proto.trace.v1.StackTrace stack_trace = 8;hasStackTrace in interface SpanOrBuilderpublic StackTrace getStackTrace()
A stack trace captured at the start of the span.
.opencensus.proto.trace.v1.StackTrace stack_trace = 8;getStackTrace in interface SpanOrBuilderpublic StackTraceOrBuilder getStackTraceOrBuilder()
A stack trace captured at the start of the span.
.opencensus.proto.trace.v1.StackTrace stack_trace = 8;getStackTraceOrBuilder in interface SpanOrBuilderpublic boolean hasTimeEvents()
The included time events.
.opencensus.proto.trace.v1.Span.TimeEvents time_events = 9;hasTimeEvents in interface SpanOrBuilderpublic Span.TimeEvents getTimeEvents()
The included time events.
.opencensus.proto.trace.v1.Span.TimeEvents time_events = 9;getTimeEvents in interface SpanOrBuilderpublic Span.TimeEventsOrBuilder getTimeEventsOrBuilder()
The included time events.
.opencensus.proto.trace.v1.Span.TimeEvents time_events = 9;getTimeEventsOrBuilder in interface SpanOrBuilderpublic boolean hasLinks()
The included links.
.opencensus.proto.trace.v1.Span.Links links = 10;hasLinks in interface SpanOrBuilderpublic Span.Links getLinks()
The included links.
.opencensus.proto.trace.v1.Span.Links links = 10;getLinks in interface SpanOrBuilderpublic Span.LinksOrBuilder getLinksOrBuilder()
The included links.
.opencensus.proto.trace.v1.Span.Links links = 10;getLinksOrBuilder in interface SpanOrBuilderpublic boolean hasStatus()
An optional final status for this span. Semantically when Status wasn't set it is means span ended without errors and assume Status.Ok (code = 0).
.opencensus.proto.trace.v1.Status status = 11;hasStatus in interface SpanOrBuilderpublic Status getStatus()
An optional final status for this span. Semantically when Status wasn't set it is means span ended without errors and assume Status.Ok (code = 0).
.opencensus.proto.trace.v1.Status status = 11;getStatus in interface SpanOrBuilderpublic StatusOrBuilder getStatusOrBuilder()
An optional final status for this span. Semantically when Status wasn't set it is means span ended without errors and assume Status.Ok (code = 0).
.opencensus.proto.trace.v1.Status status = 11;getStatusOrBuilder in interface SpanOrBuilderpublic boolean hasResource()
An optional resource that is associated with this span. If not set, this span should be part of a batch that does include the resource information, unless resource information is unknown.
.opencensus.proto.resource.v1.Resource resource = 16;hasResource in interface SpanOrBuilderpublic Resource getResource()
An optional resource that is associated with this span. If not set, this span should be part of a batch that does include the resource information, unless resource information is unknown.
.opencensus.proto.resource.v1.Resource resource = 16;getResource in interface SpanOrBuilderpublic ResourceOrBuilder getResourceOrBuilder()
An optional resource that is associated with this span. If not set, this span should be part of a batch that does include the resource information, unless resource information is unknown.
.opencensus.proto.resource.v1.Resource resource = 16;getResourceOrBuilder 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. This flag is most commonly used to indicate the need to adjust time as clocks in different processes may not be synchronized.
.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. This flag is most commonly used to indicate the need to adjust time as clocks in different processes may not be synchronized.
.google.protobuf.BoolValue same_process_as_parent_span = 12;getSameProcessAsParentSpan in interface SpanOrBuilderpublic 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. This flag is most commonly used to indicate the need to adjust time as clocks in different processes may not be synchronized.
.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 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 boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Span parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Span parseFrom(InputStream input) throws IOException
IOExceptionpublic static Span parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Span parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Span parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Span parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Span parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Span.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Span.Builder newBuilder()
public static Span.Builder newBuilder(Span prototype)
public Span.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Span.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Span getDefaultInstance()
public static com.google.protobuf.Parser<Span> parser()
public com.google.protobuf.Parser<Span> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Span getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.