package u6;

import androidx.annotation.Nullable;
import com.google.android.datatransport.cct.internal.QosTier;
import com.google.firebase.encoders.annotations.Encodable;
import java.util.List;

/* JADX INFO: loaded from: classes2.dex */
public final class r extends b0 {

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

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

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

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

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

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

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

    private r(long j10, long j11, @Nullable x xVar, @Nullable Integer num, @Nullable String str, @Nullable List<z> list, @Nullable QosTier qosTier) {
        this.f33349a = j10;
        this.f33350b = j11;
        this.f33351c = xVar;
        this.f33352d = num;
        this.f33353e = str;
        this.f33354f = list;
        this.f33355g = qosTier;
    }

    public final boolean equals(Object obj) {
        x xVar;
        Integer num;
        String str;
        List list;
        if (obj == this) {
            return true;
        }
        if (!(obj instanceof b0)) {
            return false;
        }
        b0 b0Var = (b0) obj;
        if (this.f33349a == ((r) b0Var).f33349a && this.f33350b == ((r) b0Var).f33350b && ((xVar = this.f33351c) != null ? xVar.equals(b0Var.getClientInfo()) : b0Var.getClientInfo() == null) && ((num = this.f33352d) != null ? num.equals(b0Var.getLogSource()) : b0Var.getLogSource() == null) && ((str = this.f33353e) != null ? str.equals(b0Var.getLogSourceName()) : b0Var.getLogSourceName() == null) && ((list = this.f33354f) != null ? list.equals(b0Var.getLogEvents()) : b0Var.getLogEvents() == null)) {
            QosTier qosTier = this.f33355g;
            if (qosTier == null) {
                if (b0Var.getQosTier() == null) {
                    return true;
                }
            } else if (qosTier.equals(b0Var.getQosTier())) {
                return true;
            }
        }
        return false;
    }

    @Override // u6.b0
    @Nullable
    public x getClientInfo() {
        return this.f33351c;
    }

    @Override // u6.b0
    @Nullable
    @Encodable.Field(name = "logEvent")
    public List<z> getLogEvents() {
        return this.f33354f;
    }

    @Override // u6.b0
    @Nullable
    public Integer getLogSource() {
        return this.f33352d;
    }

    @Override // u6.b0
    @Nullable
    public String getLogSourceName() {
        return this.f33353e;
    }

    @Override // u6.b0
    @Nullable
    public QosTier getQosTier() {
        return this.f33355g;
    }

    public final int hashCode() {
        long j10 = this.f33349a;
        long j11 = this.f33350b;
        int i10 = (((((int) (j10 ^ (j10 >>> 32))) ^ 1000003) * 1000003) ^ ((int) ((j11 >>> 32) ^ j11))) * 1000003;
        x xVar = this.f33351c;
        int iHashCode = (i10 ^ (xVar == null ? 0 : xVar.hashCode())) * 1000003;
        Integer num = this.f33352d;
        int iHashCode2 = (iHashCode ^ (num == null ? 0 : num.hashCode())) * 1000003;
        String str = this.f33353e;
        int iHashCode3 = (iHashCode2 ^ (str == null ? 0 : str.hashCode())) * 1000003;
        List list = this.f33354f;
        int iHashCode4 = (iHashCode3 ^ (list == null ? 0 : list.hashCode())) * 1000003;
        QosTier qosTier = this.f33355g;
        return iHashCode4 ^ (qosTier != null ? qosTier.hashCode() : 0);
    }

    public final String toString() {
        return "LogRequest{requestTimeMs=" + this.f33349a + ", requestUptimeMs=" + this.f33350b + ", clientInfo=" + this.f33351c + ", logSource=" + this.f33352d + ", logSourceName=" + this.f33353e + ", logEvents=" + this.f33354f + ", qosTier=" + this.f33355g + "}";
    }

    public /* synthetic */ r(long j10, long j11, x xVar, Integer num, String str, List list, QosTier qosTier, int i10) {
        this(j10, j11, xVar, num, str, list, qosTier);
    }
}
