code: public InsertAllResponse insertAll(String datasetName, String tableName) {
      // [START bigquery_table_insert_rows]
      TableId tableId = TableId.of(datasetName, tableName);
      // Values of the row to insert
      Map<String, Object> rowContent = new HashMap<>();
      rowContent.put("booleanField", true);
      // Bytes are passed in base64
      rowContent.put("bytesField", "Cg0NDg0="); // 0xA, 0xD, 0xD, 0xE, 0xD in base64
      // Records are passed as a map
      Map<String, Object> recordsContent = new HashMap<>();
      recordsContent.put("stringField", "Hello, World!");
      rowContent.put("recordField", recordsContent);
      InsertAllResponse response =
          bigquery.insertAll(
              InsertAllRequest.newBuilder(tableId)
                  .addRow("rowId", rowContent)
                  // More rows can be added in the same RPC by invoking .addRow() on the builder
                  .build());
      if (response.hasErrors()) {
        // If any of the insertions failed, this lets you inspect the errors
        for (Entry<Long, List<BigQueryError>> entry : response.getInsertErrors().entrySet()) {
          // inspect row error
        }
      }
      // [END bigquery_table_insert_rows]
      return response;
    }
docs: [VARIABLE "my_table_name"]