aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf/util/ut/sample_for_simple_reflection.proto
blob: cca1dd869adb566fb171beb753353ae8199d0a2d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
message TInnerSample {
    repeated int32 RepInt = 1;

    extensions 100 to 199;
}

message TSample {
    optional string OneStr = 1;
    optional TInnerSample OneMsg = 2;
    repeated TInnerSample RepMsg = 3;
    repeated string RepStr = 4;
    optional string AnotherOneStr = 5;

    optional int32 OneInt = 6;
    repeated int32 RepInt = 7;

    enum EEnum {
        V1 = 1;
        V2 = 2;
    }
    optional EEnum OneEnum = 8;
    repeated EEnum RepEnum = 9;

    extensions 100 to 199;
}