Google protocol buffers compare

You can use the class google::protobuf::util::MessageDifferencer for this. I think it’s only available since v3.0.2:

Introduced new utility functions/classes in the google/protobuf/util
directory:

  • MessageDifferencer: compare two proto messages and report their differences.
#include <google/protobuf/util/message_differencer.h>

MessageDifferencer::Equals(msg1, msg2);

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)