package T3;

import com.google.crypto.tink.shaded.protobuf.AbstractC0742h;
import com.google.crypto.tink.shaded.protobuf.AbstractC0755v;
import com.google.crypto.tink.shaded.protobuf.C0748n;
import com.google.crypto.tink.shaded.protobuf.C0754u;
import u.AbstractC1563h;

/* JADX INFO: loaded from: classes.dex */
public final class m0 extends AbstractC0755v {
    private static final m0 DEFAULT_INSTANCE;
    public static final int PARAMS_FIELD_NUMBER = 2;
    private static volatile com.google.crypto.tink.shaded.protobuf.W PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 1;
    private n0 params_;
    private int version_;

    static {
        m0 m0Var = new m0();
        DEFAULT_INSTANCE = m0Var;
        AbstractC0755v.t(m0.class, m0Var);
    }

    public static l0 A() {
        return (l0) DEFAULT_INSTANCE.h();
    }

    public static m0 B(AbstractC0742h abstractC0742h, C0748n c0748n) {
        return (m0) AbstractC0755v.r(DEFAULT_INSTANCE, abstractC0742h, c0748n);
    }

    public static void w(m0 m0Var) {
        m0Var.version_ = 0;
    }

    public static void x(m0 m0Var, n0 n0Var) {
        m0Var.getClass();
        n0Var.getClass();
        m0Var.params_ = n0Var;
    }

    @Override // com.google.crypto.tink.shaded.protobuf.AbstractC0755v
    public final Object i(int i) {
        com.google.crypto.tink.shaded.protobuf.W c0754u;
        switch (AbstractC1563h.c(i)) {
            case n4.u0.f15495q /* 0 */:
                return (byte) 1;
            case 1:
                return null;
            case 2:
                return new com.google.crypto.tink.shaded.protobuf.a0(DEFAULT_INSTANCE, "\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u000b\u0002\t", new Object[]{"version_", "params_"});
            case 3:
                return new m0();
            case 4:
                return new l0(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case Z.g.STRING_SET_FIELD_NUMBER /* 6 */:
                com.google.crypto.tink.shaded.protobuf.W w4 = PARSER;
                if (w4 != null) {
                    return w4;
                }
                synchronized (m0.class) {
                    try {
                        c0754u = PARSER;
                        if (c0754u == null) {
                            c0754u = new C0754u();
                            PARSER = c0754u;
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return c0754u;
            default:
                throw new UnsupportedOperationException();
        }
    }

    public final n0 y() {
        n0 n0Var = this.params_;
        return n0Var == null ? n0.w() : n0Var;
    }

    public final int z() {
        return this.version_;
    }
}
