// Code generated by protoc-gen-go. DO NOT EDIT.
// source: yandex/cloud/mdb/mongodb/v1/config/mongodb4_0.proto

package mongodb

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	wrappers "github.com/golang/protobuf/ptypes/wrappers"
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package

type MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor int32

const (
	MongodConfig4_0_Storage_WiredTiger_CollectionConfig_COMPRESSOR_UNSPECIFIED MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor = 0
	// No compression.
	MongodConfig4_0_Storage_WiredTiger_CollectionConfig_NONE MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor = 1
	// The [Snappy](https://docs.mongodb.com/v4.0/reference/glossary/#term-snappy) compression.
	MongodConfig4_0_Storage_WiredTiger_CollectionConfig_SNAPPY MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor = 2
	// The [zlib](https://docs.mongodb.com/v4.0/reference/glossary/#term-zlib) compression.
	MongodConfig4_0_Storage_WiredTiger_CollectionConfig_ZLIB MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor = 3
)

var MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_name = map[int32]string{
	0: "COMPRESSOR_UNSPECIFIED",
	1: "NONE",
	2: "SNAPPY",
	3: "ZLIB",
}

var MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_value = map[string]int32{
	"COMPRESSOR_UNSPECIFIED": 0,
	"NONE":                   1,
	"SNAPPY":                 2,
	"ZLIB":                   3,
}

func (x MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor) String() string {
	return proto.EnumName(MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_name, int32(x))
}

func (MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 0, 1, 0}
}

type MongodConfig4_0_OperationProfiling_Mode int32

const (
	MongodConfig4_0_OperationProfiling_MODE_UNSPECIFIED MongodConfig4_0_OperationProfiling_Mode = 0
	// The profiler is off and does not collect any data.
	MongodConfig4_0_OperationProfiling_OFF MongodConfig4_0_OperationProfiling_Mode = 1
	// The profiler collects data for operations that take longer than the value of [slow_op_threshold].
	MongodConfig4_0_OperationProfiling_SLOW_OP MongodConfig4_0_OperationProfiling_Mode = 2
	// The profiler collects data for all operations.
	MongodConfig4_0_OperationProfiling_ALL MongodConfig4_0_OperationProfiling_Mode = 3
)

var MongodConfig4_0_OperationProfiling_Mode_name = map[int32]string{
	0: "MODE_UNSPECIFIED",
	1: "OFF",
	2: "SLOW_OP",
	3: "ALL",
}

var MongodConfig4_0_OperationProfiling_Mode_value = map[string]int32{
	"MODE_UNSPECIFIED": 0,
	"OFF":              1,
	"SLOW_OP":          2,
	"ALL":              3,
}

func (x MongodConfig4_0_OperationProfiling_Mode) String() string {
	return proto.EnumName(MongodConfig4_0_OperationProfiling_Mode_name, int32(x))
}

func (MongodConfig4_0_OperationProfiling_Mode) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 1, 0}
}

type MongoCfgConfig4_0_OperationProfiling_Mode int32

const (
	MongoCfgConfig4_0_OperationProfiling_MODE_UNSPECIFIED MongoCfgConfig4_0_OperationProfiling_Mode = 0
	// The profiler is off and does not collect any data.
	MongoCfgConfig4_0_OperationProfiling_OFF MongoCfgConfig4_0_OperationProfiling_Mode = 1
	// The profiler collects data for operations that take longer than the value of [slow_op_threshold].
	MongoCfgConfig4_0_OperationProfiling_SLOW_OP MongoCfgConfig4_0_OperationProfiling_Mode = 2
	// The profiler collects data for all operations.
	MongoCfgConfig4_0_OperationProfiling_ALL MongoCfgConfig4_0_OperationProfiling_Mode = 3
)

var MongoCfgConfig4_0_OperationProfiling_Mode_name = map[int32]string{
	0: "MODE_UNSPECIFIED",
	1: "OFF",
	2: "SLOW_OP",
	3: "ALL",
}

var MongoCfgConfig4_0_OperationProfiling_Mode_value = map[string]int32{
	"MODE_UNSPECIFIED": 0,
	"OFF":              1,
	"SLOW_OP":          2,
	"ALL":              3,
}

func (x MongoCfgConfig4_0_OperationProfiling_Mode) String() string {
	return proto.EnumName(MongoCfgConfig4_0_OperationProfiling_Mode_name, int32(x))
}

func (MongoCfgConfig4_0_OperationProfiling_Mode) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{1, 1, 0}
}

