add method protobufNet utility