I've been setting a value of a single optional field in a message with many 
optional fields. In my diagnostic code I'm calling the hasXxx() methods to find 
out which field is set, but it's telling me they're all set. Is this a bug or a 
bad design? I can't find any circumstance where the methods will return false.

-- Miguel Muñoz


Miguel Muñoz


The Sun, with all those planets revolving around it and dependent on it, can 
still ripen a vine of grapes like it had nothing else to do in the world.

  -- Galileo


There are seven sins in the world.
    Wealth without work.
    Pleasure without conscience.
    Knowledge without character.
    Commerce without morality.
    Science without humanity.
    Worship without sacrifice.
    Politics without principle. 

  -- Mohandas Gandhi


If tyranny and oppression come to this land, it will come in the guise of 
fighting a foreign enemy.

  -- James Madison

You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to