How to access FieldOptions ?
Hello do you have an idea how one could access `google.protobuf.FieldOptions` using protokt ? The `ValidationOptions` message is generated as a kotlin class but I don't see how I can access it in the context of `MyOptions.someField` for example.
```
extend google.protobuf.FieldOptions {
ValidateOptions validate = 50001;
}
message ValidateOptions {
bool required = 1;
}
message MyOptions {
string someField = 2 [(validate).required = true];
}
```
关闭于 2025-08-31 6 条评论