GitHub

ExtensionRangeOptions_Declaration

API reference for ExtensionRangeOptions_Declaration.

The fields of google.protobuf.ExtensionRangeOptions.Declaration.

Attributes

AttributeTypeDescription
numberint

The extension number declared within the extension range.

full_namestr

The fully-qualified name of the extension field. There must be a leading dot in front of the full name.

typestr

The fully-qualified type name of the extension field. Unlike Metadata.type, Declaration.type must have a leading dot for messages and enums.

reservedbool

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.

repeatedbool

If true, indicates that the extension must be defined as repeated. Otherwise the extension must be defined as optional.