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.C0478g;
import com.google.crypto.tink.shaded.protobuf.C0481j;
import com.google.crypto.tink.shaded.protobuf.C0485n;
import com.google.crypto.tink.shaded.protobuf.C0491u;
import java.io.ByteArrayInputStream;

/* JADX INFO: loaded from: classes.dex */
public final class N extends AbstractC0492v {
    private static final N DEFAULT_INSTANCE;
    public static final int ENCRYPTED_KEYSET_FIELD_NUMBER = 2;
    public static final int KEYSET_INFO_FIELD_NUMBER = 3;
    private static volatile com.google.crypto.tink.shaded.protobuf.W PARSER;
    private AbstractC0479h encryptedKeyset_ = AbstractC0479h.f5758l;
    private k0 keysetInfo_;

    static {
        N n5 = new N();
        DEFAULT_INSTANCE = n5;
        AbstractC0492v.t(N.class, n5);
    }

    public static N A(ByteArrayInputStream byteArrayInputStream, C0485n c0485n) throws com.google.crypto.tink.shaded.protobuf.B {
        AbstractC0492v abstractC0492vS = AbstractC0492v.s(DEFAULT_INSTANCE, new C0481j(byteArrayInputStream), c0485n);
        AbstractC0492v.g(abstractC0492vS);
        return (N) abstractC0492vS;
    }

    public static void w(N n5, C0478g c0478g) {
        n5.getClass();
        n5.encryptedKeyset_ = c0478g;
    }

    public static void x(N n5, k0 k0Var) {
        n5.getClass();
        n5.keysetInfo_ = k0Var;
    }

    public static M z() {
        return (M) DEFAULT_INSTANCE.h();
    }

    @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\u0002\u0003\u0002\u0000\u0000\u0000\u0002\n\u0003\t", new Object[]{"encryptedKeyset_", "keysetInfo_"});
            case 3:
                return new N();
            case 4:
                return new M(DEFAULT_INSTANCE);
            case 5:
                return DEFAULT_INSTANCE;
            case 6:
                com.google.crypto.tink.shaded.protobuf.W w5 = PARSER;
                if (w5 != null) {
                    return w5;
                }
                synchronized (N.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 AbstractC0479h y() {
        return this.encryptedKeyset_;
    }
}
