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

package fomo

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	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 TuningTask_Status int32

const (
	TuningTask_STATUS_UNSPECIFIED TuningTask_Status = 0
	TuningTask_CREATED            TuningTask_Status = 1
	TuningTask_PENDING            TuningTask_Status = 2
	TuningTask_IN_PROGRESS        TuningTask_Status = 3
	TuningTask_COMPLETED          TuningTask_Status = 4
	TuningTask_FAILED             TuningTask_Status = 5
	TuningTask_CANCELED           TuningTask_Status = 6
	TuningTask_DRAFT              TuningTask_Status = 7
	TuningTask_ARCHIVED           TuningTask_Status = 8
	TuningTask_PAID               TuningTask_Status = 9
)

// Enum value maps for TuningTask_Status.
var (
	TuningTask_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "CREATED",
		2: "PENDING",
		3: "IN_PROGRESS",
		4: "COMPLETED",
		5: "FAILED",
		6: "CANCELED",
		7: "DRAFT",
		8: "ARCHIVED",
		9: "PAID",
	}
	TuningTask_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"CREATED":            1,
		"PENDING":            2,
		"IN_PROGRESS":        3,
		"COMPLETED":          4,
		"FAILED":             5,
		"CANCELED":           6,
		"DRAFT":              7,
		"ARCHIVED":           8,
		"PAID":               9,
	}
)

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

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

func (TuningTask_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_ai_tuning_v1_tuning_task_proto_enumTypes[0].Descriptor()
}

func (TuningTask_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_ai_tuning_v1_tuning_task_proto_enumTypes[0]
}

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

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

