Bael 518 protobuffer (#1400)
* BEEL-518 code for protobuf article * BEEL-518 add generated protobuf class * BEEL-550 use newest version of protobuff * BAEL-518 Small refactoring in protobuffer module * BEEL-518 simpler protobuf example * BEEL-518 proper package
This commit is contained in:
committed by
Grzegorz Piwowarek
parent
669f4d6dce
commit
21f9df6330
File diff suppressed because it is too large
Load Diff
@@ -8,18 +8,7 @@ message Person {
|
||||
required int32 id = 2;
|
||||
optional string email = 3;
|
||||
|
||||
enum PhoneType {
|
||||
MOBILE = 0;
|
||||
HOME = 1;
|
||||
WORK = 2;
|
||||
}
|
||||
|
||||
message PhoneNumber {
|
||||
required string number = 1;
|
||||
optional PhoneType type = 2 [default = HOME];
|
||||
}
|
||||
|
||||
repeated PhoneNumber phones = 4;
|
||||
repeated string numbers = 4;
|
||||
}
|
||||
|
||||
message AddressBook {
|
||||
|
||||
Reference in New Issue
Block a user