// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.9
// 	protoc        v6.32.1
// source: internal/module/autoflow/engine/engine.proto

package engine

import (
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"

	event "gitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/pkg/event"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)

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 HandleEventRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Event         *event.CloudEvent      `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	FlowProject   *event.Project         `protobuf:"bytes,2,opt,name=flow_project,json=flowProject,proto3" json:"flow_project,omitempty"`
	Variables     map[string]string      `protobuf:"bytes,3,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HandleEventRequest) ProtoMessage() {}

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

func (x *HandleEventRequest) GetEvent() *event.CloudEvent {
	if x != nil {
		return x.Event
	}
	return nil
}

func (x *HandleEventRequest) GetFlowProject() *event.Project {
	if x != nil {
		return x.FlowProject
	}
	return nil
}

func (x *HandleEventRequest) GetVariables() map[string]string {
	if x != nil {
		return x.Variables
	}
	return nil
}

type HandleEventWorkflowInput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Event         *event.CloudEvent      `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	FlowProject   *event.Project         `protobuf:"bytes,2,opt,name=flow_project,json=flowProject,proto3" json:"flow_project,omitempty"`
	Entrypoint    string                 `protobuf:"bytes,3,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	Variables     map[string]string      `protobuf:"bytes,4,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HandleEventWorkflowInput) ProtoMessage() {}

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

func (x *HandleEventWorkflowInput) GetEvent() *event.CloudEvent {
	if x != nil {
		return x.Event
	}
	return nil
}

func (x *HandleEventWorkflowInput) GetFlowProject() *event.Project {
	if x != nil {
		return x.FlowProject
	}
	return nil
}

func (x *HandleEventWorkflowInput) GetEntrypoint() string {
	if x != nil {
		return x.Entrypoint
	}
	return ""
}

func (x *HandleEventWorkflowInput) GetVariables() map[string]string {
	if x != nil {
		return x.Variables
	}
	return nil
}

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

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

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

func (*HandleEventWorkflowOutput) ProtoMessage() {}

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

type RunEventHandlerWorkflowInput struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Event            *event.CloudEvent      `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	FlowProject      *event.Project         `protobuf:"bytes,2,opt,name=flow_project,json=flowProject,proto3" json:"flow_project,omitempty"`
	Entrypoint       string                 `protobuf:"bytes,3,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	Modules          []*ModuleSource        `protobuf:"bytes,4,rep,name=modules,proto3" json:"modules,omitempty"`
	Handler          uint32                 `protobuf:"varint,5,opt,name=handler,proto3" json:"handler,omitempty"`
	WorkflowIdPrefix string                 `protobuf:"bytes,6,opt,name=workflow_id_prefix,json=workflowIdPrefix,proto3" json:"workflow_id_prefix,omitempty"`
	Variables        map[string]string      `protobuf:"bytes,7,rep,name=variables,proto3" json:"variables,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*RunEventHandlerWorkflowInput) ProtoMessage() {}

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

func (x *RunEventHandlerWorkflowInput) GetEvent() *event.CloudEvent {
	if x != nil {
		return x.Event
	}
	return nil
}

func (x *RunEventHandlerWorkflowInput) GetFlowProject() *event.Project {
	if x != nil {
		return x.FlowProject
	}
	return nil
}

func (x *RunEventHandlerWorkflowInput) GetEntrypoint() string {
	if x != nil {
		return x.Entrypoint
	}
	return ""
}

func (x *RunEventHandlerWorkflowInput) GetModules() []*ModuleSource {
	if x != nil {
		return x.Modules
	}
	return nil
}

func (x *RunEventHandlerWorkflowInput) GetHandler() uint32 {
	if x != nil {
		return x.Handler
	}
	return 0
}

func (x *RunEventHandlerWorkflowInput) GetWorkflowIdPrefix() string {
	if x != nil {
		return x.WorkflowIdPrefix
	}
	return ""
}

func (x *RunEventHandlerWorkflowInput) GetVariables() map[string]string {
	if x != nil {
		return x.Variables
	}
	return nil
}

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

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

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

func (*RunEventHandlerWorkflowOutput) ProtoMessage() {}

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

type LoadAllEventHandlersActivityInput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Event         *event.CloudEvent      `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	FlowProject   *event.Project         `protobuf:"bytes,2,opt,name=flow_project,json=flowProject,proto3" json:"flow_project,omitempty"`
	Entrypoint    string                 `protobuf:"bytes,3,opt,name=entrypoint,proto3" json:"entrypoint,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*LoadAllEventHandlersActivityInput) ProtoMessage() {}

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

func (x *LoadAllEventHandlersActivityInput) GetEvent() *event.CloudEvent {
	if x != nil {
		return x.Event
	}
	return nil
}

func (x *LoadAllEventHandlersActivityInput) GetFlowProject() *event.Project {
	if x != nil {
		return x.FlowProject
	}
	return nil
}

func (x *LoadAllEventHandlersActivityInput) GetEntrypoint() string {
	if x != nil {
		return x.Entrypoint
	}
	return ""
}

type LoadAllEventHandlersActivityOutput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Handlers      []*HandlerInfo         `protobuf:"bytes,1,rep,name=handlers,proto3" json:"handlers,omitempty"`
	Modules       []*ModuleSource        `protobuf:"bytes,2,rep,name=modules,proto3" json:"modules,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*LoadAllEventHandlersActivityOutput) ProtoMessage() {}

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

func (x *LoadAllEventHandlersActivityOutput) GetHandlers() []*HandlerInfo {
	if x != nil {
		return x.Handlers
	}
	return nil
}

func (x *LoadAllEventHandlersActivityOutput) GetModules() []*ModuleSource {
	if x != nil {
		return x.Modules
	}
	return nil
}

type HttpDoActivityInput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Method        string                 `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
	Url           string                 `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	Header        map[string]*Values     `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Body          []byte                 `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HttpDoActivityInput) Reset() {
	*x = HttpDoActivityInput{}
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*HttpDoActivityInput) ProtoMessage() {}

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

func (x *HttpDoActivityInput) GetMethod() string {
	if x != nil {
		return x.Method
	}
	return ""
}

func (x *HttpDoActivityInput) GetUrl() string {
	if x != nil {
		return x.Url
	}
	return ""
}

func (x *HttpDoActivityInput) GetHeader() map[string]*Values {
	if x != nil {
		return x.Header
	}
	return nil
}

func (x *HttpDoActivityInput) GetBody() []byte {
	if x != nil {
		return x.Body
	}
	return nil
}

type HttpDoActivityOutput struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	StatusCode    uint32                 `protobuf:"varint,1,opt,name=status_code,json=statusCode,proto3" json:"status_code,omitempty"`
	Status        string                 `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Header        map[string]*Values     `protobuf:"bytes,3,rep,name=header,proto3" json:"header,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"bytes,2,opt,name=value"`
	Body          []byte                 `protobuf:"bytes,4,opt,name=body,proto3" json:"body,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HttpDoActivityOutput) Reset() {
	*x = HttpDoActivityOutput{}
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*HttpDoActivityOutput) ProtoMessage() {}

func (x *HttpDoActivityOutput) ProtoReflect() protoreflect.Message {
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[8]
	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 HttpDoActivityOutput.ProtoReflect.Descriptor instead.
func (*HttpDoActivityOutput) Descriptor() ([]byte, []int) {
	return file_internal_module_autoflow_engine_engine_proto_rawDescGZIP(), []int{8}
}

func (x *HttpDoActivityOutput) GetStatusCode() uint32 {
	if x != nil {
		return x.StatusCode
	}
	return 0
}

func (x *HttpDoActivityOutput) GetStatus() string {
	if x != nil {
		return x.Status
	}
	return ""
}

func (x *HttpDoActivityOutput) GetHeader() map[string]*Values {
	if x != nil {
		return x.Header
	}
	return nil
}

func (x *HttpDoActivityOutput) GetBody() []byte {
	if x != nil {
		return x.Body
	}
	return nil
}

type ModuleSource struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	SourceName    string                 `protobuf:"bytes,1,opt,name=source_name,json=sourceName,proto3" json:"source_name,omitempty"`
	File          string                 `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
	Data          []byte                 `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *ModuleSource) Reset() {
	*x = ModuleSource{}
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[9]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*ModuleSource) ProtoMessage() {}

func (x *ModuleSource) ProtoReflect() protoreflect.Message {
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[9]
	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 ModuleSource.ProtoReflect.Descriptor instead.
func (*ModuleSource) Descriptor() ([]byte, []int) {
	return file_internal_module_autoflow_engine_engine_proto_rawDescGZIP(), []int{9}
}

func (x *ModuleSource) GetSourceName() string {
	if x != nil {
		return x.SourceName
	}
	return ""
}

func (x *ModuleSource) GetFile() string {
	if x != nil {
		return x.File
	}
	return ""
}

func (x *ModuleSource) GetData() []byte {
	if x != nil {
		return x.Data
	}
	return nil
}

type HandlerInfo struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	WorkflowId    string                 `protobuf:"bytes,1,opt,name=workflow_id,json=workflowId,proto3" json:"workflow_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *HandlerInfo) Reset() {
	*x = HandlerInfo{}
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[10]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*HandlerInfo) ProtoMessage() {}

func (x *HandlerInfo) ProtoReflect() protoreflect.Message {
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[10]
	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 HandlerInfo.ProtoReflect.Descriptor instead.
func (*HandlerInfo) Descriptor() ([]byte, []int) {
	return file_internal_module_autoflow_engine_engine_proto_rawDescGZIP(), []int{10}
}

func (x *HandlerInfo) GetWorkflowId() string {
	if x != nil {
		return x.WorkflowId
	}
	return ""
}

type SignalPayload struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Payload       string                 `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SignalPayload) Reset() {
	*x = SignalPayload{}
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[11]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SignalPayload) ProtoMessage() {}

func (x *SignalPayload) ProtoReflect() protoreflect.Message {
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[11]
	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 SignalPayload.ProtoReflect.Descriptor instead.
func (*SignalPayload) Descriptor() ([]byte, []int) {
	return file_internal_module_autoflow_engine_engine_proto_rawDescGZIP(), []int{11}
}

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

type Values struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Value         []string               `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *Values) Reset() {
	*x = Values{}
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[12]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*Values) ProtoMessage() {}

func (x *Values) ProtoReflect() protoreflect.Message {
	mi := &file_internal_module_autoflow_engine_engine_proto_msgTypes[12]
	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 Values.ProtoReflect.Descriptor instead.
func (*Values) Descriptor() ([]byte, []int) {
	return file_internal_module_autoflow_engine_engine_proto_rawDescGZIP(), []int{12}
}

func (x *Values) GetValue() []string {
	if x != nil {
		return x.Value
	}
	return nil
}

var File_internal_module_autoflow_engine_engine_proto protoreflect.FileDescriptor

const file_internal_module_autoflow_engine_engine_proto_rawDesc = "" +
	"\n" +
	",internal/module/autoflow/engine/engine.proto\x12\x1cgitlab.agent.autoflow.engine\x1a\x15pkg/event/event.proto\"\xa7\x02\n" +
	"\x12HandleEventRequest\x124\n" +
	"\x05event\x18\x01 \x01(\v2\x1e.gitlab.agent.event.CloudEventR\x05event\x12>\n" +
	"\fflow_project\x18\x02 \x01(\v2\x1b.gitlab.agent.event.ProjectR\vflowProject\x12]\n" +
	"\tvariables\x18\x03 \x03(\v2?.gitlab.agent.autoflow.engine.HandleEventRequest.VariablesEntryR\tvariables\x1a<\n" +
	"\x0eVariablesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\xd3\x02\n" +
	"\x18HandleEventWorkflowInput\x124\n" +
	"\x05event\x18\x01 \x01(\v2\x1e.gitlab.agent.event.CloudEventR\x05event\x12>\n" +
	"\fflow_project\x18\x02 \x01(\v2\x1b.gitlab.agent.event.ProjectR\vflowProject\x12\x1e\n" +
	"\n" +
	"entrypoint\x18\x03 \x01(\tR\n" +
	"entrypoint\x12c\n" +
	"\tvariables\x18\x04 \x03(\v2E.gitlab.agent.autoflow.engine.HandleEventWorkflowInput.VariablesEntryR\tvariables\x1a<\n" +
	"\x0eVariablesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x1b\n" +
	"\x19HandleEventWorkflowOutput\"\xe9\x03\n" +
	"\x1cRunEventHandlerWorkflowInput\x124\n" +
	"\x05event\x18\x01 \x01(\v2\x1e.gitlab.agent.event.CloudEventR\x05event\x12>\n" +
	"\fflow_project\x18\x02 \x01(\v2\x1b.gitlab.agent.event.ProjectR\vflowProject\x12\x1e\n" +
	"\n" +
	"entrypoint\x18\x03 \x01(\tR\n" +
	"entrypoint\x12D\n" +
	"\amodules\x18\x04 \x03(\v2*.gitlab.agent.autoflow.engine.ModuleSourceR\amodules\x12\x18\n" +
	"\ahandler\x18\x05 \x01(\rR\ahandler\x12,\n" +
	"\x12workflow_id_prefix\x18\x06 \x01(\tR\x10workflowIdPrefix\x12g\n" +
	"\tvariables\x18\a \x03(\v2I.gitlab.agent.autoflow.engine.RunEventHandlerWorkflowInput.VariablesEntryR\tvariables\x1a<\n" +
	"\x0eVariablesEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\tR\x05value:\x028\x01\"\x1f\n" +
	"\x1dRunEventHandlerWorkflowOutput\"\xb9\x01\n" +
	"!LoadAllEventHandlersActivityInput\x124\n" +
	"\x05event\x18\x01 \x01(\v2\x1e.gitlab.agent.event.CloudEventR\x05event\x12>\n" +
	"\fflow_project\x18\x02 \x01(\v2\x1b.gitlab.agent.event.ProjectR\vflowProject\x12\x1e\n" +
	"\n" +
	"entrypoint\x18\x03 \x01(\tR\n" +
	"entrypoint\"\xb1\x01\n" +
	"\"LoadAllEventHandlersActivityOutput\x12E\n" +
	"\bhandlers\x18\x01 \x03(\v2).gitlab.agent.autoflow.engine.HandlerInfoR\bhandlers\x12D\n" +
	"\amodules\x18\x02 \x03(\v2*.gitlab.agent.autoflow.engine.ModuleSourceR\amodules\"\x8b\x02\n" +
	"\x13HttpDoActivityInput\x12\x16\n" +
	"\x06method\x18\x01 \x01(\tR\x06method\x12\x10\n" +
	"\x03url\x18\x02 \x01(\tR\x03url\x12U\n" +
	"\x06header\x18\x03 \x03(\v2=.gitlab.agent.autoflow.engine.HttpDoActivityInput.HeaderEntryR\x06header\x12\x12\n" +
	"\x04body\x18\x04 \x01(\fR\x04body\x1a_\n" +
	"\vHeaderEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12:\n" +
	"\x05value\x18\x02 \x01(\v2$.gitlab.agent.autoflow.engine.ValuesR\x05value:\x028\x01\"\x9c\x02\n" +
	"\x14HttpDoActivityOutput\x12\x1f\n" +
	"\vstatus_code\x18\x01 \x01(\rR\n" +
	"statusCode\x12\x16\n" +
	"\x06status\x18\x02 \x01(\tR\x06status\x12V\n" +
	"\x06header\x18\x03 \x03(\v2>.gitlab.agent.autoflow.engine.HttpDoActivityOutput.HeaderEntryR\x06header\x12\x12\n" +
	"\x04body\x18\x04 \x01(\fR\x04body\x1a_\n" +
	"\vHeaderEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12:\n" +
	"\x05value\x18\x02 \x01(\v2$.gitlab.agent.autoflow.engine.ValuesR\x05value:\x028\x01\"W\n" +
	"\fModuleSource\x12\x1f\n" +
	"\vsource_name\x18\x01 \x01(\tR\n" +
	"sourceName\x12\x12\n" +
	"\x04file\x18\x02 \x01(\tR\x04file\x12\x12\n" +
	"\x04data\x18\x03 \x01(\fR\x04data\".\n" +
	"\vHandlerInfo\x12\x1f\n" +
	"\vworkflow_id\x18\x01 \x01(\tR\n" +
	"workflowId\")\n" +
	"\rSignalPayload\x12\x18\n" +
	"\apayload\x18\x01 \x01(\tR\apayload\"\x1e\n" +
	"\x06Values\x12\x14\n" +
	"\x05value\x18\x01 \x03(\tR\x05valueB\\ZZgitlab.com/gitlab-org/cluster-integration/gitlab-agent/v18/internal/module/autoflow/engineb\x06proto3"

var (
	file_internal_module_autoflow_engine_engine_proto_rawDescOnce sync.Once
	file_internal_module_autoflow_engine_engine_proto_rawDescData []byte
)

func file_internal_module_autoflow_engine_engine_proto_rawDescGZIP() []byte {
	file_internal_module_autoflow_engine_engine_proto_rawDescOnce.Do(func() {
		file_internal_module_autoflow_engine_engine_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_internal_module_autoflow_engine_engine_proto_rawDesc), len(file_internal_module_autoflow_engine_engine_proto_rawDesc)))
	})
	return file_internal_module_autoflow_engine_engine_proto_rawDescData
}

