aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/util/ut/extensions.proto
blob: 4944f0f5ca727f9f9afc467551848c75a41514fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package NExt;

import "library/cpp/protobuf/util/ut/sample_for_simple_reflection.proto";

message TTestExt {
    extend TSample {
        optional string ExtField = 100;
    }
}

extend TSample {
    optional uint64 ExtField = 150; // the same name, but another full name
}

extend TSample {
    repeated uint64 Ext2Field = 105;
    optional TInnerSample SubMsgExt = 111;
}

extend TInnerSample {
    optional uint64 Ext3Field = 100;
}