* @param clazz - any Class
* @return Class<? extends GeneratedMessage>
*/
public static final Class<? extends GeneratedMessage> getProtobufClassFromPojoAnno(Class<?> clazz)
{
final ProtobufEntity annotation = getProtobufEntity(clazz);
final Class<? extends GeneratedMessage> gpbClazz = (Class<? extends GeneratedMessage>)annotation.value();
if (gpbClazz == null)
{
return null;
}
return gpbClazz;