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

package speechsense

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	wrapperspb "google.golang.org/protobuf/types/known/wrapperspb"
	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 TextClassifiers struct {
	state                protoimpl.MessageState  `protogen:"open.v1"`
	ClassificationResult []*ClassificationResult `protobuf:"bytes,1,rep,name=classification_result,json=classificationResult,proto3" json:"classification_result,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*TextClassifiers) ProtoMessage() {}

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

func (x *TextClassifiers) GetClassificationResult() []*ClassificationResult {
	if x != nil {
		return x.ClassificationResult
	}
	return nil
}

type ClassificationResult struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Classifier name
	Classifier string `protobuf:"bytes,1,opt,name=classifier,proto3" json:"classifier,omitempty"`
	// Classifier statistics
	ClassifierStatistics []*ClassifierStatistics `protobuf:"bytes,2,rep,name=classifier_statistics,json=classifierStatistics,proto3" json:"classifier_statistics,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*ClassificationResult) ProtoMessage() {}

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

func (x *ClassificationResult) GetClassifier() string {
	if x != nil {
		return x.Classifier
	}
	return ""
}

func (x *ClassificationResult) GetClassifierStatistics() []*ClassifierStatistics {
	if x != nil {
		return x.ClassifierStatistics
	}
	return nil
}

type ClassifierStatistics struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Channel number, null for whole talk
	ChannelNumber *wrapperspb.Int64Value `protobuf:"bytes,1,opt,name=channel_number,json=channelNumber,proto3" json:"channel_number,omitempty"`
	// classifier total count
	TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"`
	// Represents various histograms build on top of classifiers
	Histograms    []*Histogram `protobuf:"bytes,3,rep,name=histograms,proto3" json:"histograms,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ClassifierStatistics) ProtoMessage() {}

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

func (x *ClassifierStatistics) GetChannelNumber() *wrapperspb.Int64Value {
	if x != nil {
		return x.ChannelNumber
	}
	return nil
}

func (x *ClassifierStatistics) GetTotalCount() int64 {
	if x != nil {
		return x.TotalCount
	}
	return 0
}

func (x *ClassifierStatistics) GetHistograms() []*Histogram {
	if x != nil {
		return x.Histograms
	}
	return nil
}

type Histogram struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// histogram count values. For example:
	// if len(count_values) = 2, it means that histogram is 50/50,
	// if len(count_values) = 3 - [0] value represents first third, [1] - second third, [2] - last third, etc.
	CountValues   []int64 `protobuf:"varint,1,rep,packed,name=count_values,json=countValues,proto3" json:"count_values,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Histogram) Reset() {
	*x = Histogram{}
	mi := &file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Histogram) ProtoMessage() {}

func (x *Histogram) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_msgTypes[3]
	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 Histogram.ProtoReflect.Descriptor instead.
func (*Histogram) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDescGZIP(), []int{3}
}

func (x *Histogram) GetCountValues() []int64 {
	if x != nil {
		return x.CountValues
	}
	return nil
}

var File_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDesc = "" +
	"\n" +
	";yandex/cloud/speechsense/v1/analysis/text_classifiers.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a\x1egoogle/protobuf/wrappers.proto\"\x82\x01\n" +
	"\x0fTextClassifiers\x12o\n" +
	"\x15classification_result\x18\x01 \x03(\v2:.yandex.cloud.speechsense.v1.analysis.ClassificationResultR\x14classificationResult\"\xa7\x01\n" +
	"\x14ClassificationResult\x12\x1e\n" +
	"\n" +
	"classifier\x18\x01 \x01(\tR\n" +
	"classifier\x12o\n" +
	"\x15classifier_statistics\x18\x02 \x03(\v2:.yandex.cloud.speechsense.v1.analysis.ClassifierStatisticsR\x14classifierStatistics\"\xcc\x01\n" +
	"\x14ClassifierStatistics\x12B\n" +
	"\x0echannel_number\x18\x01 \x01(\v2\x1b.google.protobuf.Int64ValueR\rchannelNumber\x12\x1f\n" +
	"\vtotal_count\x18\x02 \x01(\x03R\n" +
	"totalCount\x12O\n" +
	"\n" +
	"histograms\x18\x03 \x03(\v2/.yandex.cloud.speechsense.v1.analysis.HistogramR\n" +
	"histograms\".\n" +
	"\tHistogram\x12!\n" +
	"\fcount_values\x18\x01 \x03(\x03R\vcountValuesB\x96\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x14TextClassifiersProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_goTypes = []any{
	(*TextClassifiers)(nil),       // 0: yandex.cloud.speechsense.v1.analysis.TextClassifiers
	(*ClassificationResult)(nil),  // 1: yandex.cloud.speechsense.v1.analysis.ClassificationResult
	(*ClassifierStatistics)(nil),  // 2: yandex.cloud.speechsense.v1.analysis.ClassifierStatistics
	(*Histogram)(nil),             // 3: yandex.cloud.speechsense.v1.analysis.Histogram
	(*wrapperspb.Int64Value)(nil), // 4: google.protobuf.Int64Value
}
var file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.speechsense.v1.analysis.TextClassifiers.classification_result:type_name -> yandex.cloud.speechsense.v1.analysis.ClassificationResult
	2, // 1: yandex.cloud.speechsense.v1.analysis.ClassificationResult.classifier_statistics:type_name -> yandex.cloud.speechsense.v1.analysis.ClassifierStatistics
	4, // 2: yandex.cloud.speechsense.v1.analysis.ClassifierStatistics.channel_number:type_name -> google.protobuf.Int64Value
	3, // 3: yandex.cloud.speechsense.v1.analysis.ClassifierStatistics.histograms:type_name -> yandex.cloud.speechsense.v1.analysis.Histogram
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_text_classifiers_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_speechsense_v1_analysis_text_classifiers_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_text_classifiers_proto_depIdxs = nil
}
