1package echo; 2//option py_generic_services = true; 3//option cc_generic_services = true; 4option java_generic_services = true; 5option java_package = "echo"; 6option java_outer_classname = "EchoProto"; 7 8message EchoRequest { 9 required string payload = 1; 10} 11 12message EchoResponse { 13 required string payload = 2; 14} 15 16service EchoService { 17 rpc Echo (EchoRequest) returns (EchoResponse); 18} 19 20