<PackageReference Include="Google.Protobuf" Version="3.34.2" />

Google.Protobuf.Reflection.DescriptorBase

public abstract class DescriptorBase : IDescriptor
Base class for nearly all descriptors, providing common functionality.

The declaration information about the descriptor, or null if no declaration information is available for this descriptor.

public FileDescriptor File { get; }

public string FullName { get; }

The fully qualified name of the descriptor's target.

public int Index { get; }

public abstract string Name { get; }

Returns the name of the entity (field, message etc) being described.