// 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/summarization.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 SummarizationFieldType int32

const (
	SummarizationFieldType_SUMMARIZATION_FIELD_TYPE_UNSPECIFIED SummarizationFieldType = 0
	SummarizationFieldType_TEXT                                 SummarizationFieldType = 1
	SummarizationFieldType_TEXT_ARRAY                           SummarizationFieldType = 2
)

// Enum value maps for SummarizationFieldType.
var (
	SummarizationFieldType_name = map[int32]string{
		0: "SUMMARIZATION_FIELD_TYPE_UNSPECIFIED",
		1: "TEXT",
		2: "TEXT_ARRAY",
	}
	SummarizationFieldType_value = map[string]int32{
		"SUMMARIZATION_FIELD_TYPE_UNSPECIFIED": 0,
		"TEXT":                                 1,
		"TEXT_ARRAY":                           2,
	}
)

func (x SummarizationFieldType) Enum() *SummarizationFieldType {
	p := new(SummarizationFieldType)
	*p = x
	return p
}

func (x SummarizationFieldType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (SummarizationFieldType) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_speechsense_v1_analysis_summarization_proto_enumTypes[0].Descriptor()
}

func (SummarizationFieldType) Type() protoreflect.EnumType {
	return &file_yandex_cloud_speechsense_v1_analysis_summarization_proto_enumTypes[0]
}

func (x SummarizationFieldType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use SummarizationFieldType.Descriptor instead.
func (SummarizationFieldType) EnumDescriptor() ([]byte, []int) {
	return file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDescGZIP(), []int{0}
}

type Summarization struct {
	state         protoimpl.MessageState    `protogen:"open.v1"`
	Statements    []*SummarizationStatement `protobuf:"bytes,1,rep,name=statements,proto3" json:"statements,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Summarization) ProtoMessage() {}

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

func (x *Summarization) GetStatements() []*SummarizationStatement {
	if x != nil {
		return x.Statements
	}
	return nil
}

type SummarizationStatement struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Field         *SummarizationField    `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"`
	Response      []string               `protobuf:"bytes,2,rep,name=response,proto3" json:"response,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SummarizationStatement) ProtoMessage() {}

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

func (x *SummarizationStatement) GetField() *SummarizationField {
	if x != nil {
		return x.Field
	}
	return nil
}

func (x *SummarizationStatement) GetResponse() []string {
	if x != nil {
		return x.Response
	}
	return nil
}

type SummarizationField struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Type          SummarizationFieldType `protobuf:"varint,2,opt,name=type,proto3,enum=yandex.cloud.speechsense.v1.analysis.SummarizationFieldType" json:"type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SummarizationField) ProtoMessage() {}

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

func (x *SummarizationField) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *SummarizationField) GetName() string {
	if x != nil {
		return x.Name
	}
	return ""
}

func (x *SummarizationField) GetType() SummarizationFieldType {
	if x != nil {
		return x.Type
	}
	return SummarizationFieldType_SUMMARIZATION_FIELD_TYPE_UNSPECIFIED
}

var File_yandex_cloud_speechsense_v1_analysis_summarization_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDesc = "" +
	"\n" +
	"8yandex/cloud/speechsense/v1/analysis/summarization.proto\x12$yandex.cloud.speechsense.v1.analysis\"m\n" +
	"\rSummarization\x12\\\n" +
	"\n" +
	"statements\x18\x01 \x03(\v2<.yandex.cloud.speechsense.v1.analysis.SummarizationStatementR\n" +
	"statements\"\x84\x01\n" +
	"\x16SummarizationStatement\x12N\n" +
	"\x05field\x18\x01 \x01(\v28.yandex.cloud.speechsense.v1.analysis.SummarizationFieldR\x05field\x12\x1a\n" +
	"\bresponse\x18\x02 \x03(\tR\bresponse\"\x8a\x01\n" +
	"\x12SummarizationField\x12\x0e\n" +
	"\x02id\x18\x03 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12P\n" +
	"\x04type\x18\x02 \x01(\x0e2<.yandex.cloud.speechsense.v1.analysis.SummarizationFieldTypeR\x04type*\\\n" +
	"\x16SummarizationFieldType\x12(\n" +
	"$SUMMARIZATION_FIELD_TYPE_UNSPECIFIED\x10\x00\x12\b\n" +
	"\x04TEXT\x10\x01\x12\x0e\n" +
	"\n" +
	"TEXT_ARRAY\x10\x02B\x94\x01\n" +
	"(yandex.cloud.api.speechsense.v1.analysisB\x12SummarizationProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_analysis_summarization_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_speechsense_v1_analysis_summarization_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_yandex_cloud_speechsense_v1_analysis_summarization_proto_goTypes = []any{
	(SummarizationFieldType)(0),    // 0: yandex.cloud.speechsense.v1.analysis.SummarizationFieldType
	(*Summarization)(nil),          // 1: yandex.cloud.speechsense.v1.analysis.Summarization
	(*SummarizationStatement)(nil), // 2: yandex.cloud.speechsense.v1.analysis.SummarizationStatement
	(*SummarizationField)(nil),     // 3: yandex.cloud.speechsense.v1.analysis.SummarizationField
}
var file_yandex_cloud_speechsense_v1_analysis_summarization_proto_depIdxs = []int32{
	2, // 0: yandex.cloud.speechsense.v1.analysis.Summarization.statements:type_name -> yandex.cloud.speechsense.v1.analysis.SummarizationStatement
	3, // 1: yandex.cloud.speechsense.v1.analysis.SummarizationStatement.field:type_name -> yandex.cloud.speechsense.v1.analysis.SummarizationField
	0, // 2: yandex.cloud.speechsense.v1.analysis.SummarizationField.type:type_name -> yandex.cloud.speechsense.v1.analysis.SummarizationFieldType
	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_summarization_proto_init() }
func file_yandex_cloud_speechsense_v1_analysis_summarization_proto_init() {
	if File_yandex_cloud_speechsense_v1_analysis_summarization_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_summarization_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_analysis_summarization_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_analysis_summarization_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_analysis_summarization_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_speechsense_v1_analysis_summarization_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_speechsense_v1_analysis_summarization_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_analysis_summarization_proto = out.File
	file_yandex_cloud_speechsense_v1_analysis_summarization_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_analysis_summarization_proto_depIdxs = nil
}
