Enables 'wait for ready' for the call. Wait-for-ready queues the RPC until a connection is available. This may dramatically increase the latency of the RPC, but avoids failing "unnecessarily." The default queues the RPC un
()
| 199 | * fails RPCs without sending them if unable to connect. |
| 200 | */ |
| 201 | public CallOptions withWaitForReady() { |
| 202 | Builder builder = toBuilder(this); |
| 203 | builder.waitForReady = Boolean.TRUE; |
| 204 | return builder.build(); |
| 205 | } |
| 206 | |
| 207 | /** |
| 208 | * Disables 'wait for ready' feature for the call. |