package com.bytedance.helios.api.config;

import X.2HN;
import X.M12;
import com.bytedance.covode.number.Covode;
import com.google.gson.a.c;
import java.io.Serializable;

public final class ResourceSampleRateConfig extends DefaultSampleRateConfig implements Serializable {
    @c(LIZ = "resource_id")
    public final String resourceId;

    static {
        Covode.recordClassIndex(27353);
    }

    public ResourceSampleRateConfig() {
        this((String) null, 0.0d, 0.0d, 0.0d, 15, (2HN) null);
    }

    public final String getResourceId() {
        return this.resourceId;
    }

    public final String toString() {
        return "ResourceSampleRateConfig(resourceId='" + this.resourceId + "',monitorNormal=" + getMonitorNormal() + ',' + "monitorError=" + getMonitorError() + ",interceptError=" + getInterceptError() + ')';
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public ResourceSampleRateConfig(String str, double d, double d2, double d3) {
        super(d, d2, d3);
        M12.LIZ(str);
        this.resourceId = str;
    }

    /* JADX INFO: this call moved to the top of the method (can break code semantics) */
    public /* synthetic */ ResourceSampleRateConfig(String str, double d, double d2, double d3, int i, 2HN r17) {
        this((i & 1) != 0 ? "" : str, (i & 2) != 0 ? 0.0d : d, (i & 4) != 0 ? 0.01d : d2, (i & 8) != 0 ? 1.0d : d3);
    }
}
