aboutsummaryrefslogtreecommitdiff
path: root/src/google/protobuf/unittest_well_known_types.proto
diff options
context:
space:
mode:
authorJon Skeet <jonskeet@google.com>2016-01-15 14:18:16 +0000
committerJon Skeet <jonskeet@google.com>2016-01-15 14:18:16 +0000
commitb1ea15f7a5480fe946165b0257de4981edca1c82 (patch)
treece1eae7636824d4137c64b2cad8a579d4836eee3 /src/google/protobuf/unittest_well_known_types.proto
parent8866d6a80ed30e1ff32f1c5420f1a803c26fa13a (diff)
downloadprotobuf-b1ea15f7a5480fe946165b0257de4981edca1c82.tar.gz
protobuf-b1ea15f7a5480fe946165b0257de4981edca1c82.tar.bz2
protobuf-b1ea15f7a5480fe946165b0257de4981edca1c82.zip
Make sure that
"valueField": null is parsed appropriately, i.e. that it remembers that the field is set.
Diffstat (limited to 'src/google/protobuf/unittest_well_known_types.proto')
-rw-r--r--src/google/protobuf/unittest_well_known_types.proto2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/google/protobuf/unittest_well_known_types.proto b/src/google/protobuf/unittest_well_known_types.proto
index 2cb7775c..c9075244 100644
--- a/src/google/protobuf/unittest_well_known_types.proto
+++ b/src/google/protobuf/unittest_well_known_types.proto
@@ -39,6 +39,8 @@ message TestWellKnownTypes {
google.protobuf.BoolValue bool_field = 16;
google.protobuf.StringValue string_field = 17;
google.protobuf.BytesValue bytes_field = 18;
+ // Part of struct, but useful to be able to test separately
+ google.protobuf.Value value_field = 19;
}
// A repeated field for each well-known type.