fence_pb2.py 7.29 KB
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: fence.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()




DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0b\x66\x65nce.proto\x12\rInstanceFence\"?\n\x0c\x43ommonResult\x12\x0e\n\x06result\x18\x01 \x02(\x05\x12\x0f\n\x07\x65rrCode\x18\x02 \x01(\x05\x12\x0e\n\x06\x65rrMsg\x18\x03 \x01(\t\"\"\n\x06GpsLoc\x12\x0b\n\x03lng\x18\x01 \x02(\r\x12\x0b\n\x03lat\x18\x02 \x02(\r\"\x81\x01\n\x0cGpsLocDetail\x12%\n\x06gpsloc\x18\x01 \x02(\x0b\x32\x15.InstanceFence.GpsLoc\x12\x0c\n\x04time\x18\x02 \x02(\r\x12\r\n\x05speed\x18\x03 \x02(\r\x12\x11\n\tdirection\x18\x04 \x02(\r\x12\x0b\n\x03\x61lt\x18\x05 \x02(\x05\x12\r\n\x05valid\x18\x06 \x02(\t\"\xf5\x02\n\tFenceInfo\x12\x0f\n\x07\x66\x65nceId\x18\x01 \x02(\r\x12\x13\n\x0bsvcSystemId\x18\x02 \x02(\r\x12\x11\n\tfenceType\x18\x03 \x02(\x05\x12\x16\n\x0e\x66\x65nceShapeType\x18\x04 \x02(\x05\x12\x13\n\x0blocInfoType\x18\x05 \x02(\x05\x12\x11\n\tfenceName\x18\x06 \x01(\t\x12\x0e\n\x06status\x18\x07 \x01(\x05\x12\x11\n\townerType\x18\x08 \x01(\x05\x12\x0f\n\x07ownerId\x18\t \x01(\x05\x12\r\n\x05scope\x18\n \x01(\x05\x12\x13\n\x0btriggerType\x18\x0b \x01(\x05\x12\x11\n\tenterSpan\x18\x0c \x01(\x05\x12\x11\n\touterSpan\x18\r \x01(\x05\x12&\n\x07gpslocs\x18\x0e \x03(\x0b\x32\x15.InstanceFence.GpsLoc\x12\x10\n\x08\x61reaCode\x18\x0f \x01(\x05\x12\x14\n\x0cmerchantType\x18\x10 \x01(\x05\x12\x10\n\x08stayTime\x18\x11 \x01(\x05\x12\x0f\n\x07\x61\x64\x64ress\x18\x12 \x01(\t\"\x9f\x01\n\x15\x46\x65nceDeviceFamilyInfo\x12\n\n\x02sn\x18\x01 \x02(\t\x12&\n\x07gpslocs\x18\x02 \x03(\x0b\x32\x15.InstanceFence.GpsLoc\x12\x12\n\ninstayTime\x18\x03 \x01(\x05\x12\x13\n\x0boutstayTime\x18\x04 \x01(\x05\x12\x13\n\x0bleaverscope\x18\x05 \x01(\x05\x12\x14\n\x0cgethomescope\x18\x06 \x01(\x05\"i\n\x0b\x46\x65nceMember\x12\x0f\n\x07\x66\x65nceId\x18\x01 \x02(\r\x12\x13\n\x0bsvcSystemId\x18\x02 \x02(\r\x12\x10\n\x08\x64\x65vicesn\x18\x03 \x02(\t\x12\x12\n\ndeviceType\x18\x04 \x02(\x05\x12\x0e\n\x06status\x18\x05 \x01(\x05\"J\n\x17TriggerDeviceFamilyInfo\x12\n\n\x02sn\x18\x01 \x02(\t\x12\x0e\n\x06status\x18\x02 \x02(\x05\x12\x13\n\x0btriggerTime\x18\x03 \x02(\r\"\x98\x02\n\x0bTriggerInfo\x12\x10\n\x08\x64\x65vicesn\x18\x01 \x02(\t\x12\x0f\n\x07\x66\x65nceId\x18\x02 \x02(\r\x12\x13\n\x0bsvcSystemId\x18\x03 \x02(\r\x12\x13\n\x0btriggerType\x18\x04 \x02(\x05\x12\x13\n\x0blocInfoType\x18\x05 \x02(\x05\x12\x13\n\x0btriggerTime\x18\x06 \x01(\r\x12/\n\ntriggerLoc\x18\x07 \x01(\x0b\x32\x1b.InstanceFence.GpsLocDetail\x12\x14\n\x0cmerchantName\x18\x08 \x01(\t\x12\x14\n\x0cmerchantType\x18\t \x01(\x05\x12\x11\n\tenterTime\x18\n \x01(\t\x12\x0f\n\x07outTime\x18\x0b \x01(\t\x12\x11\n\talarmType\x18\x0c \x01(\x05\"\xaa\x02\n\x0f\x46\x61keOfflineInfo\x12\x10\n\x08\x64\x65vicesn\x18\x01 \x02(\t\x12\x0f\n\x07\x66\x65nceId\x18\x02 \x02(\r\x12\x13\n\x0bsvcSystemId\x18\x03 \x02(\r\x12\x13\n\x0btriggerType\x18\x04 \x02(\x05\x12\x13\n\x0blocInfoType\x18\x05 \x02(\x05\x12\x13\n\x0btriggerTime\x18\x06 \x01(\r\x12/\n\ntriggerLoc\x18\x07 \x01(\x0b\x32\x1b.InstanceFence.GpsLocDetail\x12\x14\n\x0cmerchantName\x18\x08 \x01(\t\x12\x14\n\x0cmerchantType\x18\t \x01(\x05\x12\x11\n\tenterTime\x18\n \x01(\t\x12\x0f\n\x07outTime\x18\x0b \x01(\t\x12\x11\n\talarmType\x18\x0c \x01(\x05\x12\x0c\n\x04\x61\x64\x64r\x18\r \x01(\t\"G\n\nBoderAlarm\x12\x10\n\x08\x64\x65vicesn\x18\x01 \x02(\t\x12\x15\n\rpositionStaus\x18\x02 \x01(\x05\x12\x10\n\x08\x64istance\x18\x03 \x01(\x05\"q\n\x0cOptFenceInfo\x12\x33\n\roperationType\x18\x01 \x02(\x0e\x32\x1c.InstanceFence.OperationType\x12,\n\nfenceInfos\x18\x02 \x03(\x0b\x32\x18.InstanceFence.FenceInfo\"w\n\x0eOptFenceMember\x12\x33\n\roperationType\x18\x01 \x02(\x0e\x32\x1c.InstanceFence.OperationType\x12\x30\n\x0c\x66\x65nceMembers\x18\x02 \x03(\x0b\x32\x1a.InstanceFence.FenceMember\"\x89\x01\n\x12OptFamilyFenceInfo\x12\x33\n\roperationType\x18\x01 \x02(\x0e\x32\x1c.InstanceFence.OperationType\x12>\n\x10\x66\x61milyfenceInfos\x18\x02 \x03(\x0b\x32$.InstanceFence.FenceDeviceFamilyInfo\"w\n\x0bOptFenceReq\x12\x31\n\x0coptFenceInfo\x18\x01 \x01(\x0b\x32\x1b.InstanceFence.OptFenceInfo\x12\x35\n\x0eoptFenceMember\x18\x02 \x01(\x0b\x32\x1d.InstanceFence.OptFenceMember\"\x9b\x01\n\x0cOptFenceResp\x12+\n\x06result\x18\x01 \x02(\x0b\x32\x1b.InstanceFence.CommonResult\x12,\n\nfenceInfos\x18\x02 \x03(\x0b\x32\x18.InstanceFence.FenceInfo\x12\x30\n\x0c\x66\x65nceMembers\x18\x03 \x03(\x0b\x32\x1a.InstanceFence.FenceMember\"B\n\x0fTriggerInfoResp\x12/\n\x0btriggerInfo\x18\x01 \x02(\x0b\x32\x1a.InstanceFence.TriggerInfo\"t\n\x14TriggerTestDriveInfo\x12\x10\n\x08\x64\x65vicesn\x18\x01 \x02(\t\x12\x0f\n\x07\x66\x65nceId\x18\x02 \x02(\r\x12\x13\n\x0bsvcSystemId\x18\x03 \x02(\r\x12\x13\n\x0bjourneyTime\x18\x04 \x01(\r\x12\x0f\n\x07percent\x18\x05 \x01(\x05\"q\n\x12TriggerInStoreInfo\x12\x10\n\x08\x64\x65vicesn\x18\x01 \x02(\t\x12\x15\n\rpositionState\x18\x02 \x02(\r\x12\x0f\n\x07\x66\x65nceId\x18\x03 \x02(\r\x12\x10\n\x08gpsState\x18\x04 \x02(\r\x12\x0f\n\x07gpsTime\x18\x05 \x01(\t*H\n\rOperationType\x12\x07\n\x03\x41\x44\x44\x10\x01\x12\x07\n\x03\x44\x45L\x10\x02\x12\x07\n\x03GET\x10\x03\x12\n\n\x06UPDATE\x10\x04\x12\x10\n\x0c\x41\x44\x44\x41NDUPDATE\x10\x05\x42.\n\x1a\x63n.com.glsx.kafka.protocolB\x10\x46\x61keOfflineFence')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'fence_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\032cn.com.glsx.kafka.protocolB\020FakeOfflineFence'
  _OPERATIONTYPE._serialized_start=2597
  _OPERATIONTYPE._serialized_end=2669
  _COMMONRESULT._serialized_start=30
  _COMMONRESULT._serialized_end=93
  _GPSLOC._serialized_start=95
  _GPSLOC._serialized_end=129
  _GPSLOCDETAIL._serialized_start=132
  _GPSLOCDETAIL._serialized_end=261
  _FENCEINFO._serialized_start=264
  _FENCEINFO._serialized_end=637
  _FENCEDEVICEFAMILYINFO._serialized_start=640
  _FENCEDEVICEFAMILYINFO._serialized_end=799
  _FENCEMEMBER._serialized_start=801
  _FENCEMEMBER._serialized_end=906
  _TRIGGERDEVICEFAMILYINFO._serialized_start=908
  _TRIGGERDEVICEFAMILYINFO._serialized_end=982
  _TRIGGERINFO._serialized_start=985
  _TRIGGERINFO._serialized_end=1265
  _FAKEOFFLINEINFO._serialized_start=1268
  _FAKEOFFLINEINFO._serialized_end=1566
  _BODERALARM._serialized_start=1568
  _BODERALARM._serialized_end=1639
  _OPTFENCEINFO._serialized_start=1641
  _OPTFENCEINFO._serialized_end=1754
  _OPTFENCEMEMBER._serialized_start=1756
  _OPTFENCEMEMBER._serialized_end=1875
  _OPTFAMILYFENCEINFO._serialized_start=1878
  _OPTFAMILYFENCEINFO._serialized_end=2015
  _OPTFENCEREQ._serialized_start=2017
  _OPTFENCEREQ._serialized_end=2136
  _OPTFENCERESP._serialized_start=2139
  _OPTFENCERESP._serialized_end=2294
  _TRIGGERINFORESP._serialized_start=2296
  _TRIGGERINFORESP._serialized_end=2362
  _TRIGGERTESTDRIVEINFO._serialized_start=2364
  _TRIGGERTESTDRIVEINFO._serialized_end=2480
  _TRIGGERINSTOREINFO._serialized_start=2482
  _TRIGGERINSTOREINFO._serialized_end=2595
# @@protoc_insertion_point(module_scope)