OptionaldecodeDecodes this extension field.
The decoder receives a tag that the caller already read. It verifies the
field number, decodes the value, and assigns the value to the message. It
returns true when it consumes the field.
Decodes this extension field.
The decoder receives a tag that the caller already read. It verifies the
field number, decodes the value, and assigns the value to the message. It
returns true when it consumes the field.
OptionalencodeEncodes this extension field.
The encoder checks field presence and writes a value only when it is set.
Encodes this extension field.
The encoder checks field presence and writes a value only when it is set.
OptionalenumContains the fully qualified enum name for an enum value.
Contains the fully qualified message type that this field extends, such as
google.protobuf.FieldOptions.
Contains the field number inside the extendee.
OptionalfromReads this extension from JSON.
Generated fromJSON functions call this hook after they read the standard
fields. The hook must not throw when the extension value is absent or
invalid.
Reads this extension from JSON.
Generated fromJSON functions call this hook after they read the standard
fields. The hook must not throw when the extension value is absent or
invalid.
Contains the fully qualified protobuf name of the extension field.
Identifies the value category and whether the field is repeated.
OptionalmessageContains the fully qualified message name for a message value.
Contains the simple protobuf or JSON field name.
OptionalscalarContains the numeric FieldDescriptorProto.Type code for a scalar value.
OptionaltoWrites this extension to JSON.
Generated toJSON functions call this hook after they write the standard
fields. The hook adds the extension only when it is present.
Writes this extension to JSON.
Generated toJSON functions call this hook after they write the standard
fields. The hook adds the extension only when it is present.
Describes a generated protobuf extension and its optional conversion hooks.
The registry uses the identity fields for lookup. Generated codecs use the hook functions when they process binary or JSON data.