Документация Protocol Buffer предупреждает, что...
You should never add behaviour to the generated classes by inheriting from them. This will break internal mechanisms and is not good object-oriented practice anyway.
источник:Основы буфера протокола
Мой вопрос из двух частей: