package defpackage;

import defpackage.wg5;
import java.util.ArrayList;
import java.util.List;

/* JADX INFO: loaded from: classes.dex */
final class k40 extends wg5 {
    public final long a;
    public final long b;
    public final g11 c;
    public final Integer d;
    public final String e;
    public final List f;
    public final jm7 g;

    public static final class b extends wg5.a {
        public Long a;
        public Long b;
        public g11 c;
        public Integer d;
        public String e;
        public ArrayList f;
        public jm7 g;

        @Override // wg5.a
        public final wg5 a() {
            String strConcat = this.a == null ? " requestTimeMs" : "";
            if (this.b == null) {
                strConcat = strConcat.concat(" requestUptimeMs");
            }
            if (strConcat.isEmpty()) {
                return new k40(this.a.longValue(), this.b.longValue(), this.c, this.d, this.e, this.f, this.g);
            }
            throw new IllegalStateException("Missing required properties:".concat(strConcat));
        }

        @Override // wg5.a
        public final wg5.a b(g11 g11Var) {
            this.c = g11Var;
            return this;
        }

        @Override // wg5.a
        public final wg5.a c(ArrayList arrayList) {
            this.f = arrayList;
            return this;
        }

        @Override // wg5.a
        public final wg5.a d(Integer num) {
            this.d = num;
            return this;
        }

        @Override // wg5.a
        public final wg5.a e(String str) {
            this.e = str;
            return this;
        }

        @Override // wg5.a
        public final wg5.a f() {
            this.g = jm7.a;
            return this;
        }

        @Override // wg5.a
        public final wg5.a g(long j) {
            this.a = Long.valueOf(j);
            return this;
        }

        @Override // wg5.a
        public final wg5.a h(long j) {
            this.b = Long.valueOf(j);
            return this;
        }
    }

    public k40(long j, long j2, g11 g11Var, Integer num, String str, ArrayList arrayList, jm7 jm7Var) {
        this.a = j;
        this.b = j2;
        this.c = g11Var;
        this.d = num;
        this.e = str;
        this.f = arrayList;
        this.g = jm7Var;
    }

    @Override // defpackage.wg5
    public final g11 b() {
        return this.c;
    }

    @Override // defpackage.wg5
    public final List c() {
        return this.f;
    }

    @Override // defpackage.wg5
    public final Integer d() {
        return this.d;
    }

    @Override // defpackage.wg5
    public final String e() {
        return this.e;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof wg5)) {
            return false;
        }
        wg5 wg5Var = (wg5) obj;
        if (this.a != wg5Var.g() || this.b != wg5Var.h()) {
            return false;
        }
        g11 g11Var = this.c;
        if (g11Var == null) {
            if (wg5Var.b() != null) {
                return false;
            }
        } else if (!g11Var.equals(wg5Var.b())) {
            return false;
        }
        Integer num = this.d;
        if (num == null) {
            if (wg5Var.d() != null) {
                return false;
            }
        } else if (!num.equals(wg5Var.d())) {
            return false;
        }
        String str = this.e;
        if (str == null) {
            if (wg5Var.e() != null) {
                return false;
            }
        } else if (!str.equals(wg5Var.e())) {
            return false;
        }
        List list = this.f;
        if (list == null) {
            if (wg5Var.c() != null) {
                return false;
            }
        } else if (!list.equals(wg5Var.c())) {
            return false;
        }
        jm7 jm7Var = this.g;
        return jm7Var == null ? wg5Var.f() == null : jm7Var.equals(wg5Var.f());
    }

    @Override // defpackage.wg5
    public final jm7 f() {
        return this.g;
    }

    @Override // defpackage.wg5
    public final long g() {
        return this.a;
    }

    @Override // defpackage.wg5
    public final long h() {
        return this.b;
    }

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

    public final String toString() {
        return "LogRequest{requestTimeMs=" + this.a + ", requestUptimeMs=" + this.b + ", clientInfo=" + this.c + ", logSource=" + this.d + ", logSourceName=" + this.e + ", logEvents=" + this.f + ", qosTier=" + this.g + "}";
    }
}
