Re: [protobuf] Is this a mistake?

26 views
Skip to first unread message

Derek Perez

unread,
May 19, 2020, 2:24:37 PM5/19/20
to Jack Lu, Protocol Buffers
Extensions are not supported in proto3 with the exception of custom options for Protobuf itself, that is correct.

On Tue, May 19, 2020, 5:41 AM 'Jack Lu' via Protocol Buffers <prot...@googlegroups.com> wrote:
In the developer doc: https://developers.google.com/protocol-buffers/docs/proto3#custom_options, it mentions the following:

Protocol Buffers also allows you to define and use your own options. This is an advanced feature which most people don't need. If you do think you need to create your own options, see the Proto2 Language Guide for details. Note that creating custom options uses extensions, which are permitted only for custom options in proto3.

Should the last word "proto3" be "proto2"?

Thanks,
-Jack

--
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+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/63f86d56-0ff2-4ba7-9da8-67ddcc11e8be%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages