package o;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;

/* compiled from: r8-map-id-3b7cc9102578c509342fa2f0fabed2bfc72239cd258d579fc679bfcbc198b048 */
/* renamed from: o.Nb, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0338Nb {
    public final String a;
    public final Integer b;
    public final C0514Tv c;
    public final long d;
    public final long e;
    public final Map f;
    public final Integer g;
    public final String h;
    public final byte[] i;
    public final byte[] j;

    public C0338Nb(String str, Integer num, C0514Tv c0514Tv, long j, long j2, HashMap map, Integer num2, String str2, byte[] bArr, byte[] bArr2) {
        this.a = str;
        this.b = num;
        this.c = c0514Tv;
        this.d = j;
        this.e = j2;
        this.f = map;
        this.g = num2;
        this.h = str2;
        this.i = bArr;
        this.j = bArr2;
    }

    public final String a(String str) {
        String str2 = (String) this.f.get(str);
        return str2 == null ? "" : str2;
    }

    public final int b(String str) {
        String str2 = (String) this.f.get(str);
        if (str2 == null) {
            return 0;
        }
        return Integer.valueOf(str2).intValue();
    }

    public final C0312Mb c() {
        C0312Mb c0312Mb = new C0312Mb(0);
        String str = this.a;
        if (str == null) {
            throw new NullPointerException("Null transportName");
        }
        c0312Mb.b = str;
        c0312Mb.d = this.b;
        c0312Mb.e = this.g;
        c0312Mb.c = this.h;
        c0312Mb.j = this.i;
        c0312Mb.k = this.j;
        C0514Tv c0514Tv = this.c;
        if (c0514Tv == null) {
            throw new NullPointerException("Null encodedPayload");
        }
        c0312Mb.f = c0514Tv;
        c0312Mb.g = Long.valueOf(this.d);
        c0312Mb.h = Long.valueOf(this.e);
        c0312Mb.i = new HashMap(this.f);
        return c0312Mb;
    }

    public final boolean equals(Object obj) {
        Integer num;
        Integer num2;
        String str;
        if (obj == this) {
            return true;
        }
        if (obj instanceof C0338Nb) {
            C0338Nb c0338Nb = (C0338Nb) obj;
            String str2 = c0338Nb.h;
            Integer num3 = c0338Nb.g;
            Integer num4 = c0338Nb.b;
            if (this.a.equals(c0338Nb.a) && ((num = this.b) != null ? num.equals(num4) : num4 == null) && this.c.equals(c0338Nb.c) && this.d == c0338Nb.d && this.e == c0338Nb.e && this.f.equals(c0338Nb.f) && ((num2 = this.g) != null ? num2.equals(num3) : num3 == null) && ((str = this.h) != null ? str.equals(str2) : str2 == null) && Arrays.equals(this.i, c0338Nb.i) && Arrays.equals(this.j, c0338Nb.j)) {
                return true;
            }
        }
        return false;
    }

    public final int hashCode() {
        int iHashCode = (this.a.hashCode() ^ 1000003) * 1000003;
        Integer num = this.b;
        int iHashCode2 = (((iHashCode ^ (num == null ? 0 : num.hashCode())) * 1000003) ^ this.c.hashCode()) * 1000003;
        long j = this.d;
        int i = (iHashCode2 ^ ((int) (j ^ (j >>> 32)))) * 1000003;
        long j2 = this.e;
        int iHashCode3 = (((i ^ ((int) (j2 ^ (j2 >>> 32)))) * 1000003) ^ this.f.hashCode()) * 1000003;
        Integer num2 = this.g;
        int iHashCode4 = (iHashCode3 ^ (num2 == null ? 0 : num2.hashCode())) * 1000003;
        String str = this.h;
        return ((((iHashCode4 ^ (str != null ? str.hashCode() : 0)) * 1000003) ^ Arrays.hashCode(this.i)) * 1000003) ^ Arrays.hashCode(this.j);
    }

    public final String toString() {
        return "EventInternal{transportName=" + this.a + ", code=" + this.b + ", encodedPayload=" + this.c + ", eventMillis=" + this.d + ", uptimeMillis=" + this.e + ", autoMetadata=" + this.f + ", productId=" + this.g + ", pseudonymousId=" + this.h + ", experimentIdsClear=" + Arrays.toString(this.i) + ", experimentIdsEncrypted=" + Arrays.toString(this.j) + "}";
    }
}
