// This is a generated file - do not edit.
//
// Generated from alt/v1/backtest.proto.

// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names
// ignore_for_file: curly_braces_in_flow_control_structures
// ignore_for_file: deprecated_member_use_from_same_package, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_relative_imports

import 'dart:core' as $core;

import 'package:protobuf/protobuf.dart' as $pb;

class BacktestRunStatus extends $pb.ProtobufEnum {
  static const BacktestRunStatus BACKTEST_RUN_STATUS_UNSPECIFIED =
      BacktestRunStatus._(
          0, _omitEnumNames ? '' : 'BACKTEST_RUN_STATUS_UNSPECIFIED');
  static const BacktestRunStatus BACKTEST_RUN_STATUS_PENDING =
      BacktestRunStatus._(
          1, _omitEnumNames ? '' : 'BACKTEST_RUN_STATUS_PENDING');
  static const BacktestRunStatus BACKTEST_RUN_STATUS_RUNNING =
      BacktestRunStatus._(
          2, _omitEnumNames ? '' : 'BACKTEST_RUN_STATUS_RUNNING');
  static const BacktestRunStatus BACKTEST_RUN_STATUS_SUCCEEDED =
      BacktestRunStatus._(
          3, _omitEnumNames ? '' : 'BACKTEST_RUN_STATUS_SUCCEEDED');
  static const BacktestRunStatus BACKTEST_RUN_STATUS_FAILED =
      BacktestRunStatus._(
          4, _omitEnumNames ? '' : 'BACKTEST_RUN_STATUS_FAILED');
  static const BacktestRunStatus BACKTEST_RUN_STATUS_CANCELED =
      BacktestRunStatus._(
          5, _omitEnumNames ? '' : 'BACKTEST_RUN_STATUS_CANCELED');

  static const $core.List<BacktestRunStatus> values = <BacktestRunStatus>[
    BACKTEST_RUN_STATUS_UNSPECIFIED,
    BACKTEST_RUN_STATUS_PENDING,
    BACKTEST_RUN_STATUS_RUNNING,
    BACKTEST_RUN_STATUS_SUCCEEDED,
    BACKTEST_RUN_STATUS_FAILED,
    BACKTEST_RUN_STATUS_CANCELED,
  ];

  static final $core.List<BacktestRunStatus?> _byValue =
      $pb.ProtobufEnum.$_initByValueList(values, 5);
  static BacktestRunStatus? valueOf($core.int value) =>
      value < 0 || value >= _byValue.length ? null : _byValue[value];

  const BacktestRunStatus._(super.value, super.name);
}

const $core.bool _omitEnumNames =
    $core.bool.fromEnvironment('protobuf.omit_enum_names');
