Re: [protobuf] Add serialized message to the repeated without deserialization

2016-12-08 Thread 'Feng Xiao' via Protocol Buffers
On Wed, Dec 7, 2016 at 9:04 PM, Pranav_IN wrote: > Hi, > > Is it possible to add a serialized message/buffer to the repeated field > without desirialization and serialize the repeated message? > > Message Person{ > required string Name; > required string Mobile; > } > > Message PhoneBook { >

[protobuf] Protobuf / Java&Go / ParseFrom inconsistent behavior

2016-12-08 Thread Konstantin Chukhlomin
Hi everyone, I've found something which I think either wrong or feature. Say, I have a proto file with definitions: message Article { message PrintData { int32 page = 1; bool is_published = 2; string section = 3; string column = 4; } string title = 1; PrintData print_dat