// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        v3.21.12
// source: yandex/cloud/serverless/eventrouter/v1/connector.proto

package eventrouter

import (
	_ "github.com/yandex-cloud/go-genproto/yandex/cloud"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	durationpb "google.golang.org/protobuf/types/known/durationpb"
	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)
)

// Status of the connector.
type Connector_Status int32

const (
	Connector_STATUS_UNSPECIFIED Connector_Status = 0
	Connector_RUNNING            Connector_Status = 1
	// disabled by user
	Connector_STOPPED Connector_Status = 2
	// source does not exist
	Connector_RESOURCE_NOT_FOUND Connector_Status = 3
	// service account does not have read permission on source
	Connector_PERMISSION_DENIED Connector_Status = 4
	// service account not found
	Connector_SUBJECT_NOT_FOUND Connector_Status = 5
	// deletion in progress
	Connector_DELETING Connector_Status = 7
	// creation in progress
	Connector_CREATING Connector_Status = 8
)

// Enum value maps for Connector_Status.
var (
	Connector_Status_name = map[int32]string{
		0: "STATUS_UNSPECIFIED",
		1: "RUNNING",
		2: "STOPPED",
		3: "RESOURCE_NOT_FOUND",
		4: "PERMISSION_DENIED",
		5: "SUBJECT_NOT_FOUND",
		7: "DELETING",
		8: "CREATING",
	}
	Connector_Status_value = map[string]int32{
		"STATUS_UNSPECIFIED": 0,
		"RUNNING":            1,
		"STOPPED":            2,
		"RESOURCE_NOT_FOUND": 3,
		"PERMISSION_DENIED":  4,
		"SUBJECT_NOT_FOUND":  5,
		"DELETING":           7,
		"CREATING":           8,
	}
)

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

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

func (Connector_Status) Descriptor() protoreflect.EnumDescriptor {
	return file_yandex_cloud_serverless_eventrouter_v1_connector_proto_enumTypes[0].Descriptor()
}

func (Connector_Status) Type() protoreflect.EnumType {
	return &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_enumTypes[0]
}

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

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

type Connector struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// ID of the connector.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// ID of the bus that the connector belongs to.
	BusId string `protobuf:"bytes,2,opt,name=bus_id,json=busId,proto3" json:"bus_id,omitempty"`
	// ID of the folder that the connector resides in.
	FolderId string `protobuf:"bytes,3,opt,name=folder_id,json=folderId,proto3" json:"folder_id,omitempty"`
	// ID of the cloud that the connector resides in.
	CloudId string `protobuf:"bytes,4,opt,name=cloud_id,json=cloudId,proto3" json:"cloud_id,omitempty"`
	// Creation timestamp.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	// Name of the connector.
	Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
	// Description of the connector.
	Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"`
	// Resource labels as `key:value` pairs.
	Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	// Source of the connector.
	Source *Source `protobuf:"bytes,9,opt,name=source,proto3" json:"source,omitempty"`
	// Deletion protection.
	DeletionProtection bool `protobuf:"varint,10,opt,name=deletion_protection,json=deletionProtection,proto3" json:"deletion_protection,omitempty"`
	// Status of the connector.
	Status        Connector_Status `protobuf:"varint,11,opt,name=status,proto3,enum=yandex.cloud.serverless.eventrouter.v1.Connector_Status" json:"status,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Connector) ProtoMessage() {}

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

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

func (x *Connector) GetBusId() string {
	if x != nil {
		return x.BusId
	}
	return ""
}

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

func (x *Connector) GetCloudId() string {
	if x != nil {
		return x.CloudId
	}
	return ""
}

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

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

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

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

func (x *Connector) GetSource() *Source {
	if x != nil {
		return x.Source
	}
	return nil
}

func (x *Connector) GetDeletionProtection() bool {
	if x != nil {
		return x.DeletionProtection
	}
	return false
}

func (x *Connector) GetStatus() Connector_Status {
	if x != nil {
		return x.Status
	}
	return Connector_STATUS_UNSPECIFIED
}

type Source struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Source:
	//
	//	*Source_DataStream
	//	*Source_MessageQueue
	//	*Source_Timer
	//	*Source_EventServiceSource
	//	*Source_AuditTrails
	Source        isSource_Source `protobuf_oneof:"source"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Source) ProtoMessage() {}

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