var file_internal_module_autoflow_engine_engine_proto_msgTypes = make([]protoimpl.MessageInfo, 18)
var file_internal_module_autoflow_engine_engine_proto_goTypes = []any{
	(*HandleEventRequest)(nil),                 // 0: gitlab.agent.autoflow.engine.HandleEventRequest
	(*HandleEventWorkflowInput)(nil),           // 1: gitlab.agent.autoflow.engine.HandleEventWorkflowInput
	(*HandleEventWorkflowOutput)(nil),          // 2: gitlab.agent.autoflow.engine.HandleEventWorkflowOutput
	(*RunEventHandlerWorkflowInput)(nil),       // 3: gitlab.agent.autoflow.engine.RunEventHandlerWorkflowInput
	(*RunEventHandlerWorkflowOutput)(nil),      // 4: gitlab.agent.autoflow.engine.RunEventHandlerWorkflowOutput
	(*LoadAllEventHandlersActivityInput)(nil),  // 5: gitlab.agent.autoflow.engine.LoadAllEventHandlersActivityInput
	(*LoadAllEventHandlersActivityOutput)(nil), // 6: gitlab.agent.autoflow.engine.LoadAllEventHandlersActivityOutput
	(*HttpDoActivityInput)(nil),                // 7: gitlab.agent.autoflow.engine.HttpDoActivityInput
	(*HttpDoActivityOutput)(nil),               // 8: gitlab.agent.autoflow.engine.HttpDoActivityOutput
	(*ModuleSource)(nil),                       // 9: gitlab.agent.autoflow.engine.ModuleSource
	(*HandlerInfo)(nil),                        // 10: gitlab.agent.autoflow.engine.HandlerInfo
	(*SignalPayload)(nil),                      // 11: gitlab.agent.autoflow.engine.SignalPayload
	(*Values)(nil),                             // 12: gitlab.agent.autoflow.engine.Values
	nil,                                        // 13: gitlab.agent.autoflow.engine.HandleEventRequest.VariablesEntry
	nil,                                        // 14: gitlab.agent.autoflow.engine.HandleEventWorkflowInput.VariablesEntry
	nil,                                        // 15: gitlab.agent.autoflow.engine.RunEventHandlerWorkflowInput.VariablesEntry
	nil,                                        // 16: gitlab.agent.autoflow.engine.HttpDoActivityInput.HeaderEntry
	nil,                                        // 17: gitlab.agent.autoflow.engine.HttpDoActivityOutput.HeaderEntry
	(*event.CloudEvent)(nil),                   // 18: gitlab.agent.event.CloudEvent
	(*event.Project)(nil),                      // 19: gitlab.agent.event.Project
}
var file_internal_module_autoflow_engine_engine_proto_depIdxs = []int32{
	18, // 0: gitlab.agent.autoflow.engine.HandleEventRequest.event:type_name -> gitlab.agent.event.CloudEvent
	19, // 1: gitlab.agent.autoflow.engine.HandleEventRequest.flow_project:type_name -> gitlab.agent.event.Project
	13, // 2: gitlab.agent.autoflow.engine.HandleEventRequest.variables:type_name -> gitlab.agent.autoflow.engine.HandleEventRequest.VariablesEntry
	18, // 3: gitlab.agent.autoflow.engine.HandleEventWorkflowInput.event:type_name -> gitlab.agent.event.CloudEvent
	19, // 4: gitlab.agent.autoflow.engine.HandleEventWorkflowInput.flow_project:type_name -> gitlab.agent.event.Project
	14, // 5: gitlab.agent.autoflow.engine.HandleEventWorkflowInput.variables:type_name -> gitlab.agent.autoflow.engine.HandleEventWorkflowInput.VariablesEntry
	18, // 6: gitlab.agent.autoflow.engine.RunEventHandlerWorkflowInput.event:type_name -> gitlab.agent.event.CloudEvent
	19, // 7: gitlab.agent.autoflow.engine.RunEventHandlerWorkflowInput.flow_project:type_name -> gitlab.agent.event.Project
	9,  // 8: gitlab.agent.autoflow.engine.RunEventHandlerWorkflowInput.modules:type_name -> gitlab.agent.autoflow.engine.ModuleSource
	15, // 9: gitlab.agent.autoflow.engine.RunEventHandlerWorkflowInput.variables:type_name -> gitlab.agent.autoflow.engine.RunEventHandlerWorkflowInput.VariablesEntry
	18, // 10: gitlab.agent.autoflow.engine.LoadAllEventHandlersActivityInput.event:type_name -> gitlab.agent.event.CloudEvent
	19, // 11: gitlab.agent.autoflow.engine.LoadAllEventHandlersActivityInput.flow_project:type_name -> gitlab.agent.event.Project
	10, // 12: gitlab.agent.autoflow.engine.LoadAllEventHandlersActivityOutput.handlers:type_name -> gitlab.agent.autoflow.engine.HandlerInfo
	9,  // 13: gitlab.agent.autoflow.engine.LoadAllEventHandlersActivityOutput.modules:type_name -> gitlab.agent.autoflow.engine.ModuleSource
	16, // 14: gitlab.agent.autoflow.engine.HttpDoActivityInput.header:type_name -> gitlab.agent.autoflow.engine.HttpDoActivityInput.HeaderEntry
	17, // 15: gitlab.agent.autoflow.engine.HttpDoActivityOutput.header:type_name -> gitlab.agent.autoflow.engine.HttpDoActivityOutput.HeaderEntry
	12, // 16: gitlab.agent.autoflow.engine.HttpDoActivityInput.HeaderEntry.value:type_name -> gitlab.agent.autoflow.engine.Values
	12, // 17: gitlab.agent.autoflow.engine.HttpDoActivityOutput.HeaderEntry.value:type_name -> gitlab.agent.autoflow.engine.Values
	18, // [18:18] is the sub-list for method output_type
	18, // [18:18] is the sub-list for method input_type
	18, // [18:18] is the sub-list for extension type_name
	18, // [18:18] is the sub-list for extension extendee
	0,  // [0:18] is the sub-list for field type_name
}

func init() { file_internal_module_autoflow_engine_engine_proto_init() }
func file_internal_module_autoflow_engine_engine_proto_init() {
	if File_internal_module_autoflow_engine_engine_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_internal_module_autoflow_engine_engine_proto_rawDesc), len(file_internal_module_autoflow_engine_engine_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   18,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_internal_module_autoflow_engine_engine_proto_goTypes,
		DependencyIndexes: file_internal_module_autoflow_engine_engine_proto_depIdxs,
		MessageInfos:      file_internal_module_autoflow_engine_engine_proto_msgTypes,
	}.Build()
	File_internal_module_autoflow_engine_engine_proto = out.File
	file_internal_module_autoflow_engine_engine_proto_goTypes = nil
	file_internal_module_autoflow_engine_engine_proto_depIdxs = nil
}
