Maps fully qualified protobuf names to generated runtime types and extensions.
The SDK generator uses a registry for dynamic protobuf operations. Registering
a message with an existing $type, or an
enum with an existing $type, replaces the
previous entry. Lookup methods return undefined when no entry exists.
Returns the enum class for a fully qualified runtime type name.
Returns an extension for one extendee type and protobuf field number.
Returns an extension by its fully qualified protobuf name.
Returns the message class for a fully qualified runtime type name.
Lists extendee type names that have at least one registered extension.
Lists extensions registered for one extendee.
Treat the returned array as read-only. The registry owns it.
Registers or replaces an enum class by its $type.
Registers an extension by extendee and field number.
A non-empty fullName also enables lookup by name.
Registers or replaces a message class by its $type.
Maps fully qualified protobuf names to generated runtime types and extensions.
The SDK generator uses a registry for dynamic protobuf operations. Registering a message with an existing $type, or an enum with an existing $type, replaces the previous entry. Lookup methods return
undefinedwhen no entry exists.Example