package X3;

import com.google.crypto.tink.shaded.protobuf.AbstractC1261i;
import com.google.crypto.tink.shaded.protobuf.AbstractC1274w;
import com.google.crypto.tink.shaded.protobuf.C1267o;
import com.google.crypto.tink.shaded.protobuf.C1273v;
import m1.AbstractC2464a;

/* JADX INFO: loaded from: classes3.dex */
public final class T extends AbstractC1274w {
    private static final T DEFAULT_INSTANCE;
    public static final int KEY_SIZE_FIELD_NUMBER = 2;
    public static final int PARAMS_FIELD_NUMBER = 1;
    private static volatile com.google.crypto.tink.shaded.protobuf.X PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 3;
    private int keySize_;
    private V params_;
    private int version_;

    static {
        T t6 = new T();
        DEFAULT_INSTANCE = t6;
        AbstractC1274w.s(T.class, t6);
    }

    public static S A() {
        return (S) DEFAULT_INSTANCE.g();
    }

    public static T B(AbstractC1261i abstractC1261i, C1267o c1267o) {
        return (T) AbstractC1274w.q(DEFAULT_INSTANCE, abstractC1261i, c1267o);
    }

    public static void v(T t6, V v3) {
        t6.getClass();
        t6.params_ = v3;
    }

    public static void w(T t6, int i6) {
        t6.keySize_ = i6;
    }

    public static T x() {
        return DEFAULT_INSTANCE;
    }

    @Override // com.google.crypto.tink.shaded.protobuf.AbstractC1274w
    public final Object h(int i6) {
        com.google.crypto.tink.shaded.protobuf.X c1273v;
        switch (AbstractC2464a.c(i6)) {
            case 0:
                return (byte) 1;
            case 1:
                return null;
            case 2:
                return new com.google.crypto.tink.shaded.protobuf.b0(DEFAULT_INSTANCE, "\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\t\u0002\u000b\u0003\u000b", new Object[]{"params_", "keySize_", "version_"});
            case 3:
                return new T();
            case 4:
                return new S(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.crypto.tink.shaded.protobuf.X x6 = PARSER;
                if (x6 != null) {
                    return x6;
                }
                synchronized (T.class) {
                    try {
                        c1273v = PARSER;
                        if (c1273v == null) {
                            c1273v = new C1273v();
                            PARSER = c1273v;
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return c1273v;
            default:
                throw new UnsupportedOperationException();
        }
    }

    public final int y() {
        return this.keySize_;
    }

    public final V z() {
        V v3 = this.params_;
        return v3 == null ? V.x() : v3;
    }
}
