blob: 7cc6b1858ca558c56d3071dbd43a8438f4dba84a [file] [log] [blame]
Zhenkai Zhu97e36bd2012-06-06 13:55:03 -07001package Sync;
2
3message SyncState
4{
5 required string name = 1;
6 enum ActionType
7 {
8 UPDATE = 0;
9 DELETE = 1;
10 OTHER = 2;
11 }
12 required ActionType type = 2;
13 message SeqNo
14 {
Yingdi Yu280bb962014-01-30 09:52:43 -080015 required uint64 seq = 1;
16 required uint64 session = 2;
Zhenkai Zhu97e36bd2012-06-06 13:55:03 -070017 }
Zhenkai Zhu3cfdcb92012-06-06 15:20:10 -070018 optional SeqNo seqno = 3;
Zhenkai Zhu97e36bd2012-06-06 13:55:03 -070019}
20
21message SyncStateMsg
22{
23 repeated SyncState ss = 1;
24}