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.