title: How to set repeated fields in protobuf before building the message?
body: <p>Let's say I have a Message with a repeated field:</p>
  <pre><code>Message Foo {
      repeated Bar bar = 1;
  }
  </code></pre>
  <p>Now I want to insert <code>n</code> Bar objects into the field bar, each is created in a loop.</p>
  <pre><code>for (i=0; i &lt; n; i++){
      //Add Bar into foo
  }
  //Build foo after loop
  </code></pre>
  <p>Is this possible or do I need all <code>n</code> bar fields at the same time before building the foo Object?</p>