package com.ss.android.ugc.aweme.shortvideo.upload;

import X.2HN;
import X.M12;
import X.MVH;
import android.os.Parcel;
import android.os.Parcelable;
import com.bytedance.covode.number.Covode;
import java.io.Serializable;
import java.util.Objects;

public final class UploadSpeedInfo implements Parcelable, Serializable {
    public static final Parcelable.Creator<UploadSpeedInfo> CREATOR = new MVH();
    public final long endTime;
    public String probeContext;
    public final long speed;
    public final long startTime;
    public int usedCompilerSettingGroup;

    static {
        Covode.recordClassIndex(113425);
    }

    public UploadSpeedInfo() {
        this(0, (String) null, 0, 0, 0, 31, (2HN) null);
    }

    public UploadSpeedInfo(long j) {
        this(j, (String) null, 0, 0, 0, 30, (2HN) null);
    }

    public UploadSpeedInfo(long j, String str) {
        this(j, str, 0, 0, 0, 28, (2HN) null);
    }

    public UploadSpeedInfo(long j, String str, long j2) {
        this(j, str, j2, 0, 0, 24, (2HN) null);
    }

    public UploadSpeedInfo(long j, String str, long j2, long j3) {
        this(j, str, j2, j3, 0, 16, (2HN) null);
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_shortvideo_upload_UploadSpeedInfo_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(int i) {
        return i;
    }

    public static int INVOKESTATIC_com_ss_android_ugc_aweme_shortvideo_upload_UploadSpeedInfo_com_ss_android_ugc_aweme_lancet_HashCodeLancet_hashCode(long j) {
        return (int) (j ^ (j >>> 32));
    }

    private Object[] LIZ() {
        return new Object[]{Long.valueOf(this.speed), this.probeContext, Long.valueOf(this.startTime), Long.valueOf(this.endTime), Integer.valueOf(this.usedCompilerSettingGroup)};
    }

    public static /* synthetic */ UploadSpeedInfo copy$default(UploadSpeedInfo uploadSpeedInfo, long j, String str, long j2, long j3, int i, int i2, Object obj) {
        if ((i2 & 1) != 0) {
            j = uploadSpeedInfo.speed;
        }
        if ((i2 & 2) != 0) {
            str = uploadSpeedInfo.probeContext;
        }
        if ((i2 & 4) != 0) {
            j2 = uploadSpeedInfo.startTime;
        }
        if ((i2 & 8) != 0) {
            j3 = uploadSpeedInfo.endTime;
        }
        if ((i2 & 16) != 0) {
            i = uploadSpeedInfo.usedCompilerSettingGroup;
        }
        return uploadSpeedInfo.copy(j, str, j2, j3, i);
    }

    public final UploadSpeedInfo copy(long j, String str, long j2, long j3, int i) {
        String str2 = str;
        M12.LIZ(str2);
        return new UploadSpeedInfo(j, str2, j2, j3, i);
    }

    public final int describeContents() {
        return 0;
    }

    public final boolean equals(Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof UploadSpeedInfo)) {
            return false;
        }
        return M12.LIZ(((UploadSpeedInfo) obj).LIZ(), LIZ());
    }

    public final int hashCode() {
        return Objects.hash(LIZ());
    }

    public final String toString() {
        return M12.LIZ("UploadSpeedInfo:%s,%s,%s,%s,%s", LIZ());
    }

    public final void writeToParcel(Parcel parcel, int i) {
        M12.LIZ(parcel);
        parcel.writeLong(this.speed);
        parcel.writeString(this.probeContext);
        parcel.writeLong(this.startTime);
        parcel.writeLong(this.endTime);
        parcel.writeInt(this.usedCompilerSettingGroup);
    }

    public final long getEndTime() {
        return this.endTime;
    }

    public final String getProbeContext() {
        return this.probeContext;
    }

    public final long getSpeed() {
        return this.speed;
    }

    public final long getStartTime() {
        return this.startTime;
    }

    public final int getUsedCompilerSettingGroup() {
        return this.usedCompilerSettingGroup;
    }

    public final void setUsedCompilerSettingGroup(int i) {
        this.usedCompilerSettingGroup = i;
    }

    public final void setProbeContext(String str) {
        M12.LIZ(str);
        this.probeContext = str;
    }

    public UploadSpeedInfo(long j, String str, long j2, long j3, int i) {
        M12.LIZ(str);
        this.speed = j;
        this.probeContext = str;
        this.startTime = j2;
        this.endTime = j3;
        this.usedCompilerSettingGroup = i;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ UploadSpeedInfo(long j, String str, long j2, long j3, int i, int i2, 2HN r19) {
        this((i2 & 1) != 0 ? -6 : j, (i2 & 2) != 0 ? "" : str, (i2 & 4) != 0 ? -6 : j2, (i2 & 8) == 0 ? j3 : -6, (i2 & 16) != 0 ? -1 : i);
    }
}
