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

import androidx.annotation.Nullable;
import com.google.android.gms.measurement.internal.u1;
import u.a;

/* JADX INFO: loaded from: classes2.dex */
final class zzaf extends zzby {
    private final int connectionTimeoutMs;

    @Nullable
    private final String content;

    /* JADX INFO: renamed from: id, reason: collision with root package name */
    private final String f7688id;
    private final int readTimeoutMs;
    private final zzbx requestType;
    private final String url;
    private final String userAgent;

    public zzaf(zzbx zzbxVar, String str, String str2, @Nullable String str3, String str4, int i10, int i11) {
        if (zzbxVar == null) {
            throw new NullPointerException("Null requestType");
        }
        this.requestType = zzbxVar;
        if (str == null) {
            throw new NullPointerException("Null id");
        }
        this.f7688id = str;
        if (str2 == null) {
            throw new NullPointerException("Null url");
        }
        this.url = str2;
        this.content = str3;
        if (str4 == null) {
            throw new NullPointerException("Null userAgent");
        }
        this.userAgent = str4;
        this.connectionTimeoutMs = i10;
        this.readTimeoutMs = i11;
    }

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

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

    public boolean equals(Object obj) {
        String str;
        if (obj == this) {
            return true;
        }
        if (obj instanceof zzby) {
            zzby zzbyVar = (zzby) obj;
            if (this.requestType.equals(zzbyVar.requestType()) && this.f7688id.equals(zzbyVar.id()) && this.url.equals(zzbyVar.url()) && ((str = this.content) != null ? str.equals(zzbyVar.content()) : zzbyVar.content() == null) && this.userAgent.equals(zzbyVar.userAgent()) && this.connectionTimeoutMs == zzbyVar.connectionTimeoutMs() && this.readTimeoutMs == zzbyVar.readTimeoutMs()) {
                return true;
            }
        }
        return false;
    }

    public int hashCode() {
        int iHashCode = ((((this.requestType.hashCode() ^ 1000003) * 1000003) ^ this.f7688id.hashCode()) * 1000003) ^ this.url.hashCode();
        String str = this.content;
        return (((((((iHashCode * 1000003) ^ (str == null ? 0 : str.hashCode())) * 1000003) ^ this.userAgent.hashCode()) * 1000003) ^ this.connectionTimeoutMs) * 1000003) ^ this.readTimeoutMs;
    }

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

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

    @Override // com.google.ads.interactivemedia.v3.impl.data.zzby
    public zzbx requestType() {
        return this.requestType;
    }

    public String toString() {
        StringBuilder sbN = u1.n("NetworkRequestData{requestType=", String.valueOf(this.requestType), ", id=");
        sbN.append(this.f7688id);
        sbN.append(", url=");
        sbN.append(this.url);
        sbN.append(", content=");
        sbN.append(this.content);
        sbN.append(", userAgent=");
        sbN.append(this.userAgent);
        sbN.append(", connectionTimeoutMs=");
        sbN.append(this.connectionTimeoutMs);
        sbN.append(", readTimeoutMs=");
        return a.b(sbN, this.readTimeoutMs, "}");
    }

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

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