package o;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.uY, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C2624uY extends DD {
    public static final int BOOLEAN_FIELD_NUMBER = 1;
    public static final int BYTES_FIELD_NUMBER = 8;
    private static final C2624uY DEFAULT_INSTANCE;
    public static final int DOUBLE_FIELD_NUMBER = 7;
    public static final int FLOAT_FIELD_NUMBER = 2;
    public static final int INTEGER_FIELD_NUMBER = 3;
    public static final int LONG_FIELD_NUMBER = 4;
    private static volatile PV PARSER = null;
    public static final int STRING_FIELD_NUMBER = 5;
    public static final int STRING_SET_FIELD_NUMBER = 6;
    private int valueCase_ = 0;
    private Object value_;

    static {
        C2624uY c2624uY = new C2624uY();
        DEFAULT_INSTANCE = c2624uY;
        DD.j(C2624uY.class, c2624uY);
    }

    public static C2529tY D() {
        return (C2529tY) ((BD) DEFAULT_INSTANCE.c(5));
    }

    public static void l(C2624uY c2624uY, long j) {
        c2624uY.valueCase_ = 4;
        c2624uY.value_ = Long.valueOf(j);
    }

    public static void m(C2624uY c2624uY, String str) {
        c2624uY.getClass();
        c2624uY.valueCase_ = 5;
        c2624uY.value_ = str;
    }

    public static void n(C2624uY c2624uY, C2434sY c2434sY) {
        c2624uY.getClass();
        c2624uY.value_ = c2434sY;
        c2624uY.valueCase_ = 6;
    }

    public static void o(C2624uY c2624uY, double d) {
        c2624uY.valueCase_ = 7;
        c2624uY.value_ = Double.valueOf(d);
    }

    public static void p(C2624uY c2624uY, C0109Ef c0109Ef) {
        c2624uY.getClass();
        c2624uY.valueCase_ = 8;
        c2624uY.value_ = c0109Ef;
    }

    public static void q(C2624uY c2624uY, boolean z) {
        c2624uY.valueCase_ = 1;
        c2624uY.value_ = Boolean.valueOf(z);
    }

    public static void r(C2624uY c2624uY, float f) {
        c2624uY.valueCase_ = 2;
        c2624uY.value_ = Float.valueOf(f);
    }

    public static void s(C2624uY c2624uY, int i) {
        c2624uY.valueCase_ = 3;
        c2624uY.value_ = Integer.valueOf(i);
    }

    public static C2624uY v() {
        return DEFAULT_INSTANCE;
    }

    public final String A() {
        return this.valueCase_ == 5 ? (String) this.value_ : "";
    }

    public final C2434sY B() {
        return this.valueCase_ == 6 ? (C2434sY) this.value_ : C2434sY.m();
    }

    public final int C() {
        switch (this.valueCase_) {
            case 0:
                return 9;
            case 1:
                return 1;
            case 2:
                return 2;
            case 3:
                return 3;
            case 4:
                return 4;
            case 5:
                return 5;
            case 6:
                return 6;
            case 7:
                return 7;
            case 8:
                return 8;
            default:
                return 0;
        }
    }

    @Override // o.DD
    public final Object c(int i) {
        PV cd;
        switch (AbstractC2462sn.w(i)) {
            case 0:
                return (byte) 1;
            case 1:
                return null;
            case 2:
                return new C1059e00(DEFAULT_INSTANCE, "\u0001\b\u0001\u0000\u0001\b\b\u0000\u0000\u0000\u0001:\u0000\u00024\u0000\u00037\u0000\u00045\u0000\u0005;\u0000\u0006<\u0000\u00073\u0000\b=\u0000", new Object[]{"value_", "valueCase_", C2434sY.class});
            case 3:
                return new C2624uY();
            case 4:
                return new C2529tY(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                PV pv = PARSER;
                if (pv != null) {
                    return pv;
                }
                synchronized (C2624uY.class) {
                    try {
                        cd = PARSER;
                        if (cd == null) {
                            cd = new CD();
                            PARSER = cd;
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                }
                return cd;
            default:
                throw new UnsupportedOperationException();
        }
    }

    public final boolean t() {
        if (this.valueCase_ == 1) {
            return ((Boolean) this.value_).booleanValue();
        }
        return false;
    }

    public final AbstractC0161Gf u() {
        return this.valueCase_ == 8 ? (AbstractC0161Gf) this.value_ : AbstractC0161Gf.m;
    }

    public final double w() {
        if (this.valueCase_ == 7) {
            return ((Double) this.value_).doubleValue();
        }
        return 0.0d;
    }

    public final float x() {
        if (this.valueCase_ == 2) {
            return ((Float) this.value_).floatValue();
        }
        return 0.0f;
    }

    public final int y() {
        if (this.valueCase_ == 3) {
            return ((Integer) this.value_).intValue();
        }
        return 0;
    }

    public final long z() {
        if (this.valueCase_ == 4) {
            return ((Long) this.value_).longValue();
        }
        return 0L;
    }
}
