// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: yandex/cloud/datacatalog/v1/catalog.proto

package datacatalog

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	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 Catalog struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Catalog identifier
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Folder identifier
	FolderId string `protobuf:"bytes,2,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// Catalog name
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Catalog description
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Catalog labels
	Labels map[string]string `protobuf:"bytes,5,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Id of subject who created the catalog
	CreatedBy string `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	// AI markup enabled flag
	AiMarkupRules *CatalogAIMarkupRules `protobuf:"bytes,7,opt,name=ai_markup_rules,json=aiMarkupRules,proto3" json:"ai_markup_rules,omitempty"`
	// Configuration for auto ingestion feature
	AutoIngestionParams *CatalogAutoIngestionConfig `protobuf:"bytes,8,opt,name=auto_ingestion_params,json=autoIngestionParams,proto3" json:"auto_ingestion_params,omitempty"`
	// Date of catalog creation
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Date of catalog last update
	UpdatedAt     *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Catalog) ProtoMessage() {}

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

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

func (x *Catalog) GetFolderId() string {
	if x != nil {
		return x.FolderId
	}
	return ""
}

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

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

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

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

func (x *Catalog) GetAiMarkupRules() *CatalogAIMarkupRules {
	if x != nil {
		return x.AiMarkupRules
	}
	return nil
}

func (x *Catalog) GetAutoIngestionParams() *CatalogAutoIngestionConfig {
	if x != nil {
		return x.AutoIngestionParams
	}
	return nil
}

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

func (x *Catalog) GetUpdatedAt() *timestamppb.Timestamp {
	if x != nil {
		return x.UpdatedAt
	}
	return nil
}

type CatalogAIMarkupRules struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// If set to true, AI marking up of catalog entities will be enabled
	AiEnabled bool `protobuf:"varint,1,opt,name=ai_enabled,json=aiEnabled,proto3" json:"ai_enabled,omitempty"`
	// Rules for the AI agent, that will be used for assets mark up
	DocumentationRules string `protobuf:"bytes,2,opt,name=documentation_rules,json=documentationRules,proto3" json:"documentation_rules,omitempty"`
	// Rules for the AI agent, that will be used for domains mark up
	DomainRules string `protobuf:"bytes,3,opt,name=domain_rules,json=domainRules,proto3" json:"domain_rules,omitempty"`
	// Rules for the AI agent, that will be used for terms mark up
	TermsRules string `protobuf:"bytes,4,opt,name=terms_rules,json=termsRules,proto3" json:"terms_rules,omitempty"`
	// Rules for the AI agent, that will be used for tags mark up
	TagsRules     string `protobuf:"bytes,5,opt,name=tags_rules,json=tagsRules,proto3" json:"tags_rules,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*CatalogAIMarkupRules) ProtoMessage() {}

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

func (x *CatalogAIMarkupRules) GetAiEnabled() bool {
	if x != nil {
		return x.AiEnabled
	}
	return false
}

func (x *CatalogAIMarkupRules) GetDocumentationRules() string {
	if x != nil {
		return x.DocumentationRules
	}
	return ""
}

func (x *CatalogAIMarkupRules) GetDomainRules() string {
	if x != nil {
		return x.DomainRules
	}
	return ""
}

func (x *CatalogAIMarkupRules) GetTermsRules() string {
	if x != nil {
		return x.TermsRules
	}
	return ""
}

func (x *CatalogAIMarkupRules) GetTagsRules() string {
	if x != nil {
		return x.TagsRules
	}
	return ""
}

