#unittest_import_public_proto3.protoprotobuf_unittest_import"# PublicImportMessage e (ReBGoogle.Protobuf.TestProtosJ  (   2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2( Author: liujisi@google.com (Pherl Liu)  "!  $7 %$7 &( & ' ' ' ' bproto3  unittest_import_proto3.protoprotobuf_unittest_import#unittest_import_public_proto3.proto" ImportMessage d (Rd*Y ImportEnum IMPORT_ENUM_UNSPECIFIED IMPORT_FOO IMPORT_BAR IMPORT_BAZ BGoogle.Protobuf.TestProtosJ $6   $2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2 Author: kenton@google.com (Kenton Varda) Based on original Protocol Buffers design by Sanjay Ghemawat, Jeff Dean, and others. A proto file which is imported by unittest_proto3.proto to test importing.  &!  (7 %(7  +4 Test public import  + -/ - . . . . 16 1 2 2 2 3 3 3 4 4 4 5 5 5Pbproto3  unittest_proto3.protoprotobuf_unittest3unittest_import_proto3.proto" TestAllTypes! single_int32 (R singleInt32! single_int64 (R singleInt64# single_uint32 ( R singleUint32# single_uint64 (R singleUint64# single_sint32 (R singleSint32# single_sint64 (R singleSint64% single_fixed32 (R singleFixed32% single_fixed64 (R singleFixed64' single_sfixed32 (RsingleSfixed32' single_sfixed64 (RsingleSfixed64! single_float (R singleFloat# single_double (R singleDouble single_bool (R singleBool# single_string ( R singleString! single_bytes ( R singleBytesb single_nested_message ( 2..protobuf_unittest3.TestAllTypes.NestedMessageRsingleNestedMessageX single_foreign_message ( 2".protobuf_unittest3.ForeignMessageRsingleForeignMessage[ single_import_message ( 2'.protobuf_unittest_import.ImportMessageRsingleImportMessageY single_nested_enum (2+.protobuf_unittest3.TestAllTypes.NestedEnumRsingleNestedEnumO single_foreign_enum (2.protobuf_unittest3.ForeignEnumRsingleForeignEnumR single_import_enum (2$.protobuf_unittest_import.ImportEnumRsingleImportEnumn single_public_import_message ( 2-.protobuf_unittest_import.PublicImportMessageRsinglePublicImportMessage% repeated_int32 (R repeatedInt32% repeated_int64 (R repeatedInt64' repeated_uint32! ( RrepeatedUint32' repeated_uint64" (RrepeatedUint64' repeated_sint32# (RrepeatedSint32' repeated_sint64$ (RrepeatedSint64) repeated_fixed32% (RrepeatedFixed32) repeated_fixed64& (RrepeatedFixed64+ repeated_sfixed32' (RrepeatedSfixed32+ repeated_sfixed64( (RrepeatedSfixed64% repeated_float) (R repeatedFloat' repeated_double* (RrepeatedDouble# repeated_bool+ (R repeatedBool' repeated_string, ( RrepeatedString% repeated_bytes- ( R repeatedBytesf repeated_nested_message0 ( 2..protobuf_unittest3.TestAllTypes.NestedMessageRrepeatedNestedMessage\ repeated_foreign_message1 ( 2".protobuf_unittest3.ForeignMessageRrepeatedForeignMessage_ repeated_import_message2 ( 2'.protobuf_unittest_import.ImportMessageRrepeatedImportMessage] repeated_nested_enum3 (2+.protobuf_unittest3.TestAllTypes.NestedEnumRrepeatedNestedEnumS repeated_foreign_enum4 (2.protobuf_unittest3.ForeignEnumRrepeatedForeignEnumV repeated_import_enum5 (2$.protobuf_unittest_import.ImportEnumRrepeatedImportEnumr repeated_public_import_message6 ( 2-.protobuf_unittest_import.PublicImportMessageRrepeatedPublicImportMessage# oneof_uint32o ( HR oneofUint32b oneof_nested_messagep ( 2..protobuf_unittest3.TestAllTypes.NestedMessageHRoneofNestedMessage# oneof_stringq ( HR oneofString! oneof_bytesr ( HR oneofBytes NestedMessage bb (Rbb"V NestedEnum NESTED_ENUM_UNSPECIFIED FOO BAR BAZ NEGB oneof_field" NestedTestAllTypes< child ( 2&.protobuf_unittest3.NestedTestAllTypesRchild: payload ( 2 .protobuf_unittest3.TestAllTypesRpayloadM repeated_child ( 2&.protobuf_unittest3.NestedTestAllTypesR repeatedChild"E TestDeprecatedFields- deprecated_int32 (BRdeprecatedInt32" ForeignMessage c (Rc"0 TestReservedFieldsJJJ  RbarRbaz"j TestForeignNestedU foreign_nested ( 2..protobuf_unittest3.TestAllTypes.NestedMessageR foreignNested"; TestReallyLargeTagNumber a (Ra bb (Rbb"\ TestRecursiveMessage6 a ( 2(.protobuf_unittest3.TestRecursiveMessageRa i (Ri"P TestMutualRecursionA8 bb ( 2(.protobuf_unittest3.TestMutualRecursionBRbb"u TestMutualRecursionB6 a ( 2(.protobuf_unittest3.TestMutualRecursionARa% optional_int32 (R optionalInt32"T TestEnumAllowAlias> value (2(.protobuf_unittest3.TestEnumWithDupValueRvalue" TestCamelCaseFieldNames& PrimitiveField (RPrimitiveField StringField ( R StringField= EnumField (2.protobuf_unittest3.ForeignEnumR EnumFieldF MessageField ( 2".protobuf_unittest3.ForeignMessageR MessageField6 RepeatedPrimitiveField (RRepeatedPrimitiveField0 RepeatedStringField ( RRepeatedStringFieldM RepeatedEnumField (2.protobuf_unittest3.ForeignEnumRRepeatedEnumFieldV RepeatedMessageField ( 2".protobuf_unittest3.ForeignMessageRRepeatedMessageField" TestFieldOrderings my_string ( RmyString my_int (RmyInt my_floate (RmyFloati single_nested_message ( 24.protobuf_unittest3.TestFieldOrderings.NestedMessageRsingleNestedMessage/ NestedMessage oo (Roo bb (Rbb"X SparseEnumMessageC sparse_enum (2".protobuf_unittest3.TestSparseEnumR sparseEnum" OneString data ( Rdata" MoreString data ( Rdata" OneBytes data ( Rdata" MoreBytes data ( Rdata"" Int32Message data (Rdata"# Uint32Message data ( Rdata"" Int64Message data (Rdata"# Uint64Message data (Rdata"! BoolMessage data (Rdata" TestOneof foo_int (HRfooInt foo_string ( HR fooStringC foo_message ( 2 .protobuf_unittest3.TestAllTypesHR fooMessageB foo" TestPackedTypes% packed_int32Z (BR packedInt32% packed_int64[ (BR packedInt64' packed_uint32\ ( BR packedUint32' packed_uint64] (BR packedUint64' packed_sint32^ (BR packedSint32' packed_sint64_ (BR packedSint64) packed_fixed32` (BR packedFixed32) packed_fixed64a (BR packedFixed64+ packed_sfixed32b (BRpackedSfixed32+ packed_sfixed64c (BRpackedSfixed64% packed_floatd (BR packedFloat' packed_doublee (BR packedDouble# packed_boolf (BR packedBoolD packed_enumg (2.protobuf_unittest3.ForeignEnumBR packedEnum" TestUnpackedTypes) unpacked_int32Z (BR unpackedInt32) unpacked_int64[ (BR unpackedInt64+ unpacked_uint32\ ( BRunpackedUint32+ unpacked_uint64] (BRunpackedUint64+ unpacked_sint32^ (BRunpackedSint32+ unpacked_sint64_ (BRunpackedSint64- unpacked_fixed32` (BRunpackedFixed32- unpacked_fixed64a (BRunpackedFixed64/ unpacked_sfixed32b (BRunpackedSfixed32/ unpacked_sfixed64c (BRunpackedSfixed64) unpacked_floatd (BR unpackedFloat+ unpacked_doublee (BRunpackedDouble' unpacked_boolf (BR unpackedBoolH unpacked_enumg (2.protobuf_unittest3.ForeignEnumBR unpackedEnum" #TestRepeatedScalarDifferentTagSizes) repeated_fixed32 (RrepeatedFixed32% repeated_int32 (R repeatedInt32* repeated_fixed64 (RrepeatedFixed64& repeated_int64 (R repeatedInt64' repeated_float (R repeatedFloat) repeated_uint64 (RrepeatedUint64"+ TestCommentInjectionMessage a ( Ra" FooRequest" FooResponse" FooClientMessage" FooServerMessage" BarRequest" BarResponse" TestEmptyMessage" CommentMessage text ( Rtext7 NestedCommentMessage nested_text ( R nestedText"# NestedCommentEnum ZERO_VALUE*Y ForeignEnum FOREIGN_UNSPECIFIED FOREIGN_FOO FOREIGN_BAR FOREIGN_BAZ*u TestEnumWithDupValue( $TEST_ENUM_WITH_DUP_VALUE_UNSPECIFIED FOO1 BAR1 BAZ FOO2 BAR2* TestSparseEnum TEST_SPARSE_ENUM_UNSPECIFIED SPARSE_A{ SPARSE_B SPARSE_C SPARSE_D SPARSE_E SPARSE_G* CommentEnum ZERO_VALUE2 TestServiceF Foo.protobuf_unittest3.FooRequest.protobuf_unittest3.FooResponseF Bar.protobuf_unittest3.BarRequest.protobuf_unittest3.BarResponseB,B UnittestProtoGoogle.Protobuf.TestProtosJ $  $2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2 Author: kenton@google.com (Kenton Varda) Based on original Protocol Buffers design by Sanjay Ghemawat, Jeff Dean, and others. A proto file we will use for unit testing.  &7 %&7  *. ` *.U Only present so we can test that we can read it (as an example of a non-C# option) ,&  . \ 2O This proto includes every type of field in both singular and repeated forms. 2 38 3   7 The field name "b" fails to compile in proto1 because it conflicts with a local variable named "b" in one of the generated methods. Doh. This file needs to compile in proto1 to test backwards-compatibility.  7  7  7 :@ : ;  ;  ; <  <  < =  =  = >  >  > ( ? " Intentionally negative.  ?  ?  C Singular C C C D D D D E E E  E F F F  F G G G  G H H H  H I I I  I J J J  J K K K  K  L  L  L   L  M  M  M  M  N  N  N   N  O  O  O  O  P  P  P   P Q Q Q Q S+ S S% S(* T- T T' T*, UD U( U)> UAC W% W W  W"$ X' X X! X$& Y> Y% Y&8 Y;= 7 \]() Defined in unittest_import_public.proto \. ]" ]%'  `+ Repeated ` ` `" `(* a+ a a a" a(* b+ b b  b# b(* c+ c c  c# c(* d+ d d  d# d(* e+ e e  e# e(* f+ f f  f$ f(* g+ g g  g$ g(* h+ h h  h% h(* i+ i i  i% i(*  j+  j  j  j"  j(* !k+ !k !k  !k# !k(* "l+ "l "l "l! "l(* #m+ #m #m  #m# #m(* $n+ $n $n $n" $n(* %pN %p %p  %p0G %pKM &qN &q &q  &q0H &qKM 'rP 'r 'r 1 'r2I 'rMO (tN (t (t  (t0D (tKM )uN )u )u  )u0E )uKM *vP *v *v . *v2F *vMO 7 +xy*) Defined in unittest_import_public.proto +x +x 7 +y$ +y')  | For oneof test | ,} ,} ,}  ,} -~- -~ -~& -~), . . .  . / / /  / A 3 This proto includes a recursively nested message.          1    , /0   /    .  - [ M Define these after TestAllTypes to make sure the compiler can handle that.                                                 M ? Test that we can use NestedMessage from outside TestAllTypes.  0  + ./ H : Test that really large tag numbers don't break anything.  } o The largest possible tag number is 2^28 - 1, since the wire format uses three bits to communicate wire type.                   1 # Test that mutual recursion works.                               !       K = Test an enum that has multiple values with the same number.  + & )*                  : , Test an enum with large, unordered values.  #  !"                     Q C In proto3, value 0 must be the first one specified SPARSE_F = 0;    h  Z Test message with CamelCase field names. This violates Protocol Buffer standard style.                             "       !  ,       '  *+  *       %  ()  -       (  +,  4       .  13   } We list fields out of order, to ensure that we're using field number and not field index to determine serialization order.                                                 The field name "b" fails to compile in proto1 because it conflicts with a local variable named "b" in one of the generated methods. Doh. This file needs to compile in proto1 to test backwards-compatibility.           -    %  ),      !       H : Test String and Bytes: string is for valid UTF-8 strings                          N @ Test int32, uint32, int64, uint64, and bool are all compatible                                Test oneofs.               !    / 2! Test messages for packed fields  :    ') *9  +8 :    ') *9  +8 :    ! ') *9  +8 :    ! ') *9  +8 :    ! ') *9  +8 :    ! ') *9  +8 :    " ') *9  +8 :    " ') *9  +8 :    # ') *9  +8  :       #  ')  *9   +8  :        &)  *9   +8  :       !  &)  *9   +8  :        &)  *9   +8  :       "  &)  *9   +8   A message with the same fields as TestPackedTypes, but without packing. Used to test packed <-> unpacked wire compatibility.  =   " )+ ,<  -; =   " )+ ,<  -; =    # )+ ,<  -; =    # )+ ,<  -; =    # )+ ,<  -; =    # )+ ,<  -; =    $ )+ ,<  -; =    $ )+ ,<  -; =    % )+ ,<  -;  =       %  )+  ,<   -;  =      "  (+  ,<   -;  =       #  (+  ,<   -;  =      !  (+  ,<   -;  =       $  (+  ,<   -;  +  ) Parsing repeated fixed size values used to fail. This message needs to be used in order to get a tag of the right size; all of the repeated fields in TestAllTypes didn't trigger the check.    # &( ? )1 Check for a varint type, just for good measure.    ! &( ) + These have two-byte tags.    # &* +    ! &* - Three byte tags.    ! &, -    " &,  # E 7 */ <- This should not close the generated doc comment     *  Test that RPC services work.        &  This is a test service  % , This is a test method    * ,    *     ! ! " " u # This is a leading comment 2$ This is leading detached comment 1 2$ This is leading detached comment 2 # 0 # Leading nested message comment #  6 #& Leading nested message field comment  #  #   # - # Leading nested enum comment # $ # Zero value comment  #  # ? # Leading field comment " Trailing field comment # # # $  Leading enum comment  "  Zero value comment  bproto3 X map_unittest_proto3.protoprotobuf_unittest3unittest_proto3.proto" TestMapV map_int32_int32 ( 2..protobuf_unittest3.TestMap.MapInt32Int32EntryR mapInt32Int32V map_int64_int64 ( 2..protobuf_unittest3.TestMap.MapInt64Int64EntryR mapInt64Int64\ map_uint32_uint32 ( 20.protobuf_unittest3.TestMap.MapUint32Uint32EntryRmapUint32Uint32\ map_uint64_uint64 ( 20.protobuf_unittest3.TestMap.MapUint64Uint64EntryRmapUint64Uint64\ map_sint32_sint32 ( 20.protobuf_unittest3.TestMap.MapSint32Sint32EntryRmapSint32Sint32\ map_sint64_sint64 ( 20.protobuf_unittest3.TestMap.MapSint64Sint64EntryRmapSint64Sint64b map_fixed32_fixed32 ( 22.protobuf_unittest3.TestMap.MapFixed32Fixed32EntryRmapFixed32Fixed32b map_fixed64_fixed64 ( 22.protobuf_unittest3.TestMap.MapFixed64Fixed64EntryRmapFixed64Fixed64h map_sfixed32_sfixed32 ( 24.protobuf_unittest3.TestMap.MapSfixed32Sfixed32EntryRmapSfixed32Sfixed32h map_sfixed64_sfixed64 ( 24.protobuf_unittest3.TestMap.MapSfixed64Sfixed64EntryRmapSfixed64Sfixed64V map_int32_float ( 2..protobuf_unittest3.TestMap.MapInt32FloatEntryR mapInt32FloatY map_int32_double ( 2/.protobuf_unittest3.TestMap.MapInt32DoubleEntryRmapInt32DoubleP map_bool_bool ( 2,.protobuf_unittest3.TestMap.MapBoolBoolEntryR mapBoolBool\ map_string_string ( 20.protobuf_unittest3.TestMap.MapStringStringEntryRmapStringStringV map_int32_bytes ( 2..protobuf_unittest3.TestMap.MapInt32BytesEntryR mapInt32BytesS map_int32_enum ( 2-.protobuf_unittest3.TestMap.MapInt32EnumEntryR mapInt32Enumr map_int32_foreign_message ( 27.protobuf_unittest3.TestMap.MapInt32ForeignMessageEntryRmapInt32ForeignMessage@ MapInt32Int32Entry key (Rkey value (Rvalue:8@ MapInt64Int64Entry key (Rkey value (Rvalue:8B MapUint32Uint32Entry key ( Rkey value ( Rvalue:8B MapUint64Uint64Entry key (Rkey value (Rvalue:8B MapSint32Sint32Entry key (Rkey value (Rvalue:8B MapSint64Sint64Entry key (Rkey value (Rvalue:8D MapFixed32Fixed32Entry key (Rkey value (Rvalue:8D MapFixed64Fixed64Entry key (Rkey value (Rvalue:8F MapSfixed32Sfixed32Entry key (Rkey value (Rvalue:8F MapSfixed64Sfixed64Entry key (Rkey value (Rvalue:8@ MapInt32FloatEntry key (Rkey value (Rvalue:8A MapInt32DoubleEntry key (Rkey value (Rvalue:8> MapBoolBoolEntry key (Rkey value (Rvalue:8B MapStringStringEntry key ( Rkey value ( Rvalue:8@ MapInt32BytesEntry key (Rkey value ( Rvalue:8\ MapInt32EnumEntry key (Rkey1 value (2.protobuf_unittest3.MapEnumRvalue:8m MapInt32ForeignMessageEntry key (Rkey8 value ( 2".protobuf_unittest3.ForeignMessageRvalue:8"K TestMapSubmessage6 test_map ( 2.protobuf_unittest3.TestMapRtestMap" TestMessageMapc map_int32_message ( 27.protobuf_unittest3.TestMessageMap.MapInt32MessageEntryRmapInt32Messaged MapInt32MessageEntry key (Rkey6 value ( 2 .protobuf_unittest3.TestAllTypesRvalue:8" TestSameTypeMapA map1 ( 2-.protobuf_unittest3.TestSameTypeMap.Map1EntryRmap1A map2 ( 2-.protobuf_unittest3.TestSameTypeMap.Map2EntryRmap27 Map1Entry key (Rkey value (Rvalue:87 Map2Entry key (Rkey value (Rvalue:8" TestArenaMap[ map_int32_int32 ( 23.protobuf_unittest3.TestArenaMap.MapInt32Int32EntryR mapInt32Int32[ map_int64_int64 ( 23.protobuf_unittest3.TestArenaMap.MapInt64Int64EntryR mapInt64Int64a map_uint32_uint32 ( 25.protobuf_unittest3.TestArenaMap.MapUint32Uint32EntryRmapUint32Uint32a map_uint64_uint64 ( 25.protobuf_unittest3.TestArenaMap.MapUint64Uint64EntryRmapUint64Uint64a map_sint32_sint32 ( 25.protobuf_unittest3.TestArenaMap.MapSint32Sint32EntryRmapSint32Sint32a map_sint64_sint64 ( 25.protobuf_unittest3.TestArenaMap.MapSint64Sint64EntryRmapSint64Sint64g map_fixed32_fixed32 ( 27.protobuf_unittest3.TestArenaMap.MapFixed32Fixed32EntryRmapFixed32Fixed32g map_fixed64_fixed64 ( 27.protobuf_unittest3.TestArenaMap.MapFixed64Fixed64EntryRmapFixed64Fixed64m map_sfixed32_sfixed32 ( 29.protobuf_unittest3.TestArenaMap.MapSfixed32Sfixed32EntryRmapSfixed32Sfixed32m map_sfixed64_sfixed64 ( 29.protobuf_unittest3.TestArenaMap.MapSfixed64Sfixed64EntryRmapSfixed64Sfixed64[ map_int32_float ( 23.protobuf_unittest3.TestArenaMap.MapInt32FloatEntryR mapInt32Float^ map_int32_double ( 24.protobuf_unittest3.TestArenaMap.MapInt32DoubleEntryRmapInt32DoubleU map_bool_bool ( 21.protobuf_unittest3.TestArenaMap.MapBoolBoolEntryR mapBoolBoolX map_int32_enum ( 22.protobuf_unittest3.TestArenaMap.MapInt32EnumEntryR mapInt32Enumw map_int32_foreign_message ( 2<.protobuf_unittest3.TestArenaMap.MapInt32ForeignMessageEntryRmapInt32ForeignMessage@ MapInt32Int32Entry key (Rkey value (Rvalue:8@ MapInt64Int64Entry key (Rkey value (Rvalue:8B MapUint32Uint32Entry key ( Rkey value ( Rvalue:8B MapUint64Uint64Entry key (Rkey value (Rvalue:8B MapSint32Sint32Entry key (Rkey value (Rvalue:8B MapSint64Sint64Entry key (Rkey value (Rvalue:8D MapFixed32Fixed32Entry key (Rkey value (Rvalue:8D MapFixed64Fixed64Entry key (Rkey value (Rvalue:8F MapSfixed32Sfixed32Entry key (Rkey value (Rvalue:8F MapSfixed64Sfixed64Entry key (Rkey value (Rvalue:8@ MapInt32FloatEntry key (Rkey value (Rvalue:8A MapInt32DoubleEntry key (Rkey value (Rvalue:8> MapBoolBoolEntry key (Rkey value (Rvalue:8\ MapInt32EnumEntry key (Rkey1 value (2.protobuf_unittest3.MapEnumRvalue:8m MapInt32ForeignMessageEntry key (Rkey8 value ( 2".protobuf_unittest3.ForeignMessageRvalue:8" MessageContainingEnumCalledTypeQ type ( 2=.protobuf_unittest3.MessageContainingEnumCalledType.TypeEntryRtypel TypeEntry key (RkeyI value ( 23.protobuf_unittest3.MessageContainingEnumCalledTypeRvalue:8" Type TYPE_FOO" MessageContainingMapCalledEntryT entry ( 2>.protobuf_unittest3.MessageContainingMapCalledEntry.EntryEntryRentry8 EntryEntry key (Rkey value (Rvalue:8*? MapEnum MAP_ENUM_FOO MAP_ENUM_BAR MAP_ENUM_BAZBGoogle.Protobuf.TestProtosJ$ $s   $ This file is mostly equivalent to map_unittest.proto, but imports unittest_proto3.proto instead of unittest.proto, so that it only uses proto3 messages. This makes it suitable for testing implementations which only support proto3. The TestRequiredMessageMap message has been removed as there are no required fields in proto3. 2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.  &7 %&7 (  *  -? Tests maps. - .4 . .) .23 /4 / /) /23 04 0 0+ 023 14 1 1+ 123 24 2 2+ 223 34 3 3+ 323 44 4 4- 423 54 5 5- 523 64 6 6/ 623  75  7  7/  724  85  8  8)  824  95  9  9*  924  :5  :  :'  :24  ;5  ;  ;+  ;24 <5 < <) <24 =5 = =( =24 >? > > 9 ><> AC A B B B  B EG E F1 F F, F/0 C JM7 Two map fields share the same entry default instance. J K K K K L L L L OS O P P P Q Q Q R R R Ue U V4 V V) V23 W4 W W) W23 X4 X X+ X23 Y4 Y Y+ Y23 Z4 Z Z+ Z23 [4 [ [+ [23 \4 \ \- \23 ]4 ] ]- ]23 ^4 ^ ^/ ^23  _5  _  _/  _24  `5  `  `)  `24  a5  a  a*  a24  b5  b  b'  b24  c5  c  c(  c24 d? d d 9 d<> d inX Previously, message containing enum called Type cannot be used as value of map field. i' jl j k  k  k m7 m- m.2 m56 J qs> Previously, message cannot contain map field called "entry". q' r r r rbproto3 " google/protobuf/struct.protogoogle.protobuf" Struct; fields ( 2#.google.protobuf.Struct.FieldsEntryRfieldsQ FieldsEntry key ( Rkey, value ( 2.google.protobuf.ValueRvalue:8" Value; null_value (2.google.protobuf.NullValueHR nullValue# number_value (HR numberValue# string_value ( HR stringValue bool_value (HR boolValue< struct_value ( 2.google.protobuf.StructHR structValue; list_value ( 2.google.protobuf.ListValueHR listValueB kind"; ListValue. values ( 2.google.protobuf.ValueRvalues* NullValue NULL_VALUEB com.google.protobufB StructProtoPZ/google.golang.org/protobuf/types/known/structpbGPBGoogle.Protobuf.WellKnownTypesJ ^  2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     "; %";  # #  $F  $F  %, %,  &, &,  '"  '"  (! $(!  25 `Struct` represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, `Struct` might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language. The JSON representation for `Struct` is JSON object. 2 9 4 , Unordered map of dynamically typed values. 4 4 4  =M `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 indicates an error. The JSON representation for `Value` is JSON value. = " ?L The kind of value. ? ' A Represents a null value. A A A ) C Represents a double value. C C  C ) E Represents a string value. E E  E * G Represents a boolean value. G G  G - I Represents a structured value. I I  I - K Represents a repeated `Value`. K K K  SV `NullValue` is a singleton enumeration to represent the null value for the `Value` type union. The JSON representation for `NullValue` is JSON `null`. S  U Null value. U U  [^v `ListValue` is a wrapper around a repeated field of values. The JSON representation for `ListValue` is JSON array. [ : ]- Repeated field of dynamically typed values. ] ]  ] ]bproto3 7 unittest_issues.protounittest_issuesgoogle/protobuf/struct.proto"' Issue307 NestedOnce NestedTwice" NegativeEnumMessage3 value (2.unittest_issues.NegativeEnumRvalue9 values (2.unittest_issues.NegativeEnumBRvaluesF packed_values (2.unittest_issues.NegativeEnumBR packedValues" DeprecatedChild" DeprecatedFieldsMessage* PrimitiveValue (BRPrimitiveValue* PrimitiveArray (BRPrimitiveArrayH MessageValue ( 2 .unittest_issues.DeprecatedChildBR MessageValueH MessageArray ( 2 .unittest_issues.DeprecatedChildBR MessageArrayA EnumValue (2.unittest_issues.DeprecatedEnumBR EnumValueA EnumArray (2.unittest_issues.DeprecatedEnumBR EnumArray" ItemField item (Ritem"W ReservedNames types (Rtypes descriptor (R descriptor SomeNestedType" TestJsonFieldOrdering plain_int32 (R plainInt32 o1_string ( HRo1String o1_int32 (HRo1Int32! plain_string ( R plainString o2_int32 (HRo2Int32 o2_string ( HRo2StringB o1B o2"Q TestJsonName name ( Rname description ( Rdesc guid ( Rexid" OneofMerging text ( HRtext> nested ( 2$.unittest_issues.OneofMerging.NestedHRnested$ Nested x (Rx y (RyB value" NullValueOutsideStruct# string_value ( HR stringValue; null_value (2.google.protobuf.NullValueHR nullValueB value"P NullValueNotInOneof9 null_value (2.google.protobuf.NullValueR nullValue"} MixedRegularAndOptional# regular_field ( R regularField* optional_field ( HR optionalFieldB _optional_field"B OneofWithNoneField x ( HRx none ( HRnoneB test"; OneofWithNoneName x ( HRx y ( HRyB none*U NegativeEnum NEGATIVE_ENUM_ZERO FiveBelow MinusOne*. DeprecatedEnum DEPRECATED_ZERO oneBUnitTest.Issues.TestProtosJ(      7  %7e Issue: Non-"Google.Protobuffers" namespace will ensure that protobuffer library types are qualified 2 These proto descriptors have at one time been reported as an issue or defect. They are kept here to replicate the issue, and continue to verify the fix.    & v j Issue 307: when generating doubly-nested types, any references should be of the form A.Types.B.Types.C.           -12 Old issue 13: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=13 New issue 309: https://github.com/protocolbuffers/protobuf/issues/309 2+ message A { optional int32 _A = 1; } 2+ message B { optional int32 B_ = 1; } 2+message AB { optional int32 a_b = 1; } 2 Similar issue with numeric names Java code failed too, so probably best for this to be a restriction. See https://github.com/protocolbuffers/protobuf/issues/308 message NumberField { optional int32 _01 = 1; } 2! issue 19 - negative enum values - . . . / / / 0 0 0 37 3 4 4 4 4 56 5 5  5 5#$ 5%5 5&4 6: 6 6  6' 6*+ 6,9 6-8  <=2 Issue 21: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=21 Decorate fields with [deprecated=true] as [System.Obsolete] < ?B ? @ @ @ A A A DM D E1 E E  E E0 E/ F: F F  F! F$% F&9 F'8 H9 H H H#$ H%8 H&7 IB I I  I) I,- I.A I/@ K5 K K K K!4 K"3 L> L L  L% L() L*= L+< Y PRM Issue 45: http://code.google.com/p/protobuf-csharp-port/issues/detail?id=45 P Q Q Q Q T[ T 0 VW" Force a nested type called Types V  Y Y Y Y Z Z Z Z  ]w" These fields are deliberately not declared in numeric order, and the oneof fields aren't contiguous either. This allows for reasonably robust tests of JSON output ordering. TestFieldOrderings in unittest_proto3.proto is similar, but doesn't include oneofs. TODO: Consider adding oneofs to TestFieldOrderings, although that will require fixing other tests in multiple platforms. Alternatively, consider just adding this to unittest_proto3.proto if multiple platforms want it. ] i i i i kn k l l l  l m m m  m p p p  p ru r s s s  s t t t  t y~ y J {= Message for testing the effects for of the json_name option { { { |. | |  | |-  |,  |&, }' } } } }&  }%  }%   Issue 3200: When merging two messages which use the same oneof case, which is itself a message type, the submessages should be merged.                                                      -    (  +,      +    &  )*               %         #$                                                   bproto3 ҉ google/protobuf/descriptor.protogoogle.protobuf"M FileDescriptorSet8 file ( 2$.google.protobuf.FileDescriptorProtoRfile" FileDescriptorProto name ( Rname package ( Rpackage dependency ( R dependency+ public_dependency (RpublicDependency' weak_dependency (RweakDependencyC message_type ( 2 .google.protobuf.DescriptorProtoR messageTypeA enum_type ( 2$.google.protobuf.EnumDescriptorProtoRenumTypeA service ( 2'.google.protobuf.ServiceDescriptorProtoRserviceC extension ( 2%.google.protobuf.FieldDescriptorProtoR extension6 options ( 2.google.protobuf.FileOptionsRoptionsI source_code_info ( 2.google.protobuf.SourceCodeInfoRsourceCodeInfo syntax ( Rsyntax" DescriptorProto name ( Rname; field ( 2%.google.protobuf.FieldDescriptorProtoRfieldC extension ( 2%.google.protobuf.FieldDescriptorProtoR extensionA nested_type ( 2 .google.protobuf.DescriptorProtoR nestedTypeA enum_type ( 2$.google.protobuf.EnumDescriptorProtoRenumTypeX extension_range ( 2/.google.protobuf.DescriptorProto.ExtensionRangeRextensionRangeD oneof_decl ( 2%.google.protobuf.OneofDescriptorProtoR oneofDecl9 options ( 2.google.protobuf.MessageOptionsRoptionsU reserved_range ( 2..google.protobuf.DescriptorProto.ReservedRangeR reservedRange# reserved_name ( R reservedNamez ExtensionRange start (Rstart end (Rend@ options ( 2&.google.protobuf.ExtensionRangeOptionsRoptions7 ReservedRange start (Rstart end (Rend"| ExtensionRangeOptionsX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption* " FieldDescriptorProto name ( Rname number (RnumberA label (2+.google.protobuf.FieldDescriptorProto.LabelRlabel> type (2*.google.protobuf.FieldDescriptorProto.TypeRtype type_name ( RtypeName extendee ( Rextendee# default_value ( R defaultValue oneof_index (R oneofIndex json_name ( RjsonName7 options ( 2.google.protobuf.FieldOptionsRoptions' proto3_optional (Rproto3Optional" Type TYPE_DOUBLE TYPE_FLOAT TYPE_INT64 TYPE_UINT64 TYPE_INT32 TYPE_FIXED64 TYPE_FIXED32 TYPE_BOOL TYPE_STRING  TYPE_GROUP  TYPE_MESSAGE  TYPE_BYTES  TYPE_UINT32  TYPE_ENUM TYPE_SFIXED32 TYPE_SFIXED64 TYPE_SINT32 TYPE_SINT64"C Label LABEL_OPTIONAL LABEL_REQUIRED LABEL_REPEATED"c OneofDescriptorProto name ( Rname7 options ( 2.google.protobuf.OneofOptionsRoptions" EnumDescriptorProto name ( Rname? value ( 2).google.protobuf.EnumValueDescriptorProtoRvalue6 options ( 2.google.protobuf.EnumOptionsRoptions] reserved_range ( 26.google.protobuf.EnumDescriptorProto.EnumReservedRangeR reservedRange# reserved_name ( R reservedName; EnumReservedRange start (Rstart end (Rend" EnumValueDescriptorProto name ( Rname number (Rnumber; options ( 2!.google.protobuf.EnumValueOptionsRoptions" ServiceDescriptorProto name ( Rname> method ( 2&.google.protobuf.MethodDescriptorProtoRmethod9 options ( 2.google.protobuf.ServiceOptionsRoptions" MethodDescriptorProto name ( Rname input_type ( R inputType output_type ( R outputType8 options ( 2.google.protobuf.MethodOptionsRoptions0 client_streaming (:falseRclientStreaming0 server_streaming (:falseRserverStreaming" FileOptions! java_package ( R javaPackage0 java_outer_classname ( RjavaOuterClassname5 java_multiple_files (:falseRjavaMultipleFilesD java_generate_equals_and_hash (BRjavaGenerateEqualsAndHash: java_string_check_utf8 (:falseRjavaStringCheckUtf8S optimize_for (2).google.protobuf.FileOptions.OptimizeMode:SPEEDR optimizeFor go_package ( R goPackage5 cc_generic_services (:falseRccGenericServices9 java_generic_services (:falseRjavaGenericServices5 py_generic_services (:falseRpyGenericServices7 php_generic_services* (:falseRphpGenericServices% deprecated (:falseR deprecated. cc_enable_arenas (:trueRccEnableArenas* objc_class_prefix$ ( RobjcClassPrefix) csharp_namespace% ( RcsharpNamespace! swift_prefix' ( R swiftPrefix( php_class_prefix( ( RphpClassPrefix# php_namespace) ( R phpNamespace4 php_metadata_namespace, ( RphpMetadataNamespace! ruby_package- ( R rubyPackageX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption": OptimizeMode SPEED CODE_SIZE LITE_RUNTIME* J&'" MessageOptions< message_set_wire_format (:falseRmessageSetWireFormatL no_standard_descriptor_accessor (:falseRnoStandardDescriptorAccessor% deprecated (:falseR deprecated map_entry (RmapEntryX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption* JJJJ J  " FieldOptionsA ctype (2#.google.protobuf.FieldOptions.CType:STRINGRctype packed (RpackedG jstype (2$.google.protobuf.FieldOptions.JSType: JS_NORMALRjstype lazy (:falseRlazy. unverified_lazy (:falseRunverifiedLazy% deprecated (:falseR deprecated weak (:falseRweakX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption"/ CType STRING CORD STRING_PIECE"5 JSType JS_NORMAL JS_STRING JS_NUMBER* J"s OneofOptionsX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption* " EnumOptions allow_alias (R allowAlias% deprecated (:falseR deprecatedX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption* J" EnumValueOptions% deprecated (:falseR deprecatedX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption* " ServiceOptions% deprecated! (:falseR deprecatedX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption* " MethodOptions% deprecated! (:falseR deprecatedq idempotency_level" (2/.google.protobuf.MethodOptions.IdempotencyLevel:IDEMPOTENCY_UNKNOWNRidempotencyLevelX uninterpreted_option ( 2$.google.protobuf.UninterpretedOptionRuninterpretedOption"P IdempotencyLevel IDEMPOTENCY_UNKNOWN NO_SIDE_EFFECTS IDEMPOTENT* " UninterpretedOptionA name ( 2-.google.protobuf.UninterpretedOption.NamePartRname) identifier_value ( RidentifierValue, positive_int_value (RpositiveIntValue, negative_int_value (RnegativeIntValue! double_value (R doubleValue! string_value ( R stringValue' aggregate_value ( RaggregateValueJ NamePart name_part ( RnamePart! is_extension (R isExtension" SourceCodeInfoD location ( 2(.google.protobuf.SourceCodeInfo.LocationRlocation Location path (BRpath span (BRspan) leading_comments ( RleadingComments+ trailing_comments ( RtrailingComments: leading_detached_comments ( RleadingDetachedComments" GeneratedCodeInfoM annotation ( 2-.google.protobuf.GeneratedCodeInfo.AnnotationR annotationm Annotation path (BRpath source_file ( R sourceFile begin (Rbegin end (RendB~ com.google.protobufBDescriptorProtosHZ-google.golang.org/protobuf/types/descriptorpbGPBGoogle.Protobuf.ReflectionJ '   '2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2 Author: kenton@google.com (Kenton Varda) Based on original Protocol Buffers design by Sanjay Ghemawat, Jeff Dean, and others. The messages in this file describe the definitions found in .proto files. A valid .proto file can be translated directly to a FileDescriptorProto without any other information (e.g. without reading its imports).  )  +D  +D  ,, ,,  -1 -1  .7 %.7  /! $/!  0 0  4   4t descriptor.proto must be optimized for speed because reflection-based algorithms don't work during bootstrapping. j 8:^ The protocol compiler can output a FileDescriptorSet containing the .proto files it parses. 8 9( 9 9  9# 9&' / =Z# Describes a complete .proto file. = 9 >", file name, relative to root of source tree > >  > > * ?" e.g. "foo", "foo.bar", etc. ? ?  ? ? 4 B!' Names of files imported by this file. B B  B B Q D(D Indexes of the public imported files in the dependency list above. D D  D" D%' z G&m Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use. G G  G G#% 6 J,) All top-level definitions in this file. J J  J' J*+ K- K K  K( K+, L. L L ! L") L,- M. M M  M ) M,-  O#  O  O   O  O!"   U/ This field contains optional information about the original source code. You may safely remove this entire field without harming runtime functionality of the descriptors -- the information is needed only by development tools.  U  U   U*  U-. ]  YP The syntax of the proto file. The supported values are "proto2" and "proto3".  Y  Y   Y  Y ' ]} Describes a message type. ] ^ ^ ^  ^ ^ `* ` `  ` % `() a. a a  a ) a,- c+ c c  c& c)* d- d d  d( d+, fk f   g" Inclusive.  g  g   g  g  h" Exclusive.  h  h   h  h j/  j  j "  j#*  j-. l. l l  l) l,- n/ n n  n * n-. p& p p  p! p$%  ux Range of reserved tag numbers. Reserved tag numbers may not be used by fields or extension ranges in the same message. Reserved ranges may not overlap. u   v" Inclusive.  v  v   v  v  w" Exclusive.  w  w   w  w y, y y  y' y*+   |%u Reserved field names, which may not be used by fields in the same message. A given name may only be reserved once.  |  |   |  |"$   O :A The parser stores options it doesn't recognize here. See above.    3 69 Z M Clients can define custom options in extensions of this message. See above.      3 % Describes a field within a message.     S C 0 is reserved for errors. Order is weird for historical reasons.           w g Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if negative values are likely.           w g Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if negative values are likely.                                Tag-delimited aggregate. Group type is deprecated and not supported in proto3. However, Proto3 implementations should still be able to parse the group wire format and treat group fields as unknown fields.       -  " Length-delimited aggregate.       #   New in version 2.                                     ' " Uses ZigZag encoding.     ' " Uses ZigZag encoding.        *  0 is reserved for errors                                     If type_name is set, this need not be set. If both this and type_name are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.         For message and enum types, this is the name of the type. If the name starts with a '.', it is fully-qualified. Otherwise, C++-like scoping rules are used to find the type (i.e. first the nested types within this message are searched, then within the parent, on up to the root namespace).      ~ p For extensions, this is the name of the type being extended. It is resolved in the same manner as type_name.       $ For numeric types, contains the original text representation of the value. For booleans, "true" or "false". For strings, contains the default text contents (not escaped in any way). For bytes, contains the C escaped value. All bytes >= 128 are escaped.     "#  !v If set, gives the index of a oneof in the containing type's oneof_decl list. This field is a member of that oneof.       ! JSON name of this field. The value is set by protocol compiler. If the user has set a "json_name" option on this field, that option's value will be used. Otherwise, it's deduced from the field's name by converting it to camelCase.       $         "#  % If true, this is a proto3 "optional". When a proto3 field is optional, it tracks presence regardless of field type. When proto3_optional is true, this field must be belong to a oneof to signal to old proto3 clients that presence is tracked for this field. This oneof is known as a "synthetic" oneof, and this field must be its sole member (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs exist in the descriptor only, and do not generate any API. Synthetic oneofs must be ordered after all "real" oneofs. For message fields, proto3_optional doesn't create any semantic change, since non-repeated message fields always track presence. However it still indicates the semantic detail of whether the user wrote "optional" or not. This can be useful for round-tripping the .proto file. For consistency we give message fields a synthetic oneof also, even though it is not required to track presence. This is especially important because the parser can't tell if a field is a message or an enum, so it must always create a synthetic oneof. Proto2 optional fields do not set this flag, because they already indicate optional with `LABEL_OPTIONAL`.         "$ "  Describes a oneof.        $     "# '  Describes an enum type.        .   # $) ,- #     !"   Range of reserved numeric values. Reserved values may not be used by entries in the same enum. Reserved ranges may not overlap. Note that this is distinct from DescriptorProto.ReservedRange in that it is inclusive such that it can appropriately represent the entire int32 domain.    " Inclusive.           " Inclusive.           0 Range of reserved numeric values. Reserved numeric values may not be used by enum values in the same enum declaration. Reserved ranges may not overlap.    + ./ l $^ Reserved enum value names, which may not be reused. A given name may only be reserved once.     "# 1 # Describes a value within an enum.              (    # &' $  Describes a service.        ,   !' *+ &    ! $% 0  " Describes a method of a service.                ! Input and output type names. These are resolved in the same way as FieldDescriptorProto.type_name, but must refer to a message type.           "          !  %         #$ E  77 Identifies if client streams multiple client messages         #$  %6  05 E  77 Identifies if server streams multiple server messages         #$  %6  05   2N =================================================================== Options 2 Each of the definitions above may have "options" attached. These are just annotations which may cause code to be generated slightly differently or may contain hints for code that manipulates protocol messages. Clients may define custom options as extensions of the *Options messages. These extensions may not yet be known at parsing time, so the parser cannot store the values in them. Instead it stores them in a field in the *Options message called uninterpreted_option. This field must have the same name across all *Options messages. We then use this field to populate the extensions when we build a descriptor, at which point all protos have been parsed and so all extensions are known. Extension numbers for custom options may be chosen as follows: * For options which will only be used within a single application or organization, or for experimental options, use field numbers 50000 through 99999. It is up to you to ensure that you do not use the same number for multiple options. * For options which will be published and used publicly by multiple independent entities, e-mail protobuf-global-extension-registry@google.com to reserve extension numbers. Simply provide your project name (e.g. Objective-C plugin) and your project website (if available) -- there's no need to explain how you intend to use them. Usually you only need one extension number. You can declare multiple options with only one extension number by putting them in a sub-message. See the Custom Options section of the docs for examples: https://developers.google.com/protocol-buffers/docs/proto#options If this turns out to be popular, a web service will be set up to automatically assign option numbers.     # Sets the Java package where classes generated from this .proto will be placed. By default, the proto package is used, but this is often inappropriate because proto packages do not normally start with backwards domain names.         !"   + Controls the name of the wrapper Java class generated for the .proto file. That class will always contain the .proto file's getDescriptor() method as well as any top-level extensions defined in the .proto file. If java_multiple_files is disabled, then all the other classes from the .proto file will be nested inside the single wrapper outer class.       &  )*   ; If enabled, then the Java code generator will generate a separate .java file for each top-level message, enum, and service defined in the .proto file. Thus, these types will *not* be nested inside the wrapper class named by java_outer_classname. However, the wrapper class will still be generated to contain the file's getDescriptor() method as well as any top-level extensions defined in the file.       #  &(  ):  49 )  E This option does nothing.       -  02  3D   4C   > If set true, then the Java2 code generator will generate code that throws an exception whenever an attempt is made to assign a non-UTF-8 byte sequence to a string field. Message reflection will do the same. However, an extension field still accepts non-UTF-8 byte sequences. This option has no effect on when used with the lite runtime.       &  )+  ,=  7< L  < Generated classes can be optimized for speed or code size.   D  "4 Generate complete code for parsing, serialization,       G   etc. "/ Use ReflectionOps to implement these methods.       G  "7 Generate code using MessageLite and the lite runtime.        ;       $  '(  ):  49   " Sets the Go package where structs generated from this .proto will be placed. If omitted, the Go package will be derived from the following: - The basename of the package import path, if provided. - Otherwise, the package statement in the .proto file, if present. - Otherwise, the basename of the .proto file, without extension.         !   ; Should generic services be generated in each language? "Generic" services are not specific to any particular RPC system. They are generated by the main code generators in each language (without additional plugins). Generic services were the only kind of service generation supported by early versions of google.protobuf. Generic services are now considered deprecated in favor of using plugins that generate code specific to your particular RPC system. Therefore, these default to false. Old code which depends on generic services should explicitly set them to true.       #  &(  ):  49  =       %  (*  +<  6;   ;          #   &(   ):   49   <          $   ')   *;   5:    2 Is this file deprecated? Depending on the target platform, this can emit Deprecated annotations for everything in the file, or it will be completely ignored; in the very least, this is a formalization for deprecating files.                 1   +0    7q Enables the use of arenas for the proto messages in this file. This applies only to generated classes for C++.             #%   &6   15    ) Sets the objective c class prefix which is prepended to all objective c generated classes from this .proto. There is no default.          #   &( I  (; Namespace for generated classes; defaults to the package.       "  %'   $ By default Swift generators will take the proto package and CamelCase it replacing '.' with underscore and use that to prefix the types/symbols defined. When this options is provided, they will use this value instead to prefix the types/symbols defined.         !# ~  (p Sets the php class prefix which is prepended to all php generated classes from this .proto. Default is empty.       "  %'   % Use this option to change the namespace of php generated classes. Default is empty. When this option is empty, the package name will be used for determining the namespace.         "$   . Use this option to change the namespace of php generated metadata classes. Default is empty. When this option is empty, the proto file name will be used for determining the namespace.       (  +-   $ Use this option to change the package of ruby generated classes. Default is empty. When this option is not set, the package name will be used for determining the ruby package.         !# |  :n The parser stores options it doesn't recognize here. See the documentation for the "Options" section above.       3  69   z Clients can define custom options in extensions of this message. See the documentation for the "Options" section above.                       > Set true to use the old proto1 MessageSet wire format for extensions. This is provided for backwards-compatibility with the MessageSet wire format. You should not use this for any other reason: It's less efficient, has fewer features, and is more complicated. The message must be defined exactly as follows: message Foo { option message_set_wire_format = true; extensions 4 to max; } Note that the message cannot have any defined fields; MessageSets only have extensions. All extensions of your type must be singular messages; e.g. they cannot be int32s, enums, or repeated messages. Because this is an option, the above two restrictions are not enforced by the protocol compiler.       '  *+  ,=  7<   F Disables the generation of the standard "descriptor()" accessor, which can conflict with a field of the same name. This is meant to make migration from proto1 easier; new code should avoid fields named "descriptor".       /  23  4E  ?D   1 Is this message deprecated? Depending on the target platform, this can emit Deprecated annotations for the message, or it will be completely ignored; in the very least, this is a formalization for deprecating messages.           0  */                        Whether the message is an automatically generated map entry type for the maps field. For maps fields: map map_field = 1; The parsed descriptor looks like: message MapFieldEntry { option map_entry = true; optional KeyType key = 1; optional ValueType value = 2; } repeated MapFieldEntry map_field = 1; Implementations may choose not to generate the map_entry=true message, but use a native map in the target language to hold the keys and values. The reflection APIs in such implementations still need to work as if the field is a repeated message field. NOTE: Do not set the option in .proto files. Always use the maps syntax instead. The option should only be implicitly set by the proto compiler parser.          $   " javalite_serializable          " javanano_as_lite       O  :A The parser stores options it doesn't recognize here. See above.       3  69 Z  M Clients can define custom options in extensions of this message. See above.               . The ctype option instructs the C++ code generator to use a different representation of the field than it normally would. See the specific options below. This option is not yet implemented in the open source release -- sorry, we'll try to include it in a future version!           -  &,         Default mode.                             The packed option can be enabled for repeated primitive fields to enable a more efficient representation on the wire. Rather than repeatedly writing the tag and type for each element, the entire array is encoded as a single length-delimited blob. In proto3, only explicit setting it to false will avoid using packed encoding.            3 The jstype option determines the JavaScript type used for values of the field. The option is permitted only for 64 bit integral and fixed types (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING is represented as JavaScript string, which avoids loss of precision that can happen when a large value is converted to a floating point JavaScript. Specifying JS_NUMBER for the jstype causes the generated JavaScript code to use the JavaScript "number" type. The behavior of the default option JS_NORMAL is implementation dependent. This option is an enum to permit additional types to be added, e.g. goog.math.Integer.           2  (1      '   Use the default type.       )   Use JavaScript strings.       )   Use JavaScript numbers.         + Should this field be parsed lazily? Lazy applies only to message-type fields. It means that when the outer message is initially parsed, the inner message's contents will not be parsed but instead stored in encoded form. The inner message will actually be parsed when it is first accessed. This is only a hint. Implementations are free to choose whether to use eager or lazy parsing regardless of the value of this option. However, setting this option true suggests that the protocol author believes that using lazy parsing on this field is worth the additional bookkeeping overhead typically needed to implement it. This option does not affect the public interface of any generated code; all method signatures remain the same. Furthermore, thread-safety of the interface is not affected by this option; const methods remain safe to call from multiple threads concurrently, while non-const methods continue to require exclusive access. Note that implementations may choose not to check required fields within a lazy sub-message. That is, calling IsInitialized() on the outer message may return true even if the inner message has missing required fields. This is necessary because otherwise the inner message would have to be parsed in order to perform the check, defeating the purpose of lazy parsing. An implementation which chooses not to check required fields must be consistent about it. That is, for any particular sub-message, the implementation must either *always* check its required fields, or *never* check its required fields, regardless of whether or not the message has been parsed. As of 2021, lazy does no correctness checks on the byte stream during parsing. This may lead to crashes if and when an invalid byte stream is finally parsed upon access. TODO(b/211906113): Enable validation on lazy fields.           *  $)   7 unverified_lazy does no correctness checks on the byte stream. This should only be used where lazy with verification is prohibitive for performance reasons.         "$  %6  05   1 Is this field deprecated? Depending on the target platform, this can emit Deprecated annotations for accessors, or it will be completely ignored; in the very least, this is a formalization for deprecating fields.           0  */ ?  ,1 For Google-internal migration only. Do not use.           +  %* O  :A The parser stores options it doesn't recognize here. See above.       3  69 Z  M Clients can define custom options in extensions of this message. See above.            " removed jtype           O  :A The parser stores options it doesn't recognize here. See above.       3  69 Z  M Clients can define custom options in extensions of this message. See above.           `  R Set this option to true to allow mapping different tag names to the same value.       1 Is this enum deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum, or it will be completely ignored; in the very least, this is a formalization for deprecating enums.      0 */    " javanano_as_lite       O :A The parser stores options it doesn't recognize here. See above.    3 69 Z M Clients can define custom options in extensions of this message. See above.         1 Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.      0 */ O :A The parser stores options it doesn't recognize here. See above.    3 69 Z M Clients can define custom options in extensions of this message. See above.         2 Is this service deprecated? Depending on the target platform, this can emit Deprecated annotations for the service, or it will be completely ignored; in the very least, this is a formalization for deprecating services. 2 Note: Field numbers 1 through 32 are reserved for Google's internal RPC framework. We apologize for hoarding these numbers to ourselves, but we were already using them long before we decided to release Protocol Buffers.       1 +0 O :A The parser stores options it doesn't recognize here. See above.    3 69 Z M Clients can define custom options in extensions of this message. See above.         2 Is this method deprecated? Depending on the target platform, this can emit Deprecated annotations for the method, or it will be completely ignored; in the very least, this is a formalization for deprecating methods. 2 Note: Field numbers 1 through 32 are reserved for Google's internal RPC framework. We apologize for hoarding these numbers to ourselves, but we were already using them long before we decided to release Protocol Buffers.       1 +0   Is this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.        $ " implies idempotent     7 "' idempotent, but may have side effects      &    - 02 % $ O :A The parser stores options it doesn't recognize here. See above.    3 69 Z M Clients can define custom options in extensions of this message. See above.        A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.    The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents "foo.(bar.baz).moo".    "          !  #         !"        ' The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.    " %& )    $ '( (    # &' #     !" "      ! &    ! $%  j Encapsulates information about the original source file from which a FileDescriptorProto was generated. 2` =================================================================== Optional source code info   ! A Location identifies a piece of source code in a .proto file which corresponds to a particular definition. This information is intended to be useful to IDEs, code indexers, documentation generators, and similar tools. For example, say we have a file like: message Foo { optional string foo = 1; } Let's look at just the field definition: optional string foo = 1; ^ ^^ ^^ ^ ^^^ a bc de f ghi We have the following locations: span path represents [a,i) [ 4, 0, 2, 0 ] The whole field definition. [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). [c,d) [ 4, 0, 2, 0, 5 ] The type (string). [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). [g,h) [ 4, 0, 2, 0, 3 ] The number (1). Notes: - A location may refer to a repeated field itself (i.e. not to any particular index within it). This is used whenever a set of elements are logically enclosed in a single code segment. For example, an entire extend block (possibly containing multiple extension definitions) will have an outer location whose path refers to the "extensions" repeated field without an index. - Multiple locations may have the same path. This happens when a single logical declaration is spread out across multiple places. The most obvious example is the "extend" block again -- there may be multiple extend blocks in the same scope, each of which will have the same path. - A location's span is not always a subset of its parent's span. For example, the "extendee" of an extension declaration appears at the beginning of the "extend" block and is shared by all extensions within the block. - Just because a location's span is a subset of some other location's span does not mean that it is a descendant. For example, a "group" defines both a type and a field in a single declaration. Thus, the locations corresponding to the type and field and their components will overlap. - Code which tries to interpret locations should probably be designed to ignore those that it doesn't understand, as more types of locations could be recorded in the future.           , Identifies which part of the FileDescriptorProto was defined at this location. Each element is a field number or an index. They form a path from the root FileDescriptorProto to the place where the definition occurs. For example, this path: [ 4, 3, 2, 7, 1 ] refers to: file.message_type(3) // 4, 3 .field(7) // 2, 7 .name() // 1 This is because FileDescriptorProto.message_type has field number 4: repeated DescriptorProto message_type = 4; and DescriptorProto.field has field number 2: repeated FieldDescriptorProto field = 2; and FieldDescriptorProto.name has field number 1: optional string name = 1; Thus, the above path gives the location of a field name. If we removed the last element: [ 4, 3, 2, 7 ] this path refers to the whole field declaration (from the beginning of the label to the terminating semicolon).           +  *  , Always has exactly three or four elements: start line, start column, end line (optional, otherwise assumed same as start line), end column. These are packed into a single field for efficiency. Note that line and column numbers are zero-based -- typically you will want to add 1 to each before displaying to a user.           +  * ) If this SourceCodeInfo represents a complete declaration, these are any comments appearing before and after the declaration which appear to be attached to the declaration. A series of line comments appearing on consecutive lines, with no other tokens appearing on those lines, will be treated as a single comment. leading_detached_comments will keep paragraphs of comments that appear before (but not connected to) the current element. Each paragraph, separated by empty lines, will be one comment element in the repeated field. Only the comment content is provided; comment markers (e.g. //) are stripped out. For block comments, leading whitespace and an asterisk will be stripped from the beginning of each line other than the first. Newlines are included in the output. Examples: optional int32 foo = 1; // Comment attached to foo. // Comment attached to bar. optional int32 bar = 2; optional string baz = 3; // Comment attached to baz. // Another line attached to baz. // Comment attached to moo. // // Another line attached to moo. optional double moo = 4; // Detached comment for corge. This is not leading or trailing comments // to moo or corge because there are blank lines separating it from // both. // Detached comment for corge paragraph 2. optional string corge = 5; /* Block comment attached * to corge. Leading asterisks * will be removed. */ /* Block comment attached to * grault. */ optional int32 grault = 6; // ignored detached comments.       $  '(  *       %  ()  2       -  01   Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.  x %j An Annotation connects some span of text in generated code to an element of its generating .proto file.     #$      , Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.           +  * O $? Identifies the filesystem path to the original source .proto.         "# w g Identifies the starting offset in bytes in the generated code that relates to the identified object.            Identifies the ending offset in bytes in the generated code that relates to the identified offset. The end offset should be one past the last relevant byte (so the length of the text = end - begin).          | $unittest_custom_options_proto3.protoprotobuf_unittest google/protobuf/descriptor.proto" TestMessageWithCustomOptions& field1 ( B-u Rfield1! oneof_field (HR oneofField"S AnEnum ANENUM_UNSPECIFIED ANENUM_VAL1 ANENUM_VAL2{:B AnOneof" CustomOptionFooRequest" CustomOptionFooResponse" CustomOptionFooClientMessage" CustomOptionFooServerMessage" DummyMessageContainingEnum"q TestEnumType TEST_OPTION_ENUM_UNSPECIFIED TEST_OPTION_ENUM_TYPE1# TEST_OPTION_ENUM_TYPE2"! DummyMessageInvalidAsOptionType" CustomOptionMinIntegerValues:j޲Ʋİ֨" CustomOptionMaxIntegerValues:q޲Ʋİ֨"n CustomOptionOtherValues:SƲߣEAܢYB?ܢHello, "World"٢ HelloWorld٢"4 SettingRealsFromPositiveInts:ߣ@Aܢ@c@"4 SettingRealsFromNegativeInts:ߣ@ܢ@c"b ComplexOptionType1 foo (Rfoo foo2 (Rfoo2 foo3 (Rfoo3 foo4 (Rfoo4" ComplexOptionType27 bar ( 2%.protobuf_unittest.ComplexOptionType1Rbar baz (RbazL fred ( 28.protobuf_unittest.ComplexOptionType2.ComplexOptionType4RfredP barney ( 28.protobuf_unittest.ComplexOptionType2.ComplexOptionType4Rbarney ComplexOptionType4 waldo (Rwaldo2 complex_opt4.google.protobuf.MessageOptions ( 28.protobuf_unittest.ComplexOptionType2.ComplexOptionType4R complexOpt4"& ComplexOptionType3 qux (Rqux"l VariousComplexOptions:S* c X Ҩ"e"ސ "W Aggregate i (Ri s ( Rs. sub ( 2.protobuf_unittest.AggregateRsub"d AggregateMessage4 fieldname (B;FieldAnnotationR fieldname:ц;eMessageAnnotation" NestedOptionTypeH NestedMessage/ nested_field (B R nestedField:"F NestedEnum UNSPECIFIED NESTED_ENUM_VALUE*R MethodOpt1 METHODOPT1_UNSPECIFIED METHODOPT1_VAL1 METHODOPT1_VAL2*^ AggregateEnum UNSPECIFIED% VALUE;EnumValueAnnotation;EnumAnnotation2 TestServiceWithCustomOptionsc Foo).protobuf_unittest.CustomOptionFooRequest*.protobuf_unittest.CustomOptionFooResponse" ۀI2 AggregateServicek Method#.protobuf_unittest.AggregateMessage#.protobuf_unittest.AggregateMessage"Ȗ;MethodAnnotation;ServiceAnnotation:< file_opt1.google.protobuf.FileOptions (RfileOpt1:E message_opt1.google.protobuf.MessageOptions (R messageOpt1:? field_opt1.google.protobuf.FieldOptions (R fieldOpt1:? oneof_opt1.google.protobuf.OneofOptionsϵ (R oneofOpt1:< enum_opt1.google.protobuf.EnumOptions (RenumOpt1:K enum_value_opt1!.google.protobuf.EnumValueOptions_ (R enumValueOpt1:E service_opt1.google.protobuf.ServiceOptions (R serviceOpt1:a method_opt1.google.protobuf.MethodOptions (2.protobuf_unittest.MethodOpt1R methodOpt1:= bool_opt.google.protobuf.MessageOptions (RboolOpt:? int32_opt.google.protobuf.MessageOptions (Rint32Opt:? int64_opt.google.protobuf.MessageOptionsƧ (Rint64Opt:A uint32_opt.google.protobuf.MessageOptions ( R uint32Opt:A uint64_opt.google.protobuf.MessageOptionsߎ (R uint64Opt:A sint32_opt.google.protobuf.MessageOptions (R sint32Opt:A sint64_opt.google.protobuf.MessageOptions (R sint64Opt:C fixed32_opt.google.protobuf.MessageOptions (R fixed32Opt:C fixed64_opt.google.protobuf.MessageOptions (R fixed64Opt:E sfixed32_opt.google.protobuf.MessageOptions (R sfixed32Opt:E sfixed64_opt.google.protobuf.MessageOptions (R sfixed64Opt:? float_opt.google.protobuf.MessageOptions (RfloatOpt:A double_opt.google.protobuf.MessageOptionsͫ (R doubleOpt:A string_opt.google.protobuf.MessageOptionsū ( R stringOpt:? bytes_opt.google.protobuf.MessageOptions ( RbytesOpt:y enum_opt.google.protobuf.MessageOptions (2:.protobuf_unittest.DummyMessageContainingEnum.TestEnumTypeRenumOpt: message_type_opt.google.protobuf.MessageOptions ( 22.protobuf_unittest.DummyMessageInvalidAsOptionTypeRmessageTypeOpt:l complex_opt1.google.protobuf.MessageOptions ( 2%.protobuf_unittest.ComplexOptionType1R complexOpt1:l complex_opt2.google.protobuf.MessageOptionsՏ ( 2%.protobuf_unittest.ComplexOptionType2R complexOpt2:l complex_opt3.google.protobuf.MessageOptions ( 2%.protobuf_unittest.ComplexOptionType3R complexOpt3:W fileopt.google.protobuf.FileOptionsݰ ( 2.protobuf_unittest.AggregateRfileopt:X msgopt.google.protobuf.MessageOptions ( 2.protobuf_unittest.AggregateRmsgopt:Z fieldopt.google.protobuf.FieldOptions ( 2.protobuf_unittest.AggregateRfieldopt:W enumopt.google.protobuf.EnumOptions҂ ( 2.protobuf_unittest.AggregateRenumopt:b enumvalopt!.google.protobuf.EnumValueOptionsɟ ( 2.protobuf_unittest.AggregateR enumvalopt:` serviceopt.google.protobuf.ServiceOptions ( 2.protobuf_unittest.AggregateR serviceopt:] methodopt.google.protobuf.MethodOptions ( 2.protobuf_unittest.AggregateR methodoptBUUnitTest.Issues.TestProtos$;*dFileAnnotationNestedFileAnnotationJQ ,   ,2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2 Author: benjy@google.com (Benjy Weinberger) Based on original Protocol Buffers design by Sanjay Ghemawat, Jeff Dean, and others. A proto file used to test the "custom options" feature of google.protobuf. 2 This file is based on unittest_custom_options.proto in src/google/protobuf, but is modified for proto3. It could potentially be moved into src/google/protobuf, but currently C# is the only language that really needs it, as we don't support proto2 syntax. It's cut down significantly as proto3 only supports extensions for options.  / 5 / ' A custom file option (defined below). 1*  5 We don't put this in a package within proto2 because we need to make sure that the generated code doesn't depend on being in the proto2 namespace.  67 %67 > :<23 Some simple test custom options of various types. ; :" ; ;  ; >@ ? >% ? ? ? BD C B# C C  C FH G F# G G G JL K J" K K  K NP O" N' O O O! RT S R% S S  S VZ V W W W X X X Y Y Y \^ ]# \$ ] ]  ]"  bu A test message with custom options at all possible locations (and also some regular options, to make sure they interact nicely). b$ c) c) e  e gh7 g g  g gh6 g  h5 jm j k  ϵk l l l  l ot o p  p q  q  q r  r  r s.  s  s  s-  _s,  z{ A test RPC service with custom options at all possible locations (and also some regular options, to make sure they interact nicely). z }~ }  $  $  $ &  &     +B +  + [ 2M Options of every possible field type, so we can test them all exhaustively. "     %    #$        !      '   & %    %   &  %       %   &  %       %  &  %      %  &  %      %  &  %      % & %   % & %   % & %   % & %   % & %   %  & %    % & %   % & %   %  & %    % = % ) *2 5< = % ! "2 5<  $    &  & .  Ƨ.      ߎ &  & .  .       &  & .  .  $    %  % -  Ƨ- %  % -  ߎ- %  % -  - %  % -  - %  % -  -       *  " To test sign-extension.  #   #  -   ͫ-  +   ū+  '   '  /   /    $          ͫ    $          ͫ d  2V Options of complex message types, themselves combined and extended in various ways.                                                                                  0    )      %   (/          )       $  '(        > % & '3 6= , %  ! $+ , %  ! $+ U G Note that we try various different ways of naming the same extension.  4  4 4  4 4  4 "  Տ" &  Տ& K  K )  Տ) 0  Տ0 0  Տ0 2  2  5 A helper type used to test aggregate option parsing 2 ------------------------------------------------------ Definitions for testing aggregate option parsing. See descriptor_unittest.cc.             A nested object     f L[ Allow Aggregate to be used as an option at all possible locations in the .proto grammar. *J " *3 4; AI L *J % *3 4: AI L *J # *3 4< AI L *J " *3 4; AI L  *J  '  *3  4>  AI L !*J !% !*3 !4> !AI L "*J "$ "*3 "4= "AI  U ݰD Try using AggregateOption at different points in the proto grammar   4  4 =    <  ;   2  2     )9 2  2   ,  ҂,    9    8  ɟ 7 4 & Test custom options for nested type.      !  !  1         0  /              5      4  _3bproto3  unittest_import_public.protoprotobuf_unittest_import_proto2"# PublicImportMessage e (ReB$!Google.Protobuf.TestProtos.Proto2J  (   2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2( Author: liujisi@google.com (Pherl Liu)  "(  $> %$> &( & ' ' '  ' '  unittest_import.protoprotobuf_unittest_import_proto2unittest_import_public.proto" ImportMessage d (Rd*< ImportEnum IMPORT_FOO IMPORT_BAR IMPORT_BAZ *1 ImportEnumForMap UNKNOWN FOO BARB)H!Google.Protobuf.TestProtos.Proto2J $D   $2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2 Author: kenton@google.com (Kenton Varda) Based on original Protocol Buffers design by Sanjay Ghemawat, Jeff Dean, and others. A proto file which is imported by unittest.proto to test importing.  *( We don't put this in a package within proto2 because we need to make sure that the generated code doesn't depend on being in the proto2 namespace. In test_util.h we do "using namespace unittest_import = protobuf_unittest_import".  ,  ,  - -  /> %/>  2- Test public import  2 46 4 5 5 5  5 5 8< 8 9 9 9 : : : ; ; ; H @D< To use an enum in a map, it must has the first value as 0. @ A A A B B B C C C P  unittest.protoprotobuf_unittest_proto2unittest_import.proto"$ TestAllTypes% optional_int32 (R optionalInt32% optional_int64 (R optionalInt64' optional_uint32 ( RoptionalUint32' optional_uint64 (RoptionalUint64' optional_sint32 (RoptionalSint32' optional_sint64 (RoptionalSint64) optional_fixed32 (RoptionalFixed32) optional_fixed64 (RoptionalFixed64+ optional_sfixed32 (RoptionalSfixed32+ optional_sfixed64 (RoptionalSfixed64% optional_float (R optionalFloat' optional_double (RoptionalDouble# optional_bool (R optionalBool' optional_string ( RoptionalString% optional_bytes ( R optionalBytesZ optionalgroup ( 24.protobuf_unittest_proto2.TestAllTypes.OptionalGroupR optionalgroupl optional_nested_message ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageRoptionalNestedMessageb optional_foreign_message ( 2(.protobuf_unittest_proto2.ForeignMessageRoptionalForeignMessagef optional_import_message ( 2..protobuf_unittest_import_proto2.ImportMessageRoptionalImportMessagec optional_nested_enum (21.protobuf_unittest_proto2.TestAllTypes.NestedEnumRoptionalNestedEnumY optional_foreign_enum (2%.protobuf_unittest_proto2.ForeignEnumRoptionalForeignEnum] optional_import_enum (2+.protobuf_unittest_import_proto2.ImportEnumRoptionalImportEnum6 optional_string_piece ( BRoptionalStringPiece' optional_cord ( BR optionalCordy optional_public_import_message ( 24.protobuf_unittest_import_proto2.PublicImportMessageRoptionalPublicImportMessagel optional_lazy_message ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageB(RoptionalLazyMessage% repeated_int32 (R repeatedInt32% repeated_int64 (R repeatedInt64' repeated_uint32! ( RrepeatedUint32' repeated_uint64" (RrepeatedUint64' repeated_sint32# (RrepeatedSint32' repeated_sint64$ (RrepeatedSint64) repeated_fixed32% (RrepeatedFixed32) repeated_fixed64& (RrepeatedFixed64+ repeated_sfixed32' (RrepeatedSfixed32+ repeated_sfixed64( (RrepeatedSfixed64% repeated_float) (R repeatedFloat' repeated_double* (RrepeatedDouble# repeated_bool+ (R repeatedBool' repeated_string, ( RrepeatedString% repeated_bytes- ( R repeatedBytesZ repeatedgroup. ( 24.protobuf_unittest_proto2.TestAllTypes.RepeatedGroupR repeatedgroupl repeated_nested_message0 ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageRrepeatedNestedMessageb repeated_foreign_message1 ( 2(.protobuf_unittest_proto2.ForeignMessageRrepeatedForeignMessagef repeated_import_message2 ( 2..protobuf_unittest_import_proto2.ImportMessageRrepeatedImportMessagec repeated_nested_enum3 (21.protobuf_unittest_proto2.TestAllTypes.NestedEnumRrepeatedNestedEnumY repeated_foreign_enum4 (2%.protobuf_unittest_proto2.ForeignEnumRrepeatedForeignEnum] repeated_import_enum5 (2+.protobuf_unittest_import_proto2.ImportEnumRrepeatedImportEnum6 repeated_string_piece6 ( BRrepeatedStringPiece' repeated_cord7 ( BR repeatedCordl repeated_lazy_message9 ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageB(RrepeatedLazyMessage' default_int32= (:41R defaultInt32' default_int64> (:42R defaultInt64) default_uint32? ( :43R defaultUint32) default_uint64@ (:44R defaultUint64* default_sint32A (:-45R defaultSint32) default_sint64B (:46R defaultSint64+ default_fixed32C (:47RdefaultFixed32+ default_fixed64D (:48RdefaultFixed64- default_sfixed32E (:49RdefaultSfixed32. default_sfixed64F (:-50RdefaultSfixed64) default_floatG (:51.5R defaultFloat, default_doubleH (:52000R defaultDouble' default_boolI (:trueR defaultBool, default_stringJ ( :helloR defaultString* default_bytesK ( :worldR defaultBytesf default_nested_enumQ (21.protobuf_unittest_proto2.TestAllTypes.NestedEnum:BARRdefaultNestedEnumd default_foreign_enumR (2%.protobuf_unittest_proto2.ForeignEnum: FOREIGN_BARRdefaultForeignEnumg default_import_enumS (2+.protobuf_unittest_import_proto2.ImportEnum: IMPORT_BARRdefaultImportEnum9 default_string_pieceT ( :abcBRdefaultStringPiece* default_cordU ( :123BR defaultCord# oneof_uint32o ( HR oneofUint32h oneof_nested_messagep ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageHRoneofNestedMessage# oneof_stringq ( HR oneofString! oneof_bytesr ( HR oneofBytes NestedMessage bb (Rbb OptionalGroup a (Ra RepeatedGroup a/ (Ra"9 NestedEnum FOO BAR BAZ NEGB oneof_field" NestedTestAllTypesB child ( 2,.protobuf_unittest_proto2.NestedTestAllTypesRchild@ payload ( 2&.protobuf_unittest_proto2.TestAllTypesRpayloadS repeated_child ( 2,.protobuf_unittest_proto2.NestedTestAllTypesR repeatedChild" TestDeprecatedFields- deprecated_int32 (BRdeprecatedInt32? deprecated_int32_in_oneof (BHRdeprecatedInt32InOneofB oneof_fields" TestDeprecatedMessage:", ForeignMessage c (Rc d (Rd"0 TestReservedFieldsJJJ  RbarRbaz" TestAllExtensions*"' OptionalGroup_extension a (Ra"' RepeatedGroup_extension a/ (Ra" TestGroupW optionalgroup ( 21.protobuf_unittest_proto2.TestGroup.OptionalGroupR optionalgroupY optional_foreign_enum (2%.protobuf_unittest_proto2.ForeignEnumRoptionalForeignEnum OptionalGroup a (Ra" TestGroupExtension*" TestNestedExtension' OptionalGroup_extension a (Ra2F test+.protobuf_unittest_proto2.TestAllExtensions ( :testRtest2d nested_string_extension+.protobuf_unittest_proto2.TestAllExtensions ( RnestedStringExtension2 optionalgroup_extension,.protobuf_unittest_proto2.TestGroupExtension ( 2E.protobuf_unittest_proto2.TestNestedExtension.OptionalGroup_extensionRoptionalgroupExtension2 optional_foreign_enum_extension,.protobuf_unittest_proto2.TestGroupExtension (2%.protobuf_unittest_proto2.ForeignEnumRoptionalForeignEnumExtension" TestRequired a (Ra dummy2 (Rdummy2 b (Rb dummy4 (Rdummy4 dummy5 (Rdummy5 dummy6 (Rdummy6 dummy7 (Rdummy7 dummy8 (Rdummy8 dummy9 (Rdummy9 dummy10 (Rdummy10 dummy11 (Rdummy11 dummy12 (Rdummy12 dummy13 (Rdummy13 dummy14 (Rdummy14 dummy15 (Rdummy15 dummy16 (Rdummy16 dummy17 (Rdummy17 dummy18 (Rdummy18 dummy19 (Rdummy19 dummy20 (Rdummy20 dummy21 (Rdummy21 dummy22 (Rdummy22 dummy23 (Rdummy23 dummy24 (Rdummy24 dummy25 (Rdummy25 dummy26 (Rdummy26 dummy27 (Rdummy27 dummy28 (Rdummy28 dummy29 (Rdummy29 dummy30 (Rdummy30 dummy31 (Rdummy31 dummy32 (Rdummy32 c! (Rc2l single+.protobuf_unittest_proto2.TestAllExtensions ( 2&.protobuf_unittest_proto2.TestRequiredRsingle2j multi+.protobuf_unittest_proto2.TestAllExtensions ( 2&.protobuf_unittest_proto2.TestRequiredRmulti" TestRequiredForeignQ optional_message ( 2&.protobuf_unittest_proto2.TestRequiredRoptionalMessageQ repeated_message ( 2&.protobuf_unittest_proto2.TestRequiredRrepeatedMessage dummy (Rdummy" TestRequiredMessageQ optional_message ( 2&.protobuf_unittest_proto2.TestRequiredRoptionalMessageQ repeated_message ( 2&.protobuf_unittest_proto2.TestRequiredRrepeatedMessageQ required_message ( 2&.protobuf_unittest_proto2.TestRequiredRrequiredMessage"p TestForeignNested[ foreign_nested ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageR foreignNested" TestEmptyMessage"* TestEmptyMessageWithExtensions*"7 TestMultipleExtensionRanges**+* !* "; TestReallyLargeTagNumber a (Ra bb (Rbb"b TestRecursiveMessage< a ( 2..protobuf_unittest_proto2.TestRecursiveMessageRa i (Ri" TestMutualRecursionA> bb ( 2..protobuf_unittest_proto2.TestMutualRecursionBRbbS subgroup ( 27.protobuf_unittest_proto2.TestMutualRecursionA.SubGroupRsubgroupJ SubMessage< b ( 2..protobuf_unittest_proto2.TestMutualRecursionBRb SubGroupZ sub_message ( 29.protobuf_unittest_proto2.TestMutualRecursionA.SubMessageR subMessageM not_in_this_scc ( 2&.protobuf_unittest_proto2.TestAllTypesR notInThisScc"{ TestMutualRecursionB< a ( 2..protobuf_unittest_proto2.TestMutualRecursionARa% optional_int32 (R optionalInt32" TestIsInitializedW sub_message ( 26.protobuf_unittest_proto2.TestIsInitialized.SubMessageR subMessage SubMessage[ subgroup ( 2?.protobuf_unittest_proto2.TestIsInitialized.SubMessage.SubGroupRsubgroup SubGroup i (Ri" TestDupFieldNumber a (RaB foo ( 20.protobuf_unittest_proto2.TestDupFieldNumber.FooRfooB bar ( 20.protobuf_unittest_proto2.TestDupFieldNumber.BarRbar Foo a (Ra Bar a (Ra"_ TestEagerMessageK sub_message ( 2&.protobuf_unittest_proto2.TestAllTypesB(R subMessage"^ TestLazyMessageK sub_message ( 2&.protobuf_unittest_proto2.TestAllTypesB(R subMessage" TestNestedMessageHasBitsx optional_nested_message ( 2@.protobuf_unittest_proto2.TestNestedMessageHasBits.NestedMessageRoptionalNestedMessage NestedMessage@ nestedmessage_repeated_int32 (RnestedmessageRepeatedInt32| %nestedmessage_repeated_foreignmessage ( 2(.protobuf_unittest_proto2.ForeignMessageR#nestedmessageRepeatedForeignmessage" TestCamelCaseFieldNames& PrimitiveField (RPrimitiveField StringField ( R StringFieldC EnumField (2%.protobuf_unittest_proto2.ForeignEnumR EnumFieldL MessageField ( 2(.protobuf_unittest_proto2.ForeignMessageR MessageField. StringPieceField ( BRStringPieceField CordField ( BR CordField6 RepeatedPrimitiveField (RRepeatedPrimitiveField0 RepeatedStringField ( RRepeatedStringFieldS RepeatedEnumField (2%.protobuf_unittest_proto2.ForeignEnumRRepeatedEnumField\ RepeatedMessageField ( 2(.protobuf_unittest_proto2.ForeignMessageRRepeatedMessageField> RepeatedStringPieceField ( BRRepeatedStringPieceField0 RepeatedCordField ( BRRepeatedCordField" TestFieldOrderings my_string ( RmyString my_int (RmyInt my_floate (RmyFloats optional_nested_message ( 2:.protobuf_unittest_proto2.TestFieldOrderings.NestedMessageRoptionalNestedMessage/ NestedMessage oo (Roo bb (Rbb* * e" TestExtensionOrderings1 my_string ( RmyString2 test_ext_orderings1,.protobuf_unittest_proto2.TestFieldOrderings ( 21.protobuf_unittest_proto2.TestExtensionOrderings1RtestExtOrderings1" TestExtensionOrderings2 my_string ( RmyString TestExtensionOrderings3 my_string ( RmyString2 test_ext_orderings3,.protobuf_unittest_proto2.TestFieldOrderings ( 2I.protobuf_unittest_proto2.TestExtensionOrderings2.TestExtensionOrderings3RtestExtOrderings32 test_ext_orderings2,.protobuf_unittest_proto2.TestFieldOrderings ( 21.protobuf_unittest_proto2.TestExtensionOrderings2RtestExtOrderings2" TestExtremeDefaultValuesM escaped_bytes ( :(\000\001\007\010\014\n\r\t\013\\\'\"\376R escapedBytes- large_uint32 ( : 4294967295R largeUint327 large_uint64 (:18446744073709551615R largeUint64, small_int32 (: -2147483647R smallInt325 small_int64 (:-9223372036854775807R smallInt649 really_small_int32 (: -2147483648RreallySmallInt32B really_small_int64 (:-9223372036854775808RreallySmallInt64$ utf8_string ( :ሴR utf8String zero_float (:0R zeroFloat one_float (:1RoneFloat$ small_float (:1.5R smallFloat0 negative_one_float (:-1RnegativeOneFloat+ negative_float (:-1.5R negativeFloat& large_float (:2e+08R largeFloat8 small_negative_float (:-8e-28RsmallNegativeFloat" inf_double (:infR infDouble* neg_inf_double (:-infR negInfDouble" nan_double (:nanR nanDouble inf_float (:infRinfFloat( neg_inf_float (:-infR negInfFloat nan_float (:nanRnanFloat8 cpp_trigraph ( :? ? ?? ?? ??? ??/ ??-R cppTrigraph0 string_with_zero ( :helloRstringWithZero1 bytes_with_zero ( : wor\000ldR bytesWithZero= string_piece_with_zero ( :abcBRstringPieceWithZero. cord_with_zero ( :123BR cordWithZero9 replacement_string ( : ${unknown}RreplacementString"^ SparseEnumMessageI sparse_enum (2(.protobuf_unittest_proto2.TestSparseEnumR sparseEnum" OneString data ( Rdata" MoreString data ( Rdata" OneBytes data ( Rdata" MoreBytes data ( Rdata"" Int32Message data (Rdata"# Uint32Message data ( Rdata"" Int64Message data (Rdata"# Uint64Message data (Rdata"! BoolMessage data (Rdata" TestOneof foo_int (HRfooInt foo_string ( HR fooStringI foo_message ( 2&.protobuf_unittest_proto2.TestAllTypesHR fooMessageJ foogroup ( 2,.protobuf_unittest_proto2.TestOneof.FooGroupHRfoogroup& FooGroup a (Ra b ( RbB foo" TestOneofBackwardsCompatible foo_int (RfooInt foo_string ( R fooStringG foo_message ( 2&.protobuf_unittest_proto2.TestAllTypesR fooMessage[ foogroup ( 2?.protobuf_unittest_proto2.TestOneofBackwardsCompatible.FooGroupRfoogroup& FooGroup a (Ra b ( Rb" TestOneof2 foo_int (HRfooInt foo_string ( HR fooString foo_cord ( BHRfooCord. foo_string_piece ( BHRfooStringPiece foo_bytes ( HRfooBytesL foo_enum (2/.protobuf_unittest_proto2.TestOneof2.NestedEnumHRfooEnumU foo_message ( 22.protobuf_unittest_proto2.TestOneof2.NestedMessageHR fooMessageK foogroup ( 2-.protobuf_unittest_proto2.TestOneof2.FooGroupHRfoogroupb foo_lazy_message ( 22.protobuf_unittest_proto2.TestOneof2.NestedMessageB(HRfooLazyMessage bar_int (:5HRbarInt' bar_string ( :STRINGHR barString% bar_cord ( :CORDBHRbarCord6 bar_string_piece ( :SPIECEBHRbarStringPiece$ bar_bytes ( :BYTESHRbarBytesQ bar_enum (2/.protobuf_unittest_proto2.TestOneof2.NestedEnum:BARHRbarEnum baz_int (RbazInt" baz_string ( :BAZR bazString& FooGroup a (Ra b ( RbE NestedMessage qux_int (RquxInt corge_int (RcorgeInt"' NestedEnum FOO BAR BAZB fooB bar" TestRequiredOneof foo_int (HRfooInt foo_string ( HR fooString\ foo_message ( 29.protobuf_unittest_proto2.TestRequiredOneof.NestedMessageHR fooMessage8 NestedMessage' required_double (RrequiredDoubleB foo" TestRequiredMapD foo ( 22.protobuf_unittest_proto2.TestRequiredMap.FooEntryRfooo FooEntry key (RkeyM value ( 27.protobuf_unittest_proto2.TestRequiredMap.NestedMessageRvalue:86 NestedMessage% required_int32 (R requiredInt32" TestPackedTypes% packed_int32Z (BR packedInt32% packed_int64[ (BR packedInt64' packed_uint32\ ( BR packedUint32' packed_uint64] (BR packedUint64' packed_sint32^ (BR packedSint32' packed_sint64_ (BR packedSint64) packed_fixed32` (BR packedFixed32) packed_fixed64a (BR packedFixed64+ packed_sfixed32b (BRpackedSfixed32+ packed_sfixed64c (BRpackedSfixed64% packed_floatd (BR packedFloat' packed_doublee (BR packedDouble# packed_boolf (BR packedBoolJ packed_enumg (2%.protobuf_unittest_proto2.ForeignEnumBR packedEnum" TestUnpackedTypes) unpacked_int32Z (BR unpackedInt32) unpacked_int64[ (BR unpackedInt64+ unpacked_uint32\ ( BRunpackedUint32+ unpacked_uint64] (BRunpackedUint64+ unpacked_sint32^ (BRunpackedSint32+ unpacked_sint64_ (BRunpackedSint64- unpacked_fixed32` (BRunpackedFixed32- unpacked_fixed64a (BRunpackedFixed64/ unpacked_sfixed32b (BRunpackedSfixed32/ unpacked_sfixed64c (BRunpackedSfixed64) unpacked_floatd (BR unpackedFloat+ unpacked_doublee (BRunpackedDouble' unpacked_boolf (BR unpackedBoolN unpacked_enumg (2%.protobuf_unittest_proto2.ForeignEnumBR unpackedEnum" TestPackedExtensions*"" TestUnpackedExtensions*" TestDynamicExtensions* scalar_extension (RscalarExtensionM enum_extension (2%.protobuf_unittest_proto2.ForeignEnumR enumExtensionv dynamic_enum_extension (2?.protobuf_unittest_proto2.TestDynamicExtensions.DynamicEnumTypeRdynamicEnumExtensionV message_extension ( 2(.protobuf_unittest_proto2.ForeignMessageRmessageExtension dynamic_message_extension ( 2B.protobuf_unittest_proto2.TestDynamicExtensions.DynamicMessageTypeRdynamicMessageExtension. repeated_extension ( RrepeatedExtension. packed_extension (BRpackedExtension: DynamicMessageType$ dynamic_field (R dynamicField"G DynamicEnumType DYNAMIC_FOO DYNAMIC_BAR DYNAMIC_BAZ" #TestRepeatedScalarDifferentTagSizes) repeated_fixed32 (RrepeatedFixed32% repeated_int32 (R repeatedInt32* repeated_fixed64 (RrepeatedFixed64& repeated_int64 (R repeatedInt64' repeated_float (R repeatedFloat) repeated_uint64 (RrepeatedUint64" TestParsingMergeT required_all_types ( 2&.protobuf_unittest_proto2.TestAllTypesRrequiredAllTypesT optional_all_types ( 2&.protobuf_unittest_proto2.TestAllTypesRoptionalAllTypesT repeated_all_types ( 2&.protobuf_unittest_proto2.TestAllTypesRrepeatedAllTypes^ optionalgroup ( 28.protobuf_unittest_proto2.TestParsingMerge.OptionalGroupR optionalgroup^ repeatedgroup ( 28.protobuf_unittest_proto2.TestParsingMerge.RepeatedGroupR repeatedgroup RepeatedFieldsGenerator> field1 ( 2&.protobuf_unittest_proto2.TestAllTypesRfield1> field2 ( 2&.protobuf_unittest_proto2.TestAllTypesRfield2> field3 ( 2&.protobuf_unittest_proto2.TestAllTypesRfield3a group1 ( 2I.protobuf_unittest_proto2.TestParsingMerge.RepeatedFieldsGenerator.Group1Rgroup1a group2 ( 2I.protobuf_unittest_proto2.TestParsingMerge.RepeatedFieldsGenerator.Group2Rgroup2; ext1 ( 2&.protobuf_unittest_proto2.TestAllTypesRext1; ext2 ( 2&.protobuf_unittest_proto2.TestAllTypesRext2H Group1> field1 ( 2&.protobuf_unittest_proto2.TestAllTypesRfield1H Group2> field1 ( 2&.protobuf_unittest_proto2.TestAllTypesRfield1p OptionalGroup_ optional_group_all_types ( 2&.protobuf_unittest_proto2.TestAllTypesRoptionalGroupAllTypesp RepeatedGroup_ repeated_group_all_types ( 2&.protobuf_unittest_proto2.TestAllTypesRrepeatedGroupAllTypes* 2v optional_ext*.protobuf_unittest_proto2.TestParsingMerge ( 2&.protobuf_unittest_proto2.TestAllTypesR optionalExt2v repeated_ext*.protobuf_unittest_proto2.TestParsingMerge ( 2&.protobuf_unittest_proto2.TestAllTypesR repeatedExt"G TestCommentInjectionMessage( a ( :*/ <- Neither should this.Ra" FooRequest" FooResponse" FooClientMessage" FooServerMessage" BarRequest" BarResponse" TestJsonName field_name1 (R fieldName1 fieldName2 (R fieldName2 FieldName3 (R FieldName3 _field_name4 (R FieldName4 FIELD_NAME5 (R FIELDNAME5 field_name6 (R@type" TestHugeFieldNumbers) optional_int32 (R optionalInt32 fixed_32 (Rfixed32- repeated_int32 (BR repeatedInt32) packed_int32 (BR packedInt32N optional_enum (2%.protobuf_unittest_proto2.ForeignEnumR optionalEnum+ optional_string ( RoptionalString) optional_bytes ( R optionalBytesW optional_message ( 2(.protobuf_unittest_proto2.ForeignMessageRoptionalMessagef optionalgroup ( 2<.protobuf_unittest_proto2.TestHugeFieldNumbers.OptionalGroupR optionalgroups string_string_map ( 2C.protobuf_unittest_proto2.TestHugeFieldNumbers.StringStringMapEntryRstringStringMap' oneof_uint32 ( HR oneofUint32] oneof_test_all_types ( 2&.protobuf_unittest_proto2.TestAllTypesHRoneofTestAllTypes' oneof_string ( HR oneofString% oneof_bytes ( HR oneofBytes, OptionalGroup group_a (RgroupAB StringStringMapEntry key ( Rkey value ( Rvalue:8* B oneof_field" TestExtensionInsideTable field1 (Rfield1 field2 (Rfield2 field3 (Rfield3 field4 (Rfield4 field6 (Rfield6 field7 (Rfield7 field8 (Rfield8 field9 (Rfield9 field10 (Rfield10**@ ForeignEnum FOREIGN_FOO FOREIGN_BAR FOREIGN_BAZ*K TestEnumWithDupValue FOO1 BAR1 BAZ FOO2 BAR2* TestSparseEnum SPARSE_A{ SPARSE_B SPARSE_C SPARSE_D SPARSE_E SPARSE_F SPARSE_G* VeryLargeEnum ENUM_LABEL_DEFAULT ENUM_LABEL_1 ENUM_LABEL_2 ENUM_LABEL_3 ENUM_LABEL_4 ENUM_LABEL_5 ENUM_LABEL_6 ENUM_LABEL_7 ENUM_LABEL_8 ENUM_LABEL_9  ENUM_LABEL_10  ENUM_LABEL_11  ENUM_LABEL_12  ENUM_LABEL_13  ENUM_LABEL_14 ENUM_LABEL_15 ENUM_LABEL_16 ENUM_LABEL_17 ENUM_LABEL_18 ENUM_LABEL_19 ENUM_LABEL_20 ENUM_LABEL_21 ENUM_LABEL_22 ENUM_LABEL_23 ENUM_LABEL_24 ENUM_LABEL_25 ENUM_LABEL_26 ENUM_LABEL_27 ENUM_LABEL_28 ENUM_LABEL_29 ENUM_LABEL_30 ENUM_LABEL_31 ENUM_LABEL_32  ENUM_LABEL_33! ENUM_LABEL_34" ENUM_LABEL_35# ENUM_LABEL_36$ ENUM_LABEL_37% ENUM_LABEL_38& ENUM_LABEL_39' ENUM_LABEL_40( ENUM_LABEL_41) ENUM_LABEL_42* ENUM_LABEL_43+ ENUM_LABEL_44, ENUM_LABEL_45- ENUM_LABEL_46. ENUM_LABEL_47/ ENUM_LABEL_480 ENUM_LABEL_491 ENUM_LABEL_502 ENUM_LABEL_513 ENUM_LABEL_524 ENUM_LABEL_535 ENUM_LABEL_546 ENUM_LABEL_557 ENUM_LABEL_568 ENUM_LABEL_579 ENUM_LABEL_58: ENUM_LABEL_59; ENUM_LABEL_60< ENUM_LABEL_61= ENUM_LABEL_62> ENUM_LABEL_63? ENUM_LABEL_64@ ENUM_LABEL_65A ENUM_LABEL_66B ENUM_LABEL_67C ENUM_LABEL_68D ENUM_LABEL_69E ENUM_LABEL_70F ENUM_LABEL_71G ENUM_LABEL_72H ENUM_LABEL_73I ENUM_LABEL_74J ENUM_LABEL_75K ENUM_LABEL_76L ENUM_LABEL_77M ENUM_LABEL_78N ENUM_LABEL_79O ENUM_LABEL_80P ENUM_LABEL_81Q ENUM_LABEL_82R ENUM_LABEL_83S ENUM_LABEL_84T ENUM_LABEL_85U ENUM_LABEL_86V ENUM_LABEL_87W ENUM_LABEL_88X ENUM_LABEL_89Y ENUM_LABEL_90Z ENUM_LABEL_91[ ENUM_LABEL_92\ ENUM_LABEL_93] ENUM_LABEL_94^ ENUM_LABEL_95_ ENUM_LABEL_96` ENUM_LABEL_97a ENUM_LABEL_98b ENUM_LABEL_99c ENUM_LABEL_100d2 TestServiceR Foo$.protobuf_unittest_proto2.FooRequest%.protobuf_unittest_proto2.FooResponseR Bar$.protobuf_unittest_proto2.BarRequest%.protobuf_unittest_proto2.BarResponse:e optional_int32_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalInt32Extension:e optional_int64_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalInt64Extension:g optional_uint32_extension+.protobuf_unittest_proto2.TestAllExtensions ( RoptionalUint32Extension:g optional_uint64_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalUint64Extension:g optional_sint32_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalSint32Extension:g optional_sint64_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalSint64Extension:i optional_fixed32_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalFixed32Extension:i optional_fixed64_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalFixed64Extension:k optional_sfixed32_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalSfixed32Extension:k optional_sfixed64_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalSfixed64Extension:e optional_float_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalFloatExtension:g optional_double_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalDoubleExtension:c optional_bool_extension+.protobuf_unittest_proto2.TestAllExtensions (RoptionalBoolExtension:g optional_string_extension+.protobuf_unittest_proto2.TestAllExtensions ( RoptionalStringExtension:e optional_bytes_extension+.protobuf_unittest_proto2.TestAllExtensions ( RoptionalBytesExtension: optionalgroup_extension+.protobuf_unittest_proto2.TestAllExtensions ( 21.protobuf_unittest_proto2.OptionalGroup_extensionRoptionalgroupExtension: !optional_nested_message_extension+.protobuf_unittest_proto2.TestAllExtensions ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageRoptionalNestedMessageExtension: "optional_foreign_message_extension+.protobuf_unittest_proto2.TestAllExtensions ( 2(.protobuf_unittest_proto2.ForeignMessageRoptionalForeignMessageExtension: !optional_import_message_extension+.protobuf_unittest_proto2.TestAllExtensions ( 2..protobuf_unittest_import_proto2.ImportMessageRoptionalImportMessageExtension: optional_nested_enum_extension+.protobuf_unittest_proto2.TestAllExtensions (21.protobuf_unittest_proto2.TestAllTypes.NestedEnumRoptionalNestedEnumExtension: optional_foreign_enum_extension+.protobuf_unittest_proto2.TestAllExtensions (2%.protobuf_unittest_proto2.ForeignEnumRoptionalForeignEnumExtension: optional_import_enum_extension+.protobuf_unittest_proto2.TestAllExtensions (2+.protobuf_unittest_import_proto2.ImportEnumRoptionalImportEnumExtension:v optional_string_piece_extension+.protobuf_unittest_proto2.TestAllExtensions ( BRoptionalStringPieceExtension:g optional_cord_extension+.protobuf_unittest_proto2.TestAllExtensions ( BRoptionalCordExtension: (optional_public_import_message_extension+.protobuf_unittest_proto2.TestAllExtensions ( 24.protobuf_unittest_import_proto2.PublicImportMessageR$optionalPublicImportMessageExtension: optional_lazy_message_extension+.protobuf_unittest_proto2.TestAllExtensions ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageB(RoptionalLazyMessageExtension:e repeated_int32_extension+.protobuf_unittest_proto2.TestAllExtensions (RrepeatedInt32Extension:e repeated_int64_extension+.protobuf_unittest_proto2.TestAllExtensions (RrepeatedInt64Extension:g repeated_uint32_extension+.protobuf_unittest_proto2.TestAllExtensions! ( RrepeatedUint32Extension:g repeated_uint64_extension+.protobuf_unittest_proto2.TestAllExtensions" (RrepeatedUint64Extension:g repeated_sint32_extension+.protobuf_unittest_proto2.TestAllExtensions# (RrepeatedSint32Extension:g repeated_sint64_extension+.protobuf_unittest_proto2.TestAllExtensions$ (RrepeatedSint64Extension:i repeated_fixed32_extension+.protobuf_unittest_proto2.TestAllExtensions% (RrepeatedFixed32Extension:i repeated_fixed64_extension+.protobuf_unittest_proto2.TestAllExtensions& (RrepeatedFixed64Extension:k repeated_sfixed32_extension+.protobuf_unittest_proto2.TestAllExtensions' (RrepeatedSfixed32Extension:k repeated_sfixed64_extension+.protobuf_unittest_proto2.TestAllExtensions( (RrepeatedSfixed64Extension:e repeated_float_extension+.protobuf_unittest_proto2.TestAllExtensions) (RrepeatedFloatExtension:g repeated_double_extension+.protobuf_unittest_proto2.TestAllExtensions* (RrepeatedDoubleExtension:c repeated_bool_extension+.protobuf_unittest_proto2.TestAllExtensions+ (RrepeatedBoolExtension:g repeated_string_extension+.protobuf_unittest_proto2.TestAllExtensions, ( RrepeatedStringExtension:e repeated_bytes_extension+.protobuf_unittest_proto2.TestAllExtensions- ( RrepeatedBytesExtension: repeatedgroup_extension+.protobuf_unittest_proto2.TestAllExtensions. ( 21.protobuf_unittest_proto2.RepeatedGroup_extensionRrepeatedgroupExtension: !repeated_nested_message_extension+.protobuf_unittest_proto2.TestAllExtensions0 ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageRrepeatedNestedMessageExtension: "repeated_foreign_message_extension+.protobuf_unittest_proto2.TestAllExtensions1 ( 2(.protobuf_unittest_proto2.ForeignMessageRrepeatedForeignMessageExtension: !repeated_import_message_extension+.protobuf_unittest_proto2.TestAllExtensions2 ( 2..protobuf_unittest_import_proto2.ImportMessageRrepeatedImportMessageExtension: repeated_nested_enum_extension+.protobuf_unittest_proto2.TestAllExtensions3 (21.protobuf_unittest_proto2.TestAllTypes.NestedEnumRrepeatedNestedEnumExtension: repeated_foreign_enum_extension+.protobuf_unittest_proto2.TestAllExtensions4 (2%.protobuf_unittest_proto2.ForeignEnumRrepeatedForeignEnumExtension: repeated_import_enum_extension+.protobuf_unittest_proto2.TestAllExtensions5 (2+.protobuf_unittest_import_proto2.ImportEnumRrepeatedImportEnumExtension:v repeated_string_piece_extension+.protobuf_unittest_proto2.TestAllExtensions6 ( BRrepeatedStringPieceExtension:g repeated_cord_extension+.protobuf_unittest_proto2.TestAllExtensions7 ( BRrepeatedCordExtension: repeated_lazy_message_extension+.protobuf_unittest_proto2.TestAllExtensions9 ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageB(RrepeatedLazyMessageExtension:g default_int32_extension+.protobuf_unittest_proto2.TestAllExtensions= (:41RdefaultInt32Extension:g default_int64_extension+.protobuf_unittest_proto2.TestAllExtensions> (:42RdefaultInt64Extension:i default_uint32_extension+.protobuf_unittest_proto2.TestAllExtensions? ( :43RdefaultUint32Extension:i default_uint64_extension+.protobuf_unittest_proto2.TestAllExtensions@ (:44RdefaultUint64Extension:j default_sint32_extension+.protobuf_unittest_proto2.TestAllExtensionsA (:-45RdefaultSint32Extension:i default_sint64_extension+.protobuf_unittest_proto2.TestAllExtensionsB (:46RdefaultSint64Extension:k default_fixed32_extension+.protobuf_unittest_proto2.TestAllExtensionsC (:47RdefaultFixed32Extension:k default_fixed64_extension+.protobuf_unittest_proto2.TestAllExtensionsD (:48RdefaultFixed64Extension:m default_sfixed32_extension+.protobuf_unittest_proto2.TestAllExtensionsE (:49RdefaultSfixed32Extension:n default_sfixed64_extension+.protobuf_unittest_proto2.TestAllExtensionsF (:-50RdefaultSfixed64Extension:i default_float_extension+.protobuf_unittest_proto2.TestAllExtensionsG (:51.5RdefaultFloatExtension:l default_double_extension+.protobuf_unittest_proto2.TestAllExtensionsH (:52000RdefaultDoubleExtension:g default_bool_extension+.protobuf_unittest_proto2.TestAllExtensionsI (:trueRdefaultBoolExtension:l default_string_extension+.protobuf_unittest_proto2.TestAllExtensionsJ ( :helloRdefaultStringExtension:j default_bytes_extension+.protobuf_unittest_proto2.TestAllExtensionsK ( :worldRdefaultBytesExtension: default_nested_enum_extension+.protobuf_unittest_proto2.TestAllExtensionsQ (21.protobuf_unittest_proto2.TestAllTypes.NestedEnum:BARRdefaultNestedEnumExtension: default_foreign_enum_extension+.protobuf_unittest_proto2.TestAllExtensionsR (2%.protobuf_unittest_proto2.ForeignEnum: FOREIGN_BARRdefaultForeignEnumExtension: default_import_enum_extension+.protobuf_unittest_proto2.TestAllExtensionsS (2+.protobuf_unittest_import_proto2.ImportEnum: IMPORT_BARRdefaultImportEnumExtension:y default_string_piece_extension+.protobuf_unittest_proto2.TestAllExtensionsT ( :abcBRdefaultStringPieceExtension:j default_cord_extension+.protobuf_unittest_proto2.TestAllExtensionsU ( :123BRdefaultCordExtension:a oneof_uint32_extension+.protobuf_unittest_proto2.TestAllExtensionso ( RoneofUint32Extension: oneof_nested_message_extension+.protobuf_unittest_proto2.TestAllExtensionsp ( 24.protobuf_unittest_proto2.TestAllTypes.NestedMessageRoneofNestedMessageExtension:a oneof_string_extension+.protobuf_unittest_proto2.TestAllExtensionsq ( RoneofStringExtension:_ oneof_bytes_extension+.protobuf_unittest_proto2.TestAllExtensionsr ( RoneofBytesExtension:\ my_extension_string,.protobuf_unittest_proto2.TestFieldOrderings2 ( RmyExtensionString:V my_extension_int,.protobuf_unittest_proto2.TestFieldOrderings (RmyExtensionInt:h packed_int32_extension..protobuf_unittest_proto2.TestPackedExtensionsZ (BRpackedInt32Extension:h packed_int64_extension..protobuf_unittest_proto2.TestPackedExtensions[ (BRpackedInt64Extension:j packed_uint32_extension..protobuf_unittest_proto2.TestPackedExtensions\ ( BRpackedUint32Extension:j packed_uint64_extension..protobuf_unittest_proto2.TestPackedExtensions] (BRpackedUint64Extension:j packed_sint32_extension..protobuf_unittest_proto2.TestPackedExtensions^ (BRpackedSint32Extension:j packed_sint64_extension..protobuf_unittest_proto2.TestPackedExtensions_ (BRpackedSint64Extension:l packed_fixed32_extension..protobuf_unittest_proto2.TestPackedExtensions` (BRpackedFixed32Extension:l packed_fixed64_extension..protobuf_unittest_proto2.TestPackedExtensionsa (BRpackedFixed64Extension:n packed_sfixed32_extension..protobuf_unittest_proto2.TestPackedExtensionsb (BRpackedSfixed32Extension:n packed_sfixed64_extension..protobuf_unittest_proto2.TestPackedExtensionsc (BRpackedSfixed64Extension:h packed_float_extension..protobuf_unittest_proto2.TestPackedExtensionsd (BRpackedFloatExtension:j packed_double_extension..protobuf_unittest_proto2.TestPackedExtensionse (BRpackedDoubleExtension:f packed_bool_extension..protobuf_unittest_proto2.TestPackedExtensionsf (BRpackedBoolExtension: packed_enum_extension..protobuf_unittest_proto2.TestPackedExtensionsg (2%.protobuf_unittest_proto2.ForeignEnumBRpackedEnumExtension:n unpacked_int32_extension0.protobuf_unittest_proto2.TestUnpackedExtensionsZ (BRunpackedInt32Extension:n unpacked_int64_extension0.protobuf_unittest_proto2.TestUnpackedExtensions[ (BRunpackedInt64Extension:p unpacked_uint32_extension0.protobuf_unittest_proto2.TestUnpackedExtensions\ ( BRunpackedUint32Extension:p unpacked_uint64_extension0.protobuf_unittest_proto2.TestUnpackedExtensions] (BRunpackedUint64Extension:p unpacked_sint32_extension0.protobuf_unittest_proto2.TestUnpackedExtensions^ (BRunpackedSint32Extension:p unpacked_sint64_extension0.protobuf_unittest_proto2.TestUnpackedExtensions_ (BRunpackedSint64Extension:r unpacked_fixed32_extension0.protobuf_unittest_proto2.TestUnpackedExtensions` (BRunpackedFixed32Extension:r unpacked_fixed64_extension0.protobuf_unittest_proto2.TestUnpackedExtensionsa (BRunpackedFixed64Extension:t unpacked_sfixed32_extension0.protobuf_unittest_proto2.TestUnpackedExtensionsb (BRunpackedSfixed32Extension:t unpacked_sfixed64_extension0.protobuf_unittest_proto2.TestUnpackedExtensionsc (BRunpackedSfixed64Extension:n unpacked_float_extension0.protobuf_unittest_proto2.TestUnpackedExtensionsd (BRunpackedFloatExtension:p unpacked_double_extension0.protobuf_unittest_proto2.TestUnpackedExtensionse (BRunpackedDoubleExtension:l unpacked_bool_extension0.protobuf_unittest_proto2.TestUnpackedExtensionsf (BRunpackedBoolExtension: unpacked_enum_extension0.protobuf_unittest_proto2.TestUnpackedExtensionsg (2%.protobuf_unittest_proto2.ForeignEnumBRunpackedEnumExtension: test_all_types..protobuf_unittest_proto2.TestHugeFieldNumbers ( 2&.protobuf_unittest_proto2.TestAllTypesR testAllTypes: %test_extension_inside_table_extension2.protobuf_unittest_proto2.TestExtensionInsideTable (R!testExtensionInsideTableExtensionB2H!Google.Protobuf.TestProtos.Proto2J &   &2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2 Author: kenton@google.com (Kenton Varda) Based on original Protocol Buffers design by Sanjay Ghemawat, Jeff Dean, and others. A proto file we will use for unit testing. LINT: ALLOW_GROUPS, LEGACY_NAMES  *"  *"g Some generic_services option(s) added automatically. See: http://go/proto2-generic-services-default " auto-added  +$  +$" auto-added  ,"  ,"" auto-added  - - /  4! We don't put this in a package within proto2 because we need to make sure that the generated code doesn't depend on being in the proto2 namespace. In test_util.h we do "using namespace unittest = protobuf_unittest".  9   9 Protos optimized for SPEED use a strict superset of the generated code of equivalent ones optimized for CODE_SIZE, so we should optimize all our tests for speed unless explicitly testing code size optimization.  ;> %;> \ ?O This proto includes every type of field in both singular and repeated forms. ? @E @   D The field name "b" fails to compile in proto1 because it conflicts with a local variable named "b" in one of the generated methods. Doh. This file needs to compile in proto1 to test backwards-compatibility.  D  D   D  D GL G H  H  H I  I  I J  J  J ( K " Intentionally negative.  K  K  O+ Singular O O O" O)* P+ P P P" P)* Q+ Q Q  Q# Q)* R+ R R  R# R)* S+ S S  S# S)* T+ T T  T# T)* U+ U U  U$ U)* V+ V V  V$ V)* W+ W W  W% W)*  X+  X  X   X%  X(*  Y+  Y  Y  Y"  Y(*  Z+  Z  Z   Z#  Z(*  [+  [  [  [!  [(*  \+  \  \   \#  \(* ]+ ] ] ]" ](* _a _ _  _ _!# _a _ _ `  `  `   `  ` cN c c  c0G cKM dN d d  d0H dKM eW e e 8 e9P eTV gN g g  g0D gKM hN h h  h0E hKM iW i i 5 i9M iTV kB k k  k' k*, k-A k.@ l2 l l  l l"$ l%1 l&0 7 op*) Defined in unittest_import_public.proto o o > p$ p') r@ r r  r. r13 r4? r5>  u+ Repeated u u u" u(* v+ v v v" v(* w+ w w  w# w(* x+ x x  x# x(* y+ y y  y# y(* z+ z z  z# z(*  {+  {  {   {$  {(* !|+ !| !|  !|$ !|(* "}+ "} "}  "}% "}(* #~+ #~ #~  #~% #~(* $+ $ $ $" $(* %+ % %  %# %(* &+ & & &! &(* '+ ' '  '# '(* (+ ( ( (" ((*  ) ) )  ) )!#    )            *N * *  *0G *KM +N + +  +0H +KM ,W , , 8 ,9P ,TV -N - -  -0D -KM .N . .  .0E .KM /W / / 5 /9M /TV 0B 0 0  0' 0*, 0-A  0.@ 12 1 1  1 1"$ 1%1  1&0 2@ 2 2  2. 213 24?  25> & 3> Singular with defaults 3 3 3! 3') 3*= 368 4> 4 4 4! 4') 4*= 468 5> 5 5  5" 5') 5*= 568 6> 6 6  6" 6') 6*= 668 7> 7 7  7" 7') 7*= 758 8> 8 8  8" 8') 8*= 868 9> 9 9  9# 9') 9*= 968 :> : :  :# :') :*= :68 ;> ; ;  ;$ ;') ;*= ;68 <> < <  <$ <') <*= <58 => = = =! =') =*= =6: >> > >  >" >') >*= >6: ?> ? ? ? ?') ?*= ?59 @> @ @  @" @') @*= @5< A> A A A! A') A*= A5< BI B B  B* B.0 B1H B  F%/ F8=  For oneof test  G G G  G H- H H& H), I I I  I J J J  J A 3 This proto includes a recursively nested message.  (    # &' $     "# 1    , /0   8    ! $% &7  '6    :   # &' (9  )8     [ M Define these after TestAllTypes to make sure the compiler can handle that.                                                                5 Singular    , 34 5    , 34 5     - 34 5     - 34 5     - 34 5     - 34 5     . 34 5     . 34 5     / 34  5         /  24  5        ,  24  5         -  24  5        +  24  5         -  24 5    , 24      ( +-  ( (       M    % &G JL B     < ?A +    8 % (* G    " #A DF <     6 9; (    5 " %' L     1 46 7K 8J <     ) ,. /; 0: 2    > , /1 5    % # &( )4 *3  5 Repeated    , 24 5    , 24 5     - 24 5     - 24 5     - 24 5     - 24  5         .  24 !5 ! ! !  !. !24 "5 " " "  "/ "24 #5 # # #  #/ #24 $5 $ $ $ $, $24 %5 % % %  %- %24 &5 & & & &+ &24 '5 ' ' '  '- '24 (5 ( ( ( (, (24 ) ) ) )  )( )+-  ( )(       *M * * * % *&G *JL +B + + +  +< +?A ,+ , , , 8 ,% ,(* -G - - - " -#A -DF .< . . .  .6 .9; /( / / / 5 /" /%' 0L 0 0 0  01 046 07K 08J 1< 1 1 1  1) 1,. 1/; 10: 25 2 2 2 % 2# 2&( 2)4 2*3 $ 3H Singular with defaults 3 3 3 3+ 313 34G 3@B 4H 4 4 4 4+ 413 44G 4@B 5H 5 5 5  5, 513 54G 5@B 6H 6 6 6  6, 613 64G 6@B 7H 7 7 7  7, 713 74G 7?B 8H 8 8 8  8, 813 84G 8@B 9H 9 9 9  9- 913 94G 9@B :H : : :  :- :13 :4G :@B ;H ; ; ;  ;. ;13 ;4G ;@B <H < < <  <. <13 <4G <?B =H = = = =+ =13 =4G =@D >H > > >  >, >13 >4G >@D ?H ? ? ? ?* ?13 ?4G ??C @H @ @ @  @, @13 @4G @?F AH A A A A+ A13 A4G A?F B7 B B B " B! B$& B'6 B25 C@ C C C  C" C%' C(? C3> D> D D D 5 D! D$& D'= D2< EF E E E  E0 E35 E6E E7I E?D FJ F F F  F( F+- F.I F/9 FCH  G/ For oneof test G G G  G( G+. HK H H H % H&D HGJ I/ I I I  I( I+. J- J J J  J& J),                !#                         2       ,  /1                     `  1R Check for bug where string extensions declared in tested scope did not compile.               0  )/ `  3R Used to test if generated extension name is correct when there are underscores.          +  .2               *  -/     *  *                 >          8  ;=    We have separate messages for testing required fields because it's annoying to have to fill in required fields in TestProto in order to do anything with it. Note that we don't need to test every type of required filed because the code output is basically identical to optional fields for all types.                                       (            #'  (            #'   u Pad the field count to 32 so that we can test that IsInitialized() properly checks multiple elements of has_bits_.                                                                                                                                                                                                                                                                                                                                                                            -       (  +,  -       (  +,              -    ( +, -    ( +, -    ( +, M ? Test that we can use NestedMessage from outside TestAllTypes.  9   % &4 78 G 9 TestEmptyMessage is used to test unknown field support.    Like above, but declare all field numbers as potential extensions. No actual extensions should ever be defined for this type. &        #                    H : Test that really large tag numbers don't break anything.  } o The largest possible tag number is 2^28 - 1, since the wire format uses three bits to communicate wire type.              &     ! $%       1 # Test that mutual recursion works.       (     !  "#  &' '     " %&            3 ("# Needed because of bug in javatest       #  &'  .       )  ,-   &     ! $% $     "#                                  &    ! $%   Test that groups have disjoint field numbers from their siblings and parents. This is NOT possible in proto1; only google.protobuf. When attempting to compile with proto1, this will emit an error; so we only include it in protobuf_unittest_proto. " NO_PROTO1   " NO_PROTO1      2      2    0  #  $)  *+  ./ 2      2    0  #  $)  *+  ./ < . Additional messages for testing lazy fields.  5    # &' (4  )3   4    # &' (3  )2 )  Needed for a Python test.       4       /  23  F       A  DE 5    0 34 K = Test an enum that has multiple values with the same number.                   : , Test an enum with large, unordered values.                              h Z Test message with CamelCase field names. This violates Protocol Buffer standard style.  $     "# "      ! %     #$ +    & )* <    " %& ';  (: -       ,  !+ ,    ' *+ *    % () -    ( +,  4       .  13  E       *  -/  0D   1C  6       #  &(  )5   *4  } We list fields out of order, to ensure that we're using field number and not field index to determine serialization order.  !                                               The field name "b" fails to compile in proto1 because it conflicts with a local variable named "b" in one of the generated methods. Doh. This file needs to compile in proto1 to test backwards-compatibility.          8    0 47  K+ K K K  K% K(* L& L L L  L! L$%    >     $ %8 ;=          >     $ %8 ;=    !    @       &  ':  =?  "          !            P         !"  #O  .N  :         !"  #9  .8  B         !"  #A  .@  ;         !"  #:  .9  C         !"  #B  .A  B       $  ')  *A  5@  J       $  ')  *I  5H   = The default value here is UTF-8 for "\u1234". (We could also just type the UTF-8 text directly into this text file rather than escape it, but lots of people use editors that would be confused by this.)          !  "<  -; A  .3 Tests for single-precision floating-point values.            -  +,   -                ,   *+   1                !0   ,/   8          #   &(   )7   46   6             "$   %5   04    2 Using exponents             !   "1   -0  >       %  (*  +=  6< 9  2+ Text for nonfinite floating-point values.         !  "1  -0  7         #%  &6  15  2         !  "1  -0  0            /  +.  5         !#  $4  /3  0            /  +.   L Tests for C++ trigraphs. Trigraphs should be escaped in C++ generated files, but they should not be escaped for other languages. Note that in .proto file, "\?" is a valid way to escape ? in string literals.         !#  $K  /J ?  F1 String defaults containing the character '\000'       "  +-  .E  9D  F       !  +-  .E  9D   B       (  +-   .A   /A  7@   B         +-   .A   /9  7@  E       $  +-  .D  7C ! ! !* ! !  !% !() H ": Test String and Bytes: string is for valid UTF-8 strings " " " "  " " # # # # #  # # $ $ $ $ $  $ $ % % % % %  % % N &@ Test int32, uint32, int64, uint64, and bool are all compatible & & & &  & & ' ' ' ' '  ' ' ( ( ( ( (  ( ( ) ) ) ) )  ) ) * * * * *  * *  + Test oneofs. +  + + + + +  + + + +  + +! + + +  + + +  +  + +  +   +  +  +  +  +  +  +  +  +  + , ,$ , , ,  , , ,! , ,  , , ,( , ,  ,# ,&'  , , ,  , ,  , , ,  ,  ,  ,   ,  ,  ,  ,  ,   ,  , - -  - - - - -  - - - -  - -% - -  - -$  -# -5 - -  - - 4  -!3 - - -  - - - - - -" - - - !  - - -  -  - -  -   -  -  -  -  -  -  -  -  -  - -4 - -" -%' -(3  -)2  - - - % -  -   -  - $ - "# - 0 -  -   -  - / - &. - 8 -  -   -  - 7  - $ - 06 - J -  -   -  - !I  - "4 - @H - - -  -   -  - , - $+ -- - - - -, -(+ - - -  - - -4 - -  - -! -"3 --2  - -   -  -  -   -  -  -!  -  -   -  -  - -  -  -  -  -  -  -  -  -  - . .  . . . . .  . . . .  . ." . . . !  . .   .(  .  .   .#  .&' / / /$ / / /"#  / /   /&  /  /   /!  /$% / 02! Test messages for packed fields 0 0: 0 0 0 0') 0*9  0+8 0: 0 0 0 0') 0*9  0+8 0: 0 0  0! 0') 0*9  0+8 0: 0 0  0! 0') 0*9  0+8 0: 0 0  0! 0') 0*9  0+8 0: 0 0  0! 0') 0*9  0+8 0: 0 0  0" 0') 0*9  0+8 0: 0 0  0" 0') 0*9  0+8 0: 0 0  0# 0') 0*9  0+8 0 : 0  0   0 # 0 ') 0 *9  0 +8 0 : 0  0  0  0 &) 0 *9  0 +8 0 : 0  0   0 ! 0 &) 0 *9  0 +8 0 : 0  0  0  0 &) 0 *9  0 +8 0 : 0  0   0 " 0 &) 0 *9  0 +8  1 A message with the same fields as TestPackedTypes, but without packing. Used to test packed <-> unpacked wire compatibility. 1 1= 1 1 1" 1)+ 1,<  1-; 1= 1 1 1" 1)+ 1,<  1-; 1= 1 1  1# 1)+ 1,<  1-; 1= 1 1  1# 1)+ 1,<  1-; 1= 1 1  1# 1)+ 1,<  1-; 1= 1 1  1# 1)+ 1,<  1-; 1= 1 1  1$ 1)+ 1,<  1-; 1= 1 1  1$ 1)+ 1,<  1-; 1= 1 1  1% 1)+ 1,<  1-; 1 = 1  1   1 % 1 )+ 1 ,<  1 -; 1 = 1  1  1 " 1 (+ 1 ,<  1 -; 1 = 1  1   1 # 1 (+ 1 ,<  1 -; 1 = 1  1  1 ! 1 (+ 1 ,<  1 -; 1 = 1  1   1 $ 1 (+ 1 ,<  1 -; 2 2 2 2  2  2  MD M M M M* M13 M4C M5B ND N N N N* N13 N4C N5B OD O O O  O+ O13 O4C O5B PD P P P  P+ P13 P4C P5B QD Q Q Q  Q+ Q13 Q4C Q5B RD R R R  R+ R13 R4C R5B SD S S S  S, S13 S4C S5B TD T T T  T, T13 T4C T5B UD U U U  U- U13 U4C U5B VD V V V  V- V13 V4C V5B WD W W W W* W03 W4C W5B XD X X X  X+ X03 X4C X5B YD Y Y Y Y) Y03 Y4C Y5B ZD Z Z Z  Z, Z03 Z4C Z5B 3 3 3 3  3  3  [G [ [ [ [, [35 [6F [7E \G \ \ \ \, \35 \6F \7E ]G ] ] ]  ]- ]35 ]6F ]7E ^G ^ ^ ^  ^- ^35 ^6F ^7E _G _ _ _  _- _35 _6F _7E `G ` ` `  `- `35 `6F `7E aG a a a  a. a35 a6F a7E bG b b b  b. b35 b6F b7E cG c c c  c/ c35 c6F c7E dG d d d  d/ d35 d6F d7E eG e e e e, e25 e6F e7E fG f f f  f- f25 f6F f7E gG g g g g+ g25 g6F g7E hG h h h  h. h25 h6F h7E  4 Used by ExtensionSetTest/DynamicExtensions. The test actually builds a set of extensions to TestAllExtensions dynamically, based on the fields of this message type. 4  4 4  4  4  4  4  4  4  4  4  4  4 4   4(  4  4   4  4#' 4+ 4 4  4# 4&* 4- 4 4  4% 4(, 49 4 4  41 448 43 4 4  4+ 4.2 4? 4 4  47 4:> 4, 4 4  4$ 4'+ 4: 4 4  4" 4%) 4*9  4+8 5 5+  5) Parsing repeated fixed size values used to fail. This message needs to be used in order to get a tag of the right size; all of the repeated fields in TestAllTypes didn't trigger the check. 5 5  5# 5&( ? 5)1 Check for a varint type, just for good measure. 5 5  5! 5&( ) 5+ These have two-byte tags. 5 5  5# 5&* 5+ 5 5  5! 5&* 5- Three byte tags. 5 5  5! 5&, 5- 5 5  5" 5&,  6x Test that if an optional or required message/group field appears multiple times in the input, they need to be merged. 6  6 RepeatedFieldsGenerator defines matching field types as TestParsingMerge, except that all fields are repeated. In the tests, we will serialize the RepeatedFieldsGenerator to bytes, and parse the bytes to TestParsingMerge. Repeated fields in RepeatedFieldsGenerator are expected to be merged into the corresponding required/optional fields in TestParsingMerge. 6 !  6%  6  6   6  6#$  6%  6  6   6  6#$  6%  6  6   6  6#$  6  6  6   6  6  6  6  6  6(  6  6  6"  6%'  6  6  6   6  6  6  6  6  6(  6  6  6"  6%'  6&  6  6   6  6!%  6&  6  6   6  6!% 6/ 6 6  6* 6-. 6/ 6 6  6* 6-. 6/ 6 6  6* 6-.  6 6 6  6 6!#  6 6 6  68  6  6   62  657  6 6 6  6 6!#  6 6 6  68  6  6   62  657 6 6  6  6 6 6. 6  6 6  6& 6)- 6. 6  6 6  6& 6)- 7 7# E 7?7 */ <- This should not close the generated doc comment 7 7  7 7 7> 7!= * 8 Test that RPC services work. 8 9 9 : : ; ;   ,    * ,    * < < = = > > >! > >  > > > > >  > > > > >  > > >" > >  > > ! >! > >  > > >7 > >  > > >!6 > "5 > .5 ? ? ?, ? ?  ? ?"+ ?& ? ?  ? ?% ?= ? ?  ? ?"+ ?,<  ?-; ?: ? ?  ? ? ) ?*9  ?+8 ?1 ? ?  ?$ ?'0 ?. ? ?  ?! ?$- ?, ? ?  ? ?"+ ?7 ? ?  ?* ?-6  ? ? ?  ? ?!*  ? ? ?  ?'  ?  ?   ?  ?& ? 4 ?  ? ' ? *3  ? ? ? $ ?  ?   ? # ? 2 ?  ? % ? (1 ? $ ?  ?   ? # ? " ?  ?   ? ! ?% ?$ ? ?$  i3 i i i  i& i)2 @ @ @ @ @  @ @ @ @ @  @ @ @ @ @  @ @ @ @ @  @ @ @ @  @  @ @ @ @  @ @ @ @ @  @ @ @ @ @  @ @ @ @ @  @ @ @ @ @  @ @  j; j j j  j6 j9:                                                                                                                        ! ! ! " " " # # # $ $ $ % % % & & & ' ' ' ( ( ( ) ) ) * * * + + + , , , - - - . . . / / / 0 0 0 1 1 1 2 2 2 3 3 3 4 4 4 5 5 5 6 6 6 7 7 7 8 8 8 9 9 9 : : : ; ; ; < < < = = = > > > ? ? ? @ @ @ A A A B B B C C C D D D E E E F F F G G G H H H I I I J J J K K K L L L M M M N N N O O O P P P Q Q Q R R R S S S T T T U U U V V V W W W X X X Y Y Y Z Z Z [ [ [ \ \ \ ] ] ] ^ ^ ^ _ _ _ ` ` ` a a a b b b c c c d d d  unittest_issue6936_a.protounittest_issues google/protobuf/descriptor.proto:3 opt.google.protobuf.MessageOptionsІ ( RoptBUnitTest.Issues.TestProtosJ        7 %7   *2 This file is used as part of a unit test for issue 6936 We don't need to use it, we just have to import it in both "extensions_issue6936_b.proto" and "extensions_issue6936_c.proto"      %      bproto3  unittest_issue6936_b.protounittest_issuesunittest_issue6936_a.proto" Foo:fooBUnitTest.Issues.TestProtosJ      $    7 %7   2 This file is used as part of a unit test for issue 6936 We don't need to use it, we just have to import it in "unittest_issue6936_c.proto"     І bproto3  unittest_issue6936_c.protounittest_issuesunittest_issue6936_a.protounittest_issue6936_b.proto"6 Bar& foo ( 2.unittest_issues.FooRfoo:barBUnitTest.Issues.TestProtosJ     $ $    7 %7   2v This file is used as part of a unit test for issue 6936 We don't need to use it, we just have to load it at runtime     І     bproto3  &unittest_selfreferential_options.proto)protobuf_unittest_selfreferential_options google/protobuf/descriptor.proto"Y FooOptions& int_opt (B > >>RintOpt foo (B> Rfoo* :E bar_options.google.protobuf.FieldOptions (B> R barOptions:v foo_options.google.protobuf.FieldOptions ( 25.protobuf_unittest_selfreferential_options.FooOptionsR fooOptions:V foo_int_opt5.protobuf_unittest_selfreferential_options.FooOptions (R fooIntOpt: foo_foo_opt5.protobuf_unittest_selfreferential_options.FooOptions ( 25.protobuf_unittest_selfreferential_options.FooOptionsR fooFooOptB41UnitTest.Issues.TestProtos.SelfreferentialOptionsJ ?  2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   2  !N %!N #* %3 % P '-B Custom field option used in definition of the extension message. ' '  ' ' '-  '- U 07H Custom field option used in definition of the custom option's message. 0 0  0 0 06  05 2 2  2  2 5: M 7;B Custom field option used on the definition of that field option. 5# 7 7  7 7# 7$: 7%9 9) 5# 9 9  9! 9$( <? =% < = =  = = $ >* < > >  >" >%) , google/protobuf/any.protogoogle.protobuf"6 Any type_url ( RtypeUrl value ( RvalueBv com.google.protobufBAnyProtoPZ,google.golang.org/protobuf/types/known/anypbGPBGoogle.Protobuf.WellKnownTypesJ*   2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     "; %";  #C  #C  $, $,  %) %)  &"  &"  '! $'!  | `Any` contains an arbitrary serialized protocol buffer message along with a URL that describes the type of the serialized message. Protobuf library provides support to pack/unpack Any values in the form of utility functions or additional generated methods of the Any type. Example 1: Pack and unpack a message in C++. Foo foo = ...; Any any; any.PackFrom(foo); ... if (any.UnpackTo(&foo)) { ... } Example 2: Pack and unpack a message in Java. Foo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); } Example 3: Pack and unpack a message in Python. foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpack(foo) ... Example 4: Pack and unpack a message in Go foo := &pb.Foo{...} any, err := anypb.New(foo) if err != nil { ... } ... foo := &pb.Foo{} if err := any.UnmarshalTo(foo); err != nil { ... } The pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods only use the fully qualified type name after the last '/' in the type URL, for example "foo.bar.com/x/y.z" will yield type name "y.z". JSON The JSON representation of an `Any` value uses the regular representation of the deserialized, embedded message, with an additional field `@type` which contains the type URL. Example: package google.profile; message Person { string first_name = 1; string last_name = 2; } { "@type": "type.googleapis.com/google.profile.Person", "firstName": , "lastName": } If the embedded message type is well-known and has a custom JSON representation, that representation will be embedded adding a field `value` which holds the custom JSON in addition to the `@type` field. Example (for message [google.protobuf.Duration][]): { "@type": "type.googleapis.com/google.protobuf.Duration", "value": "1.212s" } |  A URL/resource name that uniquely identifies the type of the serialized protocol buffer message. This string must contain at least one "/" character. The last segment of the URL's path must represent the fully qualified name of the type (as in `path/google.protobuf.Duration`). The name should be in a canonical form (e.g., leading "." is not accepted). In practice, teams usually precompile into the binary all types that they expect it to use in the context of Any. However, for URLs which use the scheme `http`, `https`, or no scheme, one can optionally set up a type server that maps type URLs to message definitions as follows: * If no scheme is provided, `https` is assumed. * An HTTP GET on the URL must yield a [google.protobuf.Type][] value in binary format, or produce an error. * Applications are allowed to cache lookup results based on the URL, or have them precompiled into a binary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.) Note: this functionality is not currently available in the official protobuf release, and it is not used for type URLs beginning with type.googleapis.com. Schemes other than `http`, `https` (or the empty scheme) might be used with implementation specific semantics.     W I Must be a valid serialized protocol buffer of the above specified type.   bproto3  $google/protobuf/source_context.protogoogle.protobuf", SourceContext file_name ( RfileNameB com.google.protobufBSourceContextProtoPZ6google.golang.org/protobuf/types/known/sourcecontextpbGPBGoogle.Protobuf.WellKnownTypesJ /  2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     "; %";  #, #,  $3 $3  %"  %"  &! $&!  'M  'M  +/w `SourceContext` represents information about the source of a protobuf element, like the file in which it is defined. +  . The path-qualified name of the .proto file that contained the associated protobuf element. For example: `"google/protobuf/source_context.proto"`. . .  .bproto3 F google/protobuf/type.protogoogle.protobufgoogle/protobuf/any.proto$google/protobuf/source_context.proto" Type name ( Rname. fields ( 2.google.protobuf.FieldRfields oneofs ( Roneofs1 options ( 2.google.protobuf.OptionRoptionsE source_context ( 2.google.protobuf.SourceContextR sourceContext/ syntax (2.google.protobuf.SyntaxRsyntax" Field/ kind (2.google.protobuf.Field.KindRkindD cardinality (2".google.protobuf.Field.CardinalityR cardinality number (Rnumber name ( Rname type_url ( RtypeUrl oneof_index (R oneofIndex packed (Rpacked1 options ( 2.google.protobuf.OptionRoptions json_name ( RjsonName# default_value ( R defaultValue" Kind TYPE_UNKNOWN TYPE_DOUBLE TYPE_FLOAT TYPE_INT64 TYPE_UINT64 TYPE_INT32 TYPE_FIXED64 TYPE_FIXED32 TYPE_BOOL TYPE_STRING  TYPE_GROUP  TYPE_MESSAGE  TYPE_BYTES  TYPE_UINT32  TYPE_ENUM TYPE_SFIXED32 TYPE_SFIXED64 TYPE_SINT32 TYPE_SINT64"t Cardinality CARDINALITY_UNKNOWN CARDINALITY_OPTIONAL CARDINALITY_REQUIRED CARDINALITY_REPEATED" Enum name ( Rname8 enumvalue ( 2.google.protobuf.EnumValueR enumvalue1 options ( 2.google.protobuf.OptionRoptionsE source_context ( 2.google.protobuf.SourceContextR sourceContext/ syntax (2.google.protobuf.SyntaxRsyntax"j EnumValue name ( Rname number (Rnumber1 options ( 2.google.protobuf.OptionRoptions"H Option name ( Rname* value ( 2.google.protobuf.AnyRvalue*. Syntax SYNTAX_PROTO2 SYNTAX_PROTO3B{ com.google.protobufB TypeProtoPZ-google.golang.org/protobuf/types/known/typepbGPBGoogle.Protobuf.WellKnownTypesJ8   2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.    "# #.  %; %%;  & &  ', ',  (* (*  )"  )"  *! $*!  +D  +D - .;! A protocol buffer message type. . 0 0# The fully qualified message name. 0 0 0 " 2 The list of fields. 2 2  2 2 O 4B The list of types appearing in `oneof` definitions in this type. 4 4  4 4 + 6 The protocol buffer options. 6 6  6 6 " 8# The source context. 8 8 8!" ! : The source syntax. : :  : 0 ># A single field of a message type. > " @g Basic field types. @ $ B Field type unknown.  B  B # D Field type double.  D  D " F Field type float.  F  F " H Field type int64.  H  H # J Field type uint64.  J  J " L Field type int32.  L  L $ N Field type fixed64.  N  N $ P Field type fixed32.  P  P ! R Field type bool.  R  R #  T Field type string.   T   T F  V7 Field type group. Proto2 syntax only, and deprecated.   V   V $  X Field type message.   X   X "  Z Field type bytes.   Z   Z #  \ Field type uint32.   \   \ ! ^ Field type enum.  ^  ^ % ` Field type sfixed32.  `  ` % b Field type sfixed64.  b  b # d Field type sint32.  d  d # f Field type sint64.  f  f C js5 Whether a field is optional, required, or repeated. j 5 l& For fields with unknown cardinality.  l  l % n For optional fields.  n  n 9 p* For required fields. Proto2 syntax only.  p  p % r For repeated fields.  r  r  v The field type. v v v % x The field cardinality. x x x z The field number. z z z  | The field name. | | |   The field type URL, without the scheme, for message or enumeration types. Example: `"type.googleapis.com/google.protobuf.Timestamp"`.       The index of the field type in `Type.oneofs`, for message or enumeration types. The first type has index 1; zero means the type is not in the list.    F 8 Whether to use alternative packed wire representation.    ,  The protocol buffer options.      $  The field JSON name.     X  J The string value of the default value of this field. Proto2 syntax only.        %  Enum type definition.    Enum type name.    ' # Enum value definitions.     !" (  Protocol buffer options.      # # The source context.   !" "  The source syntax.     &  Enum value definition.   Enum value name.    "  Enum value number.    (  Protocol buffer options.      g Y A protocol buffer option, which can be attached to a message, field, enumeration, etc.    The option's name. For protobuf built-in options (options defined in descriptor.proto), this is the short name. For example, `"map_entry"`. For custom options, it should be the fully-qualified name. For example, `"google.api.http"`.      The option's value packed in an Any message. If the value is a primitive, the corresponding wrapper type defined in google/protobuf/wrappers.proto should be used. If the value is an enum, it should be stored as an int32 value using the google.protobuf.Int32Value type.    I ; The syntax in which a protocol buffer element is defined.   Syntax `proto2`.    Syntax `proto3`.  bproto3 C google/protobuf/api.protogoogle.protobuf$google/protobuf/source_context.protogoogle/protobuf/type.proto" Api name ( Rname1 methods ( 2.google.protobuf.MethodRmethods1 options ( 2.google.protobuf.OptionRoptions version ( RversionE source_context ( 2.google.protobuf.SourceContextR sourceContext. mixins ( 2.google.protobuf.MixinRmixins/ syntax (2.google.protobuf.SyntaxRsyntax" Method name ( Rname( request_type_url ( RrequestTypeUrl+ request_streaming (RrequestStreaming* response_type_url ( RresponseTypeUrl- response_streaming (RresponseStreaming1 options ( 2.google.protobuf.OptionRoptions/ syntax (2.google.protobuf.SyntaxRsyntax"/ Mixin name ( Rname root ( RrootBv com.google.protobufBApiProtoPZ,google.golang.org/protobuf/types/known/apipbGPBGoogle.Protobuf.WellKnownTypesJ<   2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.    ". #$  %; %%;  &, &,  ') ')  ("  ("  )! $)!  *C  *C  5` Api is a light-weight descriptor for an API Interface. Interfaces are also described as "protocol buffer services" in some contexts, such as by the "service" keyword in a .proto file, but they are different from API Services, which represent a concrete implementation of an interface as opposed to simply a description of methods and bindings. They are also sometimes simply referred to as "APIs" in other contexts, such as the name of this message itself. See https://cloud.google.com/apis/design/glossary for detailed terminology. 5 { 8n The fully qualified name of this interface, including package name followed by the interface's simple name. 8 8 8 C ;6 The methods of this interface, in unspecified order. ; ;  ; ; 6 >) Any metadata attached to the interface. > >  > >  U A version string for this interface. If specified, must have the form `major-version.minor-version`, as in `1.10`. If the minor version is omitted, it defaults to zero. If the entire version field is empty, the major version is derived from the package name, as outlined below. If the field is not empty, the version in the package name will be verified to be consistent with what is provided here. The versioning schema uses [semantic versioning](http://semver.org) where the major version number indicates a breaking change and the minor version an additive, non-breaking change. Both version numbers are signals to users what to expect from different versions, and should be carefully chosen based on the product plan. The major version is also reflected in the package name of the interface, which must end in `v`, as in `google.feature.v1`. For major versions 0 and 1, the suffix can be omitted. Zero major versions must only be used for experimental, non-GA interfaces. U U  U [ Y#N Source context for the protocol buffer service represented by this message. Y Y Y!" 2 \% Included interfaces. See [Mixin][]. \ \  \ \ 0 _# The source syntax of the service. _ _  _ = cx1 Method represents a method of an API interface. c . e! The simple name of this method. e e e / h" A URL of the input message type. h h  h 0 k# If true, the request is streamed. k k k 2 n% The URL of the output message type. n n  n 1 q$ If true, the response is streamed. q q q 3 t& Any metadata attached to the method. t t  t t 0 w# The source syntax of this method. w w  w   Declares an API Interface to be included in this interface. The including interface must redeclare all the methods from the included interface, but documentation and options are inherited as follows: - If after comment and whitespace stripping, the documentation string of the redeclared method is empty, it will be inherited from the original method. - Each annotation belonging to the service config (http, visibility) which is not set in the redeclared method will be inherited. - If an http annotation is inherited, the path pattern will be modified as follows. Any version prefix will be replaced by the version of the including interface plus the [root][] path if specified. Example of a simple mixin: package google.acl.v1; service AccessControl { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v1/{resource=**}:getAcl"; } } package google.storage.v2; service Storage { rpc GetAcl(GetAclRequest) returns (Acl); // Get a data record. rpc GetData(GetDataRequest) returns (Data) { option (google.api.http).get = "/v2/{resource=**}"; } } Example of a mixin configuration: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl The mixin construct implies that all methods in `AccessControl` are also declared with same name and request/response types in `Storage`. A documentation generator or annotation processor will see the effective `Storage.GetAcl` method after inheriting documentation and annotations as follows: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/{resource=**}:getAcl"; } ... } Note how the version in the path pattern changed from `v1` to `v2`. If the `root` field in the mixin is specified, it should be a relative path under which inherited HTTP paths are placed. Example: apis: - name: google.storage.v2.Storage mixins: - name: google.acl.v1.AccessControl root: acls This implies the following inherited HTTP annotation: service Storage { // Get the underlying ACL object. rpc GetAcl(GetAclRequest) returns (Acl) { option (google.api.http).get = "/v2/acls/{resource=**}:getAcl"; } ... }  L > The fully qualified name of the interface which is included.    [ M If non-empty specifies a path under which inherited HTTP paths are rooted.   bproto3 % google/protobuf/duration.protogoogle.protobuf": Duration seconds (Rseconds nanos (RnanosB com.google.protobufB DurationProtoPZ1google.golang.org/protobuf/types/known/durationpbGPBGoogle.Protobuf.WellKnownTypesJ# s  2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     "; %";  # #  $H  $H  %, %,  &. &.  '"  '"  (! $(!  fs A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". It is related to Timestamp in that the difference between two Timestamp values is a Duration and it can be added or subtracted from a Timestamp. Range is approximately +-10,000 years. # Examples Example 1: Compute Duration from two Timestamps in pseudo code. Timestamp start = ...; Timestamp end = ...; Duration duration = ...; duration.seconds = end.seconds - start.seconds; duration.nanos = end.nanos - start.nanos; if (duration.seconds < 0 && duration.nanos > 0) { duration.seconds += 1; duration.nanos -= 1000000000; } else if (duration.seconds > 0 && duration.nanos < 0) { duration.seconds -= 1; duration.nanos += 1000000000; } Example 2: Compute Timestamp from Timestamp + Duration in pseudo code. Timestamp start = ...; Duration duration = ...; Timestamp end = ...; end.seconds = start.seconds + duration.seconds; end.nanos = start.nanos + duration.nanos; if (end.nanos < 0) { end.seconds -= 1; end.nanos += 1000000000; } else if (end.nanos >= 1000000000) { end.seconds += 1; end.nanos -= 1000000000; } Example 3: Compute Duration from datetime.timedelta in Python. td = datetime.timedelta(days=3, minutes=10) duration = Duration() duration.FromTimedelta(td) # JSON Mapping In JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix "s" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional seconds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should be expressed in JSON format as "3.000000001s", and 3 seconds and 1 microsecond should be expressed in JSON format as "3.000001s". f  j Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years j j j  r Signed fractions of a second at nanosecond resolution of the span of time. Durations less than one second are represented with a 0 `seconds` field and a positive or negative `nanos` field. For durations of one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusive. r r rbproto3  google/protobuf/empty.protogoogle.protobuf" EmptyB} com.google.protobufB EmptyProtoPZ.google.golang.org/protobuf/types/known/emptypbGPBGoogle.Protobuf.WellKnownTypesJ 2  2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     "; %";  #E  #E  $, $,  %+ %+  &"  &"  '! $'!  ( (  2 A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } 2 bproto3 = google/protobuf/field_mask.protogoogle.protobuf"! FieldMask paths ( RpathsB com.google.protobufBFieldMaskProtoPZ2google.golang.org/protobuf/types/known/fieldmaskpbGPBGoogle.Protobuf.WellKnownTypesJ;   2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     "; %";  #, #,  $/ $/  %"  %"  &! $&!  'I  'I  ( ( , , `FieldMask` represents a set of symbolic field paths, for example: paths: "f.a" paths: "f.b.d" Here `f` represents a field in some root message, `a` and `b` fields in the message found in `f`, and `d` a field found in the message in `f.b`. Field masks are used to specify a subset of fields that should be returned by a get operation or modified by an update operation. Field masks also have a custom JSON encoding (see below). # Field Masks in Projections When used in the context of a projection, a response message or sub-message is filtered by the API to only contain those fields as specified in the mask. For example, if the mask in the previous example is applied to a response message as follows: f { a : 22 b { d : 1 x : 2 } y : 13 } z: 8 The result will not contain specific values for fields x,y and z (their value will be set to the default, and omitted in proto text output): f { a : 22 b { d : 1 } } A repeated field is not allowed except at the last position of a paths string. If a FieldMask object is not present in a get operation, the operation applies to all fields (as if a FieldMask of all fields had been specified). Note that a field mask does not necessarily apply to the top-level response message. In case of a REST get operation, the field mask applies directly to the response, but in case of a REST list operation, the mask instead applies to each individual message in the returned resource list. In case of a REST custom method, other definitions may be used. Where the mask applies will be clearly documented together with its declaration in the API. In any case, the effect on the returned resource/resources is required behavior for APIs. # Field Masks in Update Operations A field mask in update operations specifies which fields of the targeted resource are going to be updated. The API is required to only change the values of the fields as specified in the mask and leave the others untouched. If a resource is passed in to describe the updated values, the API ignores the values of all fields not covered by the mask. If a repeated field is specified for an update operation, new values will be appended to the existing repeated field in the target resource. Note that a repeated field is only allowed in the last position of a `paths` string. If a sub-message is specified in the last position of the field mask for an update operation, then new value will be merged into the existing sub-message in the target resource. For example, given the target message: f { b { d: 1 x: 2 } c: [1] } And an update message: f { b { d: 10 } c: [2] } then if the field mask is: paths: ["f.b", "f.c"] then the result will be: f { b { d: 10 x: 2 } c: [1, 2] } An implementation may provide options to override this default behavior for repeated and message fields. In order to reset a field's value to the default, the field must be in the mask and set to the default value in the provided resource. Hence, in order to reset all fields of a resource, provide a default instance of the resource and set all fields in the mask, or do not provide a mask as described below. If a field mask is not present on update, the operation applies to all fields (as if a field mask of all fields has been specified). Note that in the presence of schema evolution, this may mean that fields the client does not know and has therefore not filled into the request will be reset to their default. If this is unwanted behavior, a specific service may require a client to always specify a field mask, producing an error if not. As with get operations, the location of the resource which describes the updated values in the request message depends on the operation kind. In any case, the effect of the field mask is required to be honored by the API. ## Considerations for HTTP REST The HTTP kind of an update operation which uses a field mask must be set to PATCH instead of PUT in order to satisfy HTTP semantics (PUT must only be used for full updates). # JSON Encoding of Field Masks In JSON, a field mask is encoded as a single string where paths are separated by a comma. Fields name in each path are converted to/from lower-camel naming conventions. As an example, consider the following message declarations: message Profile { User user = 1; Photo photo = 2; } message User { string display_name = 1; string address = 2; } In proto a field mask for `Profile` may look as such: mask { paths: "user.display_name" paths: "photo" } In JSON, the same mask is represented as below: { mask: "user.displayName,photo" } # Field Masks and Oneof Fields Field masks treat fields in oneofs just as regular fields. Consider the following message: message SampleMessage { oneof test_oneof { string name = 4; SubMessage sub_message = 9; } } The field mask can be: mask { paths: "name" } Or: mask { paths: "sub_message" } Note that oneof type names ("test_oneof" in this case) cannot be used in paths. ## Field Mask Verification The implementation of any API method which has a FieldMask type field in the request should verify the included field paths, and return an `INVALID_ARGUMENT` error if any path is unmappable.  ,  The set of field mask paths.     bproto3 1 google/protobuf/timestamp.protogoogle.protobuf"; Timestamp seconds (Rseconds nanos (RnanosB com.google.protobufBTimestampProtoPZ2google.golang.org/protobuf/types/known/timestamppbGPBGoogle.Protobuf.WellKnownTypesJ/   2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.     "; %";  # #  $I  $I  %, %,  &/ &/  '"  '"  (! $(!   A Timestamp represents a point in time independent of any time zone or local calendar, encoded as a count of seconds and fractions of seconds at nanosecond resolution. The count is relative to an epoch at UTC midnight on January 1, 1970, in the proleptic Gregorian calendar which extends the Gregorian calendar backwards to year one. All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap second table is needed for interpretation, using a [24-hour linear smear](https://developers.google.com/time/smear). The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings. # Examples Example 1: Compute Timestamp from POSIX `time()`. Timestamp timestamp; timestamp.set_seconds(time(NULL)); timestamp.set_nanos(0); Example 2: Compute Timestamp from POSIX `gettimeofday()`. struct timeval tv; gettimeofday(&tv, NULL); Timestamp timestamp; timestamp.set_seconds(tv.tv_sec); timestamp.set_nanos(tv.tv_usec * 1000); Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`. FILETIME ft; GetSystemTimeAsFileTime(&ft); UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime; // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z. Timestamp timestamp; timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL)); timestamp.set_nanos((INT32) ((ticks % 10000000) * 100)); Example 4: Compute Timestamp from Java `System.currentTimeMillis()`. long millis = System.currentTimeMillis(); Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000) .setNanos((int) ((millis % 1000) * 1000000)).build(); Example 5: Compute Timestamp from Java `Instant.now()`. Instant now = Instant.now(); Timestamp timestamp = Timestamp.newBuilder().setSeconds(now.getEpochSecond()) .setNanos(now.getNano()).build(); Example 6: Compute Timestamp from current time in Python. timestamp = Timestamp() timestamp.GetCurrentTime() # JSON Mapping In JSON format, the Timestamp type is encoded as a string in the [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z" where {year} is always expressed using four digits while {month}, {day}, {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution), are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone is required. A proto3 JSON serializer should always use UTC (as indicated by "Z") when printing the Timestamp type and a proto3 JSON parser should be able to accept both UTC and other timezones (as indicated by an offset). For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past 01:30 UTC on January 15, 2017. In JavaScript, one can convert a Date object to this format using the standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString) method. In Python, a standard `datetime.datetime` object can be converted to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use the Joda Time's [`ISODateTimeFormat.dateTime()`]( http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D ) to obtain a formatter capable of generating timestamps in this format.    Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.      Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.   bproto3 # google/protobuf/wrappers.protogoogle.protobuf"# DoubleValue value (Rvalue"" FloatValue value (Rvalue"" Int64Value value (Rvalue"# UInt64Value value (Rvalue"" Int32Value value (Rvalue"# UInt32Value value ( Rvalue"! BoolValue value (Rvalue"# StringValue value ( Rvalue"" BytesValue value ( RvalueB com.google.protobufB WrappersProtoPZ1google.golang.org/protobuf/types/known/wrapperspbGPBGoogle.Protobuf.WellKnownTypesJ (z   (2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2 Wrappers for primitive (non-message) types. These types are useful for embedding primitives in the `google.protobuf.Any` type and for places where we need to distinguish between the absence of a primitive typed field and its default value. These wrappers have no meaningful use within repeated fields as they lack the ability to detect presence on individual elements. These wrappers have no meaningful use within a map or a oneof since individual entries of a map or fields of a oneof can already detect presence.  *  ,; %,;  - -  .H  .H  /, /,  0. 0.  1"  1"  2! $2! g 7:[ Wrapper message for `double`. The JSON representation for `DoubleValue` is JSON number. 7 9 The double value. 9 9  9 e ?BY Wrapper message for `float`. The JSON representation for `FloatValue` is JSON number. ?  A The float value. A A A e GJY Wrapper message for `int64`. The JSON representation for `Int64Value` is JSON string. G  I The int64 value. I I I g OR[ Wrapper message for `uint64`. The JSON representation for `UInt64Value` is JSON string. O Q The uint64 value. Q Q  Q e WZY Wrapper message for `int32`. The JSON representation for `Int32Value` is JSON number. W  Y The int32 value. Y Y Y g _b[ Wrapper message for `uint32`. The JSON representation for `UInt32Value` is JSON number. _ a The uint32 value. a a  a o gjc Wrapper message for `bool`. The JSON representation for `BoolValue` is JSON `true` and `false`. g  i The bool value. i i i g or[ Wrapper message for `string`. The JSON representation for `StringValue` is JSON string. o q The string value. q q  q e wzY Wrapper message for `bytes`. The JSON representation for `BytesValue` is JSON string. w  y The bytes value. y y ybproto3 ` /google/protobuf/unittest_well_known_types.protoprotobuf_unittestgoogle/protobuf/any.protogoogle/protobuf/api.protogoogle/protobuf/duration.protogoogle/protobuf/empty.proto google/protobuf/field_mask.proto$google/protobuf/source_context.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.protogoogle/protobuf/type.protogoogle/protobuf/wrappers.proto" TestWellKnownTypes1 any_field ( 2.google.protobuf.AnyRanyField1 api_field ( 2.google.protobuf.ApiRapiField@ duration_field ( 2.google.protobuf.DurationR durationField7 empty_field ( 2.google.protobuf.EmptyR emptyFieldD field_mask_field ( 2.google.protobuf.FieldMaskRfieldMaskFieldP source_context_field ( 2.google.protobuf.SourceContextRsourceContextField: struct_field ( 2.google.protobuf.StructR structFieldC timestamp_field ( 2.google.protobuf.TimestampRtimestampField4 type_field ( 2.google.protobuf.TypeR typeField? double_field ( 2.google.protobuf.DoubleValueR doubleField< float_field ( 2.google.protobuf.FloatValueR floatField< int64_field ( 2.google.protobuf.Int64ValueR int64Field? uint64_field ( 2.google.protobuf.UInt64ValueR uint64Field< int32_field ( 2.google.protobuf.Int32ValueR int32Field? uint32_field ( 2.google.protobuf.UInt32ValueR uint32Field9 bool_field ( 2.google.protobuf.BoolValueR boolField? string_field ( 2.google.protobuf.StringValueR stringField< bytes_field ( 2.google.protobuf.BytesValueR bytesField7 value_field ( 2.google.protobuf.ValueR valueField" RepeatedWellKnownTypes1 any_field ( 2.google.protobuf.AnyRanyField1 api_field ( 2.google.protobuf.ApiRapiField@ duration_field ( 2.google.protobuf.DurationR durationField7 empty_field ( 2.google.protobuf.EmptyR emptyFieldD field_mask_field ( 2.google.protobuf.FieldMaskRfieldMaskFieldP source_context_field ( 2.google.protobuf.SourceContextRsourceContextField: struct_field ( 2.google.protobuf.StructR structFieldC timestamp_field ( 2.google.protobuf.TimestampRtimestampField4 type_field ( 2.google.protobuf.TypeR typeField? double_field ( 2.google.protobuf.DoubleValueR doubleField< float_field ( 2.google.protobuf.FloatValueR floatField< int64_field ( 2.google.protobuf.Int64ValueR int64Field? uint64_field ( 2.google.protobuf.UInt64ValueR uint64Field< int32_field ( 2.google.protobuf.Int32ValueR int32Field? uint32_field ( 2.google.protobuf.UInt32ValueR uint32Field9 bool_field ( 2.google.protobuf.BoolValueR boolField? string_field ( 2.google.protobuf.StringValueR stringField< bytes_field ( 2.google.protobuf.BytesValueR bytesField" OneofWellKnownTypes3 any_field ( 2.google.protobuf.AnyHRanyField3 api_field ( 2.google.protobuf.ApiHRapiFieldB duration_field ( 2.google.protobuf.DurationHR durationField9 empty_field ( 2.google.protobuf.EmptyHR emptyFieldF field_mask_field ( 2.google.protobuf.FieldMaskHRfieldMaskFieldR source_context_field ( 2.google.protobuf.SourceContextHRsourceContextField< struct_field ( 2.google.protobuf.StructHR structFieldE timestamp_field ( 2.google.protobuf.TimestampHRtimestampField6 type_field ( 2.google.protobuf.TypeHR typeFieldA double_field ( 2.google.protobuf.DoubleValueHR doubleField> float_field ( 2.google.protobuf.FloatValueHR floatField> int64_field ( 2.google.protobuf.Int64ValueHR int64FieldA uint64_field ( 2.google.protobuf.UInt64ValueHR uint64Field> int32_field ( 2.google.protobuf.Int32ValueHR int32FieldA uint32_field ( 2.google.protobuf.UInt32ValueHR uint32Field; bool_field ( 2.google.protobuf.BoolValueHR boolFieldA string_field ( 2.google.protobuf.StringValueHR stringField> bytes_field ( 2.google.protobuf.BytesValueHR bytesFieldB oneof_field" MapWellKnownTypesO any_field ( 22.protobuf_unittest.MapWellKnownTypes.AnyFieldEntryRanyFieldO api_field ( 22.protobuf_unittest.MapWellKnownTypes.ApiFieldEntryRapiField^ duration_field ( 27.protobuf_unittest.MapWellKnownTypes.DurationFieldEntryR durationFieldU empty_field ( 24.protobuf_unittest.MapWellKnownTypes.EmptyFieldEntryR emptyFieldb field_mask_field ( 28.protobuf_unittest.MapWellKnownTypes.FieldMaskFieldEntryRfieldMaskFieldn source_context_field ( 2<.protobuf_unittest.MapWellKnownTypes.SourceContextFieldEntryRsourceContextFieldX struct_field ( 25.protobuf_unittest.MapWellKnownTypes.StructFieldEntryR structFielda timestamp_field ( 28.protobuf_unittest.MapWellKnownTypes.TimestampFieldEntryRtimestampFieldR type_field ( 23.protobuf_unittest.MapWellKnownTypes.TypeFieldEntryR typeFieldX double_field ( 25.protobuf_unittest.MapWellKnownTypes.DoubleFieldEntryR doubleFieldU float_field ( 24.protobuf_unittest.MapWellKnownTypes.FloatFieldEntryR floatFieldU int64_field ( 24.protobuf_unittest.MapWellKnownTypes.Int64FieldEntryR int64FieldX uint64_field ( 25.protobuf_unittest.MapWellKnownTypes.Uint64FieldEntryR uint64FieldU int32_field ( 24.protobuf_unittest.MapWellKnownTypes.Int32FieldEntryR int32FieldX uint32_field ( 25.protobuf_unittest.MapWellKnownTypes.Uint32FieldEntryR uint32FieldR bool_field ( 23.protobuf_unittest.MapWellKnownTypes.BoolFieldEntryR boolFieldX string_field ( 25.protobuf_unittest.MapWellKnownTypes.StringFieldEntryR stringFieldU bytes_field ( 24.protobuf_unittest.MapWellKnownTypes.BytesFieldEntryR bytesFieldQ AnyFieldEntry key (Rkey* value ( 2.google.protobuf.AnyRvalue:8Q ApiFieldEntry key (Rkey* value ( 2.google.protobuf.ApiRvalue:8[ DurationFieldEntry key (Rkey/ value ( 2.google.protobuf.DurationRvalue:8U EmptyFieldEntry key (Rkey, value ( 2.google.protobuf.EmptyRvalue:8] FieldMaskFieldEntry key (Rkey0 value ( 2.google.protobuf.FieldMaskRvalue:8e SourceContextFieldEntry key (Rkey4 value ( 2.google.protobuf.SourceContextRvalue:8W StructFieldEntry key (Rkey- value ( 2.google.protobuf.StructRvalue:8] TimestampFieldEntry key (Rkey0 value ( 2.google.protobuf.TimestampRvalue:8S TypeFieldEntry key (Rkey+ value ( 2.google.protobuf.TypeRvalue:8\ DoubleFieldEntry key (Rkey2 value ( 2.google.protobuf.DoubleValueRvalue:8Z FloatFieldEntry key (Rkey1 value ( 2.google.protobuf.FloatValueRvalue:8Z Int64FieldEntry key (Rkey1 value ( 2.google.protobuf.Int64ValueRvalue:8\ Uint64FieldEntry key (Rkey2 value ( 2.google.protobuf.UInt64ValueRvalue:8Z Int32FieldEntry key (Rkey1 value ( 2.google.protobuf.Int32ValueRvalue:8\ Uint32FieldEntry key (Rkey2 value ( 2.google.protobuf.UInt32ValueRvalue:8X BoolFieldEntry key (Rkey0 value ( 2.google.protobuf.BoolValueRvalue:8\ StringFieldEntry key (Rkey2 value ( 2.google.protobuf.StringValueRvalue:8Z BytesFieldEntry key (Rkey1 value ( 2.google.protobuf.BytesValueRvalue:8B9 com.google.protobuf.testPGoogle.Protobuf.TestProtosJ' q       7 %7  "  "  1 1 #  #  (  %  *  . & ) $  (  + Test that we can include all well-known types. Each wrapper type is included separately, as languages map handle different wrappers in different ways.  $   "# $   "# .  ) ,- (  # &' 1  , /0 9   4 78 *  % () 0  + ./ &  ! $%   0      *   -/  !.  !  !(  !+-  ".  "  "(  "+-  #0  #  #*  #-/  $.  $  $(  $+- %0 % %* %-/ &, & && &)+ '0 ' '* '-/ (. ( (( (+- G *): Part of struct, but useful to be able to test separately * *# *&( 8 .B, A repeated field for each well-known type. . /- / /  /( /+, 0- 0 0  0( 0+, 17 1 1 # 1$2 156 21 2 2 2!, 2/0 3: 3 3 $ 3%5 389 4B 4 4 ( 4)= 4@A 53 5 5 ! 5". 512 69 6 6 $ 6%4 678 7/ 7 7  7 * 7-. V  99I These don't actually make a lot of sense, but they're not prohibited...  9  9 &  9'3  968  :7  :  : %  :&1  :46  ;7  ;  ; %  ;&1  ;46  <9  <  < &  <'3  <68  =7  =  = %  =&1  =46 >9 > > & >'3 >68 ?5 ? ? $ ?%/ ?24 @9 @ @ & @'3 @68 A7 A A % A&1 A46 DY D EX E F& F F! F$% G& G G! G$% H0 H H+ H./ I* I I% I() J3 J J. J12 K; K! K"6 K9: L, L L' L*+ M2 M M- M01 N( N N# N&'  O2  O  O ,  O/1  P0  P  P*  P-/  Q0  Q  Q*  Q-/  R2  R  R ,  R/1  S0  S  S*  S-/ T2 T T , T/1 U. U U( U+- V2 V V , V/1 W0 W W* W-/  ^q A map field for each well-known type. We only need to worry about the value part of the map being the well-known types, as messages can't be map keys. ^ _/ _ _!* _-. `/ ` `!* `-. a9 a% a&4 a78 b3 b" b#. b12 c< c& c'7 c:; dD d* d+? dBC e5 e# e$0 e34 f; f& f'6 f9: g1 g! g", g/0  h;  h(  h)5  h8:  i9  i'  i(3  i68  j9  j'  j(3  j68  k;  k(  k)5  k8:  l9  l'  l(3  l68 m; m( m)5 m8: n7 n& n'1 n46 o; o( o)5 o8: p9 p' p(3 p68bproto3  *google/protobuf/test_messages_proto3.protoprotobuf_test_messages.proto3google/protobuf/any.protogoogle/protobuf/duration.proto google/protobuf/field_mask.protogoogle/protobuf/struct.protogoogle/protobuf/timestamp.protogoogle/protobuf/wrappers.proto"[ TestAllTypesProto3% optional_int32 (R optionalInt32% optional_int64 (R optionalInt64' optional_uint32 ( RoptionalUint32' optional_uint64 (RoptionalUint64' optional_sint32 (RoptionalSint32' optional_sint64 (RoptionalSint64) optional_fixed32 (RoptionalFixed32) optional_fixed64 (RoptionalFixed64+ optional_sfixed32 (RoptionalSfixed32+ optional_sfixed64 (RoptionalSfixed64% optional_float (R optionalFloat' optional_double (RoptionalDouble# optional_bool (R optionalBool' optional_string ( RoptionalString% optional_bytes ( R optionalBytesw optional_nested_message ( 2?.protobuf_test_messages.proto3.TestAllTypesProto3.NestedMessageRoptionalNestedMessageg optional_foreign_message ( 2-.protobuf_test_messages.proto3.ForeignMessageRoptionalForeignMessagen optional_nested_enum (2<.protobuf_test_messages.proto3.TestAllTypesProto3.NestedEnumRoptionalNestedEnum^ optional_foreign_enum (2*.protobuf_test_messages.proto3.ForeignEnumRoptionalForeignEnumq optional_aliased_enum (2=.protobuf_test_messages.proto3.TestAllTypesProto3.AliasedEnumRoptionalAliasedEnum6 optional_string_piece ( BRoptionalStringPiece' optional_cord ( BR optionalCord^ recursive_message ( 21.protobuf_test_messages.proto3.TestAllTypesProto3RrecursiveMessage% repeated_int32 (R repeatedInt32% repeated_int64 (R repeatedInt64' repeated_uint32! ( RrepeatedUint32' repeated_uint64" (RrepeatedUint64' repeated_sint32# (RrepeatedSint32' repeated_sint64$ (RrepeatedSint64) repeated_fixed32% (RrepeatedFixed32) repeated_fixed64& (RrepeatedFixed64+ repeated_sfixed32' (RrepeatedSfixed32+ repeated_sfixed64( (RrepeatedSfixed64% repeated_float) (R repeatedFloat' repeated_double* (RrepeatedDouble# repeated_bool+ (R repeatedBool' repeated_string, ( RrepeatedString% repeated_bytes- ( R repeatedBytesw repeated_nested_message0 ( 2?.protobuf_test_messages.proto3.TestAllTypesProto3.NestedMessageRrepeatedNestedMessageg repeated_foreign_message1 ( 2-.protobuf_test_messages.proto3.ForeignMessageRrepeatedForeignMessagen repeated_nested_enum3 (2<.protobuf_test_messages.proto3.TestAllTypesProto3.NestedEnumRrepeatedNestedEnum^ repeated_foreign_enum4 (2*.protobuf_test_messages.proto3.ForeignEnumRrepeatedForeignEnum6 repeated_string_piece6 ( BRrepeatedStringPiece' repeated_cord7 ( BR repeatedCord% packed_int32K (BR packedInt32% packed_int64L (BR packedInt64' packed_uint32M ( BR packedUint32' packed_uint64N (BR packedUint64' packed_sint32O (BR packedSint32' packed_sint64P (BR packedSint64) packed_fixed32Q (BR packedFixed32) packed_fixed64R (BR packedFixed64+ packed_sfixed32S (BRpackedSfixed32+ packed_sfixed64T (BRpackedSfixed64% packed_floatU (BR packedFloat' packed_doubleV (BR packedDouble# packed_boolW (BR packedBooln packed_nested_enumX (2<.protobuf_test_messages.proto3.TestAllTypesProto3.NestedEnumBRpackedNestedEnum) unpacked_int32Y (BR unpackedInt32) unpacked_int64Z (BR unpackedInt64+ unpacked_uint32[ ( BRunpackedUint32+ unpacked_uint64\ (BRunpackedUint64+ unpacked_sint32] (BRunpackedSint32+ unpacked_sint64^ (BRunpackedSint64- unpacked_fixed32_ (BRunpackedFixed32- unpacked_fixed64` (BRunpackedFixed64/ unpacked_sfixed32a (BRunpackedSfixed32/ unpacked_sfixed64b (BRunpackedSfixed64) unpacked_floatc (BR unpackedFloat+ unpacked_doubled (BRunpackedDouble' unpacked_boole (BR unpackedBoolr unpacked_nested_enumf (2<.protobuf_test_messages.proto3.TestAllTypesProto3.NestedEnumBRunpackedNestedEnuml map_int32_int328 ( 2D.protobuf_test_messages.proto3.TestAllTypesProto3.MapInt32Int32EntryR mapInt32Int32l map_int64_int649 ( 2D.protobuf_test_messages.proto3.TestAllTypesProto3.MapInt64Int64EntryR mapInt64Int64r map_uint32_uint32: ( 2F.protobuf_test_messages.proto3.TestAllTypesProto3.MapUint32Uint32EntryRmapUint32Uint32r map_uint64_uint64; ( 2F.protobuf_test_messages.proto3.TestAllTypesProto3.MapUint64Uint64EntryRmapUint64Uint64r map_sint32_sint32< ( 2F.protobuf_test_messages.proto3.TestAllTypesProto3.MapSint32Sint32EntryRmapSint32Sint32r map_sint64_sint64= ( 2F.protobuf_test_messages.proto3.TestAllTypesProto3.MapSint64Sint64EntryRmapSint64Sint64x map_fixed32_fixed32> ( 2H.protobuf_test_messages.proto3.TestAllTypesProto3.MapFixed32Fixed32EntryRmapFixed32Fixed32x map_fixed64_fixed64? ( 2H.protobuf_test_messages.proto3.TestAllTypesProto3.MapFixed64Fixed64EntryRmapFixed64Fixed64~ map_sfixed32_sfixed32@ ( 2J.protobuf_test_messages.proto3.TestAllTypesProto3.MapSfixed32Sfixed32EntryRmapSfixed32Sfixed32~ map_sfixed64_sfixed64A ( 2J.protobuf_test_messages.proto3.TestAllTypesProto3.MapSfixed64Sfixed64EntryRmapSfixed64Sfixed64l map_int32_floatB ( 2D.protobuf_test_messages.proto3.TestAllTypesProto3.MapInt32FloatEntryR mapInt32Floato map_int32_doubleC ( 2E.protobuf_test_messages.proto3.TestAllTypesProto3.MapInt32DoubleEntryRmapInt32Doublef map_bool_boolD ( 2B.protobuf_test_messages.proto3.TestAllTypesProto3.MapBoolBoolEntryR mapBoolBoolr map_string_stringE ( 2F.protobuf_test_messages.proto3.TestAllTypesProto3.MapStringStringEntryRmapStringStringo map_string_bytesF ( 2E.protobuf_test_messages.proto3.TestAllTypesProto3.MapStringBytesEntryRmapStringBytes map_string_nested_messageG ( 2M.protobuf_test_messages.proto3.TestAllTypesProto3.MapStringNestedMessageEntryRmapStringNestedMessage map_string_foreign_messageH ( 2N.protobuf_test_messages.proto3.TestAllTypesProto3.MapStringForeignMessageEntryRmapStringForeignMessage map_string_nested_enumI ( 2J.protobuf_test_messages.proto3.TestAllTypesProto3.MapStringNestedEnumEntryRmapStringNestedEnum map_string_foreign_enumJ ( 2K.protobuf_test_messages.proto3.TestAllTypesProto3.MapStringForeignEnumEntryRmapStringForeignEnum# oneof_uint32o ( HR oneofUint32s oneof_nested_messagep ( 2?.protobuf_test_messages.proto3.TestAllTypesProto3.NestedMessageHRoneofNestedMessage# oneof_stringq ( HR oneofString! oneof_bytesr ( HR oneofBytes oneof_bools (HR oneofBool# oneof_uint64t (HR oneofUint64! oneof_floatu (HR oneofFloat# oneof_doublev (HR oneofDouble] oneof_enumw (2<.protobuf_test_messages.proto3.TestAllTypesProto3.NestedEnumHR oneofEnumF oneof_null_valuex (2.google.protobuf.NullValueHRoneofNullValueO optional_bool_wrapper ( 2.google.protobuf.BoolValueRoptionalBoolWrapperR optional_int32_wrapper ( 2.google.protobuf.Int32ValueRoptionalInt32WrapperR optional_int64_wrapper ( 2.google.protobuf.Int64ValueRoptionalInt64WrapperU optional_uint32_wrapper ( 2.google.protobuf.UInt32ValueRoptionalUint32WrapperU optional_uint64_wrapper ( 2.google.protobuf.UInt64ValueRoptionalUint64WrapperR optional_float_wrapper ( 2.google.protobuf.FloatValueRoptionalFloatWrapperU optional_double_wrapper ( 2.google.protobuf.DoubleValueRoptionalDoubleWrapperU optional_string_wrapper ( 2.google.protobuf.StringValueRoptionalStringWrapperR optional_bytes_wrapper ( 2.google.protobuf.BytesValueRoptionalBytesWrapperO repeated_bool_wrapper ( 2.google.protobuf.BoolValueRrepeatedBoolWrapperR repeated_int32_wrapper ( 2.google.protobuf.Int32ValueRrepeatedInt32WrapperR repeated_int64_wrapper ( 2.google.protobuf.Int64ValueRrepeatedInt64WrapperU repeated_uint32_wrapper ( 2.google.protobuf.UInt32ValueRrepeatedUint32WrapperU repeated_uint64_wrapper ( 2.google.protobuf.UInt64ValueRrepeatedUint64WrapperR repeated_float_wrapper ( 2.google.protobuf.FloatValueRrepeatedFloatWrapperU repeated_double_wrapper ( 2.google.protobuf.DoubleValueRrepeatedDoubleWrapperU repeated_string_wrapper ( 2.google.protobuf.StringValueRrepeatedStringWrapperR repeated_bytes_wrapper ( 2.google.protobuf.BytesValueRrepeatedBytesWrapperG optional_duration ( 2.google.protobuf.DurationRoptionalDurationJ optional_timestamp ( 2.google.protobuf.TimestampRoptionalTimestampK optional_field_mask ( 2.google.protobuf.FieldMaskRoptionalFieldMaskA optional_struct ( 2.google.protobuf.StructRoptionalStruct8 optional_any ( 2.google.protobuf.AnyR optionalAny> optional_value ( 2.google.protobuf.ValueR optionalValueK optional_null_value (2.google.protobuf.NullValueRoptionalNullValueG repeated_duration ( 2.google.protobuf.DurationRrepeatedDurationJ repeated_timestamp ( 2.google.protobuf.TimestampRrepeatedTimestampJ repeated_fieldmask ( 2.google.protobuf.FieldMaskRrepeatedFieldmaskA repeated_struct ( 2.google.protobuf.StructRrepeatedStruct8 repeated_any ( 2.google.protobuf.AnyR repeatedAny> repeated_value ( 2.google.protobuf.ValueR repeatedValueK repeated_list_value ( 2.google.protobuf.ListValueRrepeatedListValue fieldname1 (R fieldname1 field_name2 (R fieldName2! _field_name3 (R FieldName3" field__name4_ (R fieldName4! field0name5 (R field0name5# field_0_name6 (R field0Name6 fieldName7 (R fieldName7 FieldName8 (R FieldName8 field_Name9 (R fieldName9" Field_Name10 (R FieldName10" FIELD_NAME11 (R FIELDNAME11" FIELD_name12 (R FIELDName12$ __field_name13 (R FieldName13$ __Field_name14 (R FieldName14# field__name15 (R fieldName15# field__Name16 (R fieldName16$ field_name17__ (R fieldName17$ Field_name18__ (R FieldName18r NestedMessage a (RaS corecursive ( 21.protobuf_test_messages.proto3.TestAllTypesProto3R corecursive@ MapInt32Int32Entry key (Rkey value (Rvalue:8@ MapInt64Int64Entry key (Rkey value (Rvalue:8B MapUint32Uint32Entry key ( Rkey value ( Rvalue:8B MapUint64Uint64Entry key (Rkey value (Rvalue:8B MapSint32Sint32Entry key (Rkey value (Rvalue:8B MapSint64Sint64Entry key (Rkey value (Rvalue:8D MapFixed32Fixed32Entry key (Rkey value (Rvalue:8D MapFixed64Fixed64Entry key (Rkey value (Rvalue:8F MapSfixed32Sfixed32Entry key (Rkey value (Rvalue:8F MapSfixed64Sfixed64Entry key (Rkey value (Rvalue:8@ MapInt32FloatEntry key (Rkey value (Rvalue:8A MapInt32DoubleEntry key (Rkey value (Rvalue:8> MapBoolBoolEntry key (Rkey value (Rvalue:8B MapStringStringEntry key ( Rkey value ( Rvalue:8A MapStringBytesEntry key ( Rkey value ( Rvalue:8 MapStringNestedMessageEntry key ( RkeyU value ( 2?.protobuf_test_messages.proto3.TestAllTypesProto3.NestedMessageRvalue:8y MapStringForeignMessageEntry key ( RkeyC value ( 2-.protobuf_test_messages.proto3.ForeignMessageRvalue:8 MapStringNestedEnumEntry key ( RkeyR value (2<.protobuf_test_messages.proto3.TestAllTypesProto3.NestedEnumRvalue:8s MapStringForeignEnumEntry key ( Rkey@ value (2*.protobuf_test_messages.proto3.ForeignEnumRvalue:8"9 NestedEnum FOO BAR BAZ NEG"Y AliasedEnum ALIAS_FOO ALIAS_BAR ALIAS_BAZ MOO moo bAzB oneof_fieldJ" ForeignMessage c (Rc" NullHypothesisProto3"/ EnumOnlyProto3" Bool kFalse kTrue*@ ForeignEnum FOREIGN_FOO FOREIGN_BAR FOREIGN_BAZB8 (com.google.protobuf_test_messages.proto3HProto3Jr %  %2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Test schema for proto3 messages. This test schema is used by: - benchmarks - fuzz tests - conformance tests  '&  )A )A  *$ $*$  - D  -9 This is the default, but we specify it here explicitly. /# 0( 1* 2& 3) 4(  6 6  ? This proto includes every type of field in both singular and repeated forms. Also, crucially, all messages and enums in this file are eventually submessages of this message. So for example, a fuzz test of TestAllTypes could trigger bugs that occur in any message type in this file. We verify this stays true in a unit test. ? @C @  A  A  A  A B'  B  B"  B%& EJ E F  F  F G  G  G H  H  H ( I " Intentionally negative.  I  I LU L M M O  O  O P  P  P Q  Q  Q R  R  R S  S  S T  T  T  X Singular X X X Y Y Y Y Z Z Z  Z [ [ [  [ \ \ \  \ ] ] ]  ] ^ ^ ^  ^ _ _ _  _ `! ` `  `  a"  a  a   a!  b  b  b  b  c  c  c   c  d  d  d  d  e  e  e   e f f f f h- h h' h*, i/ i i) i,. k' k k ! k$& l) l l# l&( m) m m# m&( o; o o  o!# o$: o%9 p+ p p  p p* p) r, r r& r)+  u% Repeated u u  u u"$ v% v v  v v"$ w' w w  w! w$& x' x x  x! x$& y' y y  y! y$& z' z z  z! z$& {) { {  {# {&( |) | |  |# |&( }+ } }  }% }(*  ~+  ~  ~   ~%  ~(* !% ! !  ! !"$ "' " "  "! "$& ## # #  # # " $' $ $  $! $$& %% % %  % %"$ &6 & &  &0 &35 '8 ' '  '2 '57 (0 ( (  (* (-/ )2 ) )  ), )/1 *D * *  *' **, *-C  *.B +4 + +  + +"$ +%3  +&2  ,3 Packed , ,  , , " ,#2  ,$1 -3 - -  - - " -#2  -$1 .5 . .  . ."$ .%4  .&3 /5 / /  / /"$ /%4  /&3 05 0 0  0 0"$ 0%4  0&3 15 1 1  1 1"$ 1%4  1&3 27 2 2  2! 2$& 2'6  2(5 37 3 3  3! 3$& 3'6  3(5 49 4 4  4# 4&( 4)8  4*7 59 5 5  5# 5&( 5)8  5*7 63 6 6  6 6 " 6#2  6$1 75 7 7  7 7"$ 7%4  7&3 81 8 8  8 8 8!0  8"/ 9> 9 9  9( 9+- 9.=  9/<  :6 Unpacked : :  : :"$ :%5  :&4 ;6 ; ;  ; ;"$ ;%5  ;&4 <8 < <  <! <$& <'7  <(6 =8 = =  =! =$& ='7  =(6 >8 > >  >! >$& >'7  >(6 ?8 ? ?  ?! ?$& ?'7  ?(6 @: @ @  @# @&( @)9  @*8 A: A A  A# A&( A)9  A*8 B< B B  B% B(* B+;  B,: C< C C  C% C(* C+;  C,: D6 D D  D D"$ D%5  D&4 E9 E E  E! E$' E(8  E)7 F5 F F  F F # F$4  F%3 GB G G  G* G-0 G1A  G2@  H) Map H H# H&( I) I I# I&( J- J J' J*, K- K K' K*, L- L L' L*, M- M M' M*, N1 N N+ N.0 O1 O O+ O.0 P5 P P/ P24 Q5 Q Q/ Q24 R) R R# R&( S+ S S% S(* T% T T T"$ U- U U' U*, V+ V V% V(* W< W W6 W9; X> X X8 X;= Y6 Y Y0 Y35 Z8 Z Z2 Z57    [ [ [  [ \- \ \& \), ] ] ]  ] ^ ^ ^  ^ _ _ _  _ ` ` `  ` a a a  a b b b  b c c c c d5 d d. d14 e8 Well-known types e e1 e47 f: f f3 f69 g: g g3 g69 h< h h5 h8; i< i i5 i8; j: j j3 j69 k< k k5 k8; l< l l5 l8; m: m m3 m69 nA n n $ n%: n=@ oC o o % o&< o?B pC p p % p&< p?B qE q q & q'> qAD rE r r & r'> rAD sC s s % s&< s?B tE t t & t'> tAD uE u u & u'> uAD vC v v % v&< v?B w3 w w, w/2 x5 x x. x14 y6 y y/ y25 z/ z z( z+. {) { {" {%( |- | |& |), }6 } }/ }25 ~< ~ ~ # ~$5 ~8; >   $ %7 := >     $  %7  := 8     !  "1  47 2       +  .1 6      !/  25 ?     $  %8  ;> s d Test field-name-to-JSON-name convention. (protobuf says names can be any valid C/C++ identifier.)                                                                                                                              2  % Reserved for testing unknown fields                                              bproto3  *google/protobuf/test_messages_proto2.protoprotobuf_test_messages.proto2"Q TestAllTypesProto2% optional_int32 (R optionalInt32% optional_int64 (R optionalInt64' optional_uint32 ( RoptionalUint32' optional_uint64 (RoptionalUint64' optional_sint32 (RoptionalSint32' optional_sint64 (RoptionalSint64) optional_fixed32 (RoptionalFixed32) optional_fixed64 (RoptionalFixed64+ optional_sfixed32 (RoptionalSfixed32+ optional_sfixed64 (RoptionalSfixed64% optional_float (R optionalFloat' optional_double (RoptionalDouble# optional_bool (R optionalBool' optional_string ( RoptionalString% optional_bytes ( R optionalBytesw optional_nested_message ( 2?.protobuf_test_messages.proto2.TestAllTypesProto2.NestedMessageRoptionalNestedMessagem optional_foreign_message ( 23.protobuf_test_messages.proto2.ForeignMessageProto2RoptionalForeignMessagen optional_nested_enum (2<.protobuf_test_messages.proto2.TestAllTypesProto2.NestedEnumRoptionalNestedEnumd optional_foreign_enum (20.protobuf_test_messages.proto2.ForeignEnumProto2RoptionalForeignEnum6 optional_string_piece ( BRoptionalStringPiece' optional_cord ( BR optionalCord^ recursive_message ( 21.protobuf_test_messages.proto2.TestAllTypesProto2RrecursiveMessage% repeated_int32 (R repeatedInt32% repeated_int64 (R repeatedInt64' repeated_uint32! ( RrepeatedUint32' repeated_uint64" (RrepeatedUint64' repeated_sint32# (RrepeatedSint32' repeated_sint64$ (RrepeatedSint64) repeated_fixed32% (RrepeatedFixed32) repeated_fixed64& (RrepeatedFixed64+ repeated_sfixed32' (RrepeatedSfixed32+ repeated_sfixed64( (RrepeatedSfixed64% repeated_float) (R repeatedFloat' repeated_double* (RrepeatedDouble# repeated_bool+ (R repeatedBool' repeated_string, ( RrepeatedString% repeated_bytes- ( R repeatedBytesw repeated_nested_message0 ( 2?.protobuf_test_messages.proto2.TestAllTypesProto2.NestedMessageRrepeatedNestedMessagem repeated_foreign_message1 ( 23.protobuf_test_messages.proto2.ForeignMessageProto2RrepeatedForeignMessagen repeated_nested_enum3 (2<.protobuf_test_messages.proto2.TestAllTypesProto2.NestedEnumRrepeatedNestedEnumd repeated_foreign_enum4 (20.protobuf_test_messages.proto2.ForeignEnumProto2RrepeatedForeignEnum6 repeated_string_piece6 ( BRrepeatedStringPiece' repeated_cord7 ( BR repeatedCord% packed_int32K (BR packedInt32% packed_int64L (BR packedInt64' packed_uint32M ( BR packedUint32' packed_uint64N (BR packedUint64' packed_sint32O (BR packedSint32' packed_sint64P (BR packedSint64) packed_fixed32Q (BR packedFixed32) packed_fixed64R (BR packedFixed64+ packed_sfixed32S (BRpackedSfixed32+ packed_sfixed64T (BRpackedSfixed64% packed_floatU (BR packedFloat' packed_doubleV (BR packedDouble# packed_boolW (BR packedBooln packed_nested_enumX (2<.protobuf_test_messages.proto2.TestAllTypesProto2.NestedEnumBRpackedNestedEnum) unpacked_int32Y (BR unpackedInt32) unpacked_int64Z (BR unpackedInt64+ unpacked_uint32[ ( BRunpackedUint32+ unpacked_uint64\ (BRunpackedUint64+ unpacked_sint32] (BRunpackedSint32+ unpacked_sint64^ (BRunpackedSint64- unpacked_fixed32_ (BRunpackedFixed32- unpacked_fixed64` (BRunpackedFixed64/ unpacked_sfixed32a (BRunpackedSfixed32/ unpacked_sfixed64b (BRunpackedSfixed64) unpacked_floatc (BR unpackedFloat+ unpacked_doubled (BRunpackedDouble' unpacked_boole (BR unpackedBoolr unpacked_nested_enumf (2<.protobuf_test_messages.proto2.TestAllTypesProto2.NestedEnumBRunpackedNestedEnuml map_int32_int328 ( 2D.protobuf_test_messages.proto2.TestAllTypesProto2.MapInt32Int32EntryR mapInt32Int32l map_int64_int649 ( 2D.protobuf_test_messages.proto2.TestAllTypesProto2.MapInt64Int64EntryR mapInt64Int64r map_uint32_uint32: ( 2F.protobuf_test_messages.proto2.TestAllTypesProto2.MapUint32Uint32EntryRmapUint32Uint32r map_uint64_uint64; ( 2F.protobuf_test_messages.proto2.TestAllTypesProto2.MapUint64Uint64EntryRmapUint64Uint64r map_sint32_sint32< ( 2F.protobuf_test_messages.proto2.TestAllTypesProto2.MapSint32Sint32EntryRmapSint32Sint32r map_sint64_sint64= ( 2F.protobuf_test_messages.proto2.TestAllTypesProto2.MapSint64Sint64EntryRmapSint64Sint64x map_fixed32_fixed32> ( 2H.protobuf_test_messages.proto2.TestAllTypesProto2.MapFixed32Fixed32EntryRmapFixed32Fixed32x map_fixed64_fixed64? ( 2H.protobuf_test_messages.proto2.TestAllTypesProto2.MapFixed64Fixed64EntryRmapFixed64Fixed64~ map_sfixed32_sfixed32@ ( 2J.protobuf_test_messages.proto2.TestAllTypesProto2.MapSfixed32Sfixed32EntryRmapSfixed32Sfixed32~ map_sfixed64_sfixed64A ( 2J.protobuf_test_messages.proto2.TestAllTypesProto2.MapSfixed64Sfixed64EntryRmapSfixed64Sfixed64l map_int32_floatB ( 2D.protobuf_test_messages.proto2.TestAllTypesProto2.MapInt32FloatEntryR mapInt32Floato map_int32_doubleC ( 2E.protobuf_test_messages.proto2.TestAllTypesProto2.MapInt32DoubleEntryRmapInt32Doublef map_bool_boolD ( 2B.protobuf_test_messages.proto2.TestAllTypesProto2.MapBoolBoolEntryR mapBoolBoolr map_string_stringE ( 2F.protobuf_test_messages.proto2.TestAllTypesProto2.MapStringStringEntryRmapStringStringo map_string_bytesF ( 2E.protobuf_test_messages.proto2.TestAllTypesProto2.MapStringBytesEntryRmapStringBytes map_string_nested_messageG ( 2M.protobuf_test_messages.proto2.TestAllTypesProto2.MapStringNestedMessageEntryRmapStringNestedMessage map_string_foreign_messageH ( 2N.protobuf_test_messages.proto2.TestAllTypesProto2.MapStringForeignMessageEntryRmapStringForeignMessage map_string_nested_enumI ( 2J.protobuf_test_messages.proto2.TestAllTypesProto2.MapStringNestedEnumEntryRmapStringNestedEnum map_string_foreign_enumJ ( 2K.protobuf_test_messages.proto2.TestAllTypesProto2.MapStringForeignEnumEntryRmapStringForeignEnum# oneof_uint32o ( HR oneofUint32s oneof_nested_messagep ( 2?.protobuf_test_messages.proto2.TestAllTypesProto2.NestedMessageHRoneofNestedMessage# oneof_stringq ( HR oneofString! oneof_bytesr ( HR oneofBytes oneof_bools (HR oneofBool# oneof_uint64t (HR oneofUint64! oneof_floatu (HR oneofFloat# oneof_doublev (HR oneofDouble] oneof_enumw (2<.protobuf_test_messages.proto2.TestAllTypesProto2.NestedEnumHR oneofEnumK data ( 26.protobuf_test_messages.proto2.TestAllTypesProto2.DataRdata0 default_int32 (: -123456789R defaultInt32: default_int64 (:-9123456789123456789R defaultInt642 default_uint32 ( : 2123456789R defaultUint32< default_uint64 (:10123456789123456789R defaultUint642 default_sint32 (: -123456789R defaultSint32< default_sint64 (:-9123456789123456789R defaultSint644 default_fixed32 (: 2123456789RdefaultFixed32> default_fixed64 (:10123456789123456789RdefaultFixed646 default_sfixed32 (: -123456789RdefaultSfixed32@ default_sfixed64 (:-9123456789123456789RdefaultSfixed64+ default_float (:9e+09R defaultFloat- default_double (:7e+22R defaultDouble( default_bool (:trueR defaultBool/ default_string ( :RosebudR defaultString, default_bytes ( :joshuaR defaultBytes fieldname1 (R fieldname1 field_name2 (R fieldName2! _field_name3 (R FieldName3" field__name4_ (R fieldName4! field0name5 (R field0name5# field_0_name6 (R field0Name6 fieldName7 (R fieldName7 FieldName8 (R FieldName8 field_Name9 (R fieldName9" Field_Name10 (R FieldName10" FIELD_NAME11 (R FIELDNAME11" FIELD_name12 (R FIELDName12$ __field_name13 (R FieldName13$ __Field_name14 (R FieldName14# field__name15 (R fieldName15# field__Name16 (R fieldName16$ field_name17__ (R fieldName17$ Field_name18__ (R FieldName18r NestedMessage a (RaS corecursive ( 21.protobuf_test_messages.proto2.TestAllTypesProto2R corecursive@ MapInt32Int32Entry key (Rkey value (Rvalue:8@ MapInt64Int64Entry key (Rkey value (Rvalue:8B MapUint32Uint32Entry key ( Rkey value ( Rvalue:8B MapUint64Uint64Entry key (Rkey value (Rvalue:8B MapSint32Sint32Entry key (Rkey value (Rvalue:8B MapSint64Sint64Entry key (Rkey value (Rvalue:8D MapFixed32Fixed32Entry key (Rkey value (Rvalue:8D MapFixed64Fixed64Entry key (Rkey value (Rvalue:8F MapSfixed32Sfixed32Entry key (Rkey value (Rvalue:8F MapSfixed64Sfixed64Entry key (Rkey value (Rvalue:8@ MapInt32FloatEntry key (Rkey value (Rvalue:8A MapInt32DoubleEntry key (Rkey value (Rvalue:8> MapBoolBoolEntry key (Rkey value (Rvalue:8B MapStringStringEntry key ( Rkey value ( Rvalue:8A MapStringBytesEntry key ( Rkey value ( Rvalue:8 MapStringNestedMessageEntry key ( RkeyU value ( 2?.protobuf_test_messages.proto2.TestAllTypesProto2.NestedMessageRvalue:8 MapStringForeignMessageEntry key ( RkeyI value ( 23.protobuf_test_messages.proto2.ForeignMessageProto2Rvalue:8 MapStringNestedEnumEntry key ( RkeyR value (2<.protobuf_test_messages.proto2.TestAllTypesProto2.NestedEnumRvalue:8y MapStringForeignEnumEntry key ( RkeyF value (20.protobuf_test_messages.proto2.ForeignEnumProto2Rvalue:8L Data group_int32 (R groupInt32" group_uint32 ( R groupUint32! MessageSetCorrect*: MessageSetCorrectExtension1 str ( Rstr2 message_set_extensionC.protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrect^ ( 2M.protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension1RmessageSetExtension MessageSetCorrectExtension2 i (Ri2 message_set_extensionC.protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrect ( 2M.protobuf_test_messages.proto2.TestAllTypesProto2.MessageSetCorrectExtension2RmessageSetExtension"9 NestedEnum FOO BAR BAZ NEG*xB oneof_fieldJN"$ ForeignMessageProto2 c (Rc" UnknownToTestAllTypes& optional_int32 (R optionalInt32( optional_string ( RoptionalString[ nested_message ( 23.protobuf_test_messages.proto2.ForeignMessageProto2R nestedMessagei optionalgroup ( 2B.protobuf_test_messages.proto2.UnknownToTestAllTypes.OptionalGroupR optionalgroup$ optional_bool (R optionalBool& repeated_int32 (R repeatedInt32 OptionalGroup a (Ra" NullHypothesisProto2"/ EnumOnlyProto2" Bool kFalse kTrue"% OneStringProto2 data ( Rdata*F ForeignEnumProto2 FOREIGN_FOO FOREIGN_BAR FOREIGN_BAZ:Z extension_int321.protobuf_test_messages.proto2.TestAllTypesProto2x (RextensionInt32B/ (com.google.protobuf_test_messages.proto2HJz %  %2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Test schema for proto2 messages. This test schema is used by: - conformance tests 2 LINT: ALLOW_GROUPS  '&  )A )A  , D  ,9 This is the default, but we specify it here explicitly.  . .  7 This proto includes every type of field in both singular and repeated forms. Also, crucially, all messages and enums in this file are eventually submessages of this message. So for example, a fuzz test of TestAllTypes could trigger bugs that occur in any message type in this file. We verify this stays true in a unit test. 7 8; 8  9  9  9   9  9 :0  :  :   : +  :./ =B = >  >  > ?  ?  ? @  @  @ ( A " Intentionally negative.  A  A  E$ Singular E E  E E"# F$ F F  F F"# G& G G  G! G$% H& H H  H! H$% I& I I  I! I$% J& J J  J! J$% K( K K  K# K&' L( L L  L# L&' M* M M  M% M()  N+  N  N   N%  N(*  O%  O  O   O  O"$  P'  P  P   P!  P$&  Q#  Q  Q   Q  Q "  R'  R  R   R!  R$& S% S S  S S"$ U6 U U  U0 U35 V> V V  V 8 V;= X0 X X  X* X-/ Y8 Y Y  Y2 Y57 [D [ [  [' [*, [-C [.B \4 \ \  \ \"$ \%3 \&2 ^5 ^ ^  ^/ ^24  a% Repeated a a  a a"$ b% b b  b b"$ c' c c  c! c$& d' d d  d! d$& e' e e  e! e$& f' f f  f! f$& g) g g  g# g&( h) h h  h# h&( i+ i i  i% i(* j+ j j  j% j(*  k%  k  k   k  k"$ !l' !l !l  !l! !l$& "m# "m "m  "m "m " #n' #n #n  #n! #n$& $o% $o $o  $o $o"$ %q6 %q %q  %q0 %q35 &r> &r &r  &r 8 &r;= 't0 't 't  't* 't-/ (u8 (u (u  (u2 (u57 )wD )w )w  )w' )w*, )w-C )w.B *x4 *x *x  *x *x"$ *x%3 *x&2  +{3 Packed +{ +{  +{ +{ " +{#2 +{$1 ,|3 ,| ,|  ,| ,| " ,|#2 ,|$1 -}5 -} -}  -} -}"$ -}%4 -}&3 .~5 .~ .~  .~ .~"$ .~%4 .~&3 /5 / /  / /"$ /%4 /&3 05 0 0  0 0"$ 0%4  0&3 17 1 1  1! 1$& 1'6  1(5 27 2 2  2! 2$& 2'6  2(5 39 3 3  3# 3&( 3)8  3*7 49 4 4  4# 4&( 4)8  4*7 53 5 5  5 5 " 5#2  5$1 65 6 6  6 6"$ 6%4  6&3 71 7 7  7 7 7!0  7"/ 8> 8 8  8( 8+- 8.=  8/<  96 Unpacked 9 9  9 9"$ 9%5  9&4 :6 : :  : :"$ :%5  :&4 ;8 ; ;  ;! ;$& ;'7  ;(6 <8 < <  <! <$& <'7  <(6 =8 = =  =! =$& ='7  =(6 >8 > >  >! >$& >'7  >(6 ?: ? ?  ?# ?&( ?)9  ?*8 @: @ @  @# @&( @)9  @*8 A< A A  A% A(* A+;  A,: B< B B  B% B(* B+;  B,: C6 C C  C C"$ C%5  C&4 D9 D D  D! D$' D(8  D)7 E5 E E  E E # E$4  E%3 FB F F  F* F-0 F1A  F2@  G) Map G G# G&( H) H H# H&( I- I I' I*, J- J J' J*, K- K K' K*, L- L L' L*, M1 M M+ M.0 N1 N N+ N.0 O5 O O/ O24 P5 P P/ P24 Q) Q Q# Q&( R+ R R% R(* S% S S S"$ T- T T' T*, U+ U U% U(* V< V V6 V9; WD W# W$> WAC X6 X X0 X35 Y> Y Y!8 Y;=    Z Z Z  Z [- [ [& [), \ \ \  \ ] ] ]  ] ^ ^ ^  ^ _ _ _  _ ` ` `  ` a a a  a b b b b   extensions       c c c  c c   groups  c  %         !$  '         #&  d= default values d d  d d!$ d%< d1; eG e e  e e!$ e%F e1E f? f f  f f#& f'> f3= gI g g  g g#& g'H g3G h? h h  h h#& h'> h3= iH i i  i i#& i'G i2F jA j j  j" j%( j)@ j5? kK k k  k" k%( k)J k5I lC l l  l$ l'* l+B l7A mL m m  m$ m'* m+K m6J n6 n n  n n!$ n%5 n14 o9 o o  o o#& o'8 o37 p5 p p  p p" p#4 p/3 q> q q  q q#& q'= q3< r; r r  r r!$ r%: r19 r s"d Test field-name-to-JSON-name convention. (protobuf says names can be any valid C/C++ identifier.) s s  s s! t# t t  t t" u$ u u  u u # v% v v  v v!$ w# w w  w w" x% x x  x x!$ y" y y  y y! z" z z  z z! {# { {  { {" |$ | |  | | # }$ } }  } } # ~$ ~ ~  ~ ~ # &     "% &         "% %         !$ %         !$ &         "% &         "% 0  # Reserved for unknown fields test.         (  message_set test case.   *  *           %    K       *  +@  CJ               %    K       *  +@  CJ                                '      #&   '     "& )    ! $( 6     . 15       !%                %      $ '     "&                             4 .google/protobuf/unittest_proto3_optional.protoprotobuf_unittest google/protobuf/descriptor.proto" TestProto3Optional* optional_int32 (HR optionalInt32* optional_int64 (HR optionalInt64, optional_uint32 ( HRoptionalUint32, optional_uint64 (HRoptionalUint64, optional_sint32 (HRoptionalSint32, optional_sint64 (HRoptionalSint64. optional_fixed32 (HRoptionalFixed32. optional_fixed64 (HRoptionalFixed640 optional_sfixed32 (HRoptionalSfixed320 optional_sfixed64 (H RoptionalSfixed64* optional_float (H R optionalFloat, optional_double (H RoptionalDouble( optional_bool (H R optionalBool, optional_string ( H RoptionalString* optional_bytes ( HR optionalBytes, optional_cord ( BHR optionalCordp optional_nested_message ( 23.protobuf_unittest.TestProto3Optional.NestedMessageHRoptionalNestedMessagel lazy_nested_message ( 23.protobuf_unittest.TestProto3Optional.NestedMessageB(HRlazyNestedMessageg optional_nested_enum (20.protobuf_unittest.TestProto3Optional.NestedEnumHRoptionalNestedEnum% singular_int32 (R singularInt32% singular_int64 (R singularInt64+ NestedMessage bb (HRbbB _bb"J NestedEnum UNSPECIFIED FOO BAR BAZ NEGB _optional_int32B _optional_int64B _optional_uint32B _optional_uint64B _optional_sint32B _optional_sint64B _optional_fixed32B _optional_fixed64B _optional_sfixed32B _optional_sfixed64B _optional_floatB _optional_doubleB _optional_boolB _optional_stringB _optional_bytesB _optional_cordB _optional_nested_messageB _lazy_nested_messageB _optional_nested_enum" TestProto3OptionalMessagea nested_message ( 2:.protobuf_unittest.TestProto3OptionalMessage.NestedMessageR nestedMessagew optional_nested_message ( 2:.protobuf_unittest.TestProto3OptionalMessage.NestedMessageHRoptionalNestedMessage NestedMessage s ( RsB _optional_nested_message" Proto3OptionalExtensions2K ext_no_optional.google.protobuf.MessageOptions٩ (R extNoOptional2R ext_with_optional.google.protobuf.MessageOptions٩ (RextWithOptional:  B% !com.google.protobuf.testing.protoPJ" c  2 Protocol Buffers - Google's data interchange format Copyright 2008 Google Inc. All rights reserved. https://developers.google.com/protocol-buffers/ Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of Google Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.    "*  $"  $"  %: %: 'P ' (- (   , The field name "b" fails to compile in proto1 because it conflicts with a local variable named "b" in one of the generated methods. Doh. This file needs to compile in proto1 to test backwards-compatibility.  ,  ,   ,  , /5 / 0  0  0 1  1  1 2  2  2 3  3  3 ( 4 " Intentionally negative.  4  4  8$ Singular 8 8  8 8"# 9$ 9 9  9 9"# :& : :  :! :$% ;& ; ;  ;! ;$% <& < <  <! <$% =& = =  =! =$% >( > >  ># >&' ?( ? ?  ?# ?&' @* @ @  @% @()  A+  A  A   A%  A(*  B%  B  B   B  B"$  C'  C  C   C!  C$&  D#  D  D   D  D "  E'  E  E   E!  E$& F% F F  F F"$ G4 G G  G G"$ G%3 G&2 I6 I I  I0 I35 J@ J J  J, J/1 J2? J3> K0 K K  K* K-/ F N9 Add some non-optional fields to verify we can mix them. N N N O O O O RY R! SU S  T  T  T  T W# W W W!" X5 X X  X0 X34 [c [ \J  ٩\J ]M  ٩]M _b `& _ ' ` `  `% a1 _ ' a a  a$ a'0bproto3