This repository has been archived by the owner on Jun 20, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 101
/
TwelveMessages.proto
109 lines (97 loc) · 2 KB
/
TwelveMessages.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
syntax = "proto3";
package samples;
message MessageKind1 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
}
message MessageKind2 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
bool isa = 6;
bool hasa = 7;
}
message MessageKind3 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
string someProp = 6;
}
message MessageKind4 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
string special = 6;
}
message MessageKind5 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
double foo = 6;
}
message MessageKind6 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
string bar = 6;
}
message MessageKind7 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
int64 baz = 6;
}
message MessageKind8 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
}
message MessageKind9 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
}
message MessageKind10 {
string name = 1;
string timestamp = 2;
int32 id = 3;
float rating = 4;
bool complete = 5;
}
message MessageKind11 {
string name = 1;
repeated MessageKind1 ones = 2;
oneof iface {
MessageKind2 kind2 = 3;
MessageKind3 kind3 = 4;
MessageKind4 kind4 = 5;
}
}
message MessageKind12 {
string name = 1;
MessageKind11 f = 2;
oneof iface {
MessageKind5 kind5 = 3;
MessageKind6 kind6 = 4;
MessageKind7 kind7 = 5;
}
}