package ib;

import androidx.annotation.Nullable;
import com.google.android.gms.measurement.internal.u1;
import com.google.firebase.installations.local.PersistedInstallation$RegistrationStatus;

/* JADX INFO: loaded from: classes2.dex */
public final class a extends d {

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

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public PersistedInstallation$RegistrationStatus f26593b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public String f26594c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public String f26595d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public Long f26596e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public Long f26597f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public String f26598g;

    @Override // ib.d
    public final b a() {
        String strJ = this.f26593b == null ? " registrationStatus" : "";
        if (this.f26596e == null) {
            strJ = strJ.concat(" expiresInSecs");
        }
        if (this.f26597f == null) {
            strJ = u1.j(strJ, " tokenCreationEpochInSecs");
        }
        if (strJ.isEmpty()) {
            return new b(this.f26592a, this.f26593b, this.f26594c, this.f26595d, this.f26596e.longValue(), this.f26597f.longValue(), this.f26598g, 0);
        }
        throw new IllegalStateException("Missing required properties:".concat(strJ));
    }

    @Override // ib.d
    public final a b(PersistedInstallation$RegistrationStatus persistedInstallation$RegistrationStatus) {
        if (persistedInstallation$RegistrationStatus == null) {
            throw new NullPointerException("Null registrationStatus");
        }
        this.f26593b = persistedInstallation$RegistrationStatus;
        return this;
    }

    @Override // ib.d
    public d setAuthToken(@Nullable String str) {
        this.f26594c = str;
        return this;
    }

    @Override // ib.d
    public d setFisError(@Nullable String str) {
        this.f26598g = str;
        return this;
    }

    @Override // ib.d
    public d setRefreshToken(@Nullable String str) {
        this.f26595d = str;
        return this;
    }
}
