class ExtensionRange
Defined at line 483 of file ../../third_party/protobuf/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 493 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
int end_number ()
Returns the end field number of this range (exclusive).
Defined at line 496 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
const ExtensionRangeOptions & options ()
Returns the ExtensionRangeOptions for this range.
Defined at line 503 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
internal::DescriptorStringView name ()
Returns the name of the containing type.
Defined at line 506 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
internal::DescriptorStringView full_name ()
Returns the full name of the containing type.
Defined at line 511 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
const FileDescriptor * file ()
Returns the .proto file in which this range was defined.
Never nullptr.
Defined at line 517 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
const Descriptor * containing_type ()
Returns the Descriptor for the message containing this range.
Never nullptr.
Defined at line 521 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
int index ()
Returns the index of this extension range within the message's extension
range array.
Defined at line 2785 of file ../../third_party/protobuf/src/google/protobuf/descriptor.h
Friends
class DescriptorBuilder
class DescriptorPool
class Descriptor
class InternalFeatureHelper