[protocolbuffers message] add getter, setter magic method