Protobuf convertion

29 views
Skip to first unread message

Bhuvi Viji

unread,
Jul 3, 2020, 9:03:48 AM7/3/20
to Protocol Buffers
Recently started using gRPC -Protobuf so the question might be asked earlier as well. Sorry if im repeating it here.

I have to convert one protobuf object to another protobuf object in Java.

Basically response construction. In normal Java world, we can have copy constructor or BeanUtils copy properties to copy the nested set of objects to destination. Similar to that Do i have any way to convert one builder object of a protobuf to another builder object generated from protobuf file.




Reply all
Reply to author
Forward
0 new messages