Google.Protobuf.Reflection.MethodOptions
public sealed class MethodOptions : IExtendableMessage<MethodOptions>, IMessage<MethodOptions>, IMessage, IEquatable<MethodOptions>, IDeepCloneable<MethodOptions>, IBufferMessage
Container for nested types declared in the MethodOptions message type.
Field number for the "deprecated" field.
Field number for the "features" field.
Field number for the "idempotency_level" field.
Field number for the "uninterpreted_option" field.
Is this method deprecated?
Depending on the target platform, this can emit Deprecated annotations
for the method, or it will be completely ignored; in the very least,
this is a formalization for deprecating methods.
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.
Gets whether the "deprecated" field is set
Gets whether the "idempotency_level" field is set
The parser stores options it doesn't recognize here. See above.
public MethodOptions()
Clears the value of the "deprecated" field
Clears the value of the "idempotency_level" field
public RepeatedField<TValue> GetExtension<TValue>(RepeatedExtension<MethodOptions, TValue> extension)
public RepeatedField<TValue> GetOrInitializeExtension<TValue>(RepeatedExtension<MethodOptions, TValue> extension)