diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2015-04-20 11:30:31 -0700 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2015-04-20 11:30:31 -0700 |
commit | ca9d1a053a8590caa1a1f81491b0381f052fa734 (patch) | |
tree | 8b8b8b9f12c638f4db16ec6db07031475d89c926 /src/google/protobuf/struct.proto | |
parent | 4e63b52088ce409bbe43e4a37863d43b136143f0 (diff) |
Include all well-known type protos.
Change-Id: I122f1cee71a8a739ea603e52582cb0fa9698f0ed
Diffstat (limited to 'src/google/protobuf/struct.proto')
-rw-r--r-- | src/google/protobuf/struct.proto | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/src/google/protobuf/struct.proto b/src/google/protobuf/struct.proto index 9f27eb43..3a90ff37 100644 --- a/src/google/protobuf/struct.proto +++ b/src/google/protobuf/struct.proto @@ -56,28 +56,33 @@ message Value { oneof kind { // Represents a null value. NullValue null_value = 1; + // Represents a double value. double number_value = 2; + // Represents a string value. string string_value = 3; + // Represents a boolean value. bool bool_value = 4; + // Represents a structured value. Struct struct_value = 5; + // Represents a repeated `Value`. ListValue list_value = 6; } } +// `ListValue` is a wrapper around a repeated field of values. +message ListValue { + // Repeated field of dynamically typed values. + repeated Value values = 1; +} + // `NullValue` is a singleton enumeration to represent the null // value for the `Value` type union. enum NullValue { // Null value. NULL_VALUE = 0; } - -// `ListValue` is a wrapper around a repeated field of values. -message ListValue { - // Repeated field of dynamically typed values. - repeated Value values = 1; -} |