message ChoiceOptions {
repeated string Choices = 1;
}
extend google.protobuf.FieldOptions {
ChoiceOptions Choice = 50000;
}
message Test {
string example = 1 [(Choice) = { Choices : [ "", "a", "b", "c", "d" ] } ]; //this line will not be parsed correctly by the language service
}
ex:
you can see what is supported here: https://developers.google.com/protocol-buffers/docs/proto#options
thanks!