package com.ss.android.ugc.aweme.services.external.ui;

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.effectmanager.effect.model.Effect;
import java.io.Serializable;
import kotlin.h.b.n;

public final class DuetConfig {
    public Serializable author;
    public final boolean defaultUseMic;
    public String duetChallenge;
    public String duetFrom;
    public Integer duetGameScore;
    public Effect duetLayout;
    public int duetVideoHeight;
    public int duetVideoWidth;
    public final boolean isFromDuetButton;
    public final boolean isFromDuetSticker;
    public StickerDownloadConfig mStickerDownloadConfig;
    public int minDuration;
    public String mp4Path;
    public String originVideo;
    public String outputDir;
    public String wavPath;

    static {
        Covode.recordClassIndex(105312);
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public DuetConfig(java.lang.String r13, java.lang.String r14, java.lang.String r15, java.io.Serializable r16, java.lang.String r17, int r18, boolean r19, boolean r20) {
        /*
            r12 = this;
            r9 = 0
            r10 = 256(0x100, float:3.59E-43)
            r11 = 0
            r0 = r12
            r6 = r18
            r5 = r17
            r7 = r19
            r8 = r20
            r1 = r13
            r2 = r14
            r3 = r15
            r4 = r16
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9, r10, r11)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.services.external.ui.DuetConfig.<init>(java.lang.String, java.lang.String, java.lang.String, java.io.Serializable, java.lang.String, int, boolean, boolean):void");
    }

    public static final class Builder {
        public DuetConfig config;

        static {
            Covode.recordClassIndex(105313);
        }

        public final DuetConfig build() {
            return this.config;
        }

        public Builder() {
            this.config = new DuetConfig("", "", "", new Serializable() {
                static {
                    Covode.recordClassIndex(105314);
                }
            }, "", 0, false, false, false, 256, (2HN) null);
        }

        public final Builder minDuration(int i) {
            this.config.setMinDuration(i);
            return this;
        }

        public Builder(DuetConfig duetConfig) {
            M12.LIZ(duetConfig);
            this.config = duetConfig;
        }

        public final Builder author(Serializable serializable) {
            M12.LIZ(serializable);
            this.config.setAuthor(serializable);
            return this;
        }

        public final Builder duetFrom(String str) {
            M12.LIZ(str);
            this.config.setDuetFrom(str);
            return this;
        }

        public final Builder mp4Path(String str) {
            M12.LIZ(str);
            this.config.setMp4Path(str);
            return this;
        }

        public final Builder originalVideo(String str) {
            M12.LIZ(str);
            this.config.setOriginVideo(str);
            return this;
        }

        public final Builder outputDir(String str) {
            M12.LIZ(str);
            this.config.setOutputDir(str);
            return this;
        }

        public final Builder wavPath(String str) {
            M12.LIZ(str);
            this.config.setWavPath(str);
            return this;
        }
    }

    public final Serializable getAuthor() {
        return this.author;
    }

    public final boolean getDefaultUseMic() {
        return this.defaultUseMic;
    }

    public final String getDuetChallenge() {
        return this.duetChallenge;
    }

    public final String getDuetFrom() {
        return this.duetFrom;
    }

    public final Integer getDuetGameScore() {
        return this.duetGameScore;
    }

    public final Effect getDuetLayout() {
        return this.duetLayout;
    }

    public final int getDuetVideoHeight() {
        return this.duetVideoHeight;
    }

    public final int getDuetVideoWidth() {
        return this.duetVideoWidth;
    }

    public final StickerDownloadConfig getMStickerDownloadConfig() {
        return this.mStickerDownloadConfig;
    }

    public final int getMinDuration() {
        return this.minDuration;
    }

    public final String getMp4Path() {
        return this.mp4Path;
    }

    public final String getOriginVideo() {
        return this.originVideo;
    }

    public final String getWavPath() {
        return this.wavPath;
    }

    public final boolean isFromDuetButton() {
        return this.isFromDuetButton;
    }

    public final boolean isFromDuetSticker() {
        return this.isFromDuetSticker;
    }

    public final String getOutputDir() {
        String str = this.outputDir;
        if (str == null) {
            n.LIZ("");
        }
        return str;
    }

    public final void setDuetChallenge(String str) {
        this.duetChallenge = str;
    }

    public final void setDuetGameScore(Integer num) {
        this.duetGameScore = num;
    }

    public final void setDuetLayout(Effect effect) {
        this.duetLayout = effect;
    }

    public final void setDuetVideoHeight(int i) {
        this.duetVideoHeight = i;
    }

    public final void setDuetVideoWidth(int i) {
        this.duetVideoWidth = i;
    }

    public final void setMStickerDownloadConfig(StickerDownloadConfig stickerDownloadConfig) {
        this.mStickerDownloadConfig = stickerDownloadConfig;
    }

    public final void setMinDuration(int i) {
        this.minDuration = i;
    }

    public final void setAuthor(Serializable serializable) {
        M12.LIZ(serializable);
        this.author = serializable;
    }

    public final void setDuetFrom(String str) {
        M12.LIZ(str);
        this.duetFrom = str;
    }

    public final void setMp4Path(String str) {
        M12.LIZ(str);
        this.mp4Path = str;
    }

    public final void setOriginVideo(String str) {
        M12.LIZ(str);
        this.originVideo = str;
    }

    public final void setOutputDir(String str) {
        M12.LIZ(str);
        this.outputDir = str;
    }

    public final void setWavPath(String str) {
        M12.LIZ(str);
        this.wavPath = str;
    }

    public DuetConfig(String str, String str2, String str3, Serializable serializable, String str4, int i, boolean z, boolean z2, boolean z3) {
        M12.LIZ(str, str2, str3, serializable, str4);
        this.originVideo = str;
        this.mp4Path = str2;
        this.wavPath = str3;
        this.author = serializable;
        this.duetFrom = str4;
        this.minDuration = i;
        this.defaultUseMic = z;
        this.isFromDuetSticker = z2;
        this.isFromDuetButton = z3;
        this.duetGameScore = 0;
    }

    /* JADX WARNING: Illegal instructions before constructor call */
    /* Code decompiled incorrectly, please refer to instructions dump. */
    public /* synthetic */ DuetConfig(java.lang.String r11, java.lang.String r12, java.lang.String r13, java.io.Serializable r14, java.lang.String r15, int r16, boolean r17, boolean r18, boolean r19, int r20, X.2HN r21) {
        /*
            r10 = this;
            r0 = r20
            r9 = r19
            r0 = r0 & 256(0x100, float:3.59E-43)
            if (r0 == 0) goto L_0x000a
            r0 = 0
            r9 = 0
        L_0x000a:
            r0 = r10
            r6 = r16
            r5 = r15
            r4 = r14
            r3 = r13
            r2 = r12
            r8 = r18
            r1 = r11
            r7 = r17
            r0.<init>(r1, r2, r3, r4, r5, r6, r7, r8, r9)
            return
        */
        throw new UnsupportedOperationException("Method not decompiled: com.ss.android.ugc.aweme.services.external.ui.DuetConfig.<init>(java.lang.String, java.lang.String, java.lang.String, java.io.Serializable, java.lang.String, int, boolean, boolean, boolean, int, X.2HN):void");
    }
}
