// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: ar/v1/robot.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 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_robot_proto_enumTypes[0].Descriptor()
}

func (RobotType) Type() protoreflect.EnumType {
	return &file_ar_v1_robot_proto_enumTypes[0]
}

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

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

type RobotDriverType int32

const (
	RobotDriverType_ROBOT_DRIVER_TYPE_UNSPECIFIED RobotDriverType = 0
	RobotDriverType_ROBOT_DRIVER_TYPE_UR          RobotDriverType = 1
)

// Enum value maps for RobotDriverType.
var (
	RobotDriverType_name = map[int32]string{
		0: "ROBOT_DRIVER_TYPE_UNSPECIFIED",
		1: "ROBOT_DRIVER_TYPE_UR",
	}
	RobotDriverType_value = map[string]int32{
		"ROBOT_DRIVER_TYPE_UNSPECIFIED": 0,
		"ROBOT_DRIVER_TYPE_UR":          1,
	}
)

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

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

func (RobotDriverType) Descriptor() protoreflect.EnumDescriptor {
	return file_ar_v1_robot_proto_enumTypes[1].Descriptor()
}

func (RobotDriverType) Type() protoreflect.EnumType {
	return &file_ar_v1_robot_proto_enumTypes[1]
}

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

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

type RobotMessage struct {
	state              protoimpl.MessageState `protogen:"open.v1"`
	Id                 string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                   // Autogenerated id
	Name               string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`               // Name of the robot
	Icon               string                 `protobuf:"bytes,3,opt,name=icon,proto3" json:"icon,omitempty"`               // Optional icon representing the robot
	Description        string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // Optional description of the robot
	Type               RobotType              `protobuf:"varint,5,opt,name=type,proto3,enum=ar.v1.RobotType" json:"type,omitempty"`
	RobotDriverType    RobotDriverType        `protobuf:"varint,6,opt,name=robot_driver_type,json=robotDriverType,proto3,enum=ar.v1.RobotDriverType" json:"robot_driver_type,omitempty"`
	CouplerModelId     string                 `protobuf:"bytes,7,opt,name=coupler_model_id,json=couplerModelId,proto3" json:"coupler_model_id,omitempty"`
	EndEffectorModelId string                 `protobuf:"bytes,8,opt,name=end_effector_model_id,json=endEffectorModelId,proto3" json:"end_effector_model_id,omitempty"`
	Properties         []*Property            `protobuf:"bytes,9,rep,name=properties,proto3" json:"properties,omitempty"`
	unknownFields      protoimpl.UnknownFields
	sizeCache          protoimpl.SizeCache
}

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

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

func (*RobotMessage) ProtoMessage() {}

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

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

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

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

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

func (x *RobotMessage) GetType() RobotType {
	if x != nil {
		return x.Type
	}
	return RobotType_ROBOT_TYPE_UNSPECIFIED
}

func (x *RobotMessage) GetRobotDriverType() RobotDriverType {
	if x != nil {
		return x.RobotDriverType
	}
	return RobotDriverType_ROBOT_DRIVER_TYPE_UNSPECIFIED
}

func (x *RobotMessage) GetCouplerModelId() string {
	if x != nil {
		return x.CouplerModelId
	}
	return ""
}

func (x *RobotMessage) GetEndEffectorModelId() string {
	if x != nil {
		return x.EndEffectorModelId
	}
	return ""
}

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

type RobotMessages struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Robots        []*RobotMessage        `protobuf:"bytes,1,rep,name=robots,proto3" json:"robots,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*RobotMessages) ProtoMessage() {}

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

func (x *RobotMessages) GetRobots() []*RobotMessage {
	if x != nil {
		return x.Robots
	}
	return nil
}

var File_ar_v1_robot_proto protoreflect.FileDescriptor

const file_ar_v1_robot_proto_rawDesc = "" +
	"\n" +
	"\x11ar/v1/robot.proto\x12\x05ar.v1\x1a\x14ar/v1/property.proto\x1a\x1bbuf/validate/validate.proto\"\xa3\x03\n" +
	"\fRobotMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\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\x121\n" +
	"\x04type\x18\x05 \x01(\x0e2\x10.ar.v1.RobotTypeB\v\xbaH\b\xc8\x01\x01\x82\x01\x02\x10\x01R\x04type\x12O\n" +
	"\x11robot_driver_type\x18\x06 \x01(\x0e2\x16.ar.v1.RobotDriverTypeB\v\xbaH\b\xc8\x01\x01\x82\x01\x02\x10\x01R\x0frobotDriverType\x127\n" +
	"\x10coupler_model_id\x18\a \x01(\tB\r\xbaH\n" +
	"r\b:\x06model-R\x0ecouplerModelId\x12@\n" +
	"\x15end_effector_model_id\x18\b \x01(\tB\r\xbaH\n" +
	"r\b:\x06model-R\x12endEffectorModelId\x12/\n" +
	"\n" +
	"properties\x18\t \x03(\v2\x0f.ar.v1.PropertyR\n" +
	"properties\"<\n" +
	"\rRobotMessages\x12+\n" +
	"\x06robots\x18\x01 \x03(\v2\x13.ar.v1.RobotMessageR\x06robots*\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*N\n" +
	"\x0fRobotDriverType\x12!\n" +
	"\x1dROBOT_DRIVER_TYPE_UNSPECIFIED\x10\x00\x12\x18\n" +
	"\x14ROBOT_DRIVER_TYPE_UR\x10\x01B\x86\x01\n" +
	"\tcom.ar.v1B\n" +
	"RobotProtoP\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_robot_proto_rawDescOnce sync.Once
	file_ar_v1_robot_proto_rawDescData []byte
)

func file_ar_v1_robot_proto_rawDescGZIP() []byte {
	file_ar_v1_robot_proto_rawDescOnce.Do(func() {
		file_ar_v1_robot_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ar_v1_robot_proto_rawDesc), len(file_ar_v1_robot_proto_rawDesc)))
	})
	return file_ar_v1_robot_proto_rawDescData
}

var file_ar_v1_robot_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_ar_v1_robot_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_ar_v1_robot_proto_goTypes = []any{
	(RobotType)(0),        // 0: ar.v1.RobotType
	(RobotDriverType)(0),  // 1: ar.v1.RobotDriverType
	(*RobotMessage)(nil),  // 2: ar.v1.RobotMessage
	(*RobotMessages)(nil), // 3: ar.v1.RobotMessages
	(*Property)(nil),      // 4: ar.v1.Property
}
var file_ar_v1_robot_proto_depIdxs = []int32{
	0, // 0: ar.v1.RobotMessage.type:type_name -> ar.v1.RobotType
	1, // 1: ar.v1.RobotMessage.robot_driver_type:type_name -> ar.v1.RobotDriverType
	4, // 2: ar.v1.RobotMessage.properties:type_name -> ar.v1.Property
	2, // 3: ar.v1.RobotMessages.robots:type_name -> ar.v1.RobotMessage
	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_robot_proto_init() }
func file_ar_v1_robot_proto_init() {
	if File_ar_v1_robot_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_robot_proto_rawDesc), len(file_ar_v1_robot_proto_rawDesc)),
			NumEnums:      2,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_ar_v1_robot_proto_goTypes,
		DependencyIndexes: file_ar_v1_robot_proto_depIdxs,
		EnumInfos:         file_ar_v1_robot_proto_enumTypes,
		MessageInfos:      file_ar_v1_robot_proto_msgTypes,
	}.Build()
	File_ar_v1_robot_proto = out.File
	file_ar_v1_robot_proto_goTypes = nil
	file_ar_v1_robot_proto_depIdxs = nil
}
