What are the side-effects to define wrapper messages as a workaround ? 

message Foo {
  Int32 bar = 1;
}

message Int32 {
  int32 value = 1;
}

In Java it allows to have Foo.hasBar() and Foo.getBar().getValue().

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to