-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
transit.pb.go
executable file
·679 lines (614 loc) · 26.7 KB
/
transit.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
// Copyright 2024 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.34.1
// protoc v4.25.3
// source: google/maps/routing/v2/transit.proto
package routingpb
import (
reflect "reflect"
sync "sync"
localized_text "google.golang.org/genproto/googleapis/type/localized_text"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
// The type of vehicles for transit routes.
type TransitVehicle_TransitVehicleType int32
const (
// Unused.
TransitVehicle_TRANSIT_VEHICLE_TYPE_UNSPECIFIED TransitVehicle_TransitVehicleType = 0
// Bus.
TransitVehicle_BUS TransitVehicle_TransitVehicleType = 1
// A vehicle that operates on a cable, usually on the ground. Aerial cable
// cars may be of the type `GONDOLA_LIFT`.
TransitVehicle_CABLE_CAR TransitVehicle_TransitVehicleType = 2
// Commuter rail.
TransitVehicle_COMMUTER_TRAIN TransitVehicle_TransitVehicleType = 3
// Ferry.
TransitVehicle_FERRY TransitVehicle_TransitVehicleType = 4
// A vehicle that is pulled up a steep incline by a cable. A Funicular
// typically consists of two cars, with each car acting as a counterweight
// for the other.
TransitVehicle_FUNICULAR TransitVehicle_TransitVehicleType = 5
// An aerial cable car.
TransitVehicle_GONDOLA_LIFT TransitVehicle_TransitVehicleType = 6
// Heavy rail.
TransitVehicle_HEAVY_RAIL TransitVehicle_TransitVehicleType = 7
// High speed train.
TransitVehicle_HIGH_SPEED_TRAIN TransitVehicle_TransitVehicleType = 8
// Intercity bus.
TransitVehicle_INTERCITY_BUS TransitVehicle_TransitVehicleType = 9
// Long distance train.
TransitVehicle_LONG_DISTANCE_TRAIN TransitVehicle_TransitVehicleType = 10
// Light rail transit.
TransitVehicle_METRO_RAIL TransitVehicle_TransitVehicleType = 11
// Monorail.
TransitVehicle_MONORAIL TransitVehicle_TransitVehicleType = 12
// All other vehicles.
TransitVehicle_OTHER TransitVehicle_TransitVehicleType = 13
// Rail.
TransitVehicle_RAIL TransitVehicle_TransitVehicleType = 14
// Share taxi is a kind of bus with the ability to drop off and pick up
// passengers anywhere on its route.
TransitVehicle_SHARE_TAXI TransitVehicle_TransitVehicleType = 15
// Underground light rail.
TransitVehicle_SUBWAY TransitVehicle_TransitVehicleType = 16
// Above ground light rail.
TransitVehicle_TRAM TransitVehicle_TransitVehicleType = 17
// Trolleybus.
TransitVehicle_TROLLEYBUS TransitVehicle_TransitVehicleType = 18
)
// Enum value maps for TransitVehicle_TransitVehicleType.
var (
TransitVehicle_TransitVehicleType_name = map[int32]string{
0: "TRANSIT_VEHICLE_TYPE_UNSPECIFIED",
1: "BUS",
2: "CABLE_CAR",
3: "COMMUTER_TRAIN",
4: "FERRY",
5: "FUNICULAR",
6: "GONDOLA_LIFT",
7: "HEAVY_RAIL",
8: "HIGH_SPEED_TRAIN",
9: "INTERCITY_BUS",
10: "LONG_DISTANCE_TRAIN",
11: "METRO_RAIL",
12: "MONORAIL",
13: "OTHER",
14: "RAIL",
15: "SHARE_TAXI",
16: "SUBWAY",
17: "TRAM",
18: "TROLLEYBUS",
}
TransitVehicle_TransitVehicleType_value = map[string]int32{
"TRANSIT_VEHICLE_TYPE_UNSPECIFIED": 0,
"BUS": 1,
"CABLE_CAR": 2,
"COMMUTER_TRAIN": 3,
"FERRY": 4,
"FUNICULAR": 5,
"GONDOLA_LIFT": 6,
"HEAVY_RAIL": 7,
"HIGH_SPEED_TRAIN": 8,
"INTERCITY_BUS": 9,
"LONG_DISTANCE_TRAIN": 10,
"METRO_RAIL": 11,
"MONORAIL": 12,
"OTHER": 13,
"RAIL": 14,
"SHARE_TAXI": 15,
"SUBWAY": 16,
"TRAM": 17,
"TROLLEYBUS": 18,
}
)
func (x TransitVehicle_TransitVehicleType) Enum() *TransitVehicle_TransitVehicleType {
p := new(TransitVehicle_TransitVehicleType)
*p = x
return p
}
func (x TransitVehicle_TransitVehicleType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (TransitVehicle_TransitVehicleType) Descriptor() protoreflect.EnumDescriptor {
return file_google_maps_routing_v2_transit_proto_enumTypes[0].Descriptor()
}
func (TransitVehicle_TransitVehicleType) Type() protoreflect.EnumType {
return &file_google_maps_routing_v2_transit_proto_enumTypes[0]
}
func (x TransitVehicle_TransitVehicleType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use TransitVehicle_TransitVehicleType.Descriptor instead.
func (TransitVehicle_TransitVehicleType) EnumDescriptor() ([]byte, []int) {
return file_google_maps_routing_v2_transit_proto_rawDescGZIP(), []int{3, 0}
}
// A transit agency that operates a transit line.
type TransitAgency struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of this transit agency.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The transit agency's locale-specific formatted phone number.
PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
// The transit agency's URI.
Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
}
func (x *TransitAgency) Reset() {
*x = TransitAgency{}
if protoimpl.UnsafeEnabled {
mi := &file_google_maps_routing_v2_transit_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransitAgency) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransitAgency) ProtoMessage() {}
func (x *TransitAgency) ProtoReflect() protoreflect.Message {
mi := &file_google_maps_routing_v2_transit_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransitAgency.ProtoReflect.Descriptor instead.
func (*TransitAgency) Descriptor() ([]byte, []int) {
return file_google_maps_routing_v2_transit_proto_rawDescGZIP(), []int{0}
}
func (x *TransitAgency) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *TransitAgency) GetPhoneNumber() string {
if x != nil {
return x.PhoneNumber
}
return ""
}
func (x *TransitAgency) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
// Contains information about the transit line used in this step.
type TransitLine struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The transit agency (or agencies) that operates this transit line.
Agencies []*TransitAgency `protobuf:"bytes,1,rep,name=agencies,proto3" json:"agencies,omitempty"`
// The full name of this transit line, For example, "8 Avenue Local".
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
// the URI for this transit line as provided by the transit agency.
Uri string `protobuf:"bytes,3,opt,name=uri,proto3" json:"uri,omitempty"`
// The color commonly used in signage for this line. Represented in
// hexadecimal.
Color string `protobuf:"bytes,4,opt,name=color,proto3" json:"color,omitempty"`
// The URI for the icon associated with this line.
IconUri string `protobuf:"bytes,5,opt,name=icon_uri,json=iconUri,proto3" json:"icon_uri,omitempty"`
// The short name of this transit line. This name will normally be a line
// number, such as "M7" or "355".
NameShort string `protobuf:"bytes,6,opt,name=name_short,json=nameShort,proto3" json:"name_short,omitempty"`
// The color commonly used in text on signage for this line. Represented in
// hexadecimal.
TextColor string `protobuf:"bytes,7,opt,name=text_color,json=textColor,proto3" json:"text_color,omitempty"`
// The type of vehicle that operates on this transit line.
Vehicle *TransitVehicle `protobuf:"bytes,8,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
}
func (x *TransitLine) Reset() {
*x = TransitLine{}
if protoimpl.UnsafeEnabled {
mi := &file_google_maps_routing_v2_transit_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransitLine) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransitLine) ProtoMessage() {}
func (x *TransitLine) ProtoReflect() protoreflect.Message {
mi := &file_google_maps_routing_v2_transit_proto_msgTypes[1]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransitLine.ProtoReflect.Descriptor instead.
func (*TransitLine) Descriptor() ([]byte, []int) {
return file_google_maps_routing_v2_transit_proto_rawDescGZIP(), []int{1}
}
func (x *TransitLine) GetAgencies() []*TransitAgency {
if x != nil {
return x.Agencies
}
return nil
}
func (x *TransitLine) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *TransitLine) GetUri() string {
if x != nil {
return x.Uri
}
return ""
}
func (x *TransitLine) GetColor() string {
if x != nil {
return x.Color
}
return ""
}
func (x *TransitLine) GetIconUri() string {
if x != nil {
return x.IconUri
}
return ""
}
func (x *TransitLine) GetNameShort() string {
if x != nil {
return x.NameShort
}
return ""
}
func (x *TransitLine) GetTextColor() string {
if x != nil {
return x.TextColor
}
return ""
}
func (x *TransitLine) GetVehicle() *TransitVehicle {
if x != nil {
return x.Vehicle
}
return nil
}
// Information about a transit stop.
type TransitStop struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of the transit stop.
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The location of the stop expressed in latitude/longitude coordinates.
Location *Location `protobuf:"bytes,2,opt,name=location,proto3" json:"location,omitempty"`
}
func (x *TransitStop) Reset() {
*x = TransitStop{}
if protoimpl.UnsafeEnabled {
mi := &file_google_maps_routing_v2_transit_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransitStop) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransitStop) ProtoMessage() {}
func (x *TransitStop) ProtoReflect() protoreflect.Message {
mi := &file_google_maps_routing_v2_transit_proto_msgTypes[2]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransitStop.ProtoReflect.Descriptor instead.
func (*TransitStop) Descriptor() ([]byte, []int) {
return file_google_maps_routing_v2_transit_proto_rawDescGZIP(), []int{2}
}
func (x *TransitStop) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *TransitStop) GetLocation() *Location {
if x != nil {
return x.Location
}
return nil
}
// Information about a vehicle used in transit routes.
type TransitVehicle struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The name of this vehicle, capitalized.
Name *localized_text.LocalizedText `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// The type of vehicle used.
Type TransitVehicle_TransitVehicleType `protobuf:"varint,2,opt,name=type,proto3,enum=google.maps.routing.v2.TransitVehicle_TransitVehicleType" json:"type,omitempty"`
// The URI for an icon associated with this vehicle type.
IconUri string `protobuf:"bytes,3,opt,name=icon_uri,json=iconUri,proto3" json:"icon_uri,omitempty"`
// The URI for the icon associated with this vehicle type, based on the local
// transport signage.
LocalIconUri string `protobuf:"bytes,4,opt,name=local_icon_uri,json=localIconUri,proto3" json:"local_icon_uri,omitempty"`
}
func (x *TransitVehicle) Reset() {
*x = TransitVehicle{}
if protoimpl.UnsafeEnabled {
mi := &file_google_maps_routing_v2_transit_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *TransitVehicle) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*TransitVehicle) ProtoMessage() {}
func (x *TransitVehicle) ProtoReflect() protoreflect.Message {
mi := &file_google_maps_routing_v2_transit_proto_msgTypes[3]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use TransitVehicle.ProtoReflect.Descriptor instead.
func (*TransitVehicle) Descriptor() ([]byte, []int) {
return file_google_maps_routing_v2_transit_proto_rawDescGZIP(), []int{3}
}
func (x *TransitVehicle) GetName() *localized_text.LocalizedText {
if x != nil {
return x.Name
}
return nil
}
func (x *TransitVehicle) GetType() TransitVehicle_TransitVehicleType {
if x != nil {
return x.Type
}
return TransitVehicle_TRANSIT_VEHICLE_TYPE_UNSPECIFIED
}
func (x *TransitVehicle) GetIconUri() string {
if x != nil {
return x.IconUri
}
return ""
}
func (x *TransitVehicle) GetLocalIconUri() string {
if x != nil {
return x.LocalIconUri
}
return ""
}
var File_google_maps_routing_v2_transit_proto protoreflect.FileDescriptor
var file_google_maps_routing_v2_transit_proto_rawDesc = []byte{
0x0a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f,
0x75, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x1a, 0x25,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74,
0x69, 0x6e, 0x67, 0x2f, 0x76, 0x32, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79,
0x70, 0x65, 0x2f, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78,
0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x58, 0x0a, 0x0d, 0x54, 0x72, 0x61, 0x6e, 0x73,
0x69, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c,
0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12,
0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72,
0x69, 0x22, 0xa7, 0x02, 0x0a, 0x0b, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x4c, 0x69, 0x6e,
0x65, 0x12, 0x41, 0x0a, 0x08, 0x61, 0x67, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20,
0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61,
0x6e, 0x73, 0x69, 0x74, 0x41, 0x67, 0x65, 0x6e, 0x63, 0x79, 0x52, 0x08, 0x61, 0x67, 0x65, 0x6e,
0x63, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18,
0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6f,
0x6c, 0x6f, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x6f, 0x72,
0x12, 0x19, 0x0a, 0x08, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x05, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x69, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x12, 0x1d, 0x0a, 0x0a, 0x6e,
0x61, 0x6d, 0x65, 0x5f, 0x73, 0x68, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
0x09, 0x6e, 0x61, 0x6d, 0x65, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x65,
0x78, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09,
0x74, 0x65, 0x78, 0x74, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x40, 0x0a, 0x07, 0x76, 0x65, 0x68,
0x69, 0x63, 0x6c, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x67, 0x6f, 0x6f,
0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63,
0x6c, 0x65, 0x52, 0x07, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x22, 0x5f, 0x0a, 0x0b, 0x54,
0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x53, 0x74, 0x6f, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x3c,
0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x20, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72,
0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0xa0, 0x04, 0x0a,
0x0e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x12,
0x2e, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61,
0x6c, 0x69, 0x7a, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
0x4d, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e,
0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74,
0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x56, 0x65,
0x68, 0x69, 0x63, 0x6c, 0x65, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x56, 0x65, 0x68,
0x69, 0x63, 0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x19,
0x0a, 0x08, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
0x52, 0x07, 0x69, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x12, 0x24, 0x0a, 0x0e, 0x6c, 0x6f, 0x63,
0x61, 0x6c, 0x5f, 0x69, 0x63, 0x6f, 0x6e, 0x5f, 0x75, 0x72, 0x69, 0x18, 0x04, 0x20, 0x01, 0x28,
0x09, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x49, 0x63, 0x6f, 0x6e, 0x55, 0x72, 0x69, 0x22,
0xcd, 0x02, 0x0a, 0x12, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x56, 0x65, 0x68, 0x69, 0x63,
0x6c, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x54, 0x52, 0x41, 0x4e, 0x53, 0x49,
0x54, 0x5f, 0x56, 0x45, 0x48, 0x49, 0x43, 0x4c, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03,
0x42, 0x55, 0x53, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x43, 0x41, 0x42, 0x4c, 0x45, 0x5f, 0x43,
0x41, 0x52, 0x10, 0x02, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x4f, 0x4d, 0x4d, 0x55, 0x54, 0x45, 0x52,
0x5f, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x10, 0x03, 0x12, 0x09, 0x0a, 0x05, 0x46, 0x45, 0x52, 0x52,
0x59, 0x10, 0x04, 0x12, 0x0d, 0x0a, 0x09, 0x46, 0x55, 0x4e, 0x49, 0x43, 0x55, 0x4c, 0x41, 0x52,
0x10, 0x05, 0x12, 0x10, 0x0a, 0x0c, 0x47, 0x4f, 0x4e, 0x44, 0x4f, 0x4c, 0x41, 0x5f, 0x4c, 0x49,
0x46, 0x54, 0x10, 0x06, 0x12, 0x0e, 0x0a, 0x0a, 0x48, 0x45, 0x41, 0x56, 0x59, 0x5f, 0x52, 0x41,
0x49, 0x4c, 0x10, 0x07, 0x12, 0x14, 0x0a, 0x10, 0x48, 0x49, 0x47, 0x48, 0x5f, 0x53, 0x50, 0x45,
0x45, 0x44, 0x5f, 0x54, 0x52, 0x41, 0x49, 0x4e, 0x10, 0x08, 0x12, 0x11, 0x0a, 0x0d, 0x49, 0x4e,
0x54, 0x45, 0x52, 0x43, 0x49, 0x54, 0x59, 0x5f, 0x42, 0x55, 0x53, 0x10, 0x09, 0x12, 0x17, 0x0a,
0x13, 0x4c, 0x4f, 0x4e, 0x47, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x5f, 0x54,
0x52, 0x41, 0x49, 0x4e, 0x10, 0x0a, 0x12, 0x0e, 0x0a, 0x0a, 0x4d, 0x45, 0x54, 0x52, 0x4f, 0x5f,
0x52, 0x41, 0x49, 0x4c, 0x10, 0x0b, 0x12, 0x0c, 0x0a, 0x08, 0x4d, 0x4f, 0x4e, 0x4f, 0x52, 0x41,
0x49, 0x4c, 0x10, 0x0c, 0x12, 0x09, 0x0a, 0x05, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10, 0x0d, 0x12,
0x08, 0x0a, 0x04, 0x52, 0x41, 0x49, 0x4c, 0x10, 0x0e, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x48, 0x41,
0x52, 0x45, 0x5f, 0x54, 0x41, 0x58, 0x49, 0x10, 0x0f, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x55, 0x42,
0x57, 0x41, 0x59, 0x10, 0x10, 0x12, 0x08, 0x0a, 0x04, 0x54, 0x52, 0x41, 0x4d, 0x10, 0x11, 0x12,
0x0e, 0x0a, 0x0a, 0x54, 0x52, 0x4f, 0x4c, 0x4c, 0x45, 0x59, 0x42, 0x55, 0x53, 0x10, 0x12, 0x42,
0xc1, 0x01, 0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
0x61, 0x70, 0x73, 0x2e, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x32, 0x42, 0x0c,
0x54, 0x72, 0x61, 0x6e, 0x73, 0x69, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3a,
0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d,
0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67,
0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x70, 0x62,
0x3b, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x70, 0x62, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x05,
0x47, 0x4d, 0x52, 0x56, 0x32, 0xaa, 0x02, 0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d,
0x61, 0x70, 0x73, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x56, 0x32, 0xca, 0x02,
0x16, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52, 0x6f, 0x75,
0x74, 0x69, 0x6e, 0x67, 0x5c, 0x56, 0x32, 0xea, 0x02, 0x19, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
0x3a, 0x3a, 0x4d, 0x61, 0x70, 0x73, 0x3a, 0x3a, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x3a,
0x3a, 0x56, 0x32, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_google_maps_routing_v2_transit_proto_rawDescOnce sync.Once
file_google_maps_routing_v2_transit_proto_rawDescData = file_google_maps_routing_v2_transit_proto_rawDesc
)
func file_google_maps_routing_v2_transit_proto_rawDescGZIP() []byte {
file_google_maps_routing_v2_transit_proto_rawDescOnce.Do(func() {
file_google_maps_routing_v2_transit_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_routing_v2_transit_proto_rawDescData)
})
return file_google_maps_routing_v2_transit_proto_rawDescData
}
var file_google_maps_routing_v2_transit_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
var file_google_maps_routing_v2_transit_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
var file_google_maps_routing_v2_transit_proto_goTypes = []interface{}{
(TransitVehicle_TransitVehicleType)(0), // 0: google.maps.routing.v2.TransitVehicle.TransitVehicleType
(*TransitAgency)(nil), // 1: google.maps.routing.v2.TransitAgency
(*TransitLine)(nil), // 2: google.maps.routing.v2.TransitLine
(*TransitStop)(nil), // 3: google.maps.routing.v2.TransitStop
(*TransitVehicle)(nil), // 4: google.maps.routing.v2.TransitVehicle
(*Location)(nil), // 5: google.maps.routing.v2.Location
(*localized_text.LocalizedText)(nil), // 6: google.type.LocalizedText
}
var file_google_maps_routing_v2_transit_proto_depIdxs = []int32{
1, // 0: google.maps.routing.v2.TransitLine.agencies:type_name -> google.maps.routing.v2.TransitAgency
4, // 1: google.maps.routing.v2.TransitLine.vehicle:type_name -> google.maps.routing.v2.TransitVehicle
5, // 2: google.maps.routing.v2.TransitStop.location:type_name -> google.maps.routing.v2.Location
6, // 3: google.maps.routing.v2.TransitVehicle.name:type_name -> google.type.LocalizedText
0, // 4: google.maps.routing.v2.TransitVehicle.type:type_name -> google.maps.routing.v2.TransitVehicle.TransitVehicleType
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_google_maps_routing_v2_transit_proto_init() }
func file_google_maps_routing_v2_transit_proto_init() {
if File_google_maps_routing_v2_transit_proto != nil {
return
}
file_google_maps_routing_v2_location_proto_init()
if !protoimpl.UnsafeEnabled {
file_google_maps_routing_v2_transit_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransitAgency); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_maps_routing_v2_transit_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransitLine); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_maps_routing_v2_transit_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransitStop); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_google_maps_routing_v2_transit_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*TransitVehicle); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_google_maps_routing_v2_transit_proto_rawDesc,
NumEnums: 1,
NumMessages: 4,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_google_maps_routing_v2_transit_proto_goTypes,
DependencyIndexes: file_google_maps_routing_v2_transit_proto_depIdxs,
EnumInfos: file_google_maps_routing_v2_transit_proto_enumTypes,
MessageInfos: file_google_maps_routing_v2_transit_proto_msgTypes,
}.Build()
File_google_maps_routing_v2_transit_proto = out.File
file_google_maps_routing_v2_transit_proto_rawDesc = nil
file_google_maps_routing_v2_transit_proto_goTypes = nil
file_google_maps_routing_v2_transit_proto_depIdxs = nil
}