Google.Protobuf.WellKnownTypes.Value
public sealed class Value : IMessage<Value>, IMessage, IEquatable<Value>, IDeepCloneable<Value>, IBufferMessage
Represents a JSON value.
`Value` represents a dynamically typed value which can be either
null, a number, a string, a boolean, a recursive struct value, or a
list of values. A producer of value is expected to set one of these
variants. Absence of any variant is an invalid state.
Enum of possible cases for the "kind" oneof.
Field number for the "bool_value" field.
Field number for the "list_value" field.
Field number for the "null_value" field.
Field number for the "number_value" field.
Field number for the "string_value" field.
Field number for the "struct_value" field.
Represents a JSON boolean (`true` or `false` literal in JSON).
Gets whether the "bool_value" field is set
Gets whether the "null_value" field is set
Gets whether the "number_value" field is set
Gets whether the "string_value" field is set
Represents a JSON array.
Represents a JSON `null`.
Represents a JSON number. Must not be `NaN`, `Infinity` or
`-Infinity`, since those are not supported in JSON. This also cannot
represent large Int64 values, since JSON format generally does not
support them in its number type.
Represents a JSON string.
Represents a JSON object.
public Value()
Convenience method to create a Value message with a Boolean value.
Convenience method to create a Value message with an initial list of values.
Convenience method to create a Value message with a null initial value.
Convenience method to create a Value message with a number value.
Convenience method to create a Value message with a string value.
Convenience method to create a Value message with an initial struct value
Clears the value of the oneof if it's currently set to "bool_value"
Clears the value of the oneof if it's currently set to "null_value"
Clears the value of the oneof if it's currently set to "number_value"
Clears the value of the oneof if it's currently set to "string_value"