Running latest github.com/openconfig/ygot/proto_generator/protogenerator.go on YANG modules with type bits{...} and received unimplemented type error, per https://github.com/openconfig/ygot/blob/master/docs/yang-to-protobuf-transformations-spec.md, the bits should be supported and translated to enum.