code: def _reset_state(self):
          
          self._builders = {}
          self._total_data_size = 0
          self._progress_offset = 0
          self._current_progress_fraction = 0
docs: ! @brief Clear all state variables.