Protocol Buffers - Google's data interchange format (grpc依赖)
https://developers.google.com/protocol-buffers/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
241 B
19 lines
241 B
5 years ago
|
syntax = "proto3";
|
||
|
|
||
|
package bar;
|
||
|
|
||
|
message TestInclude {
|
||
|
int32 a = 1;
|
||
|
}
|
||
|
|
||
|
message TestLegacyMessage {
|
||
|
NestedMessage message = 1;
|
||
|
NestedEnum enum = 2;
|
||
|
message NestedMessage {
|
||
|
int32 a = 1;
|
||
|
}
|
||
|
enum NestedEnum {
|
||
|
ZERO = 0;
|
||
|
}
|
||
|
}
|