Package com.google.protobuf
Interface MessageInfoFactory
-
- All Known Implementing Classes:
DescriptorMessageInfoFactory
,GeneratedMessageInfoFactory
,ManifestSchemaFactory.CompositeMessageInfoFactory
@ExperimentalApi interface MessageInfoFactory
A factory that createsMessageInfo
instances for message types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
isSupported(java.lang.Class<?> clazz)
Whether the message class is supported by this factory.MessageInfo
messageInfoFor(java.lang.Class<?> clazz)
Returns a information of the message class.
-
-
-
Method Detail
-
isSupported
boolean isSupported(java.lang.Class<?> clazz)
Whether the message class is supported by this factory.
-
messageInfoFor
MessageInfo messageInfoFor(java.lang.Class<?> clazz)
Returns a information of the message class.
-
-