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

import java.util.ArrayList;

/* JADX INFO: loaded from: classes2.dex */
public final class vl extends cb2 {
    public static final int zza = 1;
    public static final int zzb = 2;
    public static final int zzc = 3;
    public static final int zzd = 4;
    public static final int zze = 5;
    public static final int zzf = 6;
    public static final int zzg = 7;
    public static final int zzh = 8;
    private static final vl zzv;
    private static volatile bc2 zzw;
    private int zzi;
    private int zzk;
    private int zzl;
    private long zzm;
    private long zzp;
    private int zzu;
    private jb2 zzj = ec2.f10756e;
    private String zzn = "";
    private String zzo = "";

    static {
        vl vlVar = new vl();
        zzv = vlVar;
        cb2.v(vl.class, vlVar);
    }

    public static tl B() {
        return (tl) zzv.r();
    }

    public final void C(ArrayList arrayList) {
        jb2 jb2Var = this.zzj;
        if (!((da2) jb2Var).f10353a) {
            int size = jb2Var.size();
            this.zzj = jb2Var.zzh(size + size);
        }
        ca2.e(arrayList, this.zzj);
    }

    public final void D(int i10) {
        this.zzi |= 1;
        this.zzk = i10;
    }

    public final void E(int i10) {
        this.zzi |= 2;
        this.zzl = i10;
    }

    public final void F(long j10) {
        this.zzi |= 4;
        this.zzm = j10;
    }

    public final void G(String str) {
        str.getClass();
        this.zzi |= 8;
        this.zzn = str;
    }

    public final void H(String str) {
        str.getClass();
        this.zzi |= 16;
        this.zzo = str;
    }

    public final void I(long j10) {
        this.zzi |= 32;
        this.zzp = j10;
    }

    public final void J(int i10) {
        this.zzi |= 64;
        this.zzu = i10;
    }

    @Override // com.google.android.gms.internal.ads.cb2
    public final Object x(zzibq zzibqVar, cb2 cb2Var) {
        int iOrdinal = zzibqVar.ordinal();
        if (iOrdinal == 0) {
            return (byte) 1;
        }
        if (iOrdinal == 2) {
            return new fc2(zzv, "\u0004\b\u0000\u0001\u0001\b\b\u0000\u0001\u0000\u0001\u001b\u0002င\u0000\u0003င\u0001\u0004ဂ\u0002\u0005ဈ\u0003\u0006ဈ\u0004\u0007ဂ\u0005\bင\u0006", new Object[]{"zzi", "zzj", sl.class, "zzk", "zzl", "zzm", "zzn", "zzo", "zzp", "zzu"});
        }
        if (iOrdinal == 3) {
            return new vl();
        }
        if (iOrdinal == 4) {
            return new tl(zzv);
        }
        if (iOrdinal == 5) {
            return zzv;
        }
        if (iOrdinal != 6) {
            throw null;
        }
        bc2 bb2Var = zzw;
        if (bb2Var == null) {
            synchronized (vl.class) {
                try {
                    bb2Var = zzw;
                    if (bb2Var == null) {
                        bb2Var = new bb2(zzv);
                        zzw = bb2Var;
                    }
                } finally {
                }
            }
        }
        return bb2Var;
    }
}
