Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Commit

Permalink
fix: add BetaApi tag to setLogicalTimeout (#1335)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahdietz committed Mar 25, 2021
1 parent 97d3214 commit fc7169d
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -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;
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit fc7169d

Please sign in to comment.