google.protobufstruct.proto

Value

Message

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 indicates an error.

The JSON representation for Value is JSON value.

FieldTypeNumberDescription
kindOneOf

The kind of value.

null_value
NullValue
1

Represents a null value.

number_valuedouble2

Represents a double value.

string_valuestring3

Represents a string value.

bool_valuebool4

Represents a boolean value.

struct_value
Struct
5

Represents a structured value.

list_value
ListValue
6

Represents a repeated Value.