private void initTaskReports() { if (this.taskReports != null) { return; } GetTaskReportsResponseProtoOrBuilder p = viaProto ? proto : builder; List<TaskReportProto> list = p.getTaskReportsList(); this.taskReports = new ArrayList<TaskReport>(); for (TaskReportProto c : list) { this.taskReports.add(convertFromProtoFormat(c)); } }