package com.google.firebase.installations; import com.google.android.gms.ads.RequestConfiguration; import com.google.firebase.installations.g; /* loaded from: classes2.dex */ final class a extends g { /* renamed from: a, reason: collision with root package name */ private final String f5447a; /* renamed from: b, reason: collision with root package name */ private final long f5448b; /* renamed from: c, reason: collision with root package name */ private final long f5449c; static final class b extends g.a { /* renamed from: a, reason: collision with root package name */ private String f5450a; /* renamed from: b, reason: collision with root package name */ private Long f5451b; /* renamed from: c, reason: collision with root package name */ private Long f5452c; b() { } @Override // com.google.firebase.installations.g.a public g a() { String str = this.f5450a; String str2 = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED; if (str == null) { str2 = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED + " token"; } if (this.f5451b == null) { str2 = str2 + " tokenExpirationTimestamp"; } if (this.f5452c == null) { str2 = str2 + " tokenCreationTimestamp"; } if (str2.isEmpty()) { return new a(this.f5450a, this.f5451b.longValue(), this.f5452c.longValue()); } throw new IllegalStateException("Missing required properties:" + str2); } @Override // com.google.firebase.installations.g.a public g.a b(String str) { if (str == null) { throw new NullPointerException("Null token"); } this.f5450a = str; return this; } @Override // com.google.firebase.installations.g.a public g.a c(long j10) { this.f5452c = Long.valueOf(j10); return this; } @Override // com.google.firebase.installations.g.a public g.a d(long j10) { this.f5451b = Long.valueOf(j10); return this; } } @Override // com.google.firebase.installations.g public String b() { return this.f5447a; } @Override // com.google.firebase.installations.g public long c() { return this.f5449c; } @Override // com.google.firebase.installations.g public long d() { return this.f5448b; } public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof g)) { return false; } g gVar = (g) obj; return this.f5447a.equals(gVar.b()) && this.f5448b == gVar.d() && this.f5449c == gVar.c(); } public int hashCode() { int hashCode = (this.f5447a.hashCode() ^ 1000003) * 1000003; long j10 = this.f5448b; long j11 = this.f5449c; return ((hashCode ^ ((int) (j10 ^ (j10 >>> 32)))) * 1000003) ^ ((int) (j11 ^ (j11 >>> 32))); } public String toString() { return "InstallationTokenResult{token=" + this.f5447a + ", tokenExpirationTimestamp=" + this.f5448b + ", tokenCreationTimestamp=" + this.f5449c + "}"; } private a(String str, long j10, long j11) { this.f5447a = str; this.f5448b = j10; this.f5449c = j11; } }