gtfs-realtime.pb.go 160 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722
  1. // SPDX-FileCopyrightText: The GTFS Specifications Authors
  2. //
  3. // SPDX-License-Identifier: Apache-2.0
  4. // Protocol definition file for GTFS Realtime.
  5. //
  6. // GTFS Realtime lets transit agencies provide consumers with realtime
  7. // information about disruptions to their service (stations closed, lines not
  8. // operating, important delays etc), location of their vehicles and expected
  9. // arrival times.
  10. //
  11. // This protocol is published at:
  12. // https://github.com/google/transit/tree/master/gtfs-realtime
  13. // Code generated by protoc-gen-go. DO NOT EDIT.
  14. // versions:
  15. // protoc-gen-go v1.31.0
  16. // protoc v4.24.4
  17. // source: gtfs-realtime.proto
  18. package transit_realtime
  19. import (
  20. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  21. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  22. reflect "reflect"
  23. sync "sync"
  24. )
  25. const (
  26. // Verify that this generated code is sufficiently up-to-date.
  27. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  28. // Verify that runtime/protoimpl is sufficiently up-to-date.
  29. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  30. )
  31. // Determines whether the current fetch is incremental. Currently,
  32. // DIFFERENTIAL mode is unsupported and behavior is unspecified for feeds
  33. // that use this mode. There are discussions on the GTFS Realtime mailing
  34. // list around fully specifying the behavior of DIFFERENTIAL mode and the
  35. // documentation will be updated when those discussions are finalized.
  36. type FeedHeader_Incrementality int32
  37. const (
  38. FeedHeader_FULL_DATASET FeedHeader_Incrementality = 0
  39. FeedHeader_DIFFERENTIAL FeedHeader_Incrementality = 1
  40. )
  41. // Enum value maps for FeedHeader_Incrementality.
  42. var (
  43. FeedHeader_Incrementality_name = map[int32]string{
  44. 0: "FULL_DATASET",
  45. 1: "DIFFERENTIAL",
  46. }
  47. FeedHeader_Incrementality_value = map[string]int32{
  48. "FULL_DATASET": 0,
  49. "DIFFERENTIAL": 1,
  50. }
  51. )
  52. func (x FeedHeader_Incrementality) Enum() *FeedHeader_Incrementality {
  53. p := new(FeedHeader_Incrementality)
  54. *p = x
  55. return p
  56. }
  57. func (x FeedHeader_Incrementality) String() string {
  58. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  59. }
  60. func (FeedHeader_Incrementality) Descriptor() protoreflect.EnumDescriptor {
  61. return file_gtfs_realtime_proto_enumTypes[0].Descriptor()
  62. }
  63. func (FeedHeader_Incrementality) Type() protoreflect.EnumType {
  64. return &file_gtfs_realtime_proto_enumTypes[0]
  65. }
  66. func (x FeedHeader_Incrementality) Number() protoreflect.EnumNumber {
  67. return protoreflect.EnumNumber(x)
  68. }
  69. // Deprecated: Do not use.
  70. func (x *FeedHeader_Incrementality) UnmarshalJSON(b []byte) error {
  71. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  72. if err != nil {
  73. return err
  74. }
  75. *x = FeedHeader_Incrementality(num)
  76. return nil
  77. }
  78. // Deprecated: Use FeedHeader_Incrementality.Descriptor instead.
  79. func (FeedHeader_Incrementality) EnumDescriptor() ([]byte, []int) {
  80. return file_gtfs_realtime_proto_rawDescGZIP(), []int{1, 0}
  81. }
  82. // The relation between the StopTimeEvents and the static schedule.
  83. type TripUpdate_StopTimeUpdate_ScheduleRelationship int32
  84. const (
  85. // The vehicle is proceeding in accordance with its static schedule of
  86. // stops, although not necessarily according to the times of the schedule.
  87. // At least one of arrival and departure must be provided. If the schedule
  88. // for this stop contains both arrival and departure times then so must
  89. // this update. Frequency-based trips (GTFS frequencies.txt with exact_times = 0)
  90. // should not have a SCHEDULED value and should use UNSCHEDULED instead.
  91. TripUpdate_StopTimeUpdate_SCHEDULED TripUpdate_StopTimeUpdate_ScheduleRelationship = 0
  92. // The stop is skipped, i.e., the vehicle will not stop at this stop.
  93. // Arrival and departure are optional.
  94. TripUpdate_StopTimeUpdate_SKIPPED TripUpdate_StopTimeUpdate_ScheduleRelationship = 1
  95. // No StopTimeEvents are given for this stop.
  96. // The main intention for this value is to give time predictions only for
  97. // part of a trip, i.e., if the last update for a trip has a NO_DATA
  98. // specifier, then StopTimeEvents for the rest of the stops in the trip
  99. // are considered to be unspecified as well.
  100. // Neither arrival nor departure should be supplied.
  101. TripUpdate_StopTimeUpdate_NO_DATA TripUpdate_StopTimeUpdate_ScheduleRelationship = 2
  102. // The vehicle is operating a trip defined in GTFS frequencies.txt with exact_times = 0.
  103. // This value should not be used for trips that are not defined in GTFS frequencies.txt,
  104. // or trips in GTFS frequencies.txt with exact_times = 1. Trips containing StopTimeUpdates
  105. // with ScheduleRelationship=UNSCHEDULED must also set TripDescriptor.ScheduleRelationship=UNSCHEDULED.
  106. // NOTE: This field is still experimental, and subject to change. It may be
  107. // formally adopted in the future.
  108. TripUpdate_StopTimeUpdate_UNSCHEDULED TripUpdate_StopTimeUpdate_ScheduleRelationship = 3
  109. )
  110. // Enum value maps for TripUpdate_StopTimeUpdate_ScheduleRelationship.
  111. var (
  112. TripUpdate_StopTimeUpdate_ScheduleRelationship_name = map[int32]string{
  113. 0: "SCHEDULED",
  114. 1: "SKIPPED",
  115. 2: "NO_DATA",
  116. 3: "UNSCHEDULED",
  117. }
  118. TripUpdate_StopTimeUpdate_ScheduleRelationship_value = map[string]int32{
  119. "SCHEDULED": 0,
  120. "SKIPPED": 1,
  121. "NO_DATA": 2,
  122. "UNSCHEDULED": 3,
  123. }
  124. )
  125. func (x TripUpdate_StopTimeUpdate_ScheduleRelationship) Enum() *TripUpdate_StopTimeUpdate_ScheduleRelationship {
  126. p := new(TripUpdate_StopTimeUpdate_ScheduleRelationship)
  127. *p = x
  128. return p
  129. }
  130. func (x TripUpdate_StopTimeUpdate_ScheduleRelationship) String() string {
  131. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  132. }
  133. func (TripUpdate_StopTimeUpdate_ScheduleRelationship) Descriptor() protoreflect.EnumDescriptor {
  134. return file_gtfs_realtime_proto_enumTypes[1].Descriptor()
  135. }
  136. func (TripUpdate_StopTimeUpdate_ScheduleRelationship) Type() protoreflect.EnumType {
  137. return &file_gtfs_realtime_proto_enumTypes[1]
  138. }
  139. func (x TripUpdate_StopTimeUpdate_ScheduleRelationship) Number() protoreflect.EnumNumber {
  140. return protoreflect.EnumNumber(x)
  141. }
  142. // Deprecated: Do not use.
  143. func (x *TripUpdate_StopTimeUpdate_ScheduleRelationship) UnmarshalJSON(b []byte) error {
  144. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  145. if err != nil {
  146. return err
  147. }
  148. *x = TripUpdate_StopTimeUpdate_ScheduleRelationship(num)
  149. return nil
  150. }
  151. // Deprecated: Use TripUpdate_StopTimeUpdate_ScheduleRelationship.Descriptor instead.
  152. func (TripUpdate_StopTimeUpdate_ScheduleRelationship) EnumDescriptor() ([]byte, []int) {
  153. return file_gtfs_realtime_proto_rawDescGZIP(), []int{3, 1, 0}
  154. }
  155. type VehiclePosition_VehicleStopStatus int32
  156. const (
  157. // The vehicle is just about to arrive at the stop (on a stop
  158. // display, the vehicle symbol typically flashes).
  159. VehiclePosition_INCOMING_AT VehiclePosition_VehicleStopStatus = 0
  160. // The vehicle is standing at the stop.
  161. VehiclePosition_STOPPED_AT VehiclePosition_VehicleStopStatus = 1
  162. // The vehicle has departed and is in transit to the next stop.
  163. VehiclePosition_IN_TRANSIT_TO VehiclePosition_VehicleStopStatus = 2
  164. )
  165. // Enum value maps for VehiclePosition_VehicleStopStatus.
  166. var (
  167. VehiclePosition_VehicleStopStatus_name = map[int32]string{
  168. 0: "INCOMING_AT",
  169. 1: "STOPPED_AT",
  170. 2: "IN_TRANSIT_TO",
  171. }
  172. VehiclePosition_VehicleStopStatus_value = map[string]int32{
  173. "INCOMING_AT": 0,
  174. "STOPPED_AT": 1,
  175. "IN_TRANSIT_TO": 2,
  176. }
  177. )
  178. func (x VehiclePosition_VehicleStopStatus) Enum() *VehiclePosition_VehicleStopStatus {
  179. p := new(VehiclePosition_VehicleStopStatus)
  180. *p = x
  181. return p
  182. }
  183. func (x VehiclePosition_VehicleStopStatus) String() string {
  184. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  185. }
  186. func (VehiclePosition_VehicleStopStatus) Descriptor() protoreflect.EnumDescriptor {
  187. return file_gtfs_realtime_proto_enumTypes[2].Descriptor()
  188. }
  189. func (VehiclePosition_VehicleStopStatus) Type() protoreflect.EnumType {
  190. return &file_gtfs_realtime_proto_enumTypes[2]
  191. }
  192. func (x VehiclePosition_VehicleStopStatus) Number() protoreflect.EnumNumber {
  193. return protoreflect.EnumNumber(x)
  194. }
  195. // Deprecated: Do not use.
  196. func (x *VehiclePosition_VehicleStopStatus) UnmarshalJSON(b []byte) error {
  197. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  198. if err != nil {
  199. return err
  200. }
  201. *x = VehiclePosition_VehicleStopStatus(num)
  202. return nil
  203. }
  204. // Deprecated: Use VehiclePosition_VehicleStopStatus.Descriptor instead.
  205. func (VehiclePosition_VehicleStopStatus) EnumDescriptor() ([]byte, []int) {
  206. return file_gtfs_realtime_proto_rawDescGZIP(), []int{4, 0}
  207. }
  208. // Congestion level that is affecting this vehicle.
  209. type VehiclePosition_CongestionLevel int32
  210. const (
  211. VehiclePosition_UNKNOWN_CONGESTION_LEVEL VehiclePosition_CongestionLevel = 0
  212. VehiclePosition_RUNNING_SMOOTHLY VehiclePosition_CongestionLevel = 1
  213. VehiclePosition_STOP_AND_GO VehiclePosition_CongestionLevel = 2
  214. VehiclePosition_CONGESTION VehiclePosition_CongestionLevel = 3
  215. VehiclePosition_SEVERE_CONGESTION VehiclePosition_CongestionLevel = 4 // People leaving their cars.
  216. )
  217. // Enum value maps for VehiclePosition_CongestionLevel.
  218. var (
  219. VehiclePosition_CongestionLevel_name = map[int32]string{
  220. 0: "UNKNOWN_CONGESTION_LEVEL",
  221. 1: "RUNNING_SMOOTHLY",
  222. 2: "STOP_AND_GO",
  223. 3: "CONGESTION",
  224. 4: "SEVERE_CONGESTION",
  225. }
  226. VehiclePosition_CongestionLevel_value = map[string]int32{
  227. "UNKNOWN_CONGESTION_LEVEL": 0,
  228. "RUNNING_SMOOTHLY": 1,
  229. "STOP_AND_GO": 2,
  230. "CONGESTION": 3,
  231. "SEVERE_CONGESTION": 4,
  232. }
  233. )
  234. func (x VehiclePosition_CongestionLevel) Enum() *VehiclePosition_CongestionLevel {
  235. p := new(VehiclePosition_CongestionLevel)
  236. *p = x
  237. return p
  238. }
  239. func (x VehiclePosition_CongestionLevel) String() string {
  240. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  241. }
  242. func (VehiclePosition_CongestionLevel) Descriptor() protoreflect.EnumDescriptor {
  243. return file_gtfs_realtime_proto_enumTypes[3].Descriptor()
  244. }
  245. func (VehiclePosition_CongestionLevel) Type() protoreflect.EnumType {
  246. return &file_gtfs_realtime_proto_enumTypes[3]
  247. }
  248. func (x VehiclePosition_CongestionLevel) Number() protoreflect.EnumNumber {
  249. return protoreflect.EnumNumber(x)
  250. }
  251. // Deprecated: Do not use.
  252. func (x *VehiclePosition_CongestionLevel) UnmarshalJSON(b []byte) error {
  253. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  254. if err != nil {
  255. return err
  256. }
  257. *x = VehiclePosition_CongestionLevel(num)
  258. return nil
  259. }
  260. // Deprecated: Use VehiclePosition_CongestionLevel.Descriptor instead.
  261. func (VehiclePosition_CongestionLevel) EnumDescriptor() ([]byte, []int) {
  262. return file_gtfs_realtime_proto_rawDescGZIP(), []int{4, 1}
  263. }
  264. // The state of passenger occupancy for the vehicle or carriage.
  265. // Individual producers may not publish all OccupancyStatus values. Therefore, consumers
  266. // must not assume that the OccupancyStatus values follow a linear scale.
  267. // Consumers should represent OccupancyStatus values as the state indicated
  268. // and intended by the producer. Likewise, producers must use OccupancyStatus values that
  269. // correspond to actual vehicle occupancy states.
  270. // For describing passenger occupancy levels on a linear scale, see `occupancy_percentage`.
  271. // This field is still experimental, and subject to change. It may be formally adopted in the future.
  272. type VehiclePosition_OccupancyStatus int32
  273. const (
  274. // The vehicle or carriage is considered empty by most measures, and has few or no
  275. // passengers onboard, but is still accepting passengers.
  276. VehiclePosition_EMPTY VehiclePosition_OccupancyStatus = 0
  277. // The vehicle or carriage has a large number of seats available.
  278. // The amount of free seats out of the total seats available to be
  279. // considered large enough to fall into this category is determined at the
  280. // discretion of the producer.
  281. VehiclePosition_MANY_SEATS_AVAILABLE VehiclePosition_OccupancyStatus = 1
  282. // The vehicle or carriage has a relatively small number of seats available.
  283. // The amount of free seats out of the total seats available to be
  284. // considered small enough to fall into this category is determined at the
  285. // discretion of the feed producer.
  286. VehiclePosition_FEW_SEATS_AVAILABLE VehiclePosition_OccupancyStatus = 2
  287. // The vehicle or carriage can currently accommodate only standing passengers.
  288. VehiclePosition_STANDING_ROOM_ONLY VehiclePosition_OccupancyStatus = 3
  289. // The vehicle or carriage can currently accommodate only standing passengers
  290. // and has limited space for them.
  291. VehiclePosition_CRUSHED_STANDING_ROOM_ONLY VehiclePosition_OccupancyStatus = 4
  292. // The vehicle or carriage is considered full by most measures, but may still be
  293. // allowing passengers to board.
  294. VehiclePosition_FULL VehiclePosition_OccupancyStatus = 5
  295. // The vehicle or carriage is not accepting passengers, but usually accepts passengers for boarding.
  296. VehiclePosition_NOT_ACCEPTING_PASSENGERS VehiclePosition_OccupancyStatus = 6
  297. // The vehicle or carriage doesn't have any occupancy data available at that time.
  298. VehiclePosition_NO_DATA_AVAILABLE VehiclePosition_OccupancyStatus = 7
  299. // The vehicle or carriage is not boardable and never accepts passengers.
  300. // Useful for special vehicles or carriages (engine, maintenance carriage, etc…).
  301. VehiclePosition_NOT_BOARDABLE VehiclePosition_OccupancyStatus = 8
  302. )
  303. // Enum value maps for VehiclePosition_OccupancyStatus.
  304. var (
  305. VehiclePosition_OccupancyStatus_name = map[int32]string{
  306. 0: "EMPTY",
  307. 1: "MANY_SEATS_AVAILABLE",
  308. 2: "FEW_SEATS_AVAILABLE",
  309. 3: "STANDING_ROOM_ONLY",
  310. 4: "CRUSHED_STANDING_ROOM_ONLY",
  311. 5: "FULL",
  312. 6: "NOT_ACCEPTING_PASSENGERS",
  313. 7: "NO_DATA_AVAILABLE",
  314. 8: "NOT_BOARDABLE",
  315. }
  316. VehiclePosition_OccupancyStatus_value = map[string]int32{
  317. "EMPTY": 0,
  318. "MANY_SEATS_AVAILABLE": 1,
  319. "FEW_SEATS_AVAILABLE": 2,
  320. "STANDING_ROOM_ONLY": 3,
  321. "CRUSHED_STANDING_ROOM_ONLY": 4,
  322. "FULL": 5,
  323. "NOT_ACCEPTING_PASSENGERS": 6,
  324. "NO_DATA_AVAILABLE": 7,
  325. "NOT_BOARDABLE": 8,
  326. }
  327. )
  328. func (x VehiclePosition_OccupancyStatus) Enum() *VehiclePosition_OccupancyStatus {
  329. p := new(VehiclePosition_OccupancyStatus)
  330. *p = x
  331. return p
  332. }
  333. func (x VehiclePosition_OccupancyStatus) String() string {
  334. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  335. }
  336. func (VehiclePosition_OccupancyStatus) Descriptor() protoreflect.EnumDescriptor {
  337. return file_gtfs_realtime_proto_enumTypes[4].Descriptor()
  338. }
  339. func (VehiclePosition_OccupancyStatus) Type() protoreflect.EnumType {
  340. return &file_gtfs_realtime_proto_enumTypes[4]
  341. }
  342. func (x VehiclePosition_OccupancyStatus) Number() protoreflect.EnumNumber {
  343. return protoreflect.EnumNumber(x)
  344. }
  345. // Deprecated: Do not use.
  346. func (x *VehiclePosition_OccupancyStatus) UnmarshalJSON(b []byte) error {
  347. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  348. if err != nil {
  349. return err
  350. }
  351. *x = VehiclePosition_OccupancyStatus(num)
  352. return nil
  353. }
  354. // Deprecated: Use VehiclePosition_OccupancyStatus.Descriptor instead.
  355. func (VehiclePosition_OccupancyStatus) EnumDescriptor() ([]byte, []int) {
  356. return file_gtfs_realtime_proto_rawDescGZIP(), []int{4, 2}
  357. }
  358. // Cause of this alert. If cause_detail is included, then Cause must also be included.
  359. type Alert_Cause int32
  360. const (
  361. Alert_UNKNOWN_CAUSE Alert_Cause = 1
  362. Alert_OTHER_CAUSE Alert_Cause = 2 // Not machine-representable.
  363. Alert_TECHNICAL_PROBLEM Alert_Cause = 3
  364. Alert_STRIKE Alert_Cause = 4 // Public transit agency employees stopped working.
  365. Alert_DEMONSTRATION Alert_Cause = 5 // People are blocking the streets.
  366. Alert_ACCIDENT Alert_Cause = 6
  367. Alert_HOLIDAY Alert_Cause = 7
  368. Alert_WEATHER Alert_Cause = 8
  369. Alert_MAINTENANCE Alert_Cause = 9
  370. Alert_CONSTRUCTION Alert_Cause = 10
  371. Alert_POLICE_ACTIVITY Alert_Cause = 11
  372. Alert_MEDICAL_EMERGENCY Alert_Cause = 12
  373. )
  374. // Enum value maps for Alert_Cause.
  375. var (
  376. Alert_Cause_name = map[int32]string{
  377. 1: "UNKNOWN_CAUSE",
  378. 2: "OTHER_CAUSE",
  379. 3: "TECHNICAL_PROBLEM",
  380. 4: "STRIKE",
  381. 5: "DEMONSTRATION",
  382. 6: "ACCIDENT",
  383. 7: "HOLIDAY",
  384. 8: "WEATHER",
  385. 9: "MAINTENANCE",
  386. 10: "CONSTRUCTION",
  387. 11: "POLICE_ACTIVITY",
  388. 12: "MEDICAL_EMERGENCY",
  389. }
  390. Alert_Cause_value = map[string]int32{
  391. "UNKNOWN_CAUSE": 1,
  392. "OTHER_CAUSE": 2,
  393. "TECHNICAL_PROBLEM": 3,
  394. "STRIKE": 4,
  395. "DEMONSTRATION": 5,
  396. "ACCIDENT": 6,
  397. "HOLIDAY": 7,
  398. "WEATHER": 8,
  399. "MAINTENANCE": 9,
  400. "CONSTRUCTION": 10,
  401. "POLICE_ACTIVITY": 11,
  402. "MEDICAL_EMERGENCY": 12,
  403. }
  404. )
  405. func (x Alert_Cause) Enum() *Alert_Cause {
  406. p := new(Alert_Cause)
  407. *p = x
  408. return p
  409. }
  410. func (x Alert_Cause) String() string {
  411. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  412. }
  413. func (Alert_Cause) Descriptor() protoreflect.EnumDescriptor {
  414. return file_gtfs_realtime_proto_enumTypes[5].Descriptor()
  415. }
  416. func (Alert_Cause) Type() protoreflect.EnumType {
  417. return &file_gtfs_realtime_proto_enumTypes[5]
  418. }
  419. func (x Alert_Cause) Number() protoreflect.EnumNumber {
  420. return protoreflect.EnumNumber(x)
  421. }
  422. // Deprecated: Do not use.
  423. func (x *Alert_Cause) UnmarshalJSON(b []byte) error {
  424. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  425. if err != nil {
  426. return err
  427. }
  428. *x = Alert_Cause(num)
  429. return nil
  430. }
  431. // Deprecated: Use Alert_Cause.Descriptor instead.
  432. func (Alert_Cause) EnumDescriptor() ([]byte, []int) {
  433. return file_gtfs_realtime_proto_rawDescGZIP(), []int{5, 0}
  434. }
  435. // What is the effect of this problem on the affected entity. If effect_detail is included, then Effect must also be included.
  436. type Alert_Effect int32
  437. const (
  438. Alert_NO_SERVICE Alert_Effect = 1
  439. Alert_REDUCED_SERVICE Alert_Effect = 2
  440. // We don't care about INsignificant delays: they are hard to detect, have
  441. // little impact on the user, and would clutter the results as they are too
  442. // frequent.
  443. Alert_SIGNIFICANT_DELAYS Alert_Effect = 3
  444. Alert_DETOUR Alert_Effect = 4
  445. Alert_ADDITIONAL_SERVICE Alert_Effect = 5
  446. Alert_MODIFIED_SERVICE Alert_Effect = 6
  447. Alert_OTHER_EFFECT Alert_Effect = 7
  448. Alert_UNKNOWN_EFFECT Alert_Effect = 8
  449. Alert_STOP_MOVED Alert_Effect = 9
  450. Alert_NO_EFFECT Alert_Effect = 10
  451. Alert_ACCESSIBILITY_ISSUE Alert_Effect = 11
  452. )
  453. // Enum value maps for Alert_Effect.
  454. var (
  455. Alert_Effect_name = map[int32]string{
  456. 1: "NO_SERVICE",
  457. 2: "REDUCED_SERVICE",
  458. 3: "SIGNIFICANT_DELAYS",
  459. 4: "DETOUR",
  460. 5: "ADDITIONAL_SERVICE",
  461. 6: "MODIFIED_SERVICE",
  462. 7: "OTHER_EFFECT",
  463. 8: "UNKNOWN_EFFECT",
  464. 9: "STOP_MOVED",
  465. 10: "NO_EFFECT",
  466. 11: "ACCESSIBILITY_ISSUE",
  467. }
  468. Alert_Effect_value = map[string]int32{
  469. "NO_SERVICE": 1,
  470. "REDUCED_SERVICE": 2,
  471. "SIGNIFICANT_DELAYS": 3,
  472. "DETOUR": 4,
  473. "ADDITIONAL_SERVICE": 5,
  474. "MODIFIED_SERVICE": 6,
  475. "OTHER_EFFECT": 7,
  476. "UNKNOWN_EFFECT": 8,
  477. "STOP_MOVED": 9,
  478. "NO_EFFECT": 10,
  479. "ACCESSIBILITY_ISSUE": 11,
  480. }
  481. )
  482. func (x Alert_Effect) Enum() *Alert_Effect {
  483. p := new(Alert_Effect)
  484. *p = x
  485. return p
  486. }
  487. func (x Alert_Effect) String() string {
  488. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  489. }
  490. func (Alert_Effect) Descriptor() protoreflect.EnumDescriptor {
  491. return file_gtfs_realtime_proto_enumTypes[6].Descriptor()
  492. }
  493. func (Alert_Effect) Type() protoreflect.EnumType {
  494. return &file_gtfs_realtime_proto_enumTypes[6]
  495. }
  496. func (x Alert_Effect) Number() protoreflect.EnumNumber {
  497. return protoreflect.EnumNumber(x)
  498. }
  499. // Deprecated: Do not use.
  500. func (x *Alert_Effect) UnmarshalJSON(b []byte) error {
  501. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  502. if err != nil {
  503. return err
  504. }
  505. *x = Alert_Effect(num)
  506. return nil
  507. }
  508. // Deprecated: Use Alert_Effect.Descriptor instead.
  509. func (Alert_Effect) EnumDescriptor() ([]byte, []int) {
  510. return file_gtfs_realtime_proto_rawDescGZIP(), []int{5, 1}
  511. }
  512. // Severity of this alert.
  513. type Alert_SeverityLevel int32
  514. const (
  515. Alert_UNKNOWN_SEVERITY Alert_SeverityLevel = 1
  516. Alert_INFO Alert_SeverityLevel = 2
  517. Alert_WARNING Alert_SeverityLevel = 3
  518. Alert_SEVERE Alert_SeverityLevel = 4
  519. )
  520. // Enum value maps for Alert_SeverityLevel.
  521. var (
  522. Alert_SeverityLevel_name = map[int32]string{
  523. 1: "UNKNOWN_SEVERITY",
  524. 2: "INFO",
  525. 3: "WARNING",
  526. 4: "SEVERE",
  527. }
  528. Alert_SeverityLevel_value = map[string]int32{
  529. "UNKNOWN_SEVERITY": 1,
  530. "INFO": 2,
  531. "WARNING": 3,
  532. "SEVERE": 4,
  533. }
  534. )
  535. func (x Alert_SeverityLevel) Enum() *Alert_SeverityLevel {
  536. p := new(Alert_SeverityLevel)
  537. *p = x
  538. return p
  539. }
  540. func (x Alert_SeverityLevel) String() string {
  541. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  542. }
  543. func (Alert_SeverityLevel) Descriptor() protoreflect.EnumDescriptor {
  544. return file_gtfs_realtime_proto_enumTypes[7].Descriptor()
  545. }
  546. func (Alert_SeverityLevel) Type() protoreflect.EnumType {
  547. return &file_gtfs_realtime_proto_enumTypes[7]
  548. }
  549. func (x Alert_SeverityLevel) Number() protoreflect.EnumNumber {
  550. return protoreflect.EnumNumber(x)
  551. }
  552. // Deprecated: Do not use.
  553. func (x *Alert_SeverityLevel) UnmarshalJSON(b []byte) error {
  554. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  555. if err != nil {
  556. return err
  557. }
  558. *x = Alert_SeverityLevel(num)
  559. return nil
  560. }
  561. // Deprecated: Use Alert_SeverityLevel.Descriptor instead.
  562. func (Alert_SeverityLevel) EnumDescriptor() ([]byte, []int) {
  563. return file_gtfs_realtime_proto_rawDescGZIP(), []int{5, 2}
  564. }
  565. // The relation between this trip and the static schedule. If a trip is done
  566. // in accordance with temporary schedule, not reflected in GTFS, then it
  567. // shouldn't be marked as SCHEDULED, but likely as ADDED.
  568. type TripDescriptor_ScheduleRelationship int32
  569. const (
  570. // Trip that is running in accordance with its GTFS schedule, or is close
  571. // enough to the scheduled trip to be associated with it.
  572. TripDescriptor_SCHEDULED TripDescriptor_ScheduleRelationship = 0
  573. // An extra trip that was added in addition to a running schedule, for
  574. // example, to replace a broken vehicle or to respond to sudden passenger
  575. // load.
  576. // NOTE: Currently, behavior is unspecified for feeds that use this mode. There are discussions on the GTFS GitHub
  577. // [(1)](https://github.com/google/transit/issues/106) [(2)](https://github.com/google/transit/pull/221)
  578. // [(3)](https://github.com/google/transit/pull/219) around fully specifying or deprecating ADDED trips and the
  579. // documentation will be updated when those discussions are finalized.
  580. TripDescriptor_ADDED TripDescriptor_ScheduleRelationship = 1
  581. // A trip that is running with no schedule associated to it (GTFS frequencies.txt exact_times=0).
  582. // Trips with ScheduleRelationship=UNSCHEDULED must also set all StopTimeUpdates.ScheduleRelationship=UNSCHEDULED.
  583. TripDescriptor_UNSCHEDULED TripDescriptor_ScheduleRelationship = 2
  584. // A trip that existed in the schedule but was removed.
  585. TripDescriptor_CANCELED TripDescriptor_ScheduleRelationship = 3
  586. // Should not be used - for backwards-compatibility only.
  587. //
  588. // Deprecated: Marked as deprecated in gtfs-realtime.proto.
  589. TripDescriptor_REPLACEMENT TripDescriptor_ScheduleRelationship = 5
  590. // An extra trip that was added in addition to a running schedule, for example, to replace a broken vehicle or to
  591. // respond to sudden passenger load. Used with TripUpdate.TripProperties.trip_id, TripUpdate.TripProperties.start_date,
  592. // and TripUpdate.TripProperties.start_time to copy an existing trip from static GTFS but start at a different service
  593. // date and/or time. Duplicating a trip is allowed if the service related to the original trip in (CSV) GTFS
  594. // (in calendar.txt or calendar_dates.txt) is operating within the next 30 days. The trip to be duplicated is
  595. // identified via TripUpdate.TripDescriptor.trip_id. This enumeration does not modify the existing trip referenced by
  596. // TripUpdate.TripDescriptor.trip_id - if a producer wants to cancel the original trip, it must publish a separate
  597. // TripUpdate with the value of CANCELED or DELETED. Trips defined in GTFS frequencies.txt with exact_times that is
  598. // empty or equal to 0 cannot be duplicated. The VehiclePosition.TripDescriptor.trip_id for the new trip must contain
  599. // the matching value from TripUpdate.TripProperties.trip_id and VehiclePosition.TripDescriptor.ScheduleRelationship
  600. // must also be set to DUPLICATED.
  601. // Existing producers and consumers that were using the ADDED enumeration to represent duplicated trips must follow
  602. // the migration guide (https://github.com/google/transit/tree/master/gtfs-realtime/spec/en/examples/migration-duplicated.md)
  603. // to transition to the DUPLICATED enumeration.
  604. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  605. TripDescriptor_DUPLICATED TripDescriptor_ScheduleRelationship = 6
  606. // A trip that existed in the schedule but was removed and must not be shown to users.
  607. // DELETED should be used instead of CANCELED to indicate that a transit provider would like to entirely remove
  608. // information about the corresponding trip from consuming applications, so the trip is not shown as cancelled to
  609. // riders, e.g. a trip that is entirely being replaced by another trip.
  610. // This designation becomes particularly important if several trips are cancelled and replaced with substitute service.
  611. // If consumers were to show explicit information about the cancellations it would distract from the more important
  612. // real-time predictions.
  613. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  614. TripDescriptor_DELETED TripDescriptor_ScheduleRelationship = 7
  615. )
  616. // Enum value maps for TripDescriptor_ScheduleRelationship.
  617. var (
  618. TripDescriptor_ScheduleRelationship_name = map[int32]string{
  619. 0: "SCHEDULED",
  620. 1: "ADDED",
  621. 2: "UNSCHEDULED",
  622. 3: "CANCELED",
  623. 5: "REPLACEMENT",
  624. 6: "DUPLICATED",
  625. 7: "DELETED",
  626. }
  627. TripDescriptor_ScheduleRelationship_value = map[string]int32{
  628. "SCHEDULED": 0,
  629. "ADDED": 1,
  630. "UNSCHEDULED": 2,
  631. "CANCELED": 3,
  632. "REPLACEMENT": 5,
  633. "DUPLICATED": 6,
  634. "DELETED": 7,
  635. }
  636. )
  637. func (x TripDescriptor_ScheduleRelationship) Enum() *TripDescriptor_ScheduleRelationship {
  638. p := new(TripDescriptor_ScheduleRelationship)
  639. *p = x
  640. return p
  641. }
  642. func (x TripDescriptor_ScheduleRelationship) String() string {
  643. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  644. }
  645. func (TripDescriptor_ScheduleRelationship) Descriptor() protoreflect.EnumDescriptor {
  646. return file_gtfs_realtime_proto_enumTypes[8].Descriptor()
  647. }
  648. func (TripDescriptor_ScheduleRelationship) Type() protoreflect.EnumType {
  649. return &file_gtfs_realtime_proto_enumTypes[8]
  650. }
  651. func (x TripDescriptor_ScheduleRelationship) Number() protoreflect.EnumNumber {
  652. return protoreflect.EnumNumber(x)
  653. }
  654. // Deprecated: Do not use.
  655. func (x *TripDescriptor_ScheduleRelationship) UnmarshalJSON(b []byte) error {
  656. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  657. if err != nil {
  658. return err
  659. }
  660. *x = TripDescriptor_ScheduleRelationship(num)
  661. return nil
  662. }
  663. // Deprecated: Use TripDescriptor_ScheduleRelationship.Descriptor instead.
  664. func (TripDescriptor_ScheduleRelationship) EnumDescriptor() ([]byte, []int) {
  665. return file_gtfs_realtime_proto_rawDescGZIP(), []int{8, 0}
  666. }
  667. type VehicleDescriptor_WheelchairAccessible int32
  668. const (
  669. // The trip doesn't have information about wheelchair accessibility.
  670. // This is the **default** behavior. If the static GTFS contains a
  671. // _wheelchair_accessible_ value, it won't be overwritten.
  672. VehicleDescriptor_NO_VALUE VehicleDescriptor_WheelchairAccessible = 0
  673. // The trip has no accessibility value present.
  674. // This value will overwrite the value from the GTFS.
  675. VehicleDescriptor_UNKNOWN VehicleDescriptor_WheelchairAccessible = 1
  676. // The trip is wheelchair accessible.
  677. // This value will overwrite the value from the GTFS.
  678. VehicleDescriptor_WHEELCHAIR_ACCESSIBLE VehicleDescriptor_WheelchairAccessible = 2
  679. // The trip is **not** wheelchair accessible.
  680. // This value will overwrite the value from the GTFS.
  681. VehicleDescriptor_WHEELCHAIR_INACCESSIBLE VehicleDescriptor_WheelchairAccessible = 3
  682. )
  683. // Enum value maps for VehicleDescriptor_WheelchairAccessible.
  684. var (
  685. VehicleDescriptor_WheelchairAccessible_name = map[int32]string{
  686. 0: "NO_VALUE",
  687. 1: "UNKNOWN",
  688. 2: "WHEELCHAIR_ACCESSIBLE",
  689. 3: "WHEELCHAIR_INACCESSIBLE",
  690. }
  691. VehicleDescriptor_WheelchairAccessible_value = map[string]int32{
  692. "NO_VALUE": 0,
  693. "UNKNOWN": 1,
  694. "WHEELCHAIR_ACCESSIBLE": 2,
  695. "WHEELCHAIR_INACCESSIBLE": 3,
  696. }
  697. )
  698. func (x VehicleDescriptor_WheelchairAccessible) Enum() *VehicleDescriptor_WheelchairAccessible {
  699. p := new(VehicleDescriptor_WheelchairAccessible)
  700. *p = x
  701. return p
  702. }
  703. func (x VehicleDescriptor_WheelchairAccessible) String() string {
  704. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  705. }
  706. func (VehicleDescriptor_WheelchairAccessible) Descriptor() protoreflect.EnumDescriptor {
  707. return file_gtfs_realtime_proto_enumTypes[9].Descriptor()
  708. }
  709. func (VehicleDescriptor_WheelchairAccessible) Type() protoreflect.EnumType {
  710. return &file_gtfs_realtime_proto_enumTypes[9]
  711. }
  712. func (x VehicleDescriptor_WheelchairAccessible) Number() protoreflect.EnumNumber {
  713. return protoreflect.EnumNumber(x)
  714. }
  715. // Deprecated: Do not use.
  716. func (x *VehicleDescriptor_WheelchairAccessible) UnmarshalJSON(b []byte) error {
  717. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  718. if err != nil {
  719. return err
  720. }
  721. *x = VehicleDescriptor_WheelchairAccessible(num)
  722. return nil
  723. }
  724. // Deprecated: Use VehicleDescriptor_WheelchairAccessible.Descriptor instead.
  725. func (VehicleDescriptor_WheelchairAccessible) EnumDescriptor() ([]byte, []int) {
  726. return file_gtfs_realtime_proto_rawDescGZIP(), []int{9, 0}
  727. }
  728. // The contents of a feed message.
  729. // A feed is a continuous stream of feed messages. Each message in the stream is
  730. // obtained as a response to an appropriate HTTP GET request.
  731. // A realtime feed is always defined with relation to an existing GTFS feed.
  732. // All the entity ids are resolved with respect to the GTFS feed.
  733. // Note that "required" and "optional" as stated in this file refer to Protocol
  734. // Buffer cardinality, not semantic cardinality. See reference.md at
  735. // https://github.com/google/transit/tree/master/gtfs-realtime for field
  736. // semantic cardinality.
  737. type FeedMessage struct {
  738. state protoimpl.MessageState
  739. sizeCache protoimpl.SizeCache
  740. unknownFields protoimpl.UnknownFields
  741. extensionFields protoimpl.ExtensionFields
  742. // Metadata about this feed and feed message.
  743. Header *FeedHeader `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
  744. // Contents of the feed.
  745. Entity []*FeedEntity `protobuf:"bytes,2,rep,name=entity" json:"entity,omitempty"`
  746. }
  747. func (x *FeedMessage) Reset() {
  748. *x = FeedMessage{}
  749. if protoimpl.UnsafeEnabled {
  750. mi := &file_gtfs_realtime_proto_msgTypes[0]
  751. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  752. ms.StoreMessageInfo(mi)
  753. }
  754. }
  755. func (x *FeedMessage) String() string {
  756. return protoimpl.X.MessageStringOf(x)
  757. }
  758. func (*FeedMessage) ProtoMessage() {}
  759. func (x *FeedMessage) ProtoReflect() protoreflect.Message {
  760. mi := &file_gtfs_realtime_proto_msgTypes[0]
  761. if protoimpl.UnsafeEnabled && x != nil {
  762. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  763. if ms.LoadMessageInfo() == nil {
  764. ms.StoreMessageInfo(mi)
  765. }
  766. return ms
  767. }
  768. return mi.MessageOf(x)
  769. }
  770. // Deprecated: Use FeedMessage.ProtoReflect.Descriptor instead.
  771. func (*FeedMessage) Descriptor() ([]byte, []int) {
  772. return file_gtfs_realtime_proto_rawDescGZIP(), []int{0}
  773. }
  774. func (x *FeedMessage) GetHeader() *FeedHeader {
  775. if x != nil {
  776. return x.Header
  777. }
  778. return nil
  779. }
  780. func (x *FeedMessage) GetEntity() []*FeedEntity {
  781. if x != nil {
  782. return x.Entity
  783. }
  784. return nil
  785. }
  786. // Metadata about a feed, included in feed messages.
  787. type FeedHeader struct {
  788. state protoimpl.MessageState
  789. sizeCache protoimpl.SizeCache
  790. unknownFields protoimpl.UnknownFields
  791. extensionFields protoimpl.ExtensionFields
  792. // Version of the feed specification.
  793. // The current version is 2.0. Valid versions are "2.0", "1.0".
  794. GtfsRealtimeVersion *string `protobuf:"bytes,1,req,name=gtfs_realtime_version,json=gtfsRealtimeVersion" json:"gtfs_realtime_version,omitempty"`
  795. Incrementality *FeedHeader_Incrementality `protobuf:"varint,2,opt,name=incrementality,enum=transit_realtime.FeedHeader_Incrementality,def=0" json:"incrementality,omitempty"`
  796. // This timestamp identifies the moment when the content of this feed has been
  797. // created (in server time). In POSIX time (i.e., number of seconds since
  798. // January 1st 1970 00:00:00 UTC).
  799. Timestamp *uint64 `protobuf:"varint,3,opt,name=timestamp" json:"timestamp,omitempty"`
  800. }
  801. // Default values for FeedHeader fields.
  802. const (
  803. Default_FeedHeader_Incrementality = FeedHeader_FULL_DATASET
  804. )
  805. func (x *FeedHeader) Reset() {
  806. *x = FeedHeader{}
  807. if protoimpl.UnsafeEnabled {
  808. mi := &file_gtfs_realtime_proto_msgTypes[1]
  809. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  810. ms.StoreMessageInfo(mi)
  811. }
  812. }
  813. func (x *FeedHeader) String() string {
  814. return protoimpl.X.MessageStringOf(x)
  815. }
  816. func (*FeedHeader) ProtoMessage() {}
  817. func (x *FeedHeader) ProtoReflect() protoreflect.Message {
  818. mi := &file_gtfs_realtime_proto_msgTypes[1]
  819. if protoimpl.UnsafeEnabled && x != nil {
  820. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  821. if ms.LoadMessageInfo() == nil {
  822. ms.StoreMessageInfo(mi)
  823. }
  824. return ms
  825. }
  826. return mi.MessageOf(x)
  827. }
  828. // Deprecated: Use FeedHeader.ProtoReflect.Descriptor instead.
  829. func (*FeedHeader) Descriptor() ([]byte, []int) {
  830. return file_gtfs_realtime_proto_rawDescGZIP(), []int{1}
  831. }
  832. func (x *FeedHeader) GetGtfsRealtimeVersion() string {
  833. if x != nil && x.GtfsRealtimeVersion != nil {
  834. return *x.GtfsRealtimeVersion
  835. }
  836. return ""
  837. }
  838. func (x *FeedHeader) GetIncrementality() FeedHeader_Incrementality {
  839. if x != nil && x.Incrementality != nil {
  840. return *x.Incrementality
  841. }
  842. return Default_FeedHeader_Incrementality
  843. }
  844. func (x *FeedHeader) GetTimestamp() uint64 {
  845. if x != nil && x.Timestamp != nil {
  846. return *x.Timestamp
  847. }
  848. return 0
  849. }
  850. // A definition (or update) of an entity in the transit feed.
  851. type FeedEntity struct {
  852. state protoimpl.MessageState
  853. sizeCache protoimpl.SizeCache
  854. unknownFields protoimpl.UnknownFields
  855. extensionFields protoimpl.ExtensionFields
  856. // The ids are used only to provide incrementality support. The id should be
  857. // unique within a FeedMessage. Consequent FeedMessages may contain
  858. // FeedEntities with the same id. In case of a DIFFERENTIAL update the new
  859. // FeedEntity with some id will replace the old FeedEntity with the same id
  860. // (or delete it - see is_deleted below).
  861. // The actual GTFS entities (e.g. stations, routes, trips) referenced by the
  862. // feed must be specified by explicit selectors (see EntitySelector below for
  863. // more info).
  864. Id *string `protobuf:"bytes,1,req,name=id" json:"id,omitempty"`
  865. // Whether this entity is to be deleted. Relevant only for incremental
  866. // fetches.
  867. IsDeleted *bool `protobuf:"varint,2,opt,name=is_deleted,json=isDeleted,def=0" json:"is_deleted,omitempty"`
  868. // Data about the entity itself. Exactly one of the following fields must be
  869. // present (unless the entity is being deleted).
  870. TripUpdate *TripUpdate `protobuf:"bytes,3,opt,name=trip_update,json=tripUpdate" json:"trip_update,omitempty"`
  871. Vehicle *VehiclePosition `protobuf:"bytes,4,opt,name=vehicle" json:"vehicle,omitempty"`
  872. Alert *Alert `protobuf:"bytes,5,opt,name=alert" json:"alert,omitempty"`
  873. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  874. Shape *Shape `protobuf:"bytes,6,opt,name=shape" json:"shape,omitempty"`
  875. }
  876. // Default values for FeedEntity fields.
  877. const (
  878. Default_FeedEntity_IsDeleted = bool(false)
  879. )
  880. func (x *FeedEntity) Reset() {
  881. *x = FeedEntity{}
  882. if protoimpl.UnsafeEnabled {
  883. mi := &file_gtfs_realtime_proto_msgTypes[2]
  884. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  885. ms.StoreMessageInfo(mi)
  886. }
  887. }
  888. func (x *FeedEntity) String() string {
  889. return protoimpl.X.MessageStringOf(x)
  890. }
  891. func (*FeedEntity) ProtoMessage() {}
  892. func (x *FeedEntity) ProtoReflect() protoreflect.Message {
  893. mi := &file_gtfs_realtime_proto_msgTypes[2]
  894. if protoimpl.UnsafeEnabled && x != nil {
  895. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  896. if ms.LoadMessageInfo() == nil {
  897. ms.StoreMessageInfo(mi)
  898. }
  899. return ms
  900. }
  901. return mi.MessageOf(x)
  902. }
  903. // Deprecated: Use FeedEntity.ProtoReflect.Descriptor instead.
  904. func (*FeedEntity) Descriptor() ([]byte, []int) {
  905. return file_gtfs_realtime_proto_rawDescGZIP(), []int{2}
  906. }
  907. func (x *FeedEntity) GetId() string {
  908. if x != nil && x.Id != nil {
  909. return *x.Id
  910. }
  911. return ""
  912. }
  913. func (x *FeedEntity) GetIsDeleted() bool {
  914. if x != nil && x.IsDeleted != nil {
  915. return *x.IsDeleted
  916. }
  917. return Default_FeedEntity_IsDeleted
  918. }
  919. func (x *FeedEntity) GetTripUpdate() *TripUpdate {
  920. if x != nil {
  921. return x.TripUpdate
  922. }
  923. return nil
  924. }
  925. func (x *FeedEntity) GetVehicle() *VehiclePosition {
  926. if x != nil {
  927. return x.Vehicle
  928. }
  929. return nil
  930. }
  931. func (x *FeedEntity) GetAlert() *Alert {
  932. if x != nil {
  933. return x.Alert
  934. }
  935. return nil
  936. }
  937. func (x *FeedEntity) GetShape() *Shape {
  938. if x != nil {
  939. return x.Shape
  940. }
  941. return nil
  942. }
  943. // Realtime update of the progress of a vehicle along a trip.
  944. // Depending on the value of ScheduleRelationship, a TripUpdate can specify:
  945. // - A trip that proceeds along the schedule.
  946. // - A trip that proceeds along a route but has no fixed schedule.
  947. // - A trip that have been added or removed with regard to schedule.
  948. //
  949. // The updates can be for future, predicted arrival/departure events, or for
  950. // past events that already occurred.
  951. // Normally, updates should get more precise and more certain (see
  952. // uncertainty below) as the events gets closer to current time.
  953. // Even if that is not possible, the information for past events should be
  954. // precise and certain. In particular, if an update points to time in the past
  955. // but its update's uncertainty is not 0, the client should conclude that the
  956. // update is a (wrong) prediction and that the trip has not completed yet.
  957. //
  958. // Note that the update can describe a trip that is already completed.
  959. // To this end, it is enough to provide an update for the last stop of the trip.
  960. // If the time of that is in the past, the client will conclude from that that
  961. // the whole trip is in the past (it is possible, although inconsequential, to
  962. // also provide updates for preceding stops).
  963. // This option is most relevant for a trip that has completed ahead of schedule,
  964. // but according to the schedule, the trip is still proceeding at the current
  965. // time. Removing the updates for this trip could make the client assume
  966. // that the trip is still proceeding.
  967. // Note that the feed provider is allowed, but not required, to purge past
  968. // updates - this is one case where this would be practically useful.
  969. type TripUpdate struct {
  970. state protoimpl.MessageState
  971. sizeCache protoimpl.SizeCache
  972. unknownFields protoimpl.UnknownFields
  973. extensionFields protoimpl.ExtensionFields
  974. // The Trip that this message applies to. There can be at most one
  975. // TripUpdate entity for each actual trip instance.
  976. // If there is none, that means there is no prediction information available.
  977. // It does *not* mean that the trip is progressing according to schedule.
  978. Trip *TripDescriptor `protobuf:"bytes,1,req,name=trip" json:"trip,omitempty"`
  979. // Additional information on the vehicle that is serving this trip.
  980. Vehicle *VehicleDescriptor `protobuf:"bytes,3,opt,name=vehicle" json:"vehicle,omitempty"`
  981. // Updates to StopTimes for the trip (both future, i.e., predictions, and in
  982. // some cases, past ones, i.e., those that already happened).
  983. // The updates must be sorted by stop_sequence, and apply for all the
  984. // following stops of the trip up to the next specified one.
  985. //
  986. // Example 1:
  987. // For a trip with 20 stops, a StopTimeUpdate with arrival delay and departure
  988. // delay of 0 for stop_sequence of the current stop means that the trip is
  989. // exactly on time.
  990. //
  991. // Example 2:
  992. // For the same trip instance, 3 StopTimeUpdates are provided:
  993. // - delay of 5 min for stop_sequence 3
  994. // - delay of 1 min for stop_sequence 8
  995. // - delay of unspecified duration for stop_sequence 10
  996. // This will be interpreted as:
  997. // - stop_sequences 3,4,5,6,7 have delay of 5 min.
  998. // - stop_sequences 8,9 have delay of 1 min.
  999. // - stop_sequences 10,... have unknown delay.
  1000. StopTimeUpdate []*TripUpdate_StopTimeUpdate `protobuf:"bytes,2,rep,name=stop_time_update,json=stopTimeUpdate" json:"stop_time_update,omitempty"`
  1001. // The most recent moment at which the vehicle's real-time progress was measured
  1002. // to estimate StopTimes in the future. When StopTimes in the past are provided,
  1003. // arrival/departure times may be earlier than this value. In POSIX
  1004. // time (i.e., the number of seconds since January 1st 1970 00:00:00 UTC).
  1005. Timestamp *uint64 `protobuf:"varint,4,opt,name=timestamp" json:"timestamp,omitempty"`
  1006. // The current schedule deviation for the trip. Delay should only be
  1007. // specified when the prediction is given relative to some existing schedule
  1008. // in GTFS.
  1009. //
  1010. // Delay (in seconds) can be positive (meaning that the vehicle is late) or
  1011. // negative (meaning that the vehicle is ahead of schedule). Delay of 0
  1012. // means that the vehicle is exactly on time.
  1013. //
  1014. // Delay information in StopTimeUpdates take precedent of trip-level delay
  1015. // information, such that trip-level delay is only propagated until the next
  1016. // stop along the trip with a StopTimeUpdate delay value specified.
  1017. //
  1018. // Feed providers are strongly encouraged to provide a TripUpdate.timestamp
  1019. // value indicating when the delay value was last updated, in order to
  1020. // evaluate the freshness of the data.
  1021. //
  1022. // NOTE: This field is still experimental, and subject to change. It may be
  1023. // formally adopted in the future.
  1024. Delay *int32 `protobuf:"varint,5,opt,name=delay" json:"delay,omitempty"`
  1025. TripProperties *TripUpdate_TripProperties `protobuf:"bytes,6,opt,name=trip_properties,json=tripProperties" json:"trip_properties,omitempty"`
  1026. }
  1027. func (x *TripUpdate) Reset() {
  1028. *x = TripUpdate{}
  1029. if protoimpl.UnsafeEnabled {
  1030. mi := &file_gtfs_realtime_proto_msgTypes[3]
  1031. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1032. ms.StoreMessageInfo(mi)
  1033. }
  1034. }
  1035. func (x *TripUpdate) String() string {
  1036. return protoimpl.X.MessageStringOf(x)
  1037. }
  1038. func (*TripUpdate) ProtoMessage() {}
  1039. func (x *TripUpdate) ProtoReflect() protoreflect.Message {
  1040. mi := &file_gtfs_realtime_proto_msgTypes[3]
  1041. if protoimpl.UnsafeEnabled && x != nil {
  1042. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1043. if ms.LoadMessageInfo() == nil {
  1044. ms.StoreMessageInfo(mi)
  1045. }
  1046. return ms
  1047. }
  1048. return mi.MessageOf(x)
  1049. }
  1050. // Deprecated: Use TripUpdate.ProtoReflect.Descriptor instead.
  1051. func (*TripUpdate) Descriptor() ([]byte, []int) {
  1052. return file_gtfs_realtime_proto_rawDescGZIP(), []int{3}
  1053. }
  1054. func (x *TripUpdate) GetTrip() *TripDescriptor {
  1055. if x != nil {
  1056. return x.Trip
  1057. }
  1058. return nil
  1059. }
  1060. func (x *TripUpdate) GetVehicle() *VehicleDescriptor {
  1061. if x != nil {
  1062. return x.Vehicle
  1063. }
  1064. return nil
  1065. }
  1066. func (x *TripUpdate) GetStopTimeUpdate() []*TripUpdate_StopTimeUpdate {
  1067. if x != nil {
  1068. return x.StopTimeUpdate
  1069. }
  1070. return nil
  1071. }
  1072. func (x *TripUpdate) GetTimestamp() uint64 {
  1073. if x != nil && x.Timestamp != nil {
  1074. return *x.Timestamp
  1075. }
  1076. return 0
  1077. }
  1078. func (x *TripUpdate) GetDelay() int32 {
  1079. if x != nil && x.Delay != nil {
  1080. return *x.Delay
  1081. }
  1082. return 0
  1083. }
  1084. func (x *TripUpdate) GetTripProperties() *TripUpdate_TripProperties {
  1085. if x != nil {
  1086. return x.TripProperties
  1087. }
  1088. return nil
  1089. }
  1090. // Realtime positioning information for a given vehicle.
  1091. type VehiclePosition struct {
  1092. state protoimpl.MessageState
  1093. sizeCache protoimpl.SizeCache
  1094. unknownFields protoimpl.UnknownFields
  1095. extensionFields protoimpl.ExtensionFields
  1096. // The Trip that this vehicle is serving.
  1097. // Can be empty or partial if the vehicle can not be identified with a given
  1098. // trip instance.
  1099. Trip *TripDescriptor `protobuf:"bytes,1,opt,name=trip" json:"trip,omitempty"`
  1100. // Additional information on the vehicle that is serving this trip.
  1101. Vehicle *VehicleDescriptor `protobuf:"bytes,8,opt,name=vehicle" json:"vehicle,omitempty"`
  1102. // Current position of this vehicle.
  1103. Position *Position `protobuf:"bytes,2,opt,name=position" json:"position,omitempty"`
  1104. // The stop sequence index of the current stop. The meaning of
  1105. // current_stop_sequence (i.e., the stop that it refers to) is determined by
  1106. // current_status.
  1107. // If current_status is missing IN_TRANSIT_TO is assumed.
  1108. CurrentStopSequence *uint32 `protobuf:"varint,3,opt,name=current_stop_sequence,json=currentStopSequence" json:"current_stop_sequence,omitempty"`
  1109. // Identifies the current stop. The value must be the same as in stops.txt in
  1110. // the corresponding GTFS feed.
  1111. StopId *string `protobuf:"bytes,7,opt,name=stop_id,json=stopId" json:"stop_id,omitempty"`
  1112. // The exact status of the vehicle with respect to the current stop.
  1113. // Ignored if current_stop_sequence is missing.
  1114. CurrentStatus *VehiclePosition_VehicleStopStatus `protobuf:"varint,4,opt,name=current_status,json=currentStatus,enum=transit_realtime.VehiclePosition_VehicleStopStatus,def=2" json:"current_status,omitempty"`
  1115. // Moment at which the vehicle's position was measured. In POSIX time
  1116. // (i.e., number of seconds since January 1st 1970 00:00:00 UTC).
  1117. Timestamp *uint64 `protobuf:"varint,5,opt,name=timestamp" json:"timestamp,omitempty"`
  1118. CongestionLevel *VehiclePosition_CongestionLevel `protobuf:"varint,6,opt,name=congestion_level,json=congestionLevel,enum=transit_realtime.VehiclePosition_CongestionLevel" json:"congestion_level,omitempty"`
  1119. // If multi_carriage_status is populated with per-carriage OccupancyStatus,
  1120. // then this field should describe the entire vehicle with all carriages accepting passengers considered.
  1121. OccupancyStatus *VehiclePosition_OccupancyStatus `protobuf:"varint,9,opt,name=occupancy_status,json=occupancyStatus,enum=transit_realtime.VehiclePosition_OccupancyStatus" json:"occupancy_status,omitempty"`
  1122. // A percentage value indicating the degree of passenger occupancy in the vehicle.
  1123. // The values are represented as an integer without decimals. 0 means 0% and 100 means 100%.
  1124. // The value 100 should represent the total maximum occupancy the vehicle was designed for,
  1125. // including both seated and standing capacity, and current operating regulations allow.
  1126. // The value may exceed 100 if there are more passengers than the maximum designed capacity.
  1127. // The precision of occupancy_percentage should be low enough that individual passengers cannot be tracked boarding or alighting the vehicle.
  1128. // If multi_carriage_status is populated with per-carriage occupancy_percentage,
  1129. // then this field should describe the entire vehicle with all carriages accepting passengers considered.
  1130. // This field is still experimental, and subject to change. It may be formally adopted in the future.
  1131. OccupancyPercentage *uint32 `protobuf:"varint,10,opt,name=occupancy_percentage,json=occupancyPercentage" json:"occupancy_percentage,omitempty"`
  1132. // Details of the multiple carriages of this given vehicle.
  1133. // The first occurrence represents the first carriage of the vehicle,
  1134. // given the current direction of travel.
  1135. // The number of occurrences of the multi_carriage_details
  1136. // field represents the number of carriages of the vehicle.
  1137. // It also includes non boardable carriages,
  1138. // like engines, maintenance carriages, etc… as they provide valuable
  1139. // information to passengers about where to stand on a platform.
  1140. // This message/field is still experimental, and subject to change. It may be formally adopted in the future.
  1141. MultiCarriageDetails []*VehiclePosition_CarriageDetails `protobuf:"bytes,11,rep,name=multi_carriage_details,json=multiCarriageDetails" json:"multi_carriage_details,omitempty"`
  1142. }
  1143. // Default values for VehiclePosition fields.
  1144. const (
  1145. Default_VehiclePosition_CurrentStatus = VehiclePosition_IN_TRANSIT_TO
  1146. )
  1147. func (x *VehiclePosition) Reset() {
  1148. *x = VehiclePosition{}
  1149. if protoimpl.UnsafeEnabled {
  1150. mi := &file_gtfs_realtime_proto_msgTypes[4]
  1151. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1152. ms.StoreMessageInfo(mi)
  1153. }
  1154. }
  1155. func (x *VehiclePosition) String() string {
  1156. return protoimpl.X.MessageStringOf(x)
  1157. }
  1158. func (*VehiclePosition) ProtoMessage() {}
  1159. func (x *VehiclePosition) ProtoReflect() protoreflect.Message {
  1160. mi := &file_gtfs_realtime_proto_msgTypes[4]
  1161. if protoimpl.UnsafeEnabled && x != nil {
  1162. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1163. if ms.LoadMessageInfo() == nil {
  1164. ms.StoreMessageInfo(mi)
  1165. }
  1166. return ms
  1167. }
  1168. return mi.MessageOf(x)
  1169. }
  1170. // Deprecated: Use VehiclePosition.ProtoReflect.Descriptor instead.
  1171. func (*VehiclePosition) Descriptor() ([]byte, []int) {
  1172. return file_gtfs_realtime_proto_rawDescGZIP(), []int{4}
  1173. }
  1174. func (x *VehiclePosition) GetTrip() *TripDescriptor {
  1175. if x != nil {
  1176. return x.Trip
  1177. }
  1178. return nil
  1179. }
  1180. func (x *VehiclePosition) GetVehicle() *VehicleDescriptor {
  1181. if x != nil {
  1182. return x.Vehicle
  1183. }
  1184. return nil
  1185. }
  1186. func (x *VehiclePosition) GetPosition() *Position {
  1187. if x != nil {
  1188. return x.Position
  1189. }
  1190. return nil
  1191. }
  1192. func (x *VehiclePosition) GetCurrentStopSequence() uint32 {
  1193. if x != nil && x.CurrentStopSequence != nil {
  1194. return *x.CurrentStopSequence
  1195. }
  1196. return 0
  1197. }
  1198. func (x *VehiclePosition) GetStopId() string {
  1199. if x != nil && x.StopId != nil {
  1200. return *x.StopId
  1201. }
  1202. return ""
  1203. }
  1204. func (x *VehiclePosition) GetCurrentStatus() VehiclePosition_VehicleStopStatus {
  1205. if x != nil && x.CurrentStatus != nil {
  1206. return *x.CurrentStatus
  1207. }
  1208. return Default_VehiclePosition_CurrentStatus
  1209. }
  1210. func (x *VehiclePosition) GetTimestamp() uint64 {
  1211. if x != nil && x.Timestamp != nil {
  1212. return *x.Timestamp
  1213. }
  1214. return 0
  1215. }
  1216. func (x *VehiclePosition) GetCongestionLevel() VehiclePosition_CongestionLevel {
  1217. if x != nil && x.CongestionLevel != nil {
  1218. return *x.CongestionLevel
  1219. }
  1220. return VehiclePosition_UNKNOWN_CONGESTION_LEVEL
  1221. }
  1222. func (x *VehiclePosition) GetOccupancyStatus() VehiclePosition_OccupancyStatus {
  1223. if x != nil && x.OccupancyStatus != nil {
  1224. return *x.OccupancyStatus
  1225. }
  1226. return VehiclePosition_EMPTY
  1227. }
  1228. func (x *VehiclePosition) GetOccupancyPercentage() uint32 {
  1229. if x != nil && x.OccupancyPercentage != nil {
  1230. return *x.OccupancyPercentage
  1231. }
  1232. return 0
  1233. }
  1234. func (x *VehiclePosition) GetMultiCarriageDetails() []*VehiclePosition_CarriageDetails {
  1235. if x != nil {
  1236. return x.MultiCarriageDetails
  1237. }
  1238. return nil
  1239. }
  1240. // An alert, indicating some sort of incident in the public transit network.
  1241. type Alert struct {
  1242. state protoimpl.MessageState
  1243. sizeCache protoimpl.SizeCache
  1244. unknownFields protoimpl.UnknownFields
  1245. extensionFields protoimpl.ExtensionFields
  1246. // Time when the alert should be shown to the user. If missing, the
  1247. // alert will be shown as long as it appears in the feed.
  1248. // If multiple ranges are given, the alert will be shown during all of them.
  1249. ActivePeriod []*TimeRange `protobuf:"bytes,1,rep,name=active_period,json=activePeriod" json:"active_period,omitempty"`
  1250. // Entities whose users we should notify of this alert.
  1251. InformedEntity []*EntitySelector `protobuf:"bytes,5,rep,name=informed_entity,json=informedEntity" json:"informed_entity,omitempty"`
  1252. Cause *Alert_Cause `protobuf:"varint,6,opt,name=cause,enum=transit_realtime.Alert_Cause,def=1" json:"cause,omitempty"`
  1253. Effect *Alert_Effect `protobuf:"varint,7,opt,name=effect,enum=transit_realtime.Alert_Effect,def=8" json:"effect,omitempty"`
  1254. // The URL which provides additional information about the alert.
  1255. Url *TranslatedString `protobuf:"bytes,8,opt,name=url" json:"url,omitempty"`
  1256. // Alert header. Contains a short summary of the alert text as plain-text.
  1257. HeaderText *TranslatedString `protobuf:"bytes,10,opt,name=header_text,json=headerText" json:"header_text,omitempty"`
  1258. // Full description for the alert as plain-text. The information in the
  1259. // description should add to the information of the header.
  1260. DescriptionText *TranslatedString `protobuf:"bytes,11,opt,name=description_text,json=descriptionText" json:"description_text,omitempty"`
  1261. // Text for alert header to be used in text-to-speech implementations. This field is the text-to-speech version of header_text.
  1262. TtsHeaderText *TranslatedString `protobuf:"bytes,12,opt,name=tts_header_text,json=ttsHeaderText" json:"tts_header_text,omitempty"`
  1263. // Text for full description for the alert to be used in text-to-speech implementations. This field is the text-to-speech version of description_text.
  1264. TtsDescriptionText *TranslatedString `protobuf:"bytes,13,opt,name=tts_description_text,json=ttsDescriptionText" json:"tts_description_text,omitempty"`
  1265. SeverityLevel *Alert_SeverityLevel `protobuf:"varint,14,opt,name=severity_level,json=severityLevel,enum=transit_realtime.Alert_SeverityLevel,def=1" json:"severity_level,omitempty"`
  1266. // TranslatedImage to be displayed along the alert text. Used to explain visually the alert effect of a detour, station closure, etc. The image must enhance the understanding of the alert. Any essential information communicated within the image must also be contained in the alert text.
  1267. // The following types of images are discouraged : image containing mainly text, marketing or branded images that add no additional information.
  1268. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  1269. Image *TranslatedImage `protobuf:"bytes,15,opt,name=image" json:"image,omitempty"`
  1270. // Text describing the appearance of the linked image in the `image` field (e.g., in case the image can't be displayed
  1271. // or the user can't see the image for accessibility reasons). See the HTML spec for alt image text - https://html.spec.whatwg.org/#alt.
  1272. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  1273. ImageAlternativeText *TranslatedString `protobuf:"bytes,16,opt,name=image_alternative_text,json=imageAlternativeText" json:"image_alternative_text,omitempty"`
  1274. // Description of the cause of the alert that allows for agency-specific language; more specific than the Cause. If cause_detail is included, then Cause must also be included.
  1275. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  1276. CauseDetail *TranslatedString `protobuf:"bytes,17,opt,name=cause_detail,json=causeDetail" json:"cause_detail,omitempty"`
  1277. // Description of the effect of the alert that allows for agency-specific language; more specific than the Effect. If effect_detail is included, then Effect must also be included.
  1278. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  1279. EffectDetail *TranslatedString `protobuf:"bytes,18,opt,name=effect_detail,json=effectDetail" json:"effect_detail,omitempty"`
  1280. }
  1281. // Default values for Alert fields.
  1282. const (
  1283. Default_Alert_Cause = Alert_UNKNOWN_CAUSE
  1284. Default_Alert_Effect = Alert_UNKNOWN_EFFECT
  1285. Default_Alert_SeverityLevel = Alert_UNKNOWN_SEVERITY
  1286. )
  1287. func (x *Alert) Reset() {
  1288. *x = Alert{}
  1289. if protoimpl.UnsafeEnabled {
  1290. mi := &file_gtfs_realtime_proto_msgTypes[5]
  1291. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1292. ms.StoreMessageInfo(mi)
  1293. }
  1294. }
  1295. func (x *Alert) String() string {
  1296. return protoimpl.X.MessageStringOf(x)
  1297. }
  1298. func (*Alert) ProtoMessage() {}
  1299. func (x *Alert) ProtoReflect() protoreflect.Message {
  1300. mi := &file_gtfs_realtime_proto_msgTypes[5]
  1301. if protoimpl.UnsafeEnabled && x != nil {
  1302. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1303. if ms.LoadMessageInfo() == nil {
  1304. ms.StoreMessageInfo(mi)
  1305. }
  1306. return ms
  1307. }
  1308. return mi.MessageOf(x)
  1309. }
  1310. // Deprecated: Use Alert.ProtoReflect.Descriptor instead.
  1311. func (*Alert) Descriptor() ([]byte, []int) {
  1312. return file_gtfs_realtime_proto_rawDescGZIP(), []int{5}
  1313. }
  1314. func (x *Alert) GetActivePeriod() []*TimeRange {
  1315. if x != nil {
  1316. return x.ActivePeriod
  1317. }
  1318. return nil
  1319. }
  1320. func (x *Alert) GetInformedEntity() []*EntitySelector {
  1321. if x != nil {
  1322. return x.InformedEntity
  1323. }
  1324. return nil
  1325. }
  1326. func (x *Alert) GetCause() Alert_Cause {
  1327. if x != nil && x.Cause != nil {
  1328. return *x.Cause
  1329. }
  1330. return Default_Alert_Cause
  1331. }
  1332. func (x *Alert) GetEffect() Alert_Effect {
  1333. if x != nil && x.Effect != nil {
  1334. return *x.Effect
  1335. }
  1336. return Default_Alert_Effect
  1337. }
  1338. func (x *Alert) GetUrl() *TranslatedString {
  1339. if x != nil {
  1340. return x.Url
  1341. }
  1342. return nil
  1343. }
  1344. func (x *Alert) GetHeaderText() *TranslatedString {
  1345. if x != nil {
  1346. return x.HeaderText
  1347. }
  1348. return nil
  1349. }
  1350. func (x *Alert) GetDescriptionText() *TranslatedString {
  1351. if x != nil {
  1352. return x.DescriptionText
  1353. }
  1354. return nil
  1355. }
  1356. func (x *Alert) GetTtsHeaderText() *TranslatedString {
  1357. if x != nil {
  1358. return x.TtsHeaderText
  1359. }
  1360. return nil
  1361. }
  1362. func (x *Alert) GetTtsDescriptionText() *TranslatedString {
  1363. if x != nil {
  1364. return x.TtsDescriptionText
  1365. }
  1366. return nil
  1367. }
  1368. func (x *Alert) GetSeverityLevel() Alert_SeverityLevel {
  1369. if x != nil && x.SeverityLevel != nil {
  1370. return *x.SeverityLevel
  1371. }
  1372. return Default_Alert_SeverityLevel
  1373. }
  1374. func (x *Alert) GetImage() *TranslatedImage {
  1375. if x != nil {
  1376. return x.Image
  1377. }
  1378. return nil
  1379. }
  1380. func (x *Alert) GetImageAlternativeText() *TranslatedString {
  1381. if x != nil {
  1382. return x.ImageAlternativeText
  1383. }
  1384. return nil
  1385. }
  1386. func (x *Alert) GetCauseDetail() *TranslatedString {
  1387. if x != nil {
  1388. return x.CauseDetail
  1389. }
  1390. return nil
  1391. }
  1392. func (x *Alert) GetEffectDetail() *TranslatedString {
  1393. if x != nil {
  1394. return x.EffectDetail
  1395. }
  1396. return nil
  1397. }
  1398. // A time interval. The interval is considered active at time 't' if 't' is
  1399. // greater than or equal to the start time and less than the end time.
  1400. type TimeRange struct {
  1401. state protoimpl.MessageState
  1402. sizeCache protoimpl.SizeCache
  1403. unknownFields protoimpl.UnknownFields
  1404. extensionFields protoimpl.ExtensionFields
  1405. // Start time, in POSIX time (i.e., number of seconds since January 1st 1970
  1406. // 00:00:00 UTC).
  1407. // If missing, the interval starts at minus infinity.
  1408. Start *uint64 `protobuf:"varint,1,opt,name=start" json:"start,omitempty"`
  1409. // End time, in POSIX time (i.e., number of seconds since January 1st 1970
  1410. // 00:00:00 UTC).
  1411. // If missing, the interval ends at plus infinity.
  1412. End *uint64 `protobuf:"varint,2,opt,name=end" json:"end,omitempty"`
  1413. }
  1414. func (x *TimeRange) Reset() {
  1415. *x = TimeRange{}
  1416. if protoimpl.UnsafeEnabled {
  1417. mi := &file_gtfs_realtime_proto_msgTypes[6]
  1418. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1419. ms.StoreMessageInfo(mi)
  1420. }
  1421. }
  1422. func (x *TimeRange) String() string {
  1423. return protoimpl.X.MessageStringOf(x)
  1424. }
  1425. func (*TimeRange) ProtoMessage() {}
  1426. func (x *TimeRange) ProtoReflect() protoreflect.Message {
  1427. mi := &file_gtfs_realtime_proto_msgTypes[6]
  1428. if protoimpl.UnsafeEnabled && x != nil {
  1429. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1430. if ms.LoadMessageInfo() == nil {
  1431. ms.StoreMessageInfo(mi)
  1432. }
  1433. return ms
  1434. }
  1435. return mi.MessageOf(x)
  1436. }
  1437. // Deprecated: Use TimeRange.ProtoReflect.Descriptor instead.
  1438. func (*TimeRange) Descriptor() ([]byte, []int) {
  1439. return file_gtfs_realtime_proto_rawDescGZIP(), []int{6}
  1440. }
  1441. func (x *TimeRange) GetStart() uint64 {
  1442. if x != nil && x.Start != nil {
  1443. return *x.Start
  1444. }
  1445. return 0
  1446. }
  1447. func (x *TimeRange) GetEnd() uint64 {
  1448. if x != nil && x.End != nil {
  1449. return *x.End
  1450. }
  1451. return 0
  1452. }
  1453. // A position.
  1454. type Position struct {
  1455. state protoimpl.MessageState
  1456. sizeCache protoimpl.SizeCache
  1457. unknownFields protoimpl.UnknownFields
  1458. extensionFields protoimpl.ExtensionFields
  1459. // Degrees North, in the WGS-84 coordinate system.
  1460. Latitude *float32 `protobuf:"fixed32,1,req,name=latitude" json:"latitude,omitempty"`
  1461. // Degrees East, in the WGS-84 coordinate system.
  1462. Longitude *float32 `protobuf:"fixed32,2,req,name=longitude" json:"longitude,omitempty"`
  1463. // Bearing, in degrees, clockwise from North, i.e., 0 is North and 90 is East.
  1464. // This can be the compass bearing, or the direction towards the next stop
  1465. // or intermediate location.
  1466. // This should not be direction deduced from the sequence of previous
  1467. // positions, which can be computed from previous data.
  1468. Bearing *float32 `protobuf:"fixed32,3,opt,name=bearing" json:"bearing,omitempty"`
  1469. // Odometer value, in meters.
  1470. Odometer *float64 `protobuf:"fixed64,4,opt,name=odometer" json:"odometer,omitempty"`
  1471. // Momentary speed measured by the vehicle, in meters per second.
  1472. Speed *float32 `protobuf:"fixed32,5,opt,name=speed" json:"speed,omitempty"`
  1473. }
  1474. func (x *Position) Reset() {
  1475. *x = Position{}
  1476. if protoimpl.UnsafeEnabled {
  1477. mi := &file_gtfs_realtime_proto_msgTypes[7]
  1478. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1479. ms.StoreMessageInfo(mi)
  1480. }
  1481. }
  1482. func (x *Position) String() string {
  1483. return protoimpl.X.MessageStringOf(x)
  1484. }
  1485. func (*Position) ProtoMessage() {}
  1486. func (x *Position) ProtoReflect() protoreflect.Message {
  1487. mi := &file_gtfs_realtime_proto_msgTypes[7]
  1488. if protoimpl.UnsafeEnabled && x != nil {
  1489. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1490. if ms.LoadMessageInfo() == nil {
  1491. ms.StoreMessageInfo(mi)
  1492. }
  1493. return ms
  1494. }
  1495. return mi.MessageOf(x)
  1496. }
  1497. // Deprecated: Use Position.ProtoReflect.Descriptor instead.
  1498. func (*Position) Descriptor() ([]byte, []int) {
  1499. return file_gtfs_realtime_proto_rawDescGZIP(), []int{7}
  1500. }
  1501. func (x *Position) GetLatitude() float32 {
  1502. if x != nil && x.Latitude != nil {
  1503. return *x.Latitude
  1504. }
  1505. return 0
  1506. }
  1507. func (x *Position) GetLongitude() float32 {
  1508. if x != nil && x.Longitude != nil {
  1509. return *x.Longitude
  1510. }
  1511. return 0
  1512. }
  1513. func (x *Position) GetBearing() float32 {
  1514. if x != nil && x.Bearing != nil {
  1515. return *x.Bearing
  1516. }
  1517. return 0
  1518. }
  1519. func (x *Position) GetOdometer() float64 {
  1520. if x != nil && x.Odometer != nil {
  1521. return *x.Odometer
  1522. }
  1523. return 0
  1524. }
  1525. func (x *Position) GetSpeed() float32 {
  1526. if x != nil && x.Speed != nil {
  1527. return *x.Speed
  1528. }
  1529. return 0
  1530. }
  1531. // A descriptor that identifies an instance of a GTFS trip, or all instances of
  1532. // a trip along a route.
  1533. // - To specify a single trip instance, the trip_id (and if necessary,
  1534. // start_time) is set. If route_id is also set, then it should be same as one
  1535. // that the given trip corresponds to.
  1536. // - To specify all the trips along a given route, only the route_id should be
  1537. // set. Note that if the trip_id is not known, then stop sequence ids in
  1538. // TripUpdate are not sufficient, and stop_ids must be provided as well. In
  1539. // addition, absolute arrival/departure times must be provided.
  1540. type TripDescriptor struct {
  1541. state protoimpl.MessageState
  1542. sizeCache protoimpl.SizeCache
  1543. unknownFields protoimpl.UnknownFields
  1544. extensionFields protoimpl.ExtensionFields
  1545. // The trip_id from the GTFS feed that this selector refers to.
  1546. // For non frequency-based trips, this field is enough to uniquely identify
  1547. // the trip. For frequency-based trip, start_time and start_date might also be
  1548. // necessary. When schedule_relationship is DUPLICATED within a TripUpdate, the trip_id identifies the trip from
  1549. // static GTFS to be duplicated. When schedule_relationship is DUPLICATED within a VehiclePosition, the trip_id
  1550. // identifies the new duplicate trip and must contain the value for the corresponding TripUpdate.TripProperties.trip_id.
  1551. TripId *string `protobuf:"bytes,1,opt,name=trip_id,json=tripId" json:"trip_id,omitempty"`
  1552. // The route_id from the GTFS that this selector refers to.
  1553. RouteId *string `protobuf:"bytes,5,opt,name=route_id,json=routeId" json:"route_id,omitempty"`
  1554. // The direction_id from the GTFS feed trips.txt file, indicating the
  1555. // direction of travel for trips this selector refers to.
  1556. DirectionId *uint32 `protobuf:"varint,6,opt,name=direction_id,json=directionId" json:"direction_id,omitempty"`
  1557. // The initially scheduled start time of this trip instance.
  1558. // When the trip_id corresponds to a non-frequency-based trip, this field
  1559. // should either be omitted or be equal to the value in the GTFS feed. When
  1560. // the trip_id correponds to a frequency-based trip, the start_time must be
  1561. // specified for trip updates and vehicle positions. If the trip corresponds
  1562. // to exact_times=1 GTFS record, then start_time must be some multiple
  1563. // (including zero) of headway_secs later than frequencies.txt start_time for
  1564. // the corresponding time period. If the trip corresponds to exact_times=0,
  1565. // then its start_time may be arbitrary, and is initially expected to be the
  1566. // first departure of the trip. Once established, the start_time of this
  1567. // frequency-based trip should be considered immutable, even if the first
  1568. // departure time changes -- that time change may instead be reflected in a
  1569. // StopTimeUpdate.
  1570. // Format and semantics of the field is same as that of
  1571. // GTFS/frequencies.txt/start_time, e.g., 11:15:35 or 25:15:35.
  1572. StartTime *string `protobuf:"bytes,2,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
  1573. // The scheduled start date of this trip instance.
  1574. // Must be provided to disambiguate trips that are so late as to collide with
  1575. // a scheduled trip on a next day. For example, for a train that departs 8:00
  1576. // and 20:00 every day, and is 12 hours late, there would be two distinct
  1577. // trips on the same time.
  1578. // This field can be provided but is not mandatory for schedules in which such
  1579. // collisions are impossible - for example, a service running on hourly
  1580. // schedule where a vehicle that is one hour late is not considered to be
  1581. // related to schedule anymore.
  1582. // In YYYYMMDD format.
  1583. StartDate *string `protobuf:"bytes,3,opt,name=start_date,json=startDate" json:"start_date,omitempty"`
  1584. ScheduleRelationship *TripDescriptor_ScheduleRelationship `protobuf:"varint,4,opt,name=schedule_relationship,json=scheduleRelationship,enum=transit_realtime.TripDescriptor_ScheduleRelationship" json:"schedule_relationship,omitempty"`
  1585. }
  1586. func (x *TripDescriptor) Reset() {
  1587. *x = TripDescriptor{}
  1588. if protoimpl.UnsafeEnabled {
  1589. mi := &file_gtfs_realtime_proto_msgTypes[8]
  1590. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1591. ms.StoreMessageInfo(mi)
  1592. }
  1593. }
  1594. func (x *TripDescriptor) String() string {
  1595. return protoimpl.X.MessageStringOf(x)
  1596. }
  1597. func (*TripDescriptor) ProtoMessage() {}
  1598. func (x *TripDescriptor) ProtoReflect() protoreflect.Message {
  1599. mi := &file_gtfs_realtime_proto_msgTypes[8]
  1600. if protoimpl.UnsafeEnabled && x != nil {
  1601. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1602. if ms.LoadMessageInfo() == nil {
  1603. ms.StoreMessageInfo(mi)
  1604. }
  1605. return ms
  1606. }
  1607. return mi.MessageOf(x)
  1608. }
  1609. // Deprecated: Use TripDescriptor.ProtoReflect.Descriptor instead.
  1610. func (*TripDescriptor) Descriptor() ([]byte, []int) {
  1611. return file_gtfs_realtime_proto_rawDescGZIP(), []int{8}
  1612. }
  1613. func (x *TripDescriptor) GetTripId() string {
  1614. if x != nil && x.TripId != nil {
  1615. return *x.TripId
  1616. }
  1617. return ""
  1618. }
  1619. func (x *TripDescriptor) GetRouteId() string {
  1620. if x != nil && x.RouteId != nil {
  1621. return *x.RouteId
  1622. }
  1623. return ""
  1624. }
  1625. func (x *TripDescriptor) GetDirectionId() uint32 {
  1626. if x != nil && x.DirectionId != nil {
  1627. return *x.DirectionId
  1628. }
  1629. return 0
  1630. }
  1631. func (x *TripDescriptor) GetStartTime() string {
  1632. if x != nil && x.StartTime != nil {
  1633. return *x.StartTime
  1634. }
  1635. return ""
  1636. }
  1637. func (x *TripDescriptor) GetStartDate() string {
  1638. if x != nil && x.StartDate != nil {
  1639. return *x.StartDate
  1640. }
  1641. return ""
  1642. }
  1643. func (x *TripDescriptor) GetScheduleRelationship() TripDescriptor_ScheduleRelationship {
  1644. if x != nil && x.ScheduleRelationship != nil {
  1645. return *x.ScheduleRelationship
  1646. }
  1647. return TripDescriptor_SCHEDULED
  1648. }
  1649. // Identification information for the vehicle performing the trip.
  1650. type VehicleDescriptor struct {
  1651. state protoimpl.MessageState
  1652. sizeCache protoimpl.SizeCache
  1653. unknownFields protoimpl.UnknownFields
  1654. extensionFields protoimpl.ExtensionFields
  1655. // Internal system identification of the vehicle. Should be unique per
  1656. // vehicle, and can be used for tracking the vehicle as it proceeds through
  1657. // the system.
  1658. Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  1659. // User visible label, i.e., something that must be shown to the passenger to
  1660. // help identify the correct vehicle.
  1661. Label *string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
  1662. // The license plate of the vehicle.
  1663. LicensePlate *string `protobuf:"bytes,3,opt,name=license_plate,json=licensePlate" json:"license_plate,omitempty"`
  1664. WheelchairAccessible *VehicleDescriptor_WheelchairAccessible `protobuf:"varint,4,opt,name=wheelchair_accessible,json=wheelchairAccessible,enum=transit_realtime.VehicleDescriptor_WheelchairAccessible,def=0" json:"wheelchair_accessible,omitempty"`
  1665. }
  1666. // Default values for VehicleDescriptor fields.
  1667. const (
  1668. Default_VehicleDescriptor_WheelchairAccessible = VehicleDescriptor_NO_VALUE
  1669. )
  1670. func (x *VehicleDescriptor) Reset() {
  1671. *x = VehicleDescriptor{}
  1672. if protoimpl.UnsafeEnabled {
  1673. mi := &file_gtfs_realtime_proto_msgTypes[9]
  1674. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1675. ms.StoreMessageInfo(mi)
  1676. }
  1677. }
  1678. func (x *VehicleDescriptor) String() string {
  1679. return protoimpl.X.MessageStringOf(x)
  1680. }
  1681. func (*VehicleDescriptor) ProtoMessage() {}
  1682. func (x *VehicleDescriptor) ProtoReflect() protoreflect.Message {
  1683. mi := &file_gtfs_realtime_proto_msgTypes[9]
  1684. if protoimpl.UnsafeEnabled && x != nil {
  1685. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1686. if ms.LoadMessageInfo() == nil {
  1687. ms.StoreMessageInfo(mi)
  1688. }
  1689. return ms
  1690. }
  1691. return mi.MessageOf(x)
  1692. }
  1693. // Deprecated: Use VehicleDescriptor.ProtoReflect.Descriptor instead.
  1694. func (*VehicleDescriptor) Descriptor() ([]byte, []int) {
  1695. return file_gtfs_realtime_proto_rawDescGZIP(), []int{9}
  1696. }
  1697. func (x *VehicleDescriptor) GetId() string {
  1698. if x != nil && x.Id != nil {
  1699. return *x.Id
  1700. }
  1701. return ""
  1702. }
  1703. func (x *VehicleDescriptor) GetLabel() string {
  1704. if x != nil && x.Label != nil {
  1705. return *x.Label
  1706. }
  1707. return ""
  1708. }
  1709. func (x *VehicleDescriptor) GetLicensePlate() string {
  1710. if x != nil && x.LicensePlate != nil {
  1711. return *x.LicensePlate
  1712. }
  1713. return ""
  1714. }
  1715. func (x *VehicleDescriptor) GetWheelchairAccessible() VehicleDescriptor_WheelchairAccessible {
  1716. if x != nil && x.WheelchairAccessible != nil {
  1717. return *x.WheelchairAccessible
  1718. }
  1719. return Default_VehicleDescriptor_WheelchairAccessible
  1720. }
  1721. // A selector for an entity in a GTFS feed.
  1722. type EntitySelector struct {
  1723. state protoimpl.MessageState
  1724. sizeCache protoimpl.SizeCache
  1725. unknownFields protoimpl.UnknownFields
  1726. extensionFields protoimpl.ExtensionFields
  1727. // The values of the fields should correspond to the appropriate fields in the
  1728. // GTFS feed.
  1729. // At least one specifier must be given. If several are given, then the
  1730. // matching has to apply to all the given specifiers.
  1731. AgencyId *string `protobuf:"bytes,1,opt,name=agency_id,json=agencyId" json:"agency_id,omitempty"`
  1732. RouteId *string `protobuf:"bytes,2,opt,name=route_id,json=routeId" json:"route_id,omitempty"`
  1733. // corresponds to route_type in GTFS.
  1734. RouteType *int32 `protobuf:"varint,3,opt,name=route_type,json=routeType" json:"route_type,omitempty"`
  1735. Trip *TripDescriptor `protobuf:"bytes,4,opt,name=trip" json:"trip,omitempty"`
  1736. StopId *string `protobuf:"bytes,5,opt,name=stop_id,json=stopId" json:"stop_id,omitempty"`
  1737. // Corresponds to trip direction_id in GTFS trips.txt. If provided the
  1738. // route_id must also be provided.
  1739. DirectionId *uint32 `protobuf:"varint,6,opt,name=direction_id,json=directionId" json:"direction_id,omitempty"`
  1740. }
  1741. func (x *EntitySelector) Reset() {
  1742. *x = EntitySelector{}
  1743. if protoimpl.UnsafeEnabled {
  1744. mi := &file_gtfs_realtime_proto_msgTypes[10]
  1745. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1746. ms.StoreMessageInfo(mi)
  1747. }
  1748. }
  1749. func (x *EntitySelector) String() string {
  1750. return protoimpl.X.MessageStringOf(x)
  1751. }
  1752. func (*EntitySelector) ProtoMessage() {}
  1753. func (x *EntitySelector) ProtoReflect() protoreflect.Message {
  1754. mi := &file_gtfs_realtime_proto_msgTypes[10]
  1755. if protoimpl.UnsafeEnabled && x != nil {
  1756. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1757. if ms.LoadMessageInfo() == nil {
  1758. ms.StoreMessageInfo(mi)
  1759. }
  1760. return ms
  1761. }
  1762. return mi.MessageOf(x)
  1763. }
  1764. // Deprecated: Use EntitySelector.ProtoReflect.Descriptor instead.
  1765. func (*EntitySelector) Descriptor() ([]byte, []int) {
  1766. return file_gtfs_realtime_proto_rawDescGZIP(), []int{10}
  1767. }
  1768. func (x *EntitySelector) GetAgencyId() string {
  1769. if x != nil && x.AgencyId != nil {
  1770. return *x.AgencyId
  1771. }
  1772. return ""
  1773. }
  1774. func (x *EntitySelector) GetRouteId() string {
  1775. if x != nil && x.RouteId != nil {
  1776. return *x.RouteId
  1777. }
  1778. return ""
  1779. }
  1780. func (x *EntitySelector) GetRouteType() int32 {
  1781. if x != nil && x.RouteType != nil {
  1782. return *x.RouteType
  1783. }
  1784. return 0
  1785. }
  1786. func (x *EntitySelector) GetTrip() *TripDescriptor {
  1787. if x != nil {
  1788. return x.Trip
  1789. }
  1790. return nil
  1791. }
  1792. func (x *EntitySelector) GetStopId() string {
  1793. if x != nil && x.StopId != nil {
  1794. return *x.StopId
  1795. }
  1796. return ""
  1797. }
  1798. func (x *EntitySelector) GetDirectionId() uint32 {
  1799. if x != nil && x.DirectionId != nil {
  1800. return *x.DirectionId
  1801. }
  1802. return 0
  1803. }
  1804. // An internationalized message containing per-language versions of a snippet of
  1805. // text or a URL.
  1806. // One of the strings from a message will be picked up. The resolution proceeds
  1807. // as follows:
  1808. // 1. If the UI language matches the language code of a translation,
  1809. // the first matching translation is picked.
  1810. // 2. If a default UI language (e.g., English) matches the language code of a
  1811. // translation, the first matching translation is picked.
  1812. // 3. If some translation has an unspecified language code, that translation is
  1813. // picked.
  1814. type TranslatedString struct {
  1815. state protoimpl.MessageState
  1816. sizeCache protoimpl.SizeCache
  1817. unknownFields protoimpl.UnknownFields
  1818. extensionFields protoimpl.ExtensionFields
  1819. // At least one translation must be provided.
  1820. Translation []*TranslatedString_Translation `protobuf:"bytes,1,rep,name=translation" json:"translation,omitempty"`
  1821. }
  1822. func (x *TranslatedString) Reset() {
  1823. *x = TranslatedString{}
  1824. if protoimpl.UnsafeEnabled {
  1825. mi := &file_gtfs_realtime_proto_msgTypes[11]
  1826. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1827. ms.StoreMessageInfo(mi)
  1828. }
  1829. }
  1830. func (x *TranslatedString) String() string {
  1831. return protoimpl.X.MessageStringOf(x)
  1832. }
  1833. func (*TranslatedString) ProtoMessage() {}
  1834. func (x *TranslatedString) ProtoReflect() protoreflect.Message {
  1835. mi := &file_gtfs_realtime_proto_msgTypes[11]
  1836. if protoimpl.UnsafeEnabled && x != nil {
  1837. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1838. if ms.LoadMessageInfo() == nil {
  1839. ms.StoreMessageInfo(mi)
  1840. }
  1841. return ms
  1842. }
  1843. return mi.MessageOf(x)
  1844. }
  1845. // Deprecated: Use TranslatedString.ProtoReflect.Descriptor instead.
  1846. func (*TranslatedString) Descriptor() ([]byte, []int) {
  1847. return file_gtfs_realtime_proto_rawDescGZIP(), []int{11}
  1848. }
  1849. func (x *TranslatedString) GetTranslation() []*TranslatedString_Translation {
  1850. if x != nil {
  1851. return x.Translation
  1852. }
  1853. return nil
  1854. }
  1855. // An internationalized image containing per-language versions of a URL linking to an image
  1856. // along with meta information
  1857. // Only one of the images from a message will be retained by consumers. The resolution proceeds
  1858. // as follows:
  1859. // 1. If the UI language matches the language code of a translation,
  1860. // the first matching translation is picked.
  1861. // 2. If a default UI language (e.g., English) matches the language code of a
  1862. // translation, the first matching translation is picked.
  1863. // 3. If some translation has an unspecified language code, that translation is
  1864. // picked.
  1865. //
  1866. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  1867. type TranslatedImage struct {
  1868. state protoimpl.MessageState
  1869. sizeCache protoimpl.SizeCache
  1870. unknownFields protoimpl.UnknownFields
  1871. extensionFields protoimpl.ExtensionFields
  1872. // At least one localized image must be provided.
  1873. LocalizedImage []*TranslatedImage_LocalizedImage `protobuf:"bytes,1,rep,name=localized_image,json=localizedImage" json:"localized_image,omitempty"`
  1874. }
  1875. func (x *TranslatedImage) Reset() {
  1876. *x = TranslatedImage{}
  1877. if protoimpl.UnsafeEnabled {
  1878. mi := &file_gtfs_realtime_proto_msgTypes[12]
  1879. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1880. ms.StoreMessageInfo(mi)
  1881. }
  1882. }
  1883. func (x *TranslatedImage) String() string {
  1884. return protoimpl.X.MessageStringOf(x)
  1885. }
  1886. func (*TranslatedImage) ProtoMessage() {}
  1887. func (x *TranslatedImage) ProtoReflect() protoreflect.Message {
  1888. mi := &file_gtfs_realtime_proto_msgTypes[12]
  1889. if protoimpl.UnsafeEnabled && x != nil {
  1890. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1891. if ms.LoadMessageInfo() == nil {
  1892. ms.StoreMessageInfo(mi)
  1893. }
  1894. return ms
  1895. }
  1896. return mi.MessageOf(x)
  1897. }
  1898. // Deprecated: Use TranslatedImage.ProtoReflect.Descriptor instead.
  1899. func (*TranslatedImage) Descriptor() ([]byte, []int) {
  1900. return file_gtfs_realtime_proto_rawDescGZIP(), []int{12}
  1901. }
  1902. func (x *TranslatedImage) GetLocalizedImage() []*TranslatedImage_LocalizedImage {
  1903. if x != nil {
  1904. return x.LocalizedImage
  1905. }
  1906. return nil
  1907. }
  1908. // Describes the physical path that a vehicle takes when it's not part of the (CSV) GTFS,
  1909. // such as for a detour. Shapes belong to Trips, and consist of a sequence of shape points.
  1910. // Tracing the points in order provides the path of the vehicle. Shapes do not need to intercept
  1911. // the location of Stops exactly, but all Stops on a trip should lie within a small distance of
  1912. // the shape for that trip, i.e. close to straight line segments connecting the shape points
  1913. // NOTE: This message is still experimental, and subject to change. It may be formally adopted in the future.
  1914. type Shape struct {
  1915. state protoimpl.MessageState
  1916. sizeCache protoimpl.SizeCache
  1917. unknownFields protoimpl.UnknownFields
  1918. extensionFields protoimpl.ExtensionFields
  1919. // Identifier of the shape. Must be different than any shape_id defined in the (CSV) GTFS.
  1920. // This field is required as per reference.md, but needs to be specified here optional because "Required is Forever"
  1921. // See https://developers.google.com/protocol-buffers/docs/proto#specifying_field_rules
  1922. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  1923. ShapeId *string `protobuf:"bytes,1,opt,name=shape_id,json=shapeId" json:"shape_id,omitempty"`
  1924. // Encoded polyline representation of the shape. This polyline must contain at least two points.
  1925. // For more information about encoded polylines, see https://developers.google.com/maps/documentation/utilities/polylinealgorithm
  1926. // This field is required as per reference.md, but needs to be specified here optional because "Required is Forever"
  1927. // See https://developers.google.com/protocol-buffers/docs/proto#specifying_field_rules
  1928. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  1929. EncodedPolyline *string `protobuf:"bytes,2,opt,name=encoded_polyline,json=encodedPolyline" json:"encoded_polyline,omitempty"`
  1930. }
  1931. func (x *Shape) Reset() {
  1932. *x = Shape{}
  1933. if protoimpl.UnsafeEnabled {
  1934. mi := &file_gtfs_realtime_proto_msgTypes[13]
  1935. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1936. ms.StoreMessageInfo(mi)
  1937. }
  1938. }
  1939. func (x *Shape) String() string {
  1940. return protoimpl.X.MessageStringOf(x)
  1941. }
  1942. func (*Shape) ProtoMessage() {}
  1943. func (x *Shape) ProtoReflect() protoreflect.Message {
  1944. mi := &file_gtfs_realtime_proto_msgTypes[13]
  1945. if protoimpl.UnsafeEnabled && x != nil {
  1946. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1947. if ms.LoadMessageInfo() == nil {
  1948. ms.StoreMessageInfo(mi)
  1949. }
  1950. return ms
  1951. }
  1952. return mi.MessageOf(x)
  1953. }
  1954. // Deprecated: Use Shape.ProtoReflect.Descriptor instead.
  1955. func (*Shape) Descriptor() ([]byte, []int) {
  1956. return file_gtfs_realtime_proto_rawDescGZIP(), []int{13}
  1957. }
  1958. func (x *Shape) GetShapeId() string {
  1959. if x != nil && x.ShapeId != nil {
  1960. return *x.ShapeId
  1961. }
  1962. return ""
  1963. }
  1964. func (x *Shape) GetEncodedPolyline() string {
  1965. if x != nil && x.EncodedPolyline != nil {
  1966. return *x.EncodedPolyline
  1967. }
  1968. return ""
  1969. }
  1970. // Timing information for a single predicted event (either arrival or
  1971. // departure).
  1972. // Timing consists of delay and/or estimated time, and uncertainty.
  1973. // - delay should be used when the prediction is given relative to some
  1974. // existing schedule in GTFS.
  1975. // - time should be given whether there is a predicted schedule or not. If
  1976. // both time and delay are specified, time will take precedence
  1977. // (although normally, time, if given for a scheduled trip, should be
  1978. // equal to scheduled time in GTFS + delay).
  1979. //
  1980. // Uncertainty applies equally to both time and delay.
  1981. // The uncertainty roughly specifies the expected error in true delay (but
  1982. // note, we don't yet define its precise statistical meaning). It's possible
  1983. // for the uncertainty to be 0, for example for trains that are driven under
  1984. // computer timing control.
  1985. type TripUpdate_StopTimeEvent struct {
  1986. state protoimpl.MessageState
  1987. sizeCache protoimpl.SizeCache
  1988. unknownFields protoimpl.UnknownFields
  1989. extensionFields protoimpl.ExtensionFields
  1990. // Delay (in seconds) can be positive (meaning that the vehicle is late) or
  1991. // negative (meaning that the vehicle is ahead of schedule). Delay of 0
  1992. // means that the vehicle is exactly on time.
  1993. Delay *int32 `protobuf:"varint,1,opt,name=delay" json:"delay,omitempty"`
  1994. // Event as absolute time.
  1995. // In Unix time (i.e., number of seconds since January 1st 1970 00:00:00
  1996. // UTC).
  1997. Time *int64 `protobuf:"varint,2,opt,name=time" json:"time,omitempty"`
  1998. // If uncertainty is omitted, it is interpreted as unknown.
  1999. // If the prediction is unknown or too uncertain, the delay (or time) field
  2000. // should be empty. In such case, the uncertainty field is ignored.
  2001. // To specify a completely certain prediction, set its uncertainty to 0.
  2002. Uncertainty *int32 `protobuf:"varint,3,opt,name=uncertainty" json:"uncertainty,omitempty"`
  2003. }
  2004. func (x *TripUpdate_StopTimeEvent) Reset() {
  2005. *x = TripUpdate_StopTimeEvent{}
  2006. if protoimpl.UnsafeEnabled {
  2007. mi := &file_gtfs_realtime_proto_msgTypes[14]
  2008. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2009. ms.StoreMessageInfo(mi)
  2010. }
  2011. }
  2012. func (x *TripUpdate_StopTimeEvent) String() string {
  2013. return protoimpl.X.MessageStringOf(x)
  2014. }
  2015. func (*TripUpdate_StopTimeEvent) ProtoMessage() {}
  2016. func (x *TripUpdate_StopTimeEvent) ProtoReflect() protoreflect.Message {
  2017. mi := &file_gtfs_realtime_proto_msgTypes[14]
  2018. if protoimpl.UnsafeEnabled && x != nil {
  2019. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2020. if ms.LoadMessageInfo() == nil {
  2021. ms.StoreMessageInfo(mi)
  2022. }
  2023. return ms
  2024. }
  2025. return mi.MessageOf(x)
  2026. }
  2027. // Deprecated: Use TripUpdate_StopTimeEvent.ProtoReflect.Descriptor instead.
  2028. func (*TripUpdate_StopTimeEvent) Descriptor() ([]byte, []int) {
  2029. return file_gtfs_realtime_proto_rawDescGZIP(), []int{3, 0}
  2030. }
  2031. func (x *TripUpdate_StopTimeEvent) GetDelay() int32 {
  2032. if x != nil && x.Delay != nil {
  2033. return *x.Delay
  2034. }
  2035. return 0
  2036. }
  2037. func (x *TripUpdate_StopTimeEvent) GetTime() int64 {
  2038. if x != nil && x.Time != nil {
  2039. return *x.Time
  2040. }
  2041. return 0
  2042. }
  2043. func (x *TripUpdate_StopTimeEvent) GetUncertainty() int32 {
  2044. if x != nil && x.Uncertainty != nil {
  2045. return *x.Uncertainty
  2046. }
  2047. return 0
  2048. }
  2049. // Realtime update for arrival and/or departure events for a given stop on a
  2050. // trip. Updates can be supplied for both past and future events.
  2051. // The producer is allowed, although not required, to drop past events.
  2052. type TripUpdate_StopTimeUpdate struct {
  2053. state protoimpl.MessageState
  2054. sizeCache protoimpl.SizeCache
  2055. unknownFields protoimpl.UnknownFields
  2056. extensionFields protoimpl.ExtensionFields
  2057. // Must be the same as in stop_times.txt in the corresponding GTFS feed.
  2058. StopSequence *uint32 `protobuf:"varint,1,opt,name=stop_sequence,json=stopSequence" json:"stop_sequence,omitempty"`
  2059. // Must be the same as in stops.txt in the corresponding GTFS feed.
  2060. StopId *string `protobuf:"bytes,4,opt,name=stop_id,json=stopId" json:"stop_id,omitempty"`
  2061. Arrival *TripUpdate_StopTimeEvent `protobuf:"bytes,2,opt,name=arrival" json:"arrival,omitempty"`
  2062. Departure *TripUpdate_StopTimeEvent `protobuf:"bytes,3,opt,name=departure" json:"departure,omitempty"`
  2063. // Expected occupancy after departure from the given stop.
  2064. // Should be provided only for future stops.
  2065. // In order to provide departure_occupancy_status without either arrival or
  2066. // departure StopTimeEvents, ScheduleRelationship should be set to NO_DATA.
  2067. DepartureOccupancyStatus *VehiclePosition_OccupancyStatus `protobuf:"varint,7,opt,name=departure_occupancy_status,json=departureOccupancyStatus,enum=transit_realtime.VehiclePosition_OccupancyStatus" json:"departure_occupancy_status,omitempty"`
  2068. ScheduleRelationship *TripUpdate_StopTimeUpdate_ScheduleRelationship `protobuf:"varint,5,opt,name=schedule_relationship,json=scheduleRelationship,enum=transit_realtime.TripUpdate_StopTimeUpdate_ScheduleRelationship,def=0" json:"schedule_relationship,omitempty"`
  2069. // Realtime updates for certain properties defined within GTFS stop_times.txt
  2070. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  2071. StopTimeProperties *TripUpdate_StopTimeUpdate_StopTimeProperties `protobuf:"bytes,6,opt,name=stop_time_properties,json=stopTimeProperties" json:"stop_time_properties,omitempty"`
  2072. }
  2073. // Default values for TripUpdate_StopTimeUpdate fields.
  2074. const (
  2075. Default_TripUpdate_StopTimeUpdate_ScheduleRelationship = TripUpdate_StopTimeUpdate_SCHEDULED
  2076. )
  2077. func (x *TripUpdate_StopTimeUpdate) Reset() {
  2078. *x = TripUpdate_StopTimeUpdate{}
  2079. if protoimpl.UnsafeEnabled {
  2080. mi := &file_gtfs_realtime_proto_msgTypes[15]
  2081. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2082. ms.StoreMessageInfo(mi)
  2083. }
  2084. }
  2085. func (x *TripUpdate_StopTimeUpdate) String() string {
  2086. return protoimpl.X.MessageStringOf(x)
  2087. }
  2088. func (*TripUpdate_StopTimeUpdate) ProtoMessage() {}
  2089. func (x *TripUpdate_StopTimeUpdate) ProtoReflect() protoreflect.Message {
  2090. mi := &file_gtfs_realtime_proto_msgTypes[15]
  2091. if protoimpl.UnsafeEnabled && x != nil {
  2092. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2093. if ms.LoadMessageInfo() == nil {
  2094. ms.StoreMessageInfo(mi)
  2095. }
  2096. return ms
  2097. }
  2098. return mi.MessageOf(x)
  2099. }
  2100. // Deprecated: Use TripUpdate_StopTimeUpdate.ProtoReflect.Descriptor instead.
  2101. func (*TripUpdate_StopTimeUpdate) Descriptor() ([]byte, []int) {
  2102. return file_gtfs_realtime_proto_rawDescGZIP(), []int{3, 1}
  2103. }
  2104. func (x *TripUpdate_StopTimeUpdate) GetStopSequence() uint32 {
  2105. if x != nil && x.StopSequence != nil {
  2106. return *x.StopSequence
  2107. }
  2108. return 0
  2109. }
  2110. func (x *TripUpdate_StopTimeUpdate) GetStopId() string {
  2111. if x != nil && x.StopId != nil {
  2112. return *x.StopId
  2113. }
  2114. return ""
  2115. }
  2116. func (x *TripUpdate_StopTimeUpdate) GetArrival() *TripUpdate_StopTimeEvent {
  2117. if x != nil {
  2118. return x.Arrival
  2119. }
  2120. return nil
  2121. }
  2122. func (x *TripUpdate_StopTimeUpdate) GetDeparture() *TripUpdate_StopTimeEvent {
  2123. if x != nil {
  2124. return x.Departure
  2125. }
  2126. return nil
  2127. }
  2128. func (x *TripUpdate_StopTimeUpdate) GetDepartureOccupancyStatus() VehiclePosition_OccupancyStatus {
  2129. if x != nil && x.DepartureOccupancyStatus != nil {
  2130. return *x.DepartureOccupancyStatus
  2131. }
  2132. return VehiclePosition_EMPTY
  2133. }
  2134. func (x *TripUpdate_StopTimeUpdate) GetScheduleRelationship() TripUpdate_StopTimeUpdate_ScheduleRelationship {
  2135. if x != nil && x.ScheduleRelationship != nil {
  2136. return *x.ScheduleRelationship
  2137. }
  2138. return Default_TripUpdate_StopTimeUpdate_ScheduleRelationship
  2139. }
  2140. func (x *TripUpdate_StopTimeUpdate) GetStopTimeProperties() *TripUpdate_StopTimeUpdate_StopTimeProperties {
  2141. if x != nil {
  2142. return x.StopTimeProperties
  2143. }
  2144. return nil
  2145. }
  2146. // Defines updated properties of the trip, such as a new shape_id when there is a detour. Or defines the
  2147. // trip_id, start_date, and start_time of a DUPLICATED trip.
  2148. // NOTE: This message is still experimental, and subject to change. It may be formally adopted in the future.
  2149. type TripUpdate_TripProperties struct {
  2150. state protoimpl.MessageState
  2151. sizeCache protoimpl.SizeCache
  2152. unknownFields protoimpl.UnknownFields
  2153. extensionFields protoimpl.ExtensionFields
  2154. // Defines the identifier of a new trip that is a duplicate of an existing trip defined in (CSV) GTFS trips.txt
  2155. // but will start at a different service date and/or time (defined using the TripProperties.start_date and
  2156. // TripProperties.start_time fields). See definition of trips.trip_id in (CSV) GTFS. Its value must be different
  2157. // than the ones used in the (CSV) GTFS. Required if schedule_relationship=DUPLICATED, otherwise this field must not
  2158. // be populated and will be ignored by consumers.
  2159. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  2160. TripId *string `protobuf:"bytes,1,opt,name=trip_id,json=tripId" json:"trip_id,omitempty"`
  2161. // Service date on which the DUPLICATED trip will be run, in YYYYMMDD format. Required if
  2162. // schedule_relationship=DUPLICATED, otherwise this field must not be populated and will be ignored by consumers.
  2163. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  2164. StartDate *string `protobuf:"bytes,2,opt,name=start_date,json=startDate" json:"start_date,omitempty"`
  2165. // Defines the departure start time of the trip when it’s duplicated. See definition of stop_times.departure_time
  2166. // in (CSV) GTFS. Scheduled arrival and departure times for the duplicated trip are calculated based on the offset
  2167. // between the original trip departure_time and this field. For example, if a GTFS trip has stop A with a
  2168. // departure_time of 10:00:00 and stop B with departure_time of 10:01:00, and this field is populated with the value
  2169. // of 10:30:00, stop B on the duplicated trip will have a scheduled departure_time of 10:31:00. Real-time prediction
  2170. // delay values are applied to this calculated schedule time to determine the predicted time. For example, if a
  2171. // departure delay of 30 is provided for stop B, then the predicted departure time is 10:31:30. Real-time
  2172. // prediction time values do not have any offset applied to them and indicate the predicted time as provided.
  2173. // For example, if a departure time representing 10:31:30 is provided for stop B, then the predicted departure time
  2174. // is 10:31:30. This field is required if schedule_relationship is DUPLICATED, otherwise this field must not be
  2175. // populated and will be ignored by consumers.
  2176. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  2177. StartTime *string `protobuf:"bytes,3,opt,name=start_time,json=startTime" json:"start_time,omitempty"`
  2178. // Specifies the shape of the vehicle travel path when the trip shape differs from the shape specified in
  2179. // (CSV) GTFS or to specify it in real-time when it's not provided by (CSV) GTFS, such as a vehicle that takes differing
  2180. // paths based on rider demand. See definition of trips.shape_id in (CSV) GTFS. If a shape is neither defined in (CSV) GTFS
  2181. // nor in real-time, the shape is considered unknown. This field can refer to a shape defined in the (CSV) GTFS in shapes.txt
  2182. // or a Shape in the (protobuf) real-time feed. The order of stops (stop sequences) for this trip must remain the same as
  2183. // (CSV) GTFS. Stops that are a part of the original trip but will no longer be made, such as when a detour occurs, should
  2184. // be marked as schedule_relationship=SKIPPED.
  2185. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  2186. ShapeId *string `protobuf:"bytes,4,opt,name=shape_id,json=shapeId" json:"shape_id,omitempty"`
  2187. }
  2188. func (x *TripUpdate_TripProperties) Reset() {
  2189. *x = TripUpdate_TripProperties{}
  2190. if protoimpl.UnsafeEnabled {
  2191. mi := &file_gtfs_realtime_proto_msgTypes[16]
  2192. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2193. ms.StoreMessageInfo(mi)
  2194. }
  2195. }
  2196. func (x *TripUpdate_TripProperties) String() string {
  2197. return protoimpl.X.MessageStringOf(x)
  2198. }
  2199. func (*TripUpdate_TripProperties) ProtoMessage() {}
  2200. func (x *TripUpdate_TripProperties) ProtoReflect() protoreflect.Message {
  2201. mi := &file_gtfs_realtime_proto_msgTypes[16]
  2202. if protoimpl.UnsafeEnabled && x != nil {
  2203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2204. if ms.LoadMessageInfo() == nil {
  2205. ms.StoreMessageInfo(mi)
  2206. }
  2207. return ms
  2208. }
  2209. return mi.MessageOf(x)
  2210. }
  2211. // Deprecated: Use TripUpdate_TripProperties.ProtoReflect.Descriptor instead.
  2212. func (*TripUpdate_TripProperties) Descriptor() ([]byte, []int) {
  2213. return file_gtfs_realtime_proto_rawDescGZIP(), []int{3, 2}
  2214. }
  2215. func (x *TripUpdate_TripProperties) GetTripId() string {
  2216. if x != nil && x.TripId != nil {
  2217. return *x.TripId
  2218. }
  2219. return ""
  2220. }
  2221. func (x *TripUpdate_TripProperties) GetStartDate() string {
  2222. if x != nil && x.StartDate != nil {
  2223. return *x.StartDate
  2224. }
  2225. return ""
  2226. }
  2227. func (x *TripUpdate_TripProperties) GetStartTime() string {
  2228. if x != nil && x.StartTime != nil {
  2229. return *x.StartTime
  2230. }
  2231. return ""
  2232. }
  2233. func (x *TripUpdate_TripProperties) GetShapeId() string {
  2234. if x != nil && x.ShapeId != nil {
  2235. return *x.ShapeId
  2236. }
  2237. return ""
  2238. }
  2239. // Provides the updated values for the stop time.
  2240. // NOTE: This message is still experimental, and subject to change. It may be formally adopted in the future.
  2241. type TripUpdate_StopTimeUpdate_StopTimeProperties struct {
  2242. state protoimpl.MessageState
  2243. sizeCache protoimpl.SizeCache
  2244. unknownFields protoimpl.UnknownFields
  2245. extensionFields protoimpl.ExtensionFields
  2246. // Supports real-time stop assignments. Refers to a stop_id defined in the GTFS stops.txt.
  2247. // The new assigned_stop_id should not result in a significantly different trip experience for the end user than
  2248. // the stop_id defined in GTFS stop_times.txt. In other words, the end user should not view this new stop_id as an
  2249. // "unusual change" if the new stop was presented within an app without any additional context.
  2250. // For example, this field is intended to be used for platform assignments by using a stop_id that belongs to the
  2251. // same station as the stop originally defined in GTFS stop_times.txt.
  2252. // To assign a stop without providing any real-time arrival or departure predictions, populate this field and set
  2253. // StopTimeUpdate.schedule_relationship = NO_DATA.
  2254. // If this field is populated, it is preferred to omit `StopTimeUpdate.stop_id` and use only `StopTimeUpdate.stop_sequence`. If
  2255. // `StopTimeProperties.assigned_stop_id` and `StopTimeUpdate.stop_id` are populated, `StopTimeUpdate.stop_id` must match `assigned_stop_id`.
  2256. // Platform assignments should be reflected in other GTFS-realtime fields as well
  2257. // (e.g., `VehiclePosition.stop_id`).
  2258. // NOTE: This field is still experimental, and subject to change. It may be formally adopted in the future.
  2259. AssignedStopId *string `protobuf:"bytes,1,opt,name=assigned_stop_id,json=assignedStopId" json:"assigned_stop_id,omitempty"`
  2260. }
  2261. func (x *TripUpdate_StopTimeUpdate_StopTimeProperties) Reset() {
  2262. *x = TripUpdate_StopTimeUpdate_StopTimeProperties{}
  2263. if protoimpl.UnsafeEnabled {
  2264. mi := &file_gtfs_realtime_proto_msgTypes[17]
  2265. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2266. ms.StoreMessageInfo(mi)
  2267. }
  2268. }
  2269. func (x *TripUpdate_StopTimeUpdate_StopTimeProperties) String() string {
  2270. return protoimpl.X.MessageStringOf(x)
  2271. }
  2272. func (*TripUpdate_StopTimeUpdate_StopTimeProperties) ProtoMessage() {}
  2273. func (x *TripUpdate_StopTimeUpdate_StopTimeProperties) ProtoReflect() protoreflect.Message {
  2274. mi := &file_gtfs_realtime_proto_msgTypes[17]
  2275. if protoimpl.UnsafeEnabled && x != nil {
  2276. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2277. if ms.LoadMessageInfo() == nil {
  2278. ms.StoreMessageInfo(mi)
  2279. }
  2280. return ms
  2281. }
  2282. return mi.MessageOf(x)
  2283. }
  2284. // Deprecated: Use TripUpdate_StopTimeUpdate_StopTimeProperties.ProtoReflect.Descriptor instead.
  2285. func (*TripUpdate_StopTimeUpdate_StopTimeProperties) Descriptor() ([]byte, []int) {
  2286. return file_gtfs_realtime_proto_rawDescGZIP(), []int{3, 1, 0}
  2287. }
  2288. func (x *TripUpdate_StopTimeUpdate_StopTimeProperties) GetAssignedStopId() string {
  2289. if x != nil && x.AssignedStopId != nil {
  2290. return *x.AssignedStopId
  2291. }
  2292. return ""
  2293. }
  2294. // Carriage specific details, used for vehicles composed of several carriages
  2295. // This message/field is still experimental, and subject to change. It may be formally adopted in the future.
  2296. type VehiclePosition_CarriageDetails struct {
  2297. state protoimpl.MessageState
  2298. sizeCache protoimpl.SizeCache
  2299. unknownFields protoimpl.UnknownFields
  2300. extensionFields protoimpl.ExtensionFields
  2301. // Identification of the carriage. Should be unique per vehicle.
  2302. Id *string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
  2303. // User visible label that may be shown to the passenger to help identify
  2304. // the carriage. Example: "7712", "Car ABC-32", etc...
  2305. // This message/field is still experimental, and subject to change. It may be formally adopted in the future.
  2306. Label *string `protobuf:"bytes,2,opt,name=label" json:"label,omitempty"`
  2307. // Occupancy status for this given carriage, in this vehicle
  2308. // This message/field is still experimental, and subject to change. It may be formally adopted in the future.
  2309. OccupancyStatus *VehiclePosition_OccupancyStatus `protobuf:"varint,3,opt,name=occupancy_status,json=occupancyStatus,enum=transit_realtime.VehiclePosition_OccupancyStatus,def=7" json:"occupancy_status,omitempty"`
  2310. // Occupancy percentage for this given carriage, in this vehicle.
  2311. // Follows the same rules as "VehiclePosition.occupancy_percentage"
  2312. // -1 in case data is not available for this given carriage (as protobuf defaults to 0 otherwise)
  2313. // This message/field is still experimental, and subject to change. It may be formally adopted in the future.
  2314. OccupancyPercentage *int32 `protobuf:"varint,4,opt,name=occupancy_percentage,json=occupancyPercentage,def=-1" json:"occupancy_percentage,omitempty"`
  2315. // Identifies the order of this carriage with respect to the other
  2316. // carriages in the vehicle's list of CarriageDetails.
  2317. // The first carriage in the direction of travel must have a value of 1.
  2318. // The second value corresponds to the second carriage in the direction
  2319. // of travel and must have a value of 2, and so forth.
  2320. // For example, the first carriage in the direction of travel has a value of 1.
  2321. // If the second carriage in the direction of travel has a value of 3,
  2322. // consumers will discard data for all carriages (i.e., the multi_carriage_details field).
  2323. // Carriages without data must be represented with a valid carriage_sequence number and the fields
  2324. // without data should be omitted (alternately, those fields could also be included and set to the "no data" values).
  2325. // This message/field is still experimental, and subject to change. It may be formally adopted in the future.
  2326. CarriageSequence *uint32 `protobuf:"varint,5,opt,name=carriage_sequence,json=carriageSequence" json:"carriage_sequence,omitempty"`
  2327. }
  2328. // Default values for VehiclePosition_CarriageDetails fields.
  2329. const (
  2330. Default_VehiclePosition_CarriageDetails_OccupancyStatus = VehiclePosition_NO_DATA_AVAILABLE
  2331. Default_VehiclePosition_CarriageDetails_OccupancyPercentage = int32(-1)
  2332. )
  2333. func (x *VehiclePosition_CarriageDetails) Reset() {
  2334. *x = VehiclePosition_CarriageDetails{}
  2335. if protoimpl.UnsafeEnabled {
  2336. mi := &file_gtfs_realtime_proto_msgTypes[18]
  2337. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2338. ms.StoreMessageInfo(mi)
  2339. }
  2340. }
  2341. func (x *VehiclePosition_CarriageDetails) String() string {
  2342. return protoimpl.X.MessageStringOf(x)
  2343. }
  2344. func (*VehiclePosition_CarriageDetails) ProtoMessage() {}
  2345. func (x *VehiclePosition_CarriageDetails) ProtoReflect() protoreflect.Message {
  2346. mi := &file_gtfs_realtime_proto_msgTypes[18]
  2347. if protoimpl.UnsafeEnabled && x != nil {
  2348. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2349. if ms.LoadMessageInfo() == nil {
  2350. ms.StoreMessageInfo(mi)
  2351. }
  2352. return ms
  2353. }
  2354. return mi.MessageOf(x)
  2355. }
  2356. // Deprecated: Use VehiclePosition_CarriageDetails.ProtoReflect.Descriptor instead.
  2357. func (*VehiclePosition_CarriageDetails) Descriptor() ([]byte, []int) {
  2358. return file_gtfs_realtime_proto_rawDescGZIP(), []int{4, 0}
  2359. }
  2360. func (x *VehiclePosition_CarriageDetails) GetId() string {
  2361. if x != nil && x.Id != nil {
  2362. return *x.Id
  2363. }
  2364. return ""
  2365. }
  2366. func (x *VehiclePosition_CarriageDetails) GetLabel() string {
  2367. if x != nil && x.Label != nil {
  2368. return *x.Label
  2369. }
  2370. return ""
  2371. }
  2372. func (x *VehiclePosition_CarriageDetails) GetOccupancyStatus() VehiclePosition_OccupancyStatus {
  2373. if x != nil && x.OccupancyStatus != nil {
  2374. return *x.OccupancyStatus
  2375. }
  2376. return Default_VehiclePosition_CarriageDetails_OccupancyStatus
  2377. }
  2378. func (x *VehiclePosition_CarriageDetails) GetOccupancyPercentage() int32 {
  2379. if x != nil && x.OccupancyPercentage != nil {
  2380. return *x.OccupancyPercentage
  2381. }
  2382. return Default_VehiclePosition_CarriageDetails_OccupancyPercentage
  2383. }
  2384. func (x *VehiclePosition_CarriageDetails) GetCarriageSequence() uint32 {
  2385. if x != nil && x.CarriageSequence != nil {
  2386. return *x.CarriageSequence
  2387. }
  2388. return 0
  2389. }
  2390. type TranslatedString_Translation struct {
  2391. state protoimpl.MessageState
  2392. sizeCache protoimpl.SizeCache
  2393. unknownFields protoimpl.UnknownFields
  2394. extensionFields protoimpl.ExtensionFields
  2395. // A UTF-8 string containing the message.
  2396. Text *string `protobuf:"bytes,1,req,name=text" json:"text,omitempty"`
  2397. // BCP-47 language code. Can be omitted if the language is unknown or if
  2398. // no i18n is done at all for the feed. At most one translation is
  2399. // allowed to have an unspecified language tag.
  2400. Language *string `protobuf:"bytes,2,opt,name=language" json:"language,omitempty"`
  2401. }
  2402. func (x *TranslatedString_Translation) Reset() {
  2403. *x = TranslatedString_Translation{}
  2404. if protoimpl.UnsafeEnabled {
  2405. mi := &file_gtfs_realtime_proto_msgTypes[19]
  2406. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2407. ms.StoreMessageInfo(mi)
  2408. }
  2409. }
  2410. func (x *TranslatedString_Translation) String() string {
  2411. return protoimpl.X.MessageStringOf(x)
  2412. }
  2413. func (*TranslatedString_Translation) ProtoMessage() {}
  2414. func (x *TranslatedString_Translation) ProtoReflect() protoreflect.Message {
  2415. mi := &file_gtfs_realtime_proto_msgTypes[19]
  2416. if protoimpl.UnsafeEnabled && x != nil {
  2417. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2418. if ms.LoadMessageInfo() == nil {
  2419. ms.StoreMessageInfo(mi)
  2420. }
  2421. return ms
  2422. }
  2423. return mi.MessageOf(x)
  2424. }
  2425. // Deprecated: Use TranslatedString_Translation.ProtoReflect.Descriptor instead.
  2426. func (*TranslatedString_Translation) Descriptor() ([]byte, []int) {
  2427. return file_gtfs_realtime_proto_rawDescGZIP(), []int{11, 0}
  2428. }
  2429. func (x *TranslatedString_Translation) GetText() string {
  2430. if x != nil && x.Text != nil {
  2431. return *x.Text
  2432. }
  2433. return ""
  2434. }
  2435. func (x *TranslatedString_Translation) GetLanguage() string {
  2436. if x != nil && x.Language != nil {
  2437. return *x.Language
  2438. }
  2439. return ""
  2440. }
  2441. type TranslatedImage_LocalizedImage struct {
  2442. state protoimpl.MessageState
  2443. sizeCache protoimpl.SizeCache
  2444. unknownFields protoimpl.UnknownFields
  2445. extensionFields protoimpl.ExtensionFields
  2446. // String containing an URL linking to an image
  2447. // The image linked must be less than 2MB.
  2448. // If an image changes in a significant enough way that an update is required on the consumer side, the producer must update the URL to a new one.
  2449. // The URL should be a fully qualified URL that includes http:// or https://, and any special characters in the URL must be correctly escaped. See the following http://www.w3.org/Addressing/URL/4_URI_Recommentations.html for a description of how to create fully qualified URL values.
  2450. Url *string `protobuf:"bytes,1,req,name=url" json:"url,omitempty"`
  2451. // IANA media type as to specify the type of image to be displayed.
  2452. // The type must start with "image/"
  2453. MediaType *string `protobuf:"bytes,2,req,name=media_type,json=mediaType" json:"media_type,omitempty"`
  2454. // BCP-47 language code. Can be omitted if the language is unknown or if
  2455. // no i18n is done at all for the feed. At most one translation is
  2456. // allowed to have an unspecified language tag.
  2457. Language *string `protobuf:"bytes,3,opt,name=language" json:"language,omitempty"`
  2458. }
  2459. func (x *TranslatedImage_LocalizedImage) Reset() {
  2460. *x = TranslatedImage_LocalizedImage{}
  2461. if protoimpl.UnsafeEnabled {
  2462. mi := &file_gtfs_realtime_proto_msgTypes[20]
  2463. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2464. ms.StoreMessageInfo(mi)
  2465. }
  2466. }
  2467. func (x *TranslatedImage_LocalizedImage) String() string {
  2468. return protoimpl.X.MessageStringOf(x)
  2469. }
  2470. func (*TranslatedImage_LocalizedImage) ProtoMessage() {}
  2471. func (x *TranslatedImage_LocalizedImage) ProtoReflect() protoreflect.Message {
  2472. mi := &file_gtfs_realtime_proto_msgTypes[20]
  2473. if protoimpl.UnsafeEnabled && x != nil {
  2474. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  2475. if ms.LoadMessageInfo() == nil {
  2476. ms.StoreMessageInfo(mi)
  2477. }
  2478. return ms
  2479. }
  2480. return mi.MessageOf(x)
  2481. }
  2482. // Deprecated: Use TranslatedImage_LocalizedImage.ProtoReflect.Descriptor instead.
  2483. func (*TranslatedImage_LocalizedImage) Descriptor() ([]byte, []int) {
  2484. return file_gtfs_realtime_proto_rawDescGZIP(), []int{12, 0}
  2485. }
  2486. func (x *TranslatedImage_LocalizedImage) GetUrl() string {
  2487. if x != nil && x.Url != nil {
  2488. return *x.Url
  2489. }
  2490. return ""
  2491. }
  2492. func (x *TranslatedImage_LocalizedImage) GetMediaType() string {
  2493. if x != nil && x.MediaType != nil {
  2494. return *x.MediaType
  2495. }
  2496. return ""
  2497. }
  2498. func (x *TranslatedImage_LocalizedImage) GetLanguage() string {
  2499. if x != nil && x.Language != nil {
  2500. return *x.Language
  2501. }
  2502. return ""
  2503. }
  2504. var File_gtfs_realtime_proto protoreflect.FileDescriptor
  2505. var file_gtfs_realtime_proto_rawDesc = []byte{
  2506. 0x0a, 0x13, 0x67, 0x74, 0x66, 0x73, 0x2d, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e,
  2507. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x10, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72,
  2508. 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x22, 0x89, 0x01, 0x0a, 0x0b, 0x46, 0x65, 0x65, 0x64,
  2509. 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65,
  2510. 0x72, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69,
  2511. 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x46, 0x65, 0x65, 0x64, 0x48,
  2512. 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x34, 0x0a,
  2513. 0x06, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
  2514. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65,
  2515. 0x2e, 0x46, 0x65, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x52, 0x06, 0x65, 0x6e, 0x74,
  2516. 0x69, 0x74, 0x79, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46,
  2517. 0x10, 0x90, 0x4e, 0x22, 0x87, 0x02, 0x0a, 0x0a, 0x46, 0x65, 0x65, 0x64, 0x48, 0x65, 0x61, 0x64,
  2518. 0x65, 0x72, 0x12, 0x32, 0x0a, 0x15, 0x67, 0x74, 0x66, 0x73, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74,
  2519. 0x69, 0x6d, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x02, 0x28,
  2520. 0x09, 0x52, 0x13, 0x67, 0x74, 0x66, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x56,
  2521. 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x61, 0x0a, 0x0e, 0x69, 0x6e, 0x63, 0x72, 0x65, 0x6d,
  2522. 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2b,
  2523. 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d,
  2524. 0x65, 0x2e, 0x46, 0x65, 0x65, 0x64, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x49, 0x6e, 0x63,
  2525. 0x72, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x3a, 0x0c, 0x46, 0x55, 0x4c,
  2526. 0x4c, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x52, 0x0e, 0x69, 0x6e, 0x63, 0x72, 0x65,
  2527. 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d,
  2528. 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69,
  2529. 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x22, 0x34, 0x0a, 0x0e, 0x49, 0x6e, 0x63, 0x72, 0x65,
  2530. 0x6d, 0x65, 0x6e, 0x74, 0x61, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x10, 0x0a, 0x0c, 0x46, 0x55, 0x4c,
  2531. 0x4c, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x53, 0x45, 0x54, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c, 0x44,
  2532. 0x49, 0x46, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x54, 0x49, 0x41, 0x4c, 0x10, 0x01, 0x2a, 0x06, 0x08,
  2533. 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xac, 0x02,
  2534. 0x0a, 0x0a, 0x46, 0x65, 0x65, 0x64, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x0e, 0x0a, 0x02,
  2535. 0x69, 0x64, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x24, 0x0a, 0x0a,
  2536. 0x69, 0x73, 0x5f, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08,
  2537. 0x3a, 0x05, 0x66, 0x61, 0x6c, 0x73, 0x65, 0x52, 0x09, 0x69, 0x73, 0x44, 0x65, 0x6c, 0x65, 0x74,
  2538. 0x65, 0x64, 0x12, 0x3d, 0x0a, 0x0b, 0x74, 0x72, 0x69, 0x70, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74,
  2539. 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69,
  2540. 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x55,
  2541. 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0a, 0x74, 0x72, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74,
  2542. 0x65, 0x12, 0x3b, 0x0a, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x18, 0x04, 0x20, 0x01,
  2543. 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61,
  2544. 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x73,
  2545. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12, 0x2d,
  2546. 0x0a, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e,
  2547. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65,
  2548. 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x52, 0x05, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x2d, 0x0a,
  2549. 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x74,
  2550. 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e,
  2551. 0x53, 0x68, 0x61, 0x70, 0x65, 0x52, 0x05, 0x73, 0x68, 0x61, 0x70, 0x65, 0x2a, 0x06, 0x08, 0xe8,
  2552. 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xed, 0x0a, 0x0a,
  2553. 0x0a, 0x54, 0x72, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x34, 0x0a, 0x04, 0x74,
  2554. 0x72, 0x69, 0x70, 0x18, 0x01, 0x20, 0x02, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  2555. 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69,
  2556. 0x70, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x74, 0x72, 0x69,
  2557. 0x70, 0x12, 0x3d, 0x0a, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01,
  2558. 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61,
  2559. 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x44, 0x65, 0x73,
  2560. 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65,
  2561. 0x12, 0x55, 0x0a, 0x10, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x5f, 0x75, 0x70,
  2562. 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x72, 0x61,
  2563. 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72,
  2564. 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d,
  2565. 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x0e, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d,
  2566. 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73,
  2567. 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65,
  2568. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x05,
  2569. 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x54, 0x0a, 0x0f, 0x74,
  2570. 0x72, 0x69, 0x70, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06,
  2571. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72,
  2572. 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61,
  2573. 0x74, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
  2574. 0x73, 0x52, 0x0e, 0x74, 0x72, 0x69, 0x70, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
  2575. 0x73, 0x1a, 0x6b, 0x0a, 0x0d, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65,
  2576. 0x6e, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
  2577. 0x05, 0x52, 0x05, 0x64, 0x65, 0x6c, 0x61, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65,
  2578. 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b,
  2579. 0x75, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28,
  2580. 0x05, 0x52, 0x0b, 0x75, 0x6e, 0x63, 0x65, 0x72, 0x74, 0x61, 0x69, 0x6e, 0x74, 0x79, 0x2a, 0x06,
  2581. 0x08, 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x1a, 0xf6,
  2582. 0x05, 0x0a, 0x0e, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74,
  2583. 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e,
  2584. 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0c, 0x73, 0x74, 0x6f, 0x70, 0x53, 0x65,
  2585. 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69,
  2586. 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x6f, 0x70, 0x49, 0x64, 0x12,
  2587. 0x44, 0x0a, 0x07, 0x61, 0x72, 0x72, 0x69, 0x76, 0x61, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  2588. 0x32, 0x2a, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74,
  2589. 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53,
  2590. 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x45, 0x76, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x61, 0x72,
  2591. 0x72, 0x69, 0x76, 0x61, 0x6c, 0x12, 0x48, 0x0a, 0x09, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75,
  2592. 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2a, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
  2593. 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70,
  2594. 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x45,
  2595. 0x76, 0x65, 0x6e, 0x74, 0x52, 0x09, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x12,
  2596. 0x6f, 0x0a, 0x1a, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x6f, 0x63, 0x63,
  2597. 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x07, 0x20,
  2598. 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65,
  2599. 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x50, 0x6f,
  2600. 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79,
  2601. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x18, 0x64, 0x65, 0x70, 0x61, 0x72, 0x74, 0x75, 0x72,
  2602. 0x65, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
  2603. 0x12, 0x80, 0x01, 0x0a, 0x15, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x72, 0x65,
  2604. 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e,
  2605. 0x32, 0x40, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74,
  2606. 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53,
  2607. 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53, 0x63,
  2608. 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68,
  2609. 0x69, 0x70, 0x3a, 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x52, 0x14, 0x73,
  2610. 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  2611. 0x68, 0x69, 0x70, 0x12, 0x70, 0x0a, 0x14, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  2612. 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28,
  2613. 0x0b, 0x32, 0x3e, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c,
  2614. 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e,
  2615. 0x53, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x2e, 0x53,
  2616. 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65,
  2617. 0x73, 0x52, 0x12, 0x73, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d, 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65,
  2618. 0x72, 0x74, 0x69, 0x65, 0x73, 0x1a, 0x4e, 0x0a, 0x12, 0x53, 0x74, 0x6f, 0x70, 0x54, 0x69, 0x6d,
  2619. 0x65, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x61,
  2620. 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18,
  2621. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x53,
  2622. 0x74, 0x6f, 0x70, 0x49, 0x64, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08,
  2623. 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0x50, 0x0a, 0x14, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
  2624. 0x65, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x0d, 0x0a,
  2625. 0x09, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07,
  2626. 0x53, 0x4b, 0x49, 0x50, 0x50, 0x45, 0x44, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x4e, 0x4f, 0x5f,
  2627. 0x44, 0x41, 0x54, 0x41, 0x10, 0x02, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x43, 0x48, 0x45,
  2628. 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x03, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a,
  2629. 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x1a, 0x92, 0x01, 0x0a, 0x0e, 0x54, 0x72, 0x69, 0x70,
  2630. 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x17, 0x0a, 0x07, 0x74, 0x72,
  2631. 0x69, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x72, 0x69,
  2632. 0x70, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x64, 0x61, 0x74,
  2633. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61,
  2634. 0x74, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x74, 0x69, 0x6d, 0x65,
  2635. 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x54, 0x69, 0x6d,
  2636. 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20,
  2637. 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x68, 0x61, 0x70, 0x65, 0x49, 0x64, 0x2a, 0x06, 0x08, 0xe8,
  2638. 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x2a, 0x06, 0x08, 0xe8,
  2639. 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xbf, 0x0b, 0x0a,
  2640. 0x0f, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2641. 0x12, 0x34, 0x0a, 0x04, 0x74, 0x72, 0x69, 0x70, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20,
  2642. 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d,
  2643. 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
  2644. 0x52, 0x04, 0x74, 0x72, 0x69, 0x70, 0x12, 0x3d, 0x0a, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c,
  2645. 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69,
  2646. 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63,
  2647. 0x6c, 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x52, 0x07, 0x76, 0x65,
  2648. 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12, 0x36, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f,
  2649. 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69,
  2650. 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x69, 0x74,
  2651. 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x32, 0x0a,
  2652. 0x15, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x73, 0x65,
  2653. 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x63, 0x75,
  2654. 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63,
  2655. 0x65, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x07, 0x20, 0x01,
  2656. 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x6f, 0x70, 0x49, 0x64, 0x12, 0x69, 0x0a, 0x0e, 0x63, 0x75,
  2657. 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x04, 0x20, 0x01,
  2658. 0x28, 0x0e, 0x32, 0x33, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61,
  2659. 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x73,
  2660. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x6f,
  2661. 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x3a, 0x0d, 0x49, 0x4e, 0x5f, 0x54, 0x52, 0x41, 0x4e,
  2662. 0x53, 0x49, 0x54, 0x5f, 0x54, 0x4f, 0x52, 0x0d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x53,
  2663. 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1c, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61,
  2664. 0x6d, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
  2665. 0x61, 0x6d, 0x70, 0x12, 0x5c, 0x0a, 0x10, 0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f,
  2666. 0x6e, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e,
  2667. 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65,
  2668. 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e,
  2669. 0x2e, 0x43, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c,
  2670. 0x52, 0x0f, 0x63, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x65, 0x76, 0x65,
  2671. 0x6c, 0x12, 0x5c, 0x0a, 0x10, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79, 0x5f, 0x73,
  2672. 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x31, 0x2e, 0x74, 0x72,
  2673. 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x56,
  2674. 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x4f,
  2675. 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0f,
  2676. 0x6f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
  2677. 0x31, 0x0a, 0x14, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79, 0x5f, 0x70, 0x65, 0x72,
  2678. 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x13, 0x6f,
  2679. 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61,
  2680. 0x67, 0x65, 0x12, 0x67, 0x0a, 0x16, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x5f, 0x63, 0x61, 0x72, 0x72,
  2681. 0x69, 0x61, 0x67, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03,
  2682. 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61,
  2683. 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x73,
  2684. 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x72, 0x69, 0x61, 0x67, 0x65, 0x44, 0x65,
  2685. 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x14, 0x6d, 0x75, 0x6c, 0x74, 0x69, 0x43, 0x61, 0x72, 0x72,
  2686. 0x69, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x1a, 0x9c, 0x02, 0x0a, 0x0f,
  2687. 0x43, 0x61, 0x72, 0x72, 0x69, 0x61, 0x67, 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12,
  2688. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12,
  2689. 0x14, 0x0a, 0x05, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05,
  2690. 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x6f, 0x0a, 0x10, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e,
  2691. 0x63, 0x79, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32,
  2692. 0x31, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69,
  2693. 0x6d, 0x65, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x50, 0x6f, 0x73, 0x69, 0x74, 0x69,
  2694. 0x6f, 0x6e, 0x2e, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74,
  2695. 0x75, 0x73, 0x3a, 0x11, 0x4e, 0x4f, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x41, 0x56, 0x41, 0x49,
  2696. 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x52, 0x0f, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79,
  2697. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x35, 0x0a, 0x14, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x61,
  2698. 0x6e, 0x63, 0x79, 0x5f, 0x70, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x18, 0x04,
  2699. 0x20, 0x01, 0x28, 0x05, 0x3a, 0x02, 0x2d, 0x31, 0x52, 0x13, 0x6f, 0x63, 0x63, 0x75, 0x70, 0x61,
  2700. 0x6e, 0x63, 0x79, 0x50, 0x65, 0x72, 0x63, 0x65, 0x6e, 0x74, 0x61, 0x67, 0x65, 0x12, 0x2b, 0x0a,
  2701. 0x11, 0x63, 0x61, 0x72, 0x72, 0x69, 0x61, 0x67, 0x65, 0x5f, 0x73, 0x65, 0x71, 0x75, 0x65, 0x6e,
  2702. 0x63, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x10, 0x63, 0x61, 0x72, 0x72, 0x69, 0x61,
  2703. 0x67, 0x65, 0x53, 0x65, 0x71, 0x75, 0x65, 0x6e, 0x63, 0x65, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10,
  2704. 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0x47, 0x0a, 0x11, 0x56, 0x65,
  2705. 0x68, 0x69, 0x63, 0x6c, 0x65, 0x53, 0x74, 0x6f, 0x70, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12,
  2706. 0x0f, 0x0a, 0x0b, 0x49, 0x4e, 0x43, 0x4f, 0x4d, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x54, 0x10, 0x00,
  2707. 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x4f, 0x50, 0x50, 0x45, 0x44, 0x5f, 0x41, 0x54, 0x10, 0x01,
  2708. 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x4e, 0x5f, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x49, 0x54, 0x5f, 0x54,
  2709. 0x4f, 0x10, 0x02, 0x22, 0x7d, 0x0a, 0x0f, 0x43, 0x6f, 0x6e, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f,
  2710. 0x6e, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1c, 0x0a, 0x18, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57,
  2711. 0x4e, 0x5f, 0x43, 0x4f, 0x4e, 0x47, 0x45, 0x53, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4c, 0x45, 0x56,
  2712. 0x45, 0x4c, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x55, 0x4e, 0x4e, 0x49, 0x4e, 0x47, 0x5f,
  2713. 0x53, 0x4d, 0x4f, 0x4f, 0x54, 0x48, 0x4c, 0x59, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x54,
  2714. 0x4f, 0x50, 0x5f, 0x41, 0x4e, 0x44, 0x5f, 0x47, 0x4f, 0x10, 0x02, 0x12, 0x0e, 0x0a, 0x0a, 0x43,
  2715. 0x4f, 0x4e, 0x47, 0x45, 0x53, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x03, 0x12, 0x15, 0x0a, 0x11, 0x53,
  2716. 0x45, 0x56, 0x45, 0x52, 0x45, 0x5f, 0x43, 0x4f, 0x4e, 0x47, 0x45, 0x53, 0x54, 0x49, 0x4f, 0x4e,
  2717. 0x10, 0x04, 0x22, 0xd9, 0x01, 0x0a, 0x0f, 0x4f, 0x63, 0x63, 0x75, 0x70, 0x61, 0x6e, 0x63, 0x79,
  2718. 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x09, 0x0a, 0x05, 0x45, 0x4d, 0x50, 0x54, 0x59, 0x10,
  2719. 0x00, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x41, 0x4e, 0x59, 0x5f, 0x53, 0x45, 0x41, 0x54, 0x53, 0x5f,
  2720. 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x46,
  2721. 0x45, 0x57, 0x5f, 0x53, 0x45, 0x41, 0x54, 0x53, 0x5f, 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42,
  2722. 0x4c, 0x45, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x49, 0x4e, 0x47,
  2723. 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x03, 0x12, 0x1e, 0x0a, 0x1a,
  2724. 0x43, 0x52, 0x55, 0x53, 0x48, 0x45, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x49, 0x4e, 0x47,
  2725. 0x5f, 0x52, 0x4f, 0x4f, 0x4d, 0x5f, 0x4f, 0x4e, 0x4c, 0x59, 0x10, 0x04, 0x12, 0x08, 0x0a, 0x04,
  2726. 0x46, 0x55, 0x4c, 0x4c, 0x10, 0x05, 0x12, 0x1c, 0x0a, 0x18, 0x4e, 0x4f, 0x54, 0x5f, 0x41, 0x43,
  2727. 0x43, 0x45, 0x50, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x50, 0x41, 0x53, 0x53, 0x45, 0x4e, 0x47, 0x45,
  2728. 0x52, 0x53, 0x10, 0x06, 0x12, 0x15, 0x0a, 0x11, 0x4e, 0x4f, 0x5f, 0x44, 0x41, 0x54, 0x41, 0x5f,
  2729. 0x41, 0x56, 0x41, 0x49, 0x4c, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x07, 0x12, 0x11, 0x0a, 0x0d, 0x4e,
  2730. 0x4f, 0x54, 0x5f, 0x42, 0x4f, 0x41, 0x52, 0x44, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x08, 0x2a, 0x06,
  2731. 0x08, 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xa4,
  2732. 0x0c, 0x0a, 0x05, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x12, 0x40, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69,
  2733. 0x76, 0x65, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32,
  2734. 0x1b, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69,
  2735. 0x6d, 0x65, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0c, 0x61, 0x63,
  2736. 0x74, 0x69, 0x76, 0x65, 0x50, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x12, 0x49, 0x0a, 0x0f, 0x69, 0x6e,
  2737. 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x64, 0x5f, 0x65, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x18, 0x05, 0x20,
  2738. 0x03, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65,
  2739. 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x45, 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6c,
  2740. 0x65, 0x63, 0x74, 0x6f, 0x72, 0x52, 0x0e, 0x69, 0x6e, 0x66, 0x6f, 0x72, 0x6d, 0x65, 0x64, 0x45,
  2741. 0x6e, 0x74, 0x69, 0x74, 0x79, 0x12, 0x42, 0x0a, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x18, 0x06,
  2742. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72,
  2743. 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x43, 0x61,
  2744. 0x75, 0x73, 0x65, 0x3a, 0x0d, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x41, 0x55,
  2745. 0x53, 0x45, 0x52, 0x05, 0x63, 0x61, 0x75, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x06, 0x65, 0x66, 0x66,
  2746. 0x65, 0x63, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1e, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  2747. 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x41, 0x6c, 0x65,
  2748. 0x72, 0x74, 0x2e, 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x3a, 0x0e, 0x55, 0x4e, 0x4b, 0x4e, 0x4f,
  2749. 0x57, 0x4e, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x52, 0x06, 0x65, 0x66, 0x66, 0x65, 0x63,
  2750. 0x74, 0x12, 0x34, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
  2751. 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d,
  2752. 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69,
  2753. 0x6e, 0x67, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x43, 0x0a, 0x0b, 0x68, 0x65, 0x61, 0x64, 0x65,
  2754. 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74,
  2755. 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e,
  2756. 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67,
  2757. 0x52, 0x0a, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x12, 0x4d, 0x0a, 0x10,
  2758. 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74,
  2759. 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74,
  2760. 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c,
  2761. 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0f, 0x64, 0x65, 0x73, 0x63,
  2762. 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x4a, 0x0a, 0x0f, 0x74,
  2763. 0x74, 0x73, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x0c,
  2764. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72,
  2765. 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74,
  2766. 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0d, 0x74, 0x74, 0x73, 0x48, 0x65, 0x61,
  2767. 0x64, 0x65, 0x72, 0x54, 0x65, 0x78, 0x74, 0x12, 0x54, 0x0a, 0x14, 0x74, 0x74, 0x73, 0x5f, 0x64,
  2768. 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18,
  2769. 0x0d, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f,
  2770. 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61,
  2771. 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x12, 0x74, 0x74, 0x73, 0x44, 0x65,
  2772. 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x5e, 0x0a,
  2773. 0x0e, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18,
  2774. 0x0e, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x25, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f,
  2775. 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x2e, 0x53,
  2776. 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x3a, 0x10, 0x55, 0x4e,
  2777. 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x52, 0x0d,
  2778. 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x37, 0x0a,
  2779. 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x74,
  2780. 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e,
  2781. 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52,
  2782. 0x05, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x58, 0x0a, 0x16, 0x69, 0x6d, 0x61, 0x67, 0x65, 0x5f,
  2783. 0x61, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x65, 0x78, 0x74,
  2784. 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74,
  2785. 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c,
  2786. 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x14, 0x69, 0x6d, 0x61, 0x67,
  2787. 0x65, 0x41, 0x6c, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x74, 0x69, 0x76, 0x65, 0x54, 0x65, 0x78, 0x74,
  2788. 0x12, 0x45, 0x0a, 0x0c, 0x63, 0x61, 0x75, 0x73, 0x65, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c,
  2789. 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74,
  2790. 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c,
  2791. 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x0b, 0x63, 0x61, 0x75, 0x73,
  2792. 0x65, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x47, 0x0a, 0x0d, 0x65, 0x66, 0x66, 0x65, 0x63,
  2793. 0x74, 0x5f, 0x64, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x18, 0x12, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22,
  2794. 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d,
  2795. 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69,
  2796. 0x6e, 0x67, 0x52, 0x0c, 0x65, 0x66, 0x66, 0x65, 0x63, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c,
  2797. 0x22, 0xd8, 0x01, 0x0a, 0x05, 0x43, 0x61, 0x75, 0x73, 0x65, 0x12, 0x11, 0x0a, 0x0d, 0x55, 0x4e,
  2798. 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x43, 0x41, 0x55, 0x53, 0x45, 0x10, 0x01, 0x12, 0x0f, 0x0a,
  2799. 0x0b, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x43, 0x41, 0x55, 0x53, 0x45, 0x10, 0x02, 0x12, 0x15,
  2800. 0x0a, 0x11, 0x54, 0x45, 0x43, 0x48, 0x4e, 0x49, 0x43, 0x41, 0x4c, 0x5f, 0x50, 0x52, 0x4f, 0x42,
  2801. 0x4c, 0x45, 0x4d, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x54, 0x52, 0x49, 0x4b, 0x45, 0x10,
  2802. 0x04, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x45, 0x4d, 0x4f, 0x4e, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49,
  2803. 0x4f, 0x4e, 0x10, 0x05, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x43, 0x43, 0x49, 0x44, 0x45, 0x4e, 0x54,
  2804. 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x48, 0x4f, 0x4c, 0x49, 0x44, 0x41, 0x59, 0x10, 0x07, 0x12,
  2805. 0x0b, 0x0a, 0x07, 0x57, 0x45, 0x41, 0x54, 0x48, 0x45, 0x52, 0x10, 0x08, 0x12, 0x0f, 0x0a, 0x0b,
  2806. 0x4d, 0x41, 0x49, 0x4e, 0x54, 0x45, 0x4e, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x09, 0x12, 0x10, 0x0a,
  2807. 0x0c, 0x43, 0x4f, 0x4e, 0x53, 0x54, 0x52, 0x55, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x0a, 0x12,
  2808. 0x13, 0x0a, 0x0f, 0x50, 0x4f, 0x4c, 0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x54, 0x49, 0x56, 0x49,
  2809. 0x54, 0x59, 0x10, 0x0b, 0x12, 0x15, 0x0a, 0x11, 0x4d, 0x45, 0x44, 0x49, 0x43, 0x41, 0x4c, 0x5f,
  2810. 0x45, 0x4d, 0x45, 0x52, 0x47, 0x45, 0x4e, 0x43, 0x59, 0x10, 0x0c, 0x22, 0xdd, 0x01, 0x0a, 0x06,
  2811. 0x45, 0x66, 0x66, 0x65, 0x63, 0x74, 0x12, 0x0e, 0x0a, 0x0a, 0x4e, 0x4f, 0x5f, 0x53, 0x45, 0x52,
  2812. 0x56, 0x49, 0x43, 0x45, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f, 0x52, 0x45, 0x44, 0x55, 0x43, 0x45,
  2813. 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x02, 0x12, 0x16, 0x0a, 0x12, 0x53,
  2814. 0x49, 0x47, 0x4e, 0x49, 0x46, 0x49, 0x43, 0x41, 0x4e, 0x54, 0x5f, 0x44, 0x45, 0x4c, 0x41, 0x59,
  2815. 0x53, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x44, 0x45, 0x54, 0x4f, 0x55, 0x52, 0x10, 0x04, 0x12,
  2816. 0x16, 0x0a, 0x12, 0x41, 0x44, 0x44, 0x49, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x5f, 0x53, 0x45,
  2817. 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x05, 0x12, 0x14, 0x0a, 0x10, 0x4d, 0x4f, 0x44, 0x49, 0x46,
  2818. 0x49, 0x45, 0x44, 0x5f, 0x53, 0x45, 0x52, 0x56, 0x49, 0x43, 0x45, 0x10, 0x06, 0x12, 0x10, 0x0a,
  2819. 0x0c, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54, 0x10, 0x07, 0x12,
  2820. 0x12, 0x0a, 0x0e, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43,
  2821. 0x54, 0x10, 0x08, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x54, 0x4f, 0x50, 0x5f, 0x4d, 0x4f, 0x56, 0x45,
  2822. 0x44, 0x10, 0x09, 0x12, 0x0d, 0x0a, 0x09, 0x4e, 0x4f, 0x5f, 0x45, 0x46, 0x46, 0x45, 0x43, 0x54,
  2823. 0x10, 0x0a, 0x12, 0x17, 0x0a, 0x13, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x49, 0x42, 0x49, 0x4c,
  2824. 0x49, 0x54, 0x59, 0x5f, 0x49, 0x53, 0x53, 0x55, 0x45, 0x10, 0x0b, 0x22, 0x48, 0x0a, 0x0d, 0x53,
  2825. 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x14, 0x0a, 0x10,
  2826. 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59,
  2827. 0x10, 0x01, 0x12, 0x08, 0x0a, 0x04, 0x49, 0x4e, 0x46, 0x4f, 0x10, 0x02, 0x12, 0x0b, 0x0a, 0x07,
  2828. 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x03, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x56,
  2829. 0x45, 0x52, 0x45, 0x10, 0x04, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08,
  2830. 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0x43, 0x0a, 0x09, 0x54, 0x69, 0x6d, 0x65, 0x52, 0x61, 0x6e,
  2831. 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  2832. 0x04, 0x52, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18,
  2833. 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10,
  2834. 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xa0, 0x01, 0x0a, 0x08, 0x50,
  2835. 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74,
  2836. 0x75, 0x64, 0x65, 0x18, 0x01, 0x20, 0x02, 0x28, 0x02, 0x52, 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74,
  2837. 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65,
  2838. 0x18, 0x02, 0x20, 0x02, 0x28, 0x02, 0x52, 0x09, 0x6c, 0x6f, 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64,
  2839. 0x65, 0x12, 0x18, 0x0a, 0x07, 0x62, 0x65, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x18, 0x03, 0x20, 0x01,
  2840. 0x28, 0x02, 0x52, 0x07, 0x62, 0x65, 0x61, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x6f,
  2841. 0x64, 0x6f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x01, 0x52, 0x08, 0x6f,
  2842. 0x64, 0x6f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64,
  2843. 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x52, 0x05, 0x73, 0x70, 0x65, 0x65, 0x64, 0x2a, 0x06, 0x08,
  2844. 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xa5, 0x03,
  2845. 0x0a, 0x0e, 0x54, 0x72, 0x69, 0x70, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72,
  2846. 0x12, 0x17, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
  2847. 0x09, 0x52, 0x06, 0x74, 0x72, 0x69, 0x70, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f, 0x75,
  2848. 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f, 0x75,
  2849. 0x74, 0x65, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f,
  2850. 0x6e, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65,
  2851. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74,
  2852. 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61,
  2853. 0x72, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f,
  2854. 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72,
  2855. 0x74, 0x44, 0x61, 0x74, 0x65, 0x12, 0x6a, 0x0a, 0x15, 0x73, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c,
  2856. 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x04,
  2857. 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72,
  2858. 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x44, 0x65, 0x73, 0x63,
  2859. 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52,
  2860. 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x14, 0x73, 0x63, 0x68,
  2861. 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69,
  2862. 0x70, 0x22, 0x81, 0x01, 0x0a, 0x14, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x65, 0x52, 0x65,
  2863. 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x0d, 0x0a, 0x09, 0x53, 0x43,
  2864. 0x48, 0x45, 0x44, 0x55, 0x4c, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x44,
  2865. 0x45, 0x44, 0x10, 0x01, 0x12, 0x0f, 0x0a, 0x0b, 0x55, 0x4e, 0x53, 0x43, 0x48, 0x45, 0x44, 0x55,
  2866. 0x4c, 0x45, 0x44, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x43, 0x41, 0x4e, 0x43, 0x45, 0x4c, 0x45,
  2867. 0x44, 0x10, 0x03, 0x12, 0x13, 0x0a, 0x0b, 0x52, 0x45, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x4d, 0x45,
  2868. 0x4e, 0x54, 0x10, 0x05, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x44, 0x55, 0x50, 0x4c,
  2869. 0x49, 0x43, 0x41, 0x54, 0x45, 0x44, 0x10, 0x06, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x45, 0x4c, 0x45,
  2870. 0x54, 0x45, 0x44, 0x10, 0x07, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08,
  2871. 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xd2, 0x02, 0x0a, 0x11, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c,
  2872. 0x65, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69,
  2873. 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x6c,
  2874. 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x61, 0x62, 0x65,
  2875. 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x5f, 0x70, 0x6c, 0x61,
  2876. 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73,
  2877. 0x65, 0x50, 0x6c, 0x61, 0x74, 0x65, 0x12, 0x77, 0x0a, 0x15, 0x77, 0x68, 0x65, 0x65, 0x6c, 0x63,
  2878. 0x68, 0x61, 0x69, 0x72, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x18,
  2879. 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x38, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f,
  2880. 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65,
  2881. 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x57, 0x68, 0x65, 0x65, 0x6c,
  2882. 0x63, 0x68, 0x61, 0x69, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x3a,
  2883. 0x08, 0x4e, 0x4f, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x52, 0x14, 0x77, 0x68, 0x65, 0x65, 0x6c,
  2884. 0x63, 0x68, 0x61, 0x69, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x22,
  2885. 0x69, 0x0a, 0x14, 0x57, 0x68, 0x65, 0x65, 0x6c, 0x63, 0x68, 0x61, 0x69, 0x72, 0x41, 0x63, 0x63,
  2886. 0x65, 0x73, 0x73, 0x69, 0x62, 0x6c, 0x65, 0x12, 0x0c, 0x0a, 0x08, 0x4e, 0x4f, 0x5f, 0x56, 0x41,
  2887. 0x4c, 0x55, 0x45, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e,
  2888. 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x57, 0x48, 0x45, 0x45, 0x4c, 0x43, 0x48, 0x41, 0x49, 0x52,
  2889. 0x5f, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x02, 0x12, 0x1b, 0x0a,
  2890. 0x17, 0x57, 0x48, 0x45, 0x45, 0x4c, 0x43, 0x48, 0x41, 0x49, 0x52, 0x5f, 0x49, 0x4e, 0x41, 0x43,
  2891. 0x43, 0x45, 0x53, 0x53, 0x49, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10,
  2892. 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xe9, 0x01, 0x0a, 0x0e, 0x45,
  2893. 0x6e, 0x74, 0x69, 0x74, 0x79, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x12, 0x1b, 0x0a,
  2894. 0x09, 0x61, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  2895. 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x72, 0x6f,
  2896. 0x75, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x72, 0x6f,
  2897. 0x75, 0x74, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x74,
  2898. 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x72, 0x6f, 0x75, 0x74, 0x65,
  2899. 0x54, 0x79, 0x70, 0x65, 0x12, 0x34, 0x0a, 0x04, 0x74, 0x72, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01,
  2900. 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61,
  2901. 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
  2902. 0x70, 0x74, 0x6f, 0x72, 0x52, 0x04, 0x74, 0x72, 0x69, 0x70, 0x12, 0x17, 0x0a, 0x07, 0x73, 0x74,
  2903. 0x6f, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x6f,
  2904. 0x70, 0x49, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  2905. 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x0b, 0x64, 0x69, 0x72, 0x65, 0x63,
  2906. 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06,
  2907. 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xc3, 0x01, 0x0a, 0x10, 0x54, 0x72, 0x61, 0x6e, 0x73,
  2908. 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x50, 0x0a, 0x0b, 0x74,
  2909. 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  2910. 0x32, 0x2e, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74,
  2911. 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x53, 0x74,
  2912. 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  2913. 0x52, 0x0b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x4d, 0x0a,
  2914. 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04,
  2915. 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74,
  2916. 0x12, 0x1a, 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01,
  2917. 0x28, 0x09, 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2a, 0x06, 0x08, 0xe8,
  2918. 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x2a, 0x06, 0x08, 0xe8,
  2919. 0x07, 0x10, 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0xeb, 0x01, 0x0a,
  2920. 0x0f, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65,
  2921. 0x12, 0x59, 0x0a, 0x0f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x69, 0x6d,
  2922. 0x61, 0x67, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 0x2e, 0x74, 0x72, 0x61, 0x6e,
  2923. 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x2e, 0x54, 0x72, 0x61,
  2924. 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x2e, 0x4c, 0x6f, 0x63,
  2925. 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x52, 0x0e, 0x6c, 0x6f, 0x63,
  2926. 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x1a, 0x6d, 0x0a, 0x0e, 0x4c,
  2927. 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x49, 0x6d, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a,
  2928. 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x02, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12,
  2929. 0x1d, 0x0a, 0x0a, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20,
  2930. 0x02, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a,
  2931. 0x0a, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  2932. 0x52, 0x08, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10,
  2933. 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10,
  2934. 0xd0, 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x22, 0x5d, 0x0a, 0x05, 0x53, 0x68,
  2935. 0x61, 0x70, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x73, 0x68, 0x61, 0x70, 0x65, 0x5f, 0x69, 0x64, 0x18,
  2936. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x68, 0x61, 0x70, 0x65, 0x49, 0x64, 0x12, 0x29,
  2937. 0x0a, 0x10, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69,
  2938. 0x6e, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x65, 0x6e, 0x63, 0x6f, 0x64, 0x65,
  2939. 0x64, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x2a, 0x06, 0x08, 0xe8, 0x07, 0x10, 0xd0,
  2940. 0x0f, 0x2a, 0x06, 0x08, 0xa8, 0x46, 0x10, 0x90, 0x4e, 0x42, 0x52, 0x0a, 0x1b, 0x63, 0x6f, 0x6d,
  2941. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x2e,
  2942. 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65, 0x5a, 0x33, 0x61, 0x70, 0x69, 0x6f, 0x74, 0x65,
  2943. 0x2e, 0x78, 0x79, 0x7a, 0x2f, 0x70, 0x2f, 0x73, 0x7a, 0x63, 0x7a, 0x61, 0x6e, 0x69, 0x65, 0x63,
  2944. 0x6b, 0x69, 0x65, 0x6a, 0x2f, 0x67, 0x74, 0x66, 0x73, 0x5f, 0x72, 0x74, 0x2f, 0x74, 0x72, 0x61,
  2945. 0x6e, 0x73, 0x69, 0x74, 0x5f, 0x72, 0x65, 0x61, 0x6c, 0x74, 0x69, 0x6d, 0x65,
  2946. }
  2947. var (
  2948. file_gtfs_realtime_proto_rawDescOnce sync.Once
  2949. file_gtfs_realtime_proto_rawDescData = file_gtfs_realtime_proto_rawDesc
  2950. )
  2951. func file_gtfs_realtime_proto_rawDescGZIP() []byte {
  2952. file_gtfs_realtime_proto_rawDescOnce.Do(func() {
  2953. file_gtfs_realtime_proto_rawDescData = protoimpl.X.CompressGZIP(file_gtfs_realtime_proto_rawDescData)
  2954. })
  2955. return file_gtfs_realtime_proto_rawDescData
  2956. }
  2957. var file_gtfs_realtime_proto_enumTypes = make([]protoimpl.EnumInfo, 10)
  2958. var file_gtfs_realtime_proto_msgTypes = make([]protoimpl.MessageInfo, 21)
  2959. var file_gtfs_realtime_proto_goTypes = []interface{}{
  2960. (FeedHeader_Incrementality)(0), // 0: transit_realtime.FeedHeader.Incrementality
  2961. (TripUpdate_StopTimeUpdate_ScheduleRelationship)(0), // 1: transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship
  2962. (VehiclePosition_VehicleStopStatus)(0), // 2: transit_realtime.VehiclePosition.VehicleStopStatus
  2963. (VehiclePosition_CongestionLevel)(0), // 3: transit_realtime.VehiclePosition.CongestionLevel
  2964. (VehiclePosition_OccupancyStatus)(0), // 4: transit_realtime.VehiclePosition.OccupancyStatus
  2965. (Alert_Cause)(0), // 5: transit_realtime.Alert.Cause
  2966. (Alert_Effect)(0), // 6: transit_realtime.Alert.Effect
  2967. (Alert_SeverityLevel)(0), // 7: transit_realtime.Alert.SeverityLevel
  2968. (TripDescriptor_ScheduleRelationship)(0), // 8: transit_realtime.TripDescriptor.ScheduleRelationship
  2969. (VehicleDescriptor_WheelchairAccessible)(0), // 9: transit_realtime.VehicleDescriptor.WheelchairAccessible
  2970. (*FeedMessage)(nil), // 10: transit_realtime.FeedMessage
  2971. (*FeedHeader)(nil), // 11: transit_realtime.FeedHeader
  2972. (*FeedEntity)(nil), // 12: transit_realtime.FeedEntity
  2973. (*TripUpdate)(nil), // 13: transit_realtime.TripUpdate
  2974. (*VehiclePosition)(nil), // 14: transit_realtime.VehiclePosition
  2975. (*Alert)(nil), // 15: transit_realtime.Alert
  2976. (*TimeRange)(nil), // 16: transit_realtime.TimeRange
  2977. (*Position)(nil), // 17: transit_realtime.Position
  2978. (*TripDescriptor)(nil), // 18: transit_realtime.TripDescriptor
  2979. (*VehicleDescriptor)(nil), // 19: transit_realtime.VehicleDescriptor
  2980. (*EntitySelector)(nil), // 20: transit_realtime.EntitySelector
  2981. (*TranslatedString)(nil), // 21: transit_realtime.TranslatedString
  2982. (*TranslatedImage)(nil), // 22: transit_realtime.TranslatedImage
  2983. (*Shape)(nil), // 23: transit_realtime.Shape
  2984. (*TripUpdate_StopTimeEvent)(nil), // 24: transit_realtime.TripUpdate.StopTimeEvent
  2985. (*TripUpdate_StopTimeUpdate)(nil), // 25: transit_realtime.TripUpdate.StopTimeUpdate
  2986. (*TripUpdate_TripProperties)(nil), // 26: transit_realtime.TripUpdate.TripProperties
  2987. (*TripUpdate_StopTimeUpdate_StopTimeProperties)(nil), // 27: transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties
  2988. (*VehiclePosition_CarriageDetails)(nil), // 28: transit_realtime.VehiclePosition.CarriageDetails
  2989. (*TranslatedString_Translation)(nil), // 29: transit_realtime.TranslatedString.Translation
  2990. (*TranslatedImage_LocalizedImage)(nil), // 30: transit_realtime.TranslatedImage.LocalizedImage
  2991. }
  2992. var file_gtfs_realtime_proto_depIdxs = []int32{
  2993. 11, // 0: transit_realtime.FeedMessage.header:type_name -> transit_realtime.FeedHeader
  2994. 12, // 1: transit_realtime.FeedMessage.entity:type_name -> transit_realtime.FeedEntity
  2995. 0, // 2: transit_realtime.FeedHeader.incrementality:type_name -> transit_realtime.FeedHeader.Incrementality
  2996. 13, // 3: transit_realtime.FeedEntity.trip_update:type_name -> transit_realtime.TripUpdate
  2997. 14, // 4: transit_realtime.FeedEntity.vehicle:type_name -> transit_realtime.VehiclePosition
  2998. 15, // 5: transit_realtime.FeedEntity.alert:type_name -> transit_realtime.Alert
  2999. 23, // 6: transit_realtime.FeedEntity.shape:type_name -> transit_realtime.Shape
  3000. 18, // 7: transit_realtime.TripUpdate.trip:type_name -> transit_realtime.TripDescriptor
  3001. 19, // 8: transit_realtime.TripUpdate.vehicle:type_name -> transit_realtime.VehicleDescriptor
  3002. 25, // 9: transit_realtime.TripUpdate.stop_time_update:type_name -> transit_realtime.TripUpdate.StopTimeUpdate
  3003. 26, // 10: transit_realtime.TripUpdate.trip_properties:type_name -> transit_realtime.TripUpdate.TripProperties
  3004. 18, // 11: transit_realtime.VehiclePosition.trip:type_name -> transit_realtime.TripDescriptor
  3005. 19, // 12: transit_realtime.VehiclePosition.vehicle:type_name -> transit_realtime.VehicleDescriptor
  3006. 17, // 13: transit_realtime.VehiclePosition.position:type_name -> transit_realtime.Position
  3007. 2, // 14: transit_realtime.VehiclePosition.current_status:type_name -> transit_realtime.VehiclePosition.VehicleStopStatus
  3008. 3, // 15: transit_realtime.VehiclePosition.congestion_level:type_name -> transit_realtime.VehiclePosition.CongestionLevel
  3009. 4, // 16: transit_realtime.VehiclePosition.occupancy_status:type_name -> transit_realtime.VehiclePosition.OccupancyStatus
  3010. 28, // 17: transit_realtime.VehiclePosition.multi_carriage_details:type_name -> transit_realtime.VehiclePosition.CarriageDetails
  3011. 16, // 18: transit_realtime.Alert.active_period:type_name -> transit_realtime.TimeRange
  3012. 20, // 19: transit_realtime.Alert.informed_entity:type_name -> transit_realtime.EntitySelector
  3013. 5, // 20: transit_realtime.Alert.cause:type_name -> transit_realtime.Alert.Cause
  3014. 6, // 21: transit_realtime.Alert.effect:type_name -> transit_realtime.Alert.Effect
  3015. 21, // 22: transit_realtime.Alert.url:type_name -> transit_realtime.TranslatedString
  3016. 21, // 23: transit_realtime.Alert.header_text:type_name -> transit_realtime.TranslatedString
  3017. 21, // 24: transit_realtime.Alert.description_text:type_name -> transit_realtime.TranslatedString
  3018. 21, // 25: transit_realtime.Alert.tts_header_text:type_name -> transit_realtime.TranslatedString
  3019. 21, // 26: transit_realtime.Alert.tts_description_text:type_name -> transit_realtime.TranslatedString
  3020. 7, // 27: transit_realtime.Alert.severity_level:type_name -> transit_realtime.Alert.SeverityLevel
  3021. 22, // 28: transit_realtime.Alert.image:type_name -> transit_realtime.TranslatedImage
  3022. 21, // 29: transit_realtime.Alert.image_alternative_text:type_name -> transit_realtime.TranslatedString
  3023. 21, // 30: transit_realtime.Alert.cause_detail:type_name -> transit_realtime.TranslatedString
  3024. 21, // 31: transit_realtime.Alert.effect_detail:type_name -> transit_realtime.TranslatedString
  3025. 8, // 32: transit_realtime.TripDescriptor.schedule_relationship:type_name -> transit_realtime.TripDescriptor.ScheduleRelationship
  3026. 9, // 33: transit_realtime.VehicleDescriptor.wheelchair_accessible:type_name -> transit_realtime.VehicleDescriptor.WheelchairAccessible
  3027. 18, // 34: transit_realtime.EntitySelector.trip:type_name -> transit_realtime.TripDescriptor
  3028. 29, // 35: transit_realtime.TranslatedString.translation:type_name -> transit_realtime.TranslatedString.Translation
  3029. 30, // 36: transit_realtime.TranslatedImage.localized_image:type_name -> transit_realtime.TranslatedImage.LocalizedImage
  3030. 24, // 37: transit_realtime.TripUpdate.StopTimeUpdate.arrival:type_name -> transit_realtime.TripUpdate.StopTimeEvent
  3031. 24, // 38: transit_realtime.TripUpdate.StopTimeUpdate.departure:type_name -> transit_realtime.TripUpdate.StopTimeEvent
  3032. 4, // 39: transit_realtime.TripUpdate.StopTimeUpdate.departure_occupancy_status:type_name -> transit_realtime.VehiclePosition.OccupancyStatus
  3033. 1, // 40: transit_realtime.TripUpdate.StopTimeUpdate.schedule_relationship:type_name -> transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship
  3034. 27, // 41: transit_realtime.TripUpdate.StopTimeUpdate.stop_time_properties:type_name -> transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties
  3035. 4, // 42: transit_realtime.VehiclePosition.CarriageDetails.occupancy_status:type_name -> transit_realtime.VehiclePosition.OccupancyStatus
  3036. 43, // [43:43] is the sub-list for method output_type
  3037. 43, // [43:43] is the sub-list for method input_type
  3038. 43, // [43:43] is the sub-list for extension type_name
  3039. 43, // [43:43] is the sub-list for extension extendee
  3040. 0, // [0:43] is the sub-list for field type_name
  3041. }
  3042. func init() { file_gtfs_realtime_proto_init() }
  3043. func file_gtfs_realtime_proto_init() {
  3044. if File_gtfs_realtime_proto != nil {
  3045. return
  3046. }
  3047. if !protoimpl.UnsafeEnabled {
  3048. file_gtfs_realtime_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  3049. switch v := v.(*FeedMessage); i {
  3050. case 0:
  3051. return &v.state
  3052. case 1:
  3053. return &v.sizeCache
  3054. case 2:
  3055. return &v.unknownFields
  3056. case 3:
  3057. return &v.extensionFields
  3058. default:
  3059. return nil
  3060. }
  3061. }
  3062. file_gtfs_realtime_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  3063. switch v := v.(*FeedHeader); i {
  3064. case 0:
  3065. return &v.state
  3066. case 1:
  3067. return &v.sizeCache
  3068. case 2:
  3069. return &v.unknownFields
  3070. case 3:
  3071. return &v.extensionFields
  3072. default:
  3073. return nil
  3074. }
  3075. }
  3076. file_gtfs_realtime_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  3077. switch v := v.(*FeedEntity); i {
  3078. case 0:
  3079. return &v.state
  3080. case 1:
  3081. return &v.sizeCache
  3082. case 2:
  3083. return &v.unknownFields
  3084. case 3:
  3085. return &v.extensionFields
  3086. default:
  3087. return nil
  3088. }
  3089. }
  3090. file_gtfs_realtime_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  3091. switch v := v.(*TripUpdate); i {
  3092. case 0:
  3093. return &v.state
  3094. case 1:
  3095. return &v.sizeCache
  3096. case 2:
  3097. return &v.unknownFields
  3098. case 3:
  3099. return &v.extensionFields
  3100. default:
  3101. return nil
  3102. }
  3103. }
  3104. file_gtfs_realtime_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  3105. switch v := v.(*VehiclePosition); i {
  3106. case 0:
  3107. return &v.state
  3108. case 1:
  3109. return &v.sizeCache
  3110. case 2:
  3111. return &v.unknownFields
  3112. case 3:
  3113. return &v.extensionFields
  3114. default:
  3115. return nil
  3116. }
  3117. }
  3118. file_gtfs_realtime_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  3119. switch v := v.(*Alert); i {
  3120. case 0:
  3121. return &v.state
  3122. case 1:
  3123. return &v.sizeCache
  3124. case 2:
  3125. return &v.unknownFields
  3126. case 3:
  3127. return &v.extensionFields
  3128. default:
  3129. return nil
  3130. }
  3131. }
  3132. file_gtfs_realtime_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  3133. switch v := v.(*TimeRange); i {
  3134. case 0:
  3135. return &v.state
  3136. case 1:
  3137. return &v.sizeCache
  3138. case 2:
  3139. return &v.unknownFields
  3140. case 3:
  3141. return &v.extensionFields
  3142. default:
  3143. return nil
  3144. }
  3145. }
  3146. file_gtfs_realtime_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  3147. switch v := v.(*Position); i {
  3148. case 0:
  3149. return &v.state
  3150. case 1:
  3151. return &v.sizeCache
  3152. case 2:
  3153. return &v.unknownFields
  3154. case 3:
  3155. return &v.extensionFields
  3156. default:
  3157. return nil
  3158. }
  3159. }
  3160. file_gtfs_realtime_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
  3161. switch v := v.(*TripDescriptor); i {
  3162. case 0:
  3163. return &v.state
  3164. case 1:
  3165. return &v.sizeCache
  3166. case 2:
  3167. return &v.unknownFields
  3168. case 3:
  3169. return &v.extensionFields
  3170. default:
  3171. return nil
  3172. }
  3173. }
  3174. file_gtfs_realtime_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
  3175. switch v := v.(*VehicleDescriptor); i {
  3176. case 0:
  3177. return &v.state
  3178. case 1:
  3179. return &v.sizeCache
  3180. case 2:
  3181. return &v.unknownFields
  3182. case 3:
  3183. return &v.extensionFields
  3184. default:
  3185. return nil
  3186. }
  3187. }
  3188. file_gtfs_realtime_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
  3189. switch v := v.(*EntitySelector); i {
  3190. case 0:
  3191. return &v.state
  3192. case 1:
  3193. return &v.sizeCache
  3194. case 2:
  3195. return &v.unknownFields
  3196. case 3:
  3197. return &v.extensionFields
  3198. default:
  3199. return nil
  3200. }
  3201. }
  3202. file_gtfs_realtime_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
  3203. switch v := v.(*TranslatedString); i {
  3204. case 0:
  3205. return &v.state
  3206. case 1:
  3207. return &v.sizeCache
  3208. case 2:
  3209. return &v.unknownFields
  3210. case 3:
  3211. return &v.extensionFields
  3212. default:
  3213. return nil
  3214. }
  3215. }
  3216. file_gtfs_realtime_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
  3217. switch v := v.(*TranslatedImage); i {
  3218. case 0:
  3219. return &v.state
  3220. case 1:
  3221. return &v.sizeCache
  3222. case 2:
  3223. return &v.unknownFields
  3224. case 3:
  3225. return &v.extensionFields
  3226. default:
  3227. return nil
  3228. }
  3229. }
  3230. file_gtfs_realtime_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
  3231. switch v := v.(*Shape); i {
  3232. case 0:
  3233. return &v.state
  3234. case 1:
  3235. return &v.sizeCache
  3236. case 2:
  3237. return &v.unknownFields
  3238. case 3:
  3239. return &v.extensionFields
  3240. default:
  3241. return nil
  3242. }
  3243. }
  3244. file_gtfs_realtime_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
  3245. switch v := v.(*TripUpdate_StopTimeEvent); i {
  3246. case 0:
  3247. return &v.state
  3248. case 1:
  3249. return &v.sizeCache
  3250. case 2:
  3251. return &v.unknownFields
  3252. case 3:
  3253. return &v.extensionFields
  3254. default:
  3255. return nil
  3256. }
  3257. }
  3258. file_gtfs_realtime_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
  3259. switch v := v.(*TripUpdate_StopTimeUpdate); i {
  3260. case 0:
  3261. return &v.state
  3262. case 1:
  3263. return &v.sizeCache
  3264. case 2:
  3265. return &v.unknownFields
  3266. case 3:
  3267. return &v.extensionFields
  3268. default:
  3269. return nil
  3270. }
  3271. }
  3272. file_gtfs_realtime_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
  3273. switch v := v.(*TripUpdate_TripProperties); i {
  3274. case 0:
  3275. return &v.state
  3276. case 1:
  3277. return &v.sizeCache
  3278. case 2:
  3279. return &v.unknownFields
  3280. case 3:
  3281. return &v.extensionFields
  3282. default:
  3283. return nil
  3284. }
  3285. }
  3286. file_gtfs_realtime_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
  3287. switch v := v.(*TripUpdate_StopTimeUpdate_StopTimeProperties); i {
  3288. case 0:
  3289. return &v.state
  3290. case 1:
  3291. return &v.sizeCache
  3292. case 2:
  3293. return &v.unknownFields
  3294. case 3:
  3295. return &v.extensionFields
  3296. default:
  3297. return nil
  3298. }
  3299. }
  3300. file_gtfs_realtime_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
  3301. switch v := v.(*VehiclePosition_CarriageDetails); i {
  3302. case 0:
  3303. return &v.state
  3304. case 1:
  3305. return &v.sizeCache
  3306. case 2:
  3307. return &v.unknownFields
  3308. case 3:
  3309. return &v.extensionFields
  3310. default:
  3311. return nil
  3312. }
  3313. }
  3314. file_gtfs_realtime_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
  3315. switch v := v.(*TranslatedString_Translation); i {
  3316. case 0:
  3317. return &v.state
  3318. case 1:
  3319. return &v.sizeCache
  3320. case 2:
  3321. return &v.unknownFields
  3322. case 3:
  3323. return &v.extensionFields
  3324. default:
  3325. return nil
  3326. }
  3327. }
  3328. file_gtfs_realtime_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
  3329. switch v := v.(*TranslatedImage_LocalizedImage); i {
  3330. case 0:
  3331. return &v.state
  3332. case 1:
  3333. return &v.sizeCache
  3334. case 2:
  3335. return &v.unknownFields
  3336. case 3:
  3337. return &v.extensionFields
  3338. default:
  3339. return nil
  3340. }
  3341. }
  3342. }
  3343. type x struct{}
  3344. out := protoimpl.TypeBuilder{
  3345. File: protoimpl.DescBuilder{
  3346. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  3347. RawDescriptor: file_gtfs_realtime_proto_rawDesc,
  3348. NumEnums: 10,
  3349. NumMessages: 21,
  3350. NumExtensions: 0,
  3351. NumServices: 0,
  3352. },
  3353. GoTypes: file_gtfs_realtime_proto_goTypes,
  3354. DependencyIndexes: file_gtfs_realtime_proto_depIdxs,
  3355. EnumInfos: file_gtfs_realtime_proto_enumTypes,
  3356. MessageInfos: file_gtfs_realtime_proto_msgTypes,
  3357. }.Build()
  3358. File_gtfs_realtime_proto = out.File
  3359. file_gtfs_realtime_proto_rawDesc = nil
  3360. file_gtfs_realtime_proto_goTypes = nil
  3361. file_gtfs_realtime_proto_depIdxs = nil
  3362. }