type TuningTask struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	TaskId         string                 `protobuf:"bytes,1,opt,name=task_id,json=taskId,proto3" json:"task_id,omitempty"`
	OperationId    string                 `protobuf:"bytes,3,opt,name=operation_id,json=operationId,proto3" json:"operation_id,omitempty"`
	Status         TuningTask_Status      `protobuf:"varint,4,opt,name=status,proto3,enum=yandex.cloud.ai.tuning.v1.TuningTask_Status" json:"status,omitempty"`
	FolderId       string                 `protobuf:"bytes,5,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	CreatedBy      string                 `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	CreatedAt      *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	StartedAt      *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=started_at,json=startedAt,proto3" json:"started_at,omitempty"`
	FinishedAt     *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=finished_at,json=finishedAt,proto3" json:"finished_at,omitempty"`
	SourceModelUri string                 `protobuf:"bytes,10,opt,name=source_model_uri,json=sourceModelUri,proto3" json:"source_model_uri,omitempty"`
	TargetModelUri string                 `protobuf:"bytes,11,opt,name=target_model_uri,json=targetModelUri,proto3" json:"target_model_uri,omitempty"`
	Name           string                 `protobuf:"bytes,12,opt,name=name,proto3" json:"name,omitempty"`
	Description    string                 `protobuf:"bytes,13,opt,name=description,proto3" json:"description,omitempty"`
	Labels         map[string]string      `protobuf:"bytes,14,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*TuningTask) ProtoMessage() {}

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

func (x *TuningTask) GetTaskId() string {
	if x != nil {
		return x.TaskId
	}
	return ""
}

func (x *TuningTask) GetOperationId() string {
	if x != nil {
		return x.OperationId
	}
	return ""
}

func (x *TuningTask) GetStatus() TuningTask_Status {
	if x != nil {
		return x.Status
	}
	return TuningTask_STATUS_UNSPECIFIED
}

func (x *TuningTask) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

func (x *TuningTask) GetCreatedBy() string {
	if x != nil {
		return x.CreatedBy
	}
	return ""
}

func (x *TuningTask) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *TuningTask) GetStartedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.StartedAt
	}
	return nil
}

func (x *TuningTask) GetFinishedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.FinishedAt
	}
	return nil
}

func (x *TuningTask) GetSourceModelUri() string {
	if x != nil {
		return x.SourceModelUri
	}
	return ""
}

func (x *TuningTask) GetTargetModelUri() string {
	if x != nil {
		return x.TargetModelUri
	}
	return ""
}

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

func (x *TuningTask) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *TuningTask) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

var File_yandex_cloud_ai_tuning_v1_tuning_task_proto protoreflect.FileDescriptor

const file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDesc = "" +
	"\n" +
	"+yandex/cloud/ai/tuning/v1/tuning_task.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xca\x06\n" +
	"\n" +
	"TuningTask\x12\x17\n" +
	"\atask_id\x18\x01 \x01(\tR\x06taskId\x12!\n" +
	"\foperation_id\x18\x03 \x01(\tR\voperationId\x12D\n" +
	"\x06status\x18\x04 \x01(\x0e2,.yandex.cloud.ai.tuning.v1.TuningTask.StatusR\x06status\x12\x1b\n" +
	"\tfolder_id\x18\x05 \x01(\tR\bfolderId\x12\x1d\n" +
	"\n" +
	"created_by\x18\x06 \x01(\tR\tcreatedBy\x129\n" +
	"\n" +
	"created_at\x18\a \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x129\n" +
	"\n" +
	"started_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\tstartedAt\x12;\n" +
	"\vfinished_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"finishedAt\x12(\n" +
	"\x10source_model_uri\x18\n" +
	" \x01(\tR\x0esourceModelUri\x12(\n" +
	"\x10target_model_uri\x18\v \x01(\tR\x0etargetModelUri\x12/\n" +
	"\x04name\x18\f \x01(\tB\x1b\xf2\xc71\x17^[A-Za-z0-9 _-]{3,100}$R\x04name\x12 \n" +
	"\vdescription\x18\r \x01(\tR\vdescription\x12I\n" +
	"\x06labels\x18\x0e \x03(\v21.yandex.cloud.ai.tuning.v1.TuningTask.LabelsEntryR\x06labels\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x97\x01\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aCREATED\x10\x01\x12\v\n" +
	"\aPENDING\x10\x02\x12\x0f\n" +
	"\vIN_PROGRESS\x10\x03\x12\r\n" +
	"\tCOMPLETED\x10\x04\x12\n" +
	"\n" +
	"\x06FAILED\x10\x05\x12\f\n" +
	"\bCANCELED\x10\x06\x12\t\n" +
	"\x05DRAFT\x10\a\x12\f\n" +
	"\bARCHIVED\x10\b\x12\b\n" +
	"\x04PAID\x10\tJ\x04\b\x02\x10\x03Bc\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_task_proto_rawDescOnce sync.Once
	file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDescData []byte
)

func file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDescGZIP() []byte {
	file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDesc), len(file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDesc)))
	})
	return file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDescData
}

var file_yandex_cloud_ai_tuning_v1_tuning_task_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_ai_tuning_v1_tuning_task_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_ai_tuning_v1_tuning_task_proto_goTypes = []any{
	(TuningTask_Status)(0),        // 0: yandex.cloud.ai.tuning.v1.TuningTask.Status
	(*TuningTask)(nil),            // 1: yandex.cloud.ai.tuning.v1.TuningTask
	nil,                           // 2: yandex.cloud.ai.tuning.v1.TuningTask.LabelsEntry
	(*timestamppb.Timestamp)(nil), // 3: google.protobuf.Timestamp
}
var file_yandex_cloud_ai_tuning_v1_tuning_task_proto_depIdxs = []int32{
	0, // 0: yandex.cloud.ai.tuning.v1.TuningTask.status:type_name -> yandex.cloud.ai.tuning.v1.TuningTask.Status
	3, // 1: yandex.cloud.ai.tuning.v1.TuningTask.created_at:type_name -> google.protobuf.Timestamp
	3, // 2: yandex.cloud.ai.tuning.v1.TuningTask.started_at:type_name -> google.protobuf.Timestamp
	3, // 3: yandex.cloud.ai.tuning.v1.TuningTask.finished_at:type_name -> google.protobuf.Timestamp
	2, // 4: yandex.cloud.ai.tuning.v1.TuningTask.labels:type_name -> yandex.cloud.ai.tuning.v1.TuningTask.LabelsEntry
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_yandex_cloud_ai_tuning_v1_tuning_task_proto_init() }
func file_yandex_cloud_ai_tuning_v1_tuning_task_proto_init() {
	if File_yandex_cloud_ai_tuning_v1_tuning_task_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_task_proto_rawDesc), len(file_yandex_cloud_ai_tuning_v1_tuning_task_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_ai_tuning_v1_tuning_task_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_ai_tuning_v1_tuning_task_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_ai_tuning_v1_tuning_task_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_ai_tuning_v1_tuning_task_proto_msgTypes,
	}.Build()
	File_yandex_cloud_ai_tuning_v1_tuning_task_proto = out.File
	file_yandex_cloud_ai_tuning_v1_tuning_task_proto_goTypes = nil
	file_yandex_cloud_ai_tuning_v1_tuning_task_proto_depIdxs = nil
}
