接口 ExtensionRegistryInitializer
public interface ExtensionRegistryInitializer
Google Protocol Messages can contain message extensions that can be parsed if the appropriate configuration has been registered in theExtensionRegistry
.This interface provides a facility to populate the
ExtensionRegistry
.- 从以下版本开始:
- 4.1
- 作者:
- Alex Antonov
- 另请参阅:
- com.google.protobuf.ExtensionRegistry
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 void
initializeExtensionRegistry(com.google.protobuf.ExtensionRegistry registry)
Initializes theExtensionRegistry
with Protocol Message extensions.
方法详细资料
initializeExtensionRegistry
void initializeExtensionRegistry(com.google.protobuf.ExtensionRegistry registry)
Initializes theExtensionRegistry
with Protocol Message extensions.- 参数:
registry
- the registry to populate