// Configuration of a mongod daemon. Supported options are a limited subset of all
// options described in [MongoDB documentation](https://docs.mongodb.com/v4.0/reference/configuration-options/).
type MongodConfig4_0 struct {
	// `storage` section of mongod configuration.
	Storage *MongodConfig4_0_Storage `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"`
	// `operationProfiling` section of mongod configuration.
	OperationProfiling *MongodConfig4_0_OperationProfiling `protobuf:"bytes,2,opt,name=operation_profiling,json=operationProfiling,proto3" json:"operation_profiling,omitempty"`
	// `net` section of mongod configuration.
	Net                  *MongodConfig4_0_Network `protobuf:"bytes,3,opt,name=net,proto3" json:"net,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *MongodConfig4_0) Reset()         { *m = MongodConfig4_0{} }
func (m *MongodConfig4_0) String() string { return proto.CompactTextString(m) }
func (*MongodConfig4_0) ProtoMessage()    {}
func (*MongodConfig4_0) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0}
}

func (m *MongodConfig4_0) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfig4_0.Unmarshal(m, b)
}
func (m *MongodConfig4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfig4_0.Marshal(b, m, deterministic)
}
func (m *MongodConfig4_0) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfig4_0.Merge(m, src)
}
func (m *MongodConfig4_0) XXX_Size() int {
	return xxx_messageInfo_MongodConfig4_0.Size(m)
}
func (m *MongodConfig4_0) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfig4_0.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfig4_0 proto.InternalMessageInfo

func (m *MongodConfig4_0) GetStorage() *MongodConfig4_0_Storage {
	if m != nil {
		return m.Storage
	}
	return nil
}

func (m *MongodConfig4_0) GetOperationProfiling() *MongodConfig4_0_OperationProfiling {
	if m != nil {
		return m.OperationProfiling
	}
	return nil
}

func (m *MongodConfig4_0) GetNet() *MongodConfig4_0_Network {
	if m != nil {
		return m.Net
	}
	return nil
}

type MongodConfig4_0_Storage struct {
	// Configuration of the WiredTiger storage engine.
	WiredTiger *MongodConfig4_0_Storage_WiredTiger `protobuf:"bytes,1,opt,name=wired_tiger,json=wiredTiger,proto3" json:"wired_tiger,omitempty"`
	// Configuration of the MongoDB [journal](https://docs.mongodb.com/v4.0/reference/glossary/#term-journal).
	Journal              *MongodConfig4_0_Storage_Journal `protobuf:"bytes,2,opt,name=journal,proto3" json:"journal,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                         `json:"-"`
	XXX_unrecognized     []byte                           `json:"-"`
	XXX_sizecache        int32                            `json:"-"`
}

func (m *MongodConfig4_0_Storage) Reset()         { *m = MongodConfig4_0_Storage{} }
func (m *MongodConfig4_0_Storage) String() string { return proto.CompactTextString(m) }
func (*MongodConfig4_0_Storage) ProtoMessage()    {}
func (*MongodConfig4_0_Storage) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 0}
}

func (m *MongodConfig4_0_Storage) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfig4_0_Storage.Unmarshal(m, b)
}
func (m *MongodConfig4_0_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfig4_0_Storage.Marshal(b, m, deterministic)
}
func (m *MongodConfig4_0_Storage) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfig4_0_Storage.Merge(m, src)
}
func (m *MongodConfig4_0_Storage) XXX_Size() int {
	return xxx_messageInfo_MongodConfig4_0_Storage.Size(m)
}
func (m *MongodConfig4_0_Storage) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfig4_0_Storage.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfig4_0_Storage proto.InternalMessageInfo

func (m *MongodConfig4_0_Storage) GetWiredTiger() *MongodConfig4_0_Storage_WiredTiger {
	if m != nil {
		return m.WiredTiger
	}
	return nil
}

func (m *MongodConfig4_0_Storage) GetJournal() *MongodConfig4_0_Storage_Journal {
	if m != nil {
		return m.Journal
	}
	return nil
}

// Configuration of WiredTiger storage engine.
type MongodConfig4_0_Storage_WiredTiger struct {
	// Engine configuration for WiredTiger.
	EngineConfig *MongodConfig4_0_Storage_WiredTiger_EngineConfig `protobuf:"bytes,1,opt,name=engine_config,json=engineConfig,proto3" json:"engine_config,omitempty"`
	// Collection configuration for WiredTiger.
	CollectionConfig     *MongodConfig4_0_Storage_WiredTiger_CollectionConfig `protobuf:"bytes,2,opt,name=collection_config,json=collectionConfig,proto3" json:"collection_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                             `json:"-"`
	XXX_unrecognized     []byte                                               `json:"-"`
	XXX_sizecache        int32                                                `json:"-"`
}

func (m *MongodConfig4_0_Storage_WiredTiger) Reset()         { *m = MongodConfig4_0_Storage_WiredTiger{} }
func (m *MongodConfig4_0_Storage_WiredTiger) String() string { return proto.CompactTextString(m) }
func (*MongodConfig4_0_Storage_WiredTiger) ProtoMessage()    {}
func (*MongodConfig4_0_Storage_WiredTiger) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 0}
}

func (m *MongodConfig4_0_Storage_WiredTiger) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.Unmarshal(m, b)
}
func (m *MongodConfig4_0_Storage_WiredTiger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.Marshal(b, m, deterministic)
}
func (m *MongodConfig4_0_Storage_WiredTiger) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.Merge(m, src)
}
func (m *MongodConfig4_0_Storage_WiredTiger) XXX_Size() int {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.Size(m)
}
func (m *MongodConfig4_0_Storage_WiredTiger) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger proto.InternalMessageInfo

func (m *MongodConfig4_0_Storage_WiredTiger) GetEngineConfig() *MongodConfig4_0_Storage_WiredTiger_EngineConfig {
	if m != nil {
		return m.EngineConfig
	}
	return nil
}

func (m *MongodConfig4_0_Storage_WiredTiger) GetCollectionConfig() *MongodConfig4_0_Storage_WiredTiger_CollectionConfig {
	if m != nil {
		return m.CollectionConfig
	}
	return nil
}

type MongodConfig4_0_Storage_WiredTiger_EngineConfig struct {
	// The maximum size of the internal cache that WiredTiger will use for all data.
	CacheSizeGb          *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=cache_size_gb,json=cacheSizeGb,proto3" json:"cache_size_gb,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) Reset() {
	*m = MongodConfig4_0_Storage_WiredTiger_EngineConfig{}
}
func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) String() string {
	return proto.CompactTextString(m)
}
func (*MongodConfig4_0_Storage_WiredTiger_EngineConfig) ProtoMessage() {}
func (*MongodConfig4_0_Storage_WiredTiger_EngineConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 0, 0}
}

func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.Unmarshal(m, b)
}
func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.Marshal(b, m, deterministic)
}
func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.Merge(m, src)
}
func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Size() int {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.Size(m)
}
func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_EngineConfig proto.InternalMessageInfo

func (m *MongodConfig4_0_Storage_WiredTiger_EngineConfig) GetCacheSizeGb() *wrappers.DoubleValue {
	if m != nil {
		return m.CacheSizeGb
	}
	return nil
}

type MongodConfig4_0_Storage_WiredTiger_CollectionConfig struct {
	// Default type of compression to use for collection data.
	BlockCompressor      MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor `protobuf:"varint,1,opt,name=block_compressor,json=blockCompressor,proto3,enum=yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor" json:"block_compressor,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                                       `json:"-"`
	XXX_unrecognized     []byte                                                         `json:"-"`
	XXX_sizecache        int32                                                          `json:"-"`
}

