private void buildPartial0(org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos.NotTezEvent result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.inputEventProtoBytes_ = inputEventProtoBytes_;
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          result.vertexName_ = vertexName_;
          to_bitField0_ |= 0x00000002;
        }
        if (((from_bitField0_ & 0x00000004) != 0)) {
          result.destInputName_ = destInputName_;
          to_bitField0_ |= 0x00000004;
        }
        if (((from_bitField0_ & 0x00000008) != 0)) {
          result.keyId_ = keyId_;
          to_bitField0_ |= 0x00000008;
        }
        result.bitField0_ |= to_bitField0_;
      }
<pre>
*
Tez API implementation derives an enum value from instanceof on the event, then uses that enum
in a giant switch statement to re-implement virtual functions. In addition the event classes
are final and serialization is a mix of writables and protobuf. As a result, it is impossible
three times over to add anything there. So, we'd do our own "inspired" serialization.
Eventually we'll move away from events for API.
</pre>

Protobuf type {@code NotTezEvent}
llap-common/src/gen/protobuf/gen-java/org/apache/hadoop/hive/llap/daemon/rpc/LlapDaemonProtocolProtos.java