aboutsummaryrefslogtreecommitdiff
path: root/examples/cmake_relpath/proto/simple.proto
blob: 3bf4ad1def6da42d9cbd203a0aee9c1e00b992cb (plain)
1
2
3
4
5
6
7
8
9
10
11
// A very simple protocol definition, consisting of only
// one message.
syntax = "proto2";

import "sub/unlucky.proto";

message SimpleMessage {
    required int32 lucky_number = 1;
    required UnluckyNumber unlucky = 2;
}