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 that variants, absence of any variant indicates an error.

The JSON representation for Value is JSON value.

Field

Type

Repeated

Description

kind

oneOf

⮑null_value

NullValue

Represents a null value.

⮑number_value

double

Represents a double value.

⮑string_value

string

Represents a string value.

⮑bool_value

bool

Represents a boolean value.

⮑struct_value

Struct

Represents a structured value.

⮑list_value

ListValue

Represents a repeated Value.

⮑code_value

Code

Represents a Code value

Member of

Message

Description

ListValue

ListValue is a wrapper around a repeated field of values.

The JSON representation for ListValue is JSON array.

Struct.FieldsEntry