package u6;

import androidx.annotation.Nullable;
import com.google.android.datatransport.cct.internal.NetworkConnectionInfo$MobileSubtype;
import com.google.android.datatransport.cct.internal.NetworkConnectionInfo$NetworkType;

/* JADX INFO: loaded from: classes2.dex */
public final class u extends d0 {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final NetworkConnectionInfo$NetworkType f33359a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final NetworkConnectionInfo$MobileSubtype f33360b;

    private u(@Nullable NetworkConnectionInfo$NetworkType networkConnectionInfo$NetworkType, @Nullable NetworkConnectionInfo$MobileSubtype networkConnectionInfo$MobileSubtype) {
        this.f33359a = networkConnectionInfo$NetworkType;
        this.f33360b = networkConnectionInfo$MobileSubtype;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof d0)) {
            return false;
        }
        d0 d0Var = (d0) obj;
        NetworkConnectionInfo$NetworkType networkConnectionInfo$NetworkType = this.f33359a;
        if (networkConnectionInfo$NetworkType != null ? networkConnectionInfo$NetworkType.equals(d0Var.getNetworkType()) : d0Var.getNetworkType() == null) {
            NetworkConnectionInfo$MobileSubtype networkConnectionInfo$MobileSubtype = this.f33360b;
            if (networkConnectionInfo$MobileSubtype == null) {
                if (d0Var.getMobileSubtype() == null) {
                    return true;
                }
            } else if (networkConnectionInfo$MobileSubtype.equals(d0Var.getMobileSubtype())) {
                return true;
            }
        }
        return false;
    }

    @Override // u6.d0
    @Nullable
    public NetworkConnectionInfo$MobileSubtype getMobileSubtype() {
        return this.f33360b;
    }

    @Override // u6.d0
    @Nullable
    public NetworkConnectionInfo$NetworkType getNetworkType() {
        return this.f33359a;
    }

    public final int hashCode() {
        NetworkConnectionInfo$NetworkType networkConnectionInfo$NetworkType = this.f33359a;
        int iHashCode = ((networkConnectionInfo$NetworkType == null ? 0 : networkConnectionInfo$NetworkType.hashCode()) ^ 1000003) * 1000003;
        NetworkConnectionInfo$MobileSubtype networkConnectionInfo$MobileSubtype = this.f33360b;
        return (networkConnectionInfo$MobileSubtype != null ? networkConnectionInfo$MobileSubtype.hashCode() : 0) ^ iHashCode;
    }

    public final String toString() {
        return "NetworkConnectionInfo{networkType=" + this.f33359a + ", mobileSubtype=" + this.f33360b + "}";
    }

    public /* synthetic */ u(NetworkConnectionInfo$NetworkType networkConnectionInfo$NetworkType, NetworkConnectionInfo$MobileSubtype networkConnectionInfo$MobileSubtype, int i10) {
        this(networkConnectionInfo$NetworkType, networkConnectionInfo$MobileSubtype);
    }
}
