// @generated by protoc-gen-es v2.6.3
// @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 type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file plm/v1/task_state_change.proto.
 */
export declare const file_plm_v1_task_state_change: GenFile;

/**
 * @generated from message plm.v1.TaskStateChangeMessage
 */
export declare 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 declare const TaskStateChangeMessageSchema: GenMessage<TaskStateChangeMessage>;

/**
 * @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 declare const TaskStateRequestSchema: GenEnum<TaskStateRequest>;