func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) Reset() {
	*m = MongodConfig4_0_Storage_WiredTiger_CollectionConfig{}
}
func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) String() string {
	return proto.CompactTextString(m)
}
func (*MongodConfig4_0_Storage_WiredTiger_CollectionConfig) ProtoMessage() {}
func (*MongodConfig4_0_Storage_WiredTiger_CollectionConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 0, 1}
}

func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.Unmarshal(m, b)
}
func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.Marshal(b, m, deterministic)
}
func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.Merge(m, src)
}
func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_Size() int {
	return xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.Size(m)
}
func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfig4_0_Storage_WiredTiger_CollectionConfig proto.InternalMessageInfo

func (m *MongodConfig4_0_Storage_WiredTiger_CollectionConfig) GetBlockCompressor() MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor {
	if m != nil {
		return m.BlockCompressor
	}
	return MongodConfig4_0_Storage_WiredTiger_CollectionConfig_COMPRESSOR_UNSPECIFIED
}

type MongodConfig4_0_Storage_Journal struct {
	// Commit interval between journal operations, in milliseconds.
	// Default: 100.
	CommitInterval       *wrappers.Int64Value `protobuf:"bytes,1,opt,name=commit_interval,json=commitInterval,proto3" json:"commit_interval,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *MongodConfig4_0_Storage_Journal) Reset()         { *m = MongodConfig4_0_Storage_Journal{} }
func (m *MongodConfig4_0_Storage_Journal) String() string { return proto.CompactTextString(m) }
func (*MongodConfig4_0_Storage_Journal) ProtoMessage()    {}
func (*MongodConfig4_0_Storage_Journal) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 0, 1}
}

func (m *MongodConfig4_0_Storage_Journal) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfig4_0_Storage_Journal.Unmarshal(m, b)
}
func (m *MongodConfig4_0_Storage_Journal) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfig4_0_Storage_Journal.Marshal(b, m, deterministic)
}
func (m *MongodConfig4_0_Storage_Journal) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfig4_0_Storage_Journal.Merge(m, src)
}
func (m *MongodConfig4_0_Storage_Journal) XXX_Size() int {
	return xxx_messageInfo_MongodConfig4_0_Storage_Journal.Size(m)
}
func (m *MongodConfig4_0_Storage_Journal) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfig4_0_Storage_Journal.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfig4_0_Storage_Journal proto.InternalMessageInfo

func (m *MongodConfig4_0_Storage_Journal) GetCommitInterval() *wrappers.Int64Value {
	if m != nil {
		return m.CommitInterval
	}
	return nil
}

type MongodConfig4_0_OperationProfiling struct {
	// Mode which specifies operations that should be profiled.
	Mode MongodConfig4_0_OperationProfiling_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0_OperationProfiling_Mode" json:"mode,omitempty"`
	// The slow operation time threshold, in milliseconds. Operations that run
	// for longer than this threshold are considered slow, and are processed by the profiler
	// running in the SLOW_OP mode.
	SlowOpThreshold      *wrappers.Int64Value `protobuf:"bytes,2,opt,name=slow_op_threshold,json=slowOpThreshold,proto3" json:"slow_op_threshold,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *MongodConfig4_0_OperationProfiling) Reset()         { *m = MongodConfig4_0_OperationProfiling{} }
func (m *MongodConfig4_0_OperationProfiling) String() string { return proto.CompactTextString(m) }
func (*MongodConfig4_0_OperationProfiling) ProtoMessage()    {}
func (*MongodConfig4_0_OperationProfiling) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 1}
}

func (m *MongodConfig4_0_OperationProfiling) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfig4_0_OperationProfiling.Unmarshal(m, b)
}
func (m *MongodConfig4_0_OperationProfiling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfig4_0_OperationProfiling.Marshal(b, m, deterministic)
}
func (m *MongodConfig4_0_OperationProfiling) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfig4_0_OperationProfiling.Merge(m, src)
}
func (m *MongodConfig4_0_OperationProfiling) XXX_Size() int {
	return xxx_messageInfo_MongodConfig4_0_OperationProfiling.Size(m)
}
func (m *MongodConfig4_0_OperationProfiling) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfig4_0_OperationProfiling.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfig4_0_OperationProfiling proto.InternalMessageInfo

func (m *MongodConfig4_0_OperationProfiling) GetMode() MongodConfig4_0_OperationProfiling_Mode {
	if m != nil {
		return m.Mode
	}
	return MongodConfig4_0_OperationProfiling_MODE_UNSPECIFIED
}

func (m *MongodConfig4_0_OperationProfiling) GetSlowOpThreshold() *wrappers.Int64Value {
	if m != nil {
		return m.SlowOpThreshold
	}
	return nil
}

type MongodConfig4_0_Network struct {
	// The maximum number of simultaneous connections that mongod will accept.
	MaxIncomingConnections *wrappers.Int64Value `protobuf:"bytes,1,opt,name=max_incoming_connections,json=maxIncomingConnections,proto3" json:"max_incoming_connections,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}             `json:"-"`
	XXX_unrecognized       []byte               `json:"-"`
	XXX_sizecache          int32                `json:"-"`
}

