1syntax = "proto2";
2
3message Message1
4{
5 optional uint32 fieldA = 1;
6 extensions 30 to max;
7}
8
9message Message2
10{
11 extend Message1
12 {
13 optional Message2 extras = 30;
14 }
15
16 optional uint32 field1 = 1;
17 optional uint32 field2 = 2;
18}
19