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

Google.Protobuf.Reflection.EnumDescriptorProto

Describes an enum type.
public static class Types

Container for nested types declared in the EnumDescriptorProto message type.

public const int NameFieldNumber = 1

Field number for the "name" field.

public const int OptionsFieldNumber = 3

Field number for the "options" field.

public const int ReservedNameFieldNumber = 5

Field number for the "reserved_name" field.

public const int ReservedRangeFieldNumber = 4

Field number for the "reserved_range" field.

public const int ValueFieldNumber = 2

Field number for the "value" field.

public const int VisibilityFieldNumber = 6

Field number for the "visibility" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<EnumDescriptorProto> Parser { get; }

public bool HasName { get; }

Gets whether the "name" field is set

public bool HasVisibility { get; }

Gets whether the "visibility" field is set

public string Name { get; set; }

public EnumOptions Options { get; set; }

public RepeatedField<string> ReservedName { get; }

Reserved enum value names, which may not be reused. A given name may only be reserved once.

Range of reserved numeric values. Reserved numeric values may not be used by enum values in the same enum declaration. Reserved ranges may not overlap.

public SymbolVisibility Visibility { get; set; }

Support for `export` and `local` keywords on enums.

public int CalculateSize()

public void ClearName()

Clears the value of the "name" field

public void ClearVisibility()

Clears the value of the "visibility" field

public bool Equals(EnumDescriptorProto other)

public void MergeFrom(EnumDescriptorProto other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)