// 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/speech_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 SpeechStatistics struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Total simultaneous speech duration in seconds
	TotalSimultaneousSpeechDurationSeconds int64 `protobuf:"varint,1,opt,name=total_simultaneous_speech_duration_seconds,json=totalSimultaneousSpeechDurationSeconds,proto3" json:"total_simultaneous_speech_duration_seconds,omitempty"`
	// Total simultaneous speech duration in ms
	TotalSimultaneousSpeechDurationMs int64 `protobuf:"varint,2,opt,name=total_simultaneous_speech_duration_ms,json=totalSimultaneousSpeechDurationMs,proto3" json:"total_simultaneous_speech_duration_ms,omitempty"`
	// Simultaneous speech ratio within audio segment
	TotalSimultaneousSpeechRatio float64 `protobuf:"fixed64,3,opt,name=total_simultaneous_speech_ratio,json=totalSimultaneousSpeechRatio,proto3" json:"total_simultaneous_speech_ratio,omitempty"`
	// Descriptive statistics for simultaneous speech duration distribution
	SimultaneousSpeechDurationEstimation *DescriptiveStatistics `protobuf:"bytes,4,opt,name=simultaneous_speech_duration_estimation,json=simultaneousSpeechDurationEstimation,proto3" json:"simultaneous_speech_duration_estimation,omitempty"`
	unknownFields                        protoimpl.UnknownFields
	sizeCache                            protoimpl.SizeCache
}

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

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

func (*SpeechStatistics) ProtoMessage() {}

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

func (x *SpeechStatistics) GetTotalSimultaneousSpeechDurationSeconds() int64 {
	if x != nil {
		return x.TotalSimultaneousSpeechDurationSeconds
	}
	return 0
}

func (x *SpeechStatistics) GetTotalSimultaneousSpeechDurationMs() int64 {
	if x != nil {
		return x.TotalSimultaneousSpeechDurationMs
	}
	return 0
}

func (x *SpeechStatistics) GetTotalSimultaneousSpeechRatio() float64 {
	if x != nil {
		return x.TotalSimultaneousSpeechRatio
	}
	return 0
}

func (x *SpeechStatistics) GetSimultaneousSpeechDurationEstimation() *DescriptiveStatistics {
	if x != nil {
		return x.SimultaneousSpeechDurationEstimation
	}
	return nil
}

var File_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDesc = "" +
	"\n" +
	"<yandex/cloud/speechsense/v1/analysis/speech_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\"\x9c\x03\n" +
	"\x10SpeechStatistics\x12Z\n" +
	"*total_simultaneous_speech_duration_seconds\x18\x01 \x01(\x03R&totalSimultaneousSpeechDurationSeconds\x12P\n" +
	"%total_simultaneous_speech_duration_ms\x18\x02 \x01(\x03R!totalSimultaneousSpeechDurationMs\x12E\n" +
	"\x1ftotal_simultaneous_speech_ratio\x18\x03 \x01(\x01R\x1ctotalSimultaneousSpeechRatio\x12\x92\x01\n" +
	"'simultaneous_speech_duration_estimation\x18\x04 \x01(\v2;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsR$simultaneousSpeechDurationEstimationB\x97\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x15SpeechStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_goTypes = []any{
	(*SpeechStatistics)(nil),      // 0: yandex.cloud.speechsense.v1.analysis.SpeechStatistics
	(*DescriptiveStatistics)(nil), // 1: yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
}
var file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.speechsense.v1.analysis.SpeechStatistics.simultaneous_speech_duration_estimation:type_name -> yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_speech_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_speech_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_speech_statistics_proto_depIdxs = nil
}
