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

import X.PBO;
import X.Q1J;
import com.bytedance.covode.number.Covode;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.measurement.dynamite.ModuleDescriptor;
import com.he.lynx.Helium;
import com.squareup.wire.FieldEncoding;
import com.squareup.wire.Message;
import com.squareup.wire.ProtoAdapter;
import com.squareup.wire.ProtoReader;
import com.squareup.wire.ProtoWriter;
import com.squareup.wire.WireField;

public final class KitEventBase extends Message<KitEventBase, Builder> {
    public static final ProtoAdapter<KitEventBase> ADAPTER = new ProtoAdapter_KitEventBase();
    public static final Long DEFAULT_CLIENT_SEQUENCE_ID = 0L;
    public static final Boolean DEFAULT_IS_APP_PRERELEASE = Boolean.FALSE;
    public static final Boolean DEFAULT_IS_FROM_REACT_NATIVE_PLUGIN = Boolean.FALSE;
    public static final Long DEFAULT_KIT_CLIENT_TIMESTAMP_MILLIS = 0L;
    public static final KitPluginType DEFAULT_KIT_PLUGIN_TYPE = KitPluginType.NO_PLUGIN;
    public static final KitType DEFAULT_KIT_VARIANT = KitType.UNKNOWN_KIT_TYPE;
    public static final Long DEFAULT_MAX_CLIENT_SEQUENCE_ID_ON_INSTANCE = 0L;
    public static final Boolean DEFAULT_RUNNING_IN_SIMULATOR = Boolean.FALSE;
    public static final Boolean DEFAULT_RUNNING_IN_TESTS = Boolean.FALSE;
    public static final Boolean DEFAULT_RUNNING_WITH_DEBUGGER_ATTACHED = Boolean.FALSE;
    public static final long serialVersionUID = 0;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#UINT64", tag = 9)
    public final Long client_sequence_id;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 4)
    public final String ip_address;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#BOOL", tag = 15)
    public final Boolean is_app_prerelease;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#BOOL", tag = 19)
    public final Boolean is_from_react_native_plugin;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 16)
    public final String kit_app_id;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#UINT64", tag = 8)
    public final Long kit_client_timestamp_millis;
    @WireField(adapter = "com.snapchat.kit.sdk.core.metrics.model.KitPluginType#ADAPTER", tag = 18)
    public final KitPluginType kit_plugin_type;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 17)
    public final String kit_session_id;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 3)
    public final String kit_user_agent;
    @WireField(adapter = "com.snapchat.kit.sdk.core.metrics.model.KitType#ADAPTER", tag = 6)
    public final KitType kit_variant;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 7)
    public final String kit_variant_version;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 2)
    public final String locale;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#UINT64", tag = 10)
    public final Long max_client_sequence_id_on_instance;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 1)
    public final String oauth_client_id;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 5)
    public final String os_minor_version;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#BOOL", tag = 14)
    public final Boolean running_in_simulator;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#BOOL", tag = 13)
    public final Boolean running_in_tests;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#BOOL", tag = 12)
    public final Boolean running_with_debugger_attached;
    @WireField(adapter = "com.squareup.wire.ProtoAdapter#STRING", tag = 11)
    public final String target_architecture;

    public static final class ProtoAdapter_KitEventBase extends ProtoAdapter<KitEventBase> {
        static {
            Covode.recordClassIndex(47525);
        }

        public ProtoAdapter_KitEventBase() {
            super(FieldEncoding.LENGTH_DELIMITED, KitEventBase.class);
        }

        public final KitEventBase redact(KitEventBase kitEventBase) {
            Builder newBuilder = kitEventBase.newBuilder();
            newBuilder.clearUnknownFields();
            return newBuilder.build();
        }

        public final int encodedSize(KitEventBase kitEventBase) {
            return ProtoAdapter.STRING.encodedSizeWithTag(1, kitEventBase.oauth_client_id) + ProtoAdapter.STRING.encodedSizeWithTag(2, kitEventBase.locale) + ProtoAdapter.STRING.encodedSizeWithTag(3, kitEventBase.kit_user_agent) + ProtoAdapter.STRING.encodedSizeWithTag(4, kitEventBase.ip_address) + ProtoAdapter.STRING.encodedSizeWithTag(5, kitEventBase.os_minor_version) + KitType.ADAPTER.encodedSizeWithTag(6, kitEventBase.kit_variant) + ProtoAdapter.STRING.encodedSizeWithTag(7, kitEventBase.kit_variant_version) + ProtoAdapter.UINT64.encodedSizeWithTag(8, kitEventBase.kit_client_timestamp_millis) + ProtoAdapter.UINT64.encodedSizeWithTag(9, kitEventBase.client_sequence_id) + ProtoAdapter.UINT64.encodedSizeWithTag(10, kitEventBase.max_client_sequence_id_on_instance) + ProtoAdapter.STRING.encodedSizeWithTag(11, kitEventBase.target_architecture) + ProtoAdapter.BOOL.encodedSizeWithTag(12, kitEventBase.running_with_debugger_attached) + ProtoAdapter.BOOL.encodedSizeWithTag(13, kitEventBase.running_in_tests) + ProtoAdapter.BOOL.encodedSizeWithTag(14, kitEventBase.running_in_simulator) + ProtoAdapter.BOOL.encodedSizeWithTag(15, kitEventBase.is_app_prerelease) + ProtoAdapter.STRING.encodedSizeWithTag(16, kitEventBase.kit_app_id) + ProtoAdapter.STRING.encodedSizeWithTag(17, kitEventBase.kit_session_id) + KitPluginType.ADAPTER.encodedSizeWithTag(18, kitEventBase.kit_plugin_type) + ProtoAdapter.BOOL.encodedSizeWithTag(19, kitEventBase.is_from_react_native_plugin) + kitEventBase.unknownFields().size();
        }

        public final KitEventBase decode(ProtoReader protoReader) {
            Builder builder = new Builder();
            long beginMessage = protoReader.beginMessage();
            while (true) {
                int nextTag = protoReader.nextTag();
                if (nextTag != -1) {
                    switch (nextTag) {
                        case 1:
                            builder.oauth_client_id((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case 2:
                            builder.locale((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case 3:
                            builder.kit_user_agent((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case 4:
                            builder.ip_address((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case 5:
                            builder.os_minor_version((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case 6:
                            try {
                                builder.kit_variant((KitType) KitType.ADAPTER.decode(protoReader));
                                break;
                            } catch (ProtoAdapter.EnumConstantNotFoundException e) {
                                builder.addUnknownField(nextTag, FieldEncoding.VARINT, Long.valueOf((long) e.value));
                                break;
                            }
                        case 7:
                            builder.kit_variant_version((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case Helium.AUDIO:
                            builder.kit_client_timestamp_millis((Long) ProtoAdapter.UINT64.decode(protoReader));
                            break;
                        case 9:
                            builder.client_sequence_id((Long) ProtoAdapter.UINT64.decode(protoReader));
                            break;
                        case 10:
                            builder.max_client_sequence_id_on_instance((Long) ProtoAdapter.UINT64.decode(protoReader));
                            break;
                        case 11:
                            builder.target_architecture((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case 12:
                            builder.running_with_debugger_attached((Boolean) ProtoAdapter.BOOL.decode(protoReader));
                            break;
                        case 13:
                            builder.running_in_tests((Boolean) ProtoAdapter.BOOL.decode(protoReader));
                            break;
                        case 14:
                            builder.running_in_simulator((Boolean) ProtoAdapter.BOOL.decode(protoReader));
                            break;
                        case ModuleDescriptor.MODULE_VERSION:
                            builder.is_app_prerelease((Boolean) ProtoAdapter.BOOL.decode(protoReader));
                            break;
                        case 16:
                            builder.kit_app_id((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case 17:
                            builder.kit_session_id((String) ProtoAdapter.STRING.decode(protoReader));
                            break;
                        case 18:
                            try {
                                builder.kit_plugin_type((KitPluginType) KitPluginType.ADAPTER.decode(protoReader));
                                break;
                            } catch (ProtoAdapter.EnumConstantNotFoundException e2) {
                                builder.addUnknownField(nextTag, FieldEncoding.VARINT, Long.valueOf((long) e2.value));
                                break;
                            }
                        case 19:
                            builder.is_from_react_native_plugin((Boolean) ProtoAdapter.BOOL.decode(protoReader));
                            break;
                        default:
                            FieldEncoding peekFieldEncoding = protoReader.peekFieldEncoding();
                            builder.addUnknownField(nextTag, peekFieldEncoding, peekFieldEncoding.rawProtoAdapter().decode(protoReader));
                            break;
                    }
                } else {
                    protoReader.endMessage(beginMessage);
                    return builder.build();
                }
            }
        }

        public final void encode(ProtoWriter protoWriter, KitEventBase kitEventBase) {
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 1, kitEventBase.oauth_client_id);
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 2, kitEventBase.locale);
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 3, kitEventBase.kit_user_agent);
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 4, kitEventBase.ip_address);
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 5, kitEventBase.os_minor_version);
            KitType.ADAPTER.encodeWithTag(protoWriter, 6, kitEventBase.kit_variant);
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 7, kitEventBase.kit_variant_version);
            ProtoAdapter.UINT64.encodeWithTag(protoWriter, 8, kitEventBase.kit_client_timestamp_millis);
            ProtoAdapter.UINT64.encodeWithTag(protoWriter, 9, kitEventBase.client_sequence_id);
            ProtoAdapter.UINT64.encodeWithTag(protoWriter, 10, kitEventBase.max_client_sequence_id_on_instance);
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 11, kitEventBase.target_architecture);
            ProtoAdapter.BOOL.encodeWithTag(protoWriter, 12, kitEventBase.running_with_debugger_attached);
            ProtoAdapter.BOOL.encodeWithTag(protoWriter, 13, kitEventBase.running_in_tests);
            ProtoAdapter.BOOL.encodeWithTag(protoWriter, 14, kitEventBase.running_in_simulator);
            ProtoAdapter.BOOL.encodeWithTag(protoWriter, 15, kitEventBase.is_app_prerelease);
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 16, kitEventBase.kit_app_id);
            ProtoAdapter.STRING.encodeWithTag(protoWriter, 17, kitEventBase.kit_session_id);
            KitPluginType.ADAPTER.encodeWithTag(protoWriter, 18, kitEventBase.kit_plugin_type);
            ProtoAdapter.BOOL.encodeWithTag(protoWriter, 19, kitEventBase.is_from_react_native_plugin);
            protoWriter.writeBytes(kitEventBase.unknownFields());
        }
    }

    static {
        Covode.recordClassIndex(47523);
    }

    public static final class Builder extends Message.Builder<KitEventBase, Builder> {
        public Long client_sequence_id;
        public String ip_address;
        public Boolean is_app_prerelease;
        public Boolean is_from_react_native_plugin;
        public String kit_app_id;
        public Long kit_client_timestamp_millis;
        public KitPluginType kit_plugin_type;
        public String kit_session_id;
        public String kit_user_agent;
        public KitType kit_variant;
        public String kit_variant_version;
        public String locale;
        public Long max_client_sequence_id_on_instance;
        public String oauth_client_id;
        public String os_minor_version;
        public Boolean running_in_simulator;
        public Boolean running_in_tests;
        public Boolean running_with_debugger_attached;
        public String target_architecture;

        static {
            Covode.recordClassIndex(47524);
        }

        public final KitEventBase build() {
            String str = this.oauth_client_id;
            String str2 = this.locale;
            String str3 = this.kit_user_agent;
            String str4 = this.ip_address;
            String str5 = this.os_minor_version;
            KitType kitType = this.kit_variant;
            String str6 = this.kit_variant_version;
            Long l = this.kit_client_timestamp_millis;
            Long l2 = this.client_sequence_id;
            Long l3 = this.max_client_sequence_id_on_instance;
            String str7 = this.target_architecture;
            Boolean bool = this.running_with_debugger_attached;
            Boolean bool2 = this.running_in_tests;
            Boolean bool3 = this.running_in_simulator;
            Boolean bool4 = this.is_app_prerelease;
            String str8 = this.kit_app_id;
            String str9 = this.kit_session_id;
            KitPluginType kitPluginType = this.kit_plugin_type;
            String str10 = str3;
            return new KitEventBase(str, str2, str10, str4, str5, kitType, str6, l, l2, l3, str7, bool, bool2, bool3, bool4, str8, str9, kitPluginType, this.is_from_react_native_plugin, buildUnknownFields());
        }

        public final Builder client_sequence_id(Long l) {
            this.client_sequence_id = l;
            return this;
        }

        public final Builder ip_address(String str) {
            this.ip_address = str;
            return this;
        }

        public final Builder is_app_prerelease(Boolean bool) {
            this.is_app_prerelease = bool;
            return this;
        }

        public final Builder is_from_react_native_plugin(Boolean bool) {
            this.is_from_react_native_plugin = bool;
            return this;
        }

        public final Builder kit_app_id(String str) {
            this.kit_app_id = str;
            return this;
        }

        public final Builder kit_client_timestamp_millis(Long l) {
            this.kit_client_timestamp_millis = l;
            return this;
        }

        public final Builder kit_plugin_type(KitPluginType kitPluginType) {
            this.kit_plugin_type = kitPluginType;
            return this;
        }

        public final Builder kit_session_id(String str) {
            this.kit_session_id = str;
            return this;
        }

        public final Builder kit_user_agent(String str) {
            this.kit_user_agent = str;
            return this;
        }

        public final Builder kit_variant(KitType kitType) {
            this.kit_variant = kitType;
            return this;
        }

        public final Builder kit_variant_version(String str) {
            this.kit_variant_version = str;
            return this;
        }

        public final Builder locale(String str) {
            this.locale = str;
            return this;
        }

        public final Builder max_client_sequence_id_on_instance(Long l) {
            this.max_client_sequence_id_on_instance = l;
            return this;
        }

        public final Builder oauth_client_id(String str) {
            this.oauth_client_id = str;
            return this;
        }

        public final Builder os_minor_version(String str) {
            this.os_minor_version = str;
            return this;
        }

        public final Builder running_in_simulator(Boolean bool) {
            this.running_in_simulator = bool;
            return this;
        }

        public final Builder running_in_tests(Boolean bool) {
            this.running_in_tests = bool;
            return this;
        }

        public final Builder running_with_debugger_attached(Boolean bool) {
            this.running_with_debugger_attached = bool;
            return this;
        }

        public final Builder target_architecture(String str) {
            this.target_architecture = str;
            return this;
        }
    }

    public final Builder newBuilder() {
        Builder builder = new Builder();
        builder.oauth_client_id = this.oauth_client_id;
        builder.locale = this.locale;
        builder.kit_user_agent = this.kit_user_agent;
        builder.ip_address = this.ip_address;
        builder.os_minor_version = this.os_minor_version;
        builder.kit_variant = this.kit_variant;
        builder.kit_variant_version = this.kit_variant_version;
        builder.kit_client_timestamp_millis = this.kit_client_timestamp_millis;
        builder.client_sequence_id = this.client_sequence_id;
        builder.max_client_sequence_id_on_instance = this.max_client_sequence_id_on_instance;
        builder.target_architecture = this.target_architecture;
        builder.running_with_debugger_attached = this.running_with_debugger_attached;
        builder.running_in_tests = this.running_in_tests;
        builder.running_in_simulator = this.running_in_simulator;
        builder.is_app_prerelease = this.is_app_prerelease;
        builder.kit_app_id = this.kit_app_id;
        builder.kit_session_id = this.kit_session_id;
        builder.kit_plugin_type = this.kit_plugin_type;
        builder.is_from_react_native_plugin = this.is_from_react_native_plugin;
        builder.addUnknownFields(unknownFields());
        return builder;
    }

    public final int hashCode() {
        int i;
        int i2;
        int i3;
        int i4;
        int i5;
        int i6;
        int i7;
        int i8;
        int i9;
        int i10;
        int i11;
        int i12;
        int i13;
        int i14;
        int i15;
        int i16;
        int i17;
        int i18;
        int i19 = this.hashCode;
        if (i19 != 0) {
            return i19;
        }
        int hashCode = unknownFields().hashCode() * 37;
        String str = this.oauth_client_id;
        int i20 = 0;
        if (str != null) {
            i = str.hashCode();
        } else {
            i = 0;
        }
        int i21 = (hashCode + i) * 37;
        String str2 = this.locale;
        if (str2 != null) {
            i2 = str2.hashCode();
        } else {
            i2 = 0;
        }
        int i22 = (i21 + i2) * 37;
        String str3 = this.kit_user_agent;
        if (str3 != null) {
            i3 = str3.hashCode();
        } else {
            i3 = 0;
        }
        int i23 = (i22 + i3) * 37;
        String str4 = this.ip_address;
        if (str4 != null) {
            i4 = str4.hashCode();
        } else {
            i4 = 0;
        }
        int i24 = (i23 + i4) * 37;
        String str5 = this.os_minor_version;
        if (str5 != null) {
            i5 = str5.hashCode();
        } else {
            i5 = 0;
        }
        int i25 = (i24 + i5) * 37;
        KitType kitType = this.kit_variant;
        if (kitType != null) {
            i6 = kitType.hashCode();
        } else {
            i6 = 0;
        }
        int i26 = (i25 + i6) * 37;
        String str6 = this.kit_variant_version;
        if (str6 != null) {
            i7 = str6.hashCode();
        } else {
            i7 = 0;
        }
        int i27 = (i26 + i7) * 37;
        Long l = this.kit_client_timestamp_millis;
        if (l != null) {
            i8 = l.hashCode();
        } else {
            i8 = 0;
        }
        int i28 = (i27 + i8) * 37;
        Long l2 = this.client_sequence_id;
        if (l2 != null) {
            i9 = l2.hashCode();
        } else {
            i9 = 0;
        }
        int i29 = (i28 + i9) * 37;
        Long l3 = this.max_client_sequence_id_on_instance;
        if (l3 != null) {
            i10 = l3.hashCode();
        } else {
            i10 = 0;
        }
        int i30 = (i29 + i10) * 37;
        String str7 = this.target_architecture;
        if (str7 != null) {
            i11 = str7.hashCode();
        } else {
            i11 = 0;
        }
        int i31 = (i30 + i11) * 37;
        Boolean bool = this.running_with_debugger_attached;
        if (bool != null) {
            i12 = bool.hashCode();
        } else {
            i12 = 0;
        }
        int i32 = (i31 + i12) * 37;
        Boolean bool2 = this.running_in_tests;
        if (bool2 != null) {
            i13 = bool2.hashCode();
        } else {
            i13 = 0;
        }
        int i33 = (i32 + i13) * 37;
        Boolean bool3 = this.running_in_simulator;
        if (bool3 != null) {
            i14 = bool3.hashCode();
        } else {
            i14 = 0;
        }
        int i34 = (i33 + i14) * 37;
        Boolean bool4 = this.is_app_prerelease;
        if (bool4 != null) {
            i15 = bool4.hashCode();
        } else {
            i15 = 0;
        }
        int i35 = (i34 + i15) * 37;
        String str8 = this.kit_app_id;
        if (str8 != null) {
            i16 = str8.hashCode();
        } else {
            i16 = 0;
        }
        int i36 = (i35 + i16) * 37;
        String str9 = this.kit_session_id;
        if (str9 != null) {
            i17 = str9.hashCode();
        } else {
            i17 = 0;
        }
        int i37 = (i36 + i17) * 37;
        KitPluginType kitPluginType = this.kit_plugin_type;
        if (kitPluginType != null) {
            i18 = kitPluginType.hashCode();
        } else {
            i18 = 0;
        }
        int i38 = (i37 + i18) * 37;
        Boolean bool5 = this.is_from_react_native_plugin;
        if (bool5 != null) {
            i20 = bool5.hashCode();
        }
        int i39 = i38 + i20;
        this.hashCode = i39;
        return i39;
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder();
        if (this.oauth_client_id != null) {
            sb.append(", oauth_client_id=");
            sb.append(this.oauth_client_id);
        }
        if (this.locale != null) {
            sb.append(", locale=");
            sb.append(this.locale);
        }
        if (this.kit_user_agent != null) {
            sb.append(", kit_user_agent=");
            sb.append(this.kit_user_agent);
        }
        if (this.ip_address != null) {
            sb.append(", ip_address=");
            sb.append(this.ip_address);
        }
        if (this.os_minor_version != null) {
            sb.append(", os_minor_version=");
            sb.append(this.os_minor_version);
        }
        if (this.kit_variant != null) {
            sb.append(", kit_variant=");
            sb.append(this.kit_variant);
        }
        if (this.kit_variant_version != null) {
            sb.append(", kit_variant_version=");
            sb.append(this.kit_variant_version);
        }
        if (this.kit_client_timestamp_millis != null) {
            sb.append(", kit_client_timestamp_millis=");
            sb.append(this.kit_client_timestamp_millis);
        }
        if (this.client_sequence_id != null) {
            sb.append(", client_sequence_id=");
            sb.append(this.client_sequence_id);
        }
        if (this.max_client_sequence_id_on_instance != null) {
            sb.append(", max_client_sequence_id_on_instance=");
            sb.append(this.max_client_sequence_id_on_instance);
        }
        if (this.target_architecture != null) {
            sb.append(", target_architecture=");
            sb.append(this.target_architecture);
        }
        if (this.running_with_debugger_attached != null) {
            sb.append(", running_with_debugger_attached=");
            sb.append(this.running_with_debugger_attached);
        }
        if (this.running_in_tests != null) {
            sb.append(", running_in_tests=");
            sb.append(this.running_in_tests);
        }
        if (this.running_in_simulator != null) {
            sb.append(", running_in_simulator=");
            sb.append(this.running_in_simulator);
        }
        if (this.is_app_prerelease != null) {
            sb.append(", is_app_prerelease=");
            sb.append(this.is_app_prerelease);
        }
        if (this.kit_app_id != null) {
            sb.append(", kit_app_id=");
            sb.append(this.kit_app_id);
        }
        if (this.kit_session_id != null) {
            sb.append(", kit_session_id=");
            sb.append(this.kit_session_id);
        }
        if (this.kit_plugin_type != null) {
            sb.append(", kit_plugin_type=");
            sb.append(this.kit_plugin_type);
        }
        if (this.is_from_react_native_plugin != null) {
            sb.append(", is_from_react_native_plugin=");
            sb.append(this.is_from_react_native_plugin);
        }
        sb.replace(0, 2, "KitEventBase{");
        sb.append('}');
        return sb.toString();
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof KitEventBase)) {
            return false;
        }
        KitEventBase kitEventBase = (KitEventBase) obj;
        if (!unknownFields().equals(kitEventBase.unknownFields()) || !PBO.LIZ(this.oauth_client_id, kitEventBase.oauth_client_id) || !PBO.LIZ(this.locale, kitEventBase.locale) || !PBO.LIZ(this.kit_user_agent, kitEventBase.kit_user_agent) || !PBO.LIZ(this.ip_address, kitEventBase.ip_address) || !PBO.LIZ(this.os_minor_version, kitEventBase.os_minor_version) || !PBO.LIZ(this.kit_variant, kitEventBase.kit_variant) || !PBO.LIZ(this.kit_variant_version, kitEventBase.kit_variant_version) || !PBO.LIZ(this.kit_client_timestamp_millis, kitEventBase.kit_client_timestamp_millis) || !PBO.LIZ(this.client_sequence_id, kitEventBase.client_sequence_id) || !PBO.LIZ(this.max_client_sequence_id_on_instance, kitEventBase.max_client_sequence_id_on_instance) || !PBO.LIZ(this.target_architecture, kitEventBase.target_architecture) || !PBO.LIZ(this.running_with_debugger_attached, kitEventBase.running_with_debugger_attached) || !PBO.LIZ(this.running_in_tests, kitEventBase.running_in_tests) || !PBO.LIZ(this.running_in_simulator, kitEventBase.running_in_simulator) || !PBO.LIZ(this.is_app_prerelease, kitEventBase.is_app_prerelease) || !PBO.LIZ(this.kit_app_id, kitEventBase.kit_app_id) || !PBO.LIZ(this.kit_session_id, kitEventBase.kit_session_id) || !PBO.LIZ(this.kit_plugin_type, kitEventBase.kit_plugin_type) || !PBO.LIZ(this.is_from_react_native_plugin, kitEventBase.is_from_react_native_plugin)) {
            return false;
        }
        return true;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public KitEventBase(java.lang.String r22, java.lang.String r23, java.lang.String r24, java.lang.String r25, java.lang.String r26, com.snapchat.kit.sdk.core.metrics.model.KitType r27, java.lang.String r28, java.lang.Long r29, java.lang.Long r30, java.lang.Long r31, java.lang.String r32, java.lang.Boolean r33, java.lang.Boolean r34, java.lang.Boolean r35, java.lang.Boolean r36, java.lang.String r37, java.lang.String r38, com.snapchat.kit.sdk.core.metrics.model.KitPluginType r39, java.lang.Boolean r40) {
        /*
            r21 = this;
            r0 = r21
            X.Q1J r20 = X.Q1J.EMPTY
            r16 = r37
            r15 = r36
            r14 = r35
            r6 = r27
            r17 = r38
            r5 = r26
            r19 = r40
            r2 = r23
            r4 = r25
            r18 = r39
            r1 = r22
            r3 = r24
            r7 = r28
            r8 = r29
            r9 = r30
            r10 = r31
            r11 = r32
            r12 = r33
            r13 = r34
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11, r12, r13, r14, r15, r16, r17, r18, r19, r20)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.snapchat.kit.sdk.core.metrics.model.KitEventBase.<init>(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, com.snapchat.kit.sdk.core.metrics.model.KitType, java.lang.String, java.lang.Long, java.lang.Long, java.lang.Long, java.lang.String, java.lang.Boolean, java.lang.Boolean, java.lang.Boolean, java.lang.Boolean, java.lang.String, java.lang.String, com.snapchat.kit.sdk.core.metrics.model.KitPluginType, java.lang.Boolean):void");
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public KitEventBase(String str, String str2, String str3, String str4, String str5, KitType kitType, String str6, Long l, Long l2, Long l3, String str7, Boolean bool, Boolean bool2, Boolean bool3, Boolean bool4, String str8, String str9, KitPluginType kitPluginType, Boolean bool5, Q1J q1j) {
        super(ADAPTER, q1j);
        this.oauth_client_id = str;
        this.locale = str2;
        this.kit_user_agent = str3;
        this.ip_address = str4;
        this.os_minor_version = str5;
        this.kit_variant = kitType;
        this.kit_variant_version = str6;
        this.kit_client_timestamp_millis = l;
        this.client_sequence_id = l2;
        this.max_client_sequence_id_on_instance = l3;
        this.target_architecture = str7;
        this.running_with_debugger_attached = bool;
        this.running_in_tests = bool2;
        this.running_in_simulator = bool3;
        this.is_app_prerelease = bool4;
        this.kit_app_id = str8;
        this.kit_session_id = str9;
        this.kit_plugin_type = kitPluginType;
        this.is_from_react_native_plugin = bool5;
    }
}
