package io.grpc.stub; import io.grpc.CallOptions; import io.grpc.Channel; import io.grpc.stub.AbstractAsyncStub; import io.grpc.stub.AbstractStub; import io.grpc.stub.ClientCalls; /* loaded from: classes6.dex */ public abstract class AbstractAsyncStub> extends AbstractStub { static final boolean $assertionsDisabled = false; public AbstractAsyncStub(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.ASYNC)); } }