-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdbx.proto
66 lines (53 loc) · 1.19 KB
/
dbx.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
syntax = "proto3";
message KeyValue {
map<string, Value> dataMap = 1;
}
message Value {
oneof kind {
string stringValue = 1;
uint32 uint32Value = 2;
uint64 uint64Value = 3;
int32 int32Value = 4;
int64 int64Value = 5;
float floatValue = 6;
double doubleValue = 7;
bool boolValue = 8;
bytes bytesValue = 9;
ListString listStringValue = 10;
ListInt32 listInt32Value = 11;
ListInt64 listInt64Value = 12;
ListuInt32 listuInt32Value = 13;
ListuInt64 listuInt64Value = 14;
ListFloat listFloatValue = 15;
ListDouble listDoubleValue = 16;
ListBool listBoolValue = 17;
ListBytes listBytesValue =18;
}
}
message ListString {
repeated string values = 1;
}
message ListInt32 {
repeated int32 values = 1;
}
message ListInt64 {
repeated int64 values = 1;
}
message ListuInt32 {
repeated uint32 values = 1;
}
message ListuInt64 {
repeated uint64 values = 1;
}
message ListFloat {
repeated float values = 1;
}
message ListDouble {
repeated double values = 1;
}
message ListBool {
repeated bool values = 1;
}
message ListBytes {
repeated bytes values = 1;
}