test-service.proto 504 B

12345678910111213141516171819
  1. // Leading trivia.
  2. syntax = "proto3";
  3. package test;
  4. // Service docs.
  5. service TestService {
  6. // Unary docs.
  7. rpc Unary (TestInput) returns (TestOutput) {}
  8. // Client streaming docs.
  9. rpc ClientStreaming (stream TestInput) returns (TestOutput) {}
  10. // Server streaming docs.
  11. rpc ServerStreaming (TestInput) returns (stream TestOutput) {}
  12. // Bidirectional streaming docs.
  13. rpc BidirectionalStreaming (stream TestInput) returns (stream TestOutput) {}
  14. }
  15. message TestInput {}
  16. message TestOutput {}