Can you use MergeFrom 
<https://developers.google.com/protocol-buffers/docs/reference/cpp/google.protobuf.message#Message.MergeFrom.details>
?

On Tuesday, January 18, 2022 at 2:55:01 AM UTC-8 [email protected] wrote:

> Hi,
>
> Is there a way to get a diff and merge that diff into an instance of a 
> message?
> E.g. I saw there is a static method on Message class 'difference', that 
> returns a new message instance with the fields of param2 that are not 
> represented in param1.
> Any existing methods that can merge the diff?
>
> With kinds regards
>

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/694971fa-27f8-40a5-9b10-41649fddfafcn%40googlegroups.com.

Reply via email to