Exemple #1
0
 public Builder AddBooks(global::books.Book.Builder builderForValue)
 {
     pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     PrepareBuilder();
     result.books_.Add(builderForValue.Build());
     return(this);
 }
Exemple #2
0
 public Builder SetBooks(int index, global::books.Book.Builder builderForValue)
 {
     pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue");
     PrepareBuilder();
     result.books_[index] = builderForValue.Build();
     return(this);
 }