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

Google.Protobuf.Reflection.FeatureSetDefaults

A compiled specification for the defaults of a set of features. These messages are generated from FeatureSet extensions and can be used to seed feature resolution. The resolution with this object becomes a simple search for the closest matching edition, followed by proto merges.
public static class Types

Container for nested types declared in the FeatureSetDefaults message type.

public const int DefaultsFieldNumber = 1

Field number for the "defaults" field.

public const int MaximumEditionFieldNumber = 5

Field number for the "maximum_edition" field.

public const int MinimumEditionFieldNumber = 4

Field number for the "minimum_edition" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<FeatureSetDefaults> Parser { get; }

public bool HasMaximumEdition { get; }

Gets whether the "maximum_edition" field is set

public bool HasMinimumEdition { get; }

Gets whether the "minimum_edition" field is set

public Edition MaximumEdition { get; set; }

The maximum known edition (inclusive) when this was constructed. Editions after this will not have reliable defaults.

public Edition MinimumEdition { get; set; }

The minimum supported edition (inclusive) when this was constructed. Editions before this will not have defaults.

public int CalculateSize()

public void ClearMaximumEdition()

Clears the value of the "maximum_edition" field

public void ClearMinimumEdition()

Clears the value of the "minimum_edition" field

public bool Equals(FeatureSetDefaults other)

public void MergeFrom(FeatureSetDefaults other)

public void MergeFrom(CodedInputStream input)

public void WriteTo(CodedOutputStream output)