// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        (unknown)
// source: plm/v1/process_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 StoredProcessMessage struct {
	state          protoimpl.MessageState   `protogen:"open.v1"`
	Id             string                   `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name           string                   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description    string                   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Type           ProcessType              `protobuf:"varint,5,opt,name=type,proto3,enum=plm.v1.ProcessType" json:"type,omitempty"`
	Frame          *v1.LocalizedPose        `protobuf:"bytes,6,opt,name=frame,proto3" json:"frame,omitempty"`
	RootSequenceId string                   `protobuf:"bytes,7,opt,name=root_sequence_id,json=rootSequenceId,proto3" json:"root_sequence_id,omitempty"`
	Sequences      []*StoredSequenceMessage `protobuf:"bytes,8,rep,name=sequences,proto3" json:"sequences,omitempty"`
	Tasks          []*TaskMessage           `protobuf:"bytes,9,rep,name=tasks,proto3" json:"tasks,omitempty"` // TODO: make 'interchanceable', such that multiple variants can be selected
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*StoredProcessMessage) ProtoMessage() {}

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

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

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

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

func (x *StoredProcessMessage) GetType() ProcessType {
	if x != nil {
		return x.Type
	}
	return ProcessType_PROCESS_TYPE_UNSPECIFIED
}

func (x *StoredProcessMessage) GetFrame() *v1.LocalizedPose {
	if x != nil {
		return x.Frame
	}
	return nil
}

func (x *StoredProcessMessage) GetRootSequenceId() string {
	if x != nil {
		return x.RootSequenceId
	}
	return ""
}

func (x *StoredProcessMessage) GetSequences() []*StoredSequenceMessage {
	if x != nil {
		return x.Sequences
	}
	return nil
}

func (x *StoredProcessMessage) GetTasks() []*TaskMessage {
	if x != nil {
		return x.Tasks
	}
	return nil
}

type StoredProcessesMessage struct {
	state         protoimpl.MessageState  `protogen:"open.v1"`
	Processes     []*StoredProcessMessage `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StoredProcessesMessage) ProtoMessage() {}

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

func (x *StoredProcessesMessage) GetProcesses() []*StoredProcessMessage {
	if x != nil {
		return x.Processes
	}
	return nil
}

type NewProcessMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Name          string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description   string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Type          ProcessType            `protobuf:"varint,5,opt,name=type,proto3,enum=plm.v1.ProcessType" json:"type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*NewProcessMessage) ProtoMessage() {}

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

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

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

func (x *NewProcessMessage) GetType() ProcessType {
	if x != nil {
		return x.Type
	}
	return ProcessType_PROCESS_TYPE_UNSPECIFIED
}

type UpdateProcessMessage struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Id             string                 `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`
	Name           string                 `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description    string                 `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Type           ProcessType            `protobuf:"varint,5,opt,name=type,proto3,enum=plm.v1.ProcessType" json:"type,omitempty"`
	Frame          *v1.LocalizedPose      `protobuf:"bytes,6,opt,name=frame,proto3" json:"frame,omitempty"`
	RootSequenceId string                 `protobuf:"bytes,7,opt,name=root_sequence_id,json=rootSequenceId,proto3" json:"root_sequence_id,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*UpdateProcessMessage) ProtoMessage() {}

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

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

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

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

func (x *UpdateProcessMessage) GetType() ProcessType {
	if x != nil {
		return x.Type
	}
	return ProcessType_PROCESS_TYPE_UNSPECIFIED
}

func (x *UpdateProcessMessage) GetFrame() *v1.LocalizedPose {
	if x != nil {
		return x.Frame
	}
	return nil
}

func (x *UpdateProcessMessage) GetRootSequenceId() string {
	if x != nil {
		return x.RootSequenceId
	}
	return ""
}

type DeleteProcessMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	ProcessId     string                 `protobuf:"bytes,1,opt,name=process_id,json=processId,proto3" json:"process_id,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *DeleteProcessMessage) Reset() {
	*x = DeleteProcessMessage{}
	mi := &file_plm_v1_process_authoring_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*DeleteProcessMessage) ProtoMessage() {}

func (x *DeleteProcessMessage) ProtoReflect() protoreflect.Message {
	mi := &file_plm_v1_process_authoring_proto_msgTypes[4]
	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 DeleteProcessMessage.ProtoReflect.Descriptor instead.
func (*DeleteProcessMessage) Descriptor() ([]byte, []int) {
	return file_plm_v1_process_authoring_proto_rawDescGZIP(), []int{4}
}

func (x *DeleteProcessMessage) GetProcessId() string {
	if x != nil {
		return x.ProcessId
	}
	return ""
}

var File_plm_v1_process_authoring_proto protoreflect.FileDescriptor

const file_plm_v1_process_authoring_proto_rawDesc = "" +
	"\n" +
	"\x1eplm/v1/process_authoring.proto\x12\x06plm.v1\x1a\x16geometry/v1/pose.proto\x1a\x14plm/v1/process.proto\x1a\x1fplm/v1/sequence_authoring.proto\x1a\x11plm/v1/task.proto\"\xc9\x02\n" +
	"\x14StoredProcessMessage\x12\x0e\n" +
	"\x02id\x18\x02 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12'\n" +
	"\x04type\x18\x05 \x01(\x0e2\x13.plm.v1.ProcessTypeR\x04type\x120\n" +
	"\x05frame\x18\x06 \x01(\v2\x1a.geometry.v1.LocalizedPoseR\x05frame\x12(\n" +
	"\x10root_sequence_id\x18\a \x01(\tR\x0erootSequenceId\x12;\n" +
	"\tsequences\x18\b \x03(\v2\x1d.plm.v1.StoredSequenceMessageR\tsequences\x12)\n" +
	"\x05tasks\x18\t \x03(\v2\x13.plm.v1.TaskMessageR\x05tasks\"T\n" +
	"\x16StoredProcessesMessage\x12:\n" +
	"\tprocesses\x18\x01 \x03(\v2\x1c.plm.v1.StoredProcessMessageR\tprocesses\"r\n" +
	"\x11NewProcessMessage\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12'\n" +
	"\x04type\x18\x05 \x01(\x0e2\x13.plm.v1.ProcessTypeR\x04type\"\xe1\x01\n" +
	"\x14UpdateProcessMessage\x12\x0e\n" +
	"\x02id\x18\x02 \x01(\tR\x02id\x12\x12\n" +
	"\x04name\x18\x03 \x01(\tR\x04name\x12 \n" +
	"\vdescription\x18\x04 \x01(\tR\vdescription\x12'\n" +
	"\x04type\x18\x05 \x01(\x0e2\x13.plm.v1.ProcessTypeR\x04type\x120\n" +
	"\x05frame\x18\x06 \x01(\v2\x1a.geometry.v1.LocalizedPoseR\x05frame\x12(\n" +
	"\x10root_sequence_id\x18\a \x01(\tR\x0erootSequenceId\"5\n" +
	"\x14DeleteProcessMessage\x12\x1d\n" +
	"\n" +
	"process_id\x18\x01 \x01(\tR\tprocessIdB\x98\x01\n" +
	"\n" +
	"com.plm.v1B\x15ProcessAuthoringProtoP\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_process_authoring_proto_rawDescOnce sync.Once
	file_plm_v1_process_authoring_proto_rawDescData []byte
)

func file_plm_v1_process_authoring_proto_rawDescGZIP() []byte {
	file_plm_v1_process_authoring_proto_rawDescOnce.Do(func() {
		file_plm_v1_process_authoring_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_plm_v1_process_authoring_proto_rawDesc), len(file_plm_v1_process_authoring_proto_rawDesc)))
	})
	return file_plm_v1_process_authoring_proto_rawDescData
}

var file_plm_v1_process_authoring_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_plm_v1_process_authoring_proto_goTypes = []any{
	(*StoredProcessMessage)(nil),   // 0: plm.v1.StoredProcessMessage
	(*StoredProcessesMessage)(nil), // 1: plm.v1.StoredProcessesMessage
	(*NewProcessMessage)(nil),      // 2: plm.v1.NewProcessMessage
	(*UpdateProcessMessage)(nil),   // 3: plm.v1.UpdateProcessMessage
	(*DeleteProcessMessage)(nil),   // 4: plm.v1.DeleteProcessMessage
	(ProcessType)(0),               // 5: plm.v1.ProcessType
	(*v1.LocalizedPose)(nil),       // 6: geometry.v1.LocalizedPose
	(*StoredSequenceMessage)(nil),  // 7: plm.v1.StoredSequenceMessage
	(*TaskMessage)(nil),            // 8: plm.v1.TaskMessage
}
var file_plm_v1_process_authoring_proto_depIdxs = []int32{
	5, // 0: plm.v1.StoredProcessMessage.type:type_name -> plm.v1.ProcessType
	6, // 1: plm.v1.StoredProcessMessage.frame:type_name -> geometry.v1.LocalizedPose
	7, // 2: plm.v1.StoredProcessMessage.sequences:type_name -> plm.v1.StoredSequenceMessage
	8, // 3: plm.v1.StoredProcessMessage.tasks:type_name -> plm.v1.TaskMessage
	0, // 4: plm.v1.StoredProcessesMessage.processes:type_name -> plm.v1.StoredProcessMessage
	5, // 5: plm.v1.NewProcessMessage.type:type_name -> plm.v1.ProcessType
	5, // 6: plm.v1.UpdateProcessMessage.type:type_name -> plm.v1.ProcessType
	6, // 7: plm.v1.UpdateProcessMessage.frame:type_name -> geometry.v1.LocalizedPose
	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_process_authoring_proto_init() }
func file_plm_v1_process_authoring_proto_init() {
	if File_plm_v1_process_authoring_proto != nil {
		return
	}
	file_plm_v1_process_proto_init()
	file_plm_v1_sequence_authoring_proto_init()
	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_process_authoring_proto_rawDesc), len(file_plm_v1_process_authoring_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_plm_v1_process_authoring_proto_goTypes,
		DependencyIndexes: file_plm_v1_process_authoring_proto_depIdxs,
		MessageInfos:      file_plm_v1_process_authoring_proto_msgTypes,
	}.Build()
	File_plm_v1_process_authoring_proto = out.File
	file_plm_v1_process_authoring_proto_goTypes = nil
	file_plm_v1_process_authoring_proto_depIdxs = nil
}
