package r2; import com.google.android.gms.ads.RequestConfiguration; import java.util.Arrays; import r2.f; /* loaded from: classes.dex */ final class a extends f { /* renamed from: a, reason: collision with root package name */ private final Iterable f13619a; /* renamed from: b, reason: collision with root package name */ private final byte[] f13620b; static final class b extends f.a { /* renamed from: a, reason: collision with root package name */ private Iterable f13621a; /* renamed from: b, reason: collision with root package name */ private byte[] f13622b; b() { } @Override // r2.f.a public f a() { Iterable iterable = this.f13621a; String str = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED; if (iterable == null) { str = RequestConfiguration.MAX_AD_CONTENT_RATING_UNSPECIFIED + " events"; } if (str.isEmpty()) { return new a(this.f13621a, this.f13622b); } throw new IllegalStateException("Missing required properties:" + str); } @Override // r2.f.a public f.a b(Iterable iterable) { if (iterable == null) { throw new NullPointerException("Null events"); } this.f13621a = iterable; return this; } @Override // r2.f.a public f.a c(byte[] bArr) { this.f13622b = bArr; return this; } } @Override // r2.f public Iterable b() { return this.f13619a; } @Override // r2.f public byte[] c() { return this.f13620b; } public boolean equals(Object obj) { if (obj == this) { return true; } if (!(obj instanceof f)) { return false; } f fVar = (f) obj; if (this.f13619a.equals(fVar.b())) { if (Arrays.equals(this.f13620b, fVar instanceof a ? ((a) fVar).f13620b : fVar.c())) { return true; } } return false; } public int hashCode() { return ((this.f13619a.hashCode() ^ 1000003) * 1000003) ^ Arrays.hashCode(this.f13620b); } public String toString() { return "BackendRequest{events=" + this.f13619a + ", extras=" + Arrays.toString(this.f13620b) + "}"; } private a(Iterable iterable, byte[] bArr) { this.f13619a = iterable; this.f13620b = bArr; } }