Skip to content

Commit e02512a

Browse files
yoshi-automationPraful Makani
authored andcommitted
---
yaml --- r: 35681 b: refs/heads/autosynth-iamcredentials c: 740b5e9 h: refs/heads/master i: 35679: b6451bb
1 parent f2a3010 commit e02512a

3 files changed

Lines changed: 22 additions & 8 deletions

File tree

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ refs/heads/pubsub-ordering-keys: 3ea3dc93288c90e1776339a2c059a076e2e2fd1d
159159
refs/tags/v0.75.0: c3673089ae09a897c1b4cf7dfe167fe4f8ab32fb
160160
refs/tags/v0.76.0: 395b016826d3ddf9cb8b34919636df15a4dbd032
161161
refs/tags/v0.77.0: 28a85a77883ccf5d48f297fd0ef3b3dca6ce01f0
162-
refs/heads/autosynth-iamcredentials: c17ae27daf6c39a72acbfa522bf288ecd3684d52
162+
refs/heads/autosynth-iamcredentials: 740b5e96e2ef354745d58ea3a2a163368a69f987
163163
refs/heads/release-google-cloud-java-v0.78.0: fae5e980779cf0173a152636b278015b9f60ee55
164164
refs/tags/v0.78.0: 62d4bd30605ab3578f9a08d84487fb0b33ac2ff5
165165
refs/tags/v0.79.0: 82287b570708748c411d05c40f3932cff9606feb

branches/autosynth-iamcredentials/google-cloud-clients/google-cloud-bigquerystorage/src/main/java/com/google/cloud/bigquery/storage/v1beta1/stub/BigQueryStorageStubSettings.java

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,9 @@ public static class Builder extends StubSettings.Builder<BigQueryStorageStubSett
227227
Lists.<StatusCode.Code>newArrayList(
228228
StatusCode.Code.DEADLINE_EXCEEDED, StatusCode.Code.UNAVAILABLE)));
229229
definitions.put("non_idempotent", ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList()));
230+
definitions.put(
231+
"unary_streaming",
232+
ImmutableSet.copyOf(Lists.<StatusCode.Code>newArrayList(StatusCode.Code.UNAVAILABLE)));
230233
RETRYABLE_CODE_DEFINITIONS = definitions.build();
231234
}
232235

@@ -257,6 +260,17 @@ public static class Builder extends StubSettings.Builder<BigQueryStorageStubSett
257260
.setTotalTimeout(Duration.ofMillis(600000L))
258261
.build();
259262
definitions.put("create_read_session", settings);
263+
settings =
264+
RetrySettings.newBuilder()
265+
.setInitialRetryDelay(Duration.ofMillis(100L))
266+
.setRetryDelayMultiplier(1.3)
267+
.setMaxRetryDelay(Duration.ofMillis(60000L))
268+
.setInitialRpcTimeout(Duration.ofMillis(86400000L))
269+
.setRpcTimeoutMultiplier(1.0)
270+
.setMaxRpcTimeout(Duration.ofMillis(86400000L))
271+
.setTotalTimeout(Duration.ofMillis(86400000L))
272+
.build();
273+
definitions.put("read_rows", settings);
260274
RETRY_PARAM_DEFINITIONS = definitions.build();
261275
}
262276

@@ -305,8 +319,8 @@ private static Builder initDefaults(Builder builder) {
305319

306320
builder
307321
.readRowsSettings()
308-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
309-
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
322+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("unary_streaming"))
323+
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("read_rows"));
310324

311325
builder
312326
.batchCreateReadSessionStreamsSettings()

branches/autosynth-iamcredentials/google-cloud-clients/google-cloud-bigquerystorage/synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
2-
"updateTime": "2019-04-04T07:35:31.563852Z",
2+
"updateTime": "2019-05-18T07:35:01.690947Z",
33
"sources": [
44
{
55
"generator": {
66
"name": "artman",
7-
"version": "0.16.23",
8-
"dockerImage": "googleapis/artman@sha256:f3a3f88000dc1cd1b4826104c5574aa5c534f6793fbf66e888d11c0d7ef5762e"
7+
"version": "0.19.0",
8+
"dockerImage": "googleapis/artman@sha256:d3df563538225ac6caac45d8ad86499500211d1bcb2536955a6dbda15e1b368e"
99
}
1010
},
1111
{
1212
"git": {
1313
"name": "googleapis",
1414
"remote": "https://github.com/googleapis/googleapis.git",
15-
"sha": "04193ea2f8121388c998ab49c382f2c03417dcce",
16-
"internalRef": "241828309"
15+
"sha": "64f0053af0c24d817ec44278c8b4513f6cfd77ff",
16+
"internalRef": "248810317"
1717
}
1818
}
1919
],

0 commit comments

Comments
 (0)