/** * Like {@link #withNumShards(int)}. Specifying {@code null} means runner-determined sharding. */ public Write<DestinationT, UserT> withNumShards(@Nullable ValueProvider<Integer> numShards) { return toBuilder().setNumShards(numShards).build(); }
resolvedSpec.setNumShards(getNumShards()); resolvedSpec.setSharding(getSharding()); resolvedSpec.setIgnoreWindowing(getIgnoreWindowing());