Alexander Afanasyev | 433ecda | 2013-01-02 22:13:45 -0800 | [diff] [blame] | 1 | message ActionItem |
| 2 | { |
| 3 | enum ActionType |
| 4 | { |
Alexander Afanasyev | 334aac8 | 2013-01-18 14:06:39 -0800 | [diff] [blame^] | 5 | UPDATE = 1; |
| 6 | DELETE = 2; |
Alexander Afanasyev | 433ecda | 2013-01-02 22:13:45 -0800 | [diff] [blame] | 7 | } |
Alexander Afanasyev | 334aac8 | 2013-01-18 14:06:39 -0800 | [diff] [blame^] | 8 | required ActionType action = 14; |
Alexander Afanasyev | 433ecda | 2013-01-02 22:13:45 -0800 | [diff] [blame] | 9 | |
Zhenkai Zhu | b777a4d | 2013-01-18 09:40:46 -0800 | [diff] [blame] | 10 | required string filename = 1; |
| 11 | required uint64 version = 2; |
| 12 | required uint32 timestamp = 3; |
| 13 | optional uint64 seg_num = 4; |
| 14 | optional bytes file_hash = 5; |
Alexander Afanasyev | 433ecda | 2013-01-02 22:13:45 -0800 | [diff] [blame] | 15 | |
Zhenkai Zhu | b777a4d | 2013-01-18 09:40:46 -0800 | [diff] [blame] | 16 | optional uint32 mtime = 6; |
| 17 | optional uint32 mode = 7; |
Alexander Afanasyev | 334aac8 | 2013-01-18 14:06:39 -0800 | [diff] [blame^] | 18 | // optional uint32 atime = 8; |
| 19 | // optional uint32 ctime = 9; |
Alexander Afanasyev | 433ecda | 2013-01-02 22:13:45 -0800 | [diff] [blame] | 20 | |
Alexander Afanasyev | 334aac8 | 2013-01-18 14:06:39 -0800 | [diff] [blame^] | 21 | optional bytes parent_device_name = 12; |
| 22 | optional uint64 parent_seq_no = 13; |
Alexander Afanasyev | 433ecda | 2013-01-02 22:13:45 -0800 | [diff] [blame] | 23 | } |