测试复杂消息

This commit is contained in:
2023-02-07 11:02:56 +08:00
parent c2135db0be
commit a129bb4dcd
6 changed files with 105 additions and 3 deletions
+17 -3
View File
@@ -7,9 +7,23 @@ import "common.proto";
message RegisterRequest {
string name = 1;
Common.Gender gender = 2;
repeated Address address = 3;
bytes bytes_value=2;
Common.Gender gender = 3;
Address message_value = 4;
int32 int_value = 5;
repeated string names_field = 6;
repeated bytes bytes_field = 7;
repeated Common.Gender enum_field = 8;
repeated Address address = 9;
repeated int64 test_array = 10;
map<int32, string> ext_dict = 11;
map<string, bytes> ext_bytes = 12;
map<int32, Common.Gender> ext_enum = 13;
map<string, Address> ext_address = 14;
map<string, int64> ext_int = 15;
message Address {
string address = 1;
string postal_code = 2;