package defpackage;

import defpackage.am1;

/* JADX INFO: loaded from: classes2.dex */
final class j30 extends am1.f.d {
    public final long a;
    public final String b;
    public final am1.f.d.a c;
    public final am1.f.d.c d;
    public final am1.f.d.AbstractC0017d e;
    public final am1.f.d.AbstractC0018f f;

    public static final class b extends am1.f.d.b {
        public long a;
        public String b;
        public am1.f.d.a c;
        public am1.f.d.c d;
        public am1.f.d.AbstractC0017d e;
        public am1.f.d.AbstractC0018f f;
        public byte g;

        @Override // am1.f.d.b
        public final am1.f.d a() {
            String str;
            am1.f.d.a aVar;
            am1.f.d.c cVar;
            if (this.g == 1 && (str = this.b) != null && (aVar = this.c) != null && (cVar = this.d) != null) {
                return new j30(this.a, str, aVar, cVar, this.e, this.f);
            }
            StringBuilder sb = new StringBuilder();
            if ((1 & this.g) == 0) {
                sb.append(" timestamp");
            }
            if (this.b == null) {
                sb.append(" type");
            }
            if (this.c == null) {
                sb.append(" app");
            }
            if (this.d == null) {
                sb.append(" device");
            }
            throw new IllegalStateException(vw2.m("Missing required properties:", sb));
        }

        @Override // am1.f.d.b
        public final am1.f.d.b b(am1.f.d.a aVar) {
            if (aVar == null) {
                throw new NullPointerException("Null app");
            }
            this.c = aVar;
            return this;
        }

        @Override // am1.f.d.b
        public final am1.f.d.b c(am1.f.d.c cVar) {
            if (cVar == null) {
                throw new NullPointerException("Null device");
            }
            this.d = cVar;
            return this;
        }

        @Override // am1.f.d.b
        public final am1.f.d.b d(am1.f.d.AbstractC0017d abstractC0017d) {
            this.e = abstractC0017d;
            return this;
        }

        @Override // am1.f.d.b
        public final am1.f.d.b e(am1.f.d.AbstractC0018f abstractC0018f) {
            this.f = abstractC0018f;
            return this;
        }

        @Override // am1.f.d.b
        public final am1.f.d.b f(long j) {
            this.a = j;
            this.g = (byte) (this.g | 1);
            return this;
        }

        @Override // am1.f.d.b
        public final am1.f.d.b g(String str) {
            if (str == null) {
                throw new NullPointerException("Null type");
            }
            this.b = str;
            return this;
        }
    }

    public j30(long j, String str, am1.f.d.a aVar, am1.f.d.c cVar, am1.f.d.AbstractC0017d abstractC0017d, am1.f.d.AbstractC0018f abstractC0018f) {
        this.a = j;
        this.b = str;
        this.c = aVar;
        this.d = cVar;
        this.e = abstractC0017d;
        this.f = abstractC0018f;
    }

    @Override // am1.f.d
    public final am1.f.d.a b() {
        return this.c;
    }

    @Override // am1.f.d
    public final am1.f.d.c c() {
        return this.d;
    }

    @Override // am1.f.d
    public final am1.f.d.AbstractC0017d d() {
        return this.e;
    }

    @Override // am1.f.d
    public final am1.f.d.AbstractC0018f e() {
        return this.f;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof am1.f.d)) {
            return false;
        }
        am1.f.d dVar = (am1.f.d) obj;
        if (this.a != dVar.f() || !this.b.equals(dVar.g()) || !this.c.equals(dVar.b()) || !this.d.equals(dVar.c())) {
            return false;
        }
        am1.f.d.AbstractC0017d abstractC0017d = this.e;
        if (abstractC0017d == null) {
            if (dVar.d() != null) {
                return false;
            }
        } else if (!abstractC0017d.equals(dVar.d())) {
            return false;
        }
        am1.f.d.AbstractC0018f abstractC0018f = this.f;
        return abstractC0018f == null ? dVar.e() == null : abstractC0018f.equals(dVar.e());
    }

    @Override // am1.f.d
    public final long f() {
        return this.a;
    }

    @Override // am1.f.d
    public final String g() {
        return this.b;
    }

    @Override // am1.f.d
    public final am1.f.d.b h() {
        b bVar = new b();
        bVar.a = this.a;
        bVar.b = this.b;
        bVar.c = this.c;
        bVar.d = this.d;
        bVar.e = this.e;
        bVar.f = this.f;
        bVar.g = (byte) 1;
        return bVar;
    }

    public final int hashCode() {
        long j = this.a;
        int iHashCode = (((((((((int) ((j >>> 32) ^ j)) ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003) ^ this.c.hashCode()) * 1000003) ^ this.d.hashCode()) * 1000003;
        am1.f.d.AbstractC0017d abstractC0017d = this.e;
        int iHashCode2 = (iHashCode ^ (abstractC0017d == null ? 0 : abstractC0017d.hashCode())) * 1000003;
        am1.f.d.AbstractC0018f abstractC0018f = this.f;
        return iHashCode2 ^ (abstractC0018f != null ? abstractC0018f.hashCode() : 0);
    }

    public final String toString() {
        return "Event{timestamp=" + this.a + ", type=" + this.b + ", app=" + this.c + ", device=" + this.d + ", log=" + this.e + ", rollouts=" + this.f + "}";
    }
}
