// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: ar/v1/helper.proto

package arv1

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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 HelperType int32

const (
	HelperType_HELPER_TYPE_UNSPECIFIED HelperType = 0
	HelperType_HELPER_TYPE_PROXIMITY   HelperType = 10
	HelperType_HELPER_TYPE_STATIONARY  HelperType = 11
	HelperType_HELPER_TYPE_TIMER       HelperType = 21
	HelperType_HELPER_TYPE_AND         HelperType = 100
	HelperType_HELPER_TYPE_OR          HelperType = 101
	HelperType_HELPER_TYPE_NOT         HelperType = 102
)

// Enum value maps for HelperType.
var (
	HelperType_name = map[int32]string{
		0:   "HELPER_TYPE_UNSPECIFIED",
		10:  "HELPER_TYPE_PROXIMITY",
		11:  "HELPER_TYPE_STATIONARY",
		21:  "HELPER_TYPE_TIMER",
		100: "HELPER_TYPE_AND",
		101: "HELPER_TYPE_OR",
		102: "HELPER_TYPE_NOT",
	}
	HelperType_value = map[string]int32{
		"HELPER_TYPE_UNSPECIFIED": 0,
		"HELPER_TYPE_PROXIMITY":   10,
		"HELPER_TYPE_STATIONARY":  11,
		"HELPER_TYPE_TIMER":       21,
		"HELPER_TYPE_AND":         100,
		"HELPER_TYPE_OR":          101,
		"HELPER_TYPE_NOT":         102,
	}
)

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

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

func (HelperType) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_helper_proto_enumTypes[0].Descriptor()
}

func (HelperType) Type() protoreflect.EnumType {
	return &file_ar_v1_helper_proto_enumTypes[0]
}

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

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

type HelperMessage 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"`
	Icon             string                 `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	Description      string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Type             HelperType             `protobuf:"varint,5,opt,name=type,proto3,enum=ar.v1.HelperType" json:"type,omitempty"`
	Properties       []*Property            `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"`
	OutputProperties []*Property            `protobuf:"bytes,7,rep,name=output_properties,json=outputProperties,proto3" json:"output_properties,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*HelperMessage) ProtoMessage() {}

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

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

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

func (x *HelperMessage) GetIcon() string {
	if x != nil {
		return x.Icon
	}
	return ""
}

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

func (x *HelperMessage) GetType() HelperType {
	if x != nil {
		return x.Type
	}
	return HelperType_HELPER_TYPE_UNSPECIFIED
}

func (x *HelperMessage) GetProperties() []*Property {
	if x != nil {
		return x.Properties
	}
	return nil
}

func (x *HelperMessage) GetOutputProperties() []*Property {
	if x != nil {
		return x.OutputProperties
	}
	return nil
}

type HelperMessages struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Helpers       []*HelperMessage       `protobuf:"bytes,1,rep,name=helpers,proto3" json:"helpers,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HelperMessages) ProtoMessage() {}

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

func (x *HelperMessages) GetHelpers() []*HelperMessage {
	if x != nil {
		return x.Helpers
	}
	return nil
}

var File_ar_v1_helper_proto protoreflect.FileDescriptor

const file_ar_v1_helper_proto_rawDesc = "" +
	"\n" +
	"\x12ar/v1/helper.proto\x12\x05ar.v1\x1a\x14ar/v1/property.proto\"\xff\x01\n" +
	"\rHelperMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12\x12\n" +
	"\x04icon\x18\x03 \x01(\tR\x04icon\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12%\n" +
	"\x04type\x18\x05 \x01(\x0e2\x11.ar.v1.HelperTypeR\x04type\x12/\n" +
	"\n" +
	"properties\x18\x06 \x03(\v2\x0f.ar.v1.PropertyR\n" +
	"properties\x12<\n" +
	"\x11output_properties\x18\a \x03(\v2\x0f.ar.v1.PropertyR\x10outputProperties\"@\n" +
	"\x0eHelperMessages\x12.\n" +
	"\ahelpers\x18\x01 \x03(\v2\x14.ar.v1.HelperMessageR\ahelpers*\xb5\x01\n" +
	"\n" +
	"HelperType\x12\x1b\n" +
	"\x17HELPER_TYPE_UNSPECIFIED\x10\x00\x12\x19\n" +
	"\x15HELPER_TYPE_PROXIMITY\x10\n" +
	"\x12\x1a\n" +
	"\x16HELPER_TYPE_STATIONARY\x10\v\x12\x15\n" +
	"\x11HELPER_TYPE_TIMER\x10\x15\x12\x13\n" +
	"\x0fHELPER_TYPE_AND\x10d\x12\x12\n" +
	"\x0eHELPER_TYPE_OR\x10e\x12\x13\n" +
	"\x0fHELPER_TYPE_NOT\x10fB\x87\x01\n" +
	"\tcom.ar.v1B\vHelperProtoP\x01Z/github.com/cobotar/protocol/messages/ar/v1;arv1\xa2\x02\x03AXX\xaa\x02\x0eMessages.AR.V1\xca\x02\x05Ar\\V1\xe2\x02\x11Ar\\V1\\GPBMetadata\xea\x02\x06Ar::V1b\x06proto3"

var (
	file_ar_v1_helper_proto_rawDescOnce sync.Once
	file_ar_v1_helper_proto_rawDescData []byte
)

func file_ar_v1_helper_proto_rawDescGZIP() []byte {
	file_ar_v1_helper_proto_rawDescOnce.Do(func() {
		file_ar_v1_helper_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_helper_proto_rawDesc), len(file_ar_v1_helper_proto_rawDesc)))
	})
	return file_ar_v1_helper_proto_rawDescData
}

var file_ar_v1_helper_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_ar_v1_helper_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_ar_v1_helper_proto_goTypes = []any{
	(HelperType)(0),        // 0: ar.v1.HelperType
	(*HelperMessage)(nil),  // 1: ar.v1.HelperMessage
	(*HelperMessages)(nil), // 2: ar.v1.HelperMessages
	(*Property)(nil),       // 3: ar.v1.Property
}
var file_ar_v1_helper_proto_depIdxs = []int32{
	0, // 0: ar.v1.HelperMessage.type:type_name -> ar.v1.HelperType
	3, // 1: ar.v1.HelperMessage.properties:type_name -> ar.v1.Property
	3, // 2: ar.v1.HelperMessage.output_properties:type_name -> ar.v1.Property
	1, // 3: ar.v1.HelperMessages.helpers:type_name -> ar.v1.HelperMessage
	4, // [4:4] is the sub-list for method output_type
	4, // [4:4] is the sub-list for method input_type
	4, // [4:4] is the sub-list for extension type_name
	4, // [4:4] is the sub-list for extension extendee
	0, // [0:4] is the sub-list for field type_name
}

func init() { file_ar_v1_helper_proto_init() }
func file_ar_v1_helper_proto_init() {
	if File_ar_v1_helper_proto != nil {
		return
	}
	file_ar_v1_property_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ar_v1_helper_proto_rawDesc), len(file_ar_v1_helper_proto_rawDesc)),
			NumEnums:      1,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_helper_proto_goTypes,
		DependencyIndexes: file_ar_v1_helper_proto_depIdxs,
		EnumInfos:         file_ar_v1_helper_proto_enumTypes,
		MessageInfos:      file_ar_v1_helper_proto_msgTypes,
	}.Build()
	File_ar_v1_helper_proto = out.File
	file_ar_v1_helper_proto_goTypes = nil
	file_ar_v1_helper_proto_depIdxs = nil
}
