1// Generated from test.proto 2 3namespace proto.test; 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.ProtoMessage_.OtherMessage_; 14 15enum ProtoEnum : int { 16 NUL = 0, 17 FOO = 1, 18 BAR = 2, 19 BAZ = 3, 20} 21 22namespace proto.test; 23 24table ImportedMessage { 25 a:int; 26} 27 28/// 2nd table doc comment with 29/// many lines. 30table ProtoMessage { 31 c:int = 16; 32 d:long; 33 p:uint; 34 e:ulong; 35 /// doc comment for f. 36 f:int = -1; 37 g:long; 38 h:uint; 39 q:ulong; 40 i:int; 41 j:long; 42 /// doc comment for k. 43 k:bool; 44 /// doc comment for l on 2 45 /// lines 46 l:string (required); 47 m:[ubyte]; 48 n:proto.test.ProtoMessage_.OtherMessage; 49 o:[string]; 50 z:proto.test.ImportedMessage; 51 /// doc comment for r. 52 r:proto.test.ProtoMessage_.Anonymous0; 53 outer_enum:proto.test.ProtoEnum; 54 u:float = +inf; 55 v:float = +inf; 56 w:float = -inf; 57} 58 59namespace proto.test.ProtoMessage_; 60 61table OtherMessage { 62 a:double; 63 /// doc comment for b. 64 b:float = 3.14149; 65 foo_bar_baz:proto.test.ProtoMessage_.OtherMessage_.ProtoEnum; 66} 67 68table Anonymous0 { 69 /// doc comment for s. 70 s:proto.test.ImportedMessage; 71 /// doc comment for t on 2 72 /// lines. 73 t:proto.test.ProtoMessage_.OtherMessage; 74} 75 76