private TaskStateProto convertToProtoFormat(TaskState e) { return MRProtoUtils.convertToProtoFormat(e); }
private TaskState convertFromProtoFormat(TaskStateProto e) { return MRProtoUtils.convertFromProtoFormat(e); }
public static TaskStateProto convertToProtoFormat(TaskState e) { return TaskStateProto.valueOf(TASK_STATE_PREFIX + e.name()); }
public static TaskState convertFromProtoFormat(TaskStateProto e) { return TaskState.valueOf(e.name().replace(TASK_STATE_PREFIX, "")); }