I can't find an API to modify a PB object like setting a field of an object.
It seems that to modify an object of PBGeneratedMessage
First I have to get the object builder,
and then set the field value through builder
and then call the build function of builder.
How can I directly modify the field value of an object. Just like what We can do in c++.