discord-jadx/app/src/main/java/c/i/a/b/j/a.java

158 lines
4.4 KiB
Java

package c.i.a.b.j;
import androidx.annotation.Nullable;
import c.i.a.b.j.f;
import java.util.Map;
import java.util.Objects;
/* compiled from: AutoValue_EventInternal */
public final class a extends f {
public final String a;
public final Integer b;
/* renamed from: c reason: collision with root package name */
public final e f608c;
public final long d;
public final long e;
public final Map<String, String> f;
/* compiled from: AutoValue_EventInternal */
public static final class b extends f.a {
public String a;
public Integer b;
/* renamed from: c reason: collision with root package name */
public e f609c;
public Long d;
public Long e;
public Map<String, String> f;
@Override // c.i.a.b.j.f.a
public f b() {
String str = this.a == null ? " transportName" : "";
if (this.f609c == null) {
str = c.d.b.a.a.s(str, " encodedPayload");
}
if (this.d == null) {
str = c.d.b.a.a.s(str, " eventMillis");
}
if (this.e == null) {
str = c.d.b.a.a.s(str, " uptimeMillis");
}
if (this.f == null) {
str = c.d.b.a.a.s(str, " autoMetadata");
}
if (str.isEmpty()) {
return new a(this.a, this.b, this.f609c, this.d.longValue(), this.e.longValue(), this.f, null);
}
throw new IllegalStateException(c.d.b.a.a.s("Missing required properties:", str));
}
@Override // c.i.a.b.j.f.a
public Map<String, String> c() {
Map<String, String> map = this.f;
if (map != null) {
return map;
}
throw new IllegalStateException("Property \"autoMetadata\" has not been set");
}
public f.a d(e eVar) {
Objects.requireNonNull(eVar, "Null encodedPayload");
this.f609c = eVar;
return this;
}
public f.a e(long j) {
this.d = Long.valueOf(j);
return this;
}
public f.a f(String str) {
Objects.requireNonNull(str, "Null transportName");
this.a = str;
return this;
}
public f.a g(long j) {
this.e = Long.valueOf(j);
return this;
}
}
public a(String str, Integer num, e eVar, long j, long j2, Map map, C0075a aVar) {
this.a = str;
this.b = num;
this.f608c = eVar;
this.d = j;
this.e = j2;
this.f = map;
}
@Override // c.i.a.b.j.f
public Map<String, String> b() {
return this.f;
}
@Override // c.i.a.b.j.f
@Nullable
public Integer c() {
return this.b;
}
@Override // c.i.a.b.j.f
public e d() {
return this.f608c;
}
@Override // c.i.a.b.j.f
public long e() {
return this.d;
}
public boolean equals(Object obj) {
Integer num;
if (obj == this) {
return true;
}
if (!(obj instanceof f)) {
return false;
}
f fVar = (f) obj;
return this.a.equals(fVar.g()) && ((num = this.b) != null ? num.equals(fVar.c()) : fVar.c() == null) && this.f608c.equals(fVar.d()) && this.d == fVar.e() && this.e == fVar.h() && this.f.equals(fVar.b());
}
@Override // c.i.a.b.j.f
public String g() {
return this.a;
}
@Override // c.i.a.b.j.f
public long h() {
return this.e;
}
public int hashCode() {
int hashCode = (this.a.hashCode() ^ 1000003) * 1000003;
Integer num = this.b;
int hashCode2 = num == null ? 0 : num.hashCode();
long j = this.d;
long j2 = this.e;
return ((((((((hashCode ^ hashCode2) * 1000003) ^ this.f608c.hashCode()) * 1000003) ^ ((int) (j ^ (j >>> 32)))) * 1000003) ^ ((int) (j2 ^ (j2 >>> 32)))) * 1000003) ^ this.f.hashCode();
}
public String toString() {
StringBuilder K = c.d.b.a.a.K("EventInternal{transportName=");
K.append(this.a);
K.append(", code=");
K.append(this.b);
K.append(", encodedPayload=");
K.append(this.f608c);
K.append(", eventMillis=");
K.append(this.d);
K.append(", uptimeMillis=");
K.append(this.e);
K.append(", autoMetadata=");
return c.d.b.a.a.E(K, this.f, "}");
}
}