RecordBuilderImpl setView(View view) {
    mView = view;
    return this;
  }
Sanity checks that the record is ready to be persisted
core/src/main/java/com/facebook/testing/screenshot/internal/RecordBuilderImpl.java