testservice.proto 702 B

123456789101112131415
  1. syntax = "proto3";
  2. import "simpletest.proto";
  3. package qtprotobufnamespace.tests;
  4. service TestService {
  5. rpc testMethod(SimpleStringMessage) returns (SimpleStringMessage) {}
  6. rpc testMethodServerStream(SimpleStringMessage) returns (stream SimpleStringMessage) {}
  7. rpc testMethodClientStream(stream SimpleStringMessage) returns (SimpleStringMessage) {}
  8. rpc testMethodBiStream(stream SimpleStringMessage) returns (stream SimpleStringMessage) {}
  9. rpc testMethodBlobServerStream(BlobMessage) returns (stream BlobMessage) {}
  10. rpc testMethodStatusMessage(SimpleStringMessage) returns (SimpleStringMessage) {}
  11. rpc testMethodNonCompatibleArgRet(SimpleIntMessage) returns (SimpleStringMessage) {}
  12. }