trainvel/sncfgtfs/gtfs_realtime_pb2.py

90 lines
15 KiB
Python
Raw Normal View History

2024-02-03 08:45:39 +00:00
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: gtfs-realtime.proto
# Protobuf Python Version: 4.25.2
"""Generated protocol buffer code."""
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
from google.protobuf.internal import builder as _builder
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database.Default()
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x13gtfs-realtime.proto\x12\x10transit_realtime\"y\n\x0b\x46\x65\x65\x64Message\x12,\n\x06header\x18\x01 \x02(\x0b\x32\x1c.transit_realtime.FeedHeader\x12,\n\x06\x65ntity\x18\x02 \x03(\x0b\x32\x1c.transit_realtime.FeedEntity*\x06\x08\xe8\x07\x10\xd0\x0f*\x06\x08\xa8\x46\x10\x90N\"\xd7\x01\n\nFeedHeader\x12\x1d\n\x15gtfs_realtime_version\x18\x01 \x02(\t\x12Q\n\x0eincrementality\x18\x02 \x01(\x0e\x32+.transit_realtime.FeedHeader.Incrementality:\x0c\x46ULL_DATASET\x12\x11\n\ttimestamp\x18\x03 \x01(\x04\"4\n\x0eIncrementality\x12\x10\n\x0c\x46ULL_DATASET\x10\x00\x12\x10\n\x0c\x44IFFERENTIAL\x10\x01*\x06\x08\xe8\x07\x10\xd0\x0f*\x06\x08\xa8\x46\x10\x90N\"\xfa\x01\n\nFeedEntity\x12\n\n\x02id\x18\x01 \x02(\t\x12\x19\n\nis_deleted\x18\x02 \x01(\x08:\x05\x66\x61lse\x12\x31\n\x0btrip_update\x18\x03 \x01(\x0b\x32\x1c.transit_realtime.TripUpdate\x12\x32\n\x07vehicle\x18\x04 \x01(\x0b\x32!.transit_realtime.VehiclePosition\x12&\n\x05\x61lert\x18\x05 \x01(\x0b\x32\x17.transit_realtime.Alert\x12&\n\x05shape\x18\x06 \x01(\x0b\x32\x17.transit_realtime.Shape*\x06\x08\xe8\x07\x10\xd0\x0f*\x06\x08\xa8\x46\x10\x90N\"\xeb\x08\n\nTripUpdate\x12.\n\x04trip\x18\x01 \x02(\x0b\x32 .transit_realtime.TripDescriptor\x12\x34\n\x07vehicle\x18\x03 \x01(\x0b\x32#.transit_realtime.VehicleDescriptor\x12\x45\n\x10stop_time_update\x18\x02 \x03(\x0b\x32+.transit_realtime.TripUpdate.StopTimeUpdate\x12\x11\n\ttimestamp\x18\x04 \x01(\x04\x12\r\n\x05\x64\x65lay\x18\x05 \x01(\x05\x12\x44\n\x0ftrip_properties\x18\x06 \x01(\x0b\x32+.transit_realtime.TripUpdate.TripProperties\x1aQ\n\rStopTimeEvent\x12\r\n\x05\x64\x65lay\x18\x01 \x01(\x05\x12\x0c\n\x04time\x18\x02 \x01(\x03\x12\x13\n\x0buncertainty\x18\x03 \x01(\x05*\x06\x08\xe8\x07\x10\xd0\x0f*\x06\x08\xa8\x46\x10\x90N\x1a\xf7\x04\n\x0eStopTimeUpdate\x12\x15\n\rstop_sequence\x18\x01 \x01(\r\x12\x0f\n\x07stop_id\x18\x04 \x01(\t\x12;\n\x07\x61rrival\x18\x02 \x01(\x0b\x32*.transit_realtime.TripUpdate.StopTimeEvent\x12=\n\tdeparture\x18\x03 \x01(\x0b\x32*.transit_realtime.TripUpdate.StopTimeEvent\x12U\n\x1a\x64\x65parture_occupancy_status\x18\x07 \x01(\x0e\x32\x31.transit_realtime.VehiclePosition.OccupancyStatus\x12j\n\x15schedule_relationship\x18\x05 \x01(\x0e\x32@.transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship:\tSCHEDULED\x12\\\n\x14stop_time_properties\x18\x06 \x01(\x0b\x32>.transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties\x1a>\n\x12StopTimeProperties\x12\x18\n\x10\x61ssigned_stop_id\x18\x01 \x01(\t*\x06\x08\xe8\x07\x10\xd0\x0f*\x06\x08\xa8\x46\x10\x90N\"P\n\x14ScheduleRelationship\x12\r\n\tSCHEDULED\x10\x00\x12\x0b\n\x07SKIPPED\x10\x01\x12\x0b\n\x07NO_DATA\x10\x02\x12\x0f\n\x0bUNSCHEDULED\x10\x03*\x06\x08\xe8\x07\x10\xd0\x0f*\x06\x08\xa8\x46\x10\x90N\x1ak\n\x0eTripProperties\x12\x0f\n\x07trip_id\x18\x01 \x01(\t\x12\x12\n\nstart_date\x18\x02 \x01(\t\x12\x12\n\nstart_time\x18\x03 \x01(\t\x12\x10\n\x08shape_id\x18\x04 \x01(\t*\x06\x08\xe8\x07\x10\xd0\x0f*\x06\x08\xa8\x46\x10\x90N*\x06\x08\xe8\x07\x10\xd0\x0f*\x06\x08\xa8\x46\x10\x90N\"\xdf\t\n\x0fVehiclePosition\x12.\n\x04trip\x18\x01 \x01(\x0b\x32 .transit_realtime.TripDescriptor\x12\x34\n\x07vehicle\x18\x08 \x01(\x0b\x32#.transit_realtime.VehicleDescriptor\x12,\n\x08position\x18\x02 \x01(\x0b\x32\x1a.transit_realtime.Position\x12\x1d\n\x15\x63urrent_stop_sequence\x18\x03 \x01(\r\x12\x0f\n\x07stop_id\x18\x07 \x01(\t\x12Z\n\x0e\x63urrent_status\x18\x04 \x01(\x0e\x32\x33.transit_realtime.VehiclePosition.VehicleStopStatus:\rIN_TRANSIT_TO\x12\x11\n\ttimestamp\x18\x05 \x01(\x04\x12K\n\x10\x63ongestion_level\x18\x06 \x01(\x0e\x32\x31.transit_realtime.VehiclePosition.CongestionLevel\x12K\n\x10occupancy_status\x18\t \x01(\x0e\x32\x31.transit_realtime.VehiclePosition.OccupancyStatus\x12\x1c\n\x14occupancy_percentage\x18\n \x01(\r\x12Q\n\x16multi_carriage_details\x18\x0b \x03(\x0b\x32\x31.transit_realtime.VehiclePosition.CarriageDetails\x1a\xd9\x01\n\x0f\x43\x61rriageDetails\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05label\x18\x02 \x01(\t\x12^\n\x10occupancy_status\x18\x03 \x01(\x0e\x32\x31
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'gtfs_realtime_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
_globals['DESCRIPTOR']._options = None
_globals['DESCRIPTOR']._serialized_options = b'\n\033com.google.transit.realtime'
_globals['_TRIPDESCRIPTOR_SCHEDULERELATIONSHIP'].values_by_name["REPLACEMENT"]._options = None
_globals['_TRIPDESCRIPTOR_SCHEDULERELATIONSHIP'].values_by_name["REPLACEMENT"]._serialized_options = b'\010\001'
_globals['_FEEDMESSAGE']._serialized_start=41
_globals['_FEEDMESSAGE']._serialized_end=162
_globals['_FEEDHEADER']._serialized_start=165
_globals['_FEEDHEADER']._serialized_end=380
_globals['_FEEDHEADER_INCREMENTALITY']._serialized_start=312
_globals['_FEEDHEADER_INCREMENTALITY']._serialized_end=364
_globals['_FEEDENTITY']._serialized_start=383
_globals['_FEEDENTITY']._serialized_end=633
_globals['_TRIPUPDATE']._serialized_start=636
_globals['_TRIPUPDATE']._serialized_end=1767
_globals['_TRIPUPDATE_STOPTIMEEVENT']._serialized_start=927
_globals['_TRIPUPDATE_STOPTIMEEVENT']._serialized_end=1008
_globals['_TRIPUPDATE_STOPTIMEUPDATE']._serialized_start=1011
_globals['_TRIPUPDATE_STOPTIMEUPDATE']._serialized_end=1642
_globals['_TRIPUPDATE_STOPTIMEUPDATE_STOPTIMEPROPERTIES']._serialized_start=1482
_globals['_TRIPUPDATE_STOPTIMEUPDATE_STOPTIMEPROPERTIES']._serialized_end=1544
_globals['_TRIPUPDATE_STOPTIMEUPDATE_SCHEDULERELATIONSHIP']._serialized_start=1546
_globals['_TRIPUPDATE_STOPTIMEUPDATE_SCHEDULERELATIONSHIP']._serialized_end=1626
_globals['_TRIPUPDATE_TRIPPROPERTIES']._serialized_start=1644
_globals['_TRIPUPDATE_TRIPPROPERTIES']._serialized_end=1751
_globals['_VEHICLEPOSITION']._serialized_start=1770
_globals['_VEHICLEPOSITION']._serialized_end=3017
_globals['_VEHICLEPOSITION_CARRIAGEDETAILS']._serialized_start=2364
_globals['_VEHICLEPOSITION_CARRIAGEDETAILS']._serialized_end=2581
_globals['_VEHICLEPOSITION_VEHICLESTOPSTATUS']._serialized_start=2583
_globals['_VEHICLEPOSITION_VEHICLESTOPSTATUS']._serialized_end=2654
_globals['_VEHICLEPOSITION_CONGESTIONLEVEL']._serialized_start=2656
_globals['_VEHICLEPOSITION_CONGESTIONLEVEL']._serialized_end=2781
_globals['_VEHICLEPOSITION_OCCUPANCYSTATUS']._serialized_start=2784
_globals['_VEHICLEPOSITION_OCCUPANCYSTATUS']._serialized_end=3001
_globals['_ALERT']._serialized_start=3020
_globals['_ALERT']._serialized_end=4407
_globals['_ALERT_CAUSE']._serialized_start=3877
_globals['_ALERT_CAUSE']._serialized_end=4093
_globals['_ALERT_EFFECT']._serialized_start=4096
_globals['_ALERT_EFFECT']._serialized_end=4317
_globals['_ALERT_SEVERITYLEVEL']._serialized_start=4319
_globals['_ALERT_SEVERITYLEVEL']._serialized_end=4391
_globals['_TIMERANGE']._serialized_start=4409
_globals['_TIMERANGE']._serialized_end=4464
_globals['_POSITION']._serialized_start=4466
_globals['_POSITION']._serialized_end=4579
_globals['_TRIPDESCRIPTOR']._serialized_start=4582
_globals['_TRIPDESCRIPTOR']._serialized_end=4929
_globals['_TRIPDESCRIPTOR_SCHEDULERELATIONSHIP']._serialized_start=4784
_globals['_TRIPDESCRIPTOR_SCHEDULERELATIONSHIP']._serialized_end=4913
_globals['_VEHICLEDESCRIPTOR']._serialized_start=4932
_globals['_VEHICLEDESCRIPTOR']._serialized_end=5223
_globals['_VEHICLEDESCRIPTOR_WHEELCHAIRACCESSIBLE']._serialized_start=5102
_globals['_VEHICLEDESCRIPTOR_WHEELCHAIRACCESSIBLE']._serialized_end=5207
_globals['_ENTITYSELECTOR']._serialized_start=5226
_globals['_ENTITYSELECTOR']._serialized_end=5402
_globals['_TRANSLATEDSTRING']._serialized_start=5405
_globals['_TRANSLATEDSTRING']._serialized_end=5571
_globals['_TRANSLATEDSTRING_TRANSLATION']._serialized_start=5494
_globals['_TRANSLATEDSTRING_TRANSLATION']._serialized_end=5555
_globals['_TRANSLATEDIMAGE']._serialized_start=5574
_globals['_TRANSLATEDIMAGE']._serialized_end=5767
_globals['_TRANSLATEDIMAGE_LOCALIZEDIMAGE']._serialized_start=5668
_globals['_TRANSLATEDIMAGE_LOCALIZEDIMAGE']._serialized_end=5751
_globals['_SHAPE']._serialized_start=5769
_globals['_SHAPE']._serialized_end=5836
# @@protoc_insertion_point(module_scope)