package com.snapchat.kit.sdk.core.metrics.model;

import com.bytedance.covode.number.Covode;
import com.squareup.wire.EnumAdapter;
import com.squareup.wire.ProtoAdapter;
import com.squareup.wire.WireEnum;

public enum LoginRoute implements WireEnum {
    UNKNOWN_LOGIN_ROUTE(0),
    LOGIN_ROUTE(1),
    VERIFY_ROUTE(2);
    
    public static final ProtoAdapter<LoginRoute> ADAPTER = null;
    public final int value;

    public final int getValue() {
        return this.value;
    }

    public static final class ProtoAdapter_LoginRoute extends EnumAdapter<LoginRoute> {
        static {
            Covode.recordClassIndex(47546);
        }

        public ProtoAdapter_LoginRoute() {
            super(LoginRoute.class);
        }

        public final LoginRoute fromValue(int i) {
            return LoginRoute.fromValue(i);
        }
    }

    /* access modifiers changed from: public */
    static {
        ADAPTER = new ProtoAdapter_LoginRoute();
    }

    public static LoginRoute fromValue(int i) {
        if (i == 0) {
            return UNKNOWN_LOGIN_ROUTE;
        }
        if (i == 1) {
            return LOGIN_ROUTE;
        }
        if (i != 2) {
            return null;
        }
        return VERIFY_ROUTE;
    }

    /* access modifiers changed from: public */
    LoginRoute(int i) {
        this.value = i;
    }
}
