📝Protobuf: no inheritance support

Protobuf does not support inheritance. (Extensions allow extending message by 3rd-party proto files, but you can’t have another copy of the message.)

The only way to reuse proto definition is by composition. Beware that composition has cost—tag+length (Protobuf: calculating field size).

Backlinks