test.proto 256 B

12345678910111213141516
  1. syntax = "proto3";
  2. package testpb;
  3. message FooRequest {
  4. bool fail = 1;
  5. int64 sleep_nanos = 2;
  6. }
  7. message FooResponse {
  8. }
  9. service Foo {
  10. rpc Single(FooRequest) returns (FooResponse);
  11. rpc Multiple(stream FooRequest) returns (stream FooResponse);
  12. }