package okhttp3;

import java.net.InetSocketAddress;
import java.net.Proxy;
import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes3.dex */
public final class Route {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final Address f22168a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Proxy f22169b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final InetSocketAddress f22170c;

    public Route(Address address, Proxy proxy, InetSocketAddress socketAddress) {
        o.h(socketAddress, "socketAddress");
        this.f22168a = address;
        this.f22169b = proxy;
        this.f22170c = socketAddress;
    }

    public final boolean equals(Object obj) {
        if (!(obj instanceof Route)) {
            return false;
        }
        Route route = (Route) obj;
        return o.c(route.f22168a, this.f22168a) && o.c(route.f22169b, this.f22169b) && o.c(route.f22170c, this.f22170c);
    }

    public final int hashCode() {
        return this.f22170c.hashCode() + ((this.f22169b.hashCode() + ((this.f22168a.hashCode() + 527) * 31)) * 31);
    }

    public final String toString() {
        return "Route{" + this.f22170c + '}';
    }
}
