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()
- Alphabetic
- By Inheritance
- ResourceSpans
- Updatable
- GeneratedMessage
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
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
-
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
- def addAllInstrumentationLibrarySpans(__vs: Iterable[InstrumentationLibrarySpans]): ResourceSpans
- def addAllScopeSpans(__vs: Iterable[ScopeSpans]): ResourceSpans
- def addInstrumentationLibrarySpans(__vs: InstrumentationLibrarySpans*): ResourceSpans
- def addScopeSpans(__vs: ScopeSpans*): ResourceSpans
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clearInstrumentationLibrarySpans: ResourceSpans
- def clearResource: ResourceSpans
- def clearScopeSpans: ResourceSpans
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
companion: ResourceSpans.type
- Definition Classes
- ResourceSpans → GeneratedMessage
- def discardUnknownFields: ResourceSpans
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
getField(__field: FieldDescriptor): PValue
- Definition Classes
- ResourceSpans → GeneratedMessage
-
def
getFieldByNumber(__fieldNumber: Int): Any
- Definition Classes
- ResourceSpans → GeneratedMessage
- def getResource: Resource
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val resource: Option[Resource]
- val schemaUrl: String
- val scopeSpans: Seq[ScopeSpans]
-
def
serializedSize: Int
- Definition Classes
- ResourceSpans → GeneratedMessage
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
toByteArray: Array[Byte]
- Definition Classes
- GeneratedMessage
-
final
def
toByteString: ByteString
- Definition Classes
- GeneratedMessage
-
final
def
toPMessage: PMessage
- Definition Classes
- GeneratedMessage
-
def
toProtoString: String
- Definition Classes
- ResourceSpans → GeneratedMessage
- val unknownFields: UnknownFieldSet
-
def
update(ms: (Lens[ResourceSpans, ResourceSpans]) ⇒ Mutation[ResourceSpans]*): ResourceSpans
- Definition Classes
- Updatable
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- def withInstrumentationLibrarySpans(__v: Seq[InstrumentationLibrarySpans]): ResourceSpans
- def withResource(__v: Resource): ResourceSpans
- def withSchemaUrl(__v: String): ResourceSpans
- def withScopeSpans(__v: Seq[ScopeSpans]): ResourceSpans
- def withUnknownFields(__v: UnknownFieldSet): ResourceSpans
-
final
def
writeDelimitedTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
-
def
writeTo(_output__: CodedOutputStream): Unit
- Definition Classes
- ResourceSpans → GeneratedMessage
-
final
def
writeTo(output: OutputStream): Unit
- Definition Classes
- GeneratedMessage
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
val
instrumentationLibrarySpans: Seq[InstrumentationLibrarySpans]
- Annotations
- @deprecated
- Deprecated
(Since version ) Marked as deprecated in proto file