📝Protobuf: field numbers 1–15 take 1 byte to encode

In both proto2 and proto3, field numbers 1–15 (inclusive) take 1 byte to encode. Fields 16–2047 take 2 bytes.

Reserve fields 1–15 for frequently used fields.

Next:

Backlinks