// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        (unknown)
// source: ar/v1/authoring_action.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 ActionNewMessage struct {
	state             protoimpl.MessageState `protogen:"open.v1"`
	ParentConfigId    string                 `protobuf:"bytes,1,opt,name=parent_config_id,json=parentConfigId,proto3" json:"parent_config_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              ActionType             `protobuf:"varint,5,opt,name=type,proto3,enum=ar.v1.ActionType" json:"type,omitempty"`
	TriggerPropertyId string                 `protobuf:"bytes,6,opt,name=trigger_property_id,json=triggerPropertyId,proto3" json:"trigger_property_id,omitempty"`
	AgentId           string                 `protobuf:"bytes,7,opt,name=agent_id,json=agentId,proto3" json:"agent_id,omitempty"`
	unknownFields     protoimpl.UnknownFields
	sizeCache         protoimpl.SizeCache
}

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

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

func (*ActionNewMessage) ProtoMessage() {}

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

func (x *ActionNewMessage) GetParentConfigId() string {
	if x != nil {
		return x.ParentConfigId
	}
	return ""
}

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

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

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

func (x *ActionNewMessage) GetType() ActionType {
	if x != nil {
		return x.Type
	}
	return ActionType_ACTION_TYPE_UNSPECIFIED
}

func (x *ActionNewMessage) GetTriggerPropertyId() string {
	if x != nil {
		return x.TriggerPropertyId
	}
	return ""
}

func (x *ActionNewMessage) GetAgentId() string {
	if x != nil {
		return x.AgentId
	}
	return ""
}

type ActionUpdateMessage 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"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ActionUpdateMessage) ProtoMessage() {}

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

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

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

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

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

type ActionDeleteMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ActionDeleteMessage) ProtoMessage() {}

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

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

var File_ar_v1_authoring_action_proto protoreflect.FileDescriptor

const file_ar_v1_authoring_action_proto_rawDesc = "" +
	"\n" +
	"\x1car/v1/authoring_action.proto\x12\x05ar.v1\x1a\x12ar/v1/action.proto\"\xf8\x01\n" +
	"\x10ActionNewMessage\x12(\n" +
	"\x10parent_config_id\x18\x01 \x01(\tR\x0eparentConfigId\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.ActionTypeR\x04type\x12.\n" +
	"\x13trigger_property_id\x18\x06 \x01(\tR\x11triggerPropertyId\x12\x19\n" +
	"\bagent_id\x18\a \x01(\tR\aagentId\"o\n" +
	"\x13ActionUpdateMessage\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\"%\n" +
	"\x13ActionDeleteMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02idB\x90\x01\n" +
	"\tcom.ar.v1B\x14AuthoringActionProtoP\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_authoring_action_proto_rawDescOnce sync.Once
	file_ar_v1_authoring_action_proto_rawDescData []byte
)

func file_ar_v1_authoring_action_proto_rawDescGZIP() []byte {
	file_ar_v1_authoring_action_proto_rawDescOnce.Do(func() {
		file_ar_v1_authoring_action_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_authoring_action_proto_rawDesc), len(file_ar_v1_authoring_action_proto_rawDesc)))
	})
	return file_ar_v1_authoring_action_proto_rawDescData
}

var file_ar_v1_authoring_action_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_ar_v1_authoring_action_proto_goTypes = []any{
	(*ActionNewMessage)(nil),    // 0: ar.v1.ActionNewMessage
	(*ActionUpdateMessage)(nil), // 1: ar.v1.ActionUpdateMessage
	(*ActionDeleteMessage)(nil), // 2: ar.v1.ActionDeleteMessage
	(ActionType)(0),             // 3: ar.v1.ActionType
}
var file_ar_v1_authoring_action_proto_depIdxs = []int32{
	3, // 0: ar.v1.ActionNewMessage.type:type_name -> ar.v1.ActionType
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_ar_v1_authoring_action_proto_init() }
func file_ar_v1_authoring_action_proto_init() {
	if File_ar_v1_authoring_action_proto != nil {
		return
	}
	file_ar_v1_action_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ar_v1_authoring_action_proto_rawDesc), len(file_ar_v1_authoring_action_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_authoring_action_proto_goTypes,
		DependencyIndexes: file_ar_v1_authoring_action_proto_depIdxs,
		MessageInfos:      file_ar_v1_authoring_action_proto_msgTypes,
	}.Build()
	File_ar_v1_authoring_action_proto = out.File
	file_ar_v1_authoring_action_proto_goTypes = nil
	file_ar_v1_authoring_action_proto_depIdxs = nil
}
