Convert to interface ProtoEnum.