Message in google.protobuf
Value
google.protobuf.Value
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.
Fields
| Field | Type | Number | Description |
|---|---|---|---|
| null_value | NullValue | 1 | One of kind Represents a JSON |
| number_value | double | 2 | One of kind Represents a JSON number. Must not be |
| string_value | string | 3 | One of kind Represents a JSON string. |
| bool_value | bool | 4 | One of kind Represents a JSON boolean ( |
| struct_value | Struct | 5 | One of kind Represents a JSON object. |
| list_value | ListValue | 6 | One of kind Represents a JSON array. |
Oneofs
- kindOnly one of null_value, number_value, string_value, bool_value, struct_value, list_value is set.
The kind of value.
Used by
Defined in google/protobuf/struct.proto