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 BitmojiKitSearchBarConfiguration implements WireEnum {
    SEARCH_BAR_VISIBLE(0),
    SEARCH_BAR_HIDDEN(1);
    
    public static final ProtoAdapter<BitmojiKitSearchBarConfiguration> ADAPTER = null;
    public final int value;

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

    public static final class ProtoAdapter_BitmojiKitSearchBarConfiguration extends EnumAdapter<BitmojiKitSearchBarConfiguration> {
        static {
            Covode.recordClassIndex(47479);
        }

        public ProtoAdapter_BitmojiKitSearchBarConfiguration() {
            super(BitmojiKitSearchBarConfiguration.class);
        }

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

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

    public static BitmojiKitSearchBarConfiguration fromValue(int i) {
        if (i == 0) {
            return SEARCH_BAR_VISIBLE;
        }
        if (i != 1) {
            return null;
        }
        return SEARCH_BAR_HIDDEN;
    }

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