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

package plmv1

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 StoredTaskMessage 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"`
	Description          string                   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	SequenceNumber       int64                    `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	PartId               string                   `protobuf:"bytes,5,opt,name=part_id,json=partId,proto3" json:"part_id,omitempty"`
	ModelId              string                   `protobuf:"bytes,6,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	TaskType             TaskType                 `protobuf:"varint,7,opt,name=task_type,json=taskType,proto3,enum=plm.v1.TaskType" json:"task_type,omitempty"`
	Target               *v1.LocalizedPose        `protobuf:"bytes,8,opt,name=target,proto3" json:"target,omitempty"`
	Approach             *v1.Vector3              `protobuf:"bytes,9,opt,name=approach,proto3" json:"approach,omitempty"`
	AssignmentPreference TaskAssignmentPreference `protobuf:"varint,19,opt,name=assignment_preference,json=assignmentPreference,proto3,enum=plm.v1.TaskAssignmentPreference" json:"assignment_preference,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*StoredTaskMessage) ProtoMessage() {}

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

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

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

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

func (x *StoredTaskMessage) GetSequenceNumber() int64 {
	if x != nil {
		return x.SequenceNumber
	}
	return 0
}

func (x *StoredTaskMessage) GetPartId() string {
	if x != nil {
		return x.PartId
	}
	return ""
}

func (x *StoredTaskMessage) GetModelId() string {
	if x != nil {
		return x.ModelId
	}
	return ""
}

func (x *StoredTaskMessage) GetTaskType() TaskType {
	if x != nil {
		return x.TaskType
	}
	return TaskType_TASK_TYPE_UNSPECIFIED
}

func (x *StoredTaskMessage) GetTarget() *v1.LocalizedPose {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *StoredTaskMessage) GetApproach() *v1.Vector3 {
	if x != nil {
		return x.Approach
	}
	return nil
}

func (x *StoredTaskMessage) GetAssignmentPreference() TaskAssignmentPreference {
	if x != nil {
		return x.AssignmentPreference
	}
	return TaskAssignmentPreference_TASK_ASSIGNMENT_PREFERENCE_UNSPECIFIED
}

type NewTaskMessage struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Name             string                 `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description      string                 `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	SequenceNumber   int64                  `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	ParentSequenceId string                 `protobuf:"bytes,5,opt,name=parent_sequence_id,json=parentSequenceId,proto3" json:"parent_sequence_id,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*NewTaskMessage) ProtoMessage() {}

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

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

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

func (x *NewTaskMessage) GetSequenceNumber() int64 {
	if x != nil {
		return x.SequenceNumber
	}
	return 0
}

func (x *NewTaskMessage) GetParentSequenceId() string {
	if x != nil {
		return x.ParentSequenceId
	}
	return ""
}

type UpdateTaskMessage 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"`
	Description          string                   `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	SequenceNumber       int64                    `protobuf:"varint,4,opt,name=sequence_number,json=sequenceNumber,proto3" json:"sequence_number,omitempty"`
	PartId               string                   `protobuf:"bytes,5,opt,name=part_id,json=partId,proto3" json:"part_id,omitempty"`
	ModelId              string                   `protobuf:"bytes,6,opt,name=model_id,json=modelId,proto3" json:"model_id,omitempty"`
	TaskType             TaskType                 `protobuf:"varint,7,opt,name=task_type,json=taskType,proto3,enum=plm.v1.TaskType" json:"task_type,omitempty"`
	Target               *v1.LocalizedPose        `protobuf:"bytes,8,opt,name=target,proto3" json:"target,omitempty"`
	Approach             *v1.Vector3              `protobuf:"bytes,9,opt,name=approach,proto3" json:"approach,omitempty"`
	AssignmentPreference TaskAssignmentPreference `protobuf:"varint,19,opt,name=assignment_preference,json=assignmentPreference,proto3,enum=plm.v1.TaskAssignmentPreference" json:"assignment_preference,omitempty"`
	unknownFields        protoimpl.UnknownFields
	sizeCache            protoimpl.SizeCache
}

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

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

func (*UpdateTaskMessage) ProtoMessage() {}

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

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

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

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

func (x *UpdateTaskMessage) GetSequenceNumber() int64 {
	if x != nil {
		return x.SequenceNumber
	}
	return 0
}

func (x *UpdateTaskMessage) GetPartId() string {
	if x != nil {
		return x.PartId
	}
	return ""
}

func (x *UpdateTaskMessage) GetModelId() string {
	if x != nil {
		return x.ModelId
	}
	return ""
}

func (x *UpdateTaskMessage) GetTaskType() TaskType {
	if x != nil {
		return x.TaskType
	}
	return TaskType_TASK_TYPE_UNSPECIFIED
}

func (x *UpdateTaskMessage) GetTarget() *v1.LocalizedPose {
	if x != nil {
		return x.Target
	}
	return nil
}

func (x *UpdateTaskMessage) GetApproach() *v1.Vector3 {
	if x != nil {
		return x.Approach
	}
	return nil
}

func (x *UpdateTaskMessage) GetAssignmentPreference() TaskAssignmentPreference {
	if x != nil {
		return x.AssignmentPreference
	}
	return TaskAssignmentPreference_TASK_ASSIGNMENT_PREFERENCE_UNSPECIFIED
}

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

func (x *DeleteTaskMessage) Reset() {
	*x = DeleteTaskMessage{}
	mi := &file_plm_v1_task_authoring_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteTaskMessage) ProtoMessage() {}

func (x *DeleteTaskMessage) ProtoReflect() protoreflect.Message {
	mi := &file_plm_v1_task_authoring_proto_msgTypes[3]
	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 DeleteTaskMessage.ProtoReflect.Descriptor instead.
func (*DeleteTaskMessage) Descriptor() ([]byte, []int) {
	return file_plm_v1_task_authoring_proto_rawDescGZIP(), []int{3}
}

func (x *DeleteTaskMessage) GetTaskId() string {
	if x != nil {
		return x.TaskId
	}
	return ""
}

var File_plm_v1_task_authoring_proto protoreflect.FileDescriptor

const file_plm_v1_task_authoring_proto_rawDesc = "" +
	"\n" +
	"\x1bplm/v1/task_authoring.proto\x12\x06plm.v1\x1a\x16geometry/v1/pose.proto\x1a\x19geometry/v1/vector3.proto\x1a\x11plm/v1/task.proto\"\xa2\x03\n" +
	"\x11StoredTaskMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12'\n" +
	"\x0fsequence_number\x18\x04 \x01(\x03R\x0esequenceNumber\x12\x17\n" +
	"\apart_id\x18\x05 \x01(\tR\x06partId\x12\x19\n" +
	"\bmodel_id\x18\x06 \x01(\tR\amodelId\x12-\n" +
	"\ttask_type\x18\a \x01(\x0e2\x10.plm.v1.TaskTypeR\btaskType\x122\n" +
	"\x06target\x18\b \x01(\v2\x1a.geometry.v1.LocalizedPoseR\x06target\x120\n" +
	"\bapproach\x18\t \x01(\v2\x14.geometry.v1.Vector3R\bapproach\x12U\n" +
	"\x15assignment_preference\x18\x13 \x01(\x0e2 .plm.v1.TaskAssignmentPreferenceR\x14assignmentPreference\"\x9d\x01\n" +
	"\x0eNewTaskMessage\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12'\n" +
	"\x0fsequence_number\x18\x04 \x01(\x03R\x0esequenceNumber\x12,\n" +
	"\x12parent_sequence_id\x18\x05 \x01(\tR\x10parentSequenceId\"\xa2\x03\n" +
	"\x11UpdateTaskMessage\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x02 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x03 \x01(\tR\vdescription\x12'\n" +
	"\x0fsequence_number\x18\x04 \x01(\x03R\x0esequenceNumber\x12\x17\n" +
	"\apart_id\x18\x05 \x01(\tR\x06partId\x12\x19\n" +
	"\bmodel_id\x18\x06 \x01(\tR\amodelId\x12-\n" +
	"\ttask_type\x18\a \x01(\x0e2\x10.plm.v1.TaskTypeR\btaskType\x122\n" +
	"\x06target\x18\b \x01(\v2\x1a.geometry.v1.LocalizedPoseR\x06target\x120\n" +
	"\bapproach\x18\t \x01(\v2\x14.geometry.v1.Vector3R\bapproach\x12U\n" +
	"\x15assignment_preference\x18\x13 \x01(\x0e2 .plm.v1.TaskAssignmentPreferenceR\x14assignmentPreference\",\n" +
	"\x11DeleteTaskMessage\x12\x17\n" +
	"\atask_id\x18\x01 \x01(\tR\x06taskIdB\x95\x01\n" +
	"\n" +
	"com.plm.v1B\x12TaskAuthoringProtoP\x01Z1github.com/cobotar/protocol/messages/plm/v1;plmv1\xa2\x02\x03PXX\xaa\x02\x0fMessages.Plm.V1\xca\x02\x06Plm\\V1\xe2\x02\x12Plm\\V1\\GPBMetadata\xea\x02\aPlm::V1b\x06proto3"

var (
	file_plm_v1_task_authoring_proto_rawDescOnce sync.Once
	file_plm_v1_task_authoring_proto_rawDescData []byte
)

func file_plm_v1_task_authoring_proto_rawDescGZIP() []byte {
	file_plm_v1_task_authoring_proto_rawDescOnce.Do(func() {
		file_plm_v1_task_authoring_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_plm_v1_task_authoring_proto_rawDesc), len(file_plm_v1_task_authoring_proto_rawDesc)))
	})
	return file_plm_v1_task_authoring_proto_rawDescData
}

var file_plm_v1_task_authoring_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_plm_v1_task_authoring_proto_goTypes = []any{
	(*StoredTaskMessage)(nil),     // 0: plm.v1.StoredTaskMessage
	(*NewTaskMessage)(nil),        // 1: plm.v1.NewTaskMessage
	(*UpdateTaskMessage)(nil),     // 2: plm.v1.UpdateTaskMessage
	(*DeleteTaskMessage)(nil),     // 3: plm.v1.DeleteTaskMessage
	(TaskType)(0),                 // 4: plm.v1.TaskType
	(*v1.LocalizedPose)(nil),      // 5: geometry.v1.LocalizedPose
	(*v1.Vector3)(nil),            // 6: geometry.v1.Vector3
	(TaskAssignmentPreference)(0), // 7: plm.v1.TaskAssignmentPreference
}
var file_plm_v1_task_authoring_proto_depIdxs = []int32{
	4, // 0: plm.v1.StoredTaskMessage.task_type:type_name -> plm.v1.TaskType
	5, // 1: plm.v1.StoredTaskMessage.target:type_name -> geometry.v1.LocalizedPose
	6, // 2: plm.v1.StoredTaskMessage.approach:type_name -> geometry.v1.Vector3
	7, // 3: plm.v1.StoredTaskMessage.assignment_preference:type_name -> plm.v1.TaskAssignmentPreference
	4, // 4: plm.v1.UpdateTaskMessage.task_type:type_name -> plm.v1.TaskType
	5, // 5: plm.v1.UpdateTaskMessage.target:type_name -> geometry.v1.LocalizedPose
	6, // 6: plm.v1.UpdateTaskMessage.approach:type_name -> geometry.v1.Vector3
	7, // 7: plm.v1.UpdateTaskMessage.assignment_preference:type_name -> plm.v1.TaskAssignmentPreference
	8, // [8:8] is the sub-list for method output_type
	8, // [8:8] is the sub-list for method input_type
	8, // [8:8] is the sub-list for extension type_name
	8, // [8:8] is the sub-list for extension extendee
	0, // [0:8] is the sub-list for field type_name
}

func init() { file_plm_v1_task_authoring_proto_init() }
func file_plm_v1_task_authoring_proto_init() {
	if File_plm_v1_task_authoring_proto != nil {
		return
	}
	file_plm_v1_task_proto_init()
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_plm_v1_task_authoring_proto_rawDesc), len(file_plm_v1_task_authoring_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   4,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_plm_v1_task_authoring_proto_goTypes,
		DependencyIndexes: file_plm_v1_task_authoring_proto_depIdxs,
		MessageInfos:      file_plm_v1_task_authoring_proto_msgTypes,
	}.Build()
	File_plm_v1_task_authoring_proto = out.File
	file_plm_v1_task_authoring_proto_goTypes = nil
	file_plm_v1_task_authoring_proto_depIdxs = nil
}
