It looks like you wanted to keep the Pagination message independant of your Person message in https://github.com/omidp/grpc-crud/blob/master/grpc-proto/src/main/proto/main.proto
Instead of doing it through bytes, you should prefer the Any type (google.protobuf.Any) which you already import but not use. This will allow you to unpack it as the correct type (PersonFilter) and is internally still stored as bytes. This also works across all languages which makes porting easier. It's never a good idea to do the (de-)serialization manually. -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to grpc-io+unsubscr...@googlegroups.com. To post to this group, send email to grpc-io@googlegroups.com. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/f96286c2-a45f-4880-902f-66520682242e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.