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 bf8ffc81da..5969ed4693 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 @@ -473,6 +473,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;