package XnFJ5_9;

import java.net.InetSocketAddress;
import java.net.Proxy;
import javax.annotation.Nullable;
/* compiled from: Route.java */
/* loaded from: classes.dex */
public final class JXypC6_34 {
    public final X6FRs_4 KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final InetSocketAddress f1647KQgRr5e_0;

    /* renamed from: KQgRr5e_0  reason: collision with other field name */
    public final Proxy f1648KQgRr5e_0;

    public JXypC6_34(X6FRs_4 x6FRs_4, Proxy proxy, InetSocketAddress inetSocketAddress) {
        if (x6FRs_4 == null) {
            throw new NullPointerException("address == null");
        }
        if (proxy == null) {
            throw new NullPointerException("proxy == null");
        }
        if (inetSocketAddress != null) {
            this.KQgRr5e_0 = x6FRs_4;
            this.f1648KQgRr5e_0 = proxy;
            this.f1647KQgRr5e_0 = inetSocketAddress;
            return;
        }
        throw new NullPointerException("inetSocketAddress == null");
    }

    public X6FRs_4 KQgRr5e_0() {
        return this.KQgRr5e_0;
    }

    public boolean equals(@Nullable Object obj) {
        if (obj instanceof JXypC6_34) {
            JXypC6_34 jXypC6_34 = (JXypC6_34) obj;
            if (jXypC6_34.KQgRr5e_0.equals(this.KQgRr5e_0) && jXypC6_34.f1648KQgRr5e_0.equals(this.f1648KQgRr5e_0) && jXypC6_34.f1647KQgRr5e_0.equals(this.f1647KQgRr5e_0)) {
                return true;
            }
        }
        return false;
    }

    public int hashCode() {
        return ((((527 + this.KQgRr5e_0.hashCode()) * 31) + this.f1648KQgRr5e_0.hashCode()) * 31) + this.f1647KQgRr5e_0.hashCode();
    }

    public String toString() {
        return "Route{" + this.f1647KQgRr5e_0 + "}";
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public Proxy m760KQgRr5e_0() {
        return this.f1648KQgRr5e_0;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public InetSocketAddress m759KQgRr5e_0() {
        return this.f1647KQgRr5e_0;
    }

    /* renamed from: KQgRr5e_0  reason: collision with other method in class */
    public boolean m761KQgRr5e_0() {
        return this.KQgRr5e_0.f1752KQgRr5e_0 != null && this.f1648KQgRr5e_0.type() == Proxy.Type.HTTP;
    }
}
