package o;

import java.util.ArrayList;
import java.util.List;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* loaded from: classes.dex */
public final class Jr0 extends AbstractC2665ut0 {
    private static final Jr0 zzh;
    private int zzb;
    private Dt0 zzd = C1337gu0.p;
    private String zze = "";
    private String zzf = "";
    private int zzg;

    static {
        Jr0 jr0 = new Jr0();
        zzh = jr0;
        AbstractC2665ut0.m(Jr0.class, jr0);
    }

    public static Gr0 w() {
        return (Gr0) zzh.h();
    }

    public static Gr0 x(Jr0 jr0) {
        AbstractC2286qt0 abstractC2286qt0H = zzh.h();
        abstractC2286qt0H.f(jr0);
        return (Gr0) abstractC2286qt0H;
    }

    public final /* synthetic */ void A(ArrayList arrayList) {
        E();
        Ns0.c(arrayList, this.zzd);
    }

    public final void B() {
        this.zzd = C1337gu0.p;
    }

    public final /* synthetic */ void C(String str) {
        str.getClass();
        this.zzb |= 1;
        this.zze = str;
    }

    public final /* synthetic */ void D(String str) {
        str.getClass();
        this.zzb |= 2;
        this.zzf = str;
    }

    public final void E() {
        Dt0 dt0 = this.zzd;
        if (((Ps0) dt0).l) {
            return;
        }
        int size = dt0.size();
        this.zzd = dt0.g(size + size);
    }

    @Override // o.AbstractC2665ut0
    public final Object o(int i) {
        int i2 = i - 1;
        if (i2 == 0) {
            return (byte) 1;
        }
        if (i2 == 2) {
            return new C1527iu0(zzh, "\u0004\u0004\u0000\u0001\u0001\t\u0004\u0000\u0001\u0000\u0001\u001b\u0007ဈ\u0000\bဈ\u0001\t᠌\u0002", new Object[]{"zzb", "zzd", Nr0.class, "zze", "zzf", "zzg", C1137eq0.j});
        }
        if (i2 == 3) {
            return new Jr0();
        }
        if (i2 == 4) {
            return new Gr0(zzh);
        }
        if (i2 == 5) {
            return zzh;
        }
        throw null;
    }

    public final List p() {
        return this.zzd;
    }

    public final int q() {
        return this.zzd.size();
    }

    public final Nr0 r(int i) {
        return (Nr0) this.zzd.get(i);
    }

    public final boolean s() {
        return (this.zzb & 1) != 0;
    }

    public final String t() {
        return this.zze;
    }

    public final boolean u() {
        return (this.zzb & 2) != 0;
    }

    public final String v() {
        return this.zzf;
    }

    public final /* synthetic */ void y(int i, Nr0 nr0) {
        E();
        this.zzd.set(i, nr0);
    }

    public final /* synthetic */ void z(Nr0 nr0) {
        E();
        this.zzd.add(nr0);
    }
}
