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

Google.Protobuf.Reflection.OriginalNameAttribute

Specifies the original name (in the .proto file) of a named element, such as an enum value.
public string Name { get; set; }

The name of the element in the .proto file.

public bool PreferredAlias { get; set; }

If the name is preferred in the .proto file.

public OriginalNameAttribute(string name)

Constructs a new attribute instance for the given name.