Stubs

Module

stubs/wellknowntypes

The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.

OfficialPublic

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

FieldTypeNumberDescription
null_valueNullValue1
One of kind

Represents a JSON null.

number_valuedouble2
One of kind

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.

string_valuestring3
One of kind

Represents a JSON string.

bool_valuebool4
One of kind

Represents a JSON boolean (true or false literal in JSON).

struct_valueStruct5
One of kind

Represents a JSON object.

list_valueListValue6
One of kind

Represents a JSON array.

Oneofs

Used by

Defined in google/protobuf/struct.proto