private TaskAttemptCompletionEventStatusProto convertToProtoFormat(TaskAttemptCompletionEventStatus e) { return MRProtoUtils.convertToProtoFormat(e); }
private TaskAttemptCompletionEventStatus convertFromProtoFormat(TaskAttemptCompletionEventStatusProto e) { return MRProtoUtils.convertFromProtoFormat(e); }
public static TaskAttemptCompletionEventStatusProto convertToProtoFormat(TaskAttemptCompletionEventStatus e) { return TaskAttemptCompletionEventStatusProto.valueOf(TACE_PREFIX + e.name()); }
public static TaskAttemptCompletionEventStatus convertFromProtoFormat(TaskAttemptCompletionEventStatusProto e) { return TaskAttemptCompletionEventStatus.valueOf(e.name().replace(TACE_PREFIX, "")); }