func (x *Source) GetSource() isSource_Source {
	if x != nil {
		return x.Source
	}
	return nil
}

func (x *Source) GetDataStream() *DataStream {
	if x != nil {
		if x, ok := x.Source.(*Source_DataStream); ok {
			return x.DataStream
		}
	}
	return nil
}

func (x *Source) GetMessageQueue() *MessageQueue {
	if x != nil {
		if x, ok := x.Source.(*Source_MessageQueue); ok {
			return x.MessageQueue
		}
	}
	return nil
}

func (x *Source) GetTimer() *Timer {
	if x != nil {
		if x, ok := x.Source.(*Source_Timer); ok {
			return x.Timer
		}
	}
	return nil
}

func (x *Source) GetEventServiceSource() *EventServiceSource {
	if x != nil {
		if x, ok := x.Source.(*Source_EventServiceSource); ok {
			return x.EventServiceSource
		}
	}
	return nil
}

func (x *Source) GetAuditTrails() *AuditTrails {
	if x != nil {
		if x, ok := x.Source.(*Source_AuditTrails); ok {
			return x.AuditTrails
		}
	}
	return nil
}

type isSource_Source interface {
	isSource_Source()
}

type Source_DataStream struct {
	DataStream *DataStream `protobuf:"bytes,1,opt,name=data_stream,json=dataStream,proto3,oneof"`
}

type Source_MessageQueue struct {
	MessageQueue *MessageQueue `protobuf:"bytes,2,opt,name=message_queue,json=messageQueue,proto3,oneof"`
}

type Source_Timer struct {
	Timer *Timer `protobuf:"bytes,3,opt,name=timer,proto3,oneof"`
}

type Source_EventServiceSource struct {
	EventServiceSource *EventServiceSource `protobuf:"bytes,4,opt,name=event_service_source,json=eventServiceSource,proto3,oneof"`
}

type Source_AuditTrails struct {
	AuditTrails *AuditTrails `protobuf:"bytes,5,opt,name=audit_trails,json=auditTrails,proto3,oneof"`
}

func (*Source_DataStream) isSource_Source() {}

func (*Source_MessageQueue) isSource_Source() {}

func (*Source_Timer) isSource_Source() {}

func (*Source_EventServiceSource) isSource_Source() {}

func (*Source_AuditTrails) isSource_Source() {}

type DataStream struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Stream database.
	// example: /ru-central1/aoegtvhtp8ob********/cc8004q4lbo6********
	Database string `protobuf:"bytes,1,opt,name=database,proto3" json:"database,omitempty"`
	// Stream name, absolute or relative.
	StreamName string `protobuf:"bytes,2,opt,name=stream_name,json=streamName,proto3" json:"stream_name,omitempty"`
	// Consumer name.
	Consumer string `protobuf:"bytes,3,opt,name=consumer,proto3" json:"consumer,omitempty"`
	// Service account which has read permission on the stream.
	ServiceAccountId string `protobuf:"bytes,4,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*DataStream) ProtoMessage() {}

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

func (x *DataStream) GetDatabase() string {
	if x != nil {
		return x.Database
	}
	return ""
}

func (x *DataStream) GetStreamName() string {
	if x != nil {
		return x.StreamName
	}
	return ""
}

func (x *DataStream) GetConsumer() string {
	if x != nil {
		return x.Consumer
	}
	return ""
}

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

type MessageQueue struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Queue ARN.
	// Example: yrn:yc:ymq:ru-central1:aoe***:test
	QueueArn string `protobuf:"bytes,1,opt,name=queue_arn,json=queueArn,proto3" json:"queue_arn,omitempty"`
	// Service account which has read access to the queue.
	ServiceAccountId string `protobuf:"bytes,2,opt,name=service_account_id,json=serviceAccountId,proto3" json:"service_account_id,omitempty"`
	// Queue visibility timeout override.
	VisibilityTimeout *durationpb.Duration `protobuf:"bytes,3,opt,name=visibility_timeout,json=visibilityTimeout,proto3" json:"visibility_timeout,omitempty"`
	// Batch size for polling.
	BatchSize int64 `protobuf:"varint,4,opt,name=batch_size,json=batchSize,proto3" json:"batch_size,omitempty"`
	// Queue polling timeout.
	PollingTimeout *durationpb.Duration `protobuf:"bytes,5,opt,name=polling_timeout,json=pollingTimeout,proto3" json:"polling_timeout,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

