blob: 5f82f7d023aa7968f08646c2b9360dfb79cd7d89 [file] [log] [blame]
Don Newton276cd1f2019-02-06 17:14:03 -05001syntax = "proto3";
2
3package xos;
4
5message ID {
6 int32 id = 1;
7}
8
9message QueryElement {
10 enum QueryOperator {
11 EQUAL = 0;
12 GREATER_THAN = 1;
13 LESS_THAN = 2;
14 GREATER_THAN_OR_EQUAL = 3;
15 LESS_THAN_OR_EQUAL = 4;
16 IEXACT = 5;
17 }
18 QueryOperator operator = 1;
19 bool invert = 2;
20 string name = 3;
21 oneof value {
22 string sValue = 4;
23 int32 iValue = 5;
24 }
25};
26
27message Query {
28 enum QueryKind {
29 DEFAULT=0;
30 ALL=1;
31 SYNCHRONIZER_DIRTY_OBJECTS = 2;
32 SYNCHRONIZER_DELETED_OBJECTS = 3;
33 SYNCHRONIZER_DIRTY_POLICIES = 4;
34 SYNCHRONIZER_DELETED_POLICIES = 5;
35 }
36 QueryKind kind = 1;
37 repeated QueryElement elements = 2;
38};
39