public void setAutoPush(final Boolean autoPush) {
        // Objects.requireNonNullElse() not defined for GWT
        if (autoPush == null) {
            this.autoPush = Boolean.FALSE;
        } else {
            this.autoPush = autoPush;
        }
    }
@return A new builder for creating a {@link DocRef} for this document's type.
stroom-core-shared/src/main/java/stroom/gitrepo/shared/GitRepoDoc.java