Interface ExtensionRegistryInitializer


  • public interface ExtensionRegistryInitializer
    Google Protocol Messages can contain message extensions that can be parsed if the appropriate configuration has been registered in the ExtensionRegistry.

    This interface provides a facility to populate the ExtensionRegistry.

    Since:
    4.1
    Author:
    Alex Antonov
    See Also:
    com.google.protobuf.ExtensionRegistry
    • Method Detail

      • initializeExtensionRegistry

        void initializeExtensionRegistry​(com.google.protobuf.ExtensionRegistry registry)
        Initializes the ExtensionRegistry with Protocol Message extensions.
        Parameters:
        registry - the registry to populate