func (m *MongodConfig4_0_Network) Reset()         { *m = MongodConfig4_0_Network{} }
func (m *MongodConfig4_0_Network) String() string { return proto.CompactTextString(m) }
func (*MongodConfig4_0_Network) ProtoMessage()    {}
func (*MongodConfig4_0_Network) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{0, 2}
}

func (m *MongodConfig4_0_Network) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfig4_0_Network.Unmarshal(m, b)
}
func (m *MongodConfig4_0_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfig4_0_Network.Marshal(b, m, deterministic)
}
func (m *MongodConfig4_0_Network) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfig4_0_Network.Merge(m, src)
}
func (m *MongodConfig4_0_Network) XXX_Size() int {
	return xxx_messageInfo_MongodConfig4_0_Network.Size(m)
}
func (m *MongodConfig4_0_Network) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfig4_0_Network.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfig4_0_Network proto.InternalMessageInfo

func (m *MongodConfig4_0_Network) GetMaxIncomingConnections() *wrappers.Int64Value {
	if m != nil {
		return m.MaxIncomingConnections
	}
	return nil
}

type MongoCfgConfig4_0 struct {
	// `storage` section of mongocfg configuration.
	Storage *MongoCfgConfig4_0_Storage `protobuf:"bytes,1,opt,name=storage,proto3" json:"storage,omitempty"`
	// `operationProfiling` section of mongocfg configuration.
	OperationProfiling *MongoCfgConfig4_0_OperationProfiling `protobuf:"bytes,2,opt,name=operation_profiling,json=operationProfiling,proto3" json:"operation_profiling,omitempty"`
	// `net` section of mongocfg configuration.
	Net                  *MongoCfgConfig4_0_Network `protobuf:"bytes,3,opt,name=net,proto3" json:"net,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (m *MongoCfgConfig4_0) Reset()         { *m = MongoCfgConfig4_0{} }
func (m *MongoCfgConfig4_0) String() string { return proto.CompactTextString(m) }
func (*MongoCfgConfig4_0) ProtoMessage()    {}
func (*MongoCfgConfig4_0) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{1}
}

func (m *MongoCfgConfig4_0) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongoCfgConfig4_0.Unmarshal(m, b)
}
func (m *MongoCfgConfig4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongoCfgConfig4_0.Marshal(b, m, deterministic)
}
func (m *MongoCfgConfig4_0) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongoCfgConfig4_0.Merge(m, src)
}
func (m *MongoCfgConfig4_0) XXX_Size() int {
	return xxx_messageInfo_MongoCfgConfig4_0.Size(m)
}
func (m *MongoCfgConfig4_0) XXX_DiscardUnknown() {
	xxx_messageInfo_MongoCfgConfig4_0.DiscardUnknown(m)
}

var xxx_messageInfo_MongoCfgConfig4_0 proto.InternalMessageInfo

func (m *MongoCfgConfig4_0) GetStorage() *MongoCfgConfig4_0_Storage {
	if m != nil {
		return m.Storage
	}
	return nil
}

func (m *MongoCfgConfig4_0) GetOperationProfiling() *MongoCfgConfig4_0_OperationProfiling {
	if m != nil {
		return m.OperationProfiling
	}
	return nil
}

func (m *MongoCfgConfig4_0) GetNet() *MongoCfgConfig4_0_Network {
	if m != nil {
		return m.Net
	}
	return nil
}

type MongoCfgConfig4_0_Storage struct {
	// Configuration of the WiredTiger storage engine.
	WiredTiger           *MongoCfgConfig4_0_Storage_WiredTiger `protobuf:"bytes,1,opt,name=wired_tiger,json=wiredTiger,proto3" json:"wired_tiger,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (m *MongoCfgConfig4_0_Storage) Reset()         { *m = MongoCfgConfig4_0_Storage{} }
func (m *MongoCfgConfig4_0_Storage) String() string { return proto.CompactTextString(m) }
func (*MongoCfgConfig4_0_Storage) ProtoMessage()    {}
func (*MongoCfgConfig4_0_Storage) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{1, 0}
}

