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.
26 lines
411 B
26 lines
411 B
8 years ago
|
syntax = "proto2";
|
||
|
|
||
|
package subdir;
|
||
|
|
||
|
import "multifile1.proto";
|
||
|
|
||
|
message Callback2Message {
|
||
|
required TestMessage tstmsg = 1;
|
||
|
required SubMessage submsg = 2;
|
||
|
}
|
||
|
|
||
|
message OneofMessage {
|
||
|
oneof msgs {
|
||
|
StaticMessage tstmsg = 1;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
message Enums {
|
||
|
required SignedEnum senum = 1;
|
||
|
required UnsignedEnum uenum = 2;
|
||
|
}
|
||
|
|
||
|
message SubdirMessage {
|
||
|
required int32 foo = 1 [default = 15];
|
||
|
}
|