mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
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
231 B
19 lines
231 B
8 years ago
|
syntax = "proto2";
|
||
|
|
||
|
message Message1
|
||
|
{
|
||
|
optional uint32 fieldA = 1;
|
||
|
extensions 30 to max;
|
||
|
}
|
||
|
|
||
|
message Message2
|
||
|
{
|
||
|
extend Message1
|
||
|
{
|
||
|
optional Message2 extras = 30;
|
||
|
}
|
||
|
|
||
|
optional uint32 field1 = 1;
|
||
|
optional uint32 field2 = 2;
|
||
|
}
|