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

import android.content.ComponentName;
import androidx.annotation.Nullable;
import java.util.Arrays;

/* JADX INFO: loaded from: classes2.dex */
public final class e1 {

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

    @Nullable
    private final String zza;

    @Nullable
    private final String zzb;

    @Nullable
    private final ComponentName zzc;

    public e1(ComponentName componentName) {
        this.zza = null;
        this.zzb = null;
        w.checkNotNull(componentName);
        this.zzc = componentName;
        this.f8325a = false;
    }

    public final boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof e1)) {
            return false;
        }
        e1 e1Var = (e1) obj;
        return v.equal(this.zza, e1Var.zza) && v.equal(this.zzb, e1Var.zzb) && v.equal(this.zzc, e1Var.zzc) && this.f8325a == e1Var.f8325a;
    }

    public final int hashCode() {
        return Arrays.hashCode(new Object[]{this.zza, this.zzb, this.zzc, 4225, Boolean.valueOf(this.f8325a)});
    }

    public final String toString() {
        String str = this.zza;
        if (str != null) {
            return str;
        }
        ComponentName componentName = this.zzc;
        w.checkNotNull(componentName);
        return componentName.flattenToString();
    }

    @Nullable
    public final String zza() {
        return this.zza;
    }

    @Nullable
    public final String zzb() {
        return this.zzb;
    }

    @Nullable
    public final ComponentName zzc() {
        return this.zzc;
    }

    public e1(String str, String str2, boolean z10) {
        w.checkNotEmpty(str);
        this.zza = str;
        w.checkNotEmpty(str2);
        this.zzb = str2;
        this.zzc = null;
        this.f8325a = z10;
    }
}
