// 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/assistant.proto

package speechsense

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	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 AssistantFieldType int32

const (
	AssistantFieldType_ASSISTANT_FIELD_TYPE_UNSPECIFIED AssistantFieldType = 0
	AssistantFieldType_ASSISTANT_FIELD_TYPE_STRING      AssistantFieldType = 1
	AssistantFieldType_ASSISTANT_FIELD_TYPE_NUMBER      AssistantFieldType = 2
	// Floating-point number
	AssistantFieldType_ASSISTANT_FIELD_TYPE_DECIMAL AssistantFieldType = 3
)

// Enum value maps for AssistantFieldType.
var (
	AssistantFieldType_name = map[int32]string{
		0: "ASSISTANT_FIELD_TYPE_UNSPECIFIED",
		1: "ASSISTANT_FIELD_TYPE_STRING",
		2: "ASSISTANT_FIELD_TYPE_NUMBER",
		3: "ASSISTANT_FIELD_TYPE_DECIMAL",
	}
	AssistantFieldType_value = map[string]int32{
		"ASSISTANT_FIELD_TYPE_UNSPECIFIED": 0,
		"ASSISTANT_FIELD_TYPE_STRING":      1,
		"ASSISTANT_FIELD_TYPE_NUMBER":      2,
		"ASSISTANT_FIELD_TYPE_DECIMAL":     3,
	}
)

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

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

func (AssistantFieldType) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_speechsense_v1_assistant_proto_enumTypes[0].Descriptor()
}

func (AssistantFieldType) Type() protoreflect.EnumType {
	return &file_yandex_cloud_speechsense_v1_assistant_proto_enumTypes[0]
}

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

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

