trait SpanOrBuilder extends MessageOrBuilder
- Alphabetic
- By Inheritance
- SpanOrBuilder
- MessageOrBuilder
- MessageLiteOrBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def findInitializationErrors(): List[String]
- Definition Classes
- MessageOrBuilder
- abstract def getAllFields(): Map[FieldDescriptor, AnyRef]
- Definition Classes
- MessageOrBuilder
- abstract def getAttributes(): Attributes
A set of attributes on the span.
A set of attributes on the span.
.opencensus.proto.trace.v1.Span.Attributes attributes = 7;
- returns
The attributes.
- abstract def getAttributesOrBuilder(): AttributesOrBuilder
A set of attributes on the span.
A set of attributes on the span.
.opencensus.proto.trace.v1.Span.Attributes attributes = 7;
- abstract def getChildSpanCount(): UInt32Value
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
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;
- returns
The childSpanCount.
- abstract def getChildSpanCountOrBuilder(): UInt32ValueOrBuilder
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
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;
- abstract def getDefaultInstanceForType(): Message
- Definition Classes
- MessageOrBuilder → MessageLiteOrBuilder
- abstract def getDescriptorForType(): Descriptor
- Definition Classes
- MessageOrBuilder
- abstract def getEndTime(): Timestamp
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.
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;
- returns
The endTime.
- abstract def getEndTimeOrBuilder(): TimestampOrBuilder
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.
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;
- abstract def getField(arg0: FieldDescriptor): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getInitializationErrorString(): String
- Definition Classes
- MessageOrBuilder
- abstract def getKind(): SpanKind
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.
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;
- returns
The kind.
- abstract def getKindValue(): Int
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.
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;
- returns
The enum numeric value on the wire for kind.
- abstract def getLinks(): Links
The included links.
The included links.
.opencensus.proto.trace.v1.Span.Links links = 10;
- returns
The links.
- abstract def getLinksOrBuilder(): LinksOrBuilder
The included links.
The included links.
.opencensus.proto.trace.v1.Span.Links links = 10;
- abstract def getName(): TruncatableString
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.
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;
- returns
The name.
- abstract def getNameOrBuilder(): TruncatableStringOrBuilder
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.
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;
- abstract def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
- Definition Classes
- MessageOrBuilder
- abstract def getParentSpanId(): ByteString
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.
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;
- returns
The parentSpanId.
- abstract def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
- Definition Classes
- MessageOrBuilder
- abstract def getRepeatedFieldCount(arg0: FieldDescriptor): Int
- Definition Classes
- MessageOrBuilder
- abstract def getResource(): Resource
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.
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;
- returns
The resource.
- abstract def getResourceOrBuilder(): ResourceOrBuilder
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.
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;
- abstract def getSameProcessAsParentSpan(): BoolValue
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.
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;
- returns
The sameProcessAsParentSpan.
- abstract def getSameProcessAsParentSpanOrBuilder(): BoolValueOrBuilder
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.
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;
- abstract def getSpanId(): ByteString
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.
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;
- returns
The spanId.
- abstract def getStackTrace(): StackTrace
A stack trace captured at the start of the span.
A stack trace captured at the start of the span.
.opencensus.proto.trace.v1.StackTrace stack_trace = 8;
- returns
The stackTrace.
- abstract def getStackTraceOrBuilder(): StackTraceOrBuilder
A stack trace captured at the start of the span.
A stack trace captured at the start of the span.
.opencensus.proto.trace.v1.StackTrace stack_trace = 8;
- abstract def getStartTime(): Timestamp
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.
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;
- returns
The startTime.
- abstract def getStartTimeOrBuilder(): TimestampOrBuilder
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.
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;
- abstract def getStatus(): Status
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).
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;
- returns
The status.
- abstract def getStatusOrBuilder(): StatusOrBuilder
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).
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;
- abstract def getTimeEvents(): TimeEvents
The included time events.
The included time events.
.opencensus.proto.trace.v1.Span.TimeEvents time_events = 9;
- returns
The timeEvents.
- abstract def getTimeEventsOrBuilder(): TimeEventsOrBuilder
The included time events.
The included time events.
.opencensus.proto.trace.v1.Span.TimeEvents time_events = 9;
- abstract def getTraceId(): ByteString
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.
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;
- returns
The traceId.
- abstract def getTracestate(): Tracestate
The Tracestate on the span.
The Tracestate on the span.
.opencensus.proto.trace.v1.Span.Tracestate tracestate = 15;
- returns
The tracestate.
- abstract def getTracestateOrBuilder(): TracestateOrBuilder
The Tracestate on the span.
The Tracestate on the span.
.opencensus.proto.trace.v1.Span.Tracestate tracestate = 15;
- abstract def getUnknownFields(): UnknownFieldSet
- Definition Classes
- MessageOrBuilder
- abstract def hasAttributes(): Boolean
A set of attributes on the span.
A set of attributes on the span.
.opencensus.proto.trace.v1.Span.Attributes attributes = 7;
- returns
Whether the attributes field is set.
- abstract def hasChildSpanCount(): Boolean
An optional number of child spans that were generated while this span was active. If set, allows an implementation to detect missing child spans.
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;
- returns
Whether the childSpanCount field is set.
- abstract def hasEndTime(): Boolean
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.
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;
- returns
Whether the endTime field is set.
- abstract def hasField(arg0: FieldDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def hasLinks(): Boolean
The included links.
The included links.
.opencensus.proto.trace.v1.Span.Links links = 10;
- returns
Whether the links field is set.
- abstract def hasName(): Boolean
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.
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;
- returns
Whether the name field is set.
- abstract def hasOneof(arg0: OneofDescriptor): Boolean
- Definition Classes
- MessageOrBuilder
- abstract def hasResource(): Boolean
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.
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;
- returns
Whether the resource field is set.
- abstract def hasSameProcessAsParentSpan(): Boolean
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.
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;
- returns
Whether the sameProcessAsParentSpan field is set.
- abstract def hasStackTrace(): Boolean
A stack trace captured at the start of the span.
A stack trace captured at the start of the span.
.opencensus.proto.trace.v1.StackTrace stack_trace = 8;
- returns
Whether the stackTrace field is set.
- abstract def hasStartTime(): Boolean
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.
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;
- returns
Whether the startTime field is set.
- abstract def hasStatus(): Boolean
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).
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;
- returns
Whether the status field is set.
- abstract def hasTimeEvents(): Boolean
The included time events.
The included time events.
.opencensus.proto.trace.v1.Span.TimeEvents time_events = 9;
- returns
Whether the timeEvents field is set.
- abstract def hasTracestate(): Boolean
The Tracestate on the span.
The Tracestate on the span.
.opencensus.proto.trace.v1.Span.Tracestate tracestate = 15;
- returns
Whether the tracestate field is set.
- abstract def isInitialized(): Boolean
- Definition Classes
- MessageLiteOrBuilder
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()