Ugly workaround for missing optional enum issue ( https://github.com/alphaHeavy/protobuf/issues/11 )