final class Span extends GeneratedMessageV3 with 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

Source
Span.java
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Span
  2. SpanOrBuilder
  3. GeneratedMessageV3
  4. Serializable
  5. AbstractMessage
  6. Message
  7. MessageOrBuilder
  8. AbstractMessageLite
  9. MessageLite
  10. MessageLiteOrBuilder
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(obj: AnyRef): Boolean
    Definition Classes
    Span → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  9. def findInitializationErrors(): List[String]
    Definition Classes
    AbstractMessage → MessageOrBuilder
  10. def getAllFields(): Map[FieldDescriptor, AnyRef]
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  11. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  12. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  13. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  14. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  15. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. def getDefaultInstanceForType(): Span
    Definition Classes
    Span → MessageOrBuilder → MessageLiteOrBuilder
    Annotations
    @Override()
  17. def getDescriptorForType(): Descriptor
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  18. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  19. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  20. def getField(arg0: FieldDescriptor): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  21. def getInitializationErrorString(): String
    Definition Classes
    AbstractMessage → MessageOrBuilder
  22. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  23. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  24. def getLinks(): Links

    The included links.
    

    The included links.
    

    .opencensus.proto.trace.v1.Span.Links links = 10;

    returns

    The links.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  25. def getLinksOrBuilder(): LinksOrBuilder

    The included links.
    

    The included links.
    

    .opencensus.proto.trace.v1.Span.Links links = 10;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  26. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  27. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  28. def getOneofFieldDescriptor(arg0: OneofDescriptor): FieldDescriptor
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  29. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  30. def getParserForType(): Parser[Span]
    Definition Classes
    Span → GeneratedMessageV3 → Message → MessageLite
    Annotations
    @Override()
  31. def getRepeatedField(arg0: FieldDescriptor, arg1: Int): AnyRef
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  32. def getRepeatedFieldCount(arg0: FieldDescriptor): Int
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  33. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  34. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  35. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  36. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  37. def getSerializedSize(): Int
    Definition Classes
    Span → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  38. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  39. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  40. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  41. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  42. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  43. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  44. 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;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  45. def getTimeEvents(): TimeEvents

    The included time events.
    

    The included time events.
    

    .opencensus.proto.trace.v1.Span.TimeEvents time_events = 9;

    returns

    The timeEvents.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  46. def getTimeEventsOrBuilder(): TimeEventsOrBuilder

    The included time events.
    

    The included time events.
    

    .opencensus.proto.trace.v1.Span.TimeEvents time_events = 9;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  47. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  48. def getTracestate(): Tracestate

    The Tracestate on the span.
    

    The Tracestate on the span.
    

    .opencensus.proto.trace.v1.Span.Tracestate tracestate = 15;

    returns

    The tracestate.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  49. def getTracestateOrBuilder(): TracestateOrBuilder

    The Tracestate on the span.
    

    The Tracestate on the span.
    

    .opencensus.proto.trace.v1.Span.Tracestate tracestate = 15;

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  50. def getUnknownFields(): UnknownFieldSet
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  51. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  52. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  53. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  54. def hasField(arg0: FieldDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → MessageOrBuilder
  55. def hasLinks(): Boolean

    The included links.
    

    The included links.
    

    .opencensus.proto.trace.v1.Span.Links links = 10;

    returns

    Whether the links field is set.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  56. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  57. def hasOneof(arg0: OneofDescriptor): Boolean
    Definition Classes
    GeneratedMessageV3 → AbstractMessage → MessageOrBuilder
  58. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  59. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  60. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  61. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  62. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  63. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  64. 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.

    Definition Classes
    SpanSpanOrBuilder
    Annotations
    @Override()
  65. def hashCode(): Int
    Definition Classes
    Span → AbstractMessage → Message → AnyRef → Any
    Annotations
    @Override()
  66. def internalGetFieldAccessorTable(): FieldAccessorTable
    Attributes
    protected[v1]
    Definition Classes
    Span → GeneratedMessageV3
    Annotations
    @Override()
  67. def internalGetMapField(arg0: Int): MapField[_ <: AnyRef, _ <: AnyRef]
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  68. final def isInitialized(): Boolean
    Definition Classes
    Span → GeneratedMessageV3 → AbstractMessage → MessageLiteOrBuilder
    Annotations
    @Override()
  69. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  70. def makeExtensionsImmutable(): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
  71. def mergeFromAndMakeImmutableInternal(arg0: CodedInputStream, arg1: ExtensionRegistryLite): Unit
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[com.google.protobuf.InvalidProtocolBufferException])
  72. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  73. def newBuilderForType(parent: BuilderParent): Builder
    Attributes
    protected[v1]
    Definition Classes
    Span → GeneratedMessageV3
    Annotations
    @Override()
  74. def newBuilderForType(): Builder
    Definition Classes
    Span → Message → MessageLite
    Annotations
    @Override()
  75. def newBuilderForType(arg0: BuilderParent): Builder
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3 → AbstractMessage
  76. def newInstance(unused: UnusedPrivateParameter): AnyRef
    Attributes
    protected[v1]
    Definition Classes
    Span → GeneratedMessageV3
    Annotations
    @Override() @SuppressWarnings()
  77. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  78. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  79. def parseUnknownField(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  80. def parseUnknownFieldProto3(arg0: CodedInputStream, arg1: Builder, arg2: ExtensionRegistryLite, arg3: Int): Boolean
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.IOException])
  81. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  82. def toBuilder(): Builder
    Definition Classes
    Span → Message → MessageLite
    Annotations
    @Override()
  83. def toByteArray(): Array[Byte]
    Definition Classes
    AbstractMessageLite → MessageLite
  84. def toByteString(): ByteString
    Definition Classes
    AbstractMessageLite → MessageLite
  85. final def toString(): String
    Definition Classes
    AbstractMessage → Message → AnyRef → Any
  86. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  87. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  88. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  89. def writeDelimitedTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])
  90. def writeReplace(): AnyRef
    Attributes
    protected[protobuf]
    Definition Classes
    GeneratedMessageV3
    Annotations
    @throws(classOf[java.io.ObjectStreamException])
  91. def writeTo(output: CodedOutputStream): Unit
    Definition Classes
    Span → GeneratedMessageV3 → AbstractMessage → MessageLite
    Annotations
    @Override()
  92. def writeTo(arg0: OutputStream): Unit
    Definition Classes
    AbstractMessageLite → MessageLite
    Annotations
    @throws(classOf[java.io.IOException])

Inherited from SpanOrBuilder

Inherited from GeneratedMessageV3

Inherited from Serializable

Inherited from AbstractMessage

Inherited from Message

Inherited from MessageOrBuilder

Inherited from AbstractMessageLite[MessageType, BuilderType]

Inherited from MessageLite

Inherited from MessageLiteOrBuilder

Inherited from AnyRef

Inherited from Any

Ungrouped