<PackageReference Include="Serilog.Sinks.OpenTelemetry" Version="4.2.0" />

OpenTelemetry.Proto.Common.V1.AnyValue

sealed class AnyValue : IMessage<AnyValue>, IMessage, IEquatable<AnyValue>, IDeepCloneable<AnyValue>, IBufferMessage
AnyValue is used to represent any type of attribute value. AnyValue may contain a primitive value such as a string or integer or it may contain an arbitrary nested object containing arrays, key-value lists and primitives.
public enum ValueOneofCase

Enum of possible cases for the "value" oneof.

public const int ArrayValueFieldNumber = 5

Field number for the "array_value" field.

public const int BoolValueFieldNumber = 2

Field number for the "bool_value" field.

public const int BytesValueFieldNumber = 7

Field number for the "bytes_value" field.

public const int DoubleValueFieldNumber = 4

Field number for the "double_value" field.

public const int IntValueFieldNumber = 3

Field number for the "int_value" field.

public const int KvlistValueFieldNumber = 6

Field number for the "kvlist_value" field.

public const int StringValueFieldNumber = 1

Field number for the "string_value" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<AnyValue> Parser { get; }

public ArrayValue ArrayValue { get; set; }

public bool BoolValue { get; set; }

public ByteString BytesValue { get; set; }

public double DoubleValue { get; set; }

public long IntValue { get; set; }

public KeyValueList KvlistValue { get; set; }

public string StringValue { get; set; }

public ValueOneofCase ValueCase { get; }

public AnyValue()

public AnyValue(AnyValue other)

public int CalculateSize()

public void ClearValue()

public AnyValue Clone()

public bool Equals(AnyValue other)

public void MergeFrom(AnyValue other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)