package F2;

import com.google.crypto.tink.shaded.protobuf.AbstractC0479h;
import com.google.crypto.tink.shaded.protobuf.AbstractC0492v;
import com.google.crypto.tink.shaded.protobuf.C0485n;
import com.google.crypto.tink.shaded.protobuf.C0491u;

/* JADX INFO: loaded from: classes.dex */
public final class H extends AbstractC0492v {
    private static final H DEFAULT_INSTANCE;
    public static final int KEY_SIZE_FIELD_NUMBER = 1;
    private static volatile com.google.crypto.tink.shaded.protobuf.W PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 2;
    private int keySize_;
    private int version_;

    static {
        H h3 = new H();
        DEFAULT_INSTANCE = h3;
        AbstractC0492v.t(H.class, h3);
    }

    public static void w(H h3) {
        h3.keySize_ = 64;
    }

    public static G y() {
        return (G) DEFAULT_INSTANCE.h();
    }

    public static H z(AbstractC0479h abstractC0479h, C0485n c0485n) {
        return (H) AbstractC0492v.r(DEFAULT_INSTANCE, abstractC0479h, c0485n);
    }

    @Override // com.google.crypto.tink.shaded.protobuf.AbstractC0492v
    public final Object i(int i) {
        com.google.crypto.tink.shaded.protobuf.W c0491u;
        switch (u.e.c(i)) {
            case 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\u000b", new Object[]{"keySize_", "version_"});
            case 3:
                return new H();
            case 4:
                return new G(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.crypto.tink.shaded.protobuf.W w5 = PARSER;
                if (w5 != null) {
                    return w5;
                }
                synchronized (H.class) {
                    try {
                        c0491u = PARSER;
                        if (c0491u == null) {
                            c0491u = new C0491u();
                            PARSER = c0491u;
                        }
                    } catch (Throwable th) {
                        throw th;
                    }
                    break;
                }
                return c0491u;
            default:
                throw new UnsupportedOperationException();
        }
    }

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