mirror of
https://github.com/LC044/WeChatMsg
synced 2024-11-15 14:31:18 +08:00
19 lines
297 B
Protocol Buffer
19 lines
297 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package app.protobuf;
|
||
|
option go_package=".;proto";
|
||
|
|
||
|
message SubMessage1 {
|
||
|
int32 field1 = 1;
|
||
|
int32 field2 = 2;
|
||
|
}
|
||
|
|
||
|
message SubMessage2 {
|
||
|
int32 field1 = 1;
|
||
|
string field2 = 2;
|
||
|
}
|
||
|
|
||
|
message MessageBytesExtra {
|
||
|
SubMessage1 message1 = 1;
|
||
|
repeated SubMessage2 message2 = 3;
|
||
|
}
|