// @generated by protoc-gen-es v2.10.2 with parameter "target=ts,import_extension=ts"
// @generated from file plm/v1/process_load.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/process_load.proto.
 */
export const file_plm_v1_process_load: GenFile = /*@__PURE__*/
  fileDesc("ChlwbG0vdjEvcHJvY2Vzc19sb2FkLnByb3RvEgZwbG0udjEimAEKElByb2Nlc3NMb2FkTWVzc2FnZRISCgpyZXF1ZXN0X2lkGAEgASgJEhIKCnByb2Nlc3NfaWQYAiABKAkSDwoHbGluZV9pZBgDIAEoCRIQCghvcmRlcl9pZBgEIAEoCRI3ChNhbGxvY2F0aW9uX3N0cmF0ZWd5GAUgASgOMhoucGxtLnYxLkFsbG9jYXRpb25TdHJhdGVneSpZChJBbGxvY2F0aW9uU3RyYXRlZ3kSIwofQUxMT0NBVElPTl9TVFJBVEVHWV9VTlNQRUNJRklFRBAAEh4KGkFMTE9DQVRJT05fU1RSQVRFR1lfU1RBVElDEAFCkwEKCmNvbS5wbG0udjFCEFByb2Nlc3NMb2FkUHJvdG9QAVoxZ2l0aHViLmNvbS9jb2JvdGFyL3Byb3RvY29sL21lc3NhZ2VzL3BsbS92MTtwbG12MaICA1BYWKoCD01lc3NhZ2VzLlBsbS5WMcoCBlBsbVxWMeICElBsbVxWMVxHUEJNZXRhZGF0YeoCB1BsbTo6VjFiBnByb3RvMw");

/**
 * TODO: Assign agents at runtime?
 *
 * @generated from message plm.v1.ProcessLoadMessage
 */
export type ProcessLoadMessage = Message<"plm.v1.ProcessLoadMessage"> & {
  /**
   * @generated from field: string request_id = 1;
   */
  requestId: string;

  /**
   * @generated from field: string process_id = 2;
   */
  processId: string;

  /**
   * @generated from field: string line_id = 3;
   */
  lineId: string;

  /**
   * @generated from field: string order_id = 4;
   */
  orderId: string;

  /**
   * TODO: list participating actors?
   *
   * @generated from field: plm.v1.AllocationStrategy allocation_strategy = 5;
   */
  allocationStrategy: AllocationStrategy;
};

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

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

  /**
   * @generated from enum value: ALLOCATION_STRATEGY_STATIC = 1;
   */
  STATIC = 1,
}

/**
 * Describes the enum plm.v1.AllocationStrategy.
 */
export const AllocationStrategySchema: GenEnum<AllocationStrategy> = /*@__PURE__*/
  enumDesc(file_plm_v1_process_load, 0);

