class ExtensionRange

Defined at line 556 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

A range of field numbers which are designated for third-party

extensions.

Public Methods

void CopyTo (DescriptorProto_ExtensionRange * proto)

See Descriptor::CopyTo().

int start_number ()

Returns the start field number of this range (inclusive).

Defined at line 566 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

int end_number ()

Returns the end field number of this range (exclusive).

Defined at line 571 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

const ExtensionRangeOptions & options ()

Returns the ExtensionRangeOptions for this range.

Defined at line 578 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

absl::string_view name ()

Returns the name of the containing type.

Defined at line 584 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

absl::string_view full_name ()

Returns the full name of the containing type.

Defined at line 589 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

const FileDescriptor * file ()

Returns the .proto file in which this range was defined.

Never nullptr.

Defined at line 595 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

const Descriptor * containing_type ()

Returns the Descriptor for the message containing this range.

Never nullptr.

Defined at line 601 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

int index ()

Returns the index of this extension range within the message's extension

range array.

Defined at line 3115 of file ../../third_party/protobuf/src/src/google/protobuf/descriptor.h

Friends

class SymbolChecker
class DescriptorBuilder
class DescriptorPool
class Descriptor
class InternalFeatureHelper