Base class for nearly all descriptors, providing common functionality.
Properties |
|
---|---|
File
|
The file this descriptor was declared in.
|
FullName
|
string
The fully qualified name of the descriptor's target.
|
Index
|
int
The index of this descriptor within its parent descriptor.
|
Name
|
abstract string
Returns the name of the entity (field, message etc) being described.
|
string FullName
The fully qualified name of the descriptor's target.
int Index
The index of this descriptor within its parent descriptor.
This returns the index of this descriptor within its parent, for this descriptor's type. (There can be duplicate values for different types, e.g. one enum type with index 0 and one message type with index 0.)
abstract string Name
Returns the name of the entity (field, message etc) being described.