Interface MessageInfoFactory

All Known Implementing Classes:
DescriptorMessageInfoFactory, GeneratedMessageInfoFactory, ManifestSchemaFactory.CompositeMessageInfoFactory

@ExperimentalApi @CheckReturnValue interface MessageInfoFactory
A factory that creates MessageInfo instances for message types.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    isSupported(Class<?> clazz)
    Whether the message class is supported by this factory.
    Returns a information of the message class.
  • Method Details

    • isSupported

      boolean isSupported(Class<?> clazz)
      Whether the message class is supported by this factory.
    • messageInfoFor

      MessageInfo messageInfoFor(Class<?> clazz)
      Returns a information of the message class.