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

import type { GenEnum, GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { LocalizedPose } from "../../geometry/v1/pose_pb";
import { file_geometry_v1_pose } from "../../geometry/v1/pose_pb";
import type { SequenceMessage } from "./sequence_pb";
import { file_plm_v1_sequence } from "./sequence_pb";
import type { TaskMessage } from "./task_pb";
import { file_plm_v1_task } from "./task_pb";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file plm/v1/process.proto.
 */
export const file_plm_v1_process: GenFile = /*@__PURE__*/
  fileDesc("ChRwbG0vdjEvcHJvY2Vzcy5wcm90bxIGcGxtLnYxIrECCg5Qcm9jZXNzTWVzc2FnZRITCgtpbnN0YW5jZV9pZBgBIAEoCRIKCgJpZBgCIAEoCRIMCgRuYW1lGAMgASgJEhMKC2Rlc2NyaXB0aW9uGAQgASgJEiEKBHR5cGUYBSABKA4yEy5wbG0udjEuUHJvY2Vzc1R5cGUSKQoFZnJhbWUYBiABKAsyGi5nZW9tZXRyeS52MS5Mb2NhbGl6ZWRQb3NlEhgKEHJvb3Rfc2VxdWVuY2VfaWQYByABKAkSKgoJc2VxdWVuY2VzGAggAygLMhcucGxtLnYxLlNlcXVlbmNlTWVzc2FnZRIiCgV0YXNrcxgJIAMoCzITLnBsbS52MS5UYXNrTWVzc2FnZRIjCgVzdGF0ZRgKIAEoDjIULnBsbS52MS5Qcm9jZXNzU3RhdGUqgQEKC1Byb2Nlc3NUeXBlEhwKGFBST0NFU1NfVFlQRV9VTlNQRUNJRklFRBAAEhkKFVBST0NFU1NfVFlQRV9BU1NFTUJMWRABEhwKGFBST0NFU1NfVFlQRV9ESVNBU1NFTUJMWRACEhsKF1BST0NFU1NfVFlQRV9JTlNQRUNUSU9OEAMqnwEKDFByb2Nlc3NTdGF0ZRIdChlQUk9DRVNTX1NUQVRFX1VOU1BFQ0lGSUVEEAASGQoVUFJPQ0VTU19TVEFURV9XQUlUSU5HEAESHQoZUFJPQ0VTU19TVEFURV9JTl9QUk9HUkVTUxACEhsKF1BST0NFU1NfU1RBVEVfQ09NUExFVEVEEAMSGQoVUFJPQ0VTU19TVEFURV9BQk9SVEVEEARCjwEKCmNvbS5wbG0udjFCDFByb2Nlc3NQcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z", [file_geometry_v1_pose, file_plm_v1_sequence, file_plm_v1_task]);

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

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

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

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

  /**
   * @generated from field: plm.v1.ProcessType type = 5;
   */
  type: ProcessType;

  /**
   * @generated from field: geometry.v1.LocalizedPose frame = 6;
   */
  frame?: LocalizedPose;

  /**
   * @generated from field: string root_sequence_id = 7;
   */
  rootSequenceId: string;

  /**
   * @generated from field: repeated plm.v1.SequenceMessage sequences = 8;
   */
  sequences: SequenceMessage[];

  /**
   * @generated from field: repeated plm.v1.TaskMessage tasks = 9;
   */
  tasks: TaskMessage[];

  /**
   * @generated from field: plm.v1.ProcessState state = 10;
   */
  state: ProcessState;
};

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

/**
 * @generated from enum plm.v1.ProcessType
 */
export enum ProcessType {
  /**
   * @generated from enum value: PROCESS_TYPE_UNSPECIFIED = 0;
   */
  UNSPECIFIED = 0,

  /**
   * @generated from enum value: PROCESS_TYPE_ASSEMBLY = 1;
   */
  ASSEMBLY = 1,

  /**
   * @generated from enum value: PROCESS_TYPE_DISASSEMBLY = 2;
   */
  DISASSEMBLY = 2,

  /**
   * @generated from enum value: PROCESS_TYPE_INSPECTION = 3;
   */
  INSPECTION = 3,
}

/**
 * Describes the enum plm.v1.ProcessType.
 */
export const ProcessTypeSchema: GenEnum<ProcessType> = /*@__PURE__*/
  enumDesc(file_plm_v1_process, 0);

/**
 * @generated from enum plm.v1.ProcessState
 */
export enum ProcessState {
  /**
   * @generated from enum value: PROCESS_STATE_UNSPECIFIED = 0;
   */
  UNSPECIFIED = 0,

  /**
   * @generated from enum value: PROCESS_STATE_WAITING = 1;
   */
  WAITING = 1,

  /**
   * @generated from enum value: PROCESS_STATE_IN_PROGRESS = 2;
   */
  IN_PROGRESS = 2,

  /**
   * @generated from enum value: PROCESS_STATE_COMPLETED = 3;
   */
  COMPLETED = 3,

  /**
   * @generated from enum value: PROCESS_STATE_ABORTED = 4;
   */
  ABORTED = 4,
}

/**
 * Describes the enum plm.v1.ProcessState.
 */
export const ProcessStateSchema: GenEnum<ProcessState> = /*@__PURE__*/
  enumDesc(file_plm_v1_process, 1);

