echo.proto 265 Bytes
Newer Older
gejun's avatar
gejun committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
syntax="proto2";
package example;

option cc_generic_services = true;

message EchoRequest {
      required int32 value = 1;
};

message EchoResponse {
      required int32 value = 1;
};

service EchoService {
      rpc Echo(EchoRequest) returns (EchoResponse);
};