The protobuf library will preserve the field on unknown enum. Hence, the adapter needs to check if the enum is defined and throw an error if not.
The protobuf library will preserve the field on unknown enum. Hence, the adapter needs to check if the enum is defined and throw an error if not.