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

/**
 * @generated from message robot.v1.ProgramStateMessage
 */
export type ProgramStateMessage = Message<"robot.v1.ProgramStateMessage"> & {
  /**
   * @generated from field: string robot_id = 1;
   */
  robotId: string;

  /**
   * @generated from field: robot.v1.ProgramState state_code = 2;
   */
  stateCode: ProgramState;

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

  /**
   * @generated from field: string program_file = 4;
   */
  programFile: string;
};

/**
 * Describes the message robot.v1.ProgramStateMessage.
 * Use `create(ProgramStateMessageSchema)` to create a new message.
 */
export const ProgramStateMessageSchema: GenMessage<ProgramStateMessage> = /*@__PURE__*/
  messageDesc(file_robot_v1_program_state, 0);

/**
 * @generated from enum robot.v1.ProgramState
 */
export enum ProgramState {
  /**
   * @generated from enum value: PROGRAM_STATE_UNSPECIFIED = 0;
   */
  UNSPECIFIED = 0,

  /**
   * @generated from enum value: PROGRAM_STATE_PLAY = 1;
   */
  PLAY = 1,

  /**
   * @generated from enum value: PROGRAM_STATE_PAUSE = 2;
   */
  PAUSE = 2,

  /**
   * @generated from enum value: PROGRAM_STATE_STOP = 3;
   */
  STOP = 3,
}

/**
 * Describes the enum robot.v1.ProgramState.
 */
export const ProgramStateSchema: GenEnum<ProgramState> = /*@__PURE__*/
  enumDesc(file_robot_v1_program_state, 0);

