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.C0741g;
import com.google.crypto.tink.shaded.protobuf.C0744j;
import com.google.crypto.tink.shaded.protobuf.C0748n;
import com.google.crypto.tink.shaded.protobuf.C0754u;
import java.io.ByteArrayInputStream;
import u.AbstractC1563h;

/* JADX INFO: loaded from: classes.dex */
public final class N extends AbstractC0755v {
    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 AbstractC0742h encryptedKeyset_ = AbstractC0742h.f10496r;
    private k0 keysetInfo_;

    static {
        N n8 = new N();
        DEFAULT_INSTANCE = n8;
        AbstractC0755v.t(N.class, n8);
    }

    public static N A(ByteArrayInputStream byteArrayInputStream, C0748n c0748n) throws com.google.crypto.tink.shaded.protobuf.B {
        AbstractC0755v abstractC0755vS = AbstractC0755v.s(DEFAULT_INSTANCE, new C0744j(byteArrayInputStream), c0748n);
        AbstractC0755v.g(abstractC0755vS);
        return (N) abstractC0755vS;
    }

    public static void w(N n8, C0741g c0741g) {
        n8.getClass();
        n8.encryptedKeyset_ = c0741g;
    }

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

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

    @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\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 Z.g.STRING_SET_FIELD_NUMBER /* 6 */:
                com.google.crypto.tink.shaded.protobuf.W w4 = PARSER;
                if (w4 != null) {
                    return w4;
                }
                synchronized (N.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 AbstractC0742h y() {
        return this.encryptedKeyset_;
    }
}
