diff --git a/stub/src/main/java/io/grpc/stub/AbstractStub.java b/stub/src/main/java/io/grpc/stub/AbstractStub.java index 06dd55ff466..d8fd62b1efb 100644 --- a/stub/src/main/java/io/grpc/stub/AbstractStub.java +++ b/stub/src/main/java/io/grpc/stub/AbstractStub.java @@ -192,6 +192,10 @@ public final S withChannel(Channel newChannel) { return build(newChannel, callOptions); } + public final S withChannelAndCallOption(Channel newChannel, CallOptions callOptions) { + return build(newChannel, callOptions); + } + /** * Sets a custom option to be passed to client interceptors on the channel * {@link io.grpc.ClientInterceptor} via the CallOptions parameter.