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

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

/* JADX INFO: loaded from: classes.dex */
public final class Z0 extends AbstractC0609a2 {
    private static final Z0 zzb;
    private int zzd;
    private long zzg;
    private float zzh;
    private double zzi;
    private String zze = "";
    private String zzf = "";
    private InterfaceC0639g2 zzj = C0728y2.f10079u;

    static {
        Z0 z02 = new Z0();
        zzb = z02;
        AbstractC0609a2.j(Z0.class, z02);
    }

    public static /* synthetic */ void A(Z0 z02) {
        z02.zzd &= -3;
        z02.zzf = zzb.zzf;
    }

    public static /* synthetic */ void B(Z0 z02, double d8) {
        z02.zzd |= 16;
        z02.zzi = d8;
    }

    public static /* synthetic */ void C(Z0 z02, long j8) {
        z02.zzd |= 4;
        z02.zzg = j8;
    }

    public static /* synthetic */ void D(Z0 z02, String str) {
        str.getClass();
        z02.zzd |= 1;
        z02.zze = str;
    }

    public static /* synthetic */ void E(Z0 z02, String str) {
        str.getClass();
        z02.zzd |= 2;
        z02.zzf = str;
    }

    public static Y0 r() {
        return (Y0) zzb.e();
    }

    public static void v(Z0 z02, ArrayList arrayList) {
        InterfaceC0639g2 interfaceC0639g2 = z02.zzj;
        if (!((N1) interfaceC0639g2).f9653q) {
            int size = interfaceC0639g2.size();
            z02.zzj = interfaceC0639g2.e(size + size);
        }
        M1.b(arrayList, z02.zzj);
    }

    public static void w(Z0 z02, Z0 z03) {
        InterfaceC0639g2 interfaceC0639g2 = z02.zzj;
        if (!((N1) interfaceC0639g2).f9653q) {
            int size = interfaceC0639g2.size();
            z02.zzj = interfaceC0639g2.e(size + size);
        }
        z02.zzj.add(z03);
    }

    public static /* synthetic */ void x(Z0 z02) {
        z02.zzd &= -17;
        z02.zzi = 0.0d;
    }

    public static /* synthetic */ void y(Z0 z02) {
        z02.zzd &= -5;
        z02.zzg = 0L;
    }

    public static void z(Z0 z02) {
        z02.zzj = C0728y2.f10079u;
    }

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

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

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

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

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

    @Override // com.google.android.gms.internal.measurement.AbstractC0609a2
    public final Object m(int i) {
        int i5 = i - 1;
        if (i5 == 0) {
            return (byte) 1;
        }
        if (i5 == 2) {
            return new C0733z2(zzb, "\u0004\u0006\u0000\u0001\u0001\u0006\u0006\u0000\u0001\u0000\u0001ဈ\u0000\u0002ဈ\u0001\u0003ဂ\u0002\u0004ခ\u0003\u0005က\u0004\u0006\u001b", new Object[]{"zzd", "zze", "zzf", "zzg", "zzh", "zzi", "zzj", Z0.class});
        }
        if (i5 == 3) {
            return new Z0();
        }
        if (i5 == 4) {
            return new Y0(zzb);
        }
        if (i5 == 5) {
            return zzb;
        }
        throw null;
    }

    public final double n() {
        return this.zzi;
    }

    public final float o() {
        return this.zzh;
    }

    public final int p() {
        return this.zzj.size();
    }

    public final long q() {
        return this.zzg;
    }

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

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

    public final List u() {
        return this.zzj;
    }
}
