package com.unity3d.services.core.domain.task; import com.unity3d.services.core.configuration.Configuration; import com.unity3d.services.core.configuration.ErrorState; import com.unity3d.services.core.domain.ISDKDispatchers; import d9.j; import k9.h; import s8.n; import v8.d; /* loaded from: classes2.dex */ public final class InitializeStateError extends MetricTask { private final ISDKDispatchers dispatchers; public static final class Params implements BaseParams { private final Configuration config; private final ErrorState errorState; private final Exception exception; public Params(ErrorState errorState, Exception exc, Configuration configuration) { j.e(errorState, "errorState"); j.e(exc, "exception"); j.e(configuration, "config"); this.errorState = errorState; this.exception = exc; this.config = configuration; } public static /* synthetic */ Params copy$default(Params params, ErrorState errorState, Exception exc, Configuration configuration, int i10, Object obj) { if ((i10 & 1) != 0) { errorState = params.errorState; } if ((i10 & 2) != 0) { exc = params.exception; } if ((i10 & 4) != 0) { configuration = params.config; } return params.copy(errorState, exc, configuration); } public final ErrorState component1() { return this.errorState; } public final Exception component2() { return this.exception; } public final Configuration component3() { return this.config; } public final Params copy(ErrorState errorState, Exception exc, Configuration configuration) { j.e(errorState, "errorState"); j.e(exc, "exception"); j.e(configuration, "config"); return new Params(errorState, exc, configuration); } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof Params)) { return false; } Params params = (Params) obj; return j.a(this.errorState, params.errorState) && j.a(this.exception, params.exception) && j.a(this.config, params.config); } public final Configuration getConfig() { return this.config; } public final ErrorState getErrorState() { return this.errorState; } public final Exception getException() { return this.exception; } public int hashCode() { ErrorState errorState = this.errorState; int hashCode = (errorState != null ? errorState.hashCode() : 0) * 31; Exception exc = this.exception; int hashCode2 = (hashCode + (exc != null ? exc.hashCode() : 0)) * 31; Configuration configuration = this.config; return hashCode2 + (configuration != null ? configuration.hashCode() : 0); } public String toString() { return "Params(errorState=" + this.errorState + ", exception=" + this.exception + ", config=" + this.config + ")"; } } public InitializeStateError(ISDKDispatchers iSDKDispatchers) { j.e(iSDKDispatchers, "dispatchers"); this.dispatchers = iSDKDispatchers; } @Override // com.unity3d.services.core.domain.task.BaseTask /* renamed from: doWork-gIAlu-s, reason: not valid java name and merged with bridge method [inline-methods] */ public Object doWork(Params params, d dVar) { return h.e(this.dispatchers.getDefault(), new InitializeStateError$doWork$2(params, null), dVar); } @Override // com.unity3d.services.core.domain.task.MetricTask public String getMetricName() { return getMetricNameForInitializeTask("error"); } }