# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# NO CHECKED-IN PROTOBUF GENCODE
# source: activities/workflow.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,
    '',
    'activities/workflow.proto'
)
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x19\x61\x63tivities/workflow.proto\x12\x16\x63om.fatehan.activities\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x02\n\x08Workflow\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12(\n\x0forganization_id\x18\x02 \x01(\x04R\x0forganization_id\x12\x1e\n\ncreated_by\x18\x04 \x01(\x04R\ncreated_by\x12\x12\n\x04name\x18\x05 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x06 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x30\n\x04\x66low\x18\x07 \x01(\x0b\x32\x1c.com.fatehan.activities.FlowR\x04\x66low\x12:\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreated_at\x12:\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdated_atB\x0e\n\x0c_description\"\xd4\x01\n\x0cWorkflowTask\x12\x0e\n\x02id\x18\x01 \x01(\x04R\x02id\x12(\n\x0forganization_id\x18\x02 \x01(\x04R\x0forganization_id\x12 \n\x0bworkflow_id\x18\x03 \x01(\x04R\x0bworkflow_id\x12\x1c\n\tdevice_id\x18\x04 \x01(\x04R\tdevice_id\x12\x30\n\x04\x66low\x18\x05 \x01(\x0b\x32\x1c.com.fatehan.activities.FlowR\x04\x66low\x12\x18\n\x07pointer\x18\x06 \x01(\rR\x07pointer\"\xee\x01\n\x04\x46low\x12G\n\x07\x64\x65\x66\x61ult\x18\x01 \x01(\x0b\x32+.com.fatehan.activities.DefaultReportModuleH\x00R\x07\x64\x65\x66\x61ult\x12Q\n\x0cnotification\x18\x02 \x01(\x0b\x32+.com.fatehan.activities.NotificationTriggerH\x01R\x0cnotification\x12\x35\n\x06\x65vents\x18\x03 \x03(\x0b\x32\x1d.com.fatehan.activities.EventR\x06\x65ventsB\x08\n\x06reportB\t\n\x07trigger\"\xe9\x01\n\x05\x45vent\x12Q\n\x0cnotification\x18\x01 \x01(\x0b\x32+.com.fatehan.activities.NotificationTriggerH\x00R\x0cnotification\x12\x38\n\x04\x61rea\x18\x02 \x01(\x0b\x32\".com.fatehan.activities.AreaModuleH\x01R\x04\x61rea\x12>\n\x06shovel\x18\x03 \x01(\x0b\x32$.com.fatehan.activities.ShovelModuleH\x01R\x06shovelB\t\n\x07triggerB\x08\n\x06module\"\xc4\x02\n\nAreaModule\x12\x16\n\x06inside\x18\x01 \x01(\x08R\x06inside\x12\x18\n\x07\x61rea_id\x18\x02 \x01(\x04R\x07\x61rea_id\x12+\n\x0emin_active_sec\x18\x03 \x01(\rH\x00R\x0emin_active_sec\x88\x01\x01\x12+\n\x0emax_active_sec\x18\x04 \x01(\rH\x01R\x0emax_active_sec\x88\x01\x01\x12-\n\x0fmin_mileage_sec\x18\x05 \x01(\rH\x02R\x0fmin_mileage_sec\x88\x01\x01\x12-\n\x0fmax_mileage_sec\x18\x06 \x01(\rH\x03R\x0fmax_mileage_sec\x88\x01\x01\x42\x11\n\x0f_min_active_secB\x11\n\x0f_max_active_secB\x12\n\x10_min_mileage_secB\x12\n\x10_max_mileage_sec\"\xca\x02\n\x0cShovelModule\x12\x16\n\x06inside\x18\x01 \x01(\x08R\x06inside\x12\x1c\n\tshovel_id\x18\x02 \x01(\x04R\tshovel_id\x12+\n\x0emin_active_sec\x18\x03 \x01(\rH\x00R\x0emin_active_sec\x88\x01\x01\x12+\n\x0emax_active_sec\x18\x04 \x01(\rH\x01R\x0emax_active_sec\x88\x01\x01\x12-\n\x0fmin_mileage_sec\x18\x05 \x01(\rH\x02R\x0fmin_mileage_sec\x88\x01\x01\x12-\n\x0fmax_mileage_sec\x18\x06 \x01(\rH\x03R\x0fmax_mileage_sec\x88\x01\x01\x42\x11\n\x0f_min_active_secB\x11\n\x0f_max_active_secB\x12\n\x10_min_mileage_secB\x12\n\x10_max_mileage_sec\"\xac\x01\n\x13\x44\x65\x66\x61ultReportModule\x12\x11\n\tdevice_id\x18\x05 \x01(\x04\x12\x10\n\x08\x64uration\x18\x01 \x01(\r\x12\x0f\n\x07mileage\x18\x02 \x01(\r\x12.\n\nstarted_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"?\n\x13NotificationTrigger\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12\x12\n\x04\x62ody\x18\x02 \x01(\tR\x04\x62ody*C\n\x0cWorkflowStat\x12\x0b\n\x07PENDING\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0c\n\x08\x46INISHED\x10\x02\x12\x0b\n\x07TIMEOUT\x10\x03\x42\x81\x01Z0github.com/FatehanProtocols/protocols/activities\xca\x02 Fatehan\\Grpc\\activities\\Workflow\xe2\x02)Fatehan\\Grpc\\activities\\Workflow\\MetaDatab\x06proto3')

_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'activities.workflow_pb2', _globals)
if not _descriptor._USE_C_DESCRIPTORS:
  _globals['DESCRIPTOR']._loaded_options = None
  _globals['DESCRIPTOR']._serialized_options = b'Z0github.com/FatehanProtocols/protocols/activities\312\002 Fatehan\\Grpc\\activities\\Workflow\342\002)Fatehan\\Grpc\\activities\\Workflow\\MetaData'
  _globals['_WORKFLOWSTAT']._serialized_start=2026
  _globals['_WORKFLOWSTAT']._serialized_end=2093
  _globals['_WORKFLOW']._serialized_start=87
  _globals['_WORKFLOW']._serialized_end=432
  _globals['_WORKFLOWTASK']._serialized_start=435
  _globals['_WORKFLOWTASK']._serialized_end=647
  _globals['_FLOW']._serialized_start=650
  _globals['_FLOW']._serialized_end=888
  _globals['_EVENT']._serialized_start=891
  _globals['_EVENT']._serialized_end=1124
  _globals['_AREAMODULE']._serialized_start=1127
  _globals['_AREAMODULE']._serialized_end=1451
  _globals['_SHOVELMODULE']._serialized_start=1454
  _globals['_SHOVELMODULE']._serialized_end=1784
  _globals['_DEFAULTREPORTMODULE']._serialized_start=1787
  _globals['_DEFAULTREPORTMODULE']._serialized_end=1959
  _globals['_NOTIFICATIONTRIGGER']._serialized_start=1961
  _globals['_NOTIFICATIONTRIGGER']._serialized_end=2024
# @@protoc_insertion_point(module_scope)
