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 p0 extends AbstractC0755v {
    private static final p0 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 q0 params_;
    private int version_;

    static {
        p0 p0Var = new p0();
        DEFAULT_INSTANCE = p0Var;
        AbstractC0755v.t(p0.class, p0Var);
    }

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

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

    public static void w(p0 p0Var) {
        p0Var.version_ = 0;
    }

    public static void x(p0 p0Var, q0 q0Var) {
        p0Var.getClass();
        q0Var.getClass();
        p0Var.params_ = q0Var;
    }

    @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 p0();
            case 4:
                return new o0(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 (p0.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 q0 y() {
        q0 q0Var = this.params_;
        return q0Var == null ? q0.w() : q0Var;
    }

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