private void initLocalNodeManagerInfosList() { if (this.nodeManagerInfoList != null) { return; } GetClusterNodesResponseProtoOrBuilder p = viaProto ? proto : builder; List<NodeReportProto> list = p.getNodeReportsList(); nodeManagerInfoList = new ArrayList<NodeReport>(); for (NodeReportProto a : list) { nodeManagerInfoList.add(convertFromProtoFormat(a)); } }