package com.vungle.warren; import java.io.Serializable; import java.util.concurrent.atomic.AtomicLong; /* loaded from: classes2.dex */ public final class d implements Serializable { /* renamed from: a, reason: collision with root package name */ private final boolean f8080a; /* renamed from: b, reason: collision with root package name */ private final String f8081b; /* renamed from: c, reason: collision with root package name */ private final b8.a f8082c; /* renamed from: d, reason: collision with root package name */ private final int f8083d; /* renamed from: e, reason: collision with root package name */ private final long f8084e; /* renamed from: f, reason: collision with root package name */ public AtomicLong f8085f; public d(String str, int i10, long j10, boolean z10) { this.f8085f = new AtomicLong(0L); this.f8081b = str; this.f8082c = null; this.f8083d = i10; this.f8084e = j10; this.f8080a = z10; } public long a() { return this.f8084e; } public b8.a b() { return this.f8082c; } public String c() { b8.a aVar = this.f8082c; if (aVar == null) { return null; } return aVar.a(); } public String[] d() { if (b() != null) { return b().b(); } return null; } public boolean e() { return this.f8080a; } public boolean equals(Object obj) { if (this == obj) { return true; } if (obj == null || d.class != obj.getClass()) { return false; } d dVar = (d) obj; if (this.f8083d != dVar.f8083d || !this.f8081b.equals(dVar.f8081b)) { return false; } b8.a aVar = this.f8082c; b8.a aVar2 = dVar.f8082c; return aVar != null ? aVar.equals(aVar2) : aVar2 == null; } public String f() { return this.f8081b; } public int g() { return this.f8083d; } public int hashCode() { int hashCode = this.f8081b.hashCode() * 31; b8.a aVar = this.f8082c; return ((hashCode + (aVar != null ? aVar.hashCode() : 0)) * 31) + this.f8083d; } public String toString() { return "AdRequest{placementId='" + this.f8081b + "', adMarkup=" + this.f8082c + ", type=" + this.f8083d + ", adCount=" + this.f8084e + ", isExplicit=" + this.f8080a + '}'; } public d(String str, b8.a aVar, boolean z10) { this.f8085f = new AtomicLong(0L); this.f8081b = str; this.f8082c = aVar; this.f8083d = 0; this.f8084e = 1L; this.f8080a = z10; } public d(String str, boolean z10) { this(str, null, z10); } }