package ra;

import com.google.crypto.tink.shaded.protobuf.ByteString;
import com.google.crypto.tink.shaded.protobuf.GeneratedMessageLite$MethodToInvoke;

/* JADX INFO: loaded from: classes2.dex */
public final class h extends com.google.crypto.tink.shaded.protobuf.x implements com.google.crypto.tink.shaded.protobuf.p0 {
    public static final int AES_CTR_KEY_FIELD_NUMBER = 2;
    private static final h DEFAULT_INSTANCE;
    public static final int HMAC_KEY_FIELD_NUMBER = 3;
    private static volatile com.google.crypto.tink.shaded.protobuf.v0 PARSER = null;
    public static final int VERSION_FIELD_NUMBER = 1;
    private l aesCtrKey_;
    private int bitField0_;
    private q0 hmacKey_;
    private int version_;

    static {
        h hVar = new h();
        DEFAULT_INSTANCE = hVar;
        com.google.crypto.tink.shaded.protobuf.x.z(h.class, hVar);
    }

    public static void D(h hVar, l lVar) {
        hVar.getClass();
        hVar.aesCtrKey_ = lVar;
        hVar.bitField0_ |= 1;
    }

    public static void E(h hVar, q0 q0Var) {
        hVar.getClass();
        hVar.hmacKey_ = q0Var;
        hVar.bitField0_ |= 2;
    }

    public static g I() {
        return (g) DEFAULT_INSTANCE.j();
    }

    public static h J(ByteString byteString, com.google.crypto.tink.shaded.protobuf.q qVar) {
        return (h) com.google.crypto.tink.shaded.protobuf.x.w(DEFAULT_INSTANCE, byteString, qVar);
    }

    public static com.google.crypto.tink.shaded.protobuf.v0 K() {
        return DEFAULT_INSTANCE.n();
    }

    public final l F() {
        l lVar = this.aesCtrKey_;
        return lVar == null ? l.F() : lVar;
    }

    public final q0 G() {
        q0 q0Var = this.hmacKey_;
        return q0Var == null ? q0.F() : q0Var;
    }

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

    @Override // com.google.crypto.tink.shaded.protobuf.x
    public final Object k(GeneratedMessageLite$MethodToInvoke generatedMessageLite$MethodToInvoke) {
        int iOrdinal = generatedMessageLite$MethodToInvoke.ordinal();
        if (iOrdinal == 0) {
            return (byte) 1;
        }
        if (iOrdinal == 2) {
            return new com.google.crypto.tink.shaded.protobuf.y0(DEFAULT_INSTANCE, "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u000b\u0002ဉ\u0000\u0003ဉ\u0001", new Object[]{"bitField0_", "version_", "aesCtrKey_", "hmacKey_"});
        }
        if (iOrdinal == 3) {
            return new h();
        }
        if (iOrdinal == 4) {
            return new g(DEFAULT_INSTANCE);
        }
        if (iOrdinal == 5) {
            return DEFAULT_INSTANCE;
        }
        if (iOrdinal != 6) {
            throw null;
        }
        com.google.crypto.tink.shaded.protobuf.v0 wVar = PARSER;
        if (wVar == null) {
            synchronized (h.class) {
                try {
                    wVar = PARSER;
                    if (wVar == null) {
                        wVar = new com.google.crypto.tink.shaded.protobuf.w();
                        PARSER = wVar;
                    }
                } finally {
                }
            }
        }
        return wVar;
    }
}
