package com.bytedance.ies.nle.editor_jni;

import com.bytedance.covode.number.Covode;
import com.bytedance.frameworks.apm.trace.MethodCollector;

public class NLESegmentMV extends NLESegment {
    public transient long LIZ;
    public transient boolean LIZIZ;

    static {
        Covode.recordClassIndex(29867);
    }

    public void finalize() {
        delete();
    }

    public NLESegmentMV() {
        this(NLEEditorJniJNI.new_NLESegmentMV());
        MethodCollector.i(16729);
        MethodCollector.o(16729);
    }

    public final String LJ() {
        MethodCollector.i(19461);
        String NLESegmentMV_getSourceFileType = NLEEditorJniJNI.NLESegmentMV_getSourceFileType(this.LIZ, this);
        MethodCollector.o(19461);
        return NLESegmentMV_getSourceFileType;
    }

    public final float LJFF() {
        MethodCollector.i(16590);
        float NLESegmentMV_getVolume = NLEEditorJniJNI.NLESegmentMV_getVolume(this.LIZ, this);
        MethodCollector.o(16590);
        return NLESegmentMV_getVolume;
    }

    public final long LJI() {
        MethodCollector.i(16591);
        long NLESegmentMV_getWidth = NLEEditorJniJNI.NLESegmentMV_getWidth(this.LIZ, this);
        MethodCollector.o(16591);
        return NLESegmentMV_getWidth;
    }

    public final long LJII() {
        MethodCollector.i(16727);
        long NLESegmentMV_getHeight = NLEEditorJniJNI.NLESegmentMV_getHeight(this.LIZ, this);
        MethodCollector.o(16727);
        return NLESegmentMV_getHeight;
    }

    public final NLEResourceNode LIZIZ() {
        MethodCollector.i(16728);
        long NLESegmentMV_getResource = NLEEditorJniJNI.NLESegmentMV_getResource(this.LIZ, this);
        if (NLESegmentMV_getResource == 0) {
            MethodCollector.o(16728);
            return null;
        }
        NLEResourceNode nLEResourceNode = new NLEResourceNode(NLESegmentMV_getResource);
        MethodCollector.o(16728);
        return nLEResourceNode;
    }

    public final NLEResourceNode LIZLLL() {
        MethodCollector.i(19459);
        long NLESegmentMV_getSourceFile = NLEEditorJniJNI.NLESegmentMV_getSourceFile(this.LIZ, this);
        if (NLESegmentMV_getSourceFile == 0) {
            MethodCollector.o(19459);
            return null;
        }
        NLEResourceNode nLEResourceNode = new NLEResourceNode(NLESegmentMV_getSourceFile);
        MethodCollector.o(19459);
        return nLEResourceNode;
    }

    public NLENode clone() {
        MethodCollector.i(19456);
        long NLESegmentMV_clone = NLEEditorJniJNI.NLESegmentMV_clone(this.LIZ, this);
        if (NLESegmentMV_clone == 0) {
            MethodCollector.o(19456);
            return null;
        }
        NLENode nLENode = new NLENode(NLESegmentMV_clone, true);
        MethodCollector.o(19456);
        return nLENode;
    }

    public synchronized void delete() {
        MethodCollector.i(19454);
        long j = this.LIZ;
        if (j != 0) {
            if (this.LIZIZ) {
                this.LIZIZ = false;
                NLEEditorJniJNI.delete_NLESegmentMV(j);
            }
            this.LIZ = 0;
        }
        super.delete();
        MethodCollector.o(19454);
    }

    public void swigSetCMemOwn(boolean z) {
        this.LIZIZ = z;
        super.swigSetCMemOwn(z);
    }

    public final void LIZ(float f) {
        MethodCollector.i(19462);
        NLEEditorJniJNI.NLESegmentMV_setVolume(this.LIZ, this, f);
        MethodCollector.o(19462);
    }

    public NLESegmentMV(long j) {
        super(NLEEditorJniJNI.NLESegmentMV_SWIGSmartPtrUpcast(j));
        MethodCollector.i(19452);
        this.LIZIZ = true;
        this.LIZ = j;
        MethodCollector.o(19452);
    }

    public static NLESegmentMV LIZ(NLENode nLENode) {
        NLESegmentMV nLESegmentMV;
        MethodCollector.i(19455);
        long NLESegmentMV_dynamicCast = NLEEditorJniJNI.NLESegmentMV_dynamicCast(NLENode.getCPtr(nLENode), nLENode);
        if (NLESegmentMV_dynamicCast == 0) {
            nLESegmentMV = null;
        } else {
            nLESegmentMV = new NLESegmentMV(NLESegmentMV_dynamicCast);
        }
        MethodCollector.o(19455);
        return nLESegmentMV;
    }

    public final void LIZ(NLEResourceNode nLEResourceNode) {
        MethodCollector.i(19458);
        NLEResourceNode nLEResourceNode2 = nLEResourceNode;
        NLEEditorJniJNI.NLESegmentMV_setSourceFile(this.LIZ, this, NLEResourceNode.LIZ(nLEResourceNode2), nLEResourceNode2);
        MethodCollector.o(19458);
    }

    public final void LIZ(String str) {
        MethodCollector.i(19460);
        NLEEditorJniJNI.NLESegmentMV_setSourceFileType(this.LIZ, this, str);
        MethodCollector.o(19460);
    }
}
