@Override public GetContainerReportResponse getContainerReport( GetContainerReportRequest request) throws YarnException, IOException { GetContainerReportRequestProto requestProto = ((GetContainerReportRequestPBImpl) request).getProto(); try { return new GetContainerReportResponsePBImpl(proxy.getContainerReport( null, requestProto)); } catch (ServiceException e) { RPCUtil.unwrapAndThrowException(e); return null; } }
public GetContainerReportRequestPBImpl() { builder = GetContainerReportRequestProto.newBuilder(); }
public GetContainerReportRequestPBImpl(GetContainerReportRequestProto proto) { this.proto = proto; viaProto = true; }
public GetContainerReportRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = GetContainerReportRequestProto.newBuilder(proto); } viaProto = false; }
@Test public void testGetContainerReportRequestPBImpl() throws Exception { validatePBImplRecord(GetContainerReportRequestPBImpl.class, GetContainerReportRequestProto.class); }