OpenTelemetry.Proto.Common.V1.KeyValue
sealed class KeyValue : IMessage<KeyValue>, IMessage, IEquatable<KeyValue>, IDeepCloneable<KeyValue>, IBufferMessage
KeyValue is a key-value pair that is used to store Span attributes, Link
attributes, etc.
namespace OpenTelemetry.Proto.Common.V1
{
internal sealed class KeyValue : IEquatable<KeyValue>
{
public const int KeyFieldNumber = 1;
public const int ValueFieldNumber = 2;
public static MessageParser<KeyValue> Parser { get; }
public static MessageDescriptor Descriptor { get; }
MessageDescriptor Descriptor { get; }
public string Key { get; set; }
public AnyValue Value { get; set; }
public KeyValue();
public KeyValue(KeyValue other);
public KeyValue Clone();
public bool Equals(KeyValue other);
public void WriteTo(CodedOutputStream output);
void InternalWriteTo(ref WriteContext output);
public int CalculateSize();
public void MergeFrom(KeyValue other);
public void MergeFrom(CodedInputStream input);
void InternalMergeFrom(ref ParseContext input);
}
}