• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/* Test for one missing field among many */
2
3syntax = "proto2";
4
5message AllFields
6{
7    required int32 field1 = 1;
8    required int32 field2 = 2;
9    required int32 field3 = 3;
10    required int32 field4 = 4;
11    required int32 field5 = 5;
12    required int32 field6 = 6;
13    required int32 field7 = 7;
14    required int32 field8 = 8;
15    required int32 field9 = 9;
16    required int32 field10 = 10;
17    required int32 field11 = 11;
18    required int32 field12 = 12;
19    required int32 field13 = 13;
20    required int32 field14 = 14;
21    required int32 field15 = 15;
22    required int32 field16 = 16;
23    required int32 field17 = 17;
24    required int32 field18 = 18;
25    required int32 field19 = 19;
26    required int32 field20 = 20;
27    required int32 field21 = 21;
28    required int32 field22 = 22;
29    required int32 field23 = 23;
30    required int32 field24 = 24;
31    required int32 field25 = 25;
32    required int32 field26 = 26;
33    required int32 field27 = 27;
34    required int32 field28 = 28;
35    required int32 field29 = 29;
36    required int32 field30 = 30;
37    required int32 field31 = 31;
38    required int32 field32 = 32;
39    required int32 field33 = 33;
40    required int32 field34 = 34;
41    required int32 field35 = 35;
42    required int32 field36 = 36;
43    required int32 field37 = 37;
44    required int32 field38 = 38;
45    required int32 field39 = 39;
46    required int32 field40 = 40;
47    required int32 field41 = 41;
48    required int32 field42 = 42;
49    required int32 field43 = 43;
50    required int32 field44 = 44;
51    required int32 field45 = 45;
52    required int32 field46 = 46;
53    required int32 field47 = 47;
54    required int32 field48 = 48;
55    required int32 field49 = 49;
56    required int32 field50 = 50;
57    required int32 field51 = 51;
58    required int32 field52 = 52;
59    required int32 field53 = 53;
60    required int32 field54 = 54;
61    required int32 field55 = 55;
62    required int32 field56 = 56;
63    required int32 field57 = 57;
64    required int32 field58 = 58;
65    required int32 field59 = 59;
66    required int32 field60 = 60;
67    required int32 field61 = 61;
68    required int32 field62 = 62;
69    required int32 field63 = 63;
70    required int32 field64 = 64;
71}
72
73message MissingField
74{
75    required int32 field1 = 1;
76    required int32 field2 = 2;
77    required int32 field3 = 3;
78    required int32 field4 = 4;
79    required int32 field5 = 5;
80    required int32 field6 = 6;
81    required int32 field7 = 7;
82    required int32 field8 = 8;
83    required int32 field9 = 9;
84    required int32 field10 = 10;
85    required int32 field11 = 11;
86    required int32 field12 = 12;
87    required int32 field13 = 13;
88    required int32 field14 = 14;
89    required int32 field15 = 15;
90    required int32 field16 = 16;
91    required int32 field17 = 17;
92    required int32 field18 = 18;
93    required int32 field19 = 19;
94    required int32 field20 = 20;
95    required int32 field21 = 21;
96    required int32 field22 = 22;
97    required int32 field23 = 23;
98    required int32 field24 = 24;
99    required int32 field25 = 25;
100    required int32 field26 = 26;
101    required int32 field27 = 27;
102    required int32 field28 = 28;
103    required int32 field29 = 29;
104    required int32 field30 = 30;
105    required int32 field31 = 31;
106    required int32 field32 = 32;
107    required int32 field33 = 33;
108    required int32 field34 = 34;
109    required int32 field35 = 35;
110    required int32 field36 = 36;
111    required int32 field37 = 37;
112    required int32 field38 = 38;
113    required int32 field39 = 39;
114    required int32 field40 = 40;
115    required int32 field41 = 41;
116    required int32 field42 = 42;
117    required int32 field43 = 43;
118    required int32 field44 = 44;
119    required int32 field45 = 45;
120    required int32 field46 = 46;
121    required int32 field47 = 47;
122    required int32 field48 = 48;
123    required int32 field49 = 49;
124    required int32 field50 = 50;
125    required int32 field51 = 51;
126    required int32 field52 = 52;
127    required int32 field53 = 53;
128    required int32 field54 = 54;
129    required int32 field55 = 55;
130    required int32 field56 = 56;
131    required int32 field57 = 57;
132    required int32 field58 = 58;
133    required int32 field59 = 59;
134    required int32 field60 = 60;
135    required int32 field61 = 61;
136    required int32 field62 = 62;
137/*    required int32 field63 = 63; */
138    required int32 field64 = 64;
139}
140
141