// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/ai/tuning/v1/tuning_error.proto

package fomo

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 TuningError_Type int32

const (
	TuningError_TYPE_UNSPECIFIED TuningError_Type = 0
	TuningError_PUBLIC           TuningError_Type = 1
	TuningError_INTERNAL         TuningError_Type = 2
)

// Enum value maps for TuningError_Type.
var (
	TuningError_Type_name = map[int32]string{
		0: "TYPE_UNSPECIFIED",
		1: "PUBLIC",
		2: "INTERNAL",
	}
	TuningError_Type_value = map[string]int32{
		"TYPE_UNSPECIFIED": 0,
		"PUBLIC":           1,
		"INTERNAL":         2,
	}
)

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

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

func (TuningError_Type) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_ai_tuning_v1_tuning_error_proto_enumTypes[0].Descriptor()
}

func (TuningError_Type) Type() protoreflect.EnumType {
	return &file_yandex_cloud_ai_tuning_v1_tuning_error_proto_enumTypes[0]
}

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

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

type TuningError struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	TuningTaskId  string                 `protobuf:"bytes,1,opt,name=tuning_task_id,json=tuningTaskId,proto3" json:"tuning_task_id,omitempty"`
	Message       string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	Type          TuningError_Type       `protobuf:"varint,3,opt,name=type,proto3,enum=yandex.cloud.ai.tuning.v1.TuningError_Type" json:"type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*TuningError) ProtoMessage() {}

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

func (x *TuningError) GetTuningTaskId() string {
	if x != nil {
		return x.TuningTaskId
	}
	return ""
}

func (x *TuningError) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

func (x *TuningError) GetType() TuningError_Type {
	if x != nil {
		return x.Type
	}
	return TuningError_TYPE_UNSPECIFIED
}

var File_yandex_cloud_ai_tuning_v1_tuning_error_proto protoreflect.FileDescriptor

const file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDesc = "" +
	"\n" +
	",yandex/cloud/ai/tuning/v1/tuning_error.proto\x12\x19yandex.cloud.ai.tuning.v1\"\xc6\x01\n" +
	"\vTuningError\x12$\n" +
	"\x0etuning_task_id\x18\x01 \x01(\tR\ftuningTaskId\x12\x18\n" +
	"\amessage\x18\x02 \x01(\tR\amessage\x12?\n" +
	"\x04type\x18\x03 \x01(\x0e2+.yandex.cloud.ai.tuning.v1.TuningError.TypeR\x04type\"6\n" +
	"\x04Type\x12\x14\n" +
	"\x10TYPE_UNSPECIFIED\x10\x00\x12\n" +
	"\n" +
	"\x06PUBLIC\x10\x01\x12\f\n" +
	"\bINTERNAL\x10\x02Bc\n" +
	"\x1dyandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomob\x06proto3"

var (
	file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDescOnce sync.Once
	file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDescData []byte
)

func file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDescGZIP() []byte {
	file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDesc), len(file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDesc)))
	})
	return file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDescData
}

var file_yandex_cloud_ai_tuning_v1_tuning_error_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_ai_tuning_v1_tuning_error_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_ai_tuning_v1_tuning_error_proto_goTypes = []any{
	(TuningError_Type)(0), // 0: yandex.cloud.ai.tuning.v1.TuningError.Type
	(*TuningError)(nil),   // 1: yandex.cloud.ai.tuning.v1.TuningError
}
var file_yandex_cloud_ai_tuning_v1_tuning_error_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.ai.tuning.v1.TuningError.type:type_name -> yandex.cloud.ai.tuning.v1.TuningError.Type
	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_ai_tuning_v1_tuning_error_proto_init() }
func file_yandex_cloud_ai_tuning_v1_tuning_error_proto_init() {
	if File_yandex_cloud_ai_tuning_v1_tuning_error_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_ai_tuning_v1_tuning_error_proto_rawDesc), len(file_yandex_cloud_ai_tuning_v1_tuning_error_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_ai_tuning_v1_tuning_error_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_ai_tuning_v1_tuning_error_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_ai_tuning_v1_tuning_error_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_ai_tuning_v1_tuning_error_proto_msgTypes,
	}.Build()
	File_yandex_cloud_ai_tuning_v1_tuning_error_proto = out.File
	file_yandex_cloud_ai_tuning_v1_tuning_error_proto_goTypes = nil
	file_yandex_cloud_ai_tuning_v1_tuning_error_proto_depIdxs = nil
}
