package n9; import java.net.InetSocketAddress; import java.net.Proxy; /* loaded from: classes2.dex */ public final class i0 { /* renamed from: a, reason: collision with root package name */ final a f12394a; /* renamed from: b, reason: collision with root package name */ final Proxy f12395b; /* renamed from: c, reason: collision with root package name */ final InetSocketAddress f12396c; public i0(a aVar, Proxy proxy, InetSocketAddress inetSocketAddress) { if (aVar == null) { throw new NullPointerException("address == null"); } if (proxy == null) { throw new NullPointerException("proxy == null"); } if (inetSocketAddress == null) { throw new NullPointerException("inetSocketAddress == null"); } this.f12394a = aVar; this.f12395b = proxy; this.f12396c = inetSocketAddress; } public a a() { return this.f12394a; } public Proxy b() { return this.f12395b; } public boolean c() { return this.f12394a.f12244i != null && this.f12395b.type() == Proxy.Type.HTTP; } public InetSocketAddress d() { return this.f12396c; } public boolean equals(Object obj) { if (obj instanceof i0) { i0 i0Var = (i0) obj; if (i0Var.f12394a.equals(this.f12394a) && i0Var.f12395b.equals(this.f12395b) && i0Var.f12396c.equals(this.f12396c)) { return true; } } return false; } public int hashCode() { return ((((527 + this.f12394a.hashCode()) * 31) + this.f12395b.hashCode()) * 31) + this.f12396c.hashCode(); } public String toString() { return "Route{" + this.f12396c + "}"; } }