@Override public GetTaskAttemptReportResponseProto getTaskAttemptReport( RpcController controller, GetTaskAttemptReportRequestProto proto) throws ServiceException { GetTaskAttemptReportRequest request = new GetTaskAttemptReportRequestPBImpl(proto); try { GetTaskAttemptReportResponse response = real.getTaskAttemptReport(request); return ((GetTaskAttemptReportResponsePBImpl)response).getProto(); } catch (IOException e) { throw new ServiceException(e); } }
public GetTaskAttemptReportResponsePBImpl() { builder = GetTaskAttemptReportResponseProto.newBuilder(); }
public GetTaskAttemptReportResponsePBImpl(GetTaskAttemptReportResponseProto proto) { this.proto = proto; viaProto = true; }
public GetTaskAttemptReportResponseProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetTaskAttemptReportResponseProto.newBuilder(proto); } viaProto = false; }