public static Write write() {
    return Write.create();
  }
@Test
  public void testWriteClientRateLimitingAlsoSetReportMsecs() {
    // client side flow control
    BigtableIO.Write write = BigtableIO.write().withTableId("table").withFlowControl(true);
    assertEquals(
        60_000, (int) checkNotNull(write.getBigtableWriteOptions().getThrottlingReportTargetMs()));

    // client side latency based throttling
    int targetMs = 30_000;
    write = BigtableIO.write().withTableId("table").withThrottlingTargetMs(targetMs);
    assertEquals(
        targetMs,
        (int) checkNotNull(write.getBigtableWriteOptions().getThrottlingReportTargetMs()));
  }