• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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;
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.test_namespace_suffix.ProtoMessage_.OtherMessage;
49  o:[string];
50  z:proto.test.test_namespace_suffix.ImportedMessage;
51  /// doc comment for r.
52  r:proto.test.test_namespace_suffix.ProtoMessage_.Anonymous0;
53  outer_enum:proto.test.test_namespace_suffix.ProtoEnum;
54  u:float = +inf;
55  v:float = +inf;
56  w:float = -inf;
57  grades:[proto.test.test_namespace_suffix.ProtoMessage_.GradesEntry];
58  other_message_map:[proto.test.test_namespace_suffix.ProtoMessage_.OtherMessageMapEntry];
59}
60
61namespace proto.test.test_namespace_suffix.ProtoMessage_;
62
63table OtherMessage {
64  a:double;
65  /// doc comment for b.
66  b:float = 3.14149;
67  foo_bar_baz:proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage_.ProtoEnum;
68}
69
70table Anonymous0 {
71  /// doc comment for s.
72  s:proto.test.test_namespace_suffix.ImportedMessage;
73  /// doc comment for t on 2
74  /// lines.
75  t:proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage;
76}
77
78table GradesEntry {
79  key:string (key);
80  value:float;
81}
82
83table OtherMessageMapEntry {
84  key:string (key);
85  value:proto.test.test_namespace_suffix.ProtoMessage_.OtherMessage;
86}
87
88