package u6;

import androidx.annotation.Nullable;
import java.util.Arrays;

/* JADX INFO: loaded from: classes2.dex */
public final class p extends z {

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    public final long f33335a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    public final Integer f33336b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    public final long f33337c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    public final byte[] f33338d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    public final String f33339e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    public final long f33340f;

    /* JADX INFO: renamed from: g, reason: collision with root package name */
    public final d0 f33341g;

    private p(long j10, @Nullable Integer num, long j11, @Nullable byte[] bArr, @Nullable String str, long j12, @Nullable d0 d0Var) {
        this.f33335a = j10;
        this.f33336b = num;
        this.f33337c = j11;
        this.f33338d = bArr;
        this.f33339e = str;
        this.f33340f = j12;
        this.f33341g = d0Var;
    }

    public final boolean equals(Object obj) {
        Integer num;
        String str;
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof z)) {
            return false;
        }
        z zVar = (z) obj;
        if (this.f33335a == ((p) zVar).f33335a && ((num = this.f33336b) != null ? num.equals(zVar.getEventCode()) : zVar.getEventCode() == null)) {
            p pVar = (p) zVar;
            if (this.f33337c == pVar.f33337c) {
                if (Arrays.equals(this.f33338d, zVar instanceof p ? ((p) zVar).f33338d : zVar.getSourceExtension()) && ((str = this.f33339e) != null ? str.equals(zVar.getSourceExtensionJsonProto3()) : zVar.getSourceExtensionJsonProto3() == null) && this.f33340f == pVar.f33340f) {
                    d0 d0Var = this.f33341g;
                    if (d0Var == null) {
                        if (zVar.getNetworkConnectionInfo() == null) {
                            return true;
                        }
                    } else if (d0Var.equals(zVar.getNetworkConnectionInfo())) {
                        return true;
                    }
                }
            }
        }
        return false;
    }

    @Override // u6.z
    @Nullable
    public Integer getEventCode() {
        return this.f33336b;
    }

    @Override // u6.z
    @Nullable
    public d0 getNetworkConnectionInfo() {
        return this.f33341g;
    }

    @Override // u6.z
    @Nullable
    public byte[] getSourceExtension() {
        return this.f33338d;
    }

    @Override // u6.z
    @Nullable
    public String getSourceExtensionJsonProto3() {
        return this.f33339e;
    }

    public final int hashCode() {
        long j10 = this.f33335a;
        int i10 = (((int) (j10 ^ (j10 >>> 32))) ^ 1000003) * 1000003;
        Integer num = this.f33336b;
        int iHashCode = (i10 ^ (num == null ? 0 : num.hashCode())) * 1000003;
        long j11 = this.f33337c;
        int iHashCode2 = (((iHashCode ^ ((int) (j11 ^ (j11 >>> 32)))) * 1000003) ^ Arrays.hashCode(this.f33338d)) * 1000003;
        String str = this.f33339e;
        int iHashCode3 = (iHashCode2 ^ (str == null ? 0 : str.hashCode())) * 1000003;
        long j12 = this.f33340f;
        int i11 = (iHashCode3 ^ ((int) (j12 ^ (j12 >>> 32)))) * 1000003;
        d0 d0Var = this.f33341g;
        return i11 ^ (d0Var != null ? d0Var.hashCode() : 0);
    }

    public final String toString() {
        return "LogEvent{eventTimeMs=" + this.f33335a + ", eventCode=" + this.f33336b + ", eventUptimeMs=" + this.f33337c + ", sourceExtension=" + Arrays.toString(this.f33338d) + ", sourceExtensionJsonProto3=" + this.f33339e + ", timezoneOffsetSeconds=" + this.f33340f + ", networkConnectionInfo=" + this.f33341g + "}";
    }

    public /* synthetic */ p(long j10, Integer num, long j11, byte[] bArr, String str, long j12, d0 d0Var, int i10) {
        this(j10, num, j11, bArr, str, j12, d0Var);
    }
}
