// 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/interrupts_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 InterruptsStatistics struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Interrupts description for every speaker
	SpeakerInterrupts []*InterruptsEvaluation `protobuf:"bytes,1,rep,name=speaker_interrupts,json=speakerInterrupts,proto3" json:"speaker_interrupts,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*InterruptsStatistics) ProtoMessage() {}

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

func (x *InterruptsStatistics) GetSpeakerInterrupts() []*InterruptsEvaluation {
	if x != nil {
		return x.SpeakerInterrupts
	}
	return nil
}

type InterruptsEvaluation 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"`
	// Number of interrupts made by the speaker
	InterruptsCount int64 `protobuf:"varint,2,opt,name=interrupts_count,json=interruptsCount,proto3" json:"interrupts_count,omitempty"`
	// Total duration of all interrupts
	InterruptsDurationMs int64 `protobuf:"varint,3,opt,name=interrupts_duration_ms,json=interruptsDurationMs,proto3" json:"interrupts_duration_ms,omitempty"`
	// Boundaries for every interrupt
	Interrupts []*AudioSegmentBoundaries `protobuf:"bytes,4,rep,name=interrupts,proto3" json:"interrupts,omitempty"`
	// Total duration of all interrupts in seconds
	InterruptsDurationSeconds int64 `protobuf:"varint,5,opt,name=interrupts_duration_seconds,json=interruptsDurationSeconds,proto3" json:"interrupts_duration_seconds,omitempty"`
	unknownFields             protoimpl.UnknownFields
	sizeCache                 protoimpl.SizeCache
}

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

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

func (*InterruptsEvaluation) ProtoMessage() {}

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

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

func (x *InterruptsEvaluation) GetInterruptsCount() int64 {
	if x != nil {
		return x.InterruptsCount
	}
	return 0
}

func (x *InterruptsEvaluation) GetInterruptsDurationMs() int64 {
	if x != nil {
		return x.InterruptsDurationMs
	}
	return 0
}

func (x *InterruptsEvaluation) GetInterrupts() []*AudioSegmentBoundaries {
	if x != nil {
		return x.Interrupts
	}
	return nil
}

func (x *InterruptsEvaluation) GetInterruptsDurationSeconds() int64 {
	if x != nil {
		return x.InterruptsDurationSeconds
	}
	return 0
}

var File_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDesc = "" +
	"\n" +
	"@yandex/cloud/speechsense/v1/analysis/interrupts_statistics.proto\x12$yandex.cloud.speechsense.v1.analysis\x1a<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\"\x81\x01\n" +
	"\x14InterruptsStatistics\x12i\n" +
	"\x12speaker_interrupts\x18\x01 \x03(\v2:.yandex.cloud.speechsense.v1.analysis.InterruptsEvaluationR\x11speakerInterrupts\"\xb6\x02\n" +
	"\x14InterruptsEvaluation\x12\x1f\n" +
	"\vspeaker_tag\x18\x01 \x01(\tR\n" +
	"speakerTag\x12)\n" +
	"\x10interrupts_count\x18\x02 \x01(\x03R\x0finterruptsCount\x124\n" +
	"\x16interrupts_duration_ms\x18\x03 \x01(\x03R\x14interruptsDurationMs\x12\\\n" +
	"\n" +
	"interrupts\x18\x04 \x03(\v2<.yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundariesR\n" +
	"interrupts\x12>\n" +
	"\x1binterrupts_duration_seconds\x18\x05 \x01(\x03R\x19interruptsDurationSecondsB\x9b\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x19InterruptsStatisticsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_goTypes = []any{
	(*InterruptsStatistics)(nil),   // 0: yandex.cloud.speechsense.v1.analysis.InterruptsStatistics
	(*InterruptsEvaluation)(nil),   // 1: yandex.cloud.speechsense.v1.analysis.InterruptsEvaluation
	(*AudioSegmentBoundaries)(nil), // 2: yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundaries
}
var file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.speechsense.v1.analysis.InterruptsStatistics.speaker_interrupts:type_name -> yandex.cloud.speechsense.v1.analysis.InterruptsEvaluation
	2, // 1: yandex.cloud.speechsense.v1.analysis.InterruptsEvaluation.interrupts:type_name -> yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundaries
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_interrupts_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_interrupts_statistics_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_interrupts_statistics_proto_depIdxs = nil
}
