@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); } }
public GetJobReportResponsePBImpl() { builder = GetJobReportResponseProto.newBuilder(); }
public GetJobReportResponsePBImpl(GetJobReportResponseProto proto) { this.proto = proto; viaProto = true; }
public GetJobReportResponseProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetJobReportResponseProto.newBuilder(proto); } viaProto = false; }