there were cmdline options for generating a message like this:
protoc --javanano_out = optional_field_style = accessors, parcelable_messages = true: d: \ ./ message.proto
how to do it with protobuf plugin for android studio?
try adding
option 'optional_field_style=accessors' option 'parcelable_messages=true'
in
javanano{/*add here*/}