接口 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.

    从以下版本开始:
    4.1
    作者:
    Alex Antonov
    另请参阅:
    com.google.protobuf.ExtensionRegistry
    • 方法详细资料

      • initializeExtensionRegistry

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