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

import android.text.TextUtils;
import com.google.android.gms.common.internal.Preconditions;
import defpackage.dva;
import defpackage.rq6;
import java.util.ArrayList;
import java.util.List;
import java.util.Objects;

/* JADX INFO: loaded from: classes2.dex */
final class zzg {
    private final zzhy zza;

    @rq6
    private Long zzaa;

    @rq6
    private Long zzab;
    private long zzac;

    @rq6
    private String zzad;
    private int zzae;
    private int zzaf;
    private long zzag;
    private String zzah;

    @rq6
    private byte[] zzai;
    private long zzaj;
    private long zzak;
    private long zzal;
    private long zzam;
    private long zzan;
    private long zzao;

    @rq6
    private String zzap;
    private boolean zzaq;
    private long zzar;
    private long zzas;
    private final String zzb;

    @rq6
    private String zzc;

    @rq6
    private String zzd;

    @rq6
    private String zze;

    @rq6
    private String zzf;
    private long zzg;
    private long zzh;
    private long zzi;

    @rq6
    private String zzj;
    private long zzk;

    @rq6
    private String zzl;
    private long zzm;
    private long zzn;
    private boolean zzo;
    private boolean zzp;

    @rq6
    private String zzq;

    @rq6
    private Boolean zzr;
    private long zzs;

    @rq6
    private List<String> zzt;

    @rq6
    private String zzu;
    private boolean zzv;
    private long zzw;
    private long zzx;
    private int zzy;
    private boolean zzz;

    @dva
    public zzg(zzhy zzhyVar, String str) {
        Preconditions.checkNotNull(zzhyVar);
        Preconditions.checkNotEmpty(str);
        this.zza = zzhyVar;
        this.zzb = str;
        zzhyVar.zzl().zzt();
    }

    @dva
    public final int zza() {
        this.zza.zzl().zzt();
        return this.zzy;
    }

    @rq6
    @dva
    public final String zzaa() {
        this.zza.zzl().zzt();
        return this.zzq;
    }

    @rq6
    @dva
    public final String zzab() {
        this.zza.zzl().zzt();
        String str = this.zzap;
        zzg((String) null);
        return str;
    }

    @dva
    public final String zzac() {
        this.zza.zzl().zzt();
        return this.zzb;
    }

    @rq6
    @dva
    public final String zzad() {
        this.zza.zzl().zzt();
        return this.zzc;
    }

    @rq6
    @dva
    public final String zzae() {
        this.zza.zzl().zzt();
        return this.zzl;
    }

    @rq6
    @dva
    public final String zzaf() {
        this.zza.zzl().zzt();
        return this.zzj;
    }

    @rq6
    @dva
    public final String zzag() {
        this.zza.zzl().zzt();
        return this.zzf;
    }

    @rq6
    @dva
    public final String zzah() {
        this.zza.zzl().zzt();
        return this.zzd;
    }

    @rq6
    @dva
    public final String zzai() {
        this.zza.zzl().zzt();
        return this.zzap;
    }

    @rq6
    @dva
    public final String zzaj() {
        this.zza.zzl().zzt();
        return this.zze;
    }

    @dva
    public final String zzak() {
        this.zza.zzl().zzt();
        return this.zzah;
    }

    @rq6
    @dva
    public final String zzal() {
        this.zza.zzl().zzt();
        return this.zzu;
    }

    @rq6
    @dva
    public final String zzam() {
        this.zza.zzl().zzt();
        return this.zzad;
    }

    @rq6
    @dva
    public final List<String> zzan() {
        this.zza.zzl().zzt();
        return this.zzt;
    }

    @dva
    public final void zzao() {
        this.zza.zzl().zzt();
        this.zzaq = false;
    }

    @dva
    public final void zzap() {
        this.zza.zzl().zzt();
        long j = this.zzg + 1;
        if (j > 2147483647L) {
            this.zza.zzj().zzu().zza("Bundle index overflow. appId", zzgo.zza(this.zzb));
            j = 0;
        }
        this.zzaq = true;
        this.zzg = j;
    }

    @dva
    public final boolean zzaq() {
        this.zza.zzl().zzt();
        return this.zzp;
    }

    @dva
    public final boolean zzar() {
        this.zza.zzl().zzt();
        return this.zzo;
    }

