Stubs

Module

stubs/wellknowntypes

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

OfficialPublic
README.md

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.

About
Default label
main
Latest commit
3df4a0d21c9a
stubs-publisher ·
Browse 22 files
Depend on it in stubs.yaml
deps:
  - stubs.dev/stubs/wellknowntypes