package i8; import android.os.Bundle; import android.util.Log; /* loaded from: classes2.dex */ public class g implements Cloneable { /* renamed from: a, reason: collision with root package name */ private final String f10948a; /* renamed from: b, reason: collision with root package name */ private boolean f10949b; /* renamed from: c, reason: collision with root package name */ private long f10950c; /* renamed from: d, reason: collision with root package name */ private long f10951d; /* renamed from: e, reason: collision with root package name */ private long f10952e; /* renamed from: f, reason: collision with root package name */ private Bundle f10953f = new Bundle(); /* renamed from: g, reason: collision with root package name */ private int f10954g = 1; /* renamed from: h, reason: collision with root package name */ private int f10955h = 2; /* renamed from: i, reason: collision with root package name */ private int f10956i = 0; public g(String str) { this.f10948a = str; } public g a() { try { return (g) super.clone(); } catch (CloneNotSupportedException e10) { Log.e("JobInfo", Log.getStackTraceString(e10)); return null; } } public long b() { return this.f10950c; } public Bundle d() { return this.f10953f; } public String e() { return this.f10948a; } public int f() { return this.f10955h; } public int g() { return this.f10956i; } public boolean h() { return this.f10949b; } public long i() { long j10 = this.f10951d; if (j10 == 0) { return 0L; } long j11 = this.f10952e; if (j11 == 0) { this.f10952e = j10; } else if (this.f10954g == 1) { this.f10952e = j11 * 2; } return this.f10952e; } public g j(long j10) { this.f10950c = j10; return this; } public g k(Bundle bundle) { if (bundle != null) { this.f10953f = bundle; } return this; } public g l(int i10) { this.f10955h = i10; return this; } public g m(int i10) { this.f10956i = i10; return this; } public g n(long j10, int i10) { this.f10951d = j10; this.f10954g = i10; return this; } public g o(boolean z10) { this.f10949b = z10; return this; } }