package jb;

import androidx.annotation.Nullable;
import com.google.firebase.installations.remote.TokenResult$ResponseCode;

/* JADX INFO: loaded from: classes2.dex */
public final class b extends f {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final String f28755a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final long f28756b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final TokenResult$ResponseCode f28757c;

    private b(@Nullable String str, long j10, @Nullable TokenResult$ResponseCode tokenResult$ResponseCode) {
        this.f28755a = str;
        this.f28756b = j10;
        this.f28757c = tokenResult$ResponseCode;
    }

    public final boolean equals(Object obj) {
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof f)) {
            return false;
        }
        f fVar = (f) obj;
        String str = this.f28755a;
        if (str != null ? str.equals(fVar.getToken()) : fVar.getToken() == null) {
            if (this.f28756b == ((b) fVar).f28756b) {
                TokenResult$ResponseCode tokenResult$ResponseCode = this.f28757c;
                if (tokenResult$ResponseCode == null) {
                    if (fVar.getResponseCode() == null) {
                        return true;
                    }
                } else if (tokenResult$ResponseCode.equals(fVar.getResponseCode())) {
                    return true;
                }
            }
        }
        return false;
    }

    @Override // jb.f
    @Nullable
    public TokenResult$ResponseCode getResponseCode() {
        return this.f28757c;
    }

    @Override // jb.f
    @Nullable
    public String getToken() {
        return this.f28755a;
    }

    public final int hashCode() {
        String str = this.f28755a;
        int iHashCode = str == null ? 0 : str.hashCode();
        long j10 = this.f28756b;
        int i10 = (((iHashCode ^ 1000003) * 1000003) ^ ((int) ((j10 >>> 32) ^ j10))) * 1000003;
        TokenResult$ResponseCode tokenResult$ResponseCode = this.f28757c;
        return (tokenResult$ResponseCode != null ? tokenResult$ResponseCode.hashCode() : 0) ^ i10;
    }

    public final String toString() {
        return "TokenResult{token=" + this.f28755a + ", tokenExpirationTimestamp=" + this.f28756b + ", responseCode=" + this.f28757c + "}";
    }

    public /* synthetic */ b(String str, long j10, TokenResult$ResponseCode tokenResult$ResponseCode, int i10) {
        this(str, j10, tokenResult$ResponseCode);
    }
}
