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.

interface UninterpretedOption {
    aggregateValue: string;
    doubleValue: number;
    identifierValue: string;
    name: UninterpretedOption_NamePart[];
    negativeIntValue: bigint;
    positiveIntValue: bigint;
    stringValue: Uint8Array;
}

Properties

aggregateValue: string
doubleValue: number
identifierValue: string

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

negativeIntValue: bigint
positiveIntValue: bigint
stringValue: Uint8Array