package defpackage;

import defpackage.up9;

/* JADX INFO: loaded from: classes2.dex */
final class a50 extends up9 {
    public final String a;
    public final long b;
    public final up9.b c;

    public static final class b extends up9.a {
        public String a;
        public Long b;
        public up9.b c;

        @Override // up9.a
        public final up9 a() {
            String str = this.b == null ? " tokenExpirationTimestamp" : "";
            if (str.isEmpty()) {
                return new a50(this.a, this.b.longValue(), this.c);
            }
            throw new IllegalStateException("Missing required properties:".concat(str));
        }
    }

    public a50(String str, long j, up9.b bVar) {
        this.a = str;
        this.b = j;
        this.c = bVar;
    }

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

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

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

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof up9)) {
            return false;
        }
        up9 up9Var = (up9) obj;
        String str = this.a;
        if (str == null) {
            if (up9Var.c() != null) {
                return false;
            }
        } else if (!str.equals(up9Var.c())) {
            return false;
        }
        if (this.b != up9Var.d()) {
            return false;
        }
        up9.b bVar = this.c;
        return bVar == null ? up9Var.b() == null : bVar.equals(up9Var.b());
    }

    public final int hashCode() {
        String str = this.a;
        int iHashCode = str == null ? 0 : str.hashCode();
        long j = this.b;
        int i = (((iHashCode ^ 1000003) * 1000003) ^ ((int) ((j >>> 32) ^ j))) * 1000003;
        up9.b bVar = this.c;
        return (bVar != null ? bVar.hashCode() : 0) ^ i;
    }

    public final String toString() {
        return "TokenResult{token=" + this.a + ", tokenExpirationTimestamp=" + this.b + ", responseCode=" + this.c + "}";
    }
}
