• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1import 'alltypes.proto';
2
3extend AllTypes {
4    optional int32 AllTypes_extensionfield1 = 255 [default = 5];
5}
6
7message ExtensionMessage {
8    extend AllTypes {
9        optional ExtensionMessage AllTypes_extensionfield2 = 254;
10	required ExtensionMessage AllTypes_extensionfield3 = 253;
11	repeated ExtensionMessage AllTypes_extensionfield4 = 252;
12    }
13
14    required string test1 = 1;
15    required int32 test2 = 2;
16}
17
18