@Override public MoveApplicationAcrossQueuesResponse moveApplicationAcrossQueues( MoveApplicationAcrossQueuesRequest request) throws YarnException, IOException { MoveApplicationAcrossQueuesRequestProto requestProto = ((MoveApplicationAcrossQueuesRequestPBImpl) request).getProto(); try { return new MoveApplicationAcrossQueuesResponsePBImpl( proxy.moveApplicationAcrossQueues(null, requestProto)); } catch (ServiceException e) { RPCUtil.unwrapAndThrowException(e); return null; } }
public MoveApplicationAcrossQueuesRequestPBImpl() { builder = MoveApplicationAcrossQueuesRequestProto.newBuilder(); }
public MoveApplicationAcrossQueuesRequestPBImpl(MoveApplicationAcrossQueuesRequestProto proto) { this.proto = proto; viaProto = true; }
public MoveApplicationAcrossQueuesRequestProto getProto() { mergeLocalToProto(); proto = viaProto ? proto : builder.build(); viaProto = true; return proto; }
private void maybeInitBuilder() { if (viaProto || builder == null) { builder = MoveApplicationAcrossQueuesRequestProto.newBuilder(proto); } viaProto = false; }
@Test public void testMoveApplicationAcrossQueuesRequestPBImpl() throws Exception { validatePBImplRecord(MoveApplicationAcrossQueuesRequestPBImpl.class, MoveApplicationAcrossQueuesRequestProto.class); }