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

package arv1

import (
	_ "buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go/buf/validate"
	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 FeedbackInfoMessage struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	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           FeedbackType           `protobuf:"varint,5,opt,name=type,proto3,enum=ar.v1.FeedbackType" json:"type,omitempty"`
	Group          string                 `protobuf:"bytes,6,opt,name=group,proto3" json:"group,omitempty"`
	RequireAgent   bool                   `protobuf:"varint,7,opt,name=require_agent,json=requireAgent,proto3" json:"require_agent,omitempty"`
	RequireFrame   bool                   `protobuf:"varint,8,opt,name=require_frame,json=requireFrame,proto3" json:"require_frame,omitempty"`
	RequiredEvents []EventType            `protobuf:"varint,9,rep,packed,name=required_events,json=requiredEvents,proto3,enum=ar.v1.EventType" json:"required_events,omitempty"`
	OptionalEvents []EventType            `protobuf:"varint,10,rep,packed,name=optional_events,json=optionalEvents,proto3,enum=ar.v1.EventType" json:"optional_events,omitempty"`
	Disabled       bool                   `protobuf:"varint,11,opt,name=disabled,proto3" json:"disabled,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*FeedbackInfoMessage) ProtoMessage() {}

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

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

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

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

func (x *FeedbackInfoMessage) GetType() FeedbackType {
	if x != nil {
		return x.Type
	}
	return FeedbackType_FEEDBACK_TYPE_UNSPECIFIED
}

func (x *FeedbackInfoMessage) GetGroup() string {
	if x != nil {
		return x.Group
	}
	return ""
}

func (x *FeedbackInfoMessage) GetRequireAgent() bool {
	if x != nil {
		return x.RequireAgent
	}
	return false
}

func (x *FeedbackInfoMessage) GetRequireFrame() bool {
	if x != nil {
		return x.RequireFrame
	}
	return false
}

func (x *FeedbackInfoMessage) GetRequiredEvents() []EventType {
	if x != nil {
		return x.RequiredEvents
	}
	return nil
}

func (x *FeedbackInfoMessage) GetOptionalEvents() []EventType {
	if x != nil {
		return x.OptionalEvents
	}
	return nil
}

func (x *FeedbackInfoMessage) GetDisabled() bool {
	if x != nil {
		return x.Disabled
	}
	return false
}

type FeedbackInfoMessages struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Infos         []*FeedbackInfoMessage `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*FeedbackInfoMessages) ProtoMessage() {}

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

func (x *FeedbackInfoMessages) GetInfos() []*FeedbackInfoMessage {
	if x != nil {
		return x.Infos
	}
	return nil
}

var File_ar_v1_feedback_info_proto protoreflect.FileDescriptor

const file_ar_v1_feedback_info_proto_rawDesc = "" +
	"\n" +
	"\x19ar/v1/feedback_info.proto\x12\x05ar.v1\x1a\x12ar/v1/events.proto\x1a\x14ar/v1/feedback.proto\x1a\x1bbuf/validate/validate.proto\"\x95\x03\n" +
	"\x13FeedbackInfoMessage\x12\x1d\n" +
	"\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18@R\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\x13.ar.v1.FeedbackTypeB\x06\xbaH\x03\xc8\x01\x01R\x04type\x12\x1c\n" +
	"\x05group\x18\x06 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x05group\x12#\n" +
	"\rrequire_agent\x18\a \x01(\bR\frequireAgent\x12#\n" +
	"\rrequire_frame\x18\b \x01(\bR\frequireFrame\x129\n" +
	"\x0frequired_events\x18\t \x03(\x0e2\x10.ar.v1.EventTypeR\x0erequiredEvents\x129\n" +
	"\x0foptional_events\x18\n" +
	" \x03(\x0e2\x10.ar.v1.EventTypeR\x0eoptionalEvents\x12\x1a\n" +
	"\bdisabled\x18\v \x01(\bR\bdisabled\"H\n" +
	"\x14FeedbackInfoMessages\x120\n" +
	"\x05infos\x18\x01 \x03(\v2\x1a.ar.v1.FeedbackInfoMessageR\x05infosB\x8d\x01\n" +
	"\tcom.ar.v1B\x11FeedbackInfoProtoP\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_feedback_info_proto_rawDescOnce sync.Once
	file_ar_v1_feedback_info_proto_rawDescData []byte
)

func file_ar_v1_feedback_info_proto_rawDescGZIP() []byte {
	file_ar_v1_feedback_info_proto_rawDescOnce.Do(func() {
		file_ar_v1_feedback_info_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_feedback_info_proto_rawDesc), len(file_ar_v1_feedback_info_proto_rawDesc)))
	})
	return file_ar_v1_feedback_info_proto_rawDescData
}

var file_ar_v1_feedback_info_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_ar_v1_feedback_info_proto_goTypes = []any{
	(*FeedbackInfoMessage)(nil),  // 0: ar.v1.FeedbackInfoMessage
	(*FeedbackInfoMessages)(nil), // 1: ar.v1.FeedbackInfoMessages
	(FeedbackType)(0),            // 2: ar.v1.FeedbackType
	(EventType)(0),               // 3: ar.v1.EventType
}
var file_ar_v1_feedback_info_proto_depIdxs = []int32{
	2, // 0: ar.v1.FeedbackInfoMessage.type:type_name -> ar.v1.FeedbackType
	3, // 1: ar.v1.FeedbackInfoMessage.required_events:type_name -> ar.v1.EventType
	3, // 2: ar.v1.FeedbackInfoMessage.optional_events:type_name -> ar.v1.EventType
	0, // 3: ar.v1.FeedbackInfoMessages.infos:type_name -> ar.v1.FeedbackInfoMessage
	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_feedback_info_proto_init() }
func file_ar_v1_feedback_info_proto_init() {
	if File_ar_v1_feedback_info_proto != nil {
		return
	}
	file_ar_v1_events_proto_init()
	file_ar_v1_feedback_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ar_v1_feedback_info_proto_rawDesc), len(file_ar_v1_feedback_info_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_feedback_info_proto_goTypes,
		DependencyIndexes: file_ar_v1_feedback_info_proto_depIdxs,
		MessageInfos:      file_ar_v1_feedback_info_proto_msgTypes,
	}.Build()
	File_ar_v1_feedback_info_proto = out.File
	file_ar_v1_feedback_info_proto_goTypes = nil
	file_ar_v1_feedback_info_proto_depIdxs = nil
}
