Class: Declaration
protobuf.ExtensionRangeOptions.Declaration
Represents a Declaration.
Implements
Constructors
constructor
• new Declaration(properties?): Declaration
Constructs a new Declaration.
Parameters
| Name | Type | Description |
|---|---|---|
properties? | IDeclaration | Properties to set |
Returns
Properties
fullName
• fullName: string
The fully-qualified name of the extension field. There must be a leading dot in front of the full name.
Implementation of
number
• number: number
The extension number declared within the extension range.
Implementation of
repeated
• repeated: boolean
If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.
Implementation of
reserved
• reserved: boolean
If true, indicates that the number is reserved in the extension range, and any extension field with the number will fail to compile. Set this when a declared extension field is deleted.