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

Google.Protobuf.Reflection.ServiceOptions

public const int DeprecatedFieldNumber = 33

Field number for the "deprecated" field.

public const int FeaturesFieldNumber = 34

Field number for the "features" field.

public const int UninterpretedOptionFieldNumber = 999

Field number for the "uninterpreted_option" field.

public static MessageDescriptor Descriptor { get; }

public static MessageParser<ServiceOptions> Parser { get; }

public bool Deprecated { get; set; }

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

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 bool HasDeprecated { get; }

Gets whether the "deprecated" field is set

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

public ServiceOptions()

public int CalculateSize()

public void ClearDeprecated()

Clears the value of the "deprecated" field

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

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

public bool Equals(ServiceOptions other)

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

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

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

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

public void MergeFrom(ServiceOptions other)

public void MergeFrom(CodedInputStream input)

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

public void WriteTo(CodedOutputStream output)