public
class
TypeRegistry
A TypeRegistry is used to resolve Any messages. You must provide a TypeRegistry containing all message types used in Any message fields.
Static Methods
getEmptyTypeRegistry()
public
static
TypeRegistry
getEmptyTypeRegistry
()
newBuilder()
public
static
TypeRegistry
.
Builder
newBuilder
()
Methods
find(String name)
public
Descriptors
.
Descriptor
find
(
String
name
)
Find a type by its full name. Returns null if it cannot be found in this TypeRegistry .
getDescriptorForTypeUrl(String typeUrl)
public
final
Descriptors
.
Descriptor
getDescriptorForTypeUrl
(
String
typeUrl
)
Find a type by its typeUrl. Returns null if it cannot be found in this TypeRegistry .