func (m *MongoCfgConfig4_0_Storage) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage.Unmarshal(m, b)
}
func (m *MongoCfgConfig4_0_Storage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage.Marshal(b, m, deterministic)
}
func (m *MongoCfgConfig4_0_Storage) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongoCfgConfig4_0_Storage.Merge(m, src)
}
func (m *MongoCfgConfig4_0_Storage) XXX_Size() int {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage.Size(m)
}
func (m *MongoCfgConfig4_0_Storage) XXX_DiscardUnknown() {
	xxx_messageInfo_MongoCfgConfig4_0_Storage.DiscardUnknown(m)
}

var xxx_messageInfo_MongoCfgConfig4_0_Storage proto.InternalMessageInfo

func (m *MongoCfgConfig4_0_Storage) GetWiredTiger() *MongoCfgConfig4_0_Storage_WiredTiger {
	if m != nil {
		return m.WiredTiger
	}
	return nil
}

// Configuration of WiredTiger storage engine.
type MongoCfgConfig4_0_Storage_WiredTiger struct {
	// Engine configuration for WiredTiger.
	EngineConfig         *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig `protobuf:"bytes,1,opt,name=engine_config,json=engineConfig,proto3" json:"engine_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                                           `json:"-"`
	XXX_unrecognized     []byte                                             `json:"-"`
	XXX_sizecache        int32                                              `json:"-"`
}

func (m *MongoCfgConfig4_0_Storage_WiredTiger) Reset()         { *m = MongoCfgConfig4_0_Storage_WiredTiger{} }
func (m *MongoCfgConfig4_0_Storage_WiredTiger) String() string { return proto.CompactTextString(m) }
func (*MongoCfgConfig4_0_Storage_WiredTiger) ProtoMessage()    {}
func (*MongoCfgConfig4_0_Storage_WiredTiger) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{1, 0, 0}
}

func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.Unmarshal(m, b)
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.Marshal(b, m, deterministic)
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.Merge(m, src)
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_Size() int {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.Size(m)
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger) XXX_DiscardUnknown() {
	xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger.DiscardUnknown(m)
}

var xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger proto.InternalMessageInfo

func (m *MongoCfgConfig4_0_Storage_WiredTiger) GetEngineConfig() *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig {
	if m != nil {
		return m.EngineConfig
	}
	return nil
}

type MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig struct {
	// The maximum size of the internal cache that WiredTiger will use for all data.
	CacheSizeGb          *wrappers.DoubleValue `protobuf:"bytes,1,opt,name=cache_size_gb,json=cacheSizeGb,proto3" json:"cache_size_gb,omitempty"`
	XXX_NoUnkeyedLiteral struct{}              `json:"-"`
	XXX_unrecognized     []byte                `json:"-"`
	XXX_sizecache        int32                 `json:"-"`
}

func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) Reset() {
	*m = MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig{}
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) String() string {
	return proto.CompactTextString(m)
}
func (*MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) ProtoMessage() {}
func (*MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{1, 0, 0, 0}
}

func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.Unmarshal(m, b)
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.Marshal(b, m, deterministic)
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.Merge(m, src)
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_Size() int {
	return xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.Size(m)
}
func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) XXX_DiscardUnknown() {
	xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig.DiscardUnknown(m)
}

var xxx_messageInfo_MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig proto.InternalMessageInfo

func (m *MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig) GetCacheSizeGb() *wrappers.DoubleValue {
	if m != nil {
		return m.CacheSizeGb
	}
	return nil
}

type MongoCfgConfig4_0_OperationProfiling struct {
	// Mode which specifies operations that should be profiled.
	Mode MongoCfgConfig4_0_OperationProfiling_Mode `protobuf:"varint,1,opt,name=mode,proto3,enum=yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0_OperationProfiling_Mode" json:"mode,omitempty"`
	// The slow operation time threshold, in milliseconds. Operations that run
	// for longer than this threshold are considered slow, and are processed by the profiler
	// running in the SLOW_OP mode. For details see [MongoDB documentation](https://docs.mongodb.com/v4.0/reference/configuration-options/#operationProfiling.slowOpThresholdMs).
	SlowOpThreshold      *wrappers.Int64Value `protobuf:"bytes,2,opt,name=slow_op_threshold,json=slowOpThreshold,proto3" json:"slow_op_threshold,omitempty"`
	XXX_NoUnkeyedLiteral struct{}             `json:"-"`
	XXX_unrecognized     []byte               `json:"-"`
	XXX_sizecache        int32                `json:"-"`
}

func (m *MongoCfgConfig4_0_OperationProfiling) Reset()         { *m = MongoCfgConfig4_0_OperationProfiling{} }
func (m *MongoCfgConfig4_0_OperationProfiling) String() string { return proto.CompactTextString(m) }
func (*MongoCfgConfig4_0_OperationProfiling) ProtoMessage()    {}
func (*MongoCfgConfig4_0_OperationProfiling) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{1, 1}
}

func (m *MongoCfgConfig4_0_OperationProfiling) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.Unmarshal(m, b)
}
func (m *MongoCfgConfig4_0_OperationProfiling) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.Marshal(b, m, deterministic)
}
func (m *MongoCfgConfig4_0_OperationProfiling) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.Merge(m, src)
}
func (m *MongoCfgConfig4_0_OperationProfiling) XXX_Size() int {
	return xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.Size(m)
}
func (m *MongoCfgConfig4_0_OperationProfiling) XXX_DiscardUnknown() {
	xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling.DiscardUnknown(m)
}

var xxx_messageInfo_MongoCfgConfig4_0_OperationProfiling proto.InternalMessageInfo

func (m *MongoCfgConfig4_0_OperationProfiling) GetMode() MongoCfgConfig4_0_OperationProfiling_Mode {
	if m != nil {
		return m.Mode
	}
	return MongoCfgConfig4_0_OperationProfiling_MODE_UNSPECIFIED
}

func (m *MongoCfgConfig4_0_OperationProfiling) GetSlowOpThreshold() *wrappers.Int64Value {
	if m != nil {
		return m.SlowOpThreshold
	}
	return nil
}

type MongoCfgConfig4_0_Network struct {
	// The maximum number of simultaneous connections that mongocfg will accept.
	MaxIncomingConnections *wrappers.Int64Value `protobuf:"bytes,1,opt,name=max_incoming_connections,json=maxIncomingConnections,proto3" json:"max_incoming_connections,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}             `json:"-"`
	XXX_unrecognized       []byte               `json:"-"`
	XXX_sizecache          int32                `json:"-"`
}

