code: public static ViewDefinition of(String query, List<UserDefinedFunction> functions) {
      return newBuilder(query, functions).build();
    }
docs: Creates a BigQuery view definition given a query and some user-defined functions.
  
  @param query the query used to generate the table
  @param functions user-defined functions that can be used by the query