-
Notifications
You must be signed in to change notification settings - Fork 0
/
definitions.proto
92 lines (75 loc) · 1.98 KB
/
definitions.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
syntax = "proto3";
message UnexpectedError {
string description = 1;
}
message FromServer {
oneof inner {
bytes output = 1;
UnexpectedError unexpected_error = 2;
}
}
message And {}
message Or {}
message Combination {
oneof inner {
And and = 1;
Or or = 2;
}
}
message Initialize {
string row_index_filters = 1;
string row_regex_filter = 2;
Combination row_filter_combination = 3;
repeated string row_separators = 4;
string row_regex_separator = 5;
string column_index_filters = 6;
string column_regex_filter = 7;
Combination column_filter_combination = 8;
repeated string column_separators = 9;
string column_regex_separator = 10;
}
message SetRowIndexFilters {
string filters = 1;
}
message SetRowRegexFilter {
string filter = 1;
}
message SetRowFilterCombination {
Combination combination = 1;
}
message SetRowSeparators {
repeated string separators = 1;
}
message SetRowRegexSeparator {
string separator = 1;
}
message SetColumnIndexFilters {
string filters = 1;
}
message SetColumnRegexFilter {
string filter = 1;
}
message SetColumnFilterCombination {
Combination combination = 1;
}
message SetColumnSeparators {
repeated string separators = 1;
}
message SetColumnRegexSeparator {
string separator = 1;
}
message FromClient {
oneof inner {
Initialize initialize = 1;
SetRowIndexFilters set_row_index_filters = 2;
SetRowRegexFilter set_row_regex_filter = 3;
SetRowFilterCombination set_row_filter_combination = 4;
SetRowSeparators set_row_separators = 5;
SetRowRegexSeparator set_row_regex_separator = 6;
SetColumnIndexFilters set_column_index_filters = 7;
SetColumnRegexFilter set_column_regex_filter = 8;
SetColumnFilterCombination set_column_filter_combination = 9;
SetColumnSeparators set_column_separators = 10;
SetColumnRegexSeparator set_column_regex_separator = 11;
}
}