Commit 7a6de000 authored by liujisi@google.com's avatar liujisi@google.com

Update comments for globally unique extension number for custom options.

parent 02d7015b
...@@ -220,10 +220,15 @@ message MethodDescriptorProto { ...@@ -220,10 +220,15 @@ message MethodDescriptorProto {
// through 99999. It is up to you to ensure that you do not use the // through 99999. It is up to you to ensure that you do not use the
// same number for multiple options. // same number for multiple options.
// * For options which will be published and used publicly by multiple // * For options which will be published and used publicly by multiple
// independent entities, e-mail kenton@google.com to reserve extension // independent entities, e-mail protobuf-global-extension-registry@google.com
// numbers. Simply tell me how many you need and I'll send you back a // to reserve extension numbers. Simply provide your project name (e.g.
// set of numbers to use -- there's no need to explain how you intend to // Object-C plugin) and your porject website (if available) -- there's no need
// use them. If this turns out to be popular, a web service will be set up // to explain how you intend to use them. Usually you only need one extension
// number. You can declare multiple options with only one extension number by
// putting them in a sub-message. See the Custom Options section of the docs
// for examples:
// http://code.google.com/apis/protocolbuffers/docs/proto.html#options
// If this turns out to be popular, a web service will be set up
// to automatically assign option numbers. // to automatically assign option numbers.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment