Package com.google.protobuf
Interface MessageInfoFactory
-
- All Known Implementing Classes:
DescriptorMessageInfoFactory,GeneratedMessageInfoFactory,ManifestSchemaFactory.CompositeMessageInfoFactory
@ExperimentalApi @CheckReturnValue interface MessageInfoFactory
A factory that createsMessageInfoinstances for message types.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisSupported(java.lang.Class<?> clazz)Whether the message class is supported by this factory.MessageInfomessageInfoFor(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.
-
-