Back to docs
Mutable builder used to register descriptors into this registry.
Example:
val registry = buildProtoExtensionRegistry { +MyMessage.myExtension +MyMessage.anotherExtension}
Registers a single extension descriptor.
Registers all descriptors from another registry.