Hi,
Please take a look at the example under the Reading A Message section at
https://developers.google.com/protocol-buffers/docs/javatutorial#reading-a-message

The cases ("MOBILE", "HOME", and "WORK") of the switch statement aren't in 
scope, are they?

If you scroll up to the Writing A Message example, you'll find that these 
enum constants should be referenced like "Person.PhoneType.HOME", right?

J.F.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/protobuf/cbdd8689-a71c-4e51-b34d-386cf3648cddn%40googlegroups.com.

Reply via email to