Skip to content
Permalink
Browse files
fix: add BetaApi tag to setLogicalTimeout (#1335)
  • Loading branch information
noahdietz committed Mar 25, 2021
1 parent 97d3214 commit fc7169d431baf2db90992241a0ef3d40c72567a5
Showing with 2 additions and 0 deletions.
  1. +2 −0 gax/src/main/java/com/google/api/gax/retrying/RetrySettings.java
@@ -29,6 +29,7 @@
*/
package com.google.api.gax.retrying;

import com.google.api.core.BetaApi;
import com.google.auto.value.AutoValue;
import com.google.common.annotations.VisibleForTesting;
import java.io.Serializable;
@@ -305,6 +306,7 @@ public abstract static class Builder {
* setters is not advised, because only the order in which they are invoked determines which
* setter is respected.
*/
@BetaApi
public Builder setLogicalTimeout(Duration timeout) {
return setRpcTimeoutMultiplier(1)
.setInitialRpcTimeout(timeout)

0 comments on commit fc7169d

Please sign in to comment.