Fix protobuf message generation
Fix protobuf message generation

The latest versions of protobuf do not reveal empty message fields with dir(). This uses the documented way of determining all of a message's fields and so is compatible with past and future versions of protobuf.
tackgeun/caffe,tackgeun/caffe,gnina/gnina,CZCV/s-dilation-caffe,gnina/gnina,CZCV/s-dilation-caffe,CZCV/s-dilation-caffe,tackgeun/caffe,gnina/gnina,gnina/gnina,CZCV/s-dilation-caffe,tackgeun/caffe,gnina/gnina,gnina/gnina