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

Google.Protobuf.Reflection.IDescriptor

public interface IDescriptor
Interface implemented by all descriptor types.

Returns the descriptor for the .proto file that this entity is part of.

string FullName { get; }

Returns the fully-qualified name of the entity being described.

string Name { get; }

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