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

import type { GenFile, GenMessage } from "@bufbuild/protobuf/codegenv2";
import { fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
import type { Message } from "@bufbuild/protobuf";

/**
 * Describes the file plm/v1/capability.proto.
 */
export const file_plm_v1_capability: GenFile = /*@__PURE__*/
  fileDesc("ChdwbG0vdjEvY2FwYWJpbGl0eS5wcm90bxIGcGxtLnYxIkcKCkNhcGFiaWxpdHkSEAoIYWdlbnRfaWQYASABKAkSDwoHcGFydF9pZBgCIAEoCRIWCg5lc3RpbWF0ZWRfdGltZRgDIAEoAyI4CgxDYXBhYmlsaXRpZXMSKAoMY2FwYWJpbGl0aWVzGAEgAygLMhIucGxtLnYxLkNhcGFiaWxpdHlCkgEKCmNvbS5wbG0udjFCD0NhcGFiaWxpdHlQcm90b1ABWjFnaXRodWIuY29tL2NvYm90YXIvcHJvdG9jb2wvbWVzc2FnZXMvcGxtL3YxO3BsbXYxogIDUFhYqgIPTWVzc2FnZXMuUGxtLlYxygIGUGxtXFYx4gISUGxtXFYxXEdQQk1ldGFkYXRh6gIHUGxtOjpWMWIGcHJvdG8z");

/**
 * @generated from message plm.v1.Capability
 */
export type Capability = Message<"plm.v1.Capability"> & {
  /**
   * Id of the agent (either an operator or robot)
   *
   * @generated from field: string agent_id = 1;
   */
  agentId: string;

  /**
   * Id of the part that the agent can handle
   *
   * @generated from field: string part_id = 2;
   */
  partId: string;

  /**
   * Estimated time to complete a task with that part
   *
   * @generated from field: int64 estimated_time = 3;
   */
  estimatedTime: bigint;
};

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

/**
 * @generated from message plm.v1.Capabilities
 */
export type Capabilities = Message<"plm.v1.Capabilities"> & {
  /**
   * @generated from field: repeated plm.v1.Capability capabilities = 1;
   */
  capabilities: Capability[];
};

/**
 * Describes the message plm.v1.Capabilities.
 * Use `create(CapabilitiesSchema)` to create a new message.
 */
export const CapabilitiesSchema: GenMessage<Capabilities> = /*@__PURE__*/
  messageDesc(file_plm_v1_capability, 1);

