package q2; import com.google.android.gms.ads.RequestConfiguration; import java.util.Map; import q2.i; /* loaded from: classes.dex */ final class b extends i { /* renamed from: a, reason: collision with root package name */ private final String f13391a; /* renamed from: b, reason: collision with root package name */ private final Integer f13392b; /* renamed from: c, reason: collision with root package name */ private final h f13393c; /* renamed from: d, reason: collision with root package name */ private final long f13394d; /* renamed from: e, reason: collision with root package name */ private final long f13395e; /* renamed from: f, reason: collision with root package name */ private final Map f13396f; /* renamed from: q2.b$b, reason: collision with other inner class name */ static final class C0217b extends i.a { /* renamed from: a, reason: collision with root package name */ private String f13397a; /* renamed from: b, reason: collision with root package name */ private Integer f13398b; /* renamed from: c, reason: collision with root package name */ private h f13399c; /* renamed from: d, reason: collision with root package name */ private Long f13400d; /* renamed from: e, reason: collision with root package name */ private Long f13401e; /* renamed from: f, reason: collision with root package name */ private Map f13402f; C0217b() { } @Override // q2.i.a public i d() { String str = this.f13397a; String str2 = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED; if (str == null) { str2 = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED + " transportName"; } if (this.f13399c == null) { str2 = str2 + " encodedPayload"; } if (this.f13400d == null) { str2 = str2 + " eventMillis"; } if (this.f13401e == null) { str2 = str2 + " uptimeMillis"; } if (this.f13402f == null) { str2 = str2 + " autoMetadata"; } if (str2.isEmpty()) { return new b(this.f13397a, this.f13398b, this.f13399c, this.f13400d.longValue(), this.f13401e.longValue(), this.f13402f); } throw new IllegalStateException("Missing required properties:" + str2); } @Override // q2.i.a protected Map e() { Map map = this.f13402f; if (map != null) { return map; } throw new IllegalStateException("Property \"autoMetadata\" has not been set"); } @Override // q2.i.a protected i.a f(Map map) { if (map == null) { throw new NullPointerException("Null autoMetadata"); } this.f13402f = map; return this; } @Override // q2.i.a public i.a g(Integer num) { this.f13398b = num; return this; } @Override // q2.i.a public i.a h(h hVar) { if (hVar == null) { throw new NullPointerException("Null encodedPayload"); } this.f13399c = hVar; return this; } @Override // q2.i.a public i.a i(long j10) { this.f13400d = Long.valueOf(j10); return this; } @Override // q2.i.a public i.a j(String str) { if (str == null) { throw new NullPointerException("Null transportName"); } this.f13397a = str; return this; } @Override // q2.i.a public i.a k(long j10) { this.f13401e = Long.valueOf(j10); return this; } } @Override // q2.i protected Map c() { return this.f13396f; } @Override // q2.i public Integer d() { return this.f13392b; } @Override // q2.i public h e() { return this.f13393c; } public boolean equals(Object obj) { Integer num; if (obj == this) { return true; } if (!(obj instanceof i)) { return false; } i iVar = (i) obj; return this.f13391a.equals(iVar.j()) && ((num = this.f13392b) != null ? num.equals(iVar.d()) : iVar.d() == null) && this.f13393c.equals(iVar.e()) && this.f13394d == iVar.f() && this.f13395e == iVar.k() && this.f13396f.equals(iVar.c()); } @Override // q2.i public long f() { return this.f13394d; } public int hashCode() { int hashCode = (this.f13391a.hashCode() ^ 1000003) * 1000003; Integer num = this.f13392b; int hashCode2 = (((hashCode ^ (num == null ? 0 : num.hashCode())) * 1000003) ^ this.f13393c.hashCode()) * 1000003; long j10 = this.f13394d; int i10 = (hashCode2 ^ ((int) (j10 ^ (j10 >>> 32)))) * 1000003; long j11 = this.f13395e; return ((i10 ^ ((int) (j11 ^ (j11 >>> 32)))) * 1000003) ^ this.f13396f.hashCode(); } @Override // q2.i public String j() { return this.f13391a; } @Override // q2.i public long k() { return this.f13395e; } public String toString() { return "EventInternal{transportName=" + this.f13391a + ", code=" + this.f13392b + ", encodedPayload=" + this.f13393c + ", eventMillis=" + this.f13394d + ", uptimeMillis=" + this.f13395e + ", autoMetadata=" + this.f13396f + "}"; } private b(String str, Integer num, h hVar, long j10, long j11, Map map) { this.f13391a = str; this.f13392b = num; this.f13393c = hVar; this.f13394d = j10; this.f13395e = j11; this.f13396f = map; } }