package o;

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

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

    static {
        Br0 br0 = new Br0();
        zzj = br0;
        AbstractC2665ut0.m(Br0.class, br0);
    }

    public static C3136zr0 B() {
        return (C3136zr0) zzj.h();
    }

    public final int A() {
        return this.zzi.size();
    }

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

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

    public final /* synthetic */ void E() {
        this.zzb &= -3;
        this.zze = zzj.zze;
    }

    public final /* synthetic */ void F(long j) {
        this.zzb |= 4;
        this.zzf = j;
    }

    public final /* synthetic */ void G() {
        this.zzb &= -5;
        this.zzf = 0L;
    }

    public final /* synthetic */ void H(double d) {
        this.zzb |= 16;
        this.zzh = d;
    }

    public final /* synthetic */ void I() {
        this.zzb &= -17;
        this.zzh = 0.0d;
    }

    public final void J(Br0 br0) {
        Dt0 dt0 = this.zzi;
        if (!((Ps0) dt0).l) {
            int size = dt0.size();
            this.zzi = dt0.g(size + size);
        }
        this.zzi.add(br0);
    }

    public final void K(ArrayList arrayList) {
        Dt0 dt0 = this.zzi;
        if (!((Ps0) dt0).l) {
            int size = dt0.size();
            this.zzi = dt0.g(size + size);
        }
        Ns0.c(arrayList, this.zzi);
    }

    public final void L() {
        this.zzi = C1337gu0.p;
    }

    @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(zzj, "\u0004\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0001\u0000\u0001ဈ\u0000\u0002ဈ\u0001\u0003ဂ\u0002\u0004ခ\u0003\u0005က\u0004\u0006\u001b", new Object[]{"zzb", "zzd", "zze", "zzf", "zzg", "zzh", "zzi", Br0.class});
        }
        if (i2 == 3) {
            return new Br0();
        }
        if (i2 == 4) {
            return new C3136zr0(zzj);
        }
        if (i2 == 5) {
            return zzj;
        }
        throw null;
    }

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

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

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

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

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

    public final long u() {
        return this.zzf;
    }

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

    public final float w() {
        return this.zzg;
    }

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

    public final double y() {
        return this.zzh;
    }

    public final List z() {
        return this.zzi;
    }
}
