Skip to content

Commit

Permalink
fix(retry): restore grpc_service_config for CreateBackup and {Restore…
Browse files Browse the repository at this point in the history
…,Snapshot}Table (#667)

Committer: @miraleung
PiperOrigin-RevId: 361301101

Source-Author: Google APIs <noreply@google.com>
Source-Date: Sat Mar 6 02:06:05 2021 -0800
Source-Repo: googleapis/googleapis
Source-Sha: 458338f8ca444e43b9df96b984b68f3978852b74
Source-Link: googleapis/googleapis@458338f
  • Loading branch information
yoshi-automation committed Mar 8, 2021
1 parent 1c5a5b0 commit 121f071
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Expand Up @@ -905,8 +905,8 @@ private static Builder initDefaults(Builder builder) {

builder
.createBackupSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));

builder
.getBackupSettings()
Expand All @@ -930,8 +930,8 @@ private static Builder initDefaults(Builder builder) {

builder
.restoreTableSettings()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"));
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"));

builder
.getIamPolicySettings()
Expand Down Expand Up @@ -1002,8 +1002,8 @@ private static Builder initDefaults(Builder builder) {
.setInitialCallSettings(
UnaryCallSettings
.<CreateBackupRequest, OperationSnapshot>newUnaryCallSettingsBuilder()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"))
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"))
.build())
.setResponseTransformer(
ProtoOperationTransformers.ResponseTransformer.create(Backup.class))
Expand All @@ -1026,8 +1026,8 @@ private static Builder initDefaults(Builder builder) {
.setInitialCallSettings(
UnaryCallSettings
.<RestoreTableRequest, OperationSnapshot>newUnaryCallSettingsBuilder()
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_params"))
.setRetryableCodes(RETRYABLE_CODE_DEFINITIONS.get("no_retry_1_codes"))
.setRetrySettings(RETRY_PARAM_DEFINITIONS.get("no_retry_1_params"))
.build())
.setResponseTransformer(
ProtoOperationTransformers.ResponseTransformer.create(Table.class))
Expand Down
6 changes: 3 additions & 3 deletions synth.metadata
Expand Up @@ -4,15 +4,15 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigtable.git",
"sha": "345517edaf10ede81016cd65314dca85f6cbadc3"
"sha": "1c5a5b0a796ee0d8a343758fc417e5225bc38a95"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
"sha": "3befd26ca55723d3e8111909331eac1249837987",
"internalRef": "360805639"
"sha": "458338f8ca444e43b9df96b984b68f3978852b74",
"internalRef": "361301101"
}
},
{
Expand Down

0 comments on commit 121f071

Please sign in to comment.