echo_service.proto 434 字节
Newer Older
W
wangguibao 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14
syntax="proto2";
import "pds_option.proto";
package baidu.paddle_serving.predictor.echo_service;

option cc_generic_services = true;

message RequestAndResponse {
    required int32 a = 1;
    required float b = 2;
};

service BuiltinTestEchoService {
    rpc inference(RequestAndResponse) returns (RequestAndResponse);
    rpc debug(RequestAndResponse) returns (RequestAndResponse);
W
wangguibao 已提交
15
    option (pds.options).generate_stub = true;
W
wangguibao 已提交
16
};