// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
// @generated from file plm/v1/task_authoring.proto (package plm.v1, syntax proto3)
/* eslint-disable */

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { LocalizedPose } from "../../geometry/v1/pose_pb.ts";
import { file_geometry_v1_pose } from "../../geometry/v1/pose_pb.ts";
import type { Vector3 } from "../../geometry/v1/vector3_pb.ts";
import { file_geometry_v1_vector3 } from "../../geometry/v1/vector3_pb.ts";
import type { TaskAssignmentPreference, TaskType } from "./task_pb.ts";
import { file_plm_v1_task } from "./task_pb.ts";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file plm/v1/task_authoring.proto.
 */
export const file_plm_v1_task_authoring: GenFile = /*@__PURE__*/
  fileDesc("ChtwbG0vdjEvdGFza19hdXRob3JpbmcucHJvdG8SBnBsbS52MSK4AgoRU3RvcmVkVGFza01lc3NhZ2USCgoCaWQYASABKAkSDAoEbmFtZRgCIAEoCRITCgtkZXNjcmlwdGlvbhgDIAEoCRIXCg9zZXF1ZW5jZV9udW1iZXIYBCABKAMSDwoHcGFydF9pZBgFIAEoCRIQCghtb2RlbF9pZBgGIAEoCRIjCgl0YXNrX3R5cGUYByABKA4yEC5wbG0udjEuVGFza1R5cGUSKgoGdGFyZ2V0GAggASgLMhouZ2VvbWV0cnkudjEuTG9jYWxpemVkUG9zZRImCghhcHByb2FjaBgJIAEoCzIULmdlb21ldHJ5LnYxLlZlY3RvcjMSPwoVYXNzaWdubWVudF9wcmVmZXJlbmNlGBMgASgOMiAucGxtLnYxLlRhc2tBc3NpZ25tZW50UHJlZmVyZW5jZSJoCg5OZXdUYXNrTWVzc2FnZRIMCgRuYW1lGAIgASgJEhMKC2Rlc2NyaXB0aW9uGAMgASgJEhcKD3NlcXVlbmNlX251bWJlchgEIAEoAxIaChJwYXJlbnRfc2VxdWVuY2VfaWQYBSABKAkiuAIKEVVwZGF0ZVRhc2tNZXNzYWdlEgoKAmlkGAEgASgJEgwKBG5hbWUYAiABKAkSEwoLZGVzY3JpcHRpb24YAyABKAkSFwoPc2VxdWVuY2VfbnVtYmVyGAQgASgDEg8KB3BhcnRfaWQYBSABKAkSEAoIbW9kZWxfaWQYBiABKAkSIwoJdGFza190eXBlGAcgASgOMhAucGxtLnYxLlRhc2tUeXBlEioKBnRhcmdldBgIIAEoCzIaLmdlb21ldHJ5LnYxLkxvY2FsaXplZFBvc2USJgoIYXBwcm9hY2gYCSABKAsyFC5nZW9tZXRyeS52MS5WZWN0b3IzEj8KFWFzc2lnbm1lbnRfcHJlZmVyZW5jZRgTIAEoDjIgLnBsbS52MS5UYXNrQXNzaWdubWVudFByZWZlcmVuY2UiJAoRRGVsZXRlVGFza01lc3NhZ2USDwoHdGFza19pZBgBIAEoCUKVAQoKY29tLnBsbS52MUISVGFza0F1dGhvcmluZ1Byb3RvUAFaMWdpdGh1Yi5jb20vY29ib3Rhci9wcm90b2NvbC9tZXNzYWdlcy9wbG0vdjE7cGxtdjGiAgNQWFiqAg9NZXNzYWdlcy5QbG0uVjHKAgZQbG1cVjHiAhJQbG1cVjFcR1BCTWV0YWRhdGHqAgdQbG06OlYxYgZwcm90bzM", [file_geometry_v1_pose, file_geometry_v1_vector3, file_plm_v1_task]);

/**
 * @generated from message plm.v1.StoredTaskMessage
 */
