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

Google.Protobuf.Reflection.EnumValueDescriptorProto

Describes a value within an enum.
public const int NameFieldNumber = 1

Field number for the "name" field.

public const int NumberFieldNumber = 2

Field number for the "number" field.

public const int OptionsFieldNumber = 3

Field number for the "options" field.

public static MessageDescriptor Descriptor { get; }

public bool HasName { get; }

Gets whether the "name" field is set

public bool HasNumber { get; }

Gets whether the "number" field is set

public string Name { get; set; }

public int Number { get; set; }

public EnumValueOptions Options { get; set; }

public int CalculateSize()

public void ClearName()

Clears the value of the "name" field

public void ClearNumber()

Clears the value of the "number" field

public bool Equals(EnumValueDescriptorProto other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)