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 <
[email protected]> 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
> <https://developers.google.com/protocol-buffers/docs/proto#customoptions> for
> details. Note that creating custom options uses extensions
> <https://developers.google.com/protocol-buffers/docs/proto#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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/protobuf/63f86d56-0ff2-4ba7-9da8-67ddcc11e8be%40googlegroups.com
> <https://groups.google.com/d/msgid/protobuf/63f86d56-0ff2-4ba7-9da8-67ddcc11e8be%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAD7-yfsc-vBqE6yMRs5wuB2ELrx-yCDM%2Bz1Y1gsmBY5T9UpRJw%40mail.gmail.com.

Reply via email to