// 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/silence_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 SilenceStatistics struct {
	state                              protoimpl.MessageState `protogen:"open.v1"`
	TotalSimultaneousSilenceDurationMs int64                  `protobuf:"varint,1,opt,name=total_simultaneous_silence_duration_ms,json=totalSimultaneousSilenceDurationMs,proto3" json:"total_simultaneous_silence_duration_ms,omitempty"`
	// Simultaneous silence ratio within audio segment
	TotalSimultaneousSilenceRatio float64 `protobuf:"fixed64,2,opt,name=total_simultaneous_silence_ratio,json=totalSimultaneousSilenceRatio,proto3" json:"total_simultaneous_silence_ratio,omitempty"`
	// Descriptive statistics for simultaneous silence duration distribution
	SimultaneousSilenceDurationEstimation   *DescriptiveStatistics `protobuf:"bytes,3,opt,name=simultaneous_silence_duration_estimation,json=simultaneousSilenceDurationEstimation,proto3" json:"simultaneous_silence_duration_estimation,omitempty"`
	TotalSimultaneousSilenceDurationSeconds int64                  `protobuf:"varint,4,opt,name=total_simultaneous_silence_duration_seconds,json=totalSimultaneousSilenceDurationSeconds,proto3" json:"total_simultaneous_silence_duration_seconds,omitempty"`
	unknownFields                           protoimpl.UnknownFields
	sizeCache                               protoimpl.SizeCache
}

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

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

func (*SilenceStatistics) ProtoMessage() {}

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

func (x *SilenceStatistics) GetTotalSimultaneousSilenceDurationMs() int64 {
	if x != nil {
		return x.TotalSimultaneousSilenceDurationMs
	}
	return 0
}

func (x *SilenceStatistics) GetTotalSimultaneousSilenceRatio() float64 {
	if x != nil {
		return x.TotalSimultaneousSilenceRatio
	}
	return 0
}

func (x *SilenceStatistics) GetSimultaneousSilenceDurationEstimation() *DescriptiveStatistics {
	if x != nil {
		return x.SimultaneousSilenceDurationEstimation
	}
	return nil
}

func (x *SilenceStatistics) GetTotalSimultaneousSilenceDurationSeconds() int64 {
	if x != nil {
		return x.TotalSimultaneousSilenceDurationSeconds
	}
	return 0
}

var File_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDesc = "" +
	"\n" +
	"=yandex/cloud/speechsense/v1/analysis/silence_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\"\xa5\x03\n" +
	"\x11SilenceStatistics\x12R\n" +
	"&total_simultaneous_silence_duration_ms\x18\x01 \x01(\x03R\"totalSimultaneousSilenceDurationMs\x12G\n" +
	" total_simultaneous_silence_ratio\x18\x02 \x01(\x01R\x1dtotalSimultaneousSilenceRatio\x12\x94\x01\n" +
	"(simultaneous_silence_duration_estimation\x18\x03 \x01(\v2;.yandex.cloud.speechsense.v1.analysis.DescriptiveStatisticsR%simultaneousSilenceDurationEstimation\x12\\\n" +
	"+total_simultaneous_silence_duration_seconds\x18\x04 \x01(\x03R'totalSimultaneousSilenceDurationSecondsB\x98\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x16SilenceStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_goTypes = []any{
	(*SilenceStatistics)(nil),     // 0: yandex.cloud.speechsense.v1.analysis.SilenceStatistics
	(*DescriptiveStatistics)(nil), // 1: yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
}
var file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.speechsense.v1.analysis.SilenceStatistics.simultaneous_silence_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_silence_statistics_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_silence_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_silence_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_silence_statistics_proto_depIdxs = nil
}
