# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: models/operation.proto
# Protobuf Python Version: 6.31.1
"""Generated protocol buffer code."""
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import runtime_version as _runtime_version
from google.protobuf import symbol_database as _symbol_database
from google.protobuf.internal import builder as _builder
_runtime_version.ValidateProtobufRuntimeVersion(
    _runtime_version.Domain.PUBLIC,
    6,
    31,
    1,
    '',
    'models/operation.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
from areas import area_pb2 as areas_dot_area__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x16models/operation.proto\x12\x12\x63om.fatehan.models\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x10\x61reas/area.proto\"\xa7\x0e\n\tOperation\x12\x0e\n\x02id\x18\x01 \x01(\rR\x02id\x12!\n\tdevice_id\x18\x02 \x01(\x04H\x00R\tdevice_id\x88\x01\x01\x12<\n\x06status\x18\x03 \x01(\x0e\x32$.com.fatehan.models.Operation.StatusR\x06status\x12.\n\x12\x64\x65stinations_index\x18\x04 \x01(\rR\x12\x64\x65stinations_index\x12\x16\n\x06geo_id\x18\x05 \x01(\x04R\x06geo_id\x12%\n\x0b\x64\x65scription\x18\x06 \x01(\tH\x01R\x0b\x64\x65scription\x88\x01\x01\x12G\n\x0c\x64\x65stinations\x18\n \x01(\x0b\x32#.com.fatehan.models.DestinationListR\x0c\x64\x65stinations\x12/\n\x10\x64\x65stination_name\x18\x14 \x01(\tH\x02R\x10\x64\x65stination_name\x88\x01\x01\x12\x1d\n\x07picture\x18\x0b \x01(\tH\x03R\x07picture\x88\x01\x01\x12\x1e\n\npassengers\x18\x0c \x01(\tR\npassengers\x12-\n\x0fpassengers_name\x18\r \x01(\tH\x04R\x0fpassengers_name\x88\x01\x01\x12\x1c\n\twork_time\x18\x0e \x01(\rR\twork_time\x12(\n\x0f\x65xtra_work_time\x18\x0f \x01(\rR\x0f\x65xtra_work_time\x12\x34\n\x15\x65xtra_night_work_time\x18\x10 \x01(\rR\x15\x65xtra_night_work_time\x12\x38\n\x17holiday_extra_work_time\x18\x11 \x01(\rR\x17holiday_extra_work_time\x12\x44\n\x1dholiday_extra_night_work_time\x18\x12 \x01(\rR\x1dholiday_extra_night_work_time\x12*\n\x10internal_mileage\x18\x17 \x01(\rR\x10internal_mileage\x12*\n\x10\x65xternal_mileage\x18\x18 \x01(\rR\x10\x65xternal_mileage\x12$\n\rtotal_nightly\x18\x19 \x01(\rR\rtotal_nightly\x12-\n\x0forganization_id\x18\x1a \x01(\x04H\x05R\x0forganization_id\x88\x01\x01\x12/\n\x10user_accepted_id\x18\x1b \x01(\x04H\x06R\x10user_accepted_id\x88\x01\x01\x12-\n\x0fuser_created_id\x18\x1c \x01(\x04H\x07R\x0fuser_created_id\x88\x01\x01\x12/\n\x10user_rejected_id\x18\x1d \x01(\x04H\x08R\x10user_rejected_id\x88\x01\x01\x12\x31\n\x11user_requested_id\x18\x13 \x01(\x04H\tR\x11user_requested_id\x88\x01\x01\x12>\n\x0crequested_at\x18\x1e \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0crequested_at\x12:\n\nstarted_at\x18\x1f \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nstarted_at\x12<\n\x0b\x61\x63\x63\x65pted_at\x18  \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0b\x61\x63\x63\x65pted_at\x12<\n\x0brejected_at\x18! \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0brejected_at\x12\x36\n\x08\x65nded_at\x18\" \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08\x65nded_at\x12:\n\ncreated_at\x18# \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreated_at\x12:\n\nupdated_at\x18\x15 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdated_at\x12#\n\nerror_code\x18\x16 \x01(\rH\nR\nerror_code\x88\x01\x01\"L\n\x06Status\x12\x0b\n\x07Pending\x10\x00\x12\x0b\n\x07Running\x10\x01\x12\x0c\n\x08\x46inished\x10\x02\x12\x0c\n\x08\x41\x63\x63\x65pted\x10\x03\x12\x0c\n\x08Rejected\x10\x04\x42\x0c\n\n_device_idB\x0e\n\x0c_descriptionB\x13\n\x11_destination_nameB\n\n\x08_pictureB\x12\n\x10_passengers_nameB\x12\n\x10_organization_idB\x13\n\x11_user_accepted_idB\x12\n\x10_user_created_idB\x13\n\x11_user_rejected_idB\x14\n\x12_user_requested_idB\r\n\x0b_error_code\"T\n\x0f\x44\x65stinationList\x12\x41\n\x0b\x64\x65stination\x18\x01 \x03(\x0b\x32\x1f.com.fatehan.models.DestinationR\x0b\x64\x65stination\"\xbf\x03\n\x0b\x44\x65stination\x12\x18\n\x07\x61rea_id\x18\x01 \x01(\x04R\x07\x61rea_id\x12;\n\x05start\x18\x02 \x01(\x0b\x32%.com.fatehan.models.Destination.EventR\x05start\x12=\n\x06\x66inish\x18\x03 \x01(\x0b\x32%.com.fatehan.models.Destination.EventR\x06\x66inish\x12\x1a\n\x08\x64uration\x18\x04 \x01(\rR\x08\x64uration\x12\x1d\n\x07mileage\x18\x05 \x01(\rH\x00R\x07mileage\x88\x01\x01\x1a\xd2\x01\n\x05\x45vent\x12.\n\x05point\x18\x01 \x01(\x0b\x32\x18.com.fatehan.areas.PointR\x05point\x12\x36\n\x08\x64\x61tetime\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08\x64\x61tetime\x12\x36\n\x08gps_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08gps_time\x12\x1d\n\x07mileage\x18\x04 \x01(\x04H\x00R\x07mileage\x88\x01\x01\x42\n\n\x08_mileageB\n\n\x08_mileage\"x\n\x16OperationMileageMemory\x12\x0e\n\x06status\x18\x01 \x01(\x08\x12,\n\x08gps_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x14\n\x07mileage\x18\x03 \x01(\x04H\x00\x88\x01\x01\x42\n\n\x08_mileage\"\xb5\x02\n\rTripFailedJob\x12\x0c\n\x04uuid\x18\x01 \x01(\t\x12\x0f\n\x07handler\x18\x02 \x01(\t\x12\x0c\n\x04\x64\x61te\x18\x03 \x01(\t\x12\x11\n\tdevice_id\x18\x04 \x01(\t\x12.\n\nstarted_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12-\n\tfailed_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nrunning_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\r\n\x05tries\x18\x08 \x01(\r\x12\x16\n\texception\x18\t \x01(\tH\x00\x88\x01\x01\x12\x14\n\x07payload\x18\n \x01(\x0cH\x01\x88\x01\x01\x42\x0c\n\n_exceptionB\n\n\x08_payloadBwZ,github.com/FatehanProtocols/protocols/models\xca\x02\x1d\x46\x61tehan\\Grpc\\Models\\Operation\xe2\x02&Fatehan\\Grpc\\Models\\Operation\\MetaDatab\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'models.operation_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z,github.com/FatehanProtocols/protocols/models\312\002\035Fatehan\\Grpc\\Models\\Operation\342\002&Fatehan\\Grpc\\Models\\Operation\\MetaData'
  _globals['_OPERATION']._serialized_start=98
  _globals['_OPERATION']._serialized_end=1929
  _globals['_OPERATION_STATUS']._serialized_start=1651
  _globals['_OPERATION_STATUS']._serialized_end=1727
  _globals['_DESTINATIONLIST']._serialized_start=1931
  _globals['_DESTINATIONLIST']._serialized_end=2015
  _globals['_DESTINATION']._serialized_start=2018
  _globals['_DESTINATION']._serialized_end=2465
  _globals['_DESTINATION_EVENT']._serialized_start=2243
  _globals['_DESTINATION_EVENT']._serialized_end=2453
  _globals['_OPERATIONMILEAGEMEMORY']._serialized_start=2467
  _globals['_OPERATIONMILEAGEMEMORY']._serialized_end=2587
  _globals['_TRIPFAILEDJOB']._serialized_start=2590
  _globals['_TRIPFAILEDJOB']._serialized_end=2899
# @@protoc_insertion_point(module_scope)
