// This is a generated file - do not edit.
//
// Generated from proto/iop/job.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 JobStatus extends $pb.ProtobufEnum {
  static const JobStatus JOB_STATUS_UNSPECIFIED =
      JobStatus._(0, _omitEnumNames ? '' : 'JOB_STATUS_UNSPECIFIED');
  static const JobStatus JOB_STATUS_PENDING =
      JobStatus._(1, _omitEnumNames ? '' : 'JOB_STATUS_PENDING');
  static const JobStatus JOB_STATUS_RUNNING =
      JobStatus._(2, _omitEnumNames ? '' : 'JOB_STATUS_RUNNING');
  static const JobStatus JOB_STATUS_COMPLETED =
      JobStatus._(3, _omitEnumNames ? '' : 'JOB_STATUS_COMPLETED');
  static const JobStatus JOB_STATUS_FAILED =
      JobStatus._(4, _omitEnumNames ? '' : 'JOB_STATUS_FAILED');
  static const JobStatus JOB_STATUS_CANCELLED =
      JobStatus._(5, _omitEnumNames ? '' : 'JOB_STATUS_CANCELLED');

  static const $core.List<JobStatus> values = <JobStatus>[
    JOB_STATUS_UNSPECIFIED,
    JOB_STATUS_PENDING,
    JOB_STATUS_RUNNING,
    JOB_STATUS_COMPLETED,
    JOB_STATUS_FAILED,
    JOB_STATUS_CANCELLED,
  ];

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

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

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