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

fix: add BetaApi tag to setLogicalTimeout #1335

Merged
merged 1 commit into from Mar 25, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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