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: renamed from: F2.h, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0062h extends AbstractC0492v {
    public static final int AES_CTR_KEY_FIELD_NUMBER = 2;
    private static final C0062h DEFAULT_INSTANCE;
    public static final int HMAC_KEY_FIELD_NUMBER = 3;
    private static volatile com.google.crypto.tink.shaded.protobuf.W PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 1;
    private C0066l aesCtrKey_;
    private Q hmacKey_;
    private int version_;

    static {
        C0062h c0062h = new C0062h();
        DEFAULT_INSTANCE = c0062h;
        AbstractC0492v.t(C0062h.class, c0062h);
    }

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

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

    public static void w(C0062h c0062h) {
        c0062h.version_ = 0;
    }

    public static void x(C0062h c0062h, C0066l c0066l) {
        c0062h.getClass();
        c0066l.getClass();
        c0062h.aesCtrKey_ = c0066l;
    }

    public static void y(C0062h c0062h, Q q) {
        c0062h.getClass();
        q.getClass();
        c0062h.hmacKey_ = q;
    }

    public final Q A() {
        Q q = this.hmacKey_;
        return q == null ? Q.z() : q;
    }

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

    @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\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u000b\u0002\t\u0003\t", new Object[]{"version_", "aesCtrKey_", "hmacKey_"});
            case 3:
                return new C0062h();
            case 4:
                return new C0061g(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.crypto.tink.shaded.protobuf.W w5 = PARSER;
                if (w5 != null) {
                    return w5;
                }
                synchronized (C0062h.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 C0066l z() {
        C0066l c0066l = this.aesCtrKey_;
        return c0066l == null ? C0066l.z() : c0066l;
    }
}
