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

import java.util.List;

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

    static {
        W0 w02 = new W0();
        zzb = w02;
        AbstractC0609a2.j(W0.class, w02);
    }

    public static /* synthetic */ void A(W0 w02, int i, Z0 z02) {
        w02.G();
        w02.zze.set(i, z02);
    }

    public static /* synthetic */ void B(long j8, W0 w02) {
        w02.zzd |= 4;
        w02.zzh = j8;
    }

    public static /* synthetic */ void C(long j8, W0 w02) {
        w02.zzd |= 2;
        w02.zzg = j8;
    }

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

    public static /* synthetic */ void v(W0 w02, Iterable iterable) {
        w02.G();
        M1.b(iterable, w02.zze);
    }

    public static /* synthetic */ void w(W0 w02, Z0 z02) {
        z02.getClass();
        w02.G();
        w02.zze.add(z02);
    }

    public static void x(W0 w02) {
        w02.zze = C0728y2.f10079u;
    }

    public static /* synthetic */ void y(W0 w02, int i) {
        w02.G();
        w02.zze.remove(i);
    }

    public static /* synthetic */ void z(W0 w02, String str) {
        str.getClass();
        w02.zzd |= 1;
        w02.zzf = str;
    }

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

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

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

    public final void G() {
        InterfaceC0639g2 interfaceC0639g2 = this.zze;
        if (((N1) interfaceC0639g2).f9653q) {
            return;
        }
        int size = interfaceC0639g2.size();
        this.zze = interfaceC0639g2.e(size + size);
    }

    @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\u0005\u0000\u0001\u0001\u0005\u0005\u0000\u0001\u0000\u0001\u001b\u0002ဈ\u0000\u0003ဂ\u0001\u0004ဂ\u0002\u0005င\u0003", new Object[]{"zzd", "zze", Z0.class, "zzf", "zzg", "zzh", "zzi"});
        }
        if (i5 == 3) {
            return new W0();
        }
        if (i5 == 4) {
            return new V0(zzb);
        }
        if (i5 == 5) {
            return zzb;
        }
        throw null;
    }

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

    public final int o() {
        return this.zze.size();
    }

    public final long p() {
        return this.zzh;
    }

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

    public final Z0 s(int i) {
        return (Z0) this.zze.get(i);
    }

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

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