type CatalogAutoIngestionConfig struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of service account, which will be used for auto ingestion feature
	ServiceAccountId string `protobuf:"bytes,19,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*CatalogAutoIngestionConfig) ProtoMessage() {}

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

func (x *CatalogAutoIngestionConfig) GetServiceAccountId() string {
	if x != nil {
		return x.ServiceAccountId
	}
	return ""
}

var File_yandex_cloud_datacatalog_v1_catalog_proto protoreflect.FileDescriptor

const file_yandex_cloud_datacatalog_v1_catalog_proto_rawDesc = "" +
	"\n" +
	")yandex/cloud/datacatalog/v1/catalog.proto\x12\x1byandex.cloud.datacatalog.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x86\x05\n" +
	"\aCatalog\x12\x16\n" +
	"\x02id\x18\x01 \x01(\tB\x06\xe0A\b\xe0A\x03R\x02id\x12#\n" +
	"\tfolder_id\x18\x02 \x01(\tB\x06\xe0A\x02\xe0A\x05R\bfolderId\x12\x17\n" +
	"\x04name\x18\x03 \x01(\tB\x03\xe0A\x02R\x04name\x12%\n" +
	"\vdescription\x18\x04 \x01(\tB\x03\xe0A\x01R\vdescription\x12M\n" +
	"\x06labels\x18\x05 \x03(\v20.yandex.cloud.datacatalog.v1.Catalog.LabelsEntryB\x03\xe0A\x01R\x06labels\x12\"\n" +
	"\n" +
	"created_by\x18\x06 \x01(\tB\x03\xe0A\x03R\tcreatedBy\x12^\n" +
	"\x0fai_markup_rules\x18\a \x01(\v21.yandex.cloud.datacatalog.v1.CatalogAIMarkupRulesB\x03\xe0A\x01R\raiMarkupRules\x12p\n" +
	"\x15auto_ingestion_params\x18\b \x01(\v27.yandex.cloud.datacatalog.v1.CatalogAutoIngestionConfigB\x03\xe0A\x01R\x13autoIngestionParams\x12>\n" +
	"\n" +
	"created_at\x18\t \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tcreatedAt\x12>\n" +
	"\n" +
	"updated_at\x18\n" +
	" \x01(\v2\x1a.google.protobuf.TimestampB\x03\xe0A\x03R\tupdatedAt\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xe2\x01\n" +
	"\x14CatalogAIMarkupRules\x12\"\n" +
	"\n" +
	"ai_enabled\x18\x01 \x01(\bB\x03\xe0A\x01R\taiEnabled\x124\n" +
	"\x13documentation_rules\x18\x02 \x01(\tB\x03\xe0A\x01R\x12documentationRules\x12&\n" +
	"\fdomain_rules\x18\x03 \x01(\tB\x03\xe0A\x01R\vdomainRules\x12$\n" +
	"\vterms_rules\x18\x04 \x01(\tB\x03\xe0A\x01R\n" +
	"termsRules\x12\"\n" +
	"\n" +
	"tags_rules\x18\x05 \x01(\tB\x03\xe0A\x01R\ttagsRules\"U\n" +
	"\x1aCatalogAutoIngestionConfig\x121\n" +
	"\x12service_account_id\x18\x13 \x01(\tB\x03\xe0A\x01R\x10serviceAccountIdJ\x04\b\x01\x10\x13Bn\n" +
	"\x1fyandex.cloud.api.datacatalog.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/datacatalog/v1;datacatalogb\x06proto3"

var (
	file_yandex_cloud_datacatalog_v1_catalog_proto_rawDescOnce sync.Once
	file_yandex_cloud_datacatalog_v1_catalog_proto_rawDescData []byte
)

func file_yandex_cloud_datacatalog_v1_catalog_proto_rawDescGZIP() []byte {
	file_yandex_cloud_datacatalog_v1_catalog_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_datacatalog_v1_catalog_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_datacatalog_v1_catalog_proto_rawDesc), len(file_yandex_cloud_datacatalog_v1_catalog_proto_rawDesc)))
	})
	return file_yandex_cloud_datacatalog_v1_catalog_proto_rawDescData
}

var file_yandex_cloud_datacatalog_v1_catalog_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_yandex_cloud_datacatalog_v1_catalog_proto_goTypes = []any{
	(*Catalog)(nil),                    // 0: yandex.cloud.datacatalog.v1.Catalog
	(*CatalogAIMarkupRules)(nil),       // 1: yandex.cloud.datacatalog.v1.CatalogAIMarkupRules
	(*CatalogAutoIngestionConfig)(nil), // 2: yandex.cloud.datacatalog.v1.CatalogAutoIngestionConfig
	nil,                                // 3: yandex.cloud.datacatalog.v1.Catalog.LabelsEntry
	(*timestamppb.Timestamp)(nil),      // 4: google.protobuf.Timestamp
}
var file_yandex_cloud_datacatalog_v1_catalog_proto_depIdxs = []int32{
	3, // 0: yandex.cloud.datacatalog.v1.Catalog.labels:type_name -> yandex.cloud.datacatalog.v1.Catalog.LabelsEntry
	1, // 1: yandex.cloud.datacatalog.v1.Catalog.ai_markup_rules:type_name -> yandex.cloud.datacatalog.v1.CatalogAIMarkupRules
	2, // 2: yandex.cloud.datacatalog.v1.Catalog.auto_ingestion_params:type_name -> yandex.cloud.datacatalog.v1.CatalogAutoIngestionConfig
	4, // 3: yandex.cloud.datacatalog.v1.Catalog.created_at:type_name -> google.protobuf.Timestamp
	4, // 4: yandex.cloud.datacatalog.v1.Catalog.updated_at:type_name -> google.protobuf.Timestamp
	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_datacatalog_v1_catalog_proto_init() }
func file_yandex_cloud_datacatalog_v1_catalog_proto_init() {
	if File_yandex_cloud_datacatalog_v1_catalog_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_datacatalog_v1_catalog_proto_rawDesc), len(file_yandex_cloud_datacatalog_v1_catalog_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_datacatalog_v1_catalog_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_datacatalog_v1_catalog_proto_depIdxs,
		MessageInfos:      file_yandex_cloud_datacatalog_v1_catalog_proto_msgTypes,
	}.Build()
	File_yandex_cloud_datacatalog_v1_catalog_proto = out.File
	file_yandex_cloud_datacatalog_v1_catalog_proto_goTypes = nil
	file_yandex_cloud_datacatalog_v1_catalog_proto_depIdxs = nil
}
