@Override public synchronized TaskId getTaskId() { TaskAttemptIdProtoOrBuilder p = viaProto ? proto : builder; if (this.taskId != null) { return this.taskId; } if (!p.hasTaskId()) { return null; } taskId = convertFromProtoFormat(p.getTaskId()); return taskId; }
@Override public synchronized int getId() { TaskAttemptIdProtoOrBuilder p = viaProto ? proto : builder; return (p.getId()); }