-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathtests.proto
29 lines (26 loc) · 843 Bytes
/
tests.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
syntax = "proto3";
message Lights {
bool on = 3;
}
message Room {
uint32 number = 1;
Lights lights = 2;
uint64 size = 3;
sint32 altitude = 4;
sint64 temperature = 5;
int64 humidity = 6;
int32 pressure = 7;
}
message Collection {
string id = 1;
repeated uint32 numbers_uint32 = 2 [packed = false];
repeated uint64 numbers_uint64 = 3 [packed = false];
repeated sint32 numbers_sint32 = 4 [packed = false];
repeated sint64 numbers_sint64 = 5 [packed = false];
repeated int32 numbers_int32 = 6 [packed = false];
repeated int64 numbers_int64 = 7 [packed = false];
repeated bool booleans = 8 [packed = false];
repeated string strings = 9 [packed = false];
repeated bytes bytess = 10 [packed = false];
repeated Room messages = 11;
}