1syntax = "proto3"; 2 3package ambiguous_methods; 4 5message DropReq {} 6message DropResp {} 7 8// The generated stubs can confuse drop and clone 9// with the same method names from Arc, 10// resulting in a compile error. 11service HelloService { 12 rpc Drop (DropReq) returns (DropResp); 13 rpc Clone (DropReq) returns (DropResp); 14} 15 16service HelloStreamingService { 17 rpc Drop (DropReq) returns (stream DropResp); 18 rpc Clone (DropReq) returns (stream DropResp); 19} 20