Hello, I'm receiving protobuf messages from a client (I can't modify them in any way) with a list of hotels. There are hotels in the 90% of the times, but I need to differentitate when I receive hotels and when not.
The proto file for "no hotels" is something like below (simplified): 1: { 1: {} 2: {} } Is there any way to check the "2:" element is empty without loading the whole proto into memory? Thanks, Joan. -- 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 protobuf+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/9e752623-d42e-4f84-a0b6-ab955d3fadaan%40googlegroups.com.