func (x *MessageQueue) Reset() {
	*x = MessageQueue{}
	mi := &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*MessageQueue) ProtoMessage() {}

func (x *MessageQueue) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[3]
	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 MessageQueue.ProtoReflect.Descriptor instead.
func (*MessageQueue) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescGZIP(), []int{3}
}

func (x *MessageQueue) GetQueueArn() string {
	if x != nil {
		return x.QueueArn
	}
	return ""
}

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

func (x *MessageQueue) GetVisibilityTimeout() *durationpb.Duration {
	if x != nil {
		return x.VisibilityTimeout
	}
	return nil
}

func (x *MessageQueue) GetBatchSize() int64 {
	if x != nil {
		return x.BatchSize
	}
	return 0
}

func (x *MessageQueue) GetPollingTimeout() *durationpb.Duration {
	if x != nil {
		return x.PollingTimeout
	}
	return nil
}

type EventServiceSource struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *EventServiceSource) Reset() {
	*x = EventServiceSource{}
	mi := &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*EventServiceSource) ProtoMessage() {}

func (x *EventServiceSource) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[4]
	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 EventServiceSource.ProtoReflect.Descriptor instead.
func (*EventServiceSource) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescGZIP(), []int{4}
}

type Timer struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// cron expression, with second precision
	CronExpression string `protobuf:"bytes,1,opt,name=cron_expression,json=cronExpression,proto3" json:"cron_expression,omitempty"`
	// time zone, e.g. Europe/Moscow
	TimeZone string `protobuf:"bytes,2,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	// payload to send to target
	Payload       string `protobuf:"bytes,4,opt,name=payload,proto3" json:"payload,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Timer) Reset() {
	*x = Timer{}
	mi := &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Timer) ProtoMessage() {}

func (x *Timer) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[5]
	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 Timer.ProtoReflect.Descriptor instead.
func (*Timer) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescGZIP(), []int{5}
}

func (x *Timer) GetCronExpression() string {
	if x != nil {
		return x.CronExpression
	}
	return ""
}

func (x *Timer) GetTimeZone() string {
	if x != nil {
		return x.TimeZone
	}
	return ""
}

func (x *Timer) GetPayload() string {
	if x != nil {
		return x.Payload
	}
	return ""
}

type AuditTrails struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *AuditTrails) Reset() {
	*x = AuditTrails{}
	mi := &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*AuditTrails) ProtoMessage() {}

