Module
stubs/wellknowntypes
The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.
OfficialPublic
From
fdc2e0c7b591
stubs-publisher ·
To
3df4a0d21c9a
stubs-publisher ·
| @@ -0,0 +1,16 @@ | ||
| 1 | Added: # stubs/wellknowntypes | |
| 2 | Added: | |
| 3 | Added: The Protobuf well-known types (`google/protobuf/*.proto`): `Timestamp`, `Duration`, `Any`, `Struct`, `FieldMask`, the wrapper types and the rest, as Google publishes them in protobuf 36.2. | |
| 4 | Added: | |
| 5 | Added: ## Using them | |
| 6 | Added: | |
| 7 | Added: There's nothing to add to your `buf.yaml`. The compiler comes with these files, so `import "google/protobuf/timestamp.proto";` works in any module without a dependency. This module is here to browse them: their files and documentation, which other modules' docs link to. | |
| 8 | Added: | |
| 9 | Added: ## Where they come from | |
| 10 | Added: | |
| 11 | Added: Each commit is one protobuf release: the `include/google/protobuf/**.proto` files of that release's `protoc-36.2-linux-x86_64.zip`, unchanged, with the `LICENSE` at its tag. A commit is labelled with its release (`v36.2`), and `main` is the newest release. | |
| 12 | Added: | |
| 13 | Added: - Release: https://github.com/protocolbuffers/protobuf/releases/tag/v36.2 | |
| 14 | Added: - Reference: https://protobuf.dev/reference/protobuf/google.protobuf/ | |
| 15 | Added: - Licence: Google's BSD 3-Clause licence, in `LICENSE`. | |
| 16 | Added: | |