opyeb protobuflab

protobuflab · Guides

Protobuf schema guides

Five articles on .proto structure, the wire format, lint rules, breaking changes and schemaless decoding.

Five articles: .proto structure, the wire format, the lint rules, how breaking changes are judged, and schemaless decoding.

Basics and wire

BasicsThe shape of a .proto fileStart with the top-level declarations and field grammar.WireReading the Protobuf wire formatRead tags, wire types and varints byte by byte.

Lint and compatibility

LintWhat the linter checksThree severities and six frequent errors.CompatHow a breaking change is judgedUnderstand why removals and type changes are fatal.

Decoding

DecodingReading bytes without a schemaLearn how far bytes alone can take you.

Once you have read the explanation, check it against the tool.

Open the tool