def _handle_commit_row(self, chunk, index, last_chunk_index):
        # NOTE: We assume the caller has checked that the ``ONEOF`` property
        #       for ``chunk`` is ``commit_row``.
        if not chunk.commit_row:
            raise ValueError('Received commit_row that was False.')

        if index != last_chunk_index:
            raise ValueError('Commit row chunk was not the last chunk')
        else:
            self._committed = True
Handles a ``commit_row`` chunk.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/bigtable/row_data.py/PartialRowData._handle_commit_row