blob: 1bba70febcb16e9e03c9af8ff289ffb7c8b7e4b7 [file] [log] [blame]
Alexander Afanasyev433ecda2013-01-02 22:13:45 -08001message ActionItem
2{
3 enum ActionType
4 {
Zhenkai Zhu337e0732013-01-18 20:27:14 -08005 UPDATE = 0;
6 DELETE = 1;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -08007 }
Zhenkai Zhu337e0732013-01-18 20:27:14 -08008 required ActionType action = 1;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -08009
Zhenkai Zhu337e0732013-01-18 20:27:14 -080010 required string filename = 2;
11 required uint64 version = 3;
12 required uint32 timestamp = 4;
13 optional uint64 seg_num = 5;
14 optional bytes file_hash = 6;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -080015
Zhenkai Zhu337e0732013-01-18 20:27:14 -080016 optional uint32 mtime = 7;
17 optional uint32 mode = 8;
18 // optional uint32 atime = 9;
19 // optional uint32 ctime = 10;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -080020
Zhenkai Zhu337e0732013-01-18 20:27:14 -080021 optional bytes parent_device_name = 11;
22 optional uint64 parent_seq_no = 12;
Alexander Afanasyev433ecda2013-01-02 22:13:45 -080023}