benchmark_pb.proto 212 B

123456789101112
  1. syntax="proto3";
  2. message EmptyPBMsg { }
  3. message FixLengthPBMsg { bytes msg = 1; }
  4. service BenchmarkPB
  5. {
  6. rpc echo_pb(FixLengthPBMsg) returns (EmptyPBMsg);
  7. rpc slow_pb(FixLengthPBMsg) returns (EmptyPBMsg);
  8. }