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