// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/speechsense/v1/analysis/assistants.proto

package speechsense

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 Assistants struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// List of assistants results
	AssistantResults []*AssistantResult `protobuf:"bytes,1,rep,name=assistant_results,json=assistantResults,proto3" json:"assistant_results,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*Assistants) ProtoMessage() {}

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

func (x *Assistants) GetAssistantResults() []*AssistantResult {
	if x != nil {
		return x.AssistantResults
	}
	return nil
}

type AssistantResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Assistant id
	AssistantId string `protobuf:"bytes,1,opt,name=assistant_id,json=assistantId,proto3" json:"assistant_id,omitempty"`
	// Per-field assistant results
	Results       []*AssistantFieldResult `protobuf:"bytes,2,rep,name=results,proto3" json:"results,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*AssistantResult) ProtoMessage() {}

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

func (x *AssistantResult) GetAssistantId() string {
	if x != nil {
		return x.AssistantId
	}
	return ""
}

func (x *AssistantResult) GetResults() []*AssistantFieldResult {
	if x != nil {
		return x.Results
	}
	return nil
}

type AssistantFieldResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Assistant result field id
	FieldId string `protobuf:"bytes,1,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"`
	// Parsed model answer for the field.
	// If the model answer could not be parsed, no result fields will be set.
	//
	// Types that are valid to be assigned to FieldType:
	//
	//	*AssistantFieldResult_StringResult
	//	*AssistantFieldResult_IntResult
	//	*AssistantFieldResult_FloatResult
	FieldType     isAssistantFieldResult_FieldType `protobuf_oneof:"field_type"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AssistantFieldResult) Reset() {
	*x = AssistantFieldResult{}
	mi := &file_yandex_cloud_speechsense_v1_analysis_assistants_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AssistantFieldResult) ProtoMessage() {}

func (x *AssistantFieldResult) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_speechsense_v1_analysis_assistants_proto_msgTypes[2]
	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 AssistantFieldResult.ProtoReflect.Descriptor instead.
func (*AssistantFieldResult) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDescGZIP(), []int{2}
}

func (x *AssistantFieldResult) GetFieldId() string {
	if x != nil {
		return x.FieldId
	}
	return ""
}

func (x *AssistantFieldResult) GetFieldType() isAssistantFieldResult_FieldType {
	if x != nil {
		return x.FieldType
	}
	return nil
}

func (x *AssistantFieldResult) GetStringResult() string {
	if x != nil {
		if x, ok := x.FieldType.(*AssistantFieldResult_StringResult); ok {
			return x.StringResult
		}
	}
	return ""
}

func (x *AssistantFieldResult) GetIntResult() int64 {
	if x != nil {
		if x, ok := x.FieldType.(*AssistantFieldResult_IntResult); ok {
			return x.IntResult
		}
	}
	return 0
}

func (x *AssistantFieldResult) GetFloatResult() float64 {
	if x != nil {
		if x, ok := x.FieldType.(*AssistantFieldResult_FloatResult); ok {
			return x.FloatResult
		}
	}
	return 0
}

type isAssistantFieldResult_FieldType interface {
	isAssistantFieldResult_FieldType()
}

type AssistantFieldResult_StringResult struct {
	// Result as a string
	StringResult string `protobuf:"bytes,2,opt,name=string_result,json=stringResult,proto3,oneof"`
}

type AssistantFieldResult_IntResult struct {
	// Result as an integer
	IntResult int64 `protobuf:"varint,3,opt,name=int_result,json=intResult,proto3,oneof"`
}

type AssistantFieldResult_FloatResult struct {
	// Result as a floating-point number
	FloatResult float64 `protobuf:"fixed64,4,opt,name=float_result,json=floatResult,proto3,oneof"`
}

func (*AssistantFieldResult_StringResult) isAssistantFieldResult_FieldType() {}

func (*AssistantFieldResult_IntResult) isAssistantFieldResult_FieldType() {}

func (*AssistantFieldResult_FloatResult) isAssistantFieldResult_FieldType() {}

var File_yandex_cloud_speechsense_v1_analysis_assistants_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDesc = "" +
	"\n" +
	"5yandex/cloud/speechsense/v1/analysis/assistants.proto\x12$yandex.cloud.speechsense.v1.analysis\"p\n" +
	"\n" +
	"Assistants\x12b\n" +
	"\x11assistant_results\x18\x01 \x03(\v25.yandex.cloud.speechsense.v1.analysis.AssistantResultR\x10assistantResults\"\x8a\x01\n" +
	"\x0fAssistantResult\x12!\n" +
	"\fassistant_id\x18\x01 \x01(\tR\vassistantId\x12T\n" +
	"\aresults\x18\x02 \x03(\v2:.yandex.cloud.speechsense.v1.analysis.AssistantFieldResultR\aresults\"\xac\x01\n" +
	"\x14AssistantFieldResult\x12\x19\n" +
	"\bfield_id\x18\x01 \x01(\tR\afieldId\x12%\n" +
	"\rstring_result\x18\x02 \x01(\tH\x00R\fstringResult\x12\x1f\n" +
	"\n" +
	"int_result\x18\x03 \x01(\x03H\x00R\tintResult\x12#\n" +
	"\ffloat_result\x18\x04 \x01(\x01H\x00R\vfloatResultB\f\n" +
	"\n" +
	"field_typeB\x91\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x0fAssistantsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_assistants_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_speechsense_v1_analysis_assistants_proto_goTypes = []any{
	(*Assistants)(nil),           // 0: yandex.cloud.speechsense.v1.analysis.Assistants
	(*AssistantResult)(nil),      // 1: yandex.cloud.speechsense.v1.analysis.AssistantResult
	(*AssistantFieldResult)(nil), // 2: yandex.cloud.speechsense.v1.analysis.AssistantFieldResult
}
var file_yandex_cloud_speechsense_v1_analysis_assistants_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.speechsense.v1.analysis.Assistants.assistant_results:type_name -> yandex.cloud.speechsense.v1.analysis.AssistantResult
	2, // 1: yandex.cloud.speechsense.v1.analysis.AssistantResult.results:type_name -> yandex.cloud.speechsense.v1.analysis.AssistantFieldResult
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_yandex_cloud_speechsense_v1_analysis_assistants_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_assistants_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_assistants_proto != nil {
		return
	}
	file_yandex_cloud_speechsense_v1_analysis_assistants_proto_msgTypes[2].OneofWrappers = []any{
		(*AssistantFieldResult_StringResult)(nil),
		(*AssistantFieldResult_IntResult)(nil),
		(*AssistantFieldResult_FloatResult)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_assistants_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_assistants_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_assistants_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_assistants_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_assistants_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_assistants_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_assistants_proto_depIdxs = nil
}
