Search in sources :

Example 1 with GetTaskReportResponseProtoOrBuilder

use of org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportResponseProtoOrBuilder in project hadoop by apache.

the class GetTaskReportResponsePBImpl method getTaskReport.

@Override
public TaskReport getTaskReport() {
    GetTaskReportResponseProtoOrBuilder p = viaProto ? proto : builder;
    if (this.taskReport != null) {
        return this.taskReport;
    }
    if (!p.hasTaskReport()) {
        return null;
    }
    this.taskReport = convertFromProtoFormat(p.getTaskReport());
    return this.taskReport;
}
Also used : GetTaskReportResponseProtoOrBuilder(org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportResponseProtoOrBuilder)

Aggregations

GetTaskReportResponseProtoOrBuilder (org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportResponseProtoOrBuilder)1