1 2 3 4 5 6 7 8 9 10 11
syntax = "proto3"; message Foo {} service Service { rpc unary(Foo) returns (Foo); rpc client_streaming(stream Foo) returns (Foo); rpc server_streaming(Foo) returns (stream Foo); rpc streaming(stream Foo) returns (stream Foo); }