syntax = "proto3"; service AnInterface { rpc someMethod (SomeRequest) returns (SomeResponse) { } rpc secondMethod (SecondRequest) returns (stream SecondResponse) { } rpc thirdMethod (stream ThirdRequest) returns (ThirdResponse) { } } message SomeRequest { ... } message SomeResponse { ... } ...
Single or stream arguments
Stream open during entire call