use of org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportsResponseProtoOrBuilder in project hadoop by apache.
the class GetTaskReportsResponsePBImpl method initTaskReports.
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));
}
}
Aggregations