Use the generated oneo proto enum

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>