// @generated by protoc-gen-es v2.6.3 with parameter "target=ts"
// @generated from file plm/v1/part.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/part.proto.
 */
export const file_plm_v1_part: GenFile = /*@__PURE__*/
  fileDesc("ChFwbG0vdjEvcGFydC5wcm90bxIGcGxtLnYxIowBCgtQYXJ0TWVzc2FnZRIKCgJpZBgBIAEoCRIMCgRuYW1lGAIgASgJEgwKBGljb24YAyABKAkSEwoLZGVzY3JpcHRpb24YBCABKAkSHgoEdHlwZRgFIAEoDjIQLnBsbS52MS5QYXJ0VHlwZRIOCgZ3ZWlnaHQYBiABKAMSEAoIbW9kZWxfaWQYByABKAkqhwEKCFBhcnRUeXBlEhkKFVBBUlRfVFlQRV9VTlNQRUNJRklFRBAAEhoKFlBBUlRfVFlQRV9TVUJfQVNTRU1CTFkQARIWChJQQVJUX1RZUEVfRkFTVEVORVIQAhITCg9QQVJUX1RZUEVfUExBVEUQAxIXChNQQVJUX1RZUEVfTFVCUklDQU5UEARCjAEKCmNvbS5wbG0udjFCCVBhcnRQcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z");

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

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

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

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

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

  /**
   * @generated from field: int64 weight = 6;
   */
  weight: bigint;

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

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

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

  /**
   * @generated from enum value: PART_TYPE_SUB_ASSEMBLY = 1;
   */
  SUB_ASSEMBLY = 1,

  /**
   * @generated from enum value: PART_TYPE_FASTENER = 2;
   */
  FASTENER = 2,

  /**
   * @generated from enum value: PART_TYPE_PLATE = 3;
   */
  PLATE = 3,

  /**
   * @generated from enum value: PART_TYPE_LUBRICANT = 4;
   */
  LUBRICANT = 4,
}

/**
 * Describes the enum plm.v1.PartType.
 */
export const PartTypeSchema: GenEnum<PartType> = /*@__PURE__*/
  enumDesc(file_plm_v1_part, 0);

