// 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/statistics_common.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 DescriptiveStatistics struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Minimum observed value
	Min float64 `protobuf:"fixed64,1,opt,name=min,proto3" json:"min,omitempty"`
	// Maximum observed value
	Max float64 `protobuf:"fixed64,2,opt,name=max,proto3" json:"max,omitempty"`
	// Estimated mean of distribution
	Mean float64 `protobuf:"fixed64,3,opt,name=mean,proto3" json:"mean,omitempty"`
	// Estimated standard deviation of distribution
	Std float64 `protobuf:"fixed64,4,opt,name=std,proto3" json:"std,omitempty"`
	// List of evaluated quantiles
	Quantiles     []*Quantile `protobuf:"bytes,5,rep,name=quantiles,proto3" json:"quantiles,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*DescriptiveStatistics) ProtoMessage() {}

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

func (x *DescriptiveStatistics) GetMin() float64 {
	if x != nil {
		return x.Min
	}
	return 0
}

func (x *DescriptiveStatistics) GetMax() float64 {
	if x != nil {
		return x.Max
	}
	return 0
}

func (x *DescriptiveStatistics) GetMean() float64 {
	if x != nil {
		return x.Mean
	}
	return 0
}

func (x *DescriptiveStatistics) GetStd() float64 {
	if x != nil {
		return x.Std
	}
	return 0
}

func (x *DescriptiveStatistics) GetQuantiles() []*Quantile {
	if x != nil {
		return x.Quantiles
	}
	return nil
}

type Quantile struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Quantile level in range (0, 1)
	Level float64 `protobuf:"fixed64,1,opt,name=level,proto3" json:"level,omitempty"`
	// Quantile value
	Value         float64 `protobuf:"fixed64,2,opt,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Quantile) ProtoMessage() {}

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

func (x *Quantile) GetLevel() float64 {
	if x != nil {
		return x.Level
	}
	return 0
}

func (x *Quantile) GetValue() float64 {
	if x != nil {
		return x.Value
	}
	return 0
}

type AudioSegmentBoundaries struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Audio segment start time
	StartTimeMs int64 `protobuf:"varint,1,opt,name=start_time_ms,json=startTimeMs,proto3" json:"start_time_ms,omitempty"`
	// Audio segment end time
	EndTimeMs int64 `protobuf:"varint,2,opt,name=end_time_ms,json=endTimeMs,proto3" json:"end_time_ms,omitempty"`
	// Duration in seconds
	DurationSeconds int64 `protobuf:"varint,3,opt,name=duration_seconds,json=durationSeconds,proto3" json:"duration_seconds,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

func (x *AudioSegmentBoundaries) Reset() {
	*x = AudioSegmentBoundaries{}
	mi := &file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AudioSegmentBoundaries) ProtoMessage() {}

func (x *AudioSegmentBoundaries) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_msgTypes[2]
	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 AudioSegmentBoundaries.ProtoReflect.Descriptor instead.
func (*AudioSegmentBoundaries) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDescGZIP(), []int{2}
}

func (x *AudioSegmentBoundaries) GetStartTimeMs() int64 {
	if x != nil {
		return x.StartTimeMs
	}
	return 0
}

func (x *AudioSegmentBoundaries) GetEndTimeMs() int64 {
	if x != nil {
		return x.EndTimeMs
	}
	return 0
}

func (x *AudioSegmentBoundaries) GetDurationSeconds() int64 {
	if x != nil {
		return x.DurationSeconds
	}
	return 0
}

var File_yandex_cloud_speechsense_v1_analysis_statistics_common_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDesc = "" +
	"\n" +
	"<yandex/cloud/speechsense/v1/analysis/statistics_common.proto\x12$yandex.cloud.speechsense.v1.analysis\"\xaf\x01\n" +
	"\x15DescriptiveStatistics\x12\x10\n" +
	"\x03min\x18\x01 \x01(\x01R\x03min\x12\x10\n" +
	"\x03max\x18\x02 \x01(\x01R\x03max\x12\x12\n" +
	"\x04mean\x18\x03 \x01(\x01R\x04mean\x12\x10\n" +
	"\x03std\x18\x04 \x01(\x01R\x03std\x12L\n" +
	"\tquantiles\x18\x05 \x03(\v2..yandex.cloud.speechsense.v1.analysis.QuantileR\tquantiles\"6\n" +
	"\bQuantile\x12\x14\n" +
	"\x05level\x18\x01 \x01(\x01R\x05level\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x01R\x05value\"\x87\x01\n" +
	"\x16AudioSegmentBoundaries\x12\"\n" +
	"\rstart_time_ms\x18\x01 \x01(\x03R\vstartTimeMs\x12\x1e\n" +
	"\vend_time_ms\x18\x02 \x01(\x03R\tendTimeMs\x12)\n" +
	"\x10duration_seconds\x18\x03 \x01(\x03R\x0fdurationSecondsB\x97\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x15StatisticsCommonProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_goTypes = []any{
	(*DescriptiveStatistics)(nil),  // 0: yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics
	(*Quantile)(nil),               // 1: yandex.cloud.speechsense.v1.analysis.Quantile
	(*AudioSegmentBoundaries)(nil), // 2: yandex.cloud.speechsense.v1.analysis.AudioSegmentBoundaries
}
var file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_depIdxs = []int32{
	1, // 0: yandex.cloud.speechsense.v1.analysis.DescriptiveStatistics.quantiles:type_name -> yandex.cloud.speechsense.v1.analysis.Quantile
	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_statistics_common_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_statistics_common_proto != nil {
		return
	}
	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_statistics_common_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_statistics_common_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_statistics_common_proto_depIdxs = nil
}