func (x *AuditTrails) ProtoReflect() protoreflect.Message {
	mi := &file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[6]
	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 AuditTrails.ProtoReflect.Descriptor instead.
func (*AuditTrails) Descriptor() ([]byte, []int) {
	return file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescGZIP(), []int{6}
}

var File_yandex_cloud_serverless_eventrouter_v1_connector_proto protoreflect.FileDescriptor

const file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDesc = "" +
	"\n" +
	"6yandex/cloud/serverless/eventrouter/v1/connector.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xd7\x05\n" +
	"\tConnector\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n" +
	"\x06bus_id\x18\x02 \x01(\tR\x05busId\x12\x1b\n" +
	"\tfolder_id\x18\x03 \x01(\tR\bfolderId\x12\x19\n" +
	"\bcloud_id\x18\x04 \x01(\tR\acloudId\x129\n" +
	"\n" +
	"created_at\x18\x05 \x01(\v2\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x12\n" +
	"\x04name\x18\x06 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\a \x01(\tR\vdescription\x12U\n" +
	"\x06labels\x18\b \x03(\v2=.yandex.cloud.serverless.eventrouter.v1.Connector.LabelsEntryR\x06labels\x12F\n" +
	"\x06source\x18\t \x01(\v2..yandex.cloud.serverless.eventrouter.v1.SourceR\x06source\x12/\n" +
	"\x13deletion_protection\x18\n" +
	" \x01(\bR\x12deletionProtection\x12P\n" +
	"\x06status\x18\v \x01(\x0e28.yandex.cloud.serverless.eventrouter.v1.Connector.StatusR\x06status\x1a9\n" +
	"\vLabelsEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x9c\x01\n" +
	"\x06Status\x12\x16\n" +
	"\x12STATUS_UNSPECIFIED\x10\x00\x12\v\n" +
	"\aRUNNING\x10\x01\x12\v\n" +
	"\aSTOPPED\x10\x02\x12\x16\n" +
	"\x12RESOURCE_NOT_FOUND\x10\x03\x12\x15\n" +
	"\x11PERMISSION_DENIED\x10\x04\x12\x15\n" +
	"\x11SUBJECT_NOT_FOUND\x10\x05\x12\f\n" +
	"\bDELETING\x10\a\x12\f\n" +
	"\bCREATING\x10\b\"\xdd\x03\n" +
	"\x06Source\x12U\n" +
	"\vdata_stream\x18\x01 \x01(\v22.yandex.cloud.serverless.eventrouter.v1.DataStreamH\x00R\n" +
	"dataStream\x12[\n" +
	"\rmessage_queue\x18\x02 \x01(\v24.yandex.cloud.serverless.eventrouter.v1.MessageQueueH\x00R\fmessageQueue\x12E\n" +
	"\x05timer\x18\x03 \x01(\v2-.yandex.cloud.serverless.eventrouter.v1.TimerH\x00R\x05timer\x12n\n" +
	"\x14event_service_source\x18\x04 \x01(\v2:.yandex.cloud.serverless.eventrouter.v1.EventServiceSourceH\x00R\x12eventServiceSource\x12X\n" +
	"\faudit_trails\x18\x05 \x01(\v23.yandex.cloud.serverless.eventrouter.v1.AuditTrailsH\x00R\vauditTrailsB\x0e\n" +
	"\x06source\x12\x04\xc0\xc11\x01\"\xab\x01\n" +
	"\n" +
	"DataStream\x12 \n" +
	"\bdatabase\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bdatabase\x12%\n" +
	"\vstream_name\x18\x02 \x01(\tB\x04\xe8\xc71\x01R\n" +
	"streamName\x12 \n" +
	"\bconsumer\x18\x03 \x01(\tB\x04\xe8\xc71\x01R\bconsumer\x122\n" +
	"\x12service_account_id\x18\x04 \x01(\tB\x04\xe8\xc71\x01R\x10serviceAccountId\"\xba\x02\n" +
	"\fMessageQueue\x12!\n" +
	"\tqueue_arn\x18\x01 \x01(\tB\x04\xe8\xc71\x01R\bqueueArn\x12:\n" +
	"\x12service_account_id\x18\x02 \x01(\tB\f\xe8\xc71\x01\x8a\xc81\x04<=50R\x10serviceAccountId\x12S\n" +
	"\x12visibility_timeout\x18\x03 \x01(\v2\x19.google.protobuf.DurationB\t\xfa\xc71\x05<=12hR\x11visibilityTimeout\x12'\n" +
	"\n" +
	"batch_size\x18\x04 \x01(\x03B\b\xfa\xc71\x04<=10R\tbatchSize\x12M\n" +
	"\x0fpolling_timeout\x18\x05 \x01(\v2\x19.google.protobuf.DurationB\t\xfa\xc71\x05<=20sR\x0epollingTimeout\"\x14\n" +
	"\x12EventServiceSource\"\x88\x01\n" +
	"\x05Timer\x126\n" +
	"\x0fcron_expression\x18\x01 \x01(\tB\r\xe8\xc71\x01\x8a\xc81\x05<=100R\x0ecronExpression\x12\x1b\n" +
	"\ttime_zone\x18\x02 \x01(\tR\btimeZone\x12$\n" +
	"\apayload\x18\x04 \x01(\tB\n" +
	"\x8a\xc81\x06<=4096R\apayloadJ\x04\b\x03\x10\x04\"\r\n" +
	"\vAuditTrailsB\x8a\x01\n" +
	"*yandex.cloud.api.serverless.eventrouter.v1B\x04PERCZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouterb\x06proto3"

var (
	file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescOnce sync.Once
	file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescData []byte
)

func file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescGZIP() []byte {
	file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescOnce.Do(func() {
		file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDesc), len(file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDesc)))
	})
	return file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDescData
}

