use of org.apache.hadoop.mapreduce.v2.proto.MRServiceProtos.GetDiagnosticsRequestProtoOrBuilder in project hadoop by apache.
the class GetDiagnosticsRequestPBImpl method getTaskAttemptId.
@Override
public TaskAttemptId getTaskAttemptId() {
GetDiagnosticsRequestProtoOrBuilder p = viaProto ? proto : builder;
if (this.taskAttemptId != null) {
return this.taskAttemptId;
}
if (!p.hasTaskAttemptId()) {
return null;
}
this.taskAttemptId = convertFromProtoFormat(p.getTaskAttemptId());
return this.taskAttemptId;
}
Aggregations