code: private Mutation addMutation() {
      Preconditions.checkState(
          !committed, "Cannot modify a WriteBatch that has already been committed.");
      Mutation mutation = new Mutation();
      mutations.add(mutation);
      return mutation;
    }
docs: Adds a new mutation to the batch.