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

package arv1

import (
	v1 "github.com/cobotar/protocol/messages/geometry/v1"
	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 AgentType int32

const (
	AgentType_AGENT_TYPE_UNSPECIFIED AgentType = 0
	AgentType_AGENT_TYPE_OPERATOR    AgentType = 1
	AgentType_AGENT_TYPE_ROBOT       AgentType = 2
)

// Enum value maps for AgentType.
var (
	AgentType_name = map[int32]string{
		0: "AGENT_TYPE_UNSPECIFIED",
		1: "AGENT_TYPE_OPERATOR",
		2: "AGENT_TYPE_ROBOT",
	}
	AgentType_value = map[string]int32{
		"AGENT_TYPE_UNSPECIFIED": 0,
		"AGENT_TYPE_OPERATOR":    1,
		"AGENT_TYPE_ROBOT":       2,
	}
)

func (x AgentType) Enum() *AgentType {
	p := new(AgentType)
	*p = x
	return p
}

func (x AgentType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AgentType) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_agent_proto_enumTypes[0].Descriptor()
}

func (AgentType) Type() protoreflect.EnumType {
	return &file_ar_v1_agent_proto_enumTypes[0]
}

func (x AgentType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AgentType.Descriptor instead.
func (AgentType) EnumDescriptor() ([]byte, []int) {
	return file_ar_v1_agent_proto_rawDescGZIP(), []int{0}
}

type OperatorType int32

const (
	OperatorType_OPERATOR_TYPE_UNSPECIFIED  OperatorType = 0
	OperatorType_OPERATOR_TYPE_NOVICE       OperatorType = 1
	OperatorType_OPERATOR_TYPE_INTERMEDIATE OperatorType = 2
	OperatorType_OPERATOR_TYPE_EXPERT       OperatorType = 3
)

// Enum value maps for OperatorType.
var (
	OperatorType_name = map[int32]string{
		0: "OPERATOR_TYPE_UNSPECIFIED",
		1: "OPERATOR_TYPE_NOVICE",
		2: "OPERATOR_TYPE_INTERMEDIATE",
		3: "OPERATOR_TYPE_EXPERT",
	}
	OperatorType_value = map[string]int32{
		"OPERATOR_TYPE_UNSPECIFIED":  0,
		"OPERATOR_TYPE_NOVICE":       1,
		"OPERATOR_TYPE_INTERMEDIATE": 2,
		"OPERATOR_TYPE_EXPERT":       3,
	}
)

func (x OperatorType) Enum() *OperatorType {
	p := new(OperatorType)
	*p = x
	return p
}

func (x OperatorType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (OperatorType) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_agent_proto_enumTypes[1].Descriptor()
}

func (OperatorType) Type() protoreflect.EnumType {
	return &file_ar_v1_agent_proto_enumTypes[1]
}

func (x OperatorType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use OperatorType.Descriptor instead.
func (OperatorType) EnumDescriptor() ([]byte, []int) {
	return file_ar_v1_agent_proto_rawDescGZIP(), []int{1}
}

type OperatorPermission int32

const (
	OperatorPermission_OPERATOR_PERMISSION_UNSPECIFIED OperatorPermission = 0
	OperatorPermission_OPERATOR_PERMISSION_NONE        OperatorPermission = 1
	OperatorPermission_OPERATOR_PERMISSION_COSMETIC    OperatorPermission = 2
	OperatorPermission_OPERATOR_PERMISSION_FULL        OperatorPermission = 3
)

// Enum value maps for OperatorPermission.
var (
	OperatorPermission_name = map[int32]string{
		0: "OPERATOR_PERMISSION_UNSPECIFIED",
		1: "OPERATOR_PERMISSION_NONE",
		2: "OPERATOR_PERMISSION_COSMETIC",
		3: "OPERATOR_PERMISSION_FULL",
	}
	OperatorPermission_value = map[string]int32{
		"OPERATOR_PERMISSION_UNSPECIFIED": 0,
		"OPERATOR_PERMISSION_NONE":        1,
		"OPERATOR_PERMISSION_COSMETIC":    2,
		"OPERATOR_PERMISSION_FULL":        3,
	}
)

func (x OperatorPermission) Enum() *OperatorPermission {
	p := new(OperatorPermission)
	*p = x
	return p
}

func (x OperatorPermission) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (OperatorPermission) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_agent_proto_enumTypes[2].Descriptor()
}

func (OperatorPermission) Type() protoreflect.EnumType {
	return &file_ar_v1_agent_proto_enumTypes[2]
}

func (x OperatorPermission) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use OperatorPermission.Descriptor instead.
func (OperatorPermission) EnumDescriptor() ([]byte, []int) {
	return file_ar_v1_agent_proto_rawDescGZIP(), []int{2}
}

type RobotType int32

const (
	RobotType_ROBOT_TYPE_UNSPECIFIED RobotType = 0
	RobotType_ROBOT_TYPE_UR3E        RobotType = 10
	RobotType_ROBOT_TYPE_UR5E        RobotType = 11
	RobotType_ROBOT_TYPE_UR10E       RobotType = 12
	RobotType_ROBOT_TYPE_KUKA_IIWA   RobotType = 20
)

// Enum value maps for RobotType.
var (
	RobotType_name = map[int32]string{
		0:  "ROBOT_TYPE_UNSPECIFIED",
		10: "ROBOT_TYPE_UR3E",
		11: "ROBOT_TYPE_UR5E",
		12: "ROBOT_TYPE_UR10E",
		20: "ROBOT_TYPE_KUKA_IIWA",
	}
	RobotType_value = map[string]int32{
		"ROBOT_TYPE_UNSPECIFIED": 0,
		"ROBOT_TYPE_UR3E":        10,
		"ROBOT_TYPE_UR5E":        11,
		"ROBOT_TYPE_UR10E":       12,
		"ROBOT_TYPE_KUKA_IIWA":   20,
	}
)

func (x RobotType) Enum() *RobotType {
	p := new(RobotType)
	*p = x
	return p
}

func (x RobotType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (RobotType) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_agent_proto_enumTypes[3].Descriptor()
}

func (RobotType) Type() protoreflect.EnumType {
	return &file_ar_v1_agent_proto_enumTypes[3]
}

func (x RobotType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use RobotType.Descriptor instead.
func (RobotType) EnumDescriptor() ([]byte, []int) {
	return file_ar_v1_agent_proto_rawDescGZIP(), []int{3}
}

type EndEffectorType int32

const (
	EndEffectorType_END_EFFECTOR_TYPE_UNSPECIFIED    EndEffectorType = 0
	EndEffectorType_END_EFFECTOR_TYPE_EMPTY          EndEffectorType = 1
	EndEffectorType_END_EFFECTOR_TYPE_ROBOTIQ_HAND_E EndEffectorType = 10
	EndEffectorType_END_EFFECTOR_TYPE_CUSTOM_MOUNT   EndEffectorType = 20
)

// Enum value maps for EndEffectorType.
var (
	EndEffectorType_name = map[int32]string{
		0:  "END_EFFECTOR_TYPE_UNSPECIFIED",
		1:  "END_EFFECTOR_TYPE_EMPTY",
		10: "END_EFFECTOR_TYPE_ROBOTIQ_HAND_E",
		20: "END_EFFECTOR_TYPE_CUSTOM_MOUNT",
	}
	EndEffectorType_value = map[string]int32{
		"END_EFFECTOR_TYPE_UNSPECIFIED":    0,
		"END_EFFECTOR_TYPE_EMPTY":          1,
		"END_EFFECTOR_TYPE_ROBOTIQ_HAND_E": 10,
		"END_EFFECTOR_TYPE_CUSTOM_MOUNT":   20,
	}
)

func (x EndEffectorType) Enum() *EndEffectorType {
	p := new(EndEffectorType)
	*p = x
	return p
}

func (x EndEffectorType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (EndEffectorType) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_agent_proto_enumTypes[4].Descriptor()
}

func (EndEffectorType) Type() protoreflect.EnumType {
	return &file_ar_v1_agent_proto_enumTypes[4]
}

func (x EndEffectorType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use EndEffectorType.Descriptor instead.
func (EndEffectorType) EnumDescriptor() ([]byte, []int) {
	return file_ar_v1_agent_proto_rawDescGZIP(), []int{4}
}

type AgentMessage 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"`
	Type            AgentType              `protobuf:"varint,3,opt,name=type,proto3,enum=ar.v1.AgentType" json:"type,omitempty"`
	OperatorType    OperatorType           `protobuf:"varint,4,opt,name=operator_type,json=operatorType,proto3,enum=ar.v1.OperatorType" json:"operator_type,omitempty"`
	RobotType       RobotType              `protobuf:"varint,5,opt,name=robot_type,json=robotType,proto3,enum=ar.v1.RobotType" json:"robot_type,omitempty"`
	EndEffectorType EndEffectorType        `protobuf:"varint,6,opt,name=end_effector_type,json=endEffectorType,proto3,enum=ar.v1.EndEffectorType" json:"end_effector_type,omitempty"`
	Location        *v1.LocalizedPose      `protobuf:"bytes,7,opt,name=location,proto3" json:"location,omitempty"`
	Properties      []*Property            `protobuf:"bytes,8,rep,name=properties,proto3" json:"properties,omitempty"`
	unknownFields   protoimpl.UnknownFields
	sizeCache       protoimpl.SizeCache
}

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

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

func (*AgentMessage) ProtoMessage() {}

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

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

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

func (x *AgentMessage) GetType() AgentType {
	if x != nil {
		return x.Type
	}
	return AgentType_AGENT_TYPE_UNSPECIFIED
}

func (x *AgentMessage) GetOperatorType() OperatorType {
	if x != nil {
		return x.OperatorType
	}
	return OperatorType_OPERATOR_TYPE_UNSPECIFIED
}

func (x *AgentMessage) GetRobotType() RobotType {
	if x != nil {
		return x.RobotType
	}
	return RobotType_ROBOT_TYPE_UNSPECIFIED
}

func (x *AgentMessage) GetEndEffectorType() EndEffectorType {
	if x != nil {
		return x.EndEffectorType
	}
	return EndEffectorType_END_EFFECTOR_TYPE_UNSPECIFIED
}

func (x *AgentMessage) GetLocation() *v1.LocalizedPose {
	if x != nil {
		return x.Location
	}
	return nil
}

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

var File_ar_v1_agent_proto protoreflect.FileDescriptor

const file_ar_v1_agent_proto_rawDesc = "" +
	"\n" +
	"\x11ar/v1/agent.proto\x12\x05ar.v1\x1a\x14ar/v1/property.proto\x1a\x16geometry/v1/pose.proto\"\xf0\x02\n" +
	"\fAgentMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12$\n" +
	"\x04type\x18\x03 \x01(\x0e2\x10.ar.v1.AgentTypeR\x04type\x128\n" +
	"\roperator_type\x18\x04 \x01(\x0e2\x13.ar.v1.OperatorTypeR\foperatorType\x12/\n" +
	"\n" +
	"robot_type\x18\x05 \x01(\x0e2\x10.ar.v1.RobotTypeR\trobotType\x12B\n" +
	"\x11end_effector_type\x18\x06 \x01(\x0e2\x16.ar.v1.EndEffectorTypeR\x0fendEffectorType\x126\n" +
	"\blocation\x18\a \x01(\v2\x1a.geometry.v1.LocalizedPoseR\blocation\x12/\n" +
	"\n" +
	"properties\x18\b \x03(\v2\x0f.ar.v1.PropertyR\n" +
	"properties*V\n" +
	"\tAgentType\x12\x1a\n" +
	"\x16AGENT_TYPE_UNSPECIFIED\x10\x00\x12\x17\n" +
	"\x13AGENT_TYPE_OPERATOR\x10\x01\x12\x14\n" +
	"\x10AGENT_TYPE_ROBOT\x10\x02*\x81\x01\n" +
	"\fOperatorType\x12\x1d\n" +
	"\x19OPERATOR_TYPE_UNSPECIFIED\x10\x00\x12\x18\n" +
	"\x14OPERATOR_TYPE_NOVICE\x10\x01\x12\x1e\n" +
	"\x1aOPERATOR_TYPE_INTERMEDIATE\x10\x02\x12\x18\n" +
	"\x14OPERATOR_TYPE_EXPERT\x10\x03*\x97\x01\n" +
	"\x12OperatorPermission\x12#\n" +
	"\x1fOPERATOR_PERMISSION_UNSPECIFIED\x10\x00\x12\x1c\n" +
	"\x18OPERATOR_PERMISSION_NONE\x10\x01\x12 \n" +
	"\x1cOPERATOR_PERMISSION_COSMETIC\x10\x02\x12\x1c\n" +
	"\x18OPERATOR_PERMISSION_FULL\x10\x03*\x81\x01\n" +
	"\tRobotType\x12\x1a\n" +
	"\x16ROBOT_TYPE_UNSPECIFIED\x10\x00\x12\x13\n" +
	"\x0fROBOT_TYPE_UR3E\x10\n" +
	"\x12\x13\n" +
	"\x0fROBOT_TYPE_UR5E\x10\v\x12\x14\n" +
	"\x10ROBOT_TYPE_UR10E\x10\f\x12\x18\n" +
	"\x14ROBOT_TYPE_KUKA_IIWA\x10\x14*\x9b\x01\n" +
	"\x0fEndEffectorType\x12!\n" +
	"\x1dEND_EFFECTOR_TYPE_UNSPECIFIED\x10\x00\x12\x1b\n" +
	"\x17END_EFFECTOR_TYPE_EMPTY\x10\x01\x12$\n" +
	" END_EFFECTOR_TYPE_ROBOTIQ_HAND_E\x10\n" +
	"\x12\"\n" +
	"\x1eEND_EFFECTOR_TYPE_CUSTOM_MOUNT\x10\x14B\x86\x01\n" +
	"\tcom.ar.v1B\n" +
	"AgentProtoP\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_agent_proto_rawDescOnce sync.Once
	file_ar_v1_agent_proto_rawDescData []byte
)

func file_ar_v1_agent_proto_rawDescGZIP() []byte {
	file_ar_v1_agent_proto_rawDescOnce.Do(func() {
		file_ar_v1_agent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_agent_proto_rawDesc), len(file_ar_v1_agent_proto_rawDesc)))
	})
	return file_ar_v1_agent_proto_rawDescData
}

