package hi;

import hi.t;
import java.util.Arrays;

/* loaded from: classes.dex */
final class j extends t {

    /* renamed from: a, reason: collision with root package name */
    private final long f21806a;

    /* renamed from: b, reason: collision with root package name */
    private final Integer f21807b;

    /* renamed from: c, reason: collision with root package name */
    private final p f21808c;

    /* renamed from: d, reason: collision with root package name */
    private final long f21809d;

    /* renamed from: e, reason: collision with root package name */
    private final byte[] f21810e;

    /* renamed from: f, reason: collision with root package name */
    private final String f21811f;

    /* renamed from: g, reason: collision with root package name */
    private final long f21812g;

    /* renamed from: h, reason: collision with root package name */
    private final w f21813h;

    /* renamed from: i, reason: collision with root package name */
    private final q f21814i;

    /* loaded from: classes.dex */
    static final class b extends t.a {

        /* renamed from: a, reason: collision with root package name */
        private Long f21815a;

        /* renamed from: b, reason: collision with root package name */
        private Integer f21816b;

        /* renamed from: c, reason: collision with root package name */
        private p f21817c;

        /* renamed from: d, reason: collision with root package name */
        private Long f21818d;

        /* renamed from: e, reason: collision with root package name */
        private byte[] f21819e;

        /* renamed from: f, reason: collision with root package name */
        private String f21820f;

        /* renamed from: g, reason: collision with root package name */
        private Long f21821g;

        /* renamed from: h, reason: collision with root package name */
        private w f21822h;

        /* renamed from: i, reason: collision with root package name */
        private q f21823i;

        @Override // hi.t.a
        public t a() {
            String str = "";
            if (this.f21815a == null) {
                str = " eventTimeMs";
            }
            if (this.f21818d == null) {
                str = str + " eventUptimeMs";
            }
            if (this.f21821g == null) {
                str = str + " timezoneOffsetSeconds";
            }
            if (str.isEmpty()) {
                return new j(this.f21815a.longValue(), this.f21816b, this.f21817c, this.f21818d.longValue(), this.f21819e, this.f21820f, this.f21821g.longValue(), this.f21822h, this.f21823i);
            }
            throw new IllegalStateException("Missing required properties:" + str);
        }

        @Override // hi.t.a
        public t.a b(p pVar) {
            this.f21817c = pVar;
            return this;
        }

        @Override // hi.t.a
        public t.a c(Integer num) {
            this.f21816b = num;
            return this;
        }

        @Override // hi.t.a
        public t.a d(long j10) {
            this.f21815a = Long.valueOf(j10);
            return this;
        }

        @Override // hi.t.a
        public t.a e(long j10) {
            this.f21818d = Long.valueOf(j10);
            return this;
        }

        @Override // hi.t.a
        public t.a f(q qVar) {
            this.f21823i = qVar;
            return this;
        }

        @Override // hi.t.a
        public t.a g(w wVar) {
            this.f21822h = wVar;
            return this;
        }

        @Override // hi.t.a
        t.a h(byte[] bArr) {
            this.f21819e = bArr;
            return this;
        }

        @Override // hi.t.a
        t.a i(String str) {
            this.f21820f = str;
            return this;
        }

        @Override // hi.t.a
        public t.a j(long j10) {
            this.f21821g = Long.valueOf(j10);
            return this;
        }
    }

    @Override // hi.t
    public p b() {
        return this.f21808c;
    }

    @Override // hi.t
    public Integer c() {
        return this.f21807b;
    }

    @Override // hi.t
    public long d() {
        return this.f21806a;
    }

    @Override // hi.t
    public long e() {
        return this.f21809d;
    }

    public boolean equals(Object obj) {
        Integer num;
        p pVar;
        String str;
        w wVar;
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof t)) {
            return false;
        }
        t tVar = (t) obj;
        if (this.f21806a == tVar.d() && ((num = this.f21807b) != null ? num.equals(tVar.c()) : tVar.c() == null) && ((pVar = this.f21808c) != null ? pVar.equals(tVar.b()) : tVar.b() == null) && this.f21809d == tVar.e()) {
            if (Arrays.equals(this.f21810e, tVar instanceof j ? ((j) tVar).f21810e : tVar.h()) && ((str = this.f21811f) != null ? str.equals(tVar.i()) : tVar.i() == null) && this.f21812g == tVar.j() && ((wVar = this.f21813h) != null ? wVar.equals(tVar.g()) : tVar.g() == null)) {
                q qVar = this.f21814i;
                if (qVar == null) {
                    if (tVar.f() == null) {
                        return true;
                    }
                } else if (qVar.equals(tVar.f())) {
                    return true;
                }
            }
        }
        return false;
    }

    @Override // hi.t
    public q f() {
        return this.f21814i;
    }

    @Override // hi.t
    public w g() {
        return this.f21813h;
    }

    @Override // hi.t
    public byte[] h() {
        return this.f21810e;
    }

    public int hashCode() {
        long j10 = this.f21806a;
        int i10 = (((int) (j10 ^ (j10 >>> 32))) ^ 1000003) * 1000003;
        Integer num = this.f21807b;
        int hashCode = (i10 ^ (num == null ? 0 : num.hashCode())) * 1000003;
        p pVar = this.f21808c;
        int hashCode2 = pVar == null ? 0 : pVar.hashCode();
        long j11 = this.f21809d;
        int hashCode3 = (((((hashCode ^ hashCode2) * 1000003) ^ ((int) (j11 ^ (j11 >>> 32)))) * 1000003) ^ Arrays.hashCode(this.f21810e)) * 1000003;
        String str = this.f21811f;
        int hashCode4 = str == null ? 0 : str.hashCode();
        long j12 = this.f21812g;
        int i11 = (((hashCode3 ^ hashCode4) * 1000003) ^ ((int) ((j12 >>> 32) ^ j12))) * 1000003;
        w wVar = this.f21813h;
        int hashCode5 = (i11 ^ (wVar == null ? 0 : wVar.hashCode())) * 1000003;
        q qVar = this.f21814i;
        return hashCode5 ^ (qVar != null ? qVar.hashCode() : 0);
    }

    @Override // hi.t
    public String i() {
        return this.f21811f;
    }

    @Override // hi.t
    public long j() {
        return this.f21812g;
    }

    public String toString() {
        return "LogEvent{eventTimeMs=" + this.f21806a + ", eventCode=" + this.f21807b + ", complianceData=" + this.f21808c + ", eventUptimeMs=" + this.f21809d + ", sourceExtension=" + Arrays.toString(this.f21810e) + ", sourceExtensionJsonProto3=" + this.f21811f + ", timezoneOffsetSeconds=" + this.f21812g + ", networkConnectionInfo=" + this.f21813h + ", experimentIds=" + this.f21814i + "}";
    }

    private j(long j10, Integer num, p pVar, long j11, byte[] bArr, String str, long j12, w wVar, q qVar) {
        this.f21806a = j10;
        this.f21807b = num;
        this.f21808c = pVar;
        this.f21809d = j11;
        this.f21810e = bArr;
        this.f21811f = str;
        this.f21812g = j12;
        this.f21813h = wVar;
        this.f21814i = qVar;
    }
}