    @dva
    public final boolean zzas() {
        this.zza.zzl().zzt();
        return this.zzaq;
    }

    @dva
    public final boolean zzat() {
        this.zza.zzl().zzt();
        return this.zzv;
    }

    @dva
    public final boolean zzau() {
        this.zza.zzl().zzt();
        return this.zzz;
    }

    @rq6
    @dva
    public final byte[] zzav() {
        this.zza.zzl().zzt();
        return this.zzai;
    }

    @dva
    public final int zzb() {
        this.zza.zzl().zzt();
        return this.zzaf;
    }

    @dva
    public final int zzc() {
        this.zza.zzl().zzt();
        return this.zzae;
    }

    @dva
    public final long zzd() {
        this.zza.zzl().zzt();
        return 0L;
    }

    @dva
    public final long zze() {
        this.zza.zzl().zzt();
        return this.zzk;
    }

    @dva
    public final long zzf() {
        this.zza.zzl().zzt();
        return this.zzac;
    }

    @dva
    public final long zzg() {
        this.zza.zzl().zzt();
        return this.zzar;
    }

    @dva
    public final long zzh() {
        this.zza.zzl().zzt();
        return this.zzam;
    }

    @dva
    public final long zzi() {
        this.zza.zzl().zzt();
        return this.zzan;
    }

    @dva
    public final long zzj() {
        this.zza.zzl().zzt();
        return this.zzal;
    }

    @dva
    public final long zzk() {
        this.zza.zzl().zzt();
        return this.zzak;
    }

    @dva
    public final long zzl() {
        this.zza.zzl().zzt();
        return this.zzao;
    }

    @dva
    public final long zzm() {
        this.zza.zzl().zzt();
        return this.zzaj;
    }

    @dva
    public final long zzn() {
        this.zza.zzl().zzt();
        return this.zzn;
    }

    @dva
    public final long zzo() {
        this.zza.zzl().zzt();
        return this.zzs;
    }

    @dva
    public final long zzp() {
        this.zza.zzl().zzt();
        return this.zzas;
    }

    @dva
    public final long zzq() {
        this.zza.zzl().zzt();
        return this.zzm;
    }

    @dva
    public final long zzr() {
        this.zza.zzl().zzt();
        return this.zzag;
    }

    @dva
    public final long zzs() {
        this.zza.zzl().zzt();
        return this.zzi;
    }

    @dva
    public final long zzt() {
        this.zza.zzl().zzt();
        return this.zzg;
    }

    @dva
    public final long zzu() {
        this.zza.zzl().zzt();
        return this.zzh;
    }

    @dva
    public final long zzv() {
        this.zza.zzl().zzt();
        return this.zzx;
    }

    @dva
    public final long zzw() {
        this.zza.zzl().zzt();
        return this.zzw;
    }

    @rq6
    @dva
    public final Boolean zzx() {
        this.zza.zzl().zzt();
        return this.zzr;
    }

    @rq6
    @dva
    public final Long zzy() {
        this.zza.zzl().zzt();
        return this.zzaa;
    }

    @rq6
    @dva
    public final Long zzz() {
        this.zza.zzl().zzt();
        return this.zzab;
    }

