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: renamed from: T3.h, reason: case insensitive filesystem */
/* JADX INFO: loaded from: classes.dex */
public final class C0316h extends AbstractC0755v {
    public static final int AES_CTR_KEY_FIELD_NUMBER = 2;
    private static final C0316h 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 C0320l aesCtrKey_;
    private Q hmacKey_;
    private int version_;

    static {
        C0316h c0316h = new C0316h();
        DEFAULT_INSTANCE = c0316h;
        AbstractC0755v.t(C0316h.class, c0316h);
    }

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

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

    public static void w(C0316h c0316h) {
        c0316h.version_ = 0;
    }

    public static void x(C0316h c0316h, C0320l c0320l) {
        c0316h.getClass();
        c0320l.getClass();
        c0316h.aesCtrKey_ = c0320l;
    }

    public static void y(C0316h c0316h, Q q8) {
        c0316h.getClass();
        q8.getClass();
        c0316h.hmacKey_ = q8;
    }

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

    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\t\u0003\t", new Object[]{"version_", "aesCtrKey_", "hmacKey_"});
            case 3:
                return new C0316h();
            case 4:
                return new C0315g(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 (C0316h.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 C0320l z() {
        C0320l c0320l = this.aesCtrKey_;
        return c0320l == null ? C0320l.z() : c0320l;
    }
}
