diff options
Diffstat (limited to 'src/test/java/com/orbekk/protobuf/Test.proto')
-rw-r--r-- | src/test/java/com/orbekk/protobuf/Test.proto | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/java/com/orbekk/protobuf/Test.proto b/src/test/java/com/orbekk/protobuf/Test.proto new file mode 100644 index 0000000..9bbe629 --- /dev/null +++ b/src/test/java/com/orbekk/protobuf/Test.proto @@ -0,0 +1,20 @@ +package com.orbekk.protobuf; + +option java_generic_services = true; + +message Type1 { + optional int32 a = 1; + optional int32 b = 2; + optional string message = 3; +} + +message Type2 { + optional int32 result = 1; + optional string message = 2; +} + +service Service { + rpc TestA (Type1) returns (Type2); + rpc TestB (Type1) returns (Type2); + rpc TestC (Type1) returns (Type2); +} |