// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: ar/v1/mapping.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 ARPriority struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	ArConfigId       string                 `protobuf:"bytes,1,opt,name=ar_config_id,json=arConfigId,proto3" json:"ar_config_id,omitempty"`
	ActivePropertyId string                 `protobuf:"bytes,2,opt,name=active_property_id,json=activePropertyId,proto3" json:"active_property_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*ARPriority) ProtoMessage() {}

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

func (x *ARPriority) GetArConfigId() string {
	if x != nil {
		return x.ArConfigId
	}
	return ""
}

func (x *ARPriority) GetActivePropertyId() string {
	if x != nil {
		return x.ActivePropertyId
	}
	return ""
}

type MappingMessage 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"`
	EnvironmentIds     []string               `protobuf:"bytes,5,rep,name=environment_ids,json=environmentIds,proto3" json:"environment_ids,omitempty"`
	ArConfigPriorities []*ARPriority          `protobuf:"bytes,6,rep,name=ar_config_priorities,json=arConfigPriorities,proto3" json:"ar_config_priorities,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*MappingMessage) ProtoMessage() {}

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

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

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

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

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

func (x *MappingMessage) GetEnvironmentIds() []string {
	if x != nil {
		return x.EnvironmentIds
	}
	return nil
}

func (x *MappingMessage) GetArConfigPriorities() []*ARPriority {
	if x != nil {
		return x.ArConfigPriorities
	}
	return nil
}

type MappingMessages struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Mappings      []*MappingMessage      `protobuf:"bytes,1,rep,name=mappings,proto3" json:"mappings,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*MappingMessages) ProtoMessage() {}

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

func (x *MappingMessages) GetMappings() []*MappingMessage {
	if x != nil {
		return x.Mappings
	}
	return nil
}

var File_ar_v1_mapping_proto protoreflect.FileDescriptor

const file_ar_v1_mapping_proto_rawDesc = "" +
	"\n" +
	"\x13ar/v1/mapping.proto\x12\x05ar.v1\"\\\n" +
	"\n" +
	"ARPriority\x12 \n" +
	"\far_config_id\x18\x01 \x01(\tR\n" +
	"arConfigId\x12,\n" +
	"\x12active_property_id\x18\x02 \x01(\tR\x10activePropertyId\"\xd8\x01\n" +
	"\x0eMappingMessage\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" +
	"\x0fenvironment_ids\x18\x05 \x03(\tR\x0eenvironmentIds\x12C\n" +
	"\x14ar_config_priorities\x18\x06 \x03(\v2\x11.ar.v1.ARPriorityR\x12arConfigPriorities\"D\n" +
	"\x0fMappingMessages\x121\n" +
	"\bmappings\x18\x01 \x03(\v2\x15.ar.v1.MappingMessageR\bmappingsB\x88\x01\n" +
	"\tcom.ar.v1B\fMappingProtoP\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_mapping_proto_rawDescOnce sync.Once
	file_ar_v1_mapping_proto_rawDescData []byte
)

func file_ar_v1_mapping_proto_rawDescGZIP() []byte {
	file_ar_v1_mapping_proto_rawDescOnce.Do(func() {
		file_ar_v1_mapping_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_mapping_proto_rawDesc), len(file_ar_v1_mapping_proto_rawDesc)))
	})
	return file_ar_v1_mapping_proto_rawDescData
}

var file_ar_v1_mapping_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_ar_v1_mapping_proto_goTypes = []any{
	(*ARPriority)(nil),      // 0: ar.v1.ARPriority
	(*MappingMessage)(nil),  // 1: ar.v1.MappingMessage
	(*MappingMessages)(nil), // 2: ar.v1.MappingMessages
}
var file_ar_v1_mapping_proto_depIdxs = []int32{
	0, // 0: ar.v1.MappingMessage.ar_config_priorities:type_name -> ar.v1.ARPriority
	1, // 1: ar.v1.MappingMessages.mappings:type_name -> ar.v1.MappingMessage
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_ar_v1_mapping_proto_init() }
func file_ar_v1_mapping_proto_init() {
	if File_ar_v1_mapping_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ar_v1_mapping_proto_rawDesc), len(file_ar_v1_mapping_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_mapping_proto_goTypes,
		DependencyIndexes: file_ar_v1_mapping_proto_depIdxs,
		MessageInfos:      file_ar_v1_mapping_proto_msgTypes,
	}.Build()
	File_ar_v1_mapping_proto = out.File
	file_ar_v1_mapping_proto_goTypes = nil
	file_ar_v1_mapping_proto_depIdxs = nil
}
