// 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/project.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 Project struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	ConnectionId  string                 `protobuf:"bytes,3,opt,name=connection_id,json=connectionId,proto3" json:"connection_id,omitempty"`
	Description   string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	CreatedBy     string                 `protobuf:"bytes,5,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	CreatedAt     *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	ModifiedBy    string                 `protobuf:"bytes,7,opt,name=modified_by,json=modifiedBy,proto3" json:"modified_by,omitempty"`
	ModifiedAt    *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=modified_at,json=modifiedAt,proto3" json:"modified_at,omitempty"`
	Filters       []*FieldFilter         `protobuf:"bytes,9,rep,name=filters,proto3" json:"filters,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Project) ProtoMessage() {}

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

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

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

func (x *Project) GetConnectionId() string {
	if x != nil {
		return x.ConnectionId
	}
	return ""
}

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

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

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

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

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

func (x *Project) GetFilters() []*FieldFilter {
	if x != nil {
		return x.Filters
	}
	return nil
}

// simple filters to match talks based on their connection metadata
type FieldFilter struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// connection metadata field key
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// connection metadata field value
	FieldValue    string `protobuf:"bytes,2,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FieldFilter) ProtoMessage() {}

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

func (x *FieldFilter) GetKey() string {
	if x != nil {
		return x.Key
	}
	return ""
}

func (x *FieldFilter) GetFieldValue() string {
	if x != nil {
		return x.FieldValue
	}
	return ""
}

var File_yandex_cloud_speechsense_v1_project_proto protoreflect.FileDescriptor

const file_yandex_cloud_speechsense_v1_project_proto_rawDesc = "" +
	"\n" +
	")yandex/cloud/speechsense/v1/project.proto\x12\x1byandex.cloud.speechsense.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n" +
	"\aProject\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12#\n" +
	"\rconnection_id\x18\x03 \x01(\tR\fconnectionId\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12\x1d\n" +
	"\n" +
	"created_by\x18\x05 \x01(\tR\tcreatedBy\x129\n" +
	"\n" +
	"created_at\x18\x06 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x1f\n" +
	"\vmodified_by\x18\a \x01(\tR\n" +
	"modifiedBy\x12;\n" +
	"\vmodified_at\x18\b \x01(\v2\x1a.google.protobuf.TimestampR\n" +
	"modifiedAt\x12B\n" +
	"\afilters\x18\t \x03(\v2(.yandex.cloud.speechsense.v1.FieldFilterR\afilters\"@\n" +
	"\vFieldFilter\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x1f\n" +
	"\vfield_value\x18\x02 \x01(\tR\n" +
	"fieldValueB|\n" +
	"\x1fyandex.cloud.api.speechsense.v1B\fProjectProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsenseb\x06proto3"

var (
	file_yandex_cloud_speechsense_v1_project_proto_rawDescOnce sync.Once
	file_yandex_cloud_speechsense_v1_project_proto_rawDescData []byte
)

func file_yandex_cloud_speechsense_v1_project_proto_rawDescGZIP() []byte {
	file_yandex_cloud_speechsense_v1_project_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_speechsense_v1_project_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_speechsense_v1_project_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_project_proto_rawDesc)))
	})
	return file_yandex_cloud_speechsense_v1_project_proto_rawDescData
}

var file_yandex_cloud_speechsense_v1_project_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_yandex_cloud_speechsense_v1_project_proto_goTypes = []any{
	(*Project)(nil),               // 0: yandex.cloud.speechsense.v1.Project
	(*FieldFilter)(nil),           // 1: yandex.cloud.speechsense.v1.FieldFilter
	(*timestamppb.Timestamp)(nil), // 2: google.protobuf.Timestamp
}
var file_yandex_cloud_speechsense_v1_project_proto_depIdxs = []int32{
	2, // 0: yandex.cloud.speechsense.v1.Project.created_at:type_name -> google.protobuf.Timestamp
	2, // 1: yandex.cloud.speechsense.v1.Project.modified_at:type_name -> google.protobuf.Timestamp
	1, // 2: yandex.cloud.speechsense.v1.Project.filters:type_name -> yandex.cloud.speechsense.v1.FieldFilter
	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_project_proto_init() }
func file_yandex_cloud_speechsense_v1_project_proto_init() {
	if File_yandex_cloud_speechsense_v1_project_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_project_proto_rawDesc), len(file_yandex_cloud_speechsense_v1_project_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_speechsense_v1_project_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_speechsense_v1_project_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_speechsense_v1_project_proto_msgTypes,
	}.Build()
	File_yandex_cloud_speechsense_v1_project_proto = out.File
	file_yandex_cloud_speechsense_v1_project_proto_goTypes = nil
	file_yandex_cloud_speechsense_v1_project_proto_depIdxs = nil
}
