iota/const type enums are covered in another section: https://github.com/betty200744/ultimate-go/blob/master/Langu...
The code in the section labeled Enums looks like it is straight out of the Protobuf compiler. grpc is referenced later on, so that structure pattern may be related.