Class TypeRegistryWrapper

java.lang.Object
dev.enola.common.protobuf.TypeRegistryWrapper
All Implemented Interfaces:
DescriptorProvider

public class TypeRegistryWrapper extends Object implements DescriptorProvider
TypeRegistryWrapper is a registry of ProtoBuf type descriptors.

While it's similar to ProtoBuf's own TypeRegistry, this one (a) has a names() method to enumerate all registered types' names, and (b) includes not just "message" but also "enum" and "service".