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

Google.Protobuf.Reflection.ExtensionRangeOptions

public static class Types

Container for nested types declared in the ExtensionRangeOptions message type.

public const int DeclarationFieldNumber = 2

Field number for the "declaration" field.

public const int FeaturesFieldNumber = 50

Field number for the "features" field.

public const int UninterpretedOptionFieldNumber = 999

Field number for the "uninterpreted_option" field.

public const int VerificationFieldNumber = 3

Field number for the "verification" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<ExtensionRangeOptions> Parser { get; }

For external users: DO NOT USE. We are in the process of open sourcing extension declaration and executing internal cleanups before it can be used externally.

public FeatureSet Features { get; set; }

Any features defined in the specific edition.

public bool HasVerification { get; }

Gets whether the "verification" field is set

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

public VerificationState Verification { get; set; }

The verification state of the range. TODO: flip the default to DECLARATION once all empty ranges are marked as UNVERIFIED.

public int CalculateSize()

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

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

public void ClearVerification()

Clears the value of the "verification" field

public bool Equals(ExtensionRangeOptions other)

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

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

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

public void MergeFrom(ExtensionRangeOptions other)

public void MergeFrom(CodedInputStream input)

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

public void WriteTo(CodedOutputStream output)