Package com.google.protobuf
Class GeneratedMessageInfoFactory
java.lang.Object
com.google.protobuf.GeneratedMessageInfoFactory
- All Implemented Interfaces:
MessageInfoFactory
A factory for message info that is generated into the message itself.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneratedMessageInfoFactory
boolean
isSupported
(Class<?> messageType) Whether the message class is supported by this factory.messageInfoFor
(Class<?> messageType) Returns a information of the message class.
-
Field Details
-
instance
-
-
Constructor Details
-
GeneratedMessageInfoFactory
private GeneratedMessageInfoFactory()
-
-
Method Details
-
getInstance
-
isSupported
Description copied from interface:MessageInfoFactory
Whether the message class is supported by this factory.- Specified by:
isSupported
in interfaceMessageInfoFactory
-
messageInfoFor
Description copied from interface:MessageInfoFactory
Returns a information of the message class.- Specified by:
messageInfoFor
in interfaceMessageInfoFactory
-