//
//  Generated code. Do not modify.
//  source: transportShared.proto
//
// @dart = 3.3

// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import

import 'dart:core' as $core;

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

///
/// All statuses for Tracking entity.
///
/// Thsese status are computed from the tracking event code. They globally match to IFTSTA event codes.
///
/// https://hardisgroupe.sharepoint.com/:p:/r/sites/N1/_layouts/15/Doc.aspx?sourcedoc=%7B5ECE4F90-6775-4EDA-BC25-7AD4982F8415%7D&file=Statuts%20N1_v2.pptx&action=edit&mobileredirect=true
class TrackingStatusCode extends $pb.ProtobufEnum {
  static const TrackingStatusCode TRACKINGSTATUS_0000_UNKNOWN = TrackingStatusCode._(0, _omitEnumNames ? '' : 'TRACKINGSTATUS_0000_UNKNOWN');
  static const TrackingStatusCode TRACKINGSTATUS_0500_INSTRUCTION_RECEIVED = TrackingStatusCode._(500, _omitEnumNames ? '' : 'TRACKINGSTATUS_0500_INSTRUCTION_RECEIVED');
  static const TrackingStatusCode TRACKINGSTATUS_1000_BOOKED = TrackingStatusCode._(1000, _omitEnumNames ? '' : 'TRACKINGSTATUS_1000_BOOKED');
  static const TrackingStatusCode TRACKINGSTATUS_1500_COLLECTING = TrackingStatusCode._(1500, _omitEnumNames ? '' : 'TRACKINGSTATUS_1500_COLLECTING');
  static const TrackingStatusCode TRACKINGSTATUS_2000_COLLECTION_ERROR = TrackingStatusCode._(2000, _omitEnumNames ? '' : 'TRACKINGSTATUS_2000_COLLECTION_ERROR');
  static const TrackingStatusCode TRACKINGSTATUS_2500_COLLECTED = TrackingStatusCode._(2500, _omitEnumNames ? '' : 'TRACKINGSTATUS_2500_COLLECTED');
  static const TrackingStatusCode TRACKINGSTATUS_3000_HANDLED_BY_CARRIER = TrackingStatusCode._(3000, _omitEnumNames ? '' : 'TRACKINGSTATUS_3000_HANDLED_BY_CARRIER');
  static const TrackingStatusCode TRACKINGSTATUS_3500_DELIVERY_ERROR = TrackingStatusCode._(3500, _omitEnumNames ? '' : 'TRACKINGSTATUS_3500_DELIVERY_ERROR');
  static const TrackingStatusCode TRACKINGSTATUS_4000_INTERRUPTED = TrackingStatusCode._(4000, _omitEnumNames ? '' : 'TRACKINGSTATUS_4000_INTERRUPTED');
  static const TrackingStatusCode TRACKINGSTATUS_4500_DELIVERING = TrackingStatusCode._(4500, _omitEnumNames ? '' : 'TRACKINGSTATUS_4500_DELIVERING');
  static const TrackingStatusCode TRACKINGSTATUS_4800_CARRIER_SWITCHED = TrackingStatusCode._(4800, _omitEnumNames ? '' : 'TRACKINGSTATUS_4800_CARRIER_SWITCHED');
  static const TrackingStatusCode TRACKINGSTATUS_5000_DELIVERY_COMPLETED = TrackingStatusCode._(5000, _omitEnumNames ? '' : 'TRACKINGSTATUS_5000_DELIVERY_COMPLETED');
  static const TrackingStatusCode TRACKINGSTATUS_5500_CANCELED = TrackingStatusCode._(5500, _omitEnumNames ? '' : 'TRACKINGSTATUS_5500_CANCELED');

  static const $core.List<TrackingStatusCode> values = <TrackingStatusCode> [
    TRACKINGSTATUS_0000_UNKNOWN,
    TRACKINGSTATUS_0500_INSTRUCTION_RECEIVED,
    TRACKINGSTATUS_1000_BOOKED,
    TRACKINGSTATUS_1500_COLLECTING,
    TRACKINGSTATUS_2000_COLLECTION_ERROR,
    TRACKINGSTATUS_2500_COLLECTED,
    TRACKINGSTATUS_3000_HANDLED_BY_CARRIER,
    TRACKINGSTATUS_3500_DELIVERY_ERROR,
    TRACKINGSTATUS_4000_INTERRUPTED,
    TRACKINGSTATUS_4500_DELIVERING,
    TRACKINGSTATUS_4800_CARRIER_SWITCHED,
    TRACKINGSTATUS_5000_DELIVERY_COMPLETED,
    TRACKINGSTATUS_5500_CANCELED,
  ];

  static final $core.Map<$core.int, TrackingStatusCode> _byValue = $pb.ProtobufEnum.initByValue(values);
  static TrackingStatusCode? valueOf($core.int value) => _byValue[value];

  const TrackingStatusCode._(super.v, super.n);
}

class TrackingEventCode extends $pb.ProtobufEnum {
  static const TrackingEventCode TRACKING_EVENT_UNKNOWN = TrackingEventCode._(0, _omitEnumNames ? '' : 'TRACKING_EVENT_UNKNOWN');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_321 = TrackingEventCode._(1, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_321');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_6 = TrackingEventCode._(2, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_6');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_5 = TrackingEventCode._(3, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_5');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_53 = TrackingEventCode._(4, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_53');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_13 = TrackingEventCode._(5, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_13');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_349 = TrackingEventCode._(6, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_349');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_113 = TrackingEventCode._(7, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_113');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_90 = TrackingEventCode._(8, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_90');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_56 = TrackingEventCode._(9, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_56');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_21 = TrackingEventCode._(10, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_21');
  static const TrackingEventCode TRACKING_EVENT_IFTSTA_14 = TrackingEventCode._(11, _omitEnumNames ? '' : 'TRACKING_EVENT_IFTSTA_14');

  static const $core.List<TrackingEventCode> values = <TrackingEventCode> [
    TRACKING_EVENT_UNKNOWN,
    TRACKING_EVENT_IFTSTA_321,
    TRACKING_EVENT_IFTSTA_6,
    TRACKING_EVENT_IFTSTA_5,
    TRACKING_EVENT_IFTSTA_53,
    TRACKING_EVENT_IFTSTA_13,
    TRACKING_EVENT_IFTSTA_349,
    TRACKING_EVENT_IFTSTA_113,
    TRACKING_EVENT_IFTSTA_90,
    TRACKING_EVENT_IFTSTA_56,
    TRACKING_EVENT_IFTSTA_21,
    TRACKING_EVENT_IFTSTA_14,
  ];

  static final $core.Map<$core.int, TrackingEventCode> _byValue = $pb.ProtobufEnum.initByValue(values);
  static TrackingEventCode? valueOf($core.int value) => _byValue[value];

  const TrackingEventCode._(super.v, super.n);
}


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