package u6;

import androidx.annotation.Nullable;
import com.google.android.datatransport.cct.internal.ClientInfo$ClientType;

/* JADX INFO: loaded from: classes2.dex */
public final class n extends x {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final ClientInfo$ClientType f33326a;

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

    private n(@Nullable ClientInfo$ClientType clientInfo$ClientType, @Nullable b bVar) {
        this.f33326a = clientInfo$ClientType;
        this.f33327b = bVar;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof x)) {
            return false;
        }
        x xVar = (x) obj;
        ClientInfo$ClientType clientInfo$ClientType = this.f33326a;
        if (clientInfo$ClientType != null ? clientInfo$ClientType.equals(xVar.getClientType()) : xVar.getClientType() == null) {
            b bVar = this.f33327b;
            if (bVar == null) {
                if (xVar.getAndroidClientInfo() == null) {
                    return true;
                }
            } else if (bVar.equals(xVar.getAndroidClientInfo())) {
                return true;
            }
        }
        return false;
    }

    @Override // u6.x
    @Nullable
    public b getAndroidClientInfo() {
        return this.f33327b;
    }

    @Override // u6.x
    @Nullable
    public ClientInfo$ClientType getClientType() {
        return this.f33326a;
    }

    public final int hashCode() {
        ClientInfo$ClientType clientInfo$ClientType = this.f33326a;
        int iHashCode = ((clientInfo$ClientType == null ? 0 : clientInfo$ClientType.hashCode()) ^ 1000003) * 1000003;
        b bVar = this.f33327b;
        return (bVar != null ? bVar.hashCode() : 0) ^ iHashCode;
    }

    public final String toString() {
        return "ClientInfo{clientType=" + this.f33326a + ", androidClientInfo=" + this.f33327b + "}";
    }

    public /* synthetic */ n(ClientInfo$ClientType clientInfo$ClientType, b bVar, int i10) {
        this(clientInfo$ClientType, bVar);
    }
}
