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

/* JADX INFO: loaded from: classes.dex */
public final class S0 extends AbstractC0609a2 {
    private static final S0 zzb;
    private int zzd;
    private int zze;
    private C0643h1 zzf;
    private C0643h1 zzg;
    private boolean zzh;

    static {
        S0 s02 = new S0();
        zzb = s02;
        AbstractC0609a2.j(S0.class, s02);
    }

    public static R0 o() {
        return (R0) zzb.e();
    }

    public static /* synthetic */ void r(S0 s02, int i) {
        s02.zzd |= 1;
        s02.zze = i;
    }

    public static /* synthetic */ void s(S0 s02, C0643h1 c0643h1) {
        s02.zzf = c0643h1;
        s02.zzd |= 2;
    }

    public static /* synthetic */ void t(S0 s02, boolean z8) {
        s02.zzd |= 8;
        s02.zzh = z8;
    }

    public static /* synthetic */ void u(S0 s02, C0643h1 c0643h1) {
        s02.zzg = c0643h1;
        s02.zzd |= 4;
    }

    @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\u0004\u0000\u0001\u0001\u0004\u0004\u0000\u0000\u0000\u0001င\u0000\u0002ဉ\u0001\u0003ဉ\u0002\u0004ဇ\u0003", new Object[]{"zzd", "zze", "zzf", "zzg", "zzh"});
        }
        if (i5 == 3) {
            return new S0();
        }
        if (i5 == 4) {
            return new R0(zzb);
        }
        if (i5 == 5) {
            return zzb;
        }
        throw null;
    }

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

    public final C0643h1 p() {
        C0643h1 c0643h1 = this.zzf;
        return c0643h1 == null ? C0643h1.s() : c0643h1;
    }

    public final C0643h1 q() {
        C0643h1 c0643h1 = this.zzg;
        return c0643h1 == null ? C0643h1.s() : c0643h1;
    }

    public final boolean v() {
        return this.zzh;
    }

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

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

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