planning
All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s

This commit is contained in:
2024-10-14 09:15:30 +02:00
parent bcba00a730
commit 6e64e138e2
21059 changed files with 2317811 additions and 1 deletions

View File

@@ -0,0 +1,30 @@
package tutorial;
option java_package = "com.mafintosh.generated";
option java_outer_classname = "Example";
option java_generate_equals_and_hash = true;
option optimize_for = SPEED;
message Person {
enum PhoneType {
option allow_alias = true;
option custom_option = true;
MOBILE = 0 [some_enum_option = true];
HOME = 1;
WORK = 2;
}
message PhoneNumber {
required string number = 1;
optional PhoneType type = 2 [default = HOME];
}
required string name = 1;
required int32 id = 2;
optional string email = 3;
repeated PhoneNumber phone = 4;
}
message AddressBook {
repeated Person person = 1;
}