// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/mdb/mysql/v1alpha/config/mysql5_7.proto

package mysql

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

// Options and structure of `MysqlConfig5_7` reflects MySQL 5.7 configuration file
type MysqlConfig5_7 struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Size of the InnoDB buffer pool used for caching table and index data.
	//
	// For details, see [MySQL documentation for the parameter](https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_buffer_pool_size).
	InnodbBufferPoolSize *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=innodb_buffer_pool_size,json=innodbBufferPoolSize,proto3" json:"innodb_buffer_pool_size,omitempty"`
	// The maximum permitted number of simultaneous client connections.
	//
	// For details, see [MySQL documentation for the variable](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_max_connections).
	MaxConnections *wrapperspb.Int64Value `protobuf:"bytes,2,opt,name=max_connections,json=maxConnections,proto3" json:"max_connections,omitempty"`
	// Time that it takes to process a query before it is considered slow.
	//
	// For details, see [MySQL documentation for the variable](https://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_long_query_time).
	LongQueryTime *wrapperspb.DoubleValue `protobuf:"bytes,3,opt,name=long_query_time,json=longQueryTime,proto3" json:"long_query_time,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *MysqlConfig5_7) Reset() {
	*x = MysqlConfig5_7{}
	mi := &file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *MysqlConfig5_7) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MysqlConfig5_7) ProtoMessage() {}

func (x *MysqlConfig5_7) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MysqlConfig5_7.ProtoReflect.Descriptor instead.
func (*MysqlConfig5_7) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDescGZIP(), []int{0}
}

func (x *MysqlConfig5_7) GetInnodbBufferPoolSize() *wrapperspb.Int64Value {
	if x != nil {
		return x.InnodbBufferPoolSize
	}
	return nil
}

func (x *MysqlConfig5_7) GetMaxConnections() *wrapperspb.Int64Value {
	if x != nil {
		return x.MaxConnections
	}
	return nil
}

func (x *MysqlConfig5_7) GetLongQueryTime() *wrapperspb.DoubleValue {
	if x != nil {
		return x.LongQueryTime
	}
	return nil
}

type MysqlConfigSet5_7 struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Effective settings for a MySQL 5.7 cluster (a combination of settings defined
	// in [user_config] and [default_config]).
	EffectiveConfig *MysqlConfig5_7 `protobuf:"bytes,1,opt,name=effective_config,json=effectiveConfig,proto3" json:"effective_config,omitempty"`
	// User-defined settings for a MySQL 5.7 cluster.
	UserConfig *MysqlConfig5_7 `protobuf:"bytes,2,opt,name=user_config,json=userConfig,proto3" json:"user_config,omitempty"`
	// Default configuration for a MySQL 5.7 cluster.
	DefaultConfig *MysqlConfig5_7 `protobuf:"bytes,3,opt,name=default_config,json=defaultConfig,proto3" json:"default_config,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *MysqlConfigSet5_7) Reset() {
	*x = MysqlConfigSet5_7{}
	mi := &file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *MysqlConfigSet5_7) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*MysqlConfigSet5_7) ProtoMessage() {}

func (x *MysqlConfigSet5_7) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_msgTypes[1]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MysqlConfigSet5_7.ProtoReflect.Descriptor instead.
func (*MysqlConfigSet5_7) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDescGZIP(), []int{1}
}

func (x *MysqlConfigSet5_7) GetEffectiveConfig() *MysqlConfig5_7 {
	if x != nil {
		return x.EffectiveConfig
	}
	return nil
}

func (x *MysqlConfigSet5_7) GetUserConfig() *MysqlConfig5_7 {
	if x != nil {
		return x.UserConfig
	}
	return nil
}

func (x *MysqlConfigSet5_7) GetDefaultConfig() *MysqlConfig5_7 {
	if x != nil {
		return x.DefaultConfig
	}
	return nil
}

var File_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDesc = "" +
	"\n" +
	"4yandex/cloud/mdb/mysql/v1alpha/config/mysql5_7.proto\x12%yandex.cloud.mdb.mysql.v1alpha.config\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\"\x8d\x02\n" +
	"\x0eMysqlConfig5_7\x12a\n" +
	"\x17innodb_buffer_pool_size\x18\x01 \x01(\v2\x1b.google.protobuf.Int64ValueB\r\xfa\xc71\t>=5242880R\x14innodbBufferPoolSize\x12R\n" +
	"\x0fmax_connections\x18\x02 \x01(\v2\x1b.google.protobuf.Int64ValueB\f\xfa\xc71\b10-10000R\x0emaxConnections\x12D\n" +
	"\x0flong_query_time\x18\x03 \x01(\v2\x1c.google.protobuf.DoubleValueR\rlongQueryTime\"\xab\x02\n" +
	"\x11MysqlConfigSet5_7\x12`\n" +
	"\x10effective_config\x18\x01 \x01(\v25.yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7R\x0feffectiveConfig\x12V\n" +
	"\vuser_config\x18\x02 \x01(\v25.yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7R\n" +
	"userConfig\x12\\\n" +
	"\x0edefault_config\x18\x03 \x01(\v25.yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7R\rdefaultConfigB|\n" +
	")yandex.cloud.api.mdb.mysql.v1alpha.configZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/mysql/v1alpha/config;mysqlb\x06proto3"

var (
	file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDesc), len(file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDescData
}

var file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_goTypes = []any{
	(*MysqlConfig5_7)(nil),         // 0: yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7
	(*MysqlConfigSet5_7)(nil),      // 1: yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfigSet5_7
	(*wrapperspb.Int64Value)(nil),  // 2: google.protobuf.Int64Value
	(*wrapperspb.DoubleValue)(nil), // 3: google.protobuf.DoubleValue
}
var file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_depIdxs = []int32{
	2, // 0: yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7.innodb_buffer_pool_size:type_name -> google.protobuf.Int64Value
	2, // 1: yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7.max_connections:type_name -> google.protobuf.Int64Value
	3, // 2: yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7.long_query_time:type_name -> google.protobuf.DoubleValue
	0, // 3: yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfigSet5_7.effective_config:type_name -> yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7
	0, // 4: yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfigSet5_7.user_config:type_name -> yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7
	0, // 5: yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfigSet5_7.default_config:type_name -> yandex.cloud.mdb.mysql.v1alpha.config.MysqlConfig5_7
	6, // [6:6] is the sub-list for method output_type
	6, // [6:6] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_init() }
func file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_init() {
	if File_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDesc), len(file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto = out.File
	file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_goTypes = nil
	file_yandex_cloud_mdb_mysql_v1alpha_config_mysql5_7_proto_depIdxs = nil
}
