summaryrefslogtreecommitdiffstats
path: root/tests/callbacks.proto
blob: 7bc79002c9af185461a0c7e28525849fe5dc8a36 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* Todo: write tests for the rest of these fields, currently only stringvalue
 * is tested.
 */

message SubMessage {
    optional int32 int32value = 1;
}

message TestMessage {
    optional string stringvalue = 1;
    optional int32 int32value = 2;
    optional fixed32 fixed32value = 3;
    optional fixed64 fixed64value = 4;
    optional SubMessage submsg = 5;
}