// 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/utterance_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 UtteranceStatistics struct {
	state      protoimpl.MessageState `protogen:"open.v1"`
	SpeakerTag string                 `protobuf:"bytes,1,opt,name=speaker_tag,json=speakerTag,proto3" json:"speaker_tag,omitempty"`
	// Audio segment boundaries
	SpeechBoundaries *AudioSegmentBoundaries `protobuf:"bytes,2,opt,name=speech_boundaries,json=speechBoundaries,proto3" json:"speech_boundaries,omitempty"`
	// Total speech duration
	TotalSpeechMs int64 `protobuf:"varint,3,opt,name=total_speech_ms,json=totalSpeechMs,proto3" json:"total_speech_ms,omitempty"`
	// Speech ratio within audio segment
	SpeechRatio float64 `protobuf:"fixed64,4,opt,name=speech_ratio,json=speechRatio,proto3" json:"speech_ratio,omitempty"`
	// Total silence duration
	TotalSilenceMs int64 `protobuf:"varint,5,opt,name=total_silence_ms,json=totalSilenceMs,proto3" json:"total_silence_ms,omitempty"`
	// Silence ratio within audio segment
	SilenceRatio float64 `protobuf:"fixed64,6,opt,name=silence_ratio,json=silenceRatio,proto3" json:"silence_ratio,omitempty"`
	// Number of words in recognized speech
	WordsCount int64 `protobuf:"varint,7,opt,name=words_count,json=wordsCount,proto3" json:"words_count,omitempty"`
	// Number of letters in recognized speech
	LettersCount int64 `protobuf:"varint,8,opt,name=letters_count,json=lettersCount,proto3" json:"letters_count,omitempty"`
	// Descriptive statistics for words per second distribution
	WordsPerSecond *DescriptiveStatistics `protobuf:"bytes,9,opt,name=words_per_second,json=wordsPerSecond,proto3" json:"words_per_second,omitempty"`
	// Descriptive statistics for letters per second distribution
	LettersPerSecond *DescriptiveStatistics `protobuf:"bytes,10,opt,name=letters_per_second,json=lettersPerSecond,proto3" json:"letters_per_second,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*UtteranceStatistics) ProtoMessage() {}

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

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

func (x *UtteranceStatistics) GetSpeechBoundaries() *AudioSegmentBoundaries {
	if x != nil {
		return x.SpeechBoundaries
	}
	return nil
}

func (x *UtteranceStatistics) GetTotalSpeechMs() int64 {
	if x != nil {
		return x.TotalSpeechMs
	}
	return 0
}

func (x *UtteranceStatistics) GetSpeechRatio() float64 {
	if x != nil {
		return x.SpeechRatio
	}
	return 0
}

func (x *UtteranceStatistics) GetTotalSilenceMs() int64 {
	if x != nil {
		return x.TotalSilenceMs
	}
	return 0
}

func (x *UtteranceStatistics) GetSilenceRatio() float64 {
	if x != nil {
		return x.SilenceRatio
	}
	return 0
}

func (x *UtteranceStatistics) GetWordsCount() int64 {
	if x != nil {
		return x.WordsCount
	}
	return 0
}

func (x *UtteranceStatistics) GetLettersCount() int64 {
	if x != nil {
		return x.LettersCount
	}
	return 0
}

func (x *UtteranceStatistics) GetWordsPerSecond() *DescriptiveStatistics {
	if x != nil {
		return x.WordsPerSecond
	}
	return nil
}

func (x *UtteranceStatistics) GetLettersPerSecond() *DescriptiveStatistics {
	if x != nil {
		return x.LettersPerSecond
	}
	return nil
}

var File_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDesc = "" +
	"\n" +
	"?yandex/cloud/speechsense/v1/analysis/utterance_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\"\xd3\x04\n" +
	"\x13UtteranceStatistics\x12\x1f\n" +
	"\vspeaker_tag\x18\x01 \x01(\tR\n" +
	"speakerTag\x12i\n" +
	"\x11speech_boundaries\x18\x02 \x01(\v2<.yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundariesR\x10speechBoundaries\x12&\n" +
	"\x0ftotal_speech_ms\x18\x03 \x01(\x03R\rtotalSpeechMs\x12!\n" +
	"\fspeech_ratio\x18\x04 \x01(\x01R\vspeechRatio\x12(\n" +
	"\x10total_silence_ms\x18\x05 \x01(\x03R\x0etotalSilenceMs\x12#\n" +
	"\rsilence_ratio\x18\x06 \x01(\x01R\fsilenceRatio\x12\x1f\n" +
	"\vwords_count\x18\a \x01(\x03R\n" +
	"wordsCount\x12#\n" +
	"\rletters_count\x18\b \x01(\x03R\flettersCount\x12e\n" +
	"\x10words_per_second\x18\t \x01(\v2;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsR\x0ewordsPerSecond\x12i\n" +
	"\x12letters_per_second\x18\n" +
	" \x01(\v2;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsR\x10lettersPerSecondB\x9a\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x18UtteranceStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_goTypes = []any{
	(*UtteranceStatistics)(nil),    // 0: yandex.cloud.speechsense.v1.analysis.UtteranceStatistics
	(*AudioSegmentBoundaries)(nil), // 1: yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundaries
	(*DescriptiveStatistics)(nil),  // 2: yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
}
var file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.speechsense.v1.analysis.UtteranceStatistics.speech_boundaries:type_name -> yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundaries
	2, // 1: yandex.cloud.speechsense.v1.analysis.UtteranceStatistics.words_per_second:type_name -> yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
	2, // 2: yandex.cloud.speechsense.v1.analysis.UtteranceStatistics.letters_per_second:type_name -> yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
	3, // [3:3] is the sub-list for method output_type
	3, // [3:3] is the sub-list for method input_type
	3, // [3:3] is the sub-list for extension type_name
	3, // [3:3] is the sub-list for extension extendee
	0, // [0:3] is the sub-list for field type_name
}

func init() { file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto != nil {
		return
	}
	file_yandex_cloud_speechsense_v1_analysis_statistics_common_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_utterance_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_utterance_statistics_proto_depIdxs = nil
}
