summaryrefslogtreecommitdiffstats
path: root/tests/extensions.proto
blob: cbffdce60d9430492287b7ec6339200368371568 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import 'alltypes.proto';

extend AllTypes {
    optional int32 AllTypes_extensionfield1 = 255;
}

message ExtensionMessage {
    extend AllTypes {
        optional ExtensionMessage AllTypes_extensionfield2 = 254;
    }
    
    required string test1 = 1;
    required int32 test2 = 2;
}