OptionaldecodeOptionalencodeGenerated encoder for this extension field. Implementation is responsible for checking field presence on the provided message and writing the field if set.
OptionalenumOptionalfromJSON deserializer hook for this extension. Invoked by generated *Options.fromJSON implementations after the core fields are populated, allowing the extension value (if present) to be assigned onto the target message instance. Implementations MUST NOT throw – they should simply no-op if the JSON value is absent or invalid.
OptionalmessageOptionalscalarOptionaltoJSON serializer hook for this extension. Invoked by generated *Options.toJSON implementations after core fields are emitted. Responsible for adding the JSON representation (if present) onto the provided output object.
Generated decoder for this extension field. Implementation receives the raw tag already read. It must verify the tag/field number matches, decode the value, assign it to the message, and return true if it consumed the field, false otherwise.