diff --git a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java index acc91f98a52..dc7bbc4abca 100644 --- a/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java +++ b/gax-java/gax-grpc/src/main/java/com/google/api/gax/grpc/InstantiatingGrpcChannelProvider.java @@ -488,6 +488,12 @@ public Integer getMaxInboundMetadataSize() { return maxInboundMetadataSize; } + /** The configured channel pool settings used for gRPC's ChannelProvider */ + @BetaApi("Channel pool sizing api is not yet stable") + public ChannelPoolSettings getChannelPoolSettings() { + return channelPoolSettings; + } + @Override public boolean shouldAutoClose() { return true;