public class TypeRegistry
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
TypeRegistry.Builder
A Builder is used to build
TypeRegistry. |
| Modifier and Type | Method and Description |
|---|---|
Descriptors.Descriptor |
find(java.lang.String name)
Find a type by its full name.
|
Descriptors.Descriptor |
getDescriptorForTypeUrl(java.lang.String typeUrl)
Find a type by its typeUrl.
|
static TypeRegistry |
getEmptyTypeRegistry() |
static TypeRegistry.Builder |
newBuilder() |
public static TypeRegistry getEmptyTypeRegistry()
public static TypeRegistry.Builder newBuilder()
public Descriptors.Descriptor find(java.lang.String name)
TypeRegistry.public final Descriptors.Descriptor getDescriptorForTypeUrl(java.lang.String typeUrl) throws InvalidProtocolBufferException
TypeRegistry.InvalidProtocolBufferException