// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
// @generated from file plm/v1/task_state_change.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 { Message } from "@bufbuild/protobuf";

/**
 * Describes the file plm/v1/task_state_change.proto.
 */
export const file_plm_v1_task_state_change: GenFile = /*@__PURE__*/
  fileDesc("Ch5wbG0vdjEvdGFza19zdGF0ZV9jaGFuZ2UucHJvdG8SBnBsbS52MSJ7ChZUYXNrU3RhdGVDaGFuZ2VNZXNzYWdlEhIKCnJlcXVlc3RfaWQYASABKAkSEwoLaW5zdGFuY2VfaWQYAiABKAkSDwoHdGFza19pZBgDIAEoCRInCgVzdGF0ZRgEIAEoDjIYLnBsbS52MS5UYXNrU3RhdGVSZXF1ZXN0KrcBChBUYXNrU3RhdGVSZXF1ZXN0EiIKHlRBU0tfU1RBVEVfUkVRVUVTVF9VTlNQRUNJRklFRBAAEiIKHlRBU0tfU1RBVEVfUkVRVUVTVF9JTl9QUk9HUkVTUxADEiAKHFRBU0tfU1RBVEVfUkVRVUVTVF9DT01QTEVURUQQBBIbChdUQVNLX1NUQVRFX1JFUVVFU1RfVU5ETxAFEhwKGFRBU0tfU1RBVEVfUkVRVUVTVF9FUlJPUhAGQpcBCgpjb20ucGxtLnYxQhRUYXNrU3RhdGVDaGFuZ2VQcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z");

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

  /**
   * @generated from field: string instance_id = 2;
   */
  instanceId: string;

  /**
   * @generated from field: string task_id = 3;
   */
  taskId: string;

  /**
   * @generated from field: plm.v1.TaskStateRequest state = 4;
   */
  state: TaskStateRequest;
};

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

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

  /**
   * @generated from enum value: TASK_STATE_REQUEST_IN_PROGRESS = 3;
   */
  IN_PROGRESS = 3,

  /**
   * @generated from enum value: TASK_STATE_REQUEST_COMPLETED = 4;
   */
  COMPLETED = 4,

  /**
   * @generated from enum value: TASK_STATE_REQUEST_UNDO = 5;
   */
  UNDO = 5,

  /**
   * @generated from enum value: TASK_STATE_REQUEST_ERROR = 6;
   */
  ERROR = 6,
}

/**
 * Describes the enum plm.v1.TaskStateRequest.
 */
export const TaskStateRequestSchema: GenEnum<TaskStateRequest> = /*@__PURE__*/
  enumDesc(file_plm_v1_task_state_change, 0);

