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

import u.a;

/* JADX INFO: loaded from: classes2.dex */
final class zzag extends zzbz {
    private final String content;
    private final String contentType;
    private final int errorCode;

    /* JADX INFO: renamed from: id, reason: collision with root package name */
    private final String f7689id;

    public zzag(String str, String str2, String str3, int i10) {
        if (str == null) {
            throw new NullPointerException("Null id");
        }
        this.f7689id = str;
        if (str2 == null) {
            throw new NullPointerException("Null content");
        }
        this.content = str2;
        if (str3 == null) {
            throw new NullPointerException("Null contentType");
        }
        this.contentType = str3;
        this.errorCode = i10;
    }

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzbz
    public String content() {
        return this.content;
    }

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzbz
    public String contentType() {
        return this.contentType;
    }

    public boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (obj instanceof zzbz) {
            zzbz zzbzVar = (zzbz) obj;
            if (this.f7689id.equals(zzbzVar.id()) && this.content.equals(zzbzVar.content()) && this.contentType.equals(zzbzVar.contentType()) && this.errorCode == zzbzVar.errorCode()) {
                return true;
            }
        }
        return false;
    }

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzbz
    public int errorCode() {
        return this.errorCode;
    }

    public int hashCode() {
        return ((((((this.f7689id.hashCode() ^ 1000003) * 1000003) ^ this.content.hashCode()) * 1000003) ^ this.contentType.hashCode()) * 1000003) ^ this.errorCode;
    }

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzbz
    public String id() {
        return this.f7689id;
    }

    public String toString() {
        StringBuilder sb = new StringBuilder("NetworkResponseData{id=");
        sb.append(this.f7689id);
        sb.append(", content=");
        sb.append(this.content);
        sb.append(", contentType=");
        sb.append(this.contentType);
        sb.append(", errorCode=");
        return a.b(sb, this.errorCode, "}");
    }
}
