// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.34.2
// 	protoc        (unknown)
// source: executor/v1/resources.proto

package executorv1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

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 ActionArg struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Types that are assignable to Arg:
	//
	//	*ActionArg_ActionArgString
	//	*ActionArg_ActionArgInt
	Arg isActionArg_Arg `protobuf_oneof:"arg"`
}

func (x *ActionArg) Reset() {
	*x = ActionArg{}
	if protoimpl.UnsafeEnabled {
		mi := &file_executor_v1_resources_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*ActionArg) ProtoMessage() {}

func (x *ActionArg) ProtoReflect() protoreflect.Message {
	mi := &file_executor_v1_resources_proto_msgTypes[0]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ActionArg.ProtoReflect.Descriptor instead.
func (*ActionArg) Descriptor() ([]byte, []int) {
	return file_executor_v1_resources_proto_rawDescGZIP(), []int{0}
}

func (m *ActionArg) GetArg() isActionArg_Arg {
	if m != nil {
		return m.Arg
	}
	return nil
}

func (x *ActionArg) GetActionArgString() string {
	if x, ok := x.GetArg().(*ActionArg_ActionArgString); ok {
		return x.ActionArgString
	}
	return ""
}

func (x *ActionArg) GetActionArgInt() int64 {
	if x, ok := x.GetArg().(*ActionArg_ActionArgInt); ok {
		return x.ActionArgInt
	}
	return 0
}

type isActionArg_Arg interface {
	isActionArg_Arg()
}

type ActionArg_ActionArgString struct {
	ActionArgString string `protobuf:"bytes,1,opt,name=action_arg_string,json=actionArgString,proto3,oneof"`
}

type ActionArg_ActionArgInt struct {
	ActionArgInt int64 `protobuf:"varint,2,opt,name=action_arg_int,json=actionArgInt,proto3,oneof"`
}

func (*ActionArg_ActionArgString) isActionArg_Arg() {}

func (*ActionArg_ActionArgInt) isActionArg_Arg() {}

type ExecutorTask struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	RootName string                `protobuf:"bytes,1,opt,name=root_name,json=rootName,proto3" json:"root_name,omitempty"`
	ExecId   string                `protobuf:"bytes,2,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"`
	Args     map[string]*ActionArg `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}

func (x *ExecutorTask) Reset() {
	*x = ExecutorTask{}
	if protoimpl.UnsafeEnabled {
		mi := &file_executor_v1_resources_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*ExecutorTask) ProtoMessage() {}

func (x *ExecutorTask) ProtoReflect() protoreflect.Message {
	mi := &file_executor_v1_resources_proto_msgTypes[1]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExecutorTask.ProtoReflect.Descriptor instead.
func (*ExecutorTask) Descriptor() ([]byte, []int) {
	return file_executor_v1_resources_proto_rawDescGZIP(), []int{1}
}

func (x *ExecutorTask) GetRootName() string {
	if x != nil {
		return x.RootName
	}
	return ""
}

func (x *ExecutorTask) GetExecId() string {
	if x != nil {
		return x.ExecId
	}
	return ""
}

func (x *ExecutorTask) GetArgs() map[string]*ActionArg {
	if x != nil {
		return x.Args
	}
	return nil
}

type ExecTaskStatusEx struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	State    string        `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	ExecTask *ExecutorTask `protobuf:"bytes,2,opt,name=exec_task,json=execTask,proto3" json:"exec_task,omitempty"`
}

func (x *ExecTaskStatusEx) Reset() {
	*x = ExecTaskStatusEx{}
	if protoimpl.UnsafeEnabled {
		mi := &file_executor_v1_resources_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*ExecTaskStatusEx) ProtoMessage() {}

func (x *ExecTaskStatusEx) ProtoReflect() protoreflect.Message {
	mi := &file_executor_v1_resources_proto_msgTypes[2]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use ExecTaskStatusEx.ProtoReflect.Descriptor instead.
func (*ExecTaskStatusEx) Descriptor() ([]byte, []int) {
	return file_executor_v1_resources_proto_rawDescGZIP(), []int{2}
}

func (x *ExecTaskStatusEx) GetState() string {
	if x != nil {
		return x.State
	}
	return ""
}

func (x *ExecTaskStatusEx) GetExecTask() *ExecutorTask {
	if x != nil {
		return x.ExecTask
	}
	return nil
}

// MatchArgValues is a list of acceptable values for a single match key.
// When filtering, the task's arg value (or any of its comma-separated parts)
// must match one of the values in this list.
type MatchArgValues struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Values []string `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
}

func (x *MatchArgValues) Reset() {
	*x = MatchArgValues{}
	if protoimpl.UnsafeEnabled {
		mi := &file_executor_v1_resources_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*MatchArgValues) ProtoMessage() {}

func (x *MatchArgValues) ProtoReflect() protoreflect.Message {
	mi := &file_executor_v1_resources_proto_msgTypes[3]
	if protoimpl.UnsafeEnabled && x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use MatchArgValues.ProtoReflect.Descriptor instead.
func (*MatchArgValues) Descriptor() ([]byte, []int) {
	return file_executor_v1_resources_proto_rawDescGZIP(), []int{3}
}

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

var File_executor_v1_resources_proto protoreflect.FileDescriptor

var file_executor_v1_resources_proto_rawDesc = []byte{
	0x0a, 0x1b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65,
	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x65,
	0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x22, 0x68, 0x0a, 0x09, 0x41, 0x63,
	0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x12, 0x2c, 0x0a, 0x11, 0x61, 0x63, 0x74, 0x69, 0x6f,
	0x6e, 0x5f, 0x61, 0x72, 0x67, 0x5f, 0x73, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x09, 0x48, 0x00, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x53,
	0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x26, 0x0a, 0x0e, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
	0x61, 0x72, 0x67, 0x5f, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x48, 0x00, 0x52,
	0x0c, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x49, 0x6e, 0x74, 0x42, 0x05, 0x0a,
	0x03, 0x61, 0x72, 0x67, 0x22, 0xce, 0x01, 0x0a, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f,
	0x72, 0x54, 0x61, 0x73, 0x6b, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x6f, 0x6f, 0x74, 0x5f, 0x6e, 0x61,
	0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x6f, 0x6f, 0x74, 0x4e, 0x61,
	0x6d, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
	0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x78, 0x65, 0x63, 0x49, 0x64, 0x12, 0x37, 0x0a, 0x04, 0x61,
	0x72, 0x67, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x65, 0x78, 0x65, 0x63,
	0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72,
	0x54, 0x61, 0x73, 0x6b, 0x2e, 0x41, 0x72, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x04,
	0x61, 0x72, 0x67, 0x73, 0x1a, 0x4f, 0x0a, 0x09, 0x41, 0x72, 0x67, 0x73, 0x45, 0x6e, 0x74, 0x72,
	0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03,
	0x6b, 0x65, 0x79, 0x12, 0x2c, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x0b, 0x32, 0x16, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31,
	0x2e, 0x41, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x41, 0x72, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
	0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x60, 0x0a, 0x10, 0x45, 0x78, 0x65, 0x63, 0x54, 0x61, 0x73,
	0x6b, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x45, 0x78, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61,
	0x74, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12,
	0x36, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01,
	0x28, 0x0b, 0x32, 0x19, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x76, 0x31,
	0x2e, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x54, 0x61, 0x73, 0x6b, 0x52, 0x08, 0x65,
	0x78, 0x65, 0x63, 0x54, 0x61, 0x73, 0x6b, 0x22, 0x28, 0x0a, 0x0e, 0x4d, 0x61, 0x74, 0x63, 0x68,
	0x41, 0x72, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x61, 0x6c,
	0x75, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65,
	0x73, 0x42, 0xb2, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74,
	0x6f, 0x72, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e,
	0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x69, 0x64, 0x62, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x63, 0x6c,
	0x75, 0x73, 0x74, 0x65, 0x72, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d, 0x6e, 0x67,
	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2f, 0x76, 0x31,
	0x3b, 0x65, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x45, 0x58,
	0x58, 0xaa, 0x02, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x2e, 0x56, 0x31, 0xca,
	0x02, 0x0b, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x17,
	0x45, 0x78, 0x65, 0x63, 0x75, 0x74, 0x6f, 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d,
	0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x45, 0x78, 0x65, 0x63, 0x75, 0x74,
	0x6f, 0x72, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_executor_v1_resources_proto_rawDescOnce sync.Once
	file_executor_v1_resources_proto_rawDescData = file_executor_v1_resources_proto_rawDesc
)

func file_executor_v1_resources_proto_rawDescGZIP() []byte {
	file_executor_v1_resources_proto_rawDescOnce.Do(func() {
		file_executor_v1_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_executor_v1_resources_proto_rawDescData)
	})
	return file_executor_v1_resources_proto_rawDescData
}

var file_executor_v1_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_executor_v1_resources_proto_goTypes = []any{
	(*ActionArg)(nil),        // 0: executor.v1.ActionArg
	(*ExecutorTask)(nil),     // 1: executor.v1.ExecutorTask
	(*ExecTaskStatusEx)(nil), // 2: executor.v1.ExecTaskStatusEx
	(*MatchArgValues)(nil),   // 3: executor.v1.MatchArgValues
	nil,                      // 4: executor.v1.ExecutorTask.ArgsEntry
}
var file_executor_v1_resources_proto_depIdxs = []int32{
	4, // 0: executor.v1.ExecutorTask.args:type_name -> executor.v1.ExecutorTask.ArgsEntry
	1, // 1: executor.v1.ExecTaskStatusEx.exec_task:type_name -> executor.v1.ExecutorTask
	0, // 2: executor.v1.ExecutorTask.ArgsEntry.value:type_name -> executor.v1.ActionArg
	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_executor_v1_resources_proto_init() }
func file_executor_v1_resources_proto_init() {
	if File_executor_v1_resources_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_executor_v1_resources_proto_msgTypes[0].Exporter = func(v any, i int) any {
			switch v := v.(*ActionArg); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_executor_v1_resources_proto_msgTypes[1].Exporter = func(v any, i int) any {
			switch v := v.(*ExecutorTask); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_executor_v1_resources_proto_msgTypes[2].Exporter = func(v any, i int) any {
			switch v := v.(*ExecTaskStatusEx); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_executor_v1_resources_proto_msgTypes[3].Exporter = func(v any, i int) any {
			switch v := v.(*MatchArgValues); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_executor_v1_resources_proto_msgTypes[0].OneofWrappers = []any{
		(*ActionArg_ActionArgString)(nil),
		(*ActionArg_ActionArgInt)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_executor_v1_resources_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_executor_v1_resources_proto_goTypes,
		DependencyIndexes: file_executor_v1_resources_proto_depIdxs,
		MessageInfos:      file_executor_v1_resources_proto_msgTypes,
	}.Build()
	File_executor_v1_resources_proto = out.File
	file_executor_v1_resources_proto_rawDesc = nil
	file_executor_v1_resources_proto_goTypes = nil
	file_executor_v1_resources_proto_depIdxs = nil
}
