Skip to content

Instantly share code, notes, and snippets.

@dpogdug
dpogdug / proto3.md
Created March 30, 2022 16:59 — forked from figassis/proto3.md
Protocol Buffer CheatSheet

Proto3 Cheat Sheet

Information From: https://developers.google.com/protocol-buffers/docs/proto3

A few rules

  • Declaring Message In Protocol Buffer:

  • As you can see, each field in the message definition has a unique number.

  • Field numbers identify fields in message binary format. Should not be changed once message is in use