title: Google Data Flow - Apache Beam StreamingOptions.streaming not working
body: <p>We have created an Apache Beam pipeline that works successfully when running on a Direct Pipeline. See issue below:-</p>
  
  <p><a href="https://stackoverflow.com/questions/49915242/bigquery-writetablerows-always-writing-to-buffer/49991603#49991603">BigQuery writeTableRows Always writing to buffer</a></p>
  
  <p>When the same code is pushed to Google DataFlow it changes to Streaming and won't batch.</p>
  
  <pre><code>                 rows.apply("Load", BigQueryIO.writeTableRows()
                              .to(table)
                              .withSchema(schema)
                              //.withTimePartitioning(timePartitioning)
                              .withMethod(BigQueryIO.Write.Method.FILE_LOADS)
                              .withTriggeringFrequency(triggeringFrequency)
                              .withNumFileShards(numFileShards)
                              .withCreateDisposition(BigQueryIO.Write.CreateDisposition.CREATE_IF_NEEDED)
                              .withWriteDisposition(BigQueryIO.Write.WriteDisposition.WRITE_APPEND));
  </code></pre>
  
  <p>We have changed the Options for the Pipeline like so:-</p>
  
  <pre><code>   DataflowPipelineOptions options = PipelineOptionsFactory.as(DataflowPipelineOptions.class);          
              options.setProject(projectId);
              options.setTempLocation(tempLocation);
              options.setStreaming(false);
              options.setRunner(DataflowRunner.class);
  </code></pre>
  
  <p>But the setStreaming here seems to be largely ignored.</p>
  
  <p>What setting is required to use batching on Google Dataflow?</p>