package defpackage;

import defpackage.am1;

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

    public static final class b extends am1.f.a.AbstractC0004a {
        public String a;
        public String b;
        public String c;
        public String d;
        public String e;
        public String f;

        @Override // am1.f.a.AbstractC0004a
        public final am1.f.a a() {
            String str;
            String str2 = this.a;
            if (str2 != null && (str = this.b) != null) {
                return new g30(str2, str, this.c, this.d, this.e, this.f);
            }
            StringBuilder sb = new StringBuilder();
            if (this.a == null) {
                sb.append(" identifier");
            }
            if (this.b == null) {
                sb.append(" version");
            }
            throw new IllegalStateException(vw2.m("Missing required properties:", sb));
        }

        @Override // am1.f.a.AbstractC0004a
        public final am1.f.a.AbstractC0004a b(String str) {
            this.e = str;
            return this;
        }

        @Override // am1.f.a.AbstractC0004a
        public final am1.f.a.AbstractC0004a c(String str) {
            this.f = str;
            return this;
        }

        @Override // am1.f.a.AbstractC0004a
        public final am1.f.a.AbstractC0004a d(String str) {
            this.c = str;
            return this;
        }

        @Override // am1.f.a.AbstractC0004a
        public final am1.f.a.AbstractC0004a e(String str) {
            if (str == null) {
                throw new NullPointerException("Null identifier");
            }
            this.a = str;
            return this;
        }

        @Override // am1.f.a.AbstractC0004a
        public final am1.f.a.AbstractC0004a f(String str) {
            this.d = str;
            return this;
        }

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

    public g30(String str, String str2, String str3, String str4, String str5, String str6) {
        this.a = str;
        this.b = str2;
        this.c = str3;
        this.d = str4;
        this.e = str5;
        this.f = str6;
    }

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

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

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

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

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof am1.f.a)) {
            return false;
        }
        am1.f.a aVar = (am1.f.a) obj;
        if (!this.a.equals(aVar.e()) || !this.b.equals(aVar.h())) {
            return false;
        }
        String str = this.c;
        if (str == null) {
            if (aVar.d() != null) {
                return false;
            }
        } else if (!str.equals(aVar.d())) {
            return false;
        }
        if (aVar.g() != null) {
            return false;
        }
        String str2 = this.d;
        if (str2 == null) {
            if (aVar.f() != null) {
                return false;
            }
        } else if (!str2.equals(aVar.f())) {
            return false;
        }
        String str3 = this.e;
        if (str3 == null) {
            if (aVar.b() != null) {
                return false;
            }
        } else if (!str3.equals(aVar.b())) {
            return false;
        }
        String str4 = this.f;
        return str4 == null ? aVar.c() == null : str4.equals(aVar.c());
    }

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

    @Override // am1.f.a
    public final am1.f.a.b g() {
        return null;
    }

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

    public final int hashCode() {
        int iHashCode = (((this.a.hashCode() ^ 1000003) * 1000003) ^ this.b.hashCode()) * 1000003;
        String str = this.c;
        int iHashCode2 = (iHashCode ^ (str == null ? 0 : str.hashCode())) * (-721379959);
        String str2 = this.d;
        int iHashCode3 = (iHashCode2 ^ (str2 == null ? 0 : str2.hashCode())) * 1000003;
        String str3 = this.e;
        int iHashCode4 = (iHashCode3 ^ (str3 == null ? 0 : str3.hashCode())) * 1000003;
        String str4 = this.f;
        return iHashCode4 ^ (str4 != null ? str4.hashCode() : 0);
    }

    public final String toString() {
        StringBuilder sb = new StringBuilder("Application{identifier=");
        sb.append(this.a);
        sb.append(", version=");
        sb.append(this.b);
        sb.append(", displayVersion=");
        sb.append(this.c);
        sb.append(", organization=null, installationUuid=");
        sb.append(this.d);
        sb.append(", developmentPlatform=");
        sb.append(this.e);
        sb.append(", developmentPlatformVersion=");
        return n41.s(sb, this.f, "}");
    }
}
