@Override public GetJobReportResponseProto getJobReport(RpcController controller, GetJobReportRequestProto proto) throws ServiceException { GetJobReportRequestPBImpl request = new GetJobReportRequestPBImpl(proto); try { GetJobReportResponse response = real.getJobReport(request); return ((GetJobReportResponsePBImpl)response).getProto(); } catch (IOException e) { throw new ServiceException(e); } }
@Override public GetJobReportResponse getJobReport(GetJobReportRequest request) throws IOException { GetJobReportRequestProto requestProto = ((GetJobReportRequestPBImpl)request).getProto(); try { return new GetJobReportResponsePBImpl(proxy.getJobReport(null, requestProto)); } catch (ServiceException e) { throw unwrapAndThrowException(e); } }