From fd6163a493b733e131376cad0c9da7e14acf3de2 Mon Sep 17 00:00:00 2001 From: Riya Mehta Date: Thu, 16 Jan 2025 09:57:43 -0800 Subject: [PATCH] mark withUseS2A as a Beta API. --- .../java/com/google/api/gax/rpc/TransportChannelProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gax-java/gax/src/main/java/com/google/api/gax/rpc/TransportChannelProvider.java b/gax-java/gax/src/main/java/com/google/api/gax/rpc/TransportChannelProvider.java index f58acffc54..4c0345e7b2 100644 --- a/gax-java/gax/src/main/java/com/google/api/gax/rpc/TransportChannelProvider.java +++ b/gax-java/gax/src/main/java/com/google/api/gax/rpc/TransportChannelProvider.java @@ -98,6 +98,8 @@ public interface TransportChannelProvider { TransportChannelProvider withEndpoint(String endpoint); /** Sets whether to use S2A when constructing a new {@link TransportChannel}. */ + @BetaApi( + "The S2A feature is not stable yet and may change in the future. https://github.com/grpc/grpc-java/issues/11533.") default TransportChannelProvider withUseS2A(boolean useS2A) { throw new UnsupportedOperationException("S2A is not supported"); }