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

package robotv1

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 WaypointMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Point         *v1.Point              `protobuf:"bytes,2,opt,name=point,proto3" json:"point,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*WaypointMessage) ProtoMessage() {}

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

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

func (x *WaypointMessage) GetPoint() *v1.Point {
	if x != nil {
		return x.Point
	}
	return nil
}

type WaypointsMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Id            string                 `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	RobotId       string                 `protobuf:"bytes,2,opt,name=robot_id,json=robotId,proto3" json:"robot_id,omitempty"`
	FrameId       string                 `protobuf:"bytes,3,opt,name=frame_id,json=frameId,proto3" json:"frame_id,omitempty"`
	HighlightIdx  int32                  `protobuf:"varint,4,opt,name=highlight_idx,json=highlightIdx,proto3" json:"highlight_idx,omitempty"`
	Waypoints     []*WaypointMessage     `protobuf:"bytes,5,rep,name=waypoints,proto3" json:"waypoints,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*WaypointsMessage) ProtoMessage() {}

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

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

func (x *WaypointsMessage) GetRobotId() string {
	if x != nil {
		return x.RobotId
	}
	return ""
}

func (x *WaypointsMessage) GetFrameId() string {
	if x != nil {
		return x.FrameId
	}
	return ""
}

func (x *WaypointsMessage) GetHighlightIdx() int32 {
	if x != nil {
		return x.HighlightIdx
	}
	return 0
}

func (x *WaypointsMessage) GetWaypoints() []*WaypointMessage {
	if x != nil {
		return x.Waypoints
	}
	return nil
}

var File_robot_v1_waypoints_proto protoreflect.FileDescriptor

const file_robot_v1_waypoints_proto_rawDesc = "" +
	"\n" +
	"\x18robot/v1/waypoints.proto\x12\brobot.v1\x1a\x17geometry/v1/point.proto\"O\n" +
	"\x0fWaypointMessage\x12\x12\n" +
	"\x04name\x18\x01 \x01(\tR\x04name\x12(\n" +
	"\x05point\x18\x02 \x01(\v2\x12.geometry.v1.PointR\x05point\"\xb6\x01\n" +
	"\x10WaypointsMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
	"\brobot_id\x18\x02 \x01(\tR\arobotId\x12\x19\n" +
	"\bframe_id\x18\x03 \x01(\tR\aframeId\x12#\n" +
	"\rhighlight_idx\x18\x04 \x01(\x05R\fhighlightIdx\x127\n" +
	"\twaypoints\x18\x05 \x03(\v2\x19.robot.v1.WaypointMessageR\twaypointsB\xa0\x01\n" +
	"\fcom.robot.v1B\x0eWaypointsProtoP\x01Z5github.com/cobotar/protocol/messages/robot/v1;robotv1\xa2\x02\x03RXX\xaa\x02\x12Messages.Common.V1\xca\x02\bRobot\\V1\xe2\x02\x14Robot\\V1\\GPBMetadata\xea\x02\tRobot::V1b\x06proto3"

var (
	file_robot_v1_waypoints_proto_rawDescOnce sync.Once
	file_robot_v1_waypoints_proto_rawDescData []byte
)

func file_robot_v1_waypoints_proto_rawDescGZIP() []byte {
	file_robot_v1_waypoints_proto_rawDescOnce.Do(func() {
		file_robot_v1_waypoints_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_robot_v1_waypoints_proto_rawDesc), len(file_robot_v1_waypoints_proto_rawDesc)))
	})
	return file_robot_v1_waypoints_proto_rawDescData
}

var file_robot_v1_waypoints_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_robot_v1_waypoints_proto_goTypes = []any{
	(*WaypointMessage)(nil),  // 0: robot.v1.WaypointMessage
	(*WaypointsMessage)(nil), // 1: robot.v1.WaypointsMessage
	(*v1.Point)(nil),         // 2: geometry.v1.Point
}
var file_robot_v1_waypoints_proto_depIdxs = []int32{
	2, // 0: robot.v1.WaypointMessage.point:type_name -> geometry.v1.Point
	0, // 1: robot.v1.WaypointsMessage.waypoints:type_name -> robot.v1.WaypointMessage
	2, // [2:2] is the sub-list for method output_type
	2, // [2:2] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_robot_v1_waypoints_proto_init() }
func file_robot_v1_waypoints_proto_init() {
	if File_robot_v1_waypoints_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_robot_v1_waypoints_proto_rawDesc), len(file_robot_v1_waypoints_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_robot_v1_waypoints_proto_goTypes,
		DependencyIndexes: file_robot_v1_waypoints_proto_depIdxs,
		MessageInfos:      file_robot_v1_waypoints_proto_msgTypes,
	}.Build()
	File_robot_v1_waypoints_proto = out.File
	file_robot_v1_waypoints_proto_goTypes = nil
	file_robot_v1_waypoints_proto_depIdxs = nil
}
