Example for using Protocol Buffers written in Java