package com.google.android.gms.common;

import android.util.Log;
import defpackage.jz0;
import defpackage.nq6;
import defpackage.vo6;

/* JADX INFO: loaded from: classes2.dex */
@jz0
class zzx {
    private static final zzx zze = new zzx(true, 3, 1, null, null);
    final boolean zza;

    @nq6
    final String zzb;

    @nq6
    final Throwable zzc;
    final int zzd;

    private zzx(boolean z, int i, int i2, @nq6 String str, @nq6 Throwable th) {
        this.zza = z;
        this.zzd = i;
        this.zzb = str;
        this.zzc = th;
    }

    @Deprecated
    public static zzx zzb() {
        return zze;
    }

    public static zzx zzc(@vo6 String str) {
        return new zzx(false, 1, 5, str, null);
    }

    public static zzx zzd(@vo6 String str, @vo6 Throwable th) {
        return new zzx(false, 1, 5, str, th);
    }

    public static zzx zzf(int i) {
        return new zzx(true, i, 1, null, null);
    }

    public static zzx zzg(int i, int i2, @vo6 String str, @nq6 Throwable th) {
        return new zzx(false, i, i2, str, th);
    }

    @nq6
    public String zza() {
        return this.zzb;
    }

    public final void zze() {
        if (this.zza || !Log.isLoggable("GoogleCertificatesRslt", 3)) {
            return;
        }
        if (this.zzc != null) {
            zza();
        } else {
            zza();
        }
    }
}