export type StoredTaskMessage = Message<"plm.v1.StoredTaskMessage"> & {
  /**
   * @generated from field: string id = 1;
   */
  id: string;

  /**
   * @generated from field: string name = 2;
   */
  name: string;

  /**
   * @generated from field: string description = 3;
   */
  description: string;

  /**
   * @generated from field: int64 sequence_number = 4;
   */
  sequenceNumber: bigint;

  /**
   * @generated from field: string part_id = 5;
   */
  partId: string;

  /**
   * @generated from field: string model_id = 6;
   */
  modelId: string;

  /**
   * @generated from field: plm.v1.TaskType task_type = 7;
   */
  taskType: TaskType;

  /**
   * @generated from field: geometry.v1.LocalizedPose target = 8;
   */
  target?: LocalizedPose;

  /**
   * @generated from field: geometry.v1.Vector3 approach = 9;
   */
  approach?: Vector3;

  /**
   * @generated from field: plm.v1.TaskAssignmentPreference assignment_preference = 19;
   */
  assignmentPreference: TaskAssignmentPreference;
};

/**
 * Describes the message plm.v1.StoredTaskMessage.
 * Use `create(StoredTaskMessageSchema)` to create a new message.
 */
export const StoredTaskMessageSchema: GenMessage<StoredTaskMessage> = /*@__PURE__*/
  messageDesc(file_plm_v1_task_authoring, 0);

/**
 * @generated from message plm.v1.NewTaskMessage
 */
export type NewTaskMessage = Message<"plm.v1.NewTaskMessage"> & {
  /**
   * @generated from field: string name = 2;
   */
  name: string;

  /**
   * @generated from field: string description = 3;
   */
  description: string;

  /**
   * @generated from field: int64 sequence_number = 4;
   */
  sequenceNumber: bigint;

  /**
   * @generated from field: string parent_sequence_id = 5;
   */
  parentSequenceId: string;
};

/**
 * Describes the message plm.v1.NewTaskMessage.
 * Use `create(NewTaskMessageSchema)` to create a new message.
 */
export const NewTaskMessageSchema: GenMessage<NewTaskMessage> = /*@__PURE__*/
  messageDesc(file_plm_v1_task_authoring, 1);

/**
 * @generated from message plm.v1.UpdateTaskMessage
 */
export type UpdateTaskMessage = Message<"plm.v1.UpdateTaskMessage"> & {
  /**
   * @generated from field: string id = 1;
   */
  id: string;

  /**
   * @generated from field: string name = 2;
   */
  name: string;

  /**
   * @generated from field: string description = 3;
   */
  description: string;

  /**
   * @generated from field: int64 sequence_number = 4;
   */
  sequenceNumber: bigint;

  /**
   * @generated from field: string part_id = 5;
   */
  partId: string;

  /**
   * @generated from field: string model_id = 6;
   */
  modelId: string;

  /**
   * @generated from field: plm.v1.TaskType task_type = 7;
   */
  taskType: TaskType;

  /**
   * @generated from field: geometry.v1.LocalizedPose target = 8;
   */
  target?: LocalizedPose;

  /**
   * @generated from field: geometry.v1.Vector3 approach = 9;
   */
  approach?: Vector3;

  /**
   * @generated from field: plm.v1.TaskAssignmentPreference assignment_preference = 19;
   */
  assignmentPreference: TaskAssignmentPreference;
};

/**
 * Describes the message plm.v1.UpdateTaskMessage.
 * Use `create(UpdateTaskMessageSchema)` to create a new message.
 */
export const UpdateTaskMessageSchema: GenMessage<UpdateTaskMessage> = /*@__PURE__*/
  messageDesc(file_plm_v1_task_authoring, 2);

/**
 * @generated from message plm.v1.DeleteTaskMessage
 */
export type DeleteTaskMessage = Message<"plm.v1.DeleteTaskMessage"> & {
  /**
   * @generated from field: string task_id = 1;
   */
  taskId: string;
};

/**
 * Describes the message plm.v1.DeleteTaskMessage.
 * Use `create(DeleteTaskMessageSchema)` to create a new message.
 */
export const DeleteTaskMessageSchema: GenMessage<DeleteTaskMessage> = /*@__PURE__*/
  messageDesc(file_plm_v1_task_authoring, 3);

