package com.bytedance.sdk.component.ro.fm;

import com.bytedance.sdk.component.wsy.fm;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;

/* JADX INFO: loaded from: classes.dex */
public abstract class ku implements Cloneable {
    public long ajl;
    public List<wu> fm;
    public TimeUnit jnr;

    /* JADX INFO: renamed from: lb, reason: collision with root package name */
    public TimeUnit f6673lb;
    public long ro;
    public TimeUnit wsy;
    public final fm.ro wu;
    public long yz;

    public static final class fm {
        public TimeUnit ajl;
        public final List<wu> fm;
        public long jnr;

        /* JADX INFO: renamed from: lb, reason: collision with root package name */
        public long f6674lb;
        fm.ro ro;
        public long wsy;
        public TimeUnit wu;
        public TimeUnit yz;

        public fm() {
            this.fm = new ArrayList();
            this.f6674lb = 10000L;
            TimeUnit timeUnit = TimeUnit.MILLISECONDS;
            this.yz = timeUnit;
            this.jnr = 10000L;
            this.ajl = timeUnit;
            this.wsy = 10000L;
            this.wu = timeUnit;
        }

        public fm fm(long j10, TimeUnit timeUnit) {
            this.f6674lb = j10;
            this.yz = timeUnit;
            return this;
        }

        public fm lb(long j10, TimeUnit timeUnit) {
            this.wsy = j10;
            this.wu = timeUnit;
            return this;
        }

        public fm ro(long j10, TimeUnit timeUnit) {
            this.jnr = j10;
            this.ajl = timeUnit;
            return this;
        }

        public fm fm(fm.ro roVar) {
            this.ro = roVar;
            return this;
        }

        public fm fm(wu wuVar) {
            this.fm.add(wuVar);
            return this;
        }

        public fm(String str) {
            this.fm = new ArrayList();
            this.f6674lb = 10000L;
            TimeUnit timeUnit = TimeUnit.MILLISECONDS;
            this.yz = timeUnit;
            this.jnr = 10000L;
            this.ajl = timeUnit;
            this.wsy = 10000L;
            this.wu = timeUnit;
        }

        public ku fm() {
            return com.bytedance.sdk.component.ro.fm.fm.fm.fm(this);
        }

        public fm(ku kuVar) {
            this.fm = new ArrayList();
            this.f6674lb = 10000L;
            TimeUnit timeUnit = TimeUnit.MILLISECONDS;
            this.yz = timeUnit;
            this.jnr = 10000L;
            this.ajl = timeUnit;
            this.wsy = 10000L;
            this.wu = timeUnit;
            this.f6674lb = kuVar.ro;
            this.yz = kuVar.f6673lb;
            this.jnr = kuVar.yz;
            this.ajl = kuVar.jnr;
            this.wsy = kuVar.ajl;
            this.wu = kuVar.wsy;
        }
    }

    public ku(fm fmVar) {
        this.ro = fmVar.f6674lb;
        this.yz = fmVar.jnr;
        this.ajl = fmVar.wsy;
        List<wu> list = fmVar.fm;
        this.f6673lb = fmVar.yz;
        this.jnr = fmVar.ajl;
        this.wsy = fmVar.wu;
        this.fm = list;
        this.wu = fmVar.ro;
    }

    public abstract ro fm(duv duvVar);

    public fm.ro fm() {
        return this.wu;
    }

    public fm lb() {
        return new fm(this);
    }

    public abstract yz ro();
}
