// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        (unknown)
// source: ar/v1/authoring_environment.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 EnvironmentNewMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Icon          string                 `protobuf:"bytes,2,opt,name=icon,proto3" json:"icon,omitempty"`
	Description   string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	Type          EnvironmentType        `protobuf:"varint,4,opt,name=type,proto3,enum=ar.v1.EnvironmentType" json:"type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EnvironmentNewMessage) ProtoMessage() {}

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

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

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

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

func (x *EnvironmentNewMessage) GetType() EnvironmentType {
	if x != nil {
		return x.Type
	}
	return EnvironmentType_ENVIRONMENT_TYPE_UNSPECIFIED
}

type EnvironmentUpdateMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // Unique id of the environment (this won't be changed)
	Name          string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Name of the environment
	Icon          string                 `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`
	Description   string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Description of the environment
	Type          EnvironmentType        `protobuf:"varint,5,opt,name=type,proto3,enum=ar.v1.EnvironmentType" json:"type,omitempty"`
	Markers       []*MarkerLocation      `protobuf:"bytes,6,rep,name=markers,proto3" json:"markers,omitempty"`
	Agents        []*AgentLocation       `protobuf:"bytes,7,rep,name=agents,proto3" json:"agents,omitempty"`
	Parts         []*PartLocation        `protobuf:"bytes,8,rep,name=parts,proto3" json:"parts,omitempty"`
	Tools         []*ToolLocation        `protobuf:"bytes,9,rep,name=tools,proto3" json:"tools,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EnvironmentUpdateMessage) ProtoMessage() {}

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

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

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

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

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

func (x *EnvironmentUpdateMessage) GetType() EnvironmentType {
	if x != nil {
		return x.Type
	}
	return EnvironmentType_ENVIRONMENT_TYPE_UNSPECIFIED
}

func (x *EnvironmentUpdateMessage) GetMarkers() []*MarkerLocation {
	if x != nil {
		return x.Markers
	}
	return nil
}

func (x *EnvironmentUpdateMessage) GetAgents() []*AgentLocation {
	if x != nil {
		return x.Agents
	}
	return nil
}

func (x *EnvironmentUpdateMessage) GetParts() []*PartLocation {
	if x != nil {
		return x.Parts
	}
	return nil
}

func (x *EnvironmentUpdateMessage) GetTools() []*ToolLocation {
	if x != nil {
		return x.Tools
	}
	return nil
}

type EnvironmentDeleteMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Id of the marker to be deleted
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EnvironmentDeleteMessage) ProtoMessage() {}

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

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

var File_ar_v1_authoring_environment_proto protoreflect.FileDescriptor

const file_ar_v1_authoring_environment_proto_rawDesc = "" +
	"\n" +
	"!ar/v1/authoring_environment.proto\x12\x05ar.v1\x1a\x17ar/v1/environment.proto\"\x8d\x01\n" +
	"\x15EnvironmentNewMessage\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12\x12\n" +
	"\x04icon\x18\x02 \x01(\tR\x04icon\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12*\n" +
	"\x04type\x18\x04 \x01(\x0e2\x16.ar.v1.EnvironmentTypeR\x04type\"\xd5\x02\n" +
	"\x18EnvironmentUpdateMessage\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\x16.ar.v1.EnvironmentTypeR\x04type\x12/\n" +
	"\amarkers\x18\x06 \x03(\v2\x15.ar.v1.MarkerLocationR\amarkers\x12,\n" +
	"\x06agents\x18\a \x03(\v2\x14.ar.v1.AgentLocationR\x06agents\x12)\n" +
	"\x05parts\x18\b \x03(\v2\x13.ar.v1.PartLocationR\x05parts\x12)\n" +
	"\x05tools\x18\t \x03(\v2\x13.ar.v1.ToolLocationR\x05tools\"*\n" +
	"\x18EnvironmentDeleteMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02idB\x95\x01\n" +
	"\tcom.ar.v1B\x19AuthoringEnvironmentProtoP\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_environment_proto_rawDescOnce sync.Once
	file_ar_v1_authoring_environment_proto_rawDescData []byte
)

func file_ar_v1_authoring_environment_proto_rawDescGZIP() []byte {
	file_ar_v1_authoring_environment_proto_rawDescOnce.Do(func() {
		file_ar_v1_authoring_environment_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_authoring_environment_proto_rawDesc), len(file_ar_v1_authoring_environment_proto_rawDesc)))
	})
	return file_ar_v1_authoring_environment_proto_rawDescData
}

var file_ar_v1_authoring_environment_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_ar_v1_authoring_environment_proto_goTypes = []any{
	(*EnvironmentNewMessage)(nil),    // 0: ar.v1.EnvironmentNewMessage
	(*EnvironmentUpdateMessage)(nil), // 1: ar.v1.EnvironmentUpdateMessage
	(*EnvironmentDeleteMessage)(nil), // 2: ar.v1.EnvironmentDeleteMessage
	(EnvironmentType)(0),             // 3: ar.v1.EnvironmentType
	(*MarkerLocation)(nil),           // 4: ar.v1.MarkerLocation
	(*AgentLocation)(nil),            // 5: ar.v1.AgentLocation
	(*PartLocation)(nil),             // 6: ar.v1.PartLocation
	(*ToolLocation)(nil),             // 7: ar.v1.ToolLocation
}
var file_ar_v1_authoring_environment_proto_depIdxs = []int32{
	3, // 0: ar.v1.EnvironmentNewMessage.type:type_name -> ar.v1.EnvironmentType
	3, // 1: ar.v1.EnvironmentUpdateMessage.type:type_name -> ar.v1.EnvironmentType
	4, // 2: ar.v1.EnvironmentUpdateMessage.markers:type_name -> ar.v1.MarkerLocation
	5, // 3: ar.v1.EnvironmentUpdateMessage.agents:type_name -> ar.v1.AgentLocation
	6, // 4: ar.v1.EnvironmentUpdateMessage.parts:type_name -> ar.v1.PartLocation
	7, // 5: ar.v1.EnvironmentUpdateMessage.tools:type_name -> ar.v1.ToolLocation
	6, // [6:6] is the sub-list for method output_type
	6, // [6:6] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_ar_v1_authoring_environment_proto_init() }
func file_ar_v1_authoring_environment_proto_init() {
	if File_ar_v1_authoring_environment_proto != nil {
		return
	}
	file_ar_v1_environment_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_environment_proto_rawDesc), len(file_ar_v1_authoring_environment_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_authoring_environment_proto_goTypes,
		DependencyIndexes: file_ar_v1_authoring_environment_proto_depIdxs,
		MessageInfos:      file_ar_v1_authoring_environment_proto_msgTypes,
	}.Build()
	File_ar_v1_authoring_environment_proto = out.File
	file_ar_v1_authoring_environment_proto_goTypes = nil
	file_ar_v1_authoring_environment_proto_depIdxs = nil
}
