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

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

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

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

  /**
   * @generated from field: double target_speed = 4;
   */
  targetSpeed: number;

  /**
   * @generated from field: double actual_speed = 5;
   */
  actualSpeed: number;
};

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

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

  /**
   * @generated from enum value: ROBOT_STATE_STOPPING = 1;
   */
  STOPPING = 1,

  /**
   * @generated from enum value: ROBOT_STATE_STOPPED = 2;
   */
  STOPPED = 2,

  /**
   * @generated from enum value: ROBOT_STATE_PLAYING = 3;
   */
  PLAYING = 3,

  /**
   * @generated from enum value: ROBOT_STATE_PAUSING = 4;
   */
  PAUSING = 4,

  /**
   * @generated from enum value: ROBOT_STATE_PAUSED = 5;
   */
  PAUSED = 5,

  /**
   * @generated from enum value: ROBOT_STATE_RESUMING = 6;
   */
  RESUMING = 6,
}

/**
 * Describes the enum robot.v1.RobotState.
 */
export const RobotStateSchema: GenEnum<RobotState> = /*@__PURE__*/
  enumDesc(file_robot_v1_robot_state, 0);

