Stubs

Module

stubs/wellknowntypes

The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.

OfficialPublic
984 B
# stubs/wellknowntypes

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.

## Using them

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.

## Where they come from

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.

- Release: https://github.com/protocolbuffers/protobuf/releases/tag/v36.2
- Reference: https://protobuf.dev/reference/protobuf/google.protobuf/
- Licence: Google's BSD 3-Clause licence, in `LICENSE`.