    @dva
    public final void zzd(@rq6 String str) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzj, str);
        this.zzj = str;
    }

    @dva
    public final void zza(long j) {
        this.zza.zzl().zzt();
        long j2 = this.zzg + j;
        if (j2 > 2147483647L) {
            this.zza.zzj().zzu().zza("Bundle index overflow. appId", zzgo.zza(this.zzb));
            j2 = j - 1;
        }
        long j3 = this.zzag + 1;
        if (j3 > 2147483647L) {
            this.zza.zzj().zzu().zza("Delivery index overflow. appId", zzgo.zza(this.zzb));
            j3 = 0;
        }
        this.zzaq = true;
        this.zzg = j2;
        this.zzag = j3;
    }

    @dva
    public final void zzb(@rq6 String str) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzc, str);
        this.zzc = str;
    }

    @dva
    public final void zzc(@rq6 String str) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzl, str);
        this.zzl = str;
    }

    @dva
    public final void zze(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzam != j;
        this.zzam = j;
    }

    @dva
    public final void zzf(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzan != j;
        this.zzan = j;
    }

    @dva
    public final void zzg(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzal != j;
        this.zzal = j;
    }

    @dva
    public final void zzh(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzak != j;
        this.zzak = j;
    }

    @dva
    public final void zzi(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzao != j;
        this.zzao = j;
    }

    @dva
    public final void zzj(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzaj != j;
        this.zzaj = j;
    }

    @dva
    public final void zzk(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzn != j;
        this.zzn = j;
    }

    @dva
    public final void zzl(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzs != j;
        this.zzs = j;
    }

    @dva
    public final void zzm(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzas != j;
        this.zzas = j;
    }

    @dva
    public final void zzn(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzm != j;
        this.zzm = j;
    }

    @dva
    public final void zzo(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzag != j;
        this.zzag = j;
    }

    @dva
    public final void zzp(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzi != j;
        this.zzi = j;
    }

    @dva
    public final void zzq(long j) {
        Preconditions.checkArgument(j >= 0);
        this.zza.zzl().zzt();
        this.zzaq |= this.zzg != j;
        this.zzg = j;
    }

    @dva
    public final void zzr(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzh != j;
        this.zzh = j;
    }

    @dva
    public final void zzs(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzx != j;
        this.zzx = j;
    }

    @dva
    public final void zzt(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzw != j;
        this.zzw = j;
    }

    @dva
    public final void zzd(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzar != j;
        this.zzar = j;
    }

    @dva
    public final void zzb(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzk != j;
        this.zzk = j;
    }

    @dva
    public final void zzc(long j) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzac != j;
        this.zzac = j;
    }

    @dva
    public final void zze(@rq6 String str) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzf, str);
        this.zzf = str;
    }

    @dva
    public final void zzf(@rq6 String str) {
        this.zza.zzl().zzt();
        if (TextUtils.isEmpty(str)) {
            str = null;
        }
        this.zzaq |= !Objects.equals(this.zzd, str);
        this.zzd = str;
    }

    @dva
    public final void zzg(@rq6 String str) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzap, str);
        this.zzap = str;
    }

    @dva
    public final void zzh(@rq6 String str) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zze, str);
        this.zze = str;
    }

    @dva
    public final void zzi(String str) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzah != str;
        this.zzah = str;
    }

    @dva
    public final void zzj(@rq6 String str) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzu, str);
        this.zzu = str;
    }

    @dva
    public final void zzk(@rq6 String str) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzad != str;
        this.zzad = str;
    }

    @dva
    public final void zzd(boolean z) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzz != z;
        this.zzz = z;
    }

    @dva
    public final void zzb(int i) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzaf != i;
        this.zzaf = i;
    }

    @dva
    public final void zzc(int i) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzae != i;
        this.zzae = i;
    }

    @dva
    public final void zza(@rq6 byte[] bArr) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzai != bArr;
        this.zzai = bArr;
    }

    @dva
    public final void zzb(boolean z) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzo != z;
        this.zzo = z;
    }

    @dva
    public final void zzc(boolean z) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzv != z;
        this.zzv = z;
    }

    @dva
    public final void zza(@rq6 String str) {
        this.zza.zzl().zzt();
        if (TextUtils.isEmpty(str)) {
            str = null;
        }
        this.zzaq |= !Objects.equals(this.zzq, str);
        this.zzq = str;
    }

    @dva
    public final void zzb(@rq6 Long l) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzab, l);
        this.zzab = l;
    }

    @dva
    public final void zza(int i) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzy != i;
        this.zzy = i;
    }

    @dva
    public final void zza(boolean z) {
        this.zza.zzl().zzt();
        this.zzaq |= this.zzp != z;
        this.zzp = z;
    }

    @dva
    public final void zza(@rq6 Boolean bool) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzr, bool);
        this.zzr = bool;
    }

    @dva
    public final void zza(@rq6 List<String> list) {
        this.zza.zzl().zzt();
        if (Objects.equals(this.zzt, list)) {
            return;
        }
        this.zzaq = true;
        this.zzt = list != null ? new ArrayList(list) : null;
    }

    @dva
    public final void zza(@rq6 Long l) {
        this.zza.zzl().zzt();
        this.zzaq |= !Objects.equals(this.zzaa, l);
        this.zzaa = l;
    }
}
