package com.google.ads.interactivemedia.v3.impl.data;

/* JADX INFO: loaded from: classes2.dex */
final class zzan extends zzce {
    private final Integer height;
    private final Integer width;

    /* JADX INFO: renamed from: x, reason: collision with root package name */
    private final Integer f7690x;

    /* JADX INFO: renamed from: y, reason: collision with root package name */
    private final Integer f7691y;

    public zzan(Integer num, Integer num2, Integer num3, Integer num4) {
        if (num == null) {
            throw new NullPointerException("Null x");
        }
        this.f7690x = num;
        if (num2 == null) {
            throw new NullPointerException("Null y");
        }
        this.f7691y = num2;
        if (num3 == null) {
            throw new NullPointerException("Null width");
        }
        this.width = num3;
        if (num4 == null) {
            throw new NullPointerException("Null height");
        }
        this.height = num4;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof zzce) {
            zzce zzceVar = (zzce) obj;
            if (this.f7690x.equals(zzceVar.x()) && this.f7691y.equals(zzceVar.y()) && this.width.equals(zzceVar.width()) && this.height.equals(zzceVar.height())) {
                return true;
            }
        }
        return false;
    }

    public int hashCode() {
        return ((((((this.f7690x.hashCode() ^ 1000003) * 1000003) ^ this.f7691y.hashCode()) * 1000003) ^ this.width.hashCode()) * 1000003) ^ this.height.hashCode();
    }

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzce
    public Integer height() {
        return this.height;
    }

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzce
    public Integer width() {
        return this.width;
    }

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzce
    public Integer x() {
        return this.f7690x;
    }

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzce
    public Integer y() {
        return this.f7691y;
    }
}
