// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/mdb/clickhouse/v1/ml_model.proto

package clickhouse

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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)
)

type MlModelType int32

const (
	MlModelType_ML_MODEL_TYPE_UNSPECIFIED MlModelType = 0
	// CatBoost model.
	MlModelType_ML_MODEL_TYPE_CATBOOST MlModelType = 1
)

// Enum value maps for MlModelType.
var (
	MlModelType_name = map[int32]string{
		0: "ML_MODEL_TYPE_UNSPECIFIED",
		1: "ML_MODEL_TYPE_CATBOOST",
	}
	MlModelType_value = map[string]int32{
		"ML_MODEL_TYPE_UNSPECIFIED": 0,
		"ML_MODEL_TYPE_CATBOOST":    1,
	}
)

func (x MlModelType) Enum() *MlModelType {
	p := new(MlModelType)
	*p = x
	return p
}

func (x MlModelType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (MlModelType) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_enumTypes[0].Descriptor()
}

func (MlModelType) Type() protoreflect.EnumType {
	return &file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_enumTypes[0]
}

func (x MlModelType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use MlModelType.Descriptor instead.
func (MlModelType) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDescGZIP(), []int{0}
}

type MlModel struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Name of the the model.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ID of the ClickHouse cluster that the model belongs to.
	ClusterId string `protobuf:"bytes,2,opt,name=cluster_id,json=clusterId,proto3" json:"cluster_id,omitempty"`
	// Type of the model.
	Type MlModelType `protobuf:"varint,3,opt,name=type,proto3,enum=yandex.cloud.mdb.clickhouse.v1.MlModelType" json:"type,omitempty"`
	// Model file URL. You can only use models stored in Object Storage.
	Uri           string `protobuf:"bytes,4,opt,name=uri,proto3" json:"uri,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*MlModel) ProtoMessage() {}

func (x *MlModel) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_mdb_clickhouse_v1_ml_model_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 MlModel.ProtoReflect.Descriptor instead.
func (*MlModel) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDescGZIP(), []int{0}
}

func (x *MlModel) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *MlModel) GetClusterId() string {
	if x != nil {
		return x.ClusterId
	}
	return ""
}

func (x *MlModel) GetType() MlModelType {
	if x != nil {
		return x.Type
	}
	return MlModelType_ML_MODEL_TYPE_UNSPECIFIED
}

func (x *MlModel) GetUri() string {
	if x != nil {
		return x.Uri
	}
	return ""
}

var File_yandex_cloud_mdb_clickhouse_v1_ml_model_proto protoreflect.FileDescriptor

const file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDesc = "" +
	"\n" +
	"-yandex/cloud/mdb/clickhouse/v1/ml_model.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\"\x8f\x01\n" +
	"\aMlModel\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x1d\n" +
	"\n" +
	"cluster_id\x18\x02 \x01(\tR\tclusterId\x12?\n" +
	"\x04type\x18\x03 \x01(\x0e2+.yandex.cloud.mdb.clickhouse.v1.MlModelTypeR\x04type\x12\x10\n" +
	"\x03uri\x18\x04 \x01(\tR\x03uri*H\n" +
	"\vMlModelType\x12\x1d\n" +
	"\x19ML_MODEL_TYPE_UNSPECIFIED\x10\x00\x12\x1a\n" +
	"\x16ML_MODEL_TYPE_CATBOOST\x10\x01Bs\n" +
	"\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3"

var (
	file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDescOnce sync.Once
	file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDescData []byte
)

func file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDescGZIP() []byte {
	file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDesc), len(file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDesc)))
	})
	return file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDescData
}

var file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_goTypes = []any{
	(MlModelType)(0), // 0: yandex.cloud.mdb.clickhouse.v1.MlModelType
	(*MlModel)(nil),  // 1: yandex.cloud.mdb.clickhouse.v1.MlModel
}
var file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.mdb.clickhouse.v1.MlModel.type:type_name -> yandex.cloud.mdb.clickhouse.v1.MlModelType
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_init() }
func file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_init() {
	if File_yandex_cloud_mdb_clickhouse_v1_ml_model_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_clickhouse_v1_ml_model_proto_rawDesc), len(file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_msgTypes,
	}.Build()
	File_yandex_cloud_mdb_clickhouse_v1_ml_model_proto = out.File
	file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_goTypes = nil
	file_yandex_cloud_mdb_clickhouse_v1_ml_model_proto_depIdxs = nil
}
