Packages

final case class ResourceSpans(resource: Option[Resource] = _root_.scala.None, scopeSpans: Seq[ScopeSpans] = _root_.scala.Seq.empty, instrumentationLibrarySpans: Seq[InstrumentationLibrarySpans] = _root_.scala.Seq.empty, schemaUrl: String = "", unknownFields: UnknownFieldSet = ...) extends GeneratedMessage with Updatable[ResourceSpans] with Product with Serializable

A collection of ScopeSpans from a Resource.

resource

The resource for the spans in this message. If this field is not set then no resource info is known.

scopeSpans

A list of ScopeSpans that originate from a resource.

instrumentationLibrarySpans

A list of InstrumentationLibrarySpans that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs

Binary Protobuf senders SHOULD NOT set instrumentation_library_spans. Instead scope_spans SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_spans is set and scope_spans is not set then the value in instrumentation_library_spans SHOULD be used instead by converting InstrumentationLibrarySpans into ScopeSpans. If scope_spans is set then instrumentation_library_spans SHOULD be ignored. For JSON
JSON senders that set instrumentation_library_spans field MAY also set scope_spans to carry the same spans, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_spans and SHOULD NOT set instrumentation_library_spans. JSON receivers SHOULD check if instrumentation_library_spans is set and scope_spans is not set then the value in instrumentation_library_spans SHOULD be used instead by converting InstrumentationLibrarySpans into ScopeSpans. If scope_spans is set then instrumentation_library_spans field SHOULD be ignored.
schemaUrl

This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_spans" field which have their own schema_url field.

Annotations
@SerialVersionUID()
Linear Supertypes
Updatable[ResourceSpans], GeneratedMessage, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ResourceSpans
  2. Updatable
  3. GeneratedMessage
  4. Serializable
  5. Serializable
  6. Product
  7. Equals
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ResourceSpans(resource: Option[Resource] = _root_.scala.None, scopeSpans: Seq[ScopeSpans] = _root_.scala.Seq.empty, instrumentationLibrarySpans: Seq[InstrumentationLibrarySpans] = _root_.scala.Seq.empty, schemaUrl: String = "", unknownFields: UnknownFieldSet = ...)

    resource

    The resource for the spans in this message. If this field is not set then no resource info is known.

    scopeSpans

    A list of ScopeSpans that originate from a resource.

    instrumentationLibrarySpans

    A list of InstrumentationLibrarySpans that originate from a resource. This field is deprecated and will be removed after grace period expires on June 15, 2022. During the grace period the following rules SHOULD be followed: For Binary Protobufs

    Binary Protobuf senders SHOULD NOT set instrumentation_library_spans. Instead scope_spans SHOULD be set. Binary Protobuf receivers SHOULD check if instrumentation_library_spans is set and scope_spans is not set then the value in instrumentation_library_spans SHOULD be used instead by converting InstrumentationLibrarySpans into ScopeSpans. If scope_spans is set then instrumentation_library_spans SHOULD be ignored. For JSON
    JSON senders that set instrumentation_library_spans field MAY also set scope_spans to carry the same spans, essentially double-publishing the same data. Such double-publishing MAY be controlled by a user-settable option. If double-publishing is not used then the senders SHOULD set scope_spans and SHOULD NOT set instrumentation_library_spans. JSON receivers SHOULD check if instrumentation_library_spans is set and scope_spans is not set then the value in instrumentation_library_spans SHOULD be used instead by converting InstrumentationLibrarySpans into ScopeSpans. If scope_spans is set then instrumentation_library_spans field SHOULD be ignored.
    schemaUrl

    This schema_url applies to the data in the "resource" field. It does not apply to the data in the "scope_spans" field which have their own schema_url field.

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. def addAllInstrumentationLibrarySpans(__vs: Iterable[InstrumentationLibrarySpans]): ResourceSpans
  5. def addAllScopeSpans(__vs: Iterable[ScopeSpans]): ResourceSpans
  6. def addInstrumentationLibrarySpans(__vs: InstrumentationLibrarySpans*): ResourceSpans
  7. def addScopeSpans(__vs: ScopeSpans*): ResourceSpans
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def clearInstrumentationLibrarySpans: ResourceSpans
  10. def clearResource: ResourceSpans
  11. def clearScopeSpans: ResourceSpans
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. def companion: ResourceSpans.type
    Definition Classes
    ResourceSpans → GeneratedMessage
  14. def discardUnknownFields: ResourceSpans
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def getField(__field: FieldDescriptor): PValue
    Definition Classes
    ResourceSpans → GeneratedMessage
  18. def getFieldByNumber(__fieldNumber: Int): Any
    Definition Classes
    ResourceSpans → GeneratedMessage
  19. def getResource: Resource
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. val resource: Option[Resource]
  25. val schemaUrl: String
  26. val scopeSpans: Seq[ScopeSpans]
  27. def serializedSize: Int
    Definition Classes
    ResourceSpans → GeneratedMessage
  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. final def toByteArray: Array[Byte]
    Definition Classes
    GeneratedMessage
  30. final def toByteString: ByteString
    Definition Classes
    GeneratedMessage
  31. final def toPMessage: PMessage
    Definition Classes
    GeneratedMessage
  32. def toProtoString: String
    Definition Classes
    ResourceSpans → GeneratedMessage
  33. val unknownFields: UnknownFieldSet
  34. def update(ms: (Lens[ResourceSpans, ResourceSpans]) ⇒ Mutation[ResourceSpans]*): ResourceSpans
    Definition Classes
    Updatable
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def withInstrumentationLibrarySpans(__v: Seq[InstrumentationLibrarySpans]): ResourceSpans
  39. def withResource(__v: Resource): ResourceSpans
  40. def withSchemaUrl(__v: String): ResourceSpans
  41. def withScopeSpans(__v: Seq[ScopeSpans]): ResourceSpans
  42. def withUnknownFields(__v: UnknownFieldSet): ResourceSpans
  43. final def writeDelimitedTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage
  44. def writeTo(_output__: CodedOutputStream): Unit
    Definition Classes
    ResourceSpans → GeneratedMessage
  45. final def writeTo(output: OutputStream): Unit
    Definition Classes
    GeneratedMessage

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. val instrumentationLibrarySpans: Seq[InstrumentationLibrarySpans]
    Annotations
    @deprecated
    Deprecated

    (Since version ) Marked as deprecated in proto file

Inherited from Updatable[ResourceSpans]

Inherited from GeneratedMessage

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped