\chapter{Generated code from Protocol buffers} \begin{lstlisting}[caption={Source code of something},label=Listing] System.out.println("Hello Mars"); \end{lstlisting}