Use the full name([packageName].[className]) of com.squareup.wire.Message class in compiled java class instead of class name only. Since the proto could define a message names 'Message', which could mess up everything.