define the first version of the protocol buffers

This commit is contained in:
Sven Czarnian
2021-08-08 20:50:50 +02:00
parent d8219d8d8f
commit 2f7a1d1e19
4 changed files with 62 additions and 0 deletions

19
Aircraft.proto Normal file
View File

@@ -0,0 +1,19 @@
syntax = "proto3";
package vatger.aman;
message Aircraft {
enum EngineType {
UNKNOWN = 0;
ELECTRIC = 1;
TURBOPROB = 2;
JET = 3;
}
string callsign = 1; // aircraft's callsign
string airline = 2; // corresponding airline
string type = 3; // aircraft ICAO type
string wtc = 4; // WTC
string wakeRecat = 5; // wake recatogization category
Int32 engineCount = 6; // number of engines
EngineType engineType = 7; // engine type
}