public Builder AddTasks(global::atwork_pb_msgs.Task.Builder builderForValue) { pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue"); PrepareBuilder(); result.tasks_.Add(builderForValue.Build()); return(this); }
public Builder SetTasks(int index, global::atwork_pb_msgs.Task.Builder builderForValue) { pb::ThrowHelper.ThrowIfNull(builderForValue, "builderForValue"); PrepareBuilder(); result.tasks_[index] = builderForValue.Build(); return(this); }