This article shows how to use protocol buffers aka protobuf and code generation tools to speed up the development of microservice architectures and REST APIs. Introduction Microservice architecture is a common term nowadays since 2011 when the term was used for the first time. Since then, the pattern has been adopted by many organizations to power operations at global scale. The architectural pattern was initially designed to solve one of the main problems in Service Oriented Architecture or SOA.