package t6;

import androidx.annotation.Nullable;
import com.google.android.datatransport.Priority;

/* JADX INFO: loaded from: classes2.dex */
public final class a extends d {

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

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

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

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final e f32982d;

    public a(@Nullable Integer num, Object obj, Priority priority, @Nullable e eVar) {
        this.f32979a = num;
        if (obj == null) {
            throw new NullPointerException("Null payload");
        }
        this.f32980b = obj;
        if (priority == null) {
            throw new NullPointerException("Null priority");
        }
        this.f32981c = priority;
        this.f32982d = eVar;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof d)) {
            return false;
        }
        d dVar = (d) obj;
        Integer num = this.f32979a;
        if (num != null ? num.equals(dVar.getCode()) : dVar.getCode() == null) {
            if (this.f32980b.equals(((a) dVar).f32980b) && this.f32981c.equals(((a) dVar).f32981c)) {
                e eVar = this.f32982d;
                if (eVar == null) {
                    if (dVar.getProductData() == null) {
                        return true;
                    }
                } else if (eVar.equals(dVar.getProductData())) {
                    return true;
                }
            }
        }
        return false;
    }

    @Override // t6.d
    @Nullable
    public Integer getCode() {
        return this.f32979a;
    }

    @Override // t6.d
    @Nullable
    public e getProductData() {
        return this.f32982d;
    }

    public final int hashCode() {
        Integer num = this.f32979a;
        int iHashCode = ((((((num == null ? 0 : num.hashCode()) ^ 1000003) * 1000003) ^ this.f32980b.hashCode()) * 1000003) ^ this.f32981c.hashCode()) * 1000003;
        e eVar = this.f32982d;
        return (eVar != null ? eVar.hashCode() : 0) ^ iHashCode;
    }

    public final String toString() {
        return "Event{code=" + this.f32979a + ", payload=" + this.f32980b + ", priority=" + this.f32981c + ", productData=" + this.f32982d + "}";
    }
}
