Skip to content
Permalink
Browse files
fix(regen): speech recognize marked as an idempotent method for retry (
  • Loading branch information
yoshi-automation authored and chingor13 committed Nov 21, 2019
1 parent c0e747e commit 7b621c89fa8953bc35ecf72060053ad1c5f2a42d
Showing with 4 additions and 4 deletions.
  1. +1 −1 google-cloud-speech/src/main/java/com/google/cloud/speech/v1/stub/SpeechStubSettings.java
  2. +3 −3 synth.metadata
@@ -277,7 +277,7 @@ private static Builder initDefaults(Builder builder) {

builder
.recognizeSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("non_idempotent"))
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("idempotent"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("default"));

builder
@@ -1,5 +1,5 @@
{
"updateTime": "2019-11-19T19:58:50.713609Z",
"updateTime": "2019-11-21T08:53:48.781511Z",
"sources": [
{
"generator": {
@@ -12,8 +12,8 @@
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "5af83f47b9656261cafcf88b0b3334521ab266b3",
"internalRef": "281334391"
"sha": "5bc0fecee454f857cec042fb99fe2d22e1bff5bc",
"internalRef": "281635572"
}
},
{

0 comments on commit 7b621c8

Please sign in to comment.