Skip to content

Commit

Permalink
Regenerate bigquerystorage client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Apr 4, 2019
1 parent c125436 commit d2c53da
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,17 @@ public static class Builder extends StubSettings.Builder<BigQueryStorageStubSett
.setTotalTimeout(Duration.ofMillis(600000L))
.build();
definitions.put("default", settings);
settings =
RetrySettings.newBuilder()
.setInitialRetryDelay(Duration.ofMillis(100L))
.setRetryDelayMultiplier(1.3)
.setMaxRetryDelay(Duration.ofMillis(60000L))
.setInitialRpcTimeout(Duration.ofMillis(120000L))
.setRpcTimeoutMultiplier(1.0)
.setMaxRpcTimeout(Duration.ofMillis(120000L))
.setTotalTimeout(Duration.ofMillis(600000L))
.build();
definitions.put("create_read_session", settings);
RETRY_PARAM_DEFINITIONS = definitions.build();
}

Expand Down Expand Up @@ -290,7 +301,7 @@ private static Builder initDefaults(Builder builder) {
builder
.createReadSessionSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("create_read_session"));

builder
.readRowsSettings()
Expand Down
10 changes: 5 additions & 5 deletions google-cloud-clients/google-cloud-bigquerystorage/synth.metadata
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
{
"updateTime": "2019-04-02T07:35:11.912831Z",
"updateTime": "2019-04-04T07:35:31.563852Z",
"sources": [
{
"generator": {
"name": "artman",
"version": "0.16.22",
"dockerImage": "googleapis/artman@sha256:e7f9554322a8aa1416c122c918fdc4cdec8cfe816f027fc948dec0be7edef320"
"version": "0.16.23",
"dockerImage": "googleapis/artman@sha256:f3a3f88000dc1cd1b4826104c5574aa5c534f6793fbf66e888d11c0d7ef5762e"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "6c48ab5aef47dc14e02e2dc718d232a28067129d",
"internalRef": "241437588"
"sha": "04193ea2f8121388c998ab49c382f2c03417dcce",
"internalRef": "241828309"
}
}
],
Expand Down

0 comments on commit d2c53da

Please sign in to comment.