From d64a2d9941c36a7bc2a7959ea10ab8363192ac14 Mon Sep 17 00:00:00 2001 From: Adam Cozzette Date: Wed, 29 Jun 2016 15:23:27 -0700 Subject: Integrated internal changes from Google This includes all internal changes from around May 20 to now. --- js/testbinary.proto | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'js/testbinary.proto') diff --git a/js/testbinary.proto b/js/testbinary.proto index 60c70190..a3fcb5f1 100644 --- a/js/testbinary.proto +++ b/js/testbinary.proto @@ -183,3 +183,32 @@ extend TestExtendable { [packed=true]; } + +message TestMapFields { + option (jspb.generate_from_object) = true; + + map map_string_string = 1; + map map_string_int32 = 2; + map map_string_int64 = 3; + map map_string_bool = 4; + map map_string_double = 5; + map map_string_enum = 6; + map map_string_msg = 7; + + map map_int32_string = 8; + map map_int64_string = 9; + map map_bool_string = 10; + + optional TestMapFields test_map_fields = 11; + map map_string_testmapfields = 12; +} + +enum MapValueEnum { + MAP_VALUE_FOO = 0; + MAP_VALUE_BAR = 1; + MAP_VALUE_BAZ = 2; +} + +message MapValueMessage { + optional int32 foo = 1; +} -- cgit v1.2.3