d string number = 1;
    optional PhoneType type = 2 [default = HOME];
  }

  repeated PhoneNumber phones = 4;
}

message AddressBook {
  repeated Person people = 1;
}
</code></pre>
<p>(Additionally, this file has been made available for you in the <code>resources/proto/examples</code> directory of the Clojure protobuf project.)</p>
<p>As you can see, the syntax is similar to C++ or Java. Let’s go through each part of the file and see what it does.</p>
<p>The <code>.proto</code> file starts with a package