package com.google.firebase.sessions.settings;

import kotlin.jvm.internal.o;

/* JADX INFO: loaded from: classes3.dex */
public final class SessionConfigs {
    private final Integer cacheDuration;
    private final Long cacheUpdatedTime;
    private final Boolean sessionEnabled;
    private final Integer sessionRestartTimeout;
    private final Double sessionSamplingRate;

    public SessionConfigs(Boolean bool, Double d6, Integer num, Integer num2, Long l) {
        this.sessionEnabled = bool;
        this.sessionSamplingRate = d6;
        this.sessionRestartTimeout = num;
        this.cacheDuration = num2;
        this.cacheUpdatedTime = l;
    }

    public static /* synthetic */ SessionConfigs copy$default(SessionConfigs sessionConfigs, Boolean bool, Double d6, Integer num, Integer num2, Long l, int i6, Object obj) {
        if ((i6 & 1) != 0) {
            bool = sessionConfigs.sessionEnabled;
        }
        if ((i6 & 2) != 0) {
            d6 = sessionConfigs.sessionSamplingRate;
        }
        if ((i6 & 4) != 0) {
            num = sessionConfigs.sessionRestartTimeout;
        }
        if ((i6 & 8) != 0) {
            num2 = sessionConfigs.cacheDuration;
        }
        if ((i6 & 16) != 0) {
            l = sessionConfigs.cacheUpdatedTime;
        }
        Long l6 = l;
        Integer num3 = num;
        return sessionConfigs.copy(bool, d6, num3, num2, l6);
    }

    public final Boolean component1() {
        return this.sessionEnabled;
    }

    public final Double component2() {
        return this.sessionSamplingRate;
    }

    public final Integer component3() {
        return this.sessionRestartTimeout;
    }

    public final Integer component4() {
        return this.cacheDuration;
    }

    public final Long component5() {
        return this.cacheUpdatedTime;
    }

    public final SessionConfigs copy(Boolean bool, Double d6, Integer num, Integer num2, Long l) {
        return new SessionConfigs(bool, d6, num, num2, l);
    }

    public boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof SessionConfigs)) {
            return false;
        }
        SessionConfigs sessionConfigs = (SessionConfigs) obj;
        return o.c(this.sessionEnabled, sessionConfigs.sessionEnabled) && o.c(this.sessionSamplingRate, sessionConfigs.sessionSamplingRate) && o.c(this.sessionRestartTimeout, sessionConfigs.sessionRestartTimeout) && o.c(this.cacheDuration, sessionConfigs.cacheDuration) && o.c(this.cacheUpdatedTime, sessionConfigs.cacheUpdatedTime);
    }

    public final Integer getCacheDuration() {
        return this.cacheDuration;
    }

    public final Long getCacheUpdatedTime() {
        return this.cacheUpdatedTime;
    }

    public final Boolean getSessionEnabled() {
        return this.sessionEnabled;
    }

    public final Integer getSessionRestartTimeout() {
        return this.sessionRestartTimeout;
    }

    public final Double getSessionSamplingRate() {
        return this.sessionSamplingRate;
    }

    public int hashCode() {
        Boolean bool = this.sessionEnabled;
        int iHashCode = (bool == null ? 0 : bool.hashCode()) * 31;
        Double d6 = this.sessionSamplingRate;
        int iHashCode2 = (iHashCode + (d6 == null ? 0 : d6.hashCode())) * 31;
        Integer num = this.sessionRestartTimeout;
        int iHashCode3 = (iHashCode2 + (num == null ? 0 : num.hashCode())) * 31;
        Integer num2 = this.cacheDuration;
        int iHashCode4 = (iHashCode3 + (num2 == null ? 0 : num2.hashCode())) * 31;
        Long l = this.cacheUpdatedTime;
        return iHashCode4 + (l != null ? l.hashCode() : 0);
    }

    public String toString() {
        return "SessionConfigs(sessionEnabled=" + this.sessionEnabled + ", sessionSamplingRate=" + this.sessionSamplingRate + ", sessionRestartTimeout=" + this.sessionRestartTimeout + ", cacheDuration=" + this.cacheDuration + ", cacheUpdatedTime=" + this.cacheUpdatedTime + ')';
    }
}
