RetryPolicy#createInstance needs to be public to be accessible to dataflow packages