Stubs

Module

stubs/wellknowntypes

The Protobuf well-known types (google/protobuf/*.proto), from Google's protobuf releases.

OfficialPublic

Message in google.protobuf

MethodOptions

google.protobuf.MethodOptions

Fields

FieldTypeNumberDescription
deprecatedoptionalbool33

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.

Default: false
idempotency_leveloptionalIdempotencyLevel34
Default: IDEMPOTENCY_UNKNOWN
featuresoptionalFeatureSet35

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_optionrepeatedUninterpretedOption999

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

Nested enums

  • IdempotencyLevelIs this method side-effect-free (or safe in HTTP parlance), or idempotent, or neither? HTTP based RPC implementation may choose GET verb for safe methods, and PUT verb for idempotent methods instead of the default POST.

Extension ranges: 990 to 998, 1000 to max

Used by

Defined in google/protobuf/descriptor.proto