@Override public GetApplicationAttemptReportResponse getApplicationAttemptReport( GetApplicationAttemptReportRequest request) throws YarnException, IOException { GetApplicationAttemptReportRequestProto requestProto = ((GetApplicationAttemptReportRequestPBImpl) request).getProto(); try { return new GetApplicationAttemptReportResponsePBImpl( proxy.getApplicationAttemptReport(null, requestProto)); } catch (ServiceException e) { RPCUtil.unwrapAndThrowException(e); return null; } }
public GetApplicationAttemptReportRequestPBImpl() { builder = GetApplicationAttemptReportRequestProto.newBuilder(); }
public GetApplicationAttemptReportRequestPBImpl( GetApplicationAttemptReportRequestProto proto) { this.proto = proto; viaProto = true; }
public GetApplicationAttemptReportRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetApplicationAttemptReportRequestProto.newBuilder(proto); } viaProto = false; }
@Test public void testGetApplicationAttemptReportRequestPBImpl() throws Exception { validatePBImplRecord(GetApplicationAttemptReportRequestPBImpl.class, GetApplicationAttemptReportRequestProto.class); }