// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        (unknown)
// source: ar/v1/template.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)
)

// TODO: consider this a bit more?
type TemplateMessage struct {
	state       protoimpl.MessageState `protogen:"open.v1"`
	Id          string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name        string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// repeated ar.v1.Agent agents = 5;
	Properties    []*Property `protobuf:"bytes,7,rep,name=properties,proto3" json:"properties,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*TemplateMessage) ProtoMessage() {}

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

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

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

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

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

type TemplateInfoMessage 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"`
	Description   string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*TemplateInfoMessage) ProtoMessage() {}

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

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

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

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

type TemplateInfoMessages struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Templates     []*TemplateInfoMessage `protobuf:"bytes,1,rep,name=templates,proto3" json:"templates,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*TemplateInfoMessages) ProtoMessage() {}

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

func (x *TemplateInfoMessages) GetTemplates() []*TemplateInfoMessage {
	if x != nil {
		return x.Templates
	}
	return nil
}

var File_ar_v1_template_proto protoreflect.FileDescriptor

const file_ar_v1_template_proto_rawDesc = "" +
	"\n" +
	"\x14ar/v1/template.proto\x12\x05ar.v1\x1a\x14ar/v1/property.proto\"\x88\x01\n" +
	"\x0fTemplateMessage\x12\x0e\n" +
	"\x02id\x18\x02 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12/\n" +
	"\n" +
	"properties\x18\a \x03(\v2\x0f.ar.v1.PropertyR\n" +
	"properties\"[\n" +
	"\x13TemplateInfoMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\"P\n" +
	"\x14TemplateInfoMessages\x128\n" +
	"\ttemplates\x18\x01 \x03(\v2\x1a.ar.v1.TemplateInfoMessageR\ttemplatesB\x89\x01\n" +
	"\tcom.ar.v1B\rTemplateProtoP\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_template_proto_rawDescOnce sync.Once
	file_ar_v1_template_proto_rawDescData []byte
)

func file_ar_v1_template_proto_rawDescGZIP() []byte {
	file_ar_v1_template_proto_rawDescOnce.Do(func() {
		file_ar_v1_template_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_template_proto_rawDesc), len(file_ar_v1_template_proto_rawDesc)))
	})
	return file_ar_v1_template_proto_rawDescData
}

var file_ar_v1_template_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_ar_v1_template_proto_goTypes = []any{
	(*TemplateMessage)(nil),      // 0: ar.v1.TemplateMessage
	(*TemplateInfoMessage)(nil),  // 1: ar.v1.TemplateInfoMessage
	(*TemplateInfoMessages)(nil), // 2: ar.v1.TemplateInfoMessages
	(*Property)(nil),             // 3: ar.v1.Property
}
var file_ar_v1_template_proto_depIdxs = []int32{
	3, // 0: ar.v1.TemplateMessage.properties:type_name -> ar.v1.Property
	1, // 1: ar.v1.TemplateInfoMessages.templates:type_name -> ar.v1.TemplateInfoMessage
	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_template_proto_init() }
func file_ar_v1_template_proto_init() {
	if File_ar_v1_template_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_template_proto_rawDesc), len(file_ar_v1_template_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_template_proto_goTypes,
		DependencyIndexes: file_ar_v1_template_proto_depIdxs,
		MessageInfos:      file_ar_v1_template_proto_msgTypes,
	}.Build()
	File_ar_v1_template_proto = out.File
	file_ar_v1_template_proto_goTypes = nil
	file_ar_v1_template_proto_depIdxs = nil
}
