Alexander Afanasyev | 6f70a0f | 2013-01-02 20:44:09 -0800 | [diff] [blame] | 1 | message SyncState |
2 | { | ||||
Alexander Afanasyev | d09871f | 2013-01-04 22:36:37 -0800 | [diff] [blame] | 3 | required bytes name = 1; |
Alexander Afanasyev | 6f70a0f | 2013-01-02 20:44:09 -0800 | [diff] [blame] | 4 | |
5 | enum ActionType | ||||
6 | { | ||||
7 | UPDATE = 0; | ||||
8 | DELETE = 1; | ||||
9 | } | ||||
10 | required ActionType type = 2; | ||||
11 | |||||
12 | optional uint64 seq = 3; | ||||
13 | } | ||||
14 | |||||
15 | message SyncStateMsg | ||||
16 | { | ||||
17 | repeated SyncState state = 1; | ||||
18 | } |