// 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_types.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 TuningTypeLora struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	Rank  int64                  `protobuf:"varint,1,opt,name=rank,proto3" json:"rank,omitempty"`
	// Integer value
	Alpha          float64 `protobuf:"fixed64,2,opt,name=alpha,proto3" json:"alpha,omitempty"`
	Initialization string  `protobuf:"bytes,3,opt,name=initialization,proto3" json:"initialization,omitempty"`
	Type           string  `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*TuningTypeLora) ProtoMessage() {}

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

func (x *TuningTypeLora) GetRank() int64 {
	if x != nil {
		return x.Rank
	}
	return 0
}

func (x *TuningTypeLora) GetAlpha() float64 {
	if x != nil {
		return x.Alpha
	}
	return 0
}

func (x *TuningTypeLora) GetInitialization() string {
	if x != nil {
		return x.Initialization
	}
	return ""
}

func (x *TuningTypeLora) GetType() string {
	if x != nil {
		return x.Type
	}
	return ""
}

type TuningTypePromptTune struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	VirtualTokens int64                  `protobuf:"varint,1,opt,name=virtual_tokens,json=virtualTokens,proto3" json:"virtual_tokens,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*TuningTypePromptTune) ProtoMessage() {}

func (x *TuningTypePromptTune) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_ai_tuning_v1_tuning_types_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 TuningTypePromptTune.ProtoReflect.Descriptor instead.
func (*TuningTypePromptTune) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDescGZIP(), []int{1}
}

func (x *TuningTypePromptTune) GetVirtualTokens() int64 {
	if x != nil {
		return x.VirtualTokens
	}
	return 0
}

var File_yandex_cloud_ai_tuning_v1_tuning_types_proto protoreflect.FileDescriptor

const file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDesc = "" +
	"\n" +
	",yandex/cloud/ai/tuning/v1/tuning_types.proto\x12\x19yandex.cloud.ai.tuning.v1\"v\n" +
	"\x0eTuningTypeLora\x12\x12\n" +
	"\x04rank\x18\x01 \x01(\x03R\x04rank\x12\x14\n" +
	"\x05alpha\x18\x02 \x01(\x01R\x05alpha\x12&\n" +
	"\x0einitialization\x18\x03 \x01(\tR\x0einitialization\x12\x12\n" +
	"\x04type\x18\x04 \x01(\tR\x04type\"=\n" +
	"\x14TuningTypePromptTune\x12%\n" +
	"\x0evirtual_tokens\x18\x01 \x01(\x03R\rvirtualTokensBc\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_types_proto_rawDescOnce sync.Once
	file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDescData []byte
)

func file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDescGZIP() []byte {
	file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDesc), len(file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDesc)))
	})
	return file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDescData
}

var file_yandex_cloud_ai_tuning_v1_tuning_types_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_ai_tuning_v1_tuning_types_proto_goTypes = []any{
	(*TuningTypeLora)(nil),       // 0: yandex.cloud.ai.tuning.v1.TuningTypeLora
	(*TuningTypePromptTune)(nil), // 1: yandex.cloud.ai.tuning.v1.TuningTypePromptTune
}
var file_yandex_cloud_ai_tuning_v1_tuning_types_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_yandex_cloud_ai_tuning_v1_tuning_types_proto_init() }
func file_yandex_cloud_ai_tuning_v1_tuning_types_proto_init() {
	if File_yandex_cloud_ai_tuning_v1_tuning_types_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_types_proto_rawDesc), len(file_yandex_cloud_ai_tuning_v1_tuning_types_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_ai_tuning_v1_tuning_types_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_ai_tuning_v1_tuning_types_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_ai_tuning_v1_tuning_types_proto_msgTypes,
	}.Build()
	File_yandex_cloud_ai_tuning_v1_tuning_types_proto = out.File
	file_yandex_cloud_ai_tuning_v1_tuning_types_proto_goTypes = nil
	file_yandex_cloud_ai_tuning_v1_tuning_types_proto_depIdxs = nil
}