func (m *MongoCfgConfig4_0_Network) Reset()         { *m = MongoCfgConfig4_0_Network{} }
func (m *MongoCfgConfig4_0_Network) String() string { return proto.CompactTextString(m) }
func (*MongoCfgConfig4_0_Network) ProtoMessage()    {}
func (*MongoCfgConfig4_0_Network) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{1, 2}
}

func (m *MongoCfgConfig4_0_Network) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongoCfgConfig4_0_Network.Unmarshal(m, b)
}
func (m *MongoCfgConfig4_0_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongoCfgConfig4_0_Network.Marshal(b, m, deterministic)
}
func (m *MongoCfgConfig4_0_Network) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongoCfgConfig4_0_Network.Merge(m, src)
}
func (m *MongoCfgConfig4_0_Network) XXX_Size() int {
	return xxx_messageInfo_MongoCfgConfig4_0_Network.Size(m)
}
func (m *MongoCfgConfig4_0_Network) XXX_DiscardUnknown() {
	xxx_messageInfo_MongoCfgConfig4_0_Network.DiscardUnknown(m)
}

var xxx_messageInfo_MongoCfgConfig4_0_Network proto.InternalMessageInfo

func (m *MongoCfgConfig4_0_Network) GetMaxIncomingConnections() *wrappers.Int64Value {
	if m != nil {
		return m.MaxIncomingConnections
	}
	return nil
}

type MongosConfig4_0 struct {
	// Network settings for mongos.
	Net                  *MongosConfig4_0_Network `protobuf:"bytes,1,opt,name=net,proto3" json:"net,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (m *MongosConfig4_0) Reset()         { *m = MongosConfig4_0{} }
func (m *MongosConfig4_0) String() string { return proto.CompactTextString(m) }
func (*MongosConfig4_0) ProtoMessage()    {}
func (*MongosConfig4_0) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{2}
}

func (m *MongosConfig4_0) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongosConfig4_0.Unmarshal(m, b)
}
func (m *MongosConfig4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongosConfig4_0.Marshal(b, m, deterministic)
}
func (m *MongosConfig4_0) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongosConfig4_0.Merge(m, src)
}
func (m *MongosConfig4_0) XXX_Size() int {
	return xxx_messageInfo_MongosConfig4_0.Size(m)
}
func (m *MongosConfig4_0) XXX_DiscardUnknown() {
	xxx_messageInfo_MongosConfig4_0.DiscardUnknown(m)
}

var xxx_messageInfo_MongosConfig4_0 proto.InternalMessageInfo

func (m *MongosConfig4_0) GetNet() *MongosConfig4_0_Network {
	if m != nil {
		return m.Net
	}
	return nil
}

type MongosConfig4_0_Network struct {
	// The maximum number of simultaneous connections that mongos will accept.
	MaxIncomingConnections *wrappers.Int64Value `protobuf:"bytes,1,opt,name=max_incoming_connections,json=maxIncomingConnections,proto3" json:"max_incoming_connections,omitempty"`
	XXX_NoUnkeyedLiteral   struct{}             `json:"-"`
	XXX_unrecognized       []byte               `json:"-"`
	XXX_sizecache          int32                `json:"-"`
}

func (m *MongosConfig4_0_Network) Reset()         { *m = MongosConfig4_0_Network{} }
func (m *MongosConfig4_0_Network) String() string { return proto.CompactTextString(m) }
func (*MongosConfig4_0_Network) ProtoMessage()    {}
func (*MongosConfig4_0_Network) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{2, 0}
}

func (m *MongosConfig4_0_Network) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongosConfig4_0_Network.Unmarshal(m, b)
}
func (m *MongosConfig4_0_Network) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongosConfig4_0_Network.Marshal(b, m, deterministic)
}
func (m *MongosConfig4_0_Network) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongosConfig4_0_Network.Merge(m, src)
}
func (m *MongosConfig4_0_Network) XXX_Size() int {
	return xxx_messageInfo_MongosConfig4_0_Network.Size(m)
}
func (m *MongosConfig4_0_Network) XXX_DiscardUnknown() {
	xxx_messageInfo_MongosConfig4_0_Network.DiscardUnknown(m)
}

var xxx_messageInfo_MongosConfig4_0_Network proto.InternalMessageInfo

func (m *MongosConfig4_0_Network) GetMaxIncomingConnections() *wrappers.Int64Value {
	if m != nil {
		return m.MaxIncomingConnections
	}
	return nil
}

type MongodConfigSet4_0 struct {
	// Effective mongod settings for a MongoDB 4.0 cluster (a combination of settings defined
	// in [user_config] and [default_config]).
	EffectiveConfig *MongodConfig4_0 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"`
	// User-defined mongod settings for a MongoDB 4.0 cluster.
	UserConfig *MongodConfig4_0 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"`
	// Default mongod configuration for a MongoDB 4.0 cluster.
	DefaultConfig        *MongodConfig4_0 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *MongodConfigSet4_0) Reset()         { *m = MongodConfigSet4_0{} }
