Skip to content
This repository was archived by the owner on Dec 15, 2023. It is now read-only.

Commit 243add1

Browse files
fix: restore GAPIC v2 retry configs (#178)
This PR was generated using Autosynth. 🌈 Synth log will be available here: https://source.cloud.google.com/results/invocations/b94bacd6-05ee-45c2-be4d-b0f667030fab/targets PiperOrigin-RevId: 312088359 Source-Link: googleapis/googleapis@5a90d46
1 parent 979ff2f commit 243add1

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

google-cloud-speech/src/main/java/com/google/cloud/speech/v1p1beta1/stub/SpeechStubSettings.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ private static Builder initDefaults(Builder builder) {
281281

282282
builder
283283
.recognizeSettings()
284-
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
284+
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
285285
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));
286286

287287
builder

synth.metadata

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/java-speech.git",
7-
"sha": "80285577a0186f7e2618e3c6a61110bcd5431690"
7+
"sha": "979ff2fe45524638b1aafd8a6eae141fc17ab1a7"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "googleapis",
1313
"remote": "https://github.com/googleapis/googleapis.git",
14-
"sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
15-
"internalRef": "310660461"
14+
"sha": "5a90d467aa65e7f038f87585e8fbb45d74475e7c",
15+
"internalRef": "312088359"
1616
}
1717
},
1818
{
1919
"git": {
2020
"name": "googleapis",
2121
"remote": "https://github.com/googleapis/googleapis.git",
22-
"sha": "aed11c01e52921613b9ee469c2d85f5f33175fb7",
23-
"internalRef": "310660461"
22+
"sha": "5a90d467aa65e7f038f87585e8fbb45d74475e7c",
23+
"internalRef": "312088359"
2424
}
2525
},
2626
{

0 commit comments

Comments
 (0)