// 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/speaker_statistics.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 SpeakerStatistics struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Speaker tag
	SpeakerTag string `protobuf:"bytes,1,opt,name=speaker_tag,json=speakerTag,proto3" json:"speaker_tag,omitempty"`
	// analysis of all phrases in format of single utterance
	CompleteStatistics *UtteranceStatistics `protobuf:"bytes,2,opt,name=complete_statistics,json=completeStatistics,proto3" json:"complete_statistics,omitempty"`
	// Descriptive statistics for words per utterance distribution
	WordsPerUtterance *DescriptiveStatistics `protobuf:"bytes,3,opt,name=words_per_utterance,json=wordsPerUtterance,proto3" json:"words_per_utterance,omitempty"`
	// Descriptive statistics for letters per utterance distribution
	LettersPerUtterance *DescriptiveStatistics `protobuf:"bytes,4,opt,name=letters_per_utterance,json=lettersPerUtterance,proto3" json:"letters_per_utterance,omitempty"`
	// Number of utterances
	UtteranceCount int64 `protobuf:"varint,5,opt,name=utterance_count,json=utteranceCount,proto3" json:"utterance_count,omitempty"`
	// Descriptive statistics for utterance duration distribution
	UtteranceDurationEstimation *DescriptiveStatistics `protobuf:"bytes,6,opt,name=utterance_duration_estimation,json=utteranceDurationEstimation,proto3" json:"utterance_duration_estimation,omitempty"`
	unknownFields               protoimpl.UnknownFields
	sizeCache                   protoimpl.SizeCache
}

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

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

func (*SpeakerStatistics) ProtoMessage() {}

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

func (x *SpeakerStatistics) GetSpeakerTag() string {
	if x != nil {
		return x.SpeakerTag
	}
	return ""
}

func (x *SpeakerStatistics) GetCompleteStatistics() *UtteranceStatistics {
	if x != nil {
		return x.CompleteStatistics
	}
	return nil
}

func (x *SpeakerStatistics) GetWordsPerUtterance() *DescriptiveStatistics {
	if x != nil {
		return x.WordsPerUtterance
	}
	return nil
}

func (x *SpeakerStatistics) GetLettersPerUtterance() *DescriptiveStatistics {
	if x != nil {
		return x.LettersPerUtterance
	}
	return nil
}

func (x *SpeakerStatistics) GetUtteranceCount() int64 {
	if x != nil {
		return x.UtteranceCount
	}
	return 0
}

func (x *SpeakerStatistics) GetUtteranceDurationEstimation() *DescriptiveStatistics {
	if x != nil {
		return x.UtteranceDurationEstimation
	}
	return nil
}

var File_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDesc = "" +
	"\n" +
	"=yandex/cloud/speechsense/v1/analysis/speaker_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\x1a?yandex/cloud/speechsense/v1/analysis/utterance_statistics.proto\"\xa8\x04\n" +
	"\x11SpeakerStatistics\x12\x1f\n" +
	"\vspeaker_tag\x18\x01 \x01(\tR\n" +
	"speakerTag\x12j\n" +
	"\x13complete_statistics\x18\x02 \x01(\v29.yandex.cloud.speechsense.v1.analysis.UtteranceStatisticsR\x12completeStatistics\x12k\n" +
	"\x13words_per_utterance\x18\x03 \x01(\v2;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsR\x11wordsPerUtterance\x12o\n" +
	"\x15letters_per_utterance\x18\x04 \x01(\v2;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsR\x13lettersPerUtterance\x12'\n" +
	"\x0futterance_count\x18\x05 \x01(\x03R\x0eutteranceCount\x12\x7f\n" +
	"\x1dutterance_duration_estimation\x18\x06 \x01(\v2;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsR\x1butteranceDurationEstimationB\x98\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x16SpeakerStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_goTypes = []any{
	(*SpeakerStatistics)(nil),     // 0: yandex.cloud.speechsense.v1.analysis.SpeakerStatistics
	(*UtteranceStatistics)(nil),   // 1: yandex.cloud.speechsense.v1.analysis.UtteranceStatistics
	(*DescriptiveStatistics)(nil), // 2: yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
}
var file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.speechsense.v1.analysis.SpeakerStatistics.complete_statistics:type_name -> yandex.cloud.speechsense.v1.analysis.UtteranceStatistics
	2, // 1: yandex.cloud.speechsense.v1.analysis.SpeakerStatistics.words_per_utterance:type_name -> yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
	2, // 2: yandex.cloud.speechsense.v1.analysis.SpeakerStatistics.letters_per_utterance:type_name -> yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
	2, // 3: yandex.cloud.speechsense.v1.analysis.SpeakerStatistics.utterance_duration_estimation:type_name -> yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
	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_speaker_statistics_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto != nil {
		return
	}
	file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_init()
	file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_init()
	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_speaker_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_speaker_statistics_proto_depIdxs = nil
}