func (m *MongodConfigSet4_0) String() string { return proto.CompactTextString(m) }
func (*MongodConfigSet4_0) ProtoMessage()    {}
func (*MongodConfigSet4_0) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{3}
}

func (m *MongodConfigSet4_0) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongodConfigSet4_0.Unmarshal(m, b)
}
func (m *MongodConfigSet4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongodConfigSet4_0.Marshal(b, m, deterministic)
}
func (m *MongodConfigSet4_0) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongodConfigSet4_0.Merge(m, src)
}
func (m *MongodConfigSet4_0) XXX_Size() int {
	return xxx_messageInfo_MongodConfigSet4_0.Size(m)
}
func (m *MongodConfigSet4_0) XXX_DiscardUnknown() {
	xxx_messageInfo_MongodConfigSet4_0.DiscardUnknown(m)
}

var xxx_messageInfo_MongodConfigSet4_0 proto.InternalMessageInfo

func (m *MongodConfigSet4_0) GetEffectiveConfig() *MongodConfig4_0 {
	if m != nil {
		return m.EffectiveConfig
	}
	return nil
}

func (m *MongodConfigSet4_0) GetUserConfig() *MongodConfig4_0 {
	if m != nil {
		return m.UserConfig
	}
	return nil
}

func (m *MongodConfigSet4_0) GetDefaultConfig() *MongodConfig4_0 {
	if m != nil {
		return m.DefaultConfig
	}
	return nil
}

type MongoCfgConfigSet4_0 struct {
	// Effective mongocfg settings for a MongoDB 4.0 cluster (a combination of settings defined
	// in [user_config] and [default_config]).
	EffectiveConfig *MongoCfgConfig4_0 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"`
	// User-defined mongocfg settings for a MongoDB 4.0 cluster.
	UserConfig *MongoCfgConfig4_0 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"`
	// Default mongocfg configuration for a MongoDB 4.0 cluster.
	DefaultConfig        *MongoCfgConfig4_0 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}           `json:"-"`
	XXX_unrecognized     []byte             `json:"-"`
	XXX_sizecache        int32              `json:"-"`
}

func (m *MongoCfgConfigSet4_0) Reset()         { *m = MongoCfgConfigSet4_0{} }
func (m *MongoCfgConfigSet4_0) String() string { return proto.CompactTextString(m) }
func (*MongoCfgConfigSet4_0) ProtoMessage()    {}
func (*MongoCfgConfigSet4_0) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{4}
}

func (m *MongoCfgConfigSet4_0) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongoCfgConfigSet4_0.Unmarshal(m, b)
}
func (m *MongoCfgConfigSet4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongoCfgConfigSet4_0.Marshal(b, m, deterministic)
}
func (m *MongoCfgConfigSet4_0) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongoCfgConfigSet4_0.Merge(m, src)
}
func (m *MongoCfgConfigSet4_0) XXX_Size() int {
	return xxx_messageInfo_MongoCfgConfigSet4_0.Size(m)
}
func (m *MongoCfgConfigSet4_0) XXX_DiscardUnknown() {
	xxx_messageInfo_MongoCfgConfigSet4_0.DiscardUnknown(m)
}

var xxx_messageInfo_MongoCfgConfigSet4_0 proto.InternalMessageInfo

func (m *MongoCfgConfigSet4_0) GetEffectiveConfig() *MongoCfgConfig4_0 {
	if m != nil {
		return m.EffectiveConfig
	}
	return nil
}

func (m *MongoCfgConfigSet4_0) GetUserConfig() *MongoCfgConfig4_0 {
	if m != nil {
		return m.UserConfig
	}
	return nil
}

func (m *MongoCfgConfigSet4_0) GetDefaultConfig() *MongoCfgConfig4_0 {
	if m != nil {
		return m.DefaultConfig
	}
	return nil
}

type MongosConfigSet4_0 struct {
	// Effective mongos settings for a MongoDB 4.0 cluster (a combination of settings defined
	// in [user_config] and [default_config]).
	EffectiveConfig *MongosConfig4_0 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"`
	// User-defined mongos settings for a MongoDB 4.0 cluster.
	UserConfig *MongosConfig4_0 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"`
	// Default mongos configuration for a MongoDB 4.0 cluster.
	DefaultConfig        *MongosConfig4_0 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func (m *MongosConfigSet4_0) Reset()         { *m = MongosConfigSet4_0{} }
func (m *MongosConfigSet4_0) String() string { return proto.CompactTextString(m) }
func (*MongosConfigSet4_0) ProtoMessage()    {}
func (*MongosConfigSet4_0) Descriptor() ([]byte, []int) {
	return fileDescriptor_3e01ff1b28bd2657, []int{5}
}

func (m *MongosConfigSet4_0) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_MongosConfigSet4_0.Unmarshal(m, b)
}
func (m *MongosConfigSet4_0) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_MongosConfigSet4_0.Marshal(b, m, deterministic)
}
func (m *MongosConfigSet4_0) XXX_Merge(src proto.Message) {
	xxx_messageInfo_MongosConfigSet4_0.Merge(m, src)
}
func (m *MongosConfigSet4_0) XXX_Size() int {
	return xxx_messageInfo_MongosConfigSet4_0.Size(m)
}
func (m *MongosConfigSet4_0) XXX_DiscardUnknown() {
	xxx_messageInfo_MongosConfigSet4_0.DiscardUnknown(m)
}

