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.C0741g;
import com.google.crypto.tink.shaded.protobuf.C0748n;
import com.google.crypto.tink.shaded.protobuf.C0754u;
import u.AbstractC1563h;

/* JADX INFO: renamed from: T3.b, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0310b extends AbstractC0755v {
    private static final C0310b DEFAULT_INSTANCE;
    public static final int KEY_VALUE_FIELD_NUMBER = 2;
    public static final int PARAMS_FIELD_NUMBER = 3;
    private static volatile com.google.crypto.tink.shaded.protobuf.W PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 1;
    private AbstractC0742h keyValue_ = AbstractC0742h.f10496r;
    private C0314f params_;
    private int version_;

    static {
        C0310b c0310b = new C0310b();
        DEFAULT_INSTANCE = c0310b;
        AbstractC0755v.t(C0310b.class, c0310b);
    }

    public static C0309a C() {
        return (C0309a) DEFAULT_INSTANCE.h();
    }

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

    public static void w(C0310b c0310b) {
        c0310b.version_ = 0;
    }

    public static void x(C0310b c0310b, C0741g c0741g) {
        c0310b.getClass();
        c0310b.keyValue_ = c0741g;
    }

    public static void y(C0310b c0310b, C0314f c0314f) {
        c0310b.getClass();
        c0314f.getClass();
        c0310b.params_ = c0314f;
    }

    public final C0314f A() {
        C0314f c0314f = this.params_;
        return c0314f == null ? C0314f.x() : c0314f;
    }

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

    @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\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u000b\u0002\n\u0003\t", new Object[]{"version_", "keyValue_", "params_"});
            case 3:
                return new C0310b();
            case 4:
                return new C0309a(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 (C0310b.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 AbstractC0742h z() {
        return this.keyValue_;
    }
}