var file_ar_v1_agent_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
var file_ar_v1_agent_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_ar_v1_agent_proto_goTypes = []any{
	(AgentType)(0),           // 0: ar.v1.AgentType
	(OperatorType)(0),        // 1: ar.v1.OperatorType
	(OperatorPermission)(0),  // 2: ar.v1.OperatorPermission
	(RobotType)(0),           // 3: ar.v1.RobotType
	(EndEffectorType)(0),     // 4: ar.v1.EndEffectorType
	(*AgentMessage)(nil),     // 5: ar.v1.AgentMessage
	(*v1.LocalizedPose)(nil), // 6: geometry.v1.LocalizedPose
	(*Property)(nil),         // 7: ar.v1.Property
}
var file_ar_v1_agent_proto_depIdxs = []int32{
	0, // 0: ar.v1.AgentMessage.type:type_name -> ar.v1.AgentType
	1, // 1: ar.v1.AgentMessage.operator_type:type_name -> ar.v1.OperatorType
	3, // 2: ar.v1.AgentMessage.robot_type:type_name -> ar.v1.RobotType
	4, // 3: ar.v1.AgentMessage.end_effector_type:type_name -> ar.v1.EndEffectorType
	6, // 4: ar.v1.AgentMessage.location:type_name -> geometry.v1.LocalizedPose
	7, // 5: ar.v1.AgentMessage.properties:type_name -> ar.v1.Property
	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_agent_proto_init() }
func file_ar_v1_agent_proto_init() {
	if File_ar_v1_agent_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_agent_proto_rawDesc), len(file_ar_v1_agent_proto_rawDesc)),
			NumEnums:      5,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_agent_proto_goTypes,
		DependencyIndexes: file_ar_v1_agent_proto_depIdxs,
		EnumInfos:         file_ar_v1_agent_proto_enumTypes,
		MessageInfos:      file_ar_v1_agent_proto_msgTypes,
	}.Build()
	File_ar_v1_agent_proto = out.File
	file_ar_v1_agent_proto_goTypes = nil
	file_ar_v1_agent_proto_depIdxs = nil
}
