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.

Types

Link copied to clipboard
interface NamePart

The name of the uninterpreted option. Each string represents a segment in a dot-separated name. is_extension is true iff a segment represents an extension (denoted with parentheses in options specs in .proto files). E.g.,{ "foo", false, "bar.baz", true, "moo", false } represents "foo.(bar.baz).moo".

Properties

Link copied to clipboard
abstract val aggregateValue: String?
Link copied to clipboard
abstract val doubleValue: Double?
Link copied to clipboard
abstract val 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.

Link copied to clipboard
Link copied to clipboard
abstract val negativeIntValue: Long?
Link copied to clipboard
abstract val positiveIntValue: ULong?
Link copied to clipboard
Link copied to clipboard
abstract val stringValue: ByteString?

Functions

Link copied to clipboard
fun UninterpretedOption.copy(body: ERROR CLASS: Symbol not found for UninterpretedOption.Builder.() -> Unit = {}): UninterpretedOption

Copies the original message, including unknown fields.