use of org.apache.hadoop.yarn.proto.YarnServiceProtos.GetQueueUserAclsInfoResponseProtoOrBuilder in project hadoop by apache.
the class GetQueueUserAclsInfoResponsePBImpl method initLocalQueueUserAclsList.
// Once this is called. containerList will never be null - until a getProto
// is called.
private void initLocalQueueUserAclsList() {
if (this.queueUserAclsInfoList != null) {
return;
}
GetQueueUserAclsInfoResponseProtoOrBuilder p = viaProto ? proto : builder;
List<QueueUserACLInfoProto> list = p.getQueueUserAclsList();
queueUserAclsInfoList = new ArrayList<QueueUserACLInfo>();
for (QueueUserACLInfoProto a : list) {
queueUserAclsInfoList.add(convertFromProtoFormat(a));
}
}
Aggregations