blob: 1b430fc6b35589aac1f2efb23fd6ef4e49a767c3 [file] [log] [blame] [view]
## What's this?
These are core protos that are used in the protoc_plugin generator. They allow
us to read generation requests from the protoc tool as well as parse extensions
from protos for things like gRPC generation parameter and other config
information.
## Regenerating
To regenerate the Dart code from the current protos, run:
```
make update-pregenerated
```
This will generate the associated Dart code in `lib/src/gen/`.
## Updating the protos
The protos are currently updated by hand. We should create a shell script to
update from the source repos at specific SHAs. In the meantime:
The contents of `google/protobuf/` can be found at
https://github.com/protocolbuffers/protobuf/tree/main/src/google/protobuf.
All other 'google' protos can be found at
https://github.com/googleapis/googleapis/tree/master/google.
`dart_options.proto` is hand-maintained.