public TajoIdProtos.TaskAttemptIdProto getProto() { return TajoIdProtos.TaskAttemptIdProto.newBuilder() .setTaskId(taskId.getProto()) .setId(id) .build(); }
public TaskAttemptId(TajoIdProtos.TaskAttemptIdProto proto) { this(new TaskId(proto.getTaskId()), proto.getId()); }