@golemio/ovapi-gtfs-realtime-bindings 1.2.6-dev.2307486909 → 1.3.0-dev.2317218046
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/gtfs-realtime.d.ts +951 -1
- package/dist/gtfs-realtime.js +2789 -72
- package/package.json +1 -1
package/dist/gtfs-realtime.d.ts
CHANGED
|
@@ -644,6 +644,9 @@ export namespace transit_realtime {
|
|
|
644
644
|
|
|
645
645
|
/** FeedHeader timestamp */
|
|
646
646
|
timestamp?: (number|Long|null);
|
|
647
|
+
|
|
648
|
+
/** FeedHeader feedVersion */
|
|
649
|
+
feedVersion?: (string|null);
|
|
647
650
|
}
|
|
648
651
|
|
|
649
652
|
/** Represents a FeedHeader. */
|
|
@@ -664,6 +667,9 @@ export namespace transit_realtime {
|
|
|
664
667
|
/** FeedHeader timestamp. */
|
|
665
668
|
public timestamp: (number|Long);
|
|
666
669
|
|
|
670
|
+
/** FeedHeader feedVersion. */
|
|
671
|
+
public feedVersion: string;
|
|
672
|
+
|
|
667
673
|
/**
|
|
668
674
|
* Creates a new FeedHeader instance using the specified properties.
|
|
669
675
|
* @param [properties] Properties to set
|
|
@@ -771,6 +777,12 @@ export namespace transit_realtime {
|
|
|
771
777
|
|
|
772
778
|
/** FeedEntity shape */
|
|
773
779
|
shape?: (transit_realtime.IShape|null);
|
|
780
|
+
|
|
781
|
+
/** FeedEntity stop */
|
|
782
|
+
stop?: (transit_realtime.IStop|null);
|
|
783
|
+
|
|
784
|
+
/** FeedEntity tripModifications */
|
|
785
|
+
tripModifications?: (transit_realtime.ITripModifications|null);
|
|
774
786
|
}
|
|
775
787
|
|
|
776
788
|
/** Represents a FeedEntity. */
|
|
@@ -800,6 +812,12 @@ export namespace transit_realtime {
|
|
|
800
812
|
/** FeedEntity shape. */
|
|
801
813
|
public shape?: (transit_realtime.IShape|null);
|
|
802
814
|
|
|
815
|
+
/** FeedEntity stop. */
|
|
816
|
+
public stop?: (transit_realtime.IStop|null);
|
|
817
|
+
|
|
818
|
+
/** FeedEntity tripModifications. */
|
|
819
|
+
public tripModifications?: (transit_realtime.ITripModifications|null);
|
|
820
|
+
|
|
803
821
|
/**
|
|
804
822
|
* Creates a new FeedEntity instance using the specified properties.
|
|
805
823
|
* @param [properties] Properties to set
|
|
@@ -1021,6 +1039,9 @@ export namespace transit_realtime {
|
|
|
1021
1039
|
|
|
1022
1040
|
/** StopTimeEvent uncertainty */
|
|
1023
1041
|
uncertainty?: (number|null);
|
|
1042
|
+
|
|
1043
|
+
/** StopTimeEvent scheduledTime */
|
|
1044
|
+
scheduledTime?: (number|Long|null);
|
|
1024
1045
|
}
|
|
1025
1046
|
|
|
1026
1047
|
/** Represents a StopTimeEvent. */
|
|
@@ -1041,6 +1062,9 @@ export namespace transit_realtime {
|
|
|
1041
1062
|
/** StopTimeEvent uncertainty. */
|
|
1042
1063
|
public uncertainty: number;
|
|
1043
1064
|
|
|
1065
|
+
/** StopTimeEvent scheduledTime. */
|
|
1066
|
+
public scheduledTime: (number|Long);
|
|
1067
|
+
|
|
1044
1068
|
/**
|
|
1045
1069
|
* Creates a new StopTimeEvent instance using the specified properties.
|
|
1046
1070
|
* @param [properties] Properties to set
|
|
@@ -1270,6 +1294,15 @@ export namespace transit_realtime {
|
|
|
1270
1294
|
|
|
1271
1295
|
/** StopTimeProperties assignedStopId */
|
|
1272
1296
|
assignedStopId?: (string|null);
|
|
1297
|
+
|
|
1298
|
+
/** StopTimeProperties stopHeadsign */
|
|
1299
|
+
stopHeadsign?: (string|null);
|
|
1300
|
+
|
|
1301
|
+
/** StopTimeProperties pickupType */
|
|
1302
|
+
pickupType?: (transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties.DropOffPickupType|null);
|
|
1303
|
+
|
|
1304
|
+
/** StopTimeProperties dropOffType */
|
|
1305
|
+
dropOffType?: (transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties.DropOffPickupType|null);
|
|
1273
1306
|
}
|
|
1274
1307
|
|
|
1275
1308
|
/** Represents a StopTimeProperties. */
|
|
@@ -1284,6 +1317,15 @@ export namespace transit_realtime {
|
|
|
1284
1317
|
/** StopTimeProperties assignedStopId. */
|
|
1285
1318
|
public assignedStopId: string;
|
|
1286
1319
|
|
|
1320
|
+
/** StopTimeProperties stopHeadsign. */
|
|
1321
|
+
public stopHeadsign: string;
|
|
1322
|
+
|
|
1323
|
+
/** StopTimeProperties pickupType. */
|
|
1324
|
+
public pickupType: transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties.DropOffPickupType;
|
|
1325
|
+
|
|
1326
|
+
/** StopTimeProperties dropOffType. */
|
|
1327
|
+
public dropOffType: transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties.DropOffPickupType;
|
|
1328
|
+
|
|
1287
1329
|
/**
|
|
1288
1330
|
* Creates a new StopTimeProperties instance using the specified properties.
|
|
1289
1331
|
* @param [properties] Properties to set
|
|
@@ -1361,6 +1403,17 @@ export namespace transit_realtime {
|
|
|
1361
1403
|
*/
|
|
1362
1404
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
1363
1405
|
}
|
|
1406
|
+
|
|
1407
|
+
namespace StopTimeProperties {
|
|
1408
|
+
|
|
1409
|
+
/** DropOffPickupType enum. */
|
|
1410
|
+
enum DropOffPickupType {
|
|
1411
|
+
REGULAR = 0,
|
|
1412
|
+
NONE = 1,
|
|
1413
|
+
PHONE_AGENCY = 2,
|
|
1414
|
+
COORDINATE_WITH_DRIVER = 3
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1364
1417
|
}
|
|
1365
1418
|
|
|
1366
1419
|
/** Properties of a TripProperties. */
|
|
@@ -1377,6 +1430,12 @@ export namespace transit_realtime {
|
|
|
1377
1430
|
|
|
1378
1431
|
/** TripProperties shapeId */
|
|
1379
1432
|
shapeId?: (string|null);
|
|
1433
|
+
|
|
1434
|
+
/** TripProperties tripHeadsign */
|
|
1435
|
+
tripHeadsign?: (string|null);
|
|
1436
|
+
|
|
1437
|
+
/** TripProperties tripShortName */
|
|
1438
|
+
tripShortName?: (string|null);
|
|
1380
1439
|
}
|
|
1381
1440
|
|
|
1382
1441
|
/** Represents a TripProperties. */
|
|
@@ -1400,6 +1459,12 @@ export namespace transit_realtime {
|
|
|
1400
1459
|
/** TripProperties shapeId. */
|
|
1401
1460
|
public shapeId: string;
|
|
1402
1461
|
|
|
1462
|
+
/** TripProperties tripHeadsign. */
|
|
1463
|
+
public tripHeadsign: string;
|
|
1464
|
+
|
|
1465
|
+
/** TripProperties tripShortName. */
|
|
1466
|
+
public tripShortName: string;
|
|
1467
|
+
|
|
1403
1468
|
/**
|
|
1404
1469
|
* Creates a new TripProperties instance using the specified properties.
|
|
1405
1470
|
* @param [properties] Properties to set
|
|
@@ -1833,6 +1898,9 @@ export namespace transit_realtime {
|
|
|
1833
1898
|
|
|
1834
1899
|
/** Alert causeDetail */
|
|
1835
1900
|
causeDetail?: (transit_realtime.ITranslatedString|null);
|
|
1901
|
+
|
|
1902
|
+
/** Alert effectDetail */
|
|
1903
|
+
effectDetail?: (transit_realtime.ITranslatedString|null);
|
|
1836
1904
|
}
|
|
1837
1905
|
|
|
1838
1906
|
/** Represents an Alert. */
|
|
@@ -1883,6 +1951,9 @@ export namespace transit_realtime {
|
|
|
1883
1951
|
/** Alert causeDetail. */
|
|
1884
1952
|
public causeDetail?: (transit_realtime.ITranslatedString|null);
|
|
1885
1953
|
|
|
1954
|
+
/** Alert effectDetail. */
|
|
1955
|
+
public effectDetail?: (transit_realtime.ITranslatedString|null);
|
|
1956
|
+
|
|
1886
1957
|
/**
|
|
1887
1958
|
* Creates a new Alert instance using the specified properties.
|
|
1888
1959
|
* @param [properties] Properties to set
|
|
@@ -2248,6 +2319,9 @@ export namespace transit_realtime {
|
|
|
2248
2319
|
/** TripDescriptor scheduleRelationship */
|
|
2249
2320
|
scheduleRelationship?: (transit_realtime.TripDescriptor.ScheduleRelationship|null);
|
|
2250
2321
|
|
|
2322
|
+
/** TripDescriptor modifiedTrip */
|
|
2323
|
+
modifiedTrip?: (transit_realtime.TripDescriptor.IModifiedTripSelector|null);
|
|
2324
|
+
|
|
2251
2325
|
/** TripDescriptor .transit_realtime.ovapiTripdescriptor */
|
|
2252
2326
|
".transit_realtime.ovapiTripdescriptor"?: (transit_realtime.IOVapiTripDescriptor|null);
|
|
2253
2327
|
}
|
|
@@ -2279,6 +2353,9 @@ export namespace transit_realtime {
|
|
|
2279
2353
|
/** TripDescriptor scheduleRelationship. */
|
|
2280
2354
|
public scheduleRelationship: transit_realtime.TripDescriptor.ScheduleRelationship;
|
|
2281
2355
|
|
|
2356
|
+
/** TripDescriptor modifiedTrip. */
|
|
2357
|
+
public modifiedTrip?: (transit_realtime.TripDescriptor.IModifiedTripSelector|null);
|
|
2358
|
+
|
|
2282
2359
|
/**
|
|
2283
2360
|
* Creates a new TripDescriptor instance using the specified properties.
|
|
2284
2361
|
* @param [properties] Properties to set
|
|
@@ -2366,7 +2443,124 @@ export namespace transit_realtime {
|
|
|
2366
2443
|
UNSCHEDULED = 2,
|
|
2367
2444
|
CANCELED = 3,
|
|
2368
2445
|
REPLACEMENT = 5,
|
|
2369
|
-
DUPLICATED = 6
|
|
2446
|
+
DUPLICATED = 6,
|
|
2447
|
+
DELETED = 7,
|
|
2448
|
+
NEW = 8
|
|
2449
|
+
}
|
|
2450
|
+
|
|
2451
|
+
/** Properties of a ModifiedTripSelector. */
|
|
2452
|
+
interface IModifiedTripSelector {
|
|
2453
|
+
|
|
2454
|
+
/** ModifiedTripSelector modificationsId */
|
|
2455
|
+
modificationsId?: (string|null);
|
|
2456
|
+
|
|
2457
|
+
/** ModifiedTripSelector affectedTripId */
|
|
2458
|
+
affectedTripId?: (string|null);
|
|
2459
|
+
|
|
2460
|
+
/** ModifiedTripSelector startTime */
|
|
2461
|
+
startTime?: (string|null);
|
|
2462
|
+
|
|
2463
|
+
/** ModifiedTripSelector startDate */
|
|
2464
|
+
startDate?: (string|null);
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
/** Represents a ModifiedTripSelector. */
|
|
2468
|
+
class ModifiedTripSelector implements IModifiedTripSelector {
|
|
2469
|
+
|
|
2470
|
+
/**
|
|
2471
|
+
* Constructs a new ModifiedTripSelector.
|
|
2472
|
+
* @param [properties] Properties to set
|
|
2473
|
+
*/
|
|
2474
|
+
constructor(properties?: transit_realtime.TripDescriptor.IModifiedTripSelector);
|
|
2475
|
+
|
|
2476
|
+
/** ModifiedTripSelector modificationsId. */
|
|
2477
|
+
public modificationsId: string;
|
|
2478
|
+
|
|
2479
|
+
/** ModifiedTripSelector affectedTripId. */
|
|
2480
|
+
public affectedTripId: string;
|
|
2481
|
+
|
|
2482
|
+
/** ModifiedTripSelector startTime. */
|
|
2483
|
+
public startTime: string;
|
|
2484
|
+
|
|
2485
|
+
/** ModifiedTripSelector startDate. */
|
|
2486
|
+
public startDate: string;
|
|
2487
|
+
|
|
2488
|
+
/**
|
|
2489
|
+
* Creates a new ModifiedTripSelector instance using the specified properties.
|
|
2490
|
+
* @param [properties] Properties to set
|
|
2491
|
+
* @returns ModifiedTripSelector instance
|
|
2492
|
+
*/
|
|
2493
|
+
public static create(properties?: transit_realtime.TripDescriptor.IModifiedTripSelector): transit_realtime.TripDescriptor.ModifiedTripSelector;
|
|
2494
|
+
|
|
2495
|
+
/**
|
|
2496
|
+
* Encodes the specified ModifiedTripSelector message. Does not implicitly {@link transit_realtime.TripDescriptor.ModifiedTripSelector.verify|verify} messages.
|
|
2497
|
+
* @param message ModifiedTripSelector message or plain object to encode
|
|
2498
|
+
* @param [writer] Writer to encode to
|
|
2499
|
+
* @returns Writer
|
|
2500
|
+
*/
|
|
2501
|
+
public static encode(message: transit_realtime.TripDescriptor.IModifiedTripSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2502
|
+
|
|
2503
|
+
/**
|
|
2504
|
+
* Encodes the specified ModifiedTripSelector message, length delimited. Does not implicitly {@link transit_realtime.TripDescriptor.ModifiedTripSelector.verify|verify} messages.
|
|
2505
|
+
* @param message ModifiedTripSelector message or plain object to encode
|
|
2506
|
+
* @param [writer] Writer to encode to
|
|
2507
|
+
* @returns Writer
|
|
2508
|
+
*/
|
|
2509
|
+
public static encodeDelimited(message: transit_realtime.TripDescriptor.IModifiedTripSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* Decodes a ModifiedTripSelector message from the specified reader or buffer.
|
|
2513
|
+
* @param reader Reader or buffer to decode from
|
|
2514
|
+
* @param [length] Message length if known beforehand
|
|
2515
|
+
* @returns ModifiedTripSelector
|
|
2516
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2517
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2518
|
+
*/
|
|
2519
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripDescriptor.ModifiedTripSelector;
|
|
2520
|
+
|
|
2521
|
+
/**
|
|
2522
|
+
* Decodes a ModifiedTripSelector message from the specified reader or buffer, length delimited.
|
|
2523
|
+
* @param reader Reader or buffer to decode from
|
|
2524
|
+
* @returns ModifiedTripSelector
|
|
2525
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2526
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2527
|
+
*/
|
|
2528
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripDescriptor.ModifiedTripSelector;
|
|
2529
|
+
|
|
2530
|
+
/**
|
|
2531
|
+
* Verifies a ModifiedTripSelector message.
|
|
2532
|
+
* @param message Plain object to verify
|
|
2533
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2534
|
+
*/
|
|
2535
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2536
|
+
|
|
2537
|
+
/**
|
|
2538
|
+
* Creates a ModifiedTripSelector message from a plain object. Also converts values to their respective internal types.
|
|
2539
|
+
* @param object Plain object
|
|
2540
|
+
* @returns ModifiedTripSelector
|
|
2541
|
+
*/
|
|
2542
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripDescriptor.ModifiedTripSelector;
|
|
2543
|
+
|
|
2544
|
+
/**
|
|
2545
|
+
* Creates a plain object from a ModifiedTripSelector message. Also converts values to other types if specified.
|
|
2546
|
+
* @param message ModifiedTripSelector
|
|
2547
|
+
* @param [options] Conversion options
|
|
2548
|
+
* @returns Plain object
|
|
2549
|
+
*/
|
|
2550
|
+
public static toObject(message: transit_realtime.TripDescriptor.ModifiedTripSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2551
|
+
|
|
2552
|
+
/**
|
|
2553
|
+
* Converts this ModifiedTripSelector to JSON.
|
|
2554
|
+
* @returns JSON object
|
|
2555
|
+
*/
|
|
2556
|
+
public toJSON(): { [k: string]: any };
|
|
2557
|
+
|
|
2558
|
+
/**
|
|
2559
|
+
* Gets the default type url for ModifiedTripSelector
|
|
2560
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
2561
|
+
* @returns The default type url
|
|
2562
|
+
*/
|
|
2563
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2370
2564
|
}
|
|
2371
2565
|
}
|
|
2372
2566
|
|
|
@@ -2382,6 +2576,9 @@ export namespace transit_realtime {
|
|
|
2382
2576
|
/** VehicleDescriptor licensePlate */
|
|
2383
2577
|
licensePlate?: (string|null);
|
|
2384
2578
|
|
|
2579
|
+
/** VehicleDescriptor wheelchairAccessible */
|
|
2580
|
+
wheelchairAccessible?: (transit_realtime.VehicleDescriptor.WheelchairAccessible|null);
|
|
2581
|
+
|
|
2385
2582
|
/** VehicleDescriptor .transit_realtime.ovapiVehicleDescriptor */
|
|
2386
2583
|
".transit_realtime.ovapiVehicleDescriptor"?: (transit_realtime.IOVapiVehicleDescriptor|null);
|
|
2387
2584
|
}
|
|
@@ -2404,6 +2601,9 @@ export namespace transit_realtime {
|
|
|
2404
2601
|
/** VehicleDescriptor licensePlate. */
|
|
2405
2602
|
public licensePlate: string;
|
|
2406
2603
|
|
|
2604
|
+
/** VehicleDescriptor wheelchairAccessible. */
|
|
2605
|
+
public wheelchairAccessible: transit_realtime.VehicleDescriptor.WheelchairAccessible;
|
|
2606
|
+
|
|
2407
2607
|
/**
|
|
2408
2608
|
* Creates a new VehicleDescriptor instance using the specified properties.
|
|
2409
2609
|
* @param [properties] Properties to set
|
|
@@ -2482,6 +2682,17 @@ export namespace transit_realtime {
|
|
|
2482
2682
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
2483
2683
|
}
|
|
2484
2684
|
|
|
2685
|
+
namespace VehicleDescriptor {
|
|
2686
|
+
|
|
2687
|
+
/** WheelchairAccessible enum. */
|
|
2688
|
+
enum WheelchairAccessible {
|
|
2689
|
+
NO_VALUE = 0,
|
|
2690
|
+
UNKNOWN = 1,
|
|
2691
|
+
WHEELCHAIR_ACCESSIBLE = 2,
|
|
2692
|
+
WHEELCHAIR_INACCESSIBLE = 3
|
|
2693
|
+
}
|
|
2694
|
+
}
|
|
2695
|
+
|
|
2485
2696
|
/** Properties of an EntitySelector. */
|
|
2486
2697
|
interface IEntitySelector {
|
|
2487
2698
|
|
|
@@ -3123,4 +3334,743 @@ export namespace transit_realtime {
|
|
|
3123
3334
|
*/
|
|
3124
3335
|
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3125
3336
|
}
|
|
3337
|
+
|
|
3338
|
+
/** Properties of a Stop. */
|
|
3339
|
+
interface IStop {
|
|
3340
|
+
|
|
3341
|
+
/** Stop stopId */
|
|
3342
|
+
stopId?: (string|null);
|
|
3343
|
+
|
|
3344
|
+
/** Stop stopCode */
|
|
3345
|
+
stopCode?: (transit_realtime.ITranslatedString|null);
|
|
3346
|
+
|
|
3347
|
+
/** Stop stopName */
|
|
3348
|
+
stopName?: (transit_realtime.ITranslatedString|null);
|
|
3349
|
+
|
|
3350
|
+
/** Stop ttsStopName */
|
|
3351
|
+
ttsStopName?: (transit_realtime.ITranslatedString|null);
|
|
3352
|
+
|
|
3353
|
+
/** Stop stopDesc */
|
|
3354
|
+
stopDesc?: (transit_realtime.ITranslatedString|null);
|
|
3355
|
+
|
|
3356
|
+
/** Stop stopLat */
|
|
3357
|
+
stopLat?: (number|null);
|
|
3358
|
+
|
|
3359
|
+
/** Stop stopLon */
|
|
3360
|
+
stopLon?: (number|null);
|
|
3361
|
+
|
|
3362
|
+
/** Stop zoneId */
|
|
3363
|
+
zoneId?: (string|null);
|
|
3364
|
+
|
|
3365
|
+
/** Stop stopUrl */
|
|
3366
|
+
stopUrl?: (transit_realtime.ITranslatedString|null);
|
|
3367
|
+
|
|
3368
|
+
/** Stop parentStation */
|
|
3369
|
+
parentStation?: (string|null);
|
|
3370
|
+
|
|
3371
|
+
/** Stop stopTimezone */
|
|
3372
|
+
stopTimezone?: (string|null);
|
|
3373
|
+
|
|
3374
|
+
/** Stop wheelchairBoarding */
|
|
3375
|
+
wheelchairBoarding?: (transit_realtime.Stop.WheelchairBoarding|null);
|
|
3376
|
+
|
|
3377
|
+
/** Stop levelId */
|
|
3378
|
+
levelId?: (string|null);
|
|
3379
|
+
|
|
3380
|
+
/** Stop platformCode */
|
|
3381
|
+
platformCode?: (transit_realtime.ITranslatedString|null);
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3384
|
+
/** Represents a Stop. */
|
|
3385
|
+
class Stop implements IStop {
|
|
3386
|
+
|
|
3387
|
+
/**
|
|
3388
|
+
* Constructs a new Stop.
|
|
3389
|
+
* @param [properties] Properties to set
|
|
3390
|
+
*/
|
|
3391
|
+
constructor(properties?: transit_realtime.IStop);
|
|
3392
|
+
|
|
3393
|
+
/** Stop stopId. */
|
|
3394
|
+
public stopId: string;
|
|
3395
|
+
|
|
3396
|
+
/** Stop stopCode. */
|
|
3397
|
+
public stopCode?: (transit_realtime.ITranslatedString|null);
|
|
3398
|
+
|
|
3399
|
+
/** Stop stopName. */
|
|
3400
|
+
public stopName?: (transit_realtime.ITranslatedString|null);
|
|
3401
|
+
|
|
3402
|
+
/** Stop ttsStopName. */
|
|
3403
|
+
public ttsStopName?: (transit_realtime.ITranslatedString|null);
|
|
3404
|
+
|
|
3405
|
+
/** Stop stopDesc. */
|
|
3406
|
+
public stopDesc?: (transit_realtime.ITranslatedString|null);
|
|
3407
|
+
|
|
3408
|
+
/** Stop stopLat. */
|
|
3409
|
+
public stopLat: number;
|
|
3410
|
+
|
|
3411
|
+
/** Stop stopLon. */
|
|
3412
|
+
public stopLon: number;
|
|
3413
|
+
|
|
3414
|
+
/** Stop zoneId. */
|
|
3415
|
+
public zoneId: string;
|
|
3416
|
+
|
|
3417
|
+
/** Stop stopUrl. */
|
|
3418
|
+
public stopUrl?: (transit_realtime.ITranslatedString|null);
|
|
3419
|
+
|
|
3420
|
+
/** Stop parentStation. */
|
|
3421
|
+
public parentStation: string;
|
|
3422
|
+
|
|
3423
|
+
/** Stop stopTimezone. */
|
|
3424
|
+
public stopTimezone: string;
|
|
3425
|
+
|
|
3426
|
+
/** Stop wheelchairBoarding. */
|
|
3427
|
+
public wheelchairBoarding: transit_realtime.Stop.WheelchairBoarding;
|
|
3428
|
+
|
|
3429
|
+
/** Stop levelId. */
|
|
3430
|
+
public levelId: string;
|
|
3431
|
+
|
|
3432
|
+
/** Stop platformCode. */
|
|
3433
|
+
public platformCode?: (transit_realtime.ITranslatedString|null);
|
|
3434
|
+
|
|
3435
|
+
/**
|
|
3436
|
+
* Creates a new Stop instance using the specified properties.
|
|
3437
|
+
* @param [properties] Properties to set
|
|
3438
|
+
* @returns Stop instance
|
|
3439
|
+
*/
|
|
3440
|
+
public static create(properties?: transit_realtime.IStop): transit_realtime.Stop;
|
|
3441
|
+
|
|
3442
|
+
/**
|
|
3443
|
+
* Encodes the specified Stop message. Does not implicitly {@link transit_realtime.Stop.verify|verify} messages.
|
|
3444
|
+
* @param message Stop message or plain object to encode
|
|
3445
|
+
* @param [writer] Writer to encode to
|
|
3446
|
+
* @returns Writer
|
|
3447
|
+
*/
|
|
3448
|
+
public static encode(message: transit_realtime.IStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3449
|
+
|
|
3450
|
+
/**
|
|
3451
|
+
* Encodes the specified Stop message, length delimited. Does not implicitly {@link transit_realtime.Stop.verify|verify} messages.
|
|
3452
|
+
* @param message Stop message or plain object to encode
|
|
3453
|
+
* @param [writer] Writer to encode to
|
|
3454
|
+
* @returns Writer
|
|
3455
|
+
*/
|
|
3456
|
+
public static encodeDelimited(message: transit_realtime.IStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3457
|
+
|
|
3458
|
+
/**
|
|
3459
|
+
* Decodes a Stop message from the specified reader or buffer.
|
|
3460
|
+
* @param reader Reader or buffer to decode from
|
|
3461
|
+
* @param [length] Message length if known beforehand
|
|
3462
|
+
* @returns Stop
|
|
3463
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3464
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3465
|
+
*/
|
|
3466
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.Stop;
|
|
3467
|
+
|
|
3468
|
+
/**
|
|
3469
|
+
* Decodes a Stop message from the specified reader or buffer, length delimited.
|
|
3470
|
+
* @param reader Reader or buffer to decode from
|
|
3471
|
+
* @returns Stop
|
|
3472
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3473
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3474
|
+
*/
|
|
3475
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.Stop;
|
|
3476
|
+
|
|
3477
|
+
/**
|
|
3478
|
+
* Verifies a Stop message.
|
|
3479
|
+
* @param message Plain object to verify
|
|
3480
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3481
|
+
*/
|
|
3482
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3483
|
+
|
|
3484
|
+
/**
|
|
3485
|
+
* Creates a Stop message from a plain object. Also converts values to their respective internal types.
|
|
3486
|
+
* @param object Plain object
|
|
3487
|
+
* @returns Stop
|
|
3488
|
+
*/
|
|
3489
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.Stop;
|
|
3490
|
+
|
|
3491
|
+
/**
|
|
3492
|
+
* Creates a plain object from a Stop message. Also converts values to other types if specified.
|
|
3493
|
+
* @param message Stop
|
|
3494
|
+
* @param [options] Conversion options
|
|
3495
|
+
* @returns Plain object
|
|
3496
|
+
*/
|
|
3497
|
+
public static toObject(message: transit_realtime.Stop, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3498
|
+
|
|
3499
|
+
/**
|
|
3500
|
+
* Converts this Stop to JSON.
|
|
3501
|
+
* @returns JSON object
|
|
3502
|
+
*/
|
|
3503
|
+
public toJSON(): { [k: string]: any };
|
|
3504
|
+
|
|
3505
|
+
/**
|
|
3506
|
+
* Gets the default type url for Stop
|
|
3507
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3508
|
+
* @returns The default type url
|
|
3509
|
+
*/
|
|
3510
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3511
|
+
}
|
|
3512
|
+
|
|
3513
|
+
namespace Stop {
|
|
3514
|
+
|
|
3515
|
+
/** WheelchairBoarding enum. */
|
|
3516
|
+
enum WheelchairBoarding {
|
|
3517
|
+
UNKNOWN = 0,
|
|
3518
|
+
AVAILABLE = 1,
|
|
3519
|
+
NOT_AVAILABLE = 2
|
|
3520
|
+
}
|
|
3521
|
+
}
|
|
3522
|
+
|
|
3523
|
+
/** Properties of a TripModifications. */
|
|
3524
|
+
interface ITripModifications {
|
|
3525
|
+
|
|
3526
|
+
/** TripModifications selectedTrips */
|
|
3527
|
+
selectedTrips?: (transit_realtime.TripModifications.ISelectedTrips[]|null);
|
|
3528
|
+
|
|
3529
|
+
/** TripModifications startTimes */
|
|
3530
|
+
startTimes?: (string[]|null);
|
|
3531
|
+
|
|
3532
|
+
/** TripModifications serviceDates */
|
|
3533
|
+
serviceDates?: (string[]|null);
|
|
3534
|
+
|
|
3535
|
+
/** TripModifications modifications */
|
|
3536
|
+
modifications?: (transit_realtime.TripModifications.IModification[]|null);
|
|
3537
|
+
}
|
|
3538
|
+
|
|
3539
|
+
/** Represents a TripModifications. */
|
|
3540
|
+
class TripModifications implements ITripModifications {
|
|
3541
|
+
|
|
3542
|
+
/**
|
|
3543
|
+
* Constructs a new TripModifications.
|
|
3544
|
+
* @param [properties] Properties to set
|
|
3545
|
+
*/
|
|
3546
|
+
constructor(properties?: transit_realtime.ITripModifications);
|
|
3547
|
+
|
|
3548
|
+
/** TripModifications selectedTrips. */
|
|
3549
|
+
public selectedTrips: transit_realtime.TripModifications.ISelectedTrips[];
|
|
3550
|
+
|
|
3551
|
+
/** TripModifications startTimes. */
|
|
3552
|
+
public startTimes: string[];
|
|
3553
|
+
|
|
3554
|
+
/** TripModifications serviceDates. */
|
|
3555
|
+
public serviceDates: string[];
|
|
3556
|
+
|
|
3557
|
+
/** TripModifications modifications. */
|
|
3558
|
+
public modifications: transit_realtime.TripModifications.IModification[];
|
|
3559
|
+
|
|
3560
|
+
/**
|
|
3561
|
+
* Creates a new TripModifications instance using the specified properties.
|
|
3562
|
+
* @param [properties] Properties to set
|
|
3563
|
+
* @returns TripModifications instance
|
|
3564
|
+
*/
|
|
3565
|
+
public static create(properties?: transit_realtime.ITripModifications): transit_realtime.TripModifications;
|
|
3566
|
+
|
|
3567
|
+
/**
|
|
3568
|
+
* Encodes the specified TripModifications message. Does not implicitly {@link transit_realtime.TripModifications.verify|verify} messages.
|
|
3569
|
+
* @param message TripModifications message or plain object to encode
|
|
3570
|
+
* @param [writer] Writer to encode to
|
|
3571
|
+
* @returns Writer
|
|
3572
|
+
*/
|
|
3573
|
+
public static encode(message: transit_realtime.ITripModifications, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* Encodes the specified TripModifications message, length delimited. Does not implicitly {@link transit_realtime.TripModifications.verify|verify} messages.
|
|
3577
|
+
* @param message TripModifications message or plain object to encode
|
|
3578
|
+
* @param [writer] Writer to encode to
|
|
3579
|
+
* @returns Writer
|
|
3580
|
+
*/
|
|
3581
|
+
public static encodeDelimited(message: transit_realtime.ITripModifications, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3582
|
+
|
|
3583
|
+
/**
|
|
3584
|
+
* Decodes a TripModifications message from the specified reader or buffer.
|
|
3585
|
+
* @param reader Reader or buffer to decode from
|
|
3586
|
+
* @param [length] Message length if known beforehand
|
|
3587
|
+
* @returns TripModifications
|
|
3588
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3589
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3590
|
+
*/
|
|
3591
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripModifications;
|
|
3592
|
+
|
|
3593
|
+
/**
|
|
3594
|
+
* Decodes a TripModifications message from the specified reader or buffer, length delimited.
|
|
3595
|
+
* @param reader Reader or buffer to decode from
|
|
3596
|
+
* @returns TripModifications
|
|
3597
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3598
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3599
|
+
*/
|
|
3600
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripModifications;
|
|
3601
|
+
|
|
3602
|
+
/**
|
|
3603
|
+
* Verifies a TripModifications message.
|
|
3604
|
+
* @param message Plain object to verify
|
|
3605
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3606
|
+
*/
|
|
3607
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3608
|
+
|
|
3609
|
+
/**
|
|
3610
|
+
* Creates a TripModifications message from a plain object. Also converts values to their respective internal types.
|
|
3611
|
+
* @param object Plain object
|
|
3612
|
+
* @returns TripModifications
|
|
3613
|
+
*/
|
|
3614
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripModifications;
|
|
3615
|
+
|
|
3616
|
+
/**
|
|
3617
|
+
* Creates a plain object from a TripModifications message. Also converts values to other types if specified.
|
|
3618
|
+
* @param message TripModifications
|
|
3619
|
+
* @param [options] Conversion options
|
|
3620
|
+
* @returns Plain object
|
|
3621
|
+
*/
|
|
3622
|
+
public static toObject(message: transit_realtime.TripModifications, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3623
|
+
|
|
3624
|
+
/**
|
|
3625
|
+
* Converts this TripModifications to JSON.
|
|
3626
|
+
* @returns JSON object
|
|
3627
|
+
*/
|
|
3628
|
+
public toJSON(): { [k: string]: any };
|
|
3629
|
+
|
|
3630
|
+
/**
|
|
3631
|
+
* Gets the default type url for TripModifications
|
|
3632
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3633
|
+
* @returns The default type url
|
|
3634
|
+
*/
|
|
3635
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3636
|
+
}
|
|
3637
|
+
|
|
3638
|
+
namespace TripModifications {
|
|
3639
|
+
|
|
3640
|
+
/** Properties of a Modification. */
|
|
3641
|
+
interface IModification {
|
|
3642
|
+
|
|
3643
|
+
/** Modification startStopSelector */
|
|
3644
|
+
startStopSelector?: (transit_realtime.IStopSelector|null);
|
|
3645
|
+
|
|
3646
|
+
/** Modification endStopSelector */
|
|
3647
|
+
endStopSelector?: (transit_realtime.IStopSelector|null);
|
|
3648
|
+
|
|
3649
|
+
/** Modification propagatedModificationDelay */
|
|
3650
|
+
propagatedModificationDelay?: (number|null);
|
|
3651
|
+
|
|
3652
|
+
/** Modification replacementStops */
|
|
3653
|
+
replacementStops?: (transit_realtime.IReplacementStop[]|null);
|
|
3654
|
+
|
|
3655
|
+
/** Modification serviceAlertId */
|
|
3656
|
+
serviceAlertId?: (string|null);
|
|
3657
|
+
|
|
3658
|
+
/** Modification lastModifiedTime */
|
|
3659
|
+
lastModifiedTime?: (number|Long|null);
|
|
3660
|
+
}
|
|
3661
|
+
|
|
3662
|
+
/** Represents a Modification. */
|
|
3663
|
+
class Modification implements IModification {
|
|
3664
|
+
|
|
3665
|
+
/**
|
|
3666
|
+
* Constructs a new Modification.
|
|
3667
|
+
* @param [properties] Properties to set
|
|
3668
|
+
*/
|
|
3669
|
+
constructor(properties?: transit_realtime.TripModifications.IModification);
|
|
3670
|
+
|
|
3671
|
+
/** Modification startStopSelector. */
|
|
3672
|
+
public startStopSelector?: (transit_realtime.IStopSelector|null);
|
|
3673
|
+
|
|
3674
|
+
/** Modification endStopSelector. */
|
|
3675
|
+
public endStopSelector?: (transit_realtime.IStopSelector|null);
|
|
3676
|
+
|
|
3677
|
+
/** Modification propagatedModificationDelay. */
|
|
3678
|
+
public propagatedModificationDelay: number;
|
|
3679
|
+
|
|
3680
|
+
/** Modification replacementStops. */
|
|
3681
|
+
public replacementStops: transit_realtime.IReplacementStop[];
|
|
3682
|
+
|
|
3683
|
+
/** Modification serviceAlertId. */
|
|
3684
|
+
public serviceAlertId: string;
|
|
3685
|
+
|
|
3686
|
+
/** Modification lastModifiedTime. */
|
|
3687
|
+
public lastModifiedTime: (number|Long);
|
|
3688
|
+
|
|
3689
|
+
/**
|
|
3690
|
+
* Creates a new Modification instance using the specified properties.
|
|
3691
|
+
* @param [properties] Properties to set
|
|
3692
|
+
* @returns Modification instance
|
|
3693
|
+
*/
|
|
3694
|
+
public static create(properties?: transit_realtime.TripModifications.IModification): transit_realtime.TripModifications.Modification;
|
|
3695
|
+
|
|
3696
|
+
/**
|
|
3697
|
+
* Encodes the specified Modification message. Does not implicitly {@link transit_realtime.TripModifications.Modification.verify|verify} messages.
|
|
3698
|
+
* @param message Modification message or plain object to encode
|
|
3699
|
+
* @param [writer] Writer to encode to
|
|
3700
|
+
* @returns Writer
|
|
3701
|
+
*/
|
|
3702
|
+
public static encode(message: transit_realtime.TripModifications.IModification, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3703
|
+
|
|
3704
|
+
/**
|
|
3705
|
+
* Encodes the specified Modification message, length delimited. Does not implicitly {@link transit_realtime.TripModifications.Modification.verify|verify} messages.
|
|
3706
|
+
* @param message Modification message or plain object to encode
|
|
3707
|
+
* @param [writer] Writer to encode to
|
|
3708
|
+
* @returns Writer
|
|
3709
|
+
*/
|
|
3710
|
+
public static encodeDelimited(message: transit_realtime.TripModifications.IModification, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3711
|
+
|
|
3712
|
+
/**
|
|
3713
|
+
* Decodes a Modification message from the specified reader or buffer.
|
|
3714
|
+
* @param reader Reader or buffer to decode from
|
|
3715
|
+
* @param [length] Message length if known beforehand
|
|
3716
|
+
* @returns Modification
|
|
3717
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3718
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3719
|
+
*/
|
|
3720
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripModifications.Modification;
|
|
3721
|
+
|
|
3722
|
+
/**
|
|
3723
|
+
* Decodes a Modification message from the specified reader or buffer, length delimited.
|
|
3724
|
+
* @param reader Reader or buffer to decode from
|
|
3725
|
+
* @returns Modification
|
|
3726
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3727
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3728
|
+
*/
|
|
3729
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripModifications.Modification;
|
|
3730
|
+
|
|
3731
|
+
/**
|
|
3732
|
+
* Verifies a Modification message.
|
|
3733
|
+
* @param message Plain object to verify
|
|
3734
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3735
|
+
*/
|
|
3736
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3737
|
+
|
|
3738
|
+
/**
|
|
3739
|
+
* Creates a Modification message from a plain object. Also converts values to their respective internal types.
|
|
3740
|
+
* @param object Plain object
|
|
3741
|
+
* @returns Modification
|
|
3742
|
+
*/
|
|
3743
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripModifications.Modification;
|
|
3744
|
+
|
|
3745
|
+
/**
|
|
3746
|
+
* Creates a plain object from a Modification message. Also converts values to other types if specified.
|
|
3747
|
+
* @param message Modification
|
|
3748
|
+
* @param [options] Conversion options
|
|
3749
|
+
* @returns Plain object
|
|
3750
|
+
*/
|
|
3751
|
+
public static toObject(message: transit_realtime.TripModifications.Modification, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3752
|
+
|
|
3753
|
+
/**
|
|
3754
|
+
* Converts this Modification to JSON.
|
|
3755
|
+
* @returns JSON object
|
|
3756
|
+
*/
|
|
3757
|
+
public toJSON(): { [k: string]: any };
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* Gets the default type url for Modification
|
|
3761
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3762
|
+
* @returns The default type url
|
|
3763
|
+
*/
|
|
3764
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3765
|
+
}
|
|
3766
|
+
|
|
3767
|
+
/** Properties of a SelectedTrips. */
|
|
3768
|
+
interface ISelectedTrips {
|
|
3769
|
+
|
|
3770
|
+
/** SelectedTrips tripIds */
|
|
3771
|
+
tripIds?: (string[]|null);
|
|
3772
|
+
|
|
3773
|
+
/** SelectedTrips shapeId */
|
|
3774
|
+
shapeId?: (string|null);
|
|
3775
|
+
}
|
|
3776
|
+
|
|
3777
|
+
/** Represents a SelectedTrips. */
|
|
3778
|
+
class SelectedTrips implements ISelectedTrips {
|
|
3779
|
+
|
|
3780
|
+
/**
|
|
3781
|
+
* Constructs a new SelectedTrips.
|
|
3782
|
+
* @param [properties] Properties to set
|
|
3783
|
+
*/
|
|
3784
|
+
constructor(properties?: transit_realtime.TripModifications.ISelectedTrips);
|
|
3785
|
+
|
|
3786
|
+
/** SelectedTrips tripIds. */
|
|
3787
|
+
public tripIds: string[];
|
|
3788
|
+
|
|
3789
|
+
/** SelectedTrips shapeId. */
|
|
3790
|
+
public shapeId: string;
|
|
3791
|
+
|
|
3792
|
+
/**
|
|
3793
|
+
* Creates a new SelectedTrips instance using the specified properties.
|
|
3794
|
+
* @param [properties] Properties to set
|
|
3795
|
+
* @returns SelectedTrips instance
|
|
3796
|
+
*/
|
|
3797
|
+
public static create(properties?: transit_realtime.TripModifications.ISelectedTrips): transit_realtime.TripModifications.SelectedTrips;
|
|
3798
|
+
|
|
3799
|
+
/**
|
|
3800
|
+
* Encodes the specified SelectedTrips message. Does not implicitly {@link transit_realtime.TripModifications.SelectedTrips.verify|verify} messages.
|
|
3801
|
+
* @param message SelectedTrips message or plain object to encode
|
|
3802
|
+
* @param [writer] Writer to encode to
|
|
3803
|
+
* @returns Writer
|
|
3804
|
+
*/
|
|
3805
|
+
public static encode(message: transit_realtime.TripModifications.ISelectedTrips, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3806
|
+
|
|
3807
|
+
/**
|
|
3808
|
+
* Encodes the specified SelectedTrips message, length delimited. Does not implicitly {@link transit_realtime.TripModifications.SelectedTrips.verify|verify} messages.
|
|
3809
|
+
* @param message SelectedTrips message or plain object to encode
|
|
3810
|
+
* @param [writer] Writer to encode to
|
|
3811
|
+
* @returns Writer
|
|
3812
|
+
*/
|
|
3813
|
+
public static encodeDelimited(message: transit_realtime.TripModifications.ISelectedTrips, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3814
|
+
|
|
3815
|
+
/**
|
|
3816
|
+
* Decodes a SelectedTrips message from the specified reader or buffer.
|
|
3817
|
+
* @param reader Reader or buffer to decode from
|
|
3818
|
+
* @param [length] Message length if known beforehand
|
|
3819
|
+
* @returns SelectedTrips
|
|
3820
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3821
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3822
|
+
*/
|
|
3823
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripModifications.SelectedTrips;
|
|
3824
|
+
|
|
3825
|
+
/**
|
|
3826
|
+
* Decodes a SelectedTrips message from the specified reader or buffer, length delimited.
|
|
3827
|
+
* @param reader Reader or buffer to decode from
|
|
3828
|
+
* @returns SelectedTrips
|
|
3829
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3830
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3831
|
+
*/
|
|
3832
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripModifications.SelectedTrips;
|
|
3833
|
+
|
|
3834
|
+
/**
|
|
3835
|
+
* Verifies a SelectedTrips message.
|
|
3836
|
+
* @param message Plain object to verify
|
|
3837
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3838
|
+
*/
|
|
3839
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3840
|
+
|
|
3841
|
+
/**
|
|
3842
|
+
* Creates a SelectedTrips message from a plain object. Also converts values to their respective internal types.
|
|
3843
|
+
* @param object Plain object
|
|
3844
|
+
* @returns SelectedTrips
|
|
3845
|
+
*/
|
|
3846
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripModifications.SelectedTrips;
|
|
3847
|
+
|
|
3848
|
+
/**
|
|
3849
|
+
* Creates a plain object from a SelectedTrips message. Also converts values to other types if specified.
|
|
3850
|
+
* @param message SelectedTrips
|
|
3851
|
+
* @param [options] Conversion options
|
|
3852
|
+
* @returns Plain object
|
|
3853
|
+
*/
|
|
3854
|
+
public static toObject(message: transit_realtime.TripModifications.SelectedTrips, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3855
|
+
|
|
3856
|
+
/**
|
|
3857
|
+
* Converts this SelectedTrips to JSON.
|
|
3858
|
+
* @returns JSON object
|
|
3859
|
+
*/
|
|
3860
|
+
public toJSON(): { [k: string]: any };
|
|
3861
|
+
|
|
3862
|
+
/**
|
|
3863
|
+
* Gets the default type url for SelectedTrips
|
|
3864
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3865
|
+
* @returns The default type url
|
|
3866
|
+
*/
|
|
3867
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3868
|
+
}
|
|
3869
|
+
}
|
|
3870
|
+
|
|
3871
|
+
/** Properties of a StopSelector. */
|
|
3872
|
+
interface IStopSelector {
|
|
3873
|
+
|
|
3874
|
+
/** StopSelector stopSequence */
|
|
3875
|
+
stopSequence?: (number|null);
|
|
3876
|
+
|
|
3877
|
+
/** StopSelector stopId */
|
|
3878
|
+
stopId?: (string|null);
|
|
3879
|
+
}
|
|
3880
|
+
|
|
3881
|
+
/** Represents a StopSelector. */
|
|
3882
|
+
class StopSelector implements IStopSelector {
|
|
3883
|
+
|
|
3884
|
+
/**
|
|
3885
|
+
* Constructs a new StopSelector.
|
|
3886
|
+
* @param [properties] Properties to set
|
|
3887
|
+
*/
|
|
3888
|
+
constructor(properties?: transit_realtime.IStopSelector);
|
|
3889
|
+
|
|
3890
|
+
/** StopSelector stopSequence. */
|
|
3891
|
+
public stopSequence: number;
|
|
3892
|
+
|
|
3893
|
+
/** StopSelector stopId. */
|
|
3894
|
+
public stopId: string;
|
|
3895
|
+
|
|
3896
|
+
/**
|
|
3897
|
+
* Creates a new StopSelector instance using the specified properties.
|
|
3898
|
+
* @param [properties] Properties to set
|
|
3899
|
+
* @returns StopSelector instance
|
|
3900
|
+
*/
|
|
3901
|
+
public static create(properties?: transit_realtime.IStopSelector): transit_realtime.StopSelector;
|
|
3902
|
+
|
|
3903
|
+
/**
|
|
3904
|
+
* Encodes the specified StopSelector message. Does not implicitly {@link transit_realtime.StopSelector.verify|verify} messages.
|
|
3905
|
+
* @param message StopSelector message or plain object to encode
|
|
3906
|
+
* @param [writer] Writer to encode to
|
|
3907
|
+
* @returns Writer
|
|
3908
|
+
*/
|
|
3909
|
+
public static encode(message: transit_realtime.IStopSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3910
|
+
|
|
3911
|
+
/**
|
|
3912
|
+
* Encodes the specified StopSelector message, length delimited. Does not implicitly {@link transit_realtime.StopSelector.verify|verify} messages.
|
|
3913
|
+
* @param message StopSelector message or plain object to encode
|
|
3914
|
+
* @param [writer] Writer to encode to
|
|
3915
|
+
* @returns Writer
|
|
3916
|
+
*/
|
|
3917
|
+
public static encodeDelimited(message: transit_realtime.IStopSelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
3918
|
+
|
|
3919
|
+
/**
|
|
3920
|
+
* Decodes a StopSelector message from the specified reader or buffer.
|
|
3921
|
+
* @param reader Reader or buffer to decode from
|
|
3922
|
+
* @param [length] Message length if known beforehand
|
|
3923
|
+
* @returns StopSelector
|
|
3924
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3925
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3926
|
+
*/
|
|
3927
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.StopSelector;
|
|
3928
|
+
|
|
3929
|
+
/**
|
|
3930
|
+
* Decodes a StopSelector message from the specified reader or buffer, length delimited.
|
|
3931
|
+
* @param reader Reader or buffer to decode from
|
|
3932
|
+
* @returns StopSelector
|
|
3933
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
3934
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
3935
|
+
*/
|
|
3936
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.StopSelector;
|
|
3937
|
+
|
|
3938
|
+
/**
|
|
3939
|
+
* Verifies a StopSelector message.
|
|
3940
|
+
* @param message Plain object to verify
|
|
3941
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
3942
|
+
*/
|
|
3943
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
3944
|
+
|
|
3945
|
+
/**
|
|
3946
|
+
* Creates a StopSelector message from a plain object. Also converts values to their respective internal types.
|
|
3947
|
+
* @param object Plain object
|
|
3948
|
+
* @returns StopSelector
|
|
3949
|
+
*/
|
|
3950
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.StopSelector;
|
|
3951
|
+
|
|
3952
|
+
/**
|
|
3953
|
+
* Creates a plain object from a StopSelector message. Also converts values to other types if specified.
|
|
3954
|
+
* @param message StopSelector
|
|
3955
|
+
* @param [options] Conversion options
|
|
3956
|
+
* @returns Plain object
|
|
3957
|
+
*/
|
|
3958
|
+
public static toObject(message: transit_realtime.StopSelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
3959
|
+
|
|
3960
|
+
/**
|
|
3961
|
+
* Converts this StopSelector to JSON.
|
|
3962
|
+
* @returns JSON object
|
|
3963
|
+
*/
|
|
3964
|
+
public toJSON(): { [k: string]: any };
|
|
3965
|
+
|
|
3966
|
+
/**
|
|
3967
|
+
* Gets the default type url for StopSelector
|
|
3968
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
3969
|
+
* @returns The default type url
|
|
3970
|
+
*/
|
|
3971
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3974
|
+
/** Properties of a ReplacementStop. */
|
|
3975
|
+
interface IReplacementStop {
|
|
3976
|
+
|
|
3977
|
+
/** ReplacementStop travelTimeToStop */
|
|
3978
|
+
travelTimeToStop?: (number|null);
|
|
3979
|
+
|
|
3980
|
+
/** ReplacementStop stopId */
|
|
3981
|
+
stopId?: (string|null);
|
|
3982
|
+
}
|
|
3983
|
+
|
|
3984
|
+
/** Represents a ReplacementStop. */
|
|
3985
|
+
class ReplacementStop implements IReplacementStop {
|
|
3986
|
+
|
|
3987
|
+
/**
|
|
3988
|
+
* Constructs a new ReplacementStop.
|
|
3989
|
+
* @param [properties] Properties to set
|
|
3990
|
+
*/
|
|
3991
|
+
constructor(properties?: transit_realtime.IReplacementStop);
|
|
3992
|
+
|
|
3993
|
+
/** ReplacementStop travelTimeToStop. */
|
|
3994
|
+
public travelTimeToStop: number;
|
|
3995
|
+
|
|
3996
|
+
/** ReplacementStop stopId. */
|
|
3997
|
+
public stopId: string;
|
|
3998
|
+
|
|
3999
|
+
/**
|
|
4000
|
+
* Creates a new ReplacementStop instance using the specified properties.
|
|
4001
|
+
* @param [properties] Properties to set
|
|
4002
|
+
* @returns ReplacementStop instance
|
|
4003
|
+
*/
|
|
4004
|
+
public static create(properties?: transit_realtime.IReplacementStop): transit_realtime.ReplacementStop;
|
|
4005
|
+
|
|
4006
|
+
/**
|
|
4007
|
+
* Encodes the specified ReplacementStop message. Does not implicitly {@link transit_realtime.ReplacementStop.verify|verify} messages.
|
|
4008
|
+
* @param message ReplacementStop message or plain object to encode
|
|
4009
|
+
* @param [writer] Writer to encode to
|
|
4010
|
+
* @returns Writer
|
|
4011
|
+
*/
|
|
4012
|
+
public static encode(message: transit_realtime.IReplacementStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4013
|
+
|
|
4014
|
+
/**
|
|
4015
|
+
* Encodes the specified ReplacementStop message, length delimited. Does not implicitly {@link transit_realtime.ReplacementStop.verify|verify} messages.
|
|
4016
|
+
* @param message ReplacementStop message or plain object to encode
|
|
4017
|
+
* @param [writer] Writer to encode to
|
|
4018
|
+
* @returns Writer
|
|
4019
|
+
*/
|
|
4020
|
+
public static encodeDelimited(message: transit_realtime.IReplacementStop, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
4021
|
+
|
|
4022
|
+
/**
|
|
4023
|
+
* Decodes a ReplacementStop message from the specified reader or buffer.
|
|
4024
|
+
* @param reader Reader or buffer to decode from
|
|
4025
|
+
* @param [length] Message length if known beforehand
|
|
4026
|
+
* @returns ReplacementStop
|
|
4027
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4028
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4029
|
+
*/
|
|
4030
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.ReplacementStop;
|
|
4031
|
+
|
|
4032
|
+
/**
|
|
4033
|
+
* Decodes a ReplacementStop message from the specified reader or buffer, length delimited.
|
|
4034
|
+
* @param reader Reader or buffer to decode from
|
|
4035
|
+
* @returns ReplacementStop
|
|
4036
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
4037
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
4038
|
+
*/
|
|
4039
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.ReplacementStop;
|
|
4040
|
+
|
|
4041
|
+
/**
|
|
4042
|
+
* Verifies a ReplacementStop message.
|
|
4043
|
+
* @param message Plain object to verify
|
|
4044
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
4045
|
+
*/
|
|
4046
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
4047
|
+
|
|
4048
|
+
/**
|
|
4049
|
+
* Creates a ReplacementStop message from a plain object. Also converts values to their respective internal types.
|
|
4050
|
+
* @param object Plain object
|
|
4051
|
+
* @returns ReplacementStop
|
|
4052
|
+
*/
|
|
4053
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.ReplacementStop;
|
|
4054
|
+
|
|
4055
|
+
/**
|
|
4056
|
+
* Creates a plain object from a ReplacementStop message. Also converts values to other types if specified.
|
|
4057
|
+
* @param message ReplacementStop
|
|
4058
|
+
* @param [options] Conversion options
|
|
4059
|
+
* @returns Plain object
|
|
4060
|
+
*/
|
|
4061
|
+
public static toObject(message: transit_realtime.ReplacementStop, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
4062
|
+
|
|
4063
|
+
/**
|
|
4064
|
+
* Converts this ReplacementStop to JSON.
|
|
4065
|
+
* @returns JSON object
|
|
4066
|
+
*/
|
|
4067
|
+
public toJSON(): { [k: string]: any };
|
|
4068
|
+
|
|
4069
|
+
/**
|
|
4070
|
+
* Gets the default type url for ReplacementStop
|
|
4071
|
+
* @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
4072
|
+
* @returns The default type url
|
|
4073
|
+
*/
|
|
4074
|
+
public static getTypeUrl(typeUrlPrefix?: string): string;
|
|
4075
|
+
}
|
|
3126
4076
|
}
|