mirror of
https://github.com/schollz/cowyo.git
synced 2023-08-10 21:13:00 +03:00
13 lines
234 B
Protocol Buffer
13 lines
234 B
Protocol Buffer
package example;
|
|
|
|
enum FOO {X=17;};
|
|
|
|
message Test {
|
|
required string label = 1;
|
|
optional int32 type = 2[default=77];
|
|
repeated int64 reps = 3;
|
|
optional group OptionalGroup = 4{
|
|
required string RequiredField = 5;
|
|
}
|
|
}
|