Hi, Is it true that has methods for optional fields in proto3 are removed from generated message ? If so, how can I decide if this field has been set or not ? syntax ="proto3";
message Foo{ int32 bar = 1; } // generated Foo.java class Foo ... { int getBar(); // the following method is missing // bool hasBar(); } thanks wu https://developers.google.com/protocol-buffers/docs/reference/java-generated#singular-fields-proto3 -- 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 post to this group, send email to protobuf@googlegroups.com. Visit this group at http://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.