public virtual YarnServiceProtos.GetQueueUserAclsInfoRequestProto GetProto() { proto = viaProto ? proto : ((YarnServiceProtos.GetQueueUserAclsInfoRequestProto)builder .Build()); viaProto = true; return(proto); }
/// <exception cref="Org.Apache.Hadoop.Yarn.Exceptions.YarnException"/> /// <exception cref="System.IO.IOException"/> public virtual GetQueueUserAclsInfoResponse GetQueueUserAcls(GetQueueUserAclsInfoRequest request) { YarnServiceProtos.GetQueueUserAclsInfoRequestProto requestProto = ((GetQueueUserAclsInfoRequestPBImpl )request).GetProto(); try { return(new GetQueueUserAclsInfoResponsePBImpl(proxy.GetQueueUserAcls(null, requestProto ))); } catch (ServiceException e) { RPCUtil.UnwrapAndThrowException(e); return(null); } }
/// <exception cref="Com.Google.Protobuf.ServiceException"/> public virtual YarnServiceProtos.GetQueueUserAclsInfoResponseProto GetQueueUserAcls (RpcController controller, YarnServiceProtos.GetQueueUserAclsInfoRequestProto proto ) { GetQueueUserAclsInfoRequestPBImpl request = new GetQueueUserAclsInfoRequestPBImpl (proto); try { GetQueueUserAclsInfoResponse response = real.GetQueueUserAcls(request); return(((GetQueueUserAclsInfoResponsePBImpl)response).GetProto()); } catch (YarnException e) { throw new ServiceException(e); } catch (IOException e) { throw new ServiceException(e); } }
public GetQueueUserAclsInfoRequestPBImpl(YarnServiceProtos.GetQueueUserAclsInfoRequestProto proto) { this.proto = proto; viaProto = true; }