private TaskAttemptStateProto convertToProtoFormat(TaskAttemptState e) { return MRProtoUtils.convertToProtoFormat(e); }
private TaskAttemptState convertFromProtoFormat(TaskAttemptStateProto e) { return MRProtoUtils.convertFromProtoFormat(e); }
public static TaskAttemptStateProto convertToProtoFormat(TaskAttemptState e) { return TaskAttemptStateProto.valueOf(TASK_ATTEMPT_STATE_PREFIX + e.name()); }
public static TaskAttemptState convertFromProtoFormat(TaskAttemptStateProto e) { return TaskAttemptState.valueOf(e.name().replace(TASK_ATTEMPT_STATE_PREFIX, "")); }