So protobuf does not allow string enums to be keys in a map
I want to constrain a map to only have the keys a, b, or c.
I'm working in Kotlin and can use validators like [(validate.rules).string = {pattern: "^a|b|c$"}]
message payload {
map<desired_constrained_key_here, string> my_map = 1;
}
Can this be done? How can I do it? I don't see this in the protobuf docs.