GitHub

UninterpretedOption

API reference for UninterpretedOption.

A message representing a option the parser does not recognize. This only appears in options protos created by the compiler::Parser class. DescriptorPool resolves these when building Descriptor objects. Therefore, options protos in descriptor objects (e.g. returned by Descriptor::options(), or produced by Descriptor::CopyTo()) will never have UninterpretedOptions in them.

Attributes

AttributeTypeDescription
namelist[UninterpretedOption_NamePart]
identifier_valuestr

The value of the uninterpreted option, in whatever type the tokenizer identified it as during parsing. Exactly one of these should be set.

positive_int_valueint
negative_int_valueint
double_valuefloat
string_valuebytes
aggregate_valuestr