KeyValueList

io.opentelemetry.proto.common.v1.common.KeyValueList
See theKeyValueList companion object
final case class KeyValueList(values: Seq[KeyValue], unknownFields: UnknownFieldSet) extends GeneratedMessage, Updatable[KeyValueList]

KeyValueList is a list of KeyValue messages. We need KeyValueList as a message since oneof in AnyValue does not allow repeated fields. Everywhere else where we need a list of KeyValue messages (e.g. in Span) we use repeated KeyValue directly to avoid unnecessary extra wrapping (which slows down the protocol). The 2 approaches are semantically equivalent.

Value parameters

values

A collection of key/value pairs of key-value pairs. The list may be empty (may contain 0 elements). The keys MUST be unique (it is not allowed to have more than one value with the same key).

Attributes

Companion
object
Source
KeyValueList.scala
Graph
Supertypes
trait Updatable[KeyValueList]
trait GeneratedMessage
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

Attributes

Source
KeyValueList.scala

Attributes

Source
KeyValueList.scala

Attributes

Source
KeyValueList.scala
def getField(`__field`: FieldDescriptor): PValue

Attributes

Source
KeyValueList.scala
def getFieldByNumber(`__fieldNumber`: Int): Any

Attributes

Source
KeyValueList.scala
override def serializedSize: Int

Attributes

Definition Classes
GeneratedMessage
Source
KeyValueList.scala

Returns a human-readable ASCII format representation of this message.

Returns a human-readable ASCII format representation of this message.

The original message can be decoded from this format by using fromAscii on the companion object.

Attributes

Returns

human-readable representation of this message.

Source
KeyValueList.scala
def withUnknownFields(`__v`: UnknownFieldSet): KeyValueList

Attributes

Source
KeyValueList.scala

Attributes

Source
KeyValueList.scala
def writeTo(`_output__`: CodedOutputStream): Unit

Serializes the message into the given coded output stream

Serializes the message into the given coded output stream

Attributes

Source
KeyValueList.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product
final def toByteArray: Array[Byte]

Serializes the message and returns a byte array containing its raw bytes

Serializes the message and returns a byte array containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toByteString: ByteString

Serializes the message and returns a ByteString containing its raw bytes

Serializes the message and returns a ByteString containing its raw bytes

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def toPMessage: PMessage

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala

Attributes

Inherited from:
Updatable
Source
Lenses.scala
final def writeDelimitedTo(output: OutputStream): Unit

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala
final def writeTo(output: OutputStream): Unit

Serializes the message into the given output stream

Serializes the message into the given output stream

Attributes

Inherited from:
GeneratedMessage
Source
GeneratedMessageCompanion.scala