docs: @Nonnull
    public Query endBefore(@Nonnull DocumentSnapshot snapshot) {
      QueryOptions newOptions = new QueryOptions(options);
      newOptions.fieldOrders = createImplicitOrderBy();
      newOptions.endCursor = createCursor(newOptions.fieldOrders, snapshot, true);
      return new Query(firestore, path, newOptions);
    }