format
This commit is contained in:
@@ -5,17 +5,17 @@ option java_package = "org.redkalex.test.protobuf";
|
||||
|
||||
message PSimpleBean {
|
||||
|
||||
message PSimpleEntry {
|
||||
sint32 id = 1;
|
||||
string name = 2;
|
||||
string email = 3;
|
||||
}
|
||||
message PSimpleEntry {
|
||||
sint32 id = 1;
|
||||
string name = 2;
|
||||
string email = 3;
|
||||
}
|
||||
|
||||
message PTwoEntry {
|
||||
sint32 status = 1;
|
||||
sint64 createtime = 2;
|
||||
}
|
||||
PSimpleEntry simple = 1;
|
||||
PTwoEntry two = 2;
|
||||
string strings = 3 ;
|
||||
message PTwoEntry {
|
||||
sint32 status = 1;
|
||||
sint64 createtime = 2;
|
||||
}
|
||||
PSimpleEntry simple = 1;
|
||||
PTwoEntry two = 2;
|
||||
string strings = 3 ;
|
||||
}
|
||||
|
||||
@@ -5,32 +5,32 @@ option java_package = "org.redkalex.test.protobuf";
|
||||
|
||||
message PTestBean {
|
||||
|
||||
message PTestEntry {
|
||||
repeated bool bools = 1;
|
||||
repeated bytes bytes = 2;
|
||||
repeated sint32 chars = 3;
|
||||
repeated sint32 shorts = 4;
|
||||
}
|
||||
message PTestEntry {
|
||||
repeated bool bools = 1;
|
||||
repeated bytes bytes = 2;
|
||||
repeated sint32 chars = 3;
|
||||
repeated sint32 shorts = 4;
|
||||
}
|
||||
|
||||
repeated bool bools = 1;
|
||||
repeated bytes bytes = 2;
|
||||
repeated sint32 chars = 3;
|
||||
repeated PTestEntry entrys = 4;
|
||||
repeated sint32 ints = 5;
|
||||
repeated float floats = 6;
|
||||
repeated sint64 longs = 7;
|
||||
repeated double doubles = 8;
|
||||
repeated string strings = 9;
|
||||
sint32 id = 10;
|
||||
string name = 11;
|
||||
string email = 12;
|
||||
Kind kind = 13;
|
||||
map<string,sint32> map = 14;
|
||||
string end = 15;
|
||||
repeated bool bools = 1;
|
||||
repeated bytes bytes = 2;
|
||||
repeated sint32 chars = 3;
|
||||
repeated PTestEntry entrys = 4;
|
||||
repeated sint32 ints = 5;
|
||||
repeated float floats = 6;
|
||||
repeated sint64 longs = 7;
|
||||
repeated double doubles = 8;
|
||||
repeated string strings = 9;
|
||||
sint32 id = 10;
|
||||
string name = 11;
|
||||
string email = 12;
|
||||
Kind kind = 13;
|
||||
map<string,sint32> map = 14;
|
||||
string end = 15;
|
||||
|
||||
enum Kind {
|
||||
ONE =0;
|
||||
TWO =1;
|
||||
THREE =2;
|
||||
}
|
||||
enum Kind {
|
||||
ONE =0;
|
||||
TWO =1;
|
||||
THREE =2;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user