package io.grpc.stub; import io.grpc.CallOptions; import io.grpc.Channel; import io.grpc.stub.AbstractBlockingStub; import io.grpc.stub.AbstractStub; import io.grpc.stub.ClientCalls; /* loaded from: classes6.dex */ public abstract class AbstractBlockingStub> extends AbstractStub { static final boolean $assertionsDisabled = false; protected AbstractBlockingStub(Channel channel, CallOptions callOptions) { super(channel, callOptions); } public static > T newStub(AbstractStub.StubFactory stubFactory, Channel channel) { return (T) newStub(stubFactory, channel, CallOptions.DEFAULT); } public static > T newStub(AbstractStub.StubFactory stubFactory, Channel channel, CallOptions callOptions) { return stubFactory.newStub(channel, callOptions.withOption(ClientCalls.STUB_TYPE_OPTION, ClientCalls.StubType.BLOCKING)); } }