3

I am using Protobuf in one of my Java projects and recently came across a use case that requires extending Protobuf generated class. From the documentation, it appears that the classes generated will always be immutable (Class generated with final keyword). Is there a way to generate the non-final classes with Protobuf?

Will appreciate someones response over it. Thanks

Junaid
  • 171
  • 8
  • Please [edit] your question to include a description of how you generate the protobuf files. Also include a description what you already have tried to remove the `final` keyword. – Progman Dec 26 '19 at 11:55

0 Answers0