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

import android.graphics.drawable.Drawable;
import androidx.annotation.Nullable;

/* JADX INFO: loaded from: classes2.dex */
public final class zv0 extends cw0 {

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

    @Nullable
    private final String zza;

    @Nullable
    private final Drawable zzc;

    public zv0(@Nullable String str, String str2, @Nullable Drawable drawable) {
        this.zza = str;
        if (str2 == null) {
            throw new NullPointerException("Null imageUrl");
        }
        this.f19402a = str2;
        this.zzc = drawable;
    }

    public final boolean equals(Object obj) {
        Drawable drawable;
        if (obj == this) {
            return true;
        }
        if (obj instanceof cw0) {
            cw0 cw0Var = (cw0) obj;
            String str = this.zza;
            if (str != null ? str.equals(cw0Var.zza()) : cw0Var.zza() == null) {
                if (this.f19402a.equals(((zv0) cw0Var).f19402a) && ((drawable = this.zzc) != null ? drawable.equals(cw0Var.zzc()) : cw0Var.zzc() == null)) {
                    return true;
                }
            }
        }
        return false;
    }

    public final int hashCode() {
        String str = this.zza;
        int iHashCode = (((str == null ? 0 : str.hashCode()) ^ 1000003) * 1000003) ^ this.f19402a.hashCode();
        Drawable drawable = this.zzc;
        return (iHashCode * 1000003) ^ (drawable != null ? drawable.hashCode() : 0);
    }

    public final String toString() {
        String strValueOf = String.valueOf(this.zzc);
        String str = this.zza;
        int length = String.valueOf(str).length();
        int length2 = strValueOf.length();
        String str2 = this.f19402a;
        StringBuilder sb = new StringBuilder(str2.length() + length + 42 + 7 + length2 + 1);
        u.a.h(sb, "OfflineAdAssets{advertiserName=", str, ", imageUrl=", str2);
        return defpackage.e.p(sb, ", icon=", strValueOf, "}");
    }

    @Override // com.google.android.gms.internal.ads.cw0
    @Nullable
    public final String zza() {
        return this.zza;
    }

    @Override // com.google.android.gms.internal.ads.cw0
    @Nullable
    public final Drawable zzc() {
        return this.zzc;
    }
}
