1// Generated from test.proto 2 3namespace proto.test.test_namespace_suffix; 4 5/// Enum doc comment. 6enum ProtoEnum : int { 7 NUL = 0, 8 FOO = 1, 9 /// Enum 2nd value doc comment misaligned. 10 BAR = 5, 11} 12 13namespace proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage_; 14 15enum ProtoEnum : int { 16 NUL = 0, 17 FOO = 1, 18 BAR = 2, 19 BAZ = 3, 20} 21 22namespace proto.test.test_namespace_suffix.ProtoMessage_; 23 24union RUnion { 25 /// doc comment for s. 26 proto.test.test_namespace_suffix.ImportedMessage, 27 /// doc comment for t on 2 28 /// lines. 29 proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage, 30} 31 32namespace proto.test.test_namespace_suffix; 33 34table ImportedMessage { 35 a:int (id: 0); 36} 37 38/// 2nd table doc comment with 39/// many lines. 40table ProtoMessage { 41 c:int = 16 (id: 13); 42 d:long (id: 2); 43 p:uint (id: 22); 44 e:ulong (id: 3); 45 /// doc comment for f. 46 f:int = -1 (id: 4); 47 g:long (id: 5); 48 h:uint (id: 6); 49 q:ulong (id: 7); 50 i:int (id: 8); 51 j:long (id: 9); 52 /// doc comment for k. 53 k:bool (id: 10); 54 /// doc comment for l on 2 55 /// lines 56 l:string (required,id: 11); 57 m:[ubyte] (id: 12); 58 n:proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage (id: 23); 59 o:[string] (id: 14); 60 z:proto.test.test_namespace_suffix.ImportedMessage (id: 15); 61 /// doc comment for r. 62 r:proto.test.test_namespace_suffix.ProtoMessage_.RUnion (id: 1); 63 outer_enum:proto.test.test_namespace_suffix.ProtoEnum (id: 16); 64 u:float = +inf (id: 17); 65 v:float = +inf (id: 18); 66 w:float = -inf (id: 19); 67 grades:[proto.test.test_namespace_suffix.ProtoMessage_.GradesEntry] (id: 20); 68 other_message_map:[proto.test.test_namespace_suffix.ProtoMessage_.OtherMessageMapEntry] (id: 21); 69} 70 71namespace proto.test.test_namespace_suffix.ProtoMessage_; 72 73table OtherMessage { 74 a:double (id: 0); 75 /// doc comment for b. 76 b:float = 3.14149 (id: 1); 77 foo_bar_baz:proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage_.ProtoEnum (id: 2); 78} 79 80table GradesEntry { 81 key:string (key); 82 value:float; 83} 84 85table OtherMessageMapEntry { 86 key:string (key); 87 value:proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage; 88} 89 90