type Assistant struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Assistant id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Project id
	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
	// Model id
	ModelId string `protobuf:"bytes,3,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	// Assistant name
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
	// Assistant description
	Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`
	// Prompt
	Prompt string `protobuf:"bytes,6,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// Fields that will be set after assistant processing
	Fields  []*AssistantField `protobuf:"bytes,7,rep,name=fields,proto3" json:"fields,omitempty"`
	Enabled bool              `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Billing labels
	Labels    map[string]string      `protobuf:"bytes,9,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Subject id
	CreatedBy  string                 `protobuf:"bytes,11,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	ModifiedAt *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	// Subject id
	ModifiedBy    string `protobuf:"bytes,13,opt,name=modified_by,json=modifiedBy,proto3" json:"modified_by,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Assistant) ProtoMessage() {}

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

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

func (x *Assistant) GetProjectId() string {
	if x != nil {
		return x.ProjectId
	}
	return ""
}

func (x *Assistant) GetModelId() string {
	if x != nil {
		return x.ModelId
	}
	return ""
}

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

func (x *Assistant) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *Assistant) GetPrompt() string {
	if x != nil {
		return x.Prompt
	}
	return ""
}

func (x *Assistant) GetFields() []*AssistantField {
	if x != nil {
		return x.Fields
	}
	return nil
}

func (x *Assistant) GetEnabled() bool {
	if x != nil {
		return x.Enabled
	}
	return false
}

func (x *Assistant) GetLabels() map[string]string {
	if x != nil {
		return x.Labels
	}
	return nil
}

func (x *Assistant) GetCreatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.CreatedAt
	}
	return nil
}

func (x *Assistant) GetCreatedBy() string {
	if x != nil {
		return x.CreatedBy
	}
	return ""
}

func (x *Assistant) GetModifiedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.ModifiedAt
	}
	return nil
}

func (x *Assistant) GetModifiedBy() string {
	if x != nil {
		return x.ModifiedBy
	}
	return ""
}

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

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

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

func (*AssistantField) ProtoMessage() {}

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

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

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

func (x *AssistantField) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

func (x *AssistantField) GetType() AssistantFieldType {
	if x != nil {
		return x.Type
	}
	return AssistantFieldType_ASSISTANT_FIELD_TYPE_UNSPECIFIED
}

type Model struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Model id
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Model name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Model description
	Description   string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Model) ProtoMessage() {}

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

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

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

func (x *Model) GetDescription() string {
	if x != nil {
		return x.Description
	}
	return ""
}

var File_yandex_cloud_speechsense_v1_assistant_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_assistant_proto_rawDesc = "" +
	"\n" +
	"+yandex/cloud/speechsense/v1/assistant.proto\x12\x1byandex.cloud.speechsense.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x04\n" +
	"\tAssistant\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n" +
	"\n" +
	"project_id\x18\x02 \x01(\tR\tprojectId\x12\x19\n" +
	"\bmodel_id\x18\x03 \x01(\tR\amodelId\x12\x12\n" +
	"\x04name\x18\x04 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x05 \x01(\tR\vdescription\x12\x16\n" +
	"\x06prompt\x18\x06 \x01(\tR\x06prompt\x12C\n" +
	"\x06fields\x18\a \x03(\v2+.yandex.cloud.speechsense.v1.AssistantFieldR\x06fields\x12\x18\n" +
	"\aenabled\x18\b \x01(\bR\aenabled\x12J\n" +
	"\x06labels\x18\t \x03(\v22.yandex.cloud.speechsense.v1.Assistant.LabelsEntryR\x06labels\x129\n" +
	"\n" +
	"created_at\x18\n" +
	" \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x1d\n" +
	"\n" +
	"created_by\x18\v \x01(\tR\tcreatedBy\x12;\n" +
	"\vmodified_at\x18\f \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"modifiedAt\x12\x1f\n" +
	"\vmodified_by\x18\r \x01(\tR\n" +
	"modifiedBy\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x9b\x01\n" +
	"\x0eAssistantField\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12C\n" +
	"\x04type\x18\x04 \x01(\x0e2/.yandex.cloud.speechsense.v1.AssistantFieldTypeR\x04type\"M\n" +
	"\x05Model\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription*\x9e\x01\n" +
	"\x12AssistantFieldType\x12$\n" +
	" ASSISTANT_FIELD_TYPE_UNSPECIFIED\x10\x00\x12\x1f\n" +
	"\x1bASSISTANT_FIELD_TYPE_STRING\x10\x01\x12\x1f\n" +
	"\x1bASSISTANT_FIELD_TYPE_NUMBER\x10\x02\x12 \n" +
	"\x1cASSISTANT_FIELD_TYPE_DECIMAL\x10\x03B\x82\x01\n" +
	"\x1fyandex.cloud.api.speechsense.v1B\x12AssistantPrivProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_assistant_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_assistant_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_assistant_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_assistant_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_assistant_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_assistant_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_assistant_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_assistant_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_assistant_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_speechsense_v1_assistant_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_speechsense_v1_assistant_proto_goTypes = []any{
	(AssistantFieldType)(0),       // 0: yandex.cloud.speechsense.v1.AssistantFieldType
	(*Assistant)(nil),             // 1: yandex.cloud.speechsense.v1.Assistant
	(*AssistantField)(nil),        // 2: yandex.cloud.speechsense.v1.AssistantField
	(*Model)(nil),                 // 3: yandex.cloud.speechsense.v1.Model
	nil,                           // 4: yandex.cloud.speechsense.v1.Assistant.LabelsEntry
	(*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
}
var file_yandex_cloud_speechsense_v1_assistant_proto_depIdxs = []int32{
	2, // 0: yandex.cloud.speechsense.v1.Assistant.fields:type_name -> yandex.cloud.speechsense.v1.AssistantField
	4, // 1: yandex.cloud.speechsense.v1.Assistant.labels:type_name -> yandex.cloud.speechsense.v1.Assistant.LabelsEntry
	5, // 2: yandex.cloud.speechsense.v1.Assistant.created_at:type_name -> google.protobuf.Timestamp
	5, // 3: yandex.cloud.speechsense.v1.Assistant.modified_at:type_name -> google.protobuf.Timestamp
	0, // 4: yandex.cloud.speechsense.v1.AssistantField.type:type_name -> yandex.cloud.speechsense.v1.AssistantFieldType
	5, // [5:5] is the sub-list for method output_type
	5, // [5:5] is the sub-list for method input_type
	5, // [5:5] is the sub-list for extension type_name
	5, // [5:5] is the sub-list for extension extendee
	0, // [0:5] is the sub-list for field type_name
}

func init() { file_yandex_cloud_speechsense_v1_assistant_proto_init() }
func file_yandex_cloud_speechsense_v1_assistant_proto_init() {
	if File_yandex_cloud_speechsense_v1_assistant_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_assistant_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_assistant_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_assistant_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_assistant_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_speechsense_v1_assistant_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_speechsense_v1_assistant_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_assistant_proto = out.File
	file_yandex_cloud_speechsense_v1_assistant_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_assistant_proto_depIdxs = nil
}
