InputFailedEventProto.parseFrom(eventBytes);
event = new InputFailedEvent(ifProto.getSourceIndex(),
ifProto.getTargetIndex(), ifProto.getVersion());
break;
case ROOT_INPUT_DATA_INFORMATION_EVENT:
RootInputDataInformationEventProto difProto = RootInputDataInformationEventProto
.parseFrom(eventBytes);
event = new RootInputDataInformationEvent(difProto.getIndex(), difProto
.getUserPayload().toByteArray());
break;
default:
// RootInputUpdatePayload event not wrapped in a TezEvent.
throw new TezUncheckedException("Unexpected TezEvent"