var xxx_messageInfo_MongosConfigSet4_0 proto.InternalMessageInfo

func (m *MongosConfigSet4_0) GetEffectiveConfig() *MongosConfig4_0 {
	if m != nil {
		return m.EffectiveConfig
	}
	return nil
}

func (m *MongosConfigSet4_0) GetUserConfig() *MongosConfig4_0 {
	if m != nil {
		return m.UserConfig
	}
	return nil
}

func (m *MongosConfigSet4_0) GetDefaultConfig() *MongosConfig4_0 {
	if m != nil {
		return m.DefaultConfig
	}
	return nil
}

func init() {
	proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor", MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_name, MongodConfig4_0_Storage_WiredTiger_CollectionConfig_Compressor_value)
	proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0_OperationProfiling_Mode", MongodConfig4_0_OperationProfiling_Mode_name, MongodConfig4_0_OperationProfiling_Mode_value)
	proto.RegisterEnum("yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0_OperationProfiling_Mode", MongoCfgConfig4_0_OperationProfiling_Mode_name, MongoCfgConfig4_0_OperationProfiling_Mode_value)
	proto.RegisterType((*MongodConfig4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0")
	proto.RegisterType((*MongodConfig4_0_Storage)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage")
	proto.RegisterType((*MongodConfig4_0_Storage_WiredTiger)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger")
	proto.RegisterType((*MongodConfig4_0_Storage_WiredTiger_EngineConfig)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger.EngineConfig")
	proto.RegisterType((*MongodConfig4_0_Storage_WiredTiger_CollectionConfig)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.WiredTiger.CollectionConfig")
	proto.RegisterType((*MongodConfig4_0_Storage_Journal)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Storage.Journal")
	proto.RegisterType((*MongodConfig4_0_OperationProfiling)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.OperationProfiling")
	proto.RegisterType((*MongodConfig4_0_Network)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfig4_0.Network")
	proto.RegisterType((*MongoCfgConfig4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0")
	proto.RegisterType((*MongoCfgConfig4_0_Storage)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage")
	proto.RegisterType((*MongoCfgConfig4_0_Storage_WiredTiger)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage.WiredTiger")
	proto.RegisterType((*MongoCfgConfig4_0_Storage_WiredTiger_EngineConfig)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Storage.WiredTiger.EngineConfig")
	proto.RegisterType((*MongoCfgConfig4_0_OperationProfiling)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.OperationProfiling")
	proto.RegisterType((*MongoCfgConfig4_0_Network)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfig4_0.Network")
	proto.RegisterType((*MongosConfig4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_0")
	proto.RegisterType((*MongosConfig4_0_Network)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongosConfig4_0.Network")
	proto.RegisterType((*MongodConfigSet4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongodConfigSet4_0")
	proto.RegisterType((*MongoCfgConfigSet4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongoCfgConfigSet4_0")
	proto.RegisterType((*MongosConfigSet4_0)(nil), "yandex.cloud.mdb.mongodb.v1.config.MongosConfigSet4_0")
}

func init() {
	proto.RegisterFile("yandex/cloud/mdb/mongodb/v1/config/mongodb4_0.proto", fileDescriptor_3e01ff1b28bd2657)
}

var fileDescriptor_3e01ff1b28bd2657 = []byte{
	// 982 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0xcd, 0x6e, 0xe3, 0x54,
	0x14, 0xc7, 0x49, 0x52, 0x9a, 0x72, 0xd2, 0x36, 0xee, 0x65, 0x34, 0xaa, 0xcc, 0x87, 0x50, 0x56,
	0x6c, 0x7a, 0x9d, 0x4c, 0x3b, 0x23, 0xa4, 0x0a, 0xc4, 0x34, 0x4d, 0x68, 0xa0, 0x89, 0x23, 0xbb,
	0x9d, 0x8a, 0x0a, 0x30, 0xfe, 0xb8, 0x71, 0xcd, 0xd8, 0xbe, 0x91, 0xed, 0x24, 0x9d, 0x6e, 0x19,
	0x96, 0xbc, 0x06, 0xec, 0x78, 0x8d, 0xee, 0x10, 0x6c, 0x79, 0x06, 0x9e, 0xa0, 0x0b, 0x84, 0x6c,
	0x5f, 0xe7, 0xb3, 0x69, 0x8b, 0x9b, 0xb2, 0x9a, 0x5d, 0x7d, 0xea, 0xf3, 0x3b, 0xf7, 0xfc, 0x73,
	0x3e, 0xae, 0x61, 0xfb, 0x95, 0xea, 0x1a, 0xe4, 0x5c, 0xd0, 0x6d, 0xda, 0x33, 0x04, 0xc7, 0xd0,
	0x04, 0x87, 0xba, 0x26, 0x35, 0x34, 0xa1, 0x5f, 0x11, 0x74, 0xea, 0x76, 0x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