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

Google.Protobuf.Reflection.EnumValueOptions

public const int DebugRedactFieldNumber = 3

Field number for the "debug_redact" field.

public const int DeprecatedFieldNumber = 1

Field number for the "deprecated" field.

public const int FeaturesFieldNumber = 2

Field number for the "features" field.

public const int FeatureSupportFieldNumber = 4

Field number for the "feature_support" field.

public const int UninterpretedOptionFieldNumber = 999

Field number for the "uninterpreted_option" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<EnumValueOptions> Parser { get; }

public bool DebugRedact { get; set; }

Indicate that fields annotated with this enum value should not be printed out when using debug formats, e.g. when the field contains sensitive credentials.

public bool Deprecated { get; set; }

Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values.

public FeatureSet Features { get; set; }

Any features defined in the specific edition. WARNING: This field should only be used by protobuf plugins or special cases like the proto compiler. Other uses are discouraged and developers should rely on the protoreflect APIs for their client language.

public FeatureSupport FeatureSupport { get; set; }

Information about the support window of a feature value.

public bool HasDebugRedact { get; }

Gets whether the "debug_redact" field is set

public bool HasDeprecated { get; }

Gets whether the "deprecated" field is set

The parser stores options it doesn't recognize here. See above.

public int CalculateSize()

public void ClearDebugRedact()

Clears the value of the "debug_redact" field

public void ClearDeprecated()

Clears the value of the "deprecated" field

public void ClearExtension<TValue>(Extension<EnumValueOptions, TValue> extension)

public void ClearExtension<TValue>(RepeatedExtension<EnumValueOptions, TValue> extension)

public bool Equals(EnumValueOptions other)

public TValue GetExtension<TValue>(Extension<EnumValueOptions, TValue> extension)

public RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<EnumValueOptions, TValue> extension)

public RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<EnumValueOptions, TValue> extension)

public bool HasExtension<TValue>(Extension<EnumValueOptions, TValue> extension)

public void MergeFrom(EnumValueOptions other)

public void MergeFrom(CodedInputStream input)

public void SetExtension<TValue>(Extension<EnumValueOptions, TValue> extension, TValue value)

public void WriteTo(CodedOutputStream output)