package com.google.android.gms.internal.pal;

/* JADX INFO: loaded from: classes2.dex */
public final class q2 {

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

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

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

    public q2(String str, String str2, boolean z10) {
        if (str == null) {
            throw new NullPointerException("Null advertisingId");
        }
        this.f21152a = str;
        this.f21153b = str2;
        this.f21154c = z10;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof q2) {
            q2 q2Var = (q2) obj;
            if (this.f21152a.equals(q2Var.f21152a) && this.f21153b.equals(q2Var.f21153b) && this.f21154c == q2Var.f21154c) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        return ((((this.f21152a.hashCode() ^ 1000003) * 1000003) ^ this.f21153b.hashCode()) * 1000003) ^ (true != this.f21154c ? 1237 : 1231);
    }

    public final String toString() {
        return "AdvertisingIdInfo{advertisingId=" + this.f21152a + ", advertisingIdType=" + this.f21153b + ", isLimitAdTracking=" + this.f21154c + "}";
    }
}
