[CRIU] protobuf option field number

Ruslan Kuprieiev kupruser at gmail.com
Mon Jan 19 03:38:03 PST 2015


On 01/19/2015 01:34 PM, Pavel Emelyanov wrote:
> On 01/19/2015 02:26 PM, Ruslan Kuprieiev wrote:
>> On 01/19/2015 01:23 PM, Pavel Emelyanov wrote:
>>> On 01/19/2015 01:57 PM, Ruslan Kuprieiev wrote:
>>>> On 01/19/2015 12:55 PM, Pavel Emelyanov wrote:
>>>>> On 01/19/2015 01:51 PM, Ruslan Kuprieiev wrote:
>>>>>> Added a quick note http://criu.org/Images#Notes_about_protobuf .
>>>>> Thanks :) BTW, is there a public list of such custom field numbers?
>>>> As far as I know - there is no public lists.
>>> So what's the point in these IDs then? What can I do to avoid clashing
>>> of my non-custom fields with someone else's custom?
>> You can send a request to give you an unique custom option, just as I did.
>> Non-custom are for in home use only.
> No, I'm talking about different thing. Let's assume I plan to write
> a .proto file _without_ _any_ _custom_ _fields_. And start doing do
>
> required string foo = 1;
> required string bar = 2;
> ...
>
>
> Then in several months I do
>
> required string foobar = 1018;
>
> But 1018 is already busy with CRIU :) How should I find this out?
>
> Thanks,
> Pavel
>

Oh, no. Sorry if I said something confusing.

This is a number to use to extend protobuf options for 
fields/files/messages.
It just says that I can _extend_ 
google.protobuf.Message/Field/FileOptions protobuf
message with this particular unique field, so my custom options don't 
clash with
others.



More information about the CRIU mailing list