Search in sources :

Example 1 with GetTaskReportRequestProtoOrBuilder

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

the class GetTaskReportRequestPBImpl method getTaskId.

@Override
public TaskId getTaskId() {
    GetTaskReportRequestProtoOrBuilder p = viaProto ? proto : builder;
    if (this.taskId != null) {
        return this.taskId;
    }
    if (!p.hasTaskId()) {
        return null;
    }
    this.taskId = convertFromProtoFormat(p.getTaskId());
    return this.taskId;
}
Also used : GetTaskReportRequestProtoOrBuilder(org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetTaskReportRequestProtoOrBuilder)

Aggregations

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