package h5; import java.net.InetSocketAddress; import java.net.Proxy; /* loaded from: classes2.dex */ public final class m0 { /* renamed from: a, reason: collision with root package name */ final a f10225a; /* renamed from: b, reason: collision with root package name */ final Proxy f10226b; /* renamed from: c, reason: collision with root package name */ final InetSocketAddress f10227c; public m0(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.f10225a = aVar; this.f10226b = proxy; this.f10227c = inetSocketAddress; } public a a() { return this.f10225a; } public Proxy b() { return this.f10226b; } public boolean c() { return this.f10225a.f9968i != null && this.f10226b.type() == Proxy.Type.HTTP; } public InetSocketAddress d() { return this.f10227c; } public boolean equals(Object obj) { if (obj instanceof m0) { m0 m0Var = (m0) obj; if (m0Var.f10225a.equals(this.f10225a) && m0Var.f10226b.equals(this.f10226b) && m0Var.f10227c.equals(this.f10227c)) { return true; } } return false; } public int hashCode() { return ((((this.f10225a.hashCode() + 527) * 31) + this.f10226b.hashCode()) * 31) + this.f10227c.hashCode(); } public String toString() { return "Route{" + this.f10227c + "}"; } }