func (a *AcraTranslatorConfig) SetIncomingConnectionHTTPString(incomingConnectionHTTPString string) {
	a.incomingConnectionHTTPString = incomingConnectionHTTPString
}
SetIncomingConnectionHTTPString sets connection string to listen for HTTP requests.
package common
import (
	"crypto/tls"
	"github.com/cossacklabs/acra/network"
	"go.opencensus.io/trace"
)
type AcraTranslatorConfig struct {
	keysDir                      string
	detectPoisonRecords          bool
	scriptOnPoison               string
	stopOnPoison                 bool
	serverID                     []byte
	incomingConnectionHTTPString string
	incomingConnectionGRPCString string
	ConnectionWrapper            network.ConnectionWrapper
	configPath                   string
	debug                        bool
	traceToLog                   bool
	tlsConfig                    *tls.Config
	grpcClientIDExtractor        network.GRPCConnectionClientIDExtractor
	useClientIDFromConnection    bool
	withConnector                bool
}
func NewConfig() *AcraTranslatorConfig {
	return &AcraTranslatorConfig{stopOnPoison: false}
}
func (a *AcraTranslatorConfig) SetWithConnector(v bool) {
	a.withConnector = v
}
func (a *AcraTranslatorConfig) GetWithConnector() bool {
	return a.withConnector
}
func (a *AcraTranslatorConfig) SetGRPCClientIDExtractor(extractor network.GRPCConnectionClientIDExtractor) {
	a.grpcClientIDExtractor = extractor
}
func (a *AcraTranslatorConfig) GetGRPCClientIDExtractor() network.GRPCConnectionClientIDExtractor {
	return a.grpcClientIDExtractor
}
func (a *AcraTranslatorConfig) SetUseClientIDFromConnection(v bool) {
	a.useClientIDFromConnection = v
}
func (a *AcraTranslatorConfig) GetUseClientIDFromConnection() bool {
	return a.useClientIDFromConnection
}
func (a *AcraTranslatorConfig) WithTLS() bool {
	return a.tlsConfig != nil
}
func (a *AcraTranslatorConfig) SetTLSConfig(v *tls.Config) {
	a.tlsConfig = v
}
func (a *AcraTranslatorConfig) GetTLSConfig() *tls.Config {
	return a.tlsConfig
}
func (a *AcraTranslatorConfig) SetTraceToLog(v bool) {
	a.traceToLog = v
}
func (a *AcraTranslatorConfig) GetTraceOptions() []trace.StartOption {
	return []trace.StartOption{trace.WithSampler(trace.AlwaysSample()), trace.WithSpanKind(trace.SpanKindServer)}
}
func (a *AcraTranslatorConfig) KeysDir() string {
	return a.keysDir
}
func (a *AcraTranslatorConfig) SetKeysDir(keysDir string) {
	a.keysDir = keysDir
}
func (a *AcraTranslatorConfig) SetDetectPoisonRecords(val bool) {
	a.detectPoisonRecords = val
}
func (a *AcraTranslatorConfig) DetectPoisonRecords() bool {
	return a.detectPoisonRecords
}
func (a *AcraTranslatorConfig) ScriptOnPoison() string {
	return a.scriptOnPoison
}
func (a *AcraTranslatorConfig) SetScriptOnPoison(scriptOnPoison string) {
	a.scriptOnPoison = scriptOnPoison
}
func (a *AcraTranslatorConfig) StopOnPoison() bool {
	return a.stopOnPoison
}
func (a *AcraTranslatorConfig) SetStopOnPoison(stopOnPoison bool) {
	a.stopOnPoison = stopOnPoison
}
func (a *AcraTranslatorConfig) ServerID() []byte {
	return a.serverID
}
func (a *AcraTranslatorConfig) SetServerID(serverID []byte) {
	a.serverID = serverID
}
func (a *AcraTranslatorConfig) IncomingConnectionHTTPString() string {
	return a.incomingConnectionHTTPString
}