Search in sources :

Example 1 with GetJobReportRequestProtoOrBuilder

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

the class GetJobReportRequestPBImpl method getJobId.

@Override
public JobId getJobId() {
    GetJobReportRequestProtoOrBuilder p = viaProto ? proto : builder;
    if (this.jobId != null) {
        return this.jobId;
    }
    if (!p.hasJobId()) {
        return null;
    }
    this.jobId = convertFromProtoFormat(p.getJobId());
    return this.jobId;
}
Also used : GetJobReportRequestProtoOrBuilder(org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetJobReportRequestProtoOrBuilder)

Aggregations

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