package com.pgl.ssdk.ces.out;

import android.text.TextUtils;
import java.util.Map;

/* JADX INFO: loaded from: classes.dex */
public final class PglSSConfig {
    public static final int COLLECT_MODE_DEFAULT = 0;
    public static final int COLLECT_MODE_ML_MINIMIZE = 1;
    public static final String CUSTOMINFO_KEY_ADS_URL_BACKUP = "key_ads_url_backup";
    public static final String CUSTOMINFO_KEY_ALLOWED_FIELDS = "fields_allowed";
    public static final String CUSTOMINFO_KEY_CHECKCLAZZ = "check_clz";
    public static final String CUSTOMINFO_KEY_IPV6 = "key_ipv6";
    public static final String CUSTOMINFO_KEY_SEC_CONFIG_STR = "sec_config";
    public static final String CUSTOMINFO_KEY_TARGET_IDC = "target-idc";
    public static final String CUSTOMINFO_KEY_TRANSFER_HOST = "key_transfer_host";
    public static final int OVREGION_TYPE_SG = 2;
    public static final int OVREGION_TYPE_UNKNOWN = -1;
    public static final int OVREGION_TYPE_VA = 1;

    /* JADX INFO: renamed from: a, reason: collision with root package name */
    private String f24745a;

    /* JADX INFO: renamed from: b, reason: collision with root package name */
    private final int f24746b;

    /* JADX INFO: renamed from: c, reason: collision with root package name */
    private final int f24747c;

    /* JADX INFO: renamed from: d, reason: collision with root package name */
    private String f24748d;

    /* JADX INFO: renamed from: e, reason: collision with root package name */
    private Map<String, Object> f24749e;

    /* JADX INFO: renamed from: f, reason: collision with root package name */
    private PglSSCallBack f24750f;

    public static class Builder {

        /* JADX INFO: renamed from: a, reason: collision with root package name */
        private String f24751a;

        /* JADX INFO: renamed from: b, reason: collision with root package name */
        private int f24752b = -1;

        /* JADX INFO: renamed from: c, reason: collision with root package name */
        private int f24753c = 0;

        /* JADX INFO: renamed from: d, reason: collision with root package name */
        private String f24754d;

        public PglSSConfig build() {
            if (TextUtils.isEmpty(this.f24751a)) {
                return null;
            }
            return new PglSSConfig(this.f24751a, this.f24752b, this.f24753c, this.f24754d);
        }

        public Builder setAdsdkVersion(String str) {
            this.f24754d = str;
            return this;
        }

        public Builder setAppId(String str) {
            this.f24751a = str;
            return this;
        }

        public Builder setCollectMode(int i10) {
            this.f24753c = i10;
            return this;
        }

        public Builder setOVRegionType(int i10) {
            this.f24752b = i10;
            return this;
        }
    }

    private PglSSConfig(String str, int i10, int i11, String str2) {
        this.f24745a = str;
        this.f24746b = i10;
        this.f24747c = i11;
        this.f24748d = str2;
    }

    public static Builder builder() {
        return new Builder();
    }

    public String getAdSdkVersion() {
        return this.f24748d;
    }

    public String getAppId() {
        return this.f24745a;
    }

    public PglSSCallBack getCallBack() {
        return this.f24750f;
    }

    public int getCollectMode() {
        return this.f24747c;
    }

    public Map<String, Object> getCustomInfo() {
        return this.f24749e;
    }

    public int getOVRegionType() {
        return this.f24746b;
    }

    public void setCallBack(PglSSCallBack pglSSCallBack) {
        this.f24750f = pglSSCallBack;
    }

    public void setCustomInfo(Map<String, Object> map) {
        this.f24749e = map;
    }
}
