GitHub

MethodOptions

API reference for MethodOptions.

The fields of google.protobuf.MethodOptions.

Attributes

AttributeTypeDescription
deprecatedbool

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.

idempotency_levelint

A MethodOptions_IdempotencyLevel.

featuresFeatureSet

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.

uninterpreted_optionlist[UninterpretedOption]

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