var file_yandex_cloud_serverless_eventrouter_v1_connector_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_yandex_cloud_serverless_eventrouter_v1_connector_proto_goTypes = []any{
	(Connector_Status)(0),         // 0: yandex.cloud.serverless.eventrouter.v1.Connector.Status
	(*Connector)(nil),             // 1: yandex.cloud.serverless.eventrouter.v1.Connector
	(*Source)(nil),                // 2: yandex.cloud.serverless.eventrouter.v1.Source
	(*DataStream)(nil),            // 3: yandex.cloud.serverless.eventrouter.v1.DataStream
	(*MessageQueue)(nil),          // 4: yandex.cloud.serverless.eventrouter.v1.MessageQueue
	(*EventServiceSource)(nil),    // 5: yandex.cloud.serverless.eventrouter.v1.EventServiceSource
	(*Timer)(nil),                 // 6: yandex.cloud.serverless.eventrouter.v1.Timer
	(*AuditTrails)(nil),           // 7: yandex.cloud.serverless.eventrouter.v1.AuditTrails
	nil,                           // 8: yandex.cloud.serverless.eventrouter.v1.Connector.LabelsEntry
	(*timestamppb.Timestamp)(nil), // 9: google.protobuf.Timestamp
	(*durationpb.Duration)(nil),   // 10: google.protobuf.Duration
}
var file_yandex_cloud_serverless_eventrouter_v1_connector_proto_depIdxs = []int32{
	9,  // 0: yandex.cloud.serverless.eventrouter.v1.Connector.created_at:type_name -> google.protobuf.Timestamp
	8,  // 1: yandex.cloud.serverless.eventrouter.v1.Connector.labels:type_name -> yandex.cloud.serverless.eventrouter.v1.Connector.LabelsEntry
	2,  // 2: yandex.cloud.serverless.eventrouter.v1.Connector.source:type_name -> yandex.cloud.serverless.eventrouter.v1.Source
	0,  // 3: yandex.cloud.serverless.eventrouter.v1.Connector.status:type_name -> yandex.cloud.serverless.eventrouter.v1.Connector.Status
	3,  // 4: yandex.cloud.serverless.eventrouter.v1.Source.data_stream:type_name -> yandex.cloud.serverless.eventrouter.v1.DataStream
	4,  // 5: yandex.cloud.serverless.eventrouter.v1.Source.message_queue:type_name -> yandex.cloud.serverless.eventrouter.v1.MessageQueue
	6,  // 6: yandex.cloud.serverless.eventrouter.v1.Source.timer:type_name -> yandex.cloud.serverless.eventrouter.v1.Timer
	5,  // 7: yandex.cloud.serverless.eventrouter.v1.Source.event_service_source:type_name -> yandex.cloud.serverless.eventrouter.v1.EventServiceSource
	7,  // 8: yandex.cloud.serverless.eventrouter.v1.Source.audit_trails:type_name -> yandex.cloud.serverless.eventrouter.v1.AuditTrails
	10, // 9: yandex.cloud.serverless.eventrouter.v1.MessageQueue.visibility_timeout:type_name -> google.protobuf.Duration
	10, // 10: yandex.cloud.serverless.eventrouter.v1.MessageQueue.polling_timeout:type_name -> google.protobuf.Duration
	11, // [11:11] is the sub-list for method output_type
	11, // [11:11] is the sub-list for method input_type
	11, // [11:11] is the sub-list for extension type_name
	11, // [11:11] is the sub-list for extension extendee
	0,  // [0:11] is the sub-list for field type_name
}

func init() { file_yandex_cloud_serverless_eventrouter_v1_connector_proto_init() }
func file_yandex_cloud_serverless_eventrouter_v1_connector_proto_init() {
	if File_yandex_cloud_serverless_eventrouter_v1_connector_proto != nil {
		return
	}
	file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes[1].OneofWrappers = []any{
		(*Source_DataStream)(nil),
		(*Source_MessageQueue)(nil),
		(*Source_Timer)(nil),
		(*Source_EventServiceSource)(nil),
		(*Source_AuditTrails)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDesc), len(file_yandex_cloud_serverless_eventrouter_v1_connector_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_yandex_cloud_serverless_eventrouter_v1_connector_proto_goTypes,
		DependencyIndexes: file_yandex_cloud_serverless_eventrouter_v1_connector_proto_depIdxs,
		EnumInfos:         file_yandex_cloud_serverless_eventrouter_v1_connector_proto_enumTypes,
		MessageInfos:      file_yandex_cloud_serverless_eventrouter_v1_connector_proto_msgTypes,
	}.Build()
	File_yandex_cloud_serverless_eventrouter_v1_connector_proto = out.File
	file_yandex_cloud_serverless_eventrouter_v1_connector_proto_goTypes = nil
	file_yandex_cloud_serverless_eventrouter_v1_connector_proto_depIdxs = nil
}
