@golemio/ovapi-gtfs-realtime-bindings 1.1.0 → 1.1.1-dev.849152839
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 +2937 -0
- package/package.json +3 -2
|
@@ -0,0 +1,2937 @@
|
|
|
1
|
+
import * as $protobuf from "protobufjs";
|
|
2
|
+
/** Namespace transit_realtime. */
|
|
3
|
+
export namespace transit_realtime {
|
|
4
|
+
|
|
5
|
+
/** Properties of a OVapiTripDescriptor. */
|
|
6
|
+
interface IOVapiTripDescriptor {
|
|
7
|
+
|
|
8
|
+
/** OVapiTripDescriptor realtimeTripId */
|
|
9
|
+
realtimeTripId?: (string|null);
|
|
10
|
+
|
|
11
|
+
/** OVapiTripDescriptor tripShortName */
|
|
12
|
+
tripShortName?: (string|null);
|
|
13
|
+
|
|
14
|
+
/** OVapiTripDescriptor commercialModeId */
|
|
15
|
+
commercialModeId?: (string|null);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
/** Represents a OVapiTripDescriptor. */
|
|
19
|
+
class OVapiTripDescriptor implements IOVapiTripDescriptor {
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Constructs a new OVapiTripDescriptor.
|
|
23
|
+
* @param [properties] Properties to set
|
|
24
|
+
*/
|
|
25
|
+
constructor(properties?: transit_realtime.IOVapiTripDescriptor);
|
|
26
|
+
|
|
27
|
+
/** OVapiTripDescriptor realtimeTripId. */
|
|
28
|
+
public realtimeTripId: string;
|
|
29
|
+
|
|
30
|
+
/** OVapiTripDescriptor tripShortName. */
|
|
31
|
+
public tripShortName: string;
|
|
32
|
+
|
|
33
|
+
/** OVapiTripDescriptor commercialModeId. */
|
|
34
|
+
public commercialModeId: string;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Creates a new OVapiTripDescriptor instance using the specified properties.
|
|
38
|
+
* @param [properties] Properties to set
|
|
39
|
+
* @returns OVapiTripDescriptor instance
|
|
40
|
+
*/
|
|
41
|
+
public static create(properties?: transit_realtime.IOVapiTripDescriptor): transit_realtime.OVapiTripDescriptor;
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Encodes the specified OVapiTripDescriptor message. Does not implicitly {@link transit_realtime.OVapiTripDescriptor.verify|verify} messages.
|
|
45
|
+
* @param message OVapiTripDescriptor message or plain object to encode
|
|
46
|
+
* @param [writer] Writer to encode to
|
|
47
|
+
* @returns Writer
|
|
48
|
+
*/
|
|
49
|
+
public static encode(message: transit_realtime.IOVapiTripDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Encodes the specified OVapiTripDescriptor message, length delimited. Does not implicitly {@link transit_realtime.OVapiTripDescriptor.verify|verify} messages.
|
|
53
|
+
* @param message OVapiTripDescriptor message or plain object to encode
|
|
54
|
+
* @param [writer] Writer to encode to
|
|
55
|
+
* @returns Writer
|
|
56
|
+
*/
|
|
57
|
+
public static encodeDelimited(message: transit_realtime.IOVapiTripDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* Decodes a OVapiTripDescriptor message from the specified reader or buffer.
|
|
61
|
+
* @param reader Reader or buffer to decode from
|
|
62
|
+
* @param [length] Message length if known beforehand
|
|
63
|
+
* @returns OVapiTripDescriptor
|
|
64
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
65
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
66
|
+
*/
|
|
67
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.OVapiTripDescriptor;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Decodes a OVapiTripDescriptor message from the specified reader or buffer, length delimited.
|
|
71
|
+
* @param reader Reader or buffer to decode from
|
|
72
|
+
* @returns OVapiTripDescriptor
|
|
73
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
74
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
75
|
+
*/
|
|
76
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.OVapiTripDescriptor;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Verifies a OVapiTripDescriptor message.
|
|
80
|
+
* @param message Plain object to verify
|
|
81
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
82
|
+
*/
|
|
83
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Creates a OVapiTripDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
87
|
+
* @param object Plain object
|
|
88
|
+
* @returns OVapiTripDescriptor
|
|
89
|
+
*/
|
|
90
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.OVapiTripDescriptor;
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Creates a plain object from a OVapiTripDescriptor message. Also converts values to other types if specified.
|
|
94
|
+
* @param message OVapiTripDescriptor
|
|
95
|
+
* @param [options] Conversion options
|
|
96
|
+
* @returns Plain object
|
|
97
|
+
*/
|
|
98
|
+
public static toObject(message: transit_realtime.OVapiTripDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* Converts this OVapiTripDescriptor to JSON.
|
|
102
|
+
* @returns JSON object
|
|
103
|
+
*/
|
|
104
|
+
public toJSON(): { [k: string]: any };
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
/** Properties of a OVapiVehiclePosition. */
|
|
108
|
+
interface IOVapiVehiclePosition {
|
|
109
|
+
|
|
110
|
+
/** OVapiVehiclePosition delay */
|
|
111
|
+
delay?: (number|null);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/** Represents a OVapiVehiclePosition. */
|
|
115
|
+
class OVapiVehiclePosition implements IOVapiVehiclePosition {
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Constructs a new OVapiVehiclePosition.
|
|
119
|
+
* @param [properties] Properties to set
|
|
120
|
+
*/
|
|
121
|
+
constructor(properties?: transit_realtime.IOVapiVehiclePosition);
|
|
122
|
+
|
|
123
|
+
/** OVapiVehiclePosition delay. */
|
|
124
|
+
public delay: number;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Creates a new OVapiVehiclePosition instance using the specified properties.
|
|
128
|
+
* @param [properties] Properties to set
|
|
129
|
+
* @returns OVapiVehiclePosition instance
|
|
130
|
+
*/
|
|
131
|
+
public static create(properties?: transit_realtime.IOVapiVehiclePosition): transit_realtime.OVapiVehiclePosition;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* Encodes the specified OVapiVehiclePosition message. Does not implicitly {@link transit_realtime.OVapiVehiclePosition.verify|verify} messages.
|
|
135
|
+
* @param message OVapiVehiclePosition message or plain object to encode
|
|
136
|
+
* @param [writer] Writer to encode to
|
|
137
|
+
* @returns Writer
|
|
138
|
+
*/
|
|
139
|
+
public static encode(message: transit_realtime.IOVapiVehiclePosition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* Encodes the specified OVapiVehiclePosition message, length delimited. Does not implicitly {@link transit_realtime.OVapiVehiclePosition.verify|verify} messages.
|
|
143
|
+
* @param message OVapiVehiclePosition message or plain object to encode
|
|
144
|
+
* @param [writer] Writer to encode to
|
|
145
|
+
* @returns Writer
|
|
146
|
+
*/
|
|
147
|
+
public static encodeDelimited(message: transit_realtime.IOVapiVehiclePosition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Decodes a OVapiVehiclePosition message from the specified reader or buffer.
|
|
151
|
+
* @param reader Reader or buffer to decode from
|
|
152
|
+
* @param [length] Message length if known beforehand
|
|
153
|
+
* @returns OVapiVehiclePosition
|
|
154
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
155
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
156
|
+
*/
|
|
157
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.OVapiVehiclePosition;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Decodes a OVapiVehiclePosition message from the specified reader or buffer, length delimited.
|
|
161
|
+
* @param reader Reader or buffer to decode from
|
|
162
|
+
* @returns OVapiVehiclePosition
|
|
163
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
164
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
165
|
+
*/
|
|
166
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.OVapiVehiclePosition;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Verifies a OVapiVehiclePosition message.
|
|
170
|
+
* @param message Plain object to verify
|
|
171
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
172
|
+
*/
|
|
173
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Creates a OVapiVehiclePosition message from a plain object. Also converts values to their respective internal types.
|
|
177
|
+
* @param object Plain object
|
|
178
|
+
* @returns OVapiVehiclePosition
|
|
179
|
+
*/
|
|
180
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.OVapiVehiclePosition;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Creates a plain object from a OVapiVehiclePosition message. Also converts values to other types if specified.
|
|
184
|
+
* @param message OVapiVehiclePosition
|
|
185
|
+
* @param [options] Conversion options
|
|
186
|
+
* @returns Plain object
|
|
187
|
+
*/
|
|
188
|
+
public static toObject(message: transit_realtime.OVapiVehiclePosition, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Converts this OVapiVehiclePosition to JSON.
|
|
192
|
+
* @returns JSON object
|
|
193
|
+
*/
|
|
194
|
+
public toJSON(): { [k: string]: any };
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/** Properties of a OVapiTripUpdate. */
|
|
198
|
+
interface IOVapiTripUpdate {
|
|
199
|
+
|
|
200
|
+
/** OVapiTripUpdate tripHeadsign */
|
|
201
|
+
tripHeadsign?: (string|null);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
/** Represents a OVapiTripUpdate. */
|
|
205
|
+
class OVapiTripUpdate implements IOVapiTripUpdate {
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Constructs a new OVapiTripUpdate.
|
|
209
|
+
* @param [properties] Properties to set
|
|
210
|
+
*/
|
|
211
|
+
constructor(properties?: transit_realtime.IOVapiTripUpdate);
|
|
212
|
+
|
|
213
|
+
/** OVapiTripUpdate tripHeadsign. */
|
|
214
|
+
public tripHeadsign: string;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* Creates a new OVapiTripUpdate instance using the specified properties.
|
|
218
|
+
* @param [properties] Properties to set
|
|
219
|
+
* @returns OVapiTripUpdate instance
|
|
220
|
+
*/
|
|
221
|
+
public static create(properties?: transit_realtime.IOVapiTripUpdate): transit_realtime.OVapiTripUpdate;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* Encodes the specified OVapiTripUpdate message. Does not implicitly {@link transit_realtime.OVapiTripUpdate.verify|verify} messages.
|
|
225
|
+
* @param message OVapiTripUpdate message or plain object to encode
|
|
226
|
+
* @param [writer] Writer to encode to
|
|
227
|
+
* @returns Writer
|
|
228
|
+
*/
|
|
229
|
+
public static encode(message: transit_realtime.IOVapiTripUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
230
|
+
|
|
231
|
+
/**
|
|
232
|
+
* Encodes the specified OVapiTripUpdate message, length delimited. Does not implicitly {@link transit_realtime.OVapiTripUpdate.verify|verify} messages.
|
|
233
|
+
* @param message OVapiTripUpdate message or plain object to encode
|
|
234
|
+
* @param [writer] Writer to encode to
|
|
235
|
+
* @returns Writer
|
|
236
|
+
*/
|
|
237
|
+
public static encodeDelimited(message: transit_realtime.IOVapiTripUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Decodes a OVapiTripUpdate message from the specified reader or buffer.
|
|
241
|
+
* @param reader Reader or buffer to decode from
|
|
242
|
+
* @param [length] Message length if known beforehand
|
|
243
|
+
* @returns OVapiTripUpdate
|
|
244
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
245
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
246
|
+
*/
|
|
247
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.OVapiTripUpdate;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Decodes a OVapiTripUpdate message from the specified reader or buffer, length delimited.
|
|
251
|
+
* @param reader Reader or buffer to decode from
|
|
252
|
+
* @returns OVapiTripUpdate
|
|
253
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
254
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
255
|
+
*/
|
|
256
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.OVapiTripUpdate;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Verifies a OVapiTripUpdate message.
|
|
260
|
+
* @param message Plain object to verify
|
|
261
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
262
|
+
*/
|
|
263
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Creates a OVapiTripUpdate message from a plain object. Also converts values to their respective internal types.
|
|
267
|
+
* @param object Plain object
|
|
268
|
+
* @returns OVapiTripUpdate
|
|
269
|
+
*/
|
|
270
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.OVapiTripUpdate;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Creates a plain object from a OVapiTripUpdate message. Also converts values to other types if specified.
|
|
274
|
+
* @param message OVapiTripUpdate
|
|
275
|
+
* @param [options] Conversion options
|
|
276
|
+
* @returns Plain object
|
|
277
|
+
*/
|
|
278
|
+
public static toObject(message: transit_realtime.OVapiTripUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* Converts this OVapiTripUpdate to JSON.
|
|
282
|
+
* @returns JSON object
|
|
283
|
+
*/
|
|
284
|
+
public toJSON(): { [k: string]: any };
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
/** Properties of a OVapiStopTimeUpdate. */
|
|
288
|
+
interface IOVapiStopTimeUpdate {
|
|
289
|
+
|
|
290
|
+
/** OVapiStopTimeUpdate stopHeadsign */
|
|
291
|
+
stopHeadsign?: (string|null);
|
|
292
|
+
|
|
293
|
+
/** OVapiStopTimeUpdate scheduledTrack */
|
|
294
|
+
scheduledTrack?: (string|null);
|
|
295
|
+
|
|
296
|
+
/** OVapiStopTimeUpdate actualTrack */
|
|
297
|
+
actualTrack?: (string|null);
|
|
298
|
+
|
|
299
|
+
/** OVapiStopTimeUpdate stationId */
|
|
300
|
+
stationId?: (string|null);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/** Represents a OVapiStopTimeUpdate. */
|
|
304
|
+
class OVapiStopTimeUpdate implements IOVapiStopTimeUpdate {
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* Constructs a new OVapiStopTimeUpdate.
|
|
308
|
+
* @param [properties] Properties to set
|
|
309
|
+
*/
|
|
310
|
+
constructor(properties?: transit_realtime.IOVapiStopTimeUpdate);
|
|
311
|
+
|
|
312
|
+
/** OVapiStopTimeUpdate stopHeadsign. */
|
|
313
|
+
public stopHeadsign: string;
|
|
314
|
+
|
|
315
|
+
/** OVapiStopTimeUpdate scheduledTrack. */
|
|
316
|
+
public scheduledTrack: string;
|
|
317
|
+
|
|
318
|
+
/** OVapiStopTimeUpdate actualTrack. */
|
|
319
|
+
public actualTrack: string;
|
|
320
|
+
|
|
321
|
+
/** OVapiStopTimeUpdate stationId. */
|
|
322
|
+
public stationId: string;
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* Creates a new OVapiStopTimeUpdate instance using the specified properties.
|
|
326
|
+
* @param [properties] Properties to set
|
|
327
|
+
* @returns OVapiStopTimeUpdate instance
|
|
328
|
+
*/
|
|
329
|
+
public static create(properties?: transit_realtime.IOVapiStopTimeUpdate): transit_realtime.OVapiStopTimeUpdate;
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* Encodes the specified OVapiStopTimeUpdate message. Does not implicitly {@link transit_realtime.OVapiStopTimeUpdate.verify|verify} messages.
|
|
333
|
+
* @param message OVapiStopTimeUpdate message or plain object to encode
|
|
334
|
+
* @param [writer] Writer to encode to
|
|
335
|
+
* @returns Writer
|
|
336
|
+
*/
|
|
337
|
+
public static encode(message: transit_realtime.IOVapiStopTimeUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* Encodes the specified OVapiStopTimeUpdate message, length delimited. Does not implicitly {@link transit_realtime.OVapiStopTimeUpdate.verify|verify} messages.
|
|
341
|
+
* @param message OVapiStopTimeUpdate message or plain object to encode
|
|
342
|
+
* @param [writer] Writer to encode to
|
|
343
|
+
* @returns Writer
|
|
344
|
+
*/
|
|
345
|
+
public static encodeDelimited(message: transit_realtime.IOVapiStopTimeUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* Decodes a OVapiStopTimeUpdate message from the specified reader or buffer.
|
|
349
|
+
* @param reader Reader or buffer to decode from
|
|
350
|
+
* @param [length] Message length if known beforehand
|
|
351
|
+
* @returns OVapiStopTimeUpdate
|
|
352
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
353
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
354
|
+
*/
|
|
355
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.OVapiStopTimeUpdate;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Decodes a OVapiStopTimeUpdate message from the specified reader or buffer, length delimited.
|
|
359
|
+
* @param reader Reader or buffer to decode from
|
|
360
|
+
* @returns OVapiStopTimeUpdate
|
|
361
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
362
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
363
|
+
*/
|
|
364
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.OVapiStopTimeUpdate;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Verifies a OVapiStopTimeUpdate message.
|
|
368
|
+
* @param message Plain object to verify
|
|
369
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
370
|
+
*/
|
|
371
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Creates a OVapiStopTimeUpdate message from a plain object. Also converts values to their respective internal types.
|
|
375
|
+
* @param object Plain object
|
|
376
|
+
* @returns OVapiStopTimeUpdate
|
|
377
|
+
*/
|
|
378
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.OVapiStopTimeUpdate;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* Creates a plain object from a OVapiStopTimeUpdate message. Also converts values to other types if specified.
|
|
382
|
+
* @param message OVapiStopTimeUpdate
|
|
383
|
+
* @param [options] Conversion options
|
|
384
|
+
* @returns Plain object
|
|
385
|
+
*/
|
|
386
|
+
public static toObject(message: transit_realtime.OVapiStopTimeUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* Converts this OVapiStopTimeUpdate to JSON.
|
|
390
|
+
* @returns JSON object
|
|
391
|
+
*/
|
|
392
|
+
public toJSON(): { [k: string]: any };
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
/** Properties of a OVapiVehicleDescriptor. */
|
|
396
|
+
interface IOVapiVehicleDescriptor {
|
|
397
|
+
|
|
398
|
+
/** OVapiVehicleDescriptor wheelchairAccessible */
|
|
399
|
+
wheelchairAccessible?: (boolean|null);
|
|
400
|
+
|
|
401
|
+
/** OVapiVehicleDescriptor vehicleType */
|
|
402
|
+
vehicleType?: (string|null);
|
|
403
|
+
|
|
404
|
+
/** OVapiVehicleDescriptor vehicleHeadsign */
|
|
405
|
+
vehicleHeadsign?: (string|null);
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
/** Represents a OVapiVehicleDescriptor. */
|
|
409
|
+
class OVapiVehicleDescriptor implements IOVapiVehicleDescriptor {
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* Constructs a new OVapiVehicleDescriptor.
|
|
413
|
+
* @param [properties] Properties to set
|
|
414
|
+
*/
|
|
415
|
+
constructor(properties?: transit_realtime.IOVapiVehicleDescriptor);
|
|
416
|
+
|
|
417
|
+
/** OVapiVehicleDescriptor wheelchairAccessible. */
|
|
418
|
+
public wheelchairAccessible: boolean;
|
|
419
|
+
|
|
420
|
+
/** OVapiVehicleDescriptor vehicleType. */
|
|
421
|
+
public vehicleType: string;
|
|
422
|
+
|
|
423
|
+
/** OVapiVehicleDescriptor vehicleHeadsign. */
|
|
424
|
+
public vehicleHeadsign: string;
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Creates a new OVapiVehicleDescriptor instance using the specified properties.
|
|
428
|
+
* @param [properties] Properties to set
|
|
429
|
+
* @returns OVapiVehicleDescriptor instance
|
|
430
|
+
*/
|
|
431
|
+
public static create(properties?: transit_realtime.IOVapiVehicleDescriptor): transit_realtime.OVapiVehicleDescriptor;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Encodes the specified OVapiVehicleDescriptor message. Does not implicitly {@link transit_realtime.OVapiVehicleDescriptor.verify|verify} messages.
|
|
435
|
+
* @param message OVapiVehicleDescriptor message or plain object to encode
|
|
436
|
+
* @param [writer] Writer to encode to
|
|
437
|
+
* @returns Writer
|
|
438
|
+
*/
|
|
439
|
+
public static encode(message: transit_realtime.IOVapiVehicleDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Encodes the specified OVapiVehicleDescriptor message, length delimited. Does not implicitly {@link transit_realtime.OVapiVehicleDescriptor.verify|verify} messages.
|
|
443
|
+
* @param message OVapiVehicleDescriptor message or plain object to encode
|
|
444
|
+
* @param [writer] Writer to encode to
|
|
445
|
+
* @returns Writer
|
|
446
|
+
*/
|
|
447
|
+
public static encodeDelimited(message: transit_realtime.IOVapiVehicleDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Decodes a OVapiVehicleDescriptor message from the specified reader or buffer.
|
|
451
|
+
* @param reader Reader or buffer to decode from
|
|
452
|
+
* @param [length] Message length if known beforehand
|
|
453
|
+
* @returns OVapiVehicleDescriptor
|
|
454
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
455
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
456
|
+
*/
|
|
457
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.OVapiVehicleDescriptor;
|
|
458
|
+
|
|
459
|
+
/**
|
|
460
|
+
* Decodes a OVapiVehicleDescriptor message from the specified reader or buffer, length delimited.
|
|
461
|
+
* @param reader Reader or buffer to decode from
|
|
462
|
+
* @returns OVapiVehicleDescriptor
|
|
463
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
464
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
465
|
+
*/
|
|
466
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.OVapiVehicleDescriptor;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* Verifies a OVapiVehicleDescriptor message.
|
|
470
|
+
* @param message Plain object to verify
|
|
471
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
472
|
+
*/
|
|
473
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Creates a OVapiVehicleDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
477
|
+
* @param object Plain object
|
|
478
|
+
* @returns OVapiVehicleDescriptor
|
|
479
|
+
*/
|
|
480
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.OVapiVehicleDescriptor;
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* Creates a plain object from a OVapiVehicleDescriptor message. Also converts values to other types if specified.
|
|
484
|
+
* @param message OVapiVehicleDescriptor
|
|
485
|
+
* @param [options] Conversion options
|
|
486
|
+
* @returns Plain object
|
|
487
|
+
*/
|
|
488
|
+
public static toObject(message: transit_realtime.OVapiVehicleDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
489
|
+
|
|
490
|
+
/**
|
|
491
|
+
* Converts this OVapiVehicleDescriptor to JSON.
|
|
492
|
+
* @returns JSON object
|
|
493
|
+
*/
|
|
494
|
+
public toJSON(): { [k: string]: any };
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
/** Properties of a FeedMessage. */
|
|
498
|
+
interface IFeedMessage {
|
|
499
|
+
|
|
500
|
+
/** FeedMessage header */
|
|
501
|
+
header: transit_realtime.IFeedHeader;
|
|
502
|
+
|
|
503
|
+
/** FeedMessage entity */
|
|
504
|
+
entity?: (transit_realtime.IFeedEntity[]|null);
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
/** Represents a FeedMessage. */
|
|
508
|
+
class FeedMessage implements IFeedMessage {
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Constructs a new FeedMessage.
|
|
512
|
+
* @param [properties] Properties to set
|
|
513
|
+
*/
|
|
514
|
+
constructor(properties?: transit_realtime.IFeedMessage);
|
|
515
|
+
|
|
516
|
+
/** FeedMessage header. */
|
|
517
|
+
public header: transit_realtime.IFeedHeader;
|
|
518
|
+
|
|
519
|
+
/** FeedMessage entity. */
|
|
520
|
+
public entity: transit_realtime.IFeedEntity[];
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Creates a new FeedMessage instance using the specified properties.
|
|
524
|
+
* @param [properties] Properties to set
|
|
525
|
+
* @returns FeedMessage instance
|
|
526
|
+
*/
|
|
527
|
+
public static create(properties?: transit_realtime.IFeedMessage): transit_realtime.FeedMessage;
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* Encodes the specified FeedMessage message. Does not implicitly {@link transit_realtime.FeedMessage.verify|verify} messages.
|
|
531
|
+
* @param message FeedMessage message or plain object to encode
|
|
532
|
+
* @param [writer] Writer to encode to
|
|
533
|
+
* @returns Writer
|
|
534
|
+
*/
|
|
535
|
+
public static encode(message: transit_realtime.IFeedMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* Encodes the specified FeedMessage message, length delimited. Does not implicitly {@link transit_realtime.FeedMessage.verify|verify} messages.
|
|
539
|
+
* @param message FeedMessage message or plain object to encode
|
|
540
|
+
* @param [writer] Writer to encode to
|
|
541
|
+
* @returns Writer
|
|
542
|
+
*/
|
|
543
|
+
public static encodeDelimited(message: transit_realtime.IFeedMessage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* Decodes a FeedMessage message from the specified reader or buffer.
|
|
547
|
+
* @param reader Reader or buffer to decode from
|
|
548
|
+
* @param [length] Message length if known beforehand
|
|
549
|
+
* @returns FeedMessage
|
|
550
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
551
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
552
|
+
*/
|
|
553
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.FeedMessage;
|
|
554
|
+
|
|
555
|
+
/**
|
|
556
|
+
* Decodes a FeedMessage message from the specified reader or buffer, length delimited.
|
|
557
|
+
* @param reader Reader or buffer to decode from
|
|
558
|
+
* @returns FeedMessage
|
|
559
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
560
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
561
|
+
*/
|
|
562
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.FeedMessage;
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Verifies a FeedMessage message.
|
|
566
|
+
* @param message Plain object to verify
|
|
567
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
568
|
+
*/
|
|
569
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
570
|
+
|
|
571
|
+
/**
|
|
572
|
+
* Creates a FeedMessage message from a plain object. Also converts values to their respective internal types.
|
|
573
|
+
* @param object Plain object
|
|
574
|
+
* @returns FeedMessage
|
|
575
|
+
*/
|
|
576
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.FeedMessage;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* Creates a plain object from a FeedMessage message. Also converts values to other types if specified.
|
|
580
|
+
* @param message FeedMessage
|
|
581
|
+
* @param [options] Conversion options
|
|
582
|
+
* @returns Plain object
|
|
583
|
+
*/
|
|
584
|
+
public static toObject(message: transit_realtime.FeedMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* Converts this FeedMessage to JSON.
|
|
588
|
+
* @returns JSON object
|
|
589
|
+
*/
|
|
590
|
+
public toJSON(): { [k: string]: any };
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
/** Properties of a FeedHeader. */
|
|
594
|
+
interface IFeedHeader {
|
|
595
|
+
|
|
596
|
+
/** FeedHeader gtfsRealtimeVersion */
|
|
597
|
+
gtfsRealtimeVersion: string;
|
|
598
|
+
|
|
599
|
+
/** FeedHeader incrementality */
|
|
600
|
+
incrementality?: (transit_realtime.FeedHeader.Incrementality|null);
|
|
601
|
+
|
|
602
|
+
/** FeedHeader timestamp */
|
|
603
|
+
timestamp?: (number|Long|null);
|
|
604
|
+
}
|
|
605
|
+
|
|
606
|
+
/** Represents a FeedHeader. */
|
|
607
|
+
class FeedHeader implements IFeedHeader {
|
|
608
|
+
|
|
609
|
+
/**
|
|
610
|
+
* Constructs a new FeedHeader.
|
|
611
|
+
* @param [properties] Properties to set
|
|
612
|
+
*/
|
|
613
|
+
constructor(properties?: transit_realtime.IFeedHeader);
|
|
614
|
+
|
|
615
|
+
/** FeedHeader gtfsRealtimeVersion. */
|
|
616
|
+
public gtfsRealtimeVersion: string;
|
|
617
|
+
|
|
618
|
+
/** FeedHeader incrementality. */
|
|
619
|
+
public incrementality: transit_realtime.FeedHeader.Incrementality;
|
|
620
|
+
|
|
621
|
+
/** FeedHeader timestamp. */
|
|
622
|
+
public timestamp: (number|Long);
|
|
623
|
+
|
|
624
|
+
/**
|
|
625
|
+
* Creates a new FeedHeader instance using the specified properties.
|
|
626
|
+
* @param [properties] Properties to set
|
|
627
|
+
* @returns FeedHeader instance
|
|
628
|
+
*/
|
|
629
|
+
public static create(properties?: transit_realtime.IFeedHeader): transit_realtime.FeedHeader;
|
|
630
|
+
|
|
631
|
+
/**
|
|
632
|
+
* Encodes the specified FeedHeader message. Does not implicitly {@link transit_realtime.FeedHeader.verify|verify} messages.
|
|
633
|
+
* @param message FeedHeader message or plain object to encode
|
|
634
|
+
* @param [writer] Writer to encode to
|
|
635
|
+
* @returns Writer
|
|
636
|
+
*/
|
|
637
|
+
public static encode(message: transit_realtime.IFeedHeader, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
638
|
+
|
|
639
|
+
/**
|
|
640
|
+
* Encodes the specified FeedHeader message, length delimited. Does not implicitly {@link transit_realtime.FeedHeader.verify|verify} messages.
|
|
641
|
+
* @param message FeedHeader message or plain object to encode
|
|
642
|
+
* @param [writer] Writer to encode to
|
|
643
|
+
* @returns Writer
|
|
644
|
+
*/
|
|
645
|
+
public static encodeDelimited(message: transit_realtime.IFeedHeader, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
646
|
+
|
|
647
|
+
/**
|
|
648
|
+
* Decodes a FeedHeader message from the specified reader or buffer.
|
|
649
|
+
* @param reader Reader or buffer to decode from
|
|
650
|
+
* @param [length] Message length if known beforehand
|
|
651
|
+
* @returns FeedHeader
|
|
652
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
653
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
654
|
+
*/
|
|
655
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.FeedHeader;
|
|
656
|
+
|
|
657
|
+
/**
|
|
658
|
+
* Decodes a FeedHeader message from the specified reader or buffer, length delimited.
|
|
659
|
+
* @param reader Reader or buffer to decode from
|
|
660
|
+
* @returns FeedHeader
|
|
661
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
662
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
663
|
+
*/
|
|
664
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.FeedHeader;
|
|
665
|
+
|
|
666
|
+
/**
|
|
667
|
+
* Verifies a FeedHeader message.
|
|
668
|
+
* @param message Plain object to verify
|
|
669
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
670
|
+
*/
|
|
671
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Creates a FeedHeader message from a plain object. Also converts values to their respective internal types.
|
|
675
|
+
* @param object Plain object
|
|
676
|
+
* @returns FeedHeader
|
|
677
|
+
*/
|
|
678
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.FeedHeader;
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
* Creates a plain object from a FeedHeader message. Also converts values to other types if specified.
|
|
682
|
+
* @param message FeedHeader
|
|
683
|
+
* @param [options] Conversion options
|
|
684
|
+
* @returns Plain object
|
|
685
|
+
*/
|
|
686
|
+
public static toObject(message: transit_realtime.FeedHeader, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
687
|
+
|
|
688
|
+
/**
|
|
689
|
+
* Converts this FeedHeader to JSON.
|
|
690
|
+
* @returns JSON object
|
|
691
|
+
*/
|
|
692
|
+
public toJSON(): { [k: string]: any };
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
namespace FeedHeader {
|
|
696
|
+
|
|
697
|
+
/** Incrementality enum. */
|
|
698
|
+
enum Incrementality {
|
|
699
|
+
FULL_DATASET = 0,
|
|
700
|
+
DIFFERENTIAL = 1
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
/** Properties of a FeedEntity. */
|
|
705
|
+
interface IFeedEntity {
|
|
706
|
+
|
|
707
|
+
/** FeedEntity id */
|
|
708
|
+
id: string;
|
|
709
|
+
|
|
710
|
+
/** FeedEntity isDeleted */
|
|
711
|
+
isDeleted?: (boolean|null);
|
|
712
|
+
|
|
713
|
+
/** FeedEntity tripUpdate */
|
|
714
|
+
tripUpdate?: (transit_realtime.ITripUpdate|null);
|
|
715
|
+
|
|
716
|
+
/** FeedEntity vehicle */
|
|
717
|
+
vehicle?: (transit_realtime.IVehiclePosition|null);
|
|
718
|
+
|
|
719
|
+
/** FeedEntity alert */
|
|
720
|
+
alert?: (transit_realtime.IAlert|null);
|
|
721
|
+
|
|
722
|
+
/** FeedEntity shape */
|
|
723
|
+
shape?: (transit_realtime.IShape|null);
|
|
724
|
+
}
|
|
725
|
+
|
|
726
|
+
/** Represents a FeedEntity. */
|
|
727
|
+
class FeedEntity implements IFeedEntity {
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* Constructs a new FeedEntity.
|
|
731
|
+
* @param [properties] Properties to set
|
|
732
|
+
*/
|
|
733
|
+
constructor(properties?: transit_realtime.IFeedEntity);
|
|
734
|
+
|
|
735
|
+
/** FeedEntity id. */
|
|
736
|
+
public id: string;
|
|
737
|
+
|
|
738
|
+
/** FeedEntity isDeleted. */
|
|
739
|
+
public isDeleted: boolean;
|
|
740
|
+
|
|
741
|
+
/** FeedEntity tripUpdate. */
|
|
742
|
+
public tripUpdate?: (transit_realtime.ITripUpdate|null);
|
|
743
|
+
|
|
744
|
+
/** FeedEntity vehicle. */
|
|
745
|
+
public vehicle?: (transit_realtime.IVehiclePosition|null);
|
|
746
|
+
|
|
747
|
+
/** FeedEntity alert. */
|
|
748
|
+
public alert?: (transit_realtime.IAlert|null);
|
|
749
|
+
|
|
750
|
+
/** FeedEntity shape. */
|
|
751
|
+
public shape?: (transit_realtime.IShape|null);
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Creates a new FeedEntity instance using the specified properties.
|
|
755
|
+
* @param [properties] Properties to set
|
|
756
|
+
* @returns FeedEntity instance
|
|
757
|
+
*/
|
|
758
|
+
public static create(properties?: transit_realtime.IFeedEntity): transit_realtime.FeedEntity;
|
|
759
|
+
|
|
760
|
+
/**
|
|
761
|
+
* Encodes the specified FeedEntity message. Does not implicitly {@link transit_realtime.FeedEntity.verify|verify} messages.
|
|
762
|
+
* @param message FeedEntity message or plain object to encode
|
|
763
|
+
* @param [writer] Writer to encode to
|
|
764
|
+
* @returns Writer
|
|
765
|
+
*/
|
|
766
|
+
public static encode(message: transit_realtime.IFeedEntity, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* Encodes the specified FeedEntity message, length delimited. Does not implicitly {@link transit_realtime.FeedEntity.verify|verify} messages.
|
|
770
|
+
* @param message FeedEntity message or plain object to encode
|
|
771
|
+
* @param [writer] Writer to encode to
|
|
772
|
+
* @returns Writer
|
|
773
|
+
*/
|
|
774
|
+
public static encodeDelimited(message: transit_realtime.IFeedEntity, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
775
|
+
|
|
776
|
+
/**
|
|
777
|
+
* Decodes a FeedEntity message from the specified reader or buffer.
|
|
778
|
+
* @param reader Reader or buffer to decode from
|
|
779
|
+
* @param [length] Message length if known beforehand
|
|
780
|
+
* @returns FeedEntity
|
|
781
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
782
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
783
|
+
*/
|
|
784
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.FeedEntity;
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* Decodes a FeedEntity message from the specified reader or buffer, length delimited.
|
|
788
|
+
* @param reader Reader or buffer to decode from
|
|
789
|
+
* @returns FeedEntity
|
|
790
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
791
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
792
|
+
*/
|
|
793
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.FeedEntity;
|
|
794
|
+
|
|
795
|
+
/**
|
|
796
|
+
* Verifies a FeedEntity message.
|
|
797
|
+
* @param message Plain object to verify
|
|
798
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
799
|
+
*/
|
|
800
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
801
|
+
|
|
802
|
+
/**
|
|
803
|
+
* Creates a FeedEntity message from a plain object. Also converts values to their respective internal types.
|
|
804
|
+
* @param object Plain object
|
|
805
|
+
* @returns FeedEntity
|
|
806
|
+
*/
|
|
807
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.FeedEntity;
|
|
808
|
+
|
|
809
|
+
/**
|
|
810
|
+
* Creates a plain object from a FeedEntity message. Also converts values to other types if specified.
|
|
811
|
+
* @param message FeedEntity
|
|
812
|
+
* @param [options] Conversion options
|
|
813
|
+
* @returns Plain object
|
|
814
|
+
*/
|
|
815
|
+
public static toObject(message: transit_realtime.FeedEntity, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
816
|
+
|
|
817
|
+
/**
|
|
818
|
+
* Converts this FeedEntity to JSON.
|
|
819
|
+
* @returns JSON object
|
|
820
|
+
*/
|
|
821
|
+
public toJSON(): { [k: string]: any };
|
|
822
|
+
}
|
|
823
|
+
|
|
824
|
+
/** Properties of a TripUpdate. */
|
|
825
|
+
interface ITripUpdate {
|
|
826
|
+
|
|
827
|
+
/** TripUpdate trip */
|
|
828
|
+
trip: transit_realtime.ITripDescriptor;
|
|
829
|
+
|
|
830
|
+
/** TripUpdate vehicle */
|
|
831
|
+
vehicle?: (transit_realtime.IVehicleDescriptor|null);
|
|
832
|
+
|
|
833
|
+
/** TripUpdate stopTimeUpdate */
|
|
834
|
+
stopTimeUpdate?: (transit_realtime.TripUpdate.IStopTimeUpdate[]|null);
|
|
835
|
+
|
|
836
|
+
/** TripUpdate timestamp */
|
|
837
|
+
timestamp?: (number|Long|null);
|
|
838
|
+
|
|
839
|
+
/** TripUpdate delay */
|
|
840
|
+
delay?: (number|null);
|
|
841
|
+
|
|
842
|
+
/** TripUpdate tripProperties */
|
|
843
|
+
tripProperties?: (transit_realtime.TripUpdate.ITripProperties|null);
|
|
844
|
+
|
|
845
|
+
/** TripUpdate .transit_realtime.ovapiTripUpdate */
|
|
846
|
+
".transit_realtime.ovapiTripUpdate"?: (transit_realtime.IOVapiTripUpdate|null);
|
|
847
|
+
}
|
|
848
|
+
|
|
849
|
+
/** Represents a TripUpdate. */
|
|
850
|
+
class TripUpdate implements ITripUpdate {
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* Constructs a new TripUpdate.
|
|
854
|
+
* @param [properties] Properties to set
|
|
855
|
+
*/
|
|
856
|
+
constructor(properties?: transit_realtime.ITripUpdate);
|
|
857
|
+
|
|
858
|
+
/** TripUpdate trip. */
|
|
859
|
+
public trip: transit_realtime.ITripDescriptor;
|
|
860
|
+
|
|
861
|
+
/** TripUpdate vehicle. */
|
|
862
|
+
public vehicle?: (transit_realtime.IVehicleDescriptor|null);
|
|
863
|
+
|
|
864
|
+
/** TripUpdate stopTimeUpdate. */
|
|
865
|
+
public stopTimeUpdate: transit_realtime.TripUpdate.IStopTimeUpdate[];
|
|
866
|
+
|
|
867
|
+
/** TripUpdate timestamp. */
|
|
868
|
+
public timestamp: (number|Long);
|
|
869
|
+
|
|
870
|
+
/** TripUpdate delay. */
|
|
871
|
+
public delay: number;
|
|
872
|
+
|
|
873
|
+
/** TripUpdate tripProperties. */
|
|
874
|
+
public tripProperties?: (transit_realtime.TripUpdate.ITripProperties|null);
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Creates a new TripUpdate instance using the specified properties.
|
|
878
|
+
* @param [properties] Properties to set
|
|
879
|
+
* @returns TripUpdate instance
|
|
880
|
+
*/
|
|
881
|
+
public static create(properties?: transit_realtime.ITripUpdate): transit_realtime.TripUpdate;
|
|
882
|
+
|
|
883
|
+
/**
|
|
884
|
+
* Encodes the specified TripUpdate message. Does not implicitly {@link transit_realtime.TripUpdate.verify|verify} messages.
|
|
885
|
+
* @param message TripUpdate message or plain object to encode
|
|
886
|
+
* @param [writer] Writer to encode to
|
|
887
|
+
* @returns Writer
|
|
888
|
+
*/
|
|
889
|
+
public static encode(message: transit_realtime.ITripUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
890
|
+
|
|
891
|
+
/**
|
|
892
|
+
* Encodes the specified TripUpdate message, length delimited. Does not implicitly {@link transit_realtime.TripUpdate.verify|verify} messages.
|
|
893
|
+
* @param message TripUpdate message or plain object to encode
|
|
894
|
+
* @param [writer] Writer to encode to
|
|
895
|
+
* @returns Writer
|
|
896
|
+
*/
|
|
897
|
+
public static encodeDelimited(message: transit_realtime.ITripUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
898
|
+
|
|
899
|
+
/**
|
|
900
|
+
* Decodes a TripUpdate message from the specified reader or buffer.
|
|
901
|
+
* @param reader Reader or buffer to decode from
|
|
902
|
+
* @param [length] Message length if known beforehand
|
|
903
|
+
* @returns TripUpdate
|
|
904
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
905
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
906
|
+
*/
|
|
907
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripUpdate;
|
|
908
|
+
|
|
909
|
+
/**
|
|
910
|
+
* Decodes a TripUpdate message from the specified reader or buffer, length delimited.
|
|
911
|
+
* @param reader Reader or buffer to decode from
|
|
912
|
+
* @returns TripUpdate
|
|
913
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
914
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
915
|
+
*/
|
|
916
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripUpdate;
|
|
917
|
+
|
|
918
|
+
/**
|
|
919
|
+
* Verifies a TripUpdate message.
|
|
920
|
+
* @param message Plain object to verify
|
|
921
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
922
|
+
*/
|
|
923
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
924
|
+
|
|
925
|
+
/**
|
|
926
|
+
* Creates a TripUpdate message from a plain object. Also converts values to their respective internal types.
|
|
927
|
+
* @param object Plain object
|
|
928
|
+
* @returns TripUpdate
|
|
929
|
+
*/
|
|
930
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripUpdate;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* Creates a plain object from a TripUpdate message. Also converts values to other types if specified.
|
|
934
|
+
* @param message TripUpdate
|
|
935
|
+
* @param [options] Conversion options
|
|
936
|
+
* @returns Plain object
|
|
937
|
+
*/
|
|
938
|
+
public static toObject(message: transit_realtime.TripUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
939
|
+
|
|
940
|
+
/**
|
|
941
|
+
* Converts this TripUpdate to JSON.
|
|
942
|
+
* @returns JSON object
|
|
943
|
+
*/
|
|
944
|
+
public toJSON(): { [k: string]: any };
|
|
945
|
+
}
|
|
946
|
+
|
|
947
|
+
namespace TripUpdate {
|
|
948
|
+
|
|
949
|
+
/** Properties of a StopTimeEvent. */
|
|
950
|
+
interface IStopTimeEvent {
|
|
951
|
+
|
|
952
|
+
/** StopTimeEvent delay */
|
|
953
|
+
delay?: (number|null);
|
|
954
|
+
|
|
955
|
+
/** StopTimeEvent time */
|
|
956
|
+
time?: (number|Long|null);
|
|
957
|
+
|
|
958
|
+
/** StopTimeEvent uncertainty */
|
|
959
|
+
uncertainty?: (number|null);
|
|
960
|
+
}
|
|
961
|
+
|
|
962
|
+
/** Represents a StopTimeEvent. */
|
|
963
|
+
class StopTimeEvent implements IStopTimeEvent {
|
|
964
|
+
|
|
965
|
+
/**
|
|
966
|
+
* Constructs a new StopTimeEvent.
|
|
967
|
+
* @param [properties] Properties to set
|
|
968
|
+
*/
|
|
969
|
+
constructor(properties?: transit_realtime.TripUpdate.IStopTimeEvent);
|
|
970
|
+
|
|
971
|
+
/** StopTimeEvent delay. */
|
|
972
|
+
public delay: number;
|
|
973
|
+
|
|
974
|
+
/** StopTimeEvent time. */
|
|
975
|
+
public time: (number|Long);
|
|
976
|
+
|
|
977
|
+
/** StopTimeEvent uncertainty. */
|
|
978
|
+
public uncertainty: number;
|
|
979
|
+
|
|
980
|
+
/**
|
|
981
|
+
* Creates a new StopTimeEvent instance using the specified properties.
|
|
982
|
+
* @param [properties] Properties to set
|
|
983
|
+
* @returns StopTimeEvent instance
|
|
984
|
+
*/
|
|
985
|
+
public static create(properties?: transit_realtime.TripUpdate.IStopTimeEvent): transit_realtime.TripUpdate.StopTimeEvent;
|
|
986
|
+
|
|
987
|
+
/**
|
|
988
|
+
* Encodes the specified StopTimeEvent message. Does not implicitly {@link transit_realtime.TripUpdate.StopTimeEvent.verify|verify} messages.
|
|
989
|
+
* @param message StopTimeEvent message or plain object to encode
|
|
990
|
+
* @param [writer] Writer to encode to
|
|
991
|
+
* @returns Writer
|
|
992
|
+
*/
|
|
993
|
+
public static encode(message: transit_realtime.TripUpdate.IStopTimeEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
994
|
+
|
|
995
|
+
/**
|
|
996
|
+
* Encodes the specified StopTimeEvent message, length delimited. Does not implicitly {@link transit_realtime.TripUpdate.StopTimeEvent.verify|verify} messages.
|
|
997
|
+
* @param message StopTimeEvent message or plain object to encode
|
|
998
|
+
* @param [writer] Writer to encode to
|
|
999
|
+
* @returns Writer
|
|
1000
|
+
*/
|
|
1001
|
+
public static encodeDelimited(message: transit_realtime.TripUpdate.IStopTimeEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* Decodes a StopTimeEvent message from the specified reader or buffer.
|
|
1005
|
+
* @param reader Reader or buffer to decode from
|
|
1006
|
+
* @param [length] Message length if known beforehand
|
|
1007
|
+
* @returns StopTimeEvent
|
|
1008
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1009
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1010
|
+
*/
|
|
1011
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripUpdate.StopTimeEvent;
|
|
1012
|
+
|
|
1013
|
+
/**
|
|
1014
|
+
* Decodes a StopTimeEvent message from the specified reader or buffer, length delimited.
|
|
1015
|
+
* @param reader Reader or buffer to decode from
|
|
1016
|
+
* @returns StopTimeEvent
|
|
1017
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1018
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1019
|
+
*/
|
|
1020
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripUpdate.StopTimeEvent;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* Verifies a StopTimeEvent message.
|
|
1024
|
+
* @param message Plain object to verify
|
|
1025
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1026
|
+
*/
|
|
1027
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1028
|
+
|
|
1029
|
+
/**
|
|
1030
|
+
* Creates a StopTimeEvent message from a plain object. Also converts values to their respective internal types.
|
|
1031
|
+
* @param object Plain object
|
|
1032
|
+
* @returns StopTimeEvent
|
|
1033
|
+
*/
|
|
1034
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripUpdate.StopTimeEvent;
|
|
1035
|
+
|
|
1036
|
+
/**
|
|
1037
|
+
* Creates a plain object from a StopTimeEvent message. Also converts values to other types if specified.
|
|
1038
|
+
* @param message StopTimeEvent
|
|
1039
|
+
* @param [options] Conversion options
|
|
1040
|
+
* @returns Plain object
|
|
1041
|
+
*/
|
|
1042
|
+
public static toObject(message: transit_realtime.TripUpdate.StopTimeEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* Converts this StopTimeEvent to JSON.
|
|
1046
|
+
* @returns JSON object
|
|
1047
|
+
*/
|
|
1048
|
+
public toJSON(): { [k: string]: any };
|
|
1049
|
+
}
|
|
1050
|
+
|
|
1051
|
+
/** Properties of a StopTimeUpdate. */
|
|
1052
|
+
interface IStopTimeUpdate {
|
|
1053
|
+
|
|
1054
|
+
/** StopTimeUpdate stopSequence */
|
|
1055
|
+
stopSequence?: (number|null);
|
|
1056
|
+
|
|
1057
|
+
/** StopTimeUpdate stopId */
|
|
1058
|
+
stopId?: (string|null);
|
|
1059
|
+
|
|
1060
|
+
/** StopTimeUpdate arrival */
|
|
1061
|
+
arrival?: (transit_realtime.TripUpdate.IStopTimeEvent|null);
|
|
1062
|
+
|
|
1063
|
+
/** StopTimeUpdate departure */
|
|
1064
|
+
departure?: (transit_realtime.TripUpdate.IStopTimeEvent|null);
|
|
1065
|
+
|
|
1066
|
+
/** StopTimeUpdate departureOccupancyStatus */
|
|
1067
|
+
departureOccupancyStatus?: (transit_realtime.VehiclePosition.OccupancyStatus|null);
|
|
1068
|
+
|
|
1069
|
+
/** StopTimeUpdate scheduleRelationship */
|
|
1070
|
+
scheduleRelationship?: (transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship|null);
|
|
1071
|
+
|
|
1072
|
+
/** StopTimeUpdate stopTimeProperties */
|
|
1073
|
+
stopTimeProperties?: (transit_realtime.TripUpdate.StopTimeUpdate.IStopTimeProperties|null);
|
|
1074
|
+
|
|
1075
|
+
/** StopTimeUpdate .transit_realtime.ovapiStopTimeUpdate */
|
|
1076
|
+
".transit_realtime.ovapiStopTimeUpdate"?: (transit_realtime.IOVapiStopTimeUpdate|null);
|
|
1077
|
+
}
|
|
1078
|
+
|
|
1079
|
+
/** Represents a StopTimeUpdate. */
|
|
1080
|
+
class StopTimeUpdate implements IStopTimeUpdate {
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* Constructs a new StopTimeUpdate.
|
|
1084
|
+
* @param [properties] Properties to set
|
|
1085
|
+
*/
|
|
1086
|
+
constructor(properties?: transit_realtime.TripUpdate.IStopTimeUpdate);
|
|
1087
|
+
|
|
1088
|
+
/** StopTimeUpdate stopSequence. */
|
|
1089
|
+
public stopSequence: number;
|
|
1090
|
+
|
|
1091
|
+
/** StopTimeUpdate stopId. */
|
|
1092
|
+
public stopId: string;
|
|
1093
|
+
|
|
1094
|
+
/** StopTimeUpdate arrival. */
|
|
1095
|
+
public arrival?: (transit_realtime.TripUpdate.IStopTimeEvent|null);
|
|
1096
|
+
|
|
1097
|
+
/** StopTimeUpdate departure. */
|
|
1098
|
+
public departure?: (transit_realtime.TripUpdate.IStopTimeEvent|null);
|
|
1099
|
+
|
|
1100
|
+
/** StopTimeUpdate departureOccupancyStatus. */
|
|
1101
|
+
public departureOccupancyStatus: transit_realtime.VehiclePosition.OccupancyStatus;
|
|
1102
|
+
|
|
1103
|
+
/** StopTimeUpdate scheduleRelationship. */
|
|
1104
|
+
public scheduleRelationship: transit_realtime.TripUpdate.StopTimeUpdate.ScheduleRelationship;
|
|
1105
|
+
|
|
1106
|
+
/** StopTimeUpdate stopTimeProperties. */
|
|
1107
|
+
public stopTimeProperties?: (transit_realtime.TripUpdate.StopTimeUpdate.IStopTimeProperties|null);
|
|
1108
|
+
|
|
1109
|
+
/**
|
|
1110
|
+
* Creates a new StopTimeUpdate instance using the specified properties.
|
|
1111
|
+
* @param [properties] Properties to set
|
|
1112
|
+
* @returns StopTimeUpdate instance
|
|
1113
|
+
*/
|
|
1114
|
+
public static create(properties?: transit_realtime.TripUpdate.IStopTimeUpdate): transit_realtime.TripUpdate.StopTimeUpdate;
|
|
1115
|
+
|
|
1116
|
+
/**
|
|
1117
|
+
* Encodes the specified StopTimeUpdate message. Does not implicitly {@link transit_realtime.TripUpdate.StopTimeUpdate.verify|verify} messages.
|
|
1118
|
+
* @param message StopTimeUpdate message or plain object to encode
|
|
1119
|
+
* @param [writer] Writer to encode to
|
|
1120
|
+
* @returns Writer
|
|
1121
|
+
*/
|
|
1122
|
+
public static encode(message: transit_realtime.TripUpdate.IStopTimeUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* Encodes the specified StopTimeUpdate message, length delimited. Does not implicitly {@link transit_realtime.TripUpdate.StopTimeUpdate.verify|verify} messages.
|
|
1126
|
+
* @param message StopTimeUpdate message or plain object to encode
|
|
1127
|
+
* @param [writer] Writer to encode to
|
|
1128
|
+
* @returns Writer
|
|
1129
|
+
*/
|
|
1130
|
+
public static encodeDelimited(message: transit_realtime.TripUpdate.IStopTimeUpdate, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1131
|
+
|
|
1132
|
+
/**
|
|
1133
|
+
* Decodes a StopTimeUpdate message from the specified reader or buffer.
|
|
1134
|
+
* @param reader Reader or buffer to decode from
|
|
1135
|
+
* @param [length] Message length if known beforehand
|
|
1136
|
+
* @returns StopTimeUpdate
|
|
1137
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1138
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1139
|
+
*/
|
|
1140
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripUpdate.StopTimeUpdate;
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Decodes a StopTimeUpdate message from the specified reader or buffer, length delimited.
|
|
1144
|
+
* @param reader Reader or buffer to decode from
|
|
1145
|
+
* @returns StopTimeUpdate
|
|
1146
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1147
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1148
|
+
*/
|
|
1149
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripUpdate.StopTimeUpdate;
|
|
1150
|
+
|
|
1151
|
+
/**
|
|
1152
|
+
* Verifies a StopTimeUpdate message.
|
|
1153
|
+
* @param message Plain object to verify
|
|
1154
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1155
|
+
*/
|
|
1156
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Creates a StopTimeUpdate message from a plain object. Also converts values to their respective internal types.
|
|
1160
|
+
* @param object Plain object
|
|
1161
|
+
* @returns StopTimeUpdate
|
|
1162
|
+
*/
|
|
1163
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripUpdate.StopTimeUpdate;
|
|
1164
|
+
|
|
1165
|
+
/**
|
|
1166
|
+
* Creates a plain object from a StopTimeUpdate message. Also converts values to other types if specified.
|
|
1167
|
+
* @param message StopTimeUpdate
|
|
1168
|
+
* @param [options] Conversion options
|
|
1169
|
+
* @returns Plain object
|
|
1170
|
+
*/
|
|
1171
|
+
public static toObject(message: transit_realtime.TripUpdate.StopTimeUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Converts this StopTimeUpdate to JSON.
|
|
1175
|
+
* @returns JSON object
|
|
1176
|
+
*/
|
|
1177
|
+
public toJSON(): { [k: string]: any };
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
namespace StopTimeUpdate {
|
|
1181
|
+
|
|
1182
|
+
/** ScheduleRelationship enum. */
|
|
1183
|
+
enum ScheduleRelationship {
|
|
1184
|
+
SCHEDULED = 0,
|
|
1185
|
+
SKIPPED = 1,
|
|
1186
|
+
NO_DATA = 2,
|
|
1187
|
+
UNSCHEDULED = 3
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/** Properties of a StopTimeProperties. */
|
|
1191
|
+
interface IStopTimeProperties {
|
|
1192
|
+
|
|
1193
|
+
/** StopTimeProperties assignedStopId */
|
|
1194
|
+
assignedStopId?: (string|null);
|
|
1195
|
+
}
|
|
1196
|
+
|
|
1197
|
+
/** Represents a StopTimeProperties. */
|
|
1198
|
+
class StopTimeProperties implements IStopTimeProperties {
|
|
1199
|
+
|
|
1200
|
+
/**
|
|
1201
|
+
* Constructs a new StopTimeProperties.
|
|
1202
|
+
* @param [properties] Properties to set
|
|
1203
|
+
*/
|
|
1204
|
+
constructor(properties?: transit_realtime.TripUpdate.StopTimeUpdate.IStopTimeProperties);
|
|
1205
|
+
|
|
1206
|
+
/** StopTimeProperties assignedStopId. */
|
|
1207
|
+
public assignedStopId: string;
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* Creates a new StopTimeProperties instance using the specified properties.
|
|
1211
|
+
* @param [properties] Properties to set
|
|
1212
|
+
* @returns StopTimeProperties instance
|
|
1213
|
+
*/
|
|
1214
|
+
public static create(properties?: transit_realtime.TripUpdate.StopTimeUpdate.IStopTimeProperties): transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties;
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* Encodes the specified StopTimeProperties message. Does not implicitly {@link transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties.verify|verify} messages.
|
|
1218
|
+
* @param message StopTimeProperties message or plain object to encode
|
|
1219
|
+
* @param [writer] Writer to encode to
|
|
1220
|
+
* @returns Writer
|
|
1221
|
+
*/
|
|
1222
|
+
public static encode(message: transit_realtime.TripUpdate.StopTimeUpdate.IStopTimeProperties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1223
|
+
|
|
1224
|
+
/**
|
|
1225
|
+
* Encodes the specified StopTimeProperties message, length delimited. Does not implicitly {@link transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties.verify|verify} messages.
|
|
1226
|
+
* @param message StopTimeProperties message or plain object to encode
|
|
1227
|
+
* @param [writer] Writer to encode to
|
|
1228
|
+
* @returns Writer
|
|
1229
|
+
*/
|
|
1230
|
+
public static encodeDelimited(message: transit_realtime.TripUpdate.StopTimeUpdate.IStopTimeProperties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* Decodes a StopTimeProperties message from the specified reader or buffer.
|
|
1234
|
+
* @param reader Reader or buffer to decode from
|
|
1235
|
+
* @param [length] Message length if known beforehand
|
|
1236
|
+
* @returns StopTimeProperties
|
|
1237
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1238
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1239
|
+
*/
|
|
1240
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties;
|
|
1241
|
+
|
|
1242
|
+
/**
|
|
1243
|
+
* Decodes a StopTimeProperties message from the specified reader or buffer, length delimited.
|
|
1244
|
+
* @param reader Reader or buffer to decode from
|
|
1245
|
+
* @returns StopTimeProperties
|
|
1246
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1247
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1248
|
+
*/
|
|
1249
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties;
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* Verifies a StopTimeProperties message.
|
|
1253
|
+
* @param message Plain object to verify
|
|
1254
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1255
|
+
*/
|
|
1256
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Creates a StopTimeProperties message from a plain object. Also converts values to their respective internal types.
|
|
1260
|
+
* @param object Plain object
|
|
1261
|
+
* @returns StopTimeProperties
|
|
1262
|
+
*/
|
|
1263
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties;
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* Creates a plain object from a StopTimeProperties message. Also converts values to other types if specified.
|
|
1267
|
+
* @param message StopTimeProperties
|
|
1268
|
+
* @param [options] Conversion options
|
|
1269
|
+
* @returns Plain object
|
|
1270
|
+
*/
|
|
1271
|
+
public static toObject(message: transit_realtime.TripUpdate.StopTimeUpdate.StopTimeProperties, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1272
|
+
|
|
1273
|
+
/**
|
|
1274
|
+
* Converts this StopTimeProperties to JSON.
|
|
1275
|
+
* @returns JSON object
|
|
1276
|
+
*/
|
|
1277
|
+
public toJSON(): { [k: string]: any };
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
/** Properties of a TripProperties. */
|
|
1282
|
+
interface ITripProperties {
|
|
1283
|
+
|
|
1284
|
+
/** TripProperties tripId */
|
|
1285
|
+
tripId?: (string|null);
|
|
1286
|
+
|
|
1287
|
+
/** TripProperties startDate */
|
|
1288
|
+
startDate?: (string|null);
|
|
1289
|
+
|
|
1290
|
+
/** TripProperties startTime */
|
|
1291
|
+
startTime?: (string|null);
|
|
1292
|
+
|
|
1293
|
+
/** TripProperties shapeId */
|
|
1294
|
+
shapeId?: (string|null);
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
/** Represents a TripProperties. */
|
|
1298
|
+
class TripProperties implements ITripProperties {
|
|
1299
|
+
|
|
1300
|
+
/**
|
|
1301
|
+
* Constructs a new TripProperties.
|
|
1302
|
+
* @param [properties] Properties to set
|
|
1303
|
+
*/
|
|
1304
|
+
constructor(properties?: transit_realtime.TripUpdate.ITripProperties);
|
|
1305
|
+
|
|
1306
|
+
/** TripProperties tripId. */
|
|
1307
|
+
public tripId: string;
|
|
1308
|
+
|
|
1309
|
+
/** TripProperties startDate. */
|
|
1310
|
+
public startDate: string;
|
|
1311
|
+
|
|
1312
|
+
/** TripProperties startTime. */
|
|
1313
|
+
public startTime: string;
|
|
1314
|
+
|
|
1315
|
+
/** TripProperties shapeId. */
|
|
1316
|
+
public shapeId: string;
|
|
1317
|
+
|
|
1318
|
+
/**
|
|
1319
|
+
* Creates a new TripProperties instance using the specified properties.
|
|
1320
|
+
* @param [properties] Properties to set
|
|
1321
|
+
* @returns TripProperties instance
|
|
1322
|
+
*/
|
|
1323
|
+
public static create(properties?: transit_realtime.TripUpdate.ITripProperties): transit_realtime.TripUpdate.TripProperties;
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Encodes the specified TripProperties message. Does not implicitly {@link transit_realtime.TripUpdate.TripProperties.verify|verify} messages.
|
|
1327
|
+
* @param message TripProperties message or plain object to encode
|
|
1328
|
+
* @param [writer] Writer to encode to
|
|
1329
|
+
* @returns Writer
|
|
1330
|
+
*/
|
|
1331
|
+
public static encode(message: transit_realtime.TripUpdate.ITripProperties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1332
|
+
|
|
1333
|
+
/**
|
|
1334
|
+
* Encodes the specified TripProperties message, length delimited. Does not implicitly {@link transit_realtime.TripUpdate.TripProperties.verify|verify} messages.
|
|
1335
|
+
* @param message TripProperties message or plain object to encode
|
|
1336
|
+
* @param [writer] Writer to encode to
|
|
1337
|
+
* @returns Writer
|
|
1338
|
+
*/
|
|
1339
|
+
public static encodeDelimited(message: transit_realtime.TripUpdate.ITripProperties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1340
|
+
|
|
1341
|
+
/**
|
|
1342
|
+
* Decodes a TripProperties message from the specified reader or buffer.
|
|
1343
|
+
* @param reader Reader or buffer to decode from
|
|
1344
|
+
* @param [length] Message length if known beforehand
|
|
1345
|
+
* @returns TripProperties
|
|
1346
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1347
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1348
|
+
*/
|
|
1349
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripUpdate.TripProperties;
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Decodes a TripProperties message from the specified reader or buffer, length delimited.
|
|
1353
|
+
* @param reader Reader or buffer to decode from
|
|
1354
|
+
* @returns TripProperties
|
|
1355
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1356
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1357
|
+
*/
|
|
1358
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripUpdate.TripProperties;
|
|
1359
|
+
|
|
1360
|
+
/**
|
|
1361
|
+
* Verifies a TripProperties message.
|
|
1362
|
+
* @param message Plain object to verify
|
|
1363
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1364
|
+
*/
|
|
1365
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* Creates a TripProperties message from a plain object. Also converts values to their respective internal types.
|
|
1369
|
+
* @param object Plain object
|
|
1370
|
+
* @returns TripProperties
|
|
1371
|
+
*/
|
|
1372
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripUpdate.TripProperties;
|
|
1373
|
+
|
|
1374
|
+
/**
|
|
1375
|
+
* Creates a plain object from a TripProperties message. Also converts values to other types if specified.
|
|
1376
|
+
* @param message TripProperties
|
|
1377
|
+
* @param [options] Conversion options
|
|
1378
|
+
* @returns Plain object
|
|
1379
|
+
*/
|
|
1380
|
+
public static toObject(message: transit_realtime.TripUpdate.TripProperties, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* Converts this TripProperties to JSON.
|
|
1384
|
+
* @returns JSON object
|
|
1385
|
+
*/
|
|
1386
|
+
public toJSON(): { [k: string]: any };
|
|
1387
|
+
}
|
|
1388
|
+
}
|
|
1389
|
+
|
|
1390
|
+
/** Properties of a VehiclePosition. */
|
|
1391
|
+
interface IVehiclePosition {
|
|
1392
|
+
|
|
1393
|
+
/** VehiclePosition trip */
|
|
1394
|
+
trip?: (transit_realtime.ITripDescriptor|null);
|
|
1395
|
+
|
|
1396
|
+
/** VehiclePosition vehicle */
|
|
1397
|
+
vehicle?: (transit_realtime.IVehicleDescriptor|null);
|
|
1398
|
+
|
|
1399
|
+
/** VehiclePosition position */
|
|
1400
|
+
position?: (transit_realtime.IPosition|null);
|
|
1401
|
+
|
|
1402
|
+
/** VehiclePosition currentStopSequence */
|
|
1403
|
+
currentStopSequence?: (number|null);
|
|
1404
|
+
|
|
1405
|
+
/** VehiclePosition stopId */
|
|
1406
|
+
stopId?: (string|null);
|
|
1407
|
+
|
|
1408
|
+
/** VehiclePosition currentStatus */
|
|
1409
|
+
currentStatus?: (transit_realtime.VehiclePosition.VehicleStopStatus|null);
|
|
1410
|
+
|
|
1411
|
+
/** VehiclePosition timestamp */
|
|
1412
|
+
timestamp?: (number|Long|null);
|
|
1413
|
+
|
|
1414
|
+
/** VehiclePosition congestionLevel */
|
|
1415
|
+
congestionLevel?: (transit_realtime.VehiclePosition.CongestionLevel|null);
|
|
1416
|
+
|
|
1417
|
+
/** VehiclePosition occupancyStatus */
|
|
1418
|
+
occupancyStatus?: (transit_realtime.VehiclePosition.OccupancyStatus|null);
|
|
1419
|
+
|
|
1420
|
+
/** VehiclePosition occupancyPercentage */
|
|
1421
|
+
occupancyPercentage?: (number|null);
|
|
1422
|
+
|
|
1423
|
+
/** VehiclePosition multiCarriageDetails */
|
|
1424
|
+
multiCarriageDetails?: (transit_realtime.VehiclePosition.ICarriageDetails[]|null);
|
|
1425
|
+
|
|
1426
|
+
/** VehiclePosition .transit_realtime.ovapiVehiclePosition */
|
|
1427
|
+
".transit_realtime.ovapiVehiclePosition"?: (transit_realtime.IOVapiVehiclePosition|null);
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
/** Represents a VehiclePosition. */
|
|
1431
|
+
class VehiclePosition implements IVehiclePosition {
|
|
1432
|
+
|
|
1433
|
+
/**
|
|
1434
|
+
* Constructs a new VehiclePosition.
|
|
1435
|
+
* @param [properties] Properties to set
|
|
1436
|
+
*/
|
|
1437
|
+
constructor(properties?: transit_realtime.IVehiclePosition);
|
|
1438
|
+
|
|
1439
|
+
/** VehiclePosition trip. */
|
|
1440
|
+
public trip?: (transit_realtime.ITripDescriptor|null);
|
|
1441
|
+
|
|
1442
|
+
/** VehiclePosition vehicle. */
|
|
1443
|
+
public vehicle?: (transit_realtime.IVehicleDescriptor|null);
|
|
1444
|
+
|
|
1445
|
+
/** VehiclePosition position. */
|
|
1446
|
+
public position?: (transit_realtime.IPosition|null);
|
|
1447
|
+
|
|
1448
|
+
/** VehiclePosition currentStopSequence. */
|
|
1449
|
+
public currentStopSequence: number;
|
|
1450
|
+
|
|
1451
|
+
/** VehiclePosition stopId. */
|
|
1452
|
+
public stopId: string;
|
|
1453
|
+
|
|
1454
|
+
/** VehiclePosition currentStatus. */
|
|
1455
|
+
public currentStatus: transit_realtime.VehiclePosition.VehicleStopStatus;
|
|
1456
|
+
|
|
1457
|
+
/** VehiclePosition timestamp. */
|
|
1458
|
+
public timestamp: (number|Long);
|
|
1459
|
+
|
|
1460
|
+
/** VehiclePosition congestionLevel. */
|
|
1461
|
+
public congestionLevel: transit_realtime.VehiclePosition.CongestionLevel;
|
|
1462
|
+
|
|
1463
|
+
/** VehiclePosition occupancyStatus. */
|
|
1464
|
+
public occupancyStatus: transit_realtime.VehiclePosition.OccupancyStatus;
|
|
1465
|
+
|
|
1466
|
+
/** VehiclePosition occupancyPercentage. */
|
|
1467
|
+
public occupancyPercentage: number;
|
|
1468
|
+
|
|
1469
|
+
/** VehiclePosition multiCarriageDetails. */
|
|
1470
|
+
public multiCarriageDetails: transit_realtime.VehiclePosition.ICarriageDetails[];
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* Creates a new VehiclePosition instance using the specified properties.
|
|
1474
|
+
* @param [properties] Properties to set
|
|
1475
|
+
* @returns VehiclePosition instance
|
|
1476
|
+
*/
|
|
1477
|
+
public static create(properties?: transit_realtime.IVehiclePosition): transit_realtime.VehiclePosition;
|
|
1478
|
+
|
|
1479
|
+
/**
|
|
1480
|
+
* Encodes the specified VehiclePosition message. Does not implicitly {@link transit_realtime.VehiclePosition.verify|verify} messages.
|
|
1481
|
+
* @param message VehiclePosition message or plain object to encode
|
|
1482
|
+
* @param [writer] Writer to encode to
|
|
1483
|
+
* @returns Writer
|
|
1484
|
+
*/
|
|
1485
|
+
public static encode(message: transit_realtime.IVehiclePosition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1486
|
+
|
|
1487
|
+
/**
|
|
1488
|
+
* Encodes the specified VehiclePosition message, length delimited. Does not implicitly {@link transit_realtime.VehiclePosition.verify|verify} messages.
|
|
1489
|
+
* @param message VehiclePosition message or plain object to encode
|
|
1490
|
+
* @param [writer] Writer to encode to
|
|
1491
|
+
* @returns Writer
|
|
1492
|
+
*/
|
|
1493
|
+
public static encodeDelimited(message: transit_realtime.IVehiclePosition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1494
|
+
|
|
1495
|
+
/**
|
|
1496
|
+
* Decodes a VehiclePosition message from the specified reader or buffer.
|
|
1497
|
+
* @param reader Reader or buffer to decode from
|
|
1498
|
+
* @param [length] Message length if known beforehand
|
|
1499
|
+
* @returns VehiclePosition
|
|
1500
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1501
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1502
|
+
*/
|
|
1503
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.VehiclePosition;
|
|
1504
|
+
|
|
1505
|
+
/**
|
|
1506
|
+
* Decodes a VehiclePosition message from the specified reader or buffer, length delimited.
|
|
1507
|
+
* @param reader Reader or buffer to decode from
|
|
1508
|
+
* @returns VehiclePosition
|
|
1509
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1510
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1511
|
+
*/
|
|
1512
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.VehiclePosition;
|
|
1513
|
+
|
|
1514
|
+
/**
|
|
1515
|
+
* Verifies a VehiclePosition message.
|
|
1516
|
+
* @param message Plain object to verify
|
|
1517
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1518
|
+
*/
|
|
1519
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1520
|
+
|
|
1521
|
+
/**
|
|
1522
|
+
* Creates a VehiclePosition message from a plain object. Also converts values to their respective internal types.
|
|
1523
|
+
* @param object Plain object
|
|
1524
|
+
* @returns VehiclePosition
|
|
1525
|
+
*/
|
|
1526
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.VehiclePosition;
|
|
1527
|
+
|
|
1528
|
+
/**
|
|
1529
|
+
* Creates a plain object from a VehiclePosition message. Also converts values to other types if specified.
|
|
1530
|
+
* @param message VehiclePosition
|
|
1531
|
+
* @param [options] Conversion options
|
|
1532
|
+
* @returns Plain object
|
|
1533
|
+
*/
|
|
1534
|
+
public static toObject(message: transit_realtime.VehiclePosition, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* Converts this VehiclePosition to JSON.
|
|
1538
|
+
* @returns JSON object
|
|
1539
|
+
*/
|
|
1540
|
+
public toJSON(): { [k: string]: any };
|
|
1541
|
+
}
|
|
1542
|
+
|
|
1543
|
+
namespace VehiclePosition {
|
|
1544
|
+
|
|
1545
|
+
/** VehicleStopStatus enum. */
|
|
1546
|
+
enum VehicleStopStatus {
|
|
1547
|
+
INCOMING_AT = 0,
|
|
1548
|
+
STOPPED_AT = 1,
|
|
1549
|
+
IN_TRANSIT_TO = 2
|
|
1550
|
+
}
|
|
1551
|
+
|
|
1552
|
+
/** CongestionLevel enum. */
|
|
1553
|
+
enum CongestionLevel {
|
|
1554
|
+
UNKNOWN_CONGESTION_LEVEL = 0,
|
|
1555
|
+
RUNNING_SMOOTHLY = 1,
|
|
1556
|
+
STOP_AND_GO = 2,
|
|
1557
|
+
CONGESTION = 3,
|
|
1558
|
+
SEVERE_CONGESTION = 4
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
/** OccupancyStatus enum. */
|
|
1562
|
+
enum OccupancyStatus {
|
|
1563
|
+
EMPTY = 0,
|
|
1564
|
+
MANY_SEATS_AVAILABLE = 1,
|
|
1565
|
+
FEW_SEATS_AVAILABLE = 2,
|
|
1566
|
+
STANDING_ROOM_ONLY = 3,
|
|
1567
|
+
CRUSHED_STANDING_ROOM_ONLY = 4,
|
|
1568
|
+
FULL = 5,
|
|
1569
|
+
NOT_ACCEPTING_PASSENGERS = 6,
|
|
1570
|
+
NO_DATA_AVAILABLE = 7,
|
|
1571
|
+
NOT_BOARDABLE = 8
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
/** Properties of a CarriageDetails. */
|
|
1575
|
+
interface ICarriageDetails {
|
|
1576
|
+
|
|
1577
|
+
/** CarriageDetails id */
|
|
1578
|
+
id?: (string|null);
|
|
1579
|
+
|
|
1580
|
+
/** CarriageDetails label */
|
|
1581
|
+
label?: (string|null);
|
|
1582
|
+
|
|
1583
|
+
/** CarriageDetails occupancyStatus */
|
|
1584
|
+
occupancyStatus?: (transit_realtime.VehiclePosition.OccupancyStatus|null);
|
|
1585
|
+
|
|
1586
|
+
/** CarriageDetails occupancyPercentage */
|
|
1587
|
+
occupancyPercentage?: (number|null);
|
|
1588
|
+
|
|
1589
|
+
/** CarriageDetails carriageSequence */
|
|
1590
|
+
carriageSequence?: (number|null);
|
|
1591
|
+
}
|
|
1592
|
+
|
|
1593
|
+
/** Represents a CarriageDetails. */
|
|
1594
|
+
class CarriageDetails implements ICarriageDetails {
|
|
1595
|
+
|
|
1596
|
+
/**
|
|
1597
|
+
* Constructs a new CarriageDetails.
|
|
1598
|
+
* @param [properties] Properties to set
|
|
1599
|
+
*/
|
|
1600
|
+
constructor(properties?: transit_realtime.VehiclePosition.ICarriageDetails);
|
|
1601
|
+
|
|
1602
|
+
/** CarriageDetails id. */
|
|
1603
|
+
public id: string;
|
|
1604
|
+
|
|
1605
|
+
/** CarriageDetails label. */
|
|
1606
|
+
public label: string;
|
|
1607
|
+
|
|
1608
|
+
/** CarriageDetails occupancyStatus. */
|
|
1609
|
+
public occupancyStatus: transit_realtime.VehiclePosition.OccupancyStatus;
|
|
1610
|
+
|
|
1611
|
+
/** CarriageDetails occupancyPercentage. */
|
|
1612
|
+
public occupancyPercentage: number;
|
|
1613
|
+
|
|
1614
|
+
/** CarriageDetails carriageSequence. */
|
|
1615
|
+
public carriageSequence: number;
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* Creates a new CarriageDetails instance using the specified properties.
|
|
1619
|
+
* @param [properties] Properties to set
|
|
1620
|
+
* @returns CarriageDetails instance
|
|
1621
|
+
*/
|
|
1622
|
+
public static create(properties?: transit_realtime.VehiclePosition.ICarriageDetails): transit_realtime.VehiclePosition.CarriageDetails;
|
|
1623
|
+
|
|
1624
|
+
/**
|
|
1625
|
+
* Encodes the specified CarriageDetails message. Does not implicitly {@link transit_realtime.VehiclePosition.CarriageDetails.verify|verify} messages.
|
|
1626
|
+
* @param message CarriageDetails message or plain object to encode
|
|
1627
|
+
* @param [writer] Writer to encode to
|
|
1628
|
+
* @returns Writer
|
|
1629
|
+
*/
|
|
1630
|
+
public static encode(message: transit_realtime.VehiclePosition.ICarriageDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1631
|
+
|
|
1632
|
+
/**
|
|
1633
|
+
* Encodes the specified CarriageDetails message, length delimited. Does not implicitly {@link transit_realtime.VehiclePosition.CarriageDetails.verify|verify} messages.
|
|
1634
|
+
* @param message CarriageDetails message or plain object to encode
|
|
1635
|
+
* @param [writer] Writer to encode to
|
|
1636
|
+
* @returns Writer
|
|
1637
|
+
*/
|
|
1638
|
+
public static encodeDelimited(message: transit_realtime.VehiclePosition.ICarriageDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1639
|
+
|
|
1640
|
+
/**
|
|
1641
|
+
* Decodes a CarriageDetails message from the specified reader or buffer.
|
|
1642
|
+
* @param reader Reader or buffer to decode from
|
|
1643
|
+
* @param [length] Message length if known beforehand
|
|
1644
|
+
* @returns CarriageDetails
|
|
1645
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1646
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1647
|
+
*/
|
|
1648
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.VehiclePosition.CarriageDetails;
|
|
1649
|
+
|
|
1650
|
+
/**
|
|
1651
|
+
* Decodes a CarriageDetails message from the specified reader or buffer, length delimited.
|
|
1652
|
+
* @param reader Reader or buffer to decode from
|
|
1653
|
+
* @returns CarriageDetails
|
|
1654
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1655
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1656
|
+
*/
|
|
1657
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.VehiclePosition.CarriageDetails;
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Verifies a CarriageDetails message.
|
|
1661
|
+
* @param message Plain object to verify
|
|
1662
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1663
|
+
*/
|
|
1664
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* Creates a CarriageDetails message from a plain object. Also converts values to their respective internal types.
|
|
1668
|
+
* @param object Plain object
|
|
1669
|
+
* @returns CarriageDetails
|
|
1670
|
+
*/
|
|
1671
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.VehiclePosition.CarriageDetails;
|
|
1672
|
+
|
|
1673
|
+
/**
|
|
1674
|
+
* Creates a plain object from a CarriageDetails message. Also converts values to other types if specified.
|
|
1675
|
+
* @param message CarriageDetails
|
|
1676
|
+
* @param [options] Conversion options
|
|
1677
|
+
* @returns Plain object
|
|
1678
|
+
*/
|
|
1679
|
+
public static toObject(message: transit_realtime.VehiclePosition.CarriageDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* Converts this CarriageDetails to JSON.
|
|
1683
|
+
* @returns JSON object
|
|
1684
|
+
*/
|
|
1685
|
+
public toJSON(): { [k: string]: any };
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
|
|
1689
|
+
/** Properties of an Alert. */
|
|
1690
|
+
interface IAlert {
|
|
1691
|
+
|
|
1692
|
+
/** Alert activePeriod */
|
|
1693
|
+
activePeriod?: (transit_realtime.ITimeRange[]|null);
|
|
1694
|
+
|
|
1695
|
+
/** Alert informedEntity */
|
|
1696
|
+
informedEntity?: (transit_realtime.IEntitySelector[]|null);
|
|
1697
|
+
|
|
1698
|
+
/** Alert cause */
|
|
1699
|
+
cause?: (transit_realtime.Alert.Cause|null);
|
|
1700
|
+
|
|
1701
|
+
/** Alert effect */
|
|
1702
|
+
effect?: (transit_realtime.Alert.Effect|null);
|
|
1703
|
+
|
|
1704
|
+
/** Alert url */
|
|
1705
|
+
url?: (transit_realtime.ITranslatedString|null);
|
|
1706
|
+
|
|
1707
|
+
/** Alert headerText */
|
|
1708
|
+
headerText?: (transit_realtime.ITranslatedString|null);
|
|
1709
|
+
|
|
1710
|
+
/** Alert descriptionText */
|
|
1711
|
+
descriptionText?: (transit_realtime.ITranslatedString|null);
|
|
1712
|
+
|
|
1713
|
+
/** Alert ttsHeaderText */
|
|
1714
|
+
ttsHeaderText?: (transit_realtime.ITranslatedString|null);
|
|
1715
|
+
|
|
1716
|
+
/** Alert ttsDescriptionText */
|
|
1717
|
+
ttsDescriptionText?: (transit_realtime.ITranslatedString|null);
|
|
1718
|
+
|
|
1719
|
+
/** Alert severityLevel */
|
|
1720
|
+
severityLevel?: (transit_realtime.Alert.SeverityLevel|null);
|
|
1721
|
+
|
|
1722
|
+
/** Alert image */
|
|
1723
|
+
image?: (transit_realtime.ITranslatedImage|null);
|
|
1724
|
+
|
|
1725
|
+
/** Alert imageAlternativeText */
|
|
1726
|
+
imageAlternativeText?: (transit_realtime.ITranslatedString|null);
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1729
|
+
/** Represents an Alert. */
|
|
1730
|
+
class Alert implements IAlert {
|
|
1731
|
+
|
|
1732
|
+
/**
|
|
1733
|
+
* Constructs a new Alert.
|
|
1734
|
+
* @param [properties] Properties to set
|
|
1735
|
+
*/
|
|
1736
|
+
constructor(properties?: transit_realtime.IAlert);
|
|
1737
|
+
|
|
1738
|
+
/** Alert activePeriod. */
|
|
1739
|
+
public activePeriod: transit_realtime.ITimeRange[];
|
|
1740
|
+
|
|
1741
|
+
/** Alert informedEntity. */
|
|
1742
|
+
public informedEntity: transit_realtime.IEntitySelector[];
|
|
1743
|
+
|
|
1744
|
+
/** Alert cause. */
|
|
1745
|
+
public cause: transit_realtime.Alert.Cause;
|
|
1746
|
+
|
|
1747
|
+
/** Alert effect. */
|
|
1748
|
+
public effect: transit_realtime.Alert.Effect;
|
|
1749
|
+
|
|
1750
|
+
/** Alert url. */
|
|
1751
|
+
public url?: (transit_realtime.ITranslatedString|null);
|
|
1752
|
+
|
|
1753
|
+
/** Alert headerText. */
|
|
1754
|
+
public headerText?: (transit_realtime.ITranslatedString|null);
|
|
1755
|
+
|
|
1756
|
+
/** Alert descriptionText. */
|
|
1757
|
+
public descriptionText?: (transit_realtime.ITranslatedString|null);
|
|
1758
|
+
|
|
1759
|
+
/** Alert ttsHeaderText. */
|
|
1760
|
+
public ttsHeaderText?: (transit_realtime.ITranslatedString|null);
|
|
1761
|
+
|
|
1762
|
+
/** Alert ttsDescriptionText. */
|
|
1763
|
+
public ttsDescriptionText?: (transit_realtime.ITranslatedString|null);
|
|
1764
|
+
|
|
1765
|
+
/** Alert severityLevel. */
|
|
1766
|
+
public severityLevel: transit_realtime.Alert.SeverityLevel;
|
|
1767
|
+
|
|
1768
|
+
/** Alert image. */
|
|
1769
|
+
public image?: (transit_realtime.ITranslatedImage|null);
|
|
1770
|
+
|
|
1771
|
+
/** Alert imageAlternativeText. */
|
|
1772
|
+
public imageAlternativeText?: (transit_realtime.ITranslatedString|null);
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* Creates a new Alert instance using the specified properties.
|
|
1776
|
+
* @param [properties] Properties to set
|
|
1777
|
+
* @returns Alert instance
|
|
1778
|
+
*/
|
|
1779
|
+
public static create(properties?: transit_realtime.IAlert): transit_realtime.Alert;
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* Encodes the specified Alert message. Does not implicitly {@link transit_realtime.Alert.verify|verify} messages.
|
|
1783
|
+
* @param message Alert message or plain object to encode
|
|
1784
|
+
* @param [writer] Writer to encode to
|
|
1785
|
+
* @returns Writer
|
|
1786
|
+
*/
|
|
1787
|
+
public static encode(message: transit_realtime.IAlert, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* Encodes the specified Alert message, length delimited. Does not implicitly {@link transit_realtime.Alert.verify|verify} messages.
|
|
1791
|
+
* @param message Alert message or plain object to encode
|
|
1792
|
+
* @param [writer] Writer to encode to
|
|
1793
|
+
* @returns Writer
|
|
1794
|
+
*/
|
|
1795
|
+
public static encodeDelimited(message: transit_realtime.IAlert, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1796
|
+
|
|
1797
|
+
/**
|
|
1798
|
+
* Decodes an Alert message from the specified reader or buffer.
|
|
1799
|
+
* @param reader Reader or buffer to decode from
|
|
1800
|
+
* @param [length] Message length if known beforehand
|
|
1801
|
+
* @returns Alert
|
|
1802
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1803
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1804
|
+
*/
|
|
1805
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.Alert;
|
|
1806
|
+
|
|
1807
|
+
/**
|
|
1808
|
+
* Decodes an Alert message from the specified reader or buffer, length delimited.
|
|
1809
|
+
* @param reader Reader or buffer to decode from
|
|
1810
|
+
* @returns Alert
|
|
1811
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1812
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1813
|
+
*/
|
|
1814
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.Alert;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* Verifies an Alert message.
|
|
1818
|
+
* @param message Plain object to verify
|
|
1819
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1820
|
+
*/
|
|
1821
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1822
|
+
|
|
1823
|
+
/**
|
|
1824
|
+
* Creates an Alert message from a plain object. Also converts values to their respective internal types.
|
|
1825
|
+
* @param object Plain object
|
|
1826
|
+
* @returns Alert
|
|
1827
|
+
*/
|
|
1828
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.Alert;
|
|
1829
|
+
|
|
1830
|
+
/**
|
|
1831
|
+
* Creates a plain object from an Alert message. Also converts values to other types if specified.
|
|
1832
|
+
* @param message Alert
|
|
1833
|
+
* @param [options] Conversion options
|
|
1834
|
+
* @returns Plain object
|
|
1835
|
+
*/
|
|
1836
|
+
public static toObject(message: transit_realtime.Alert, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1837
|
+
|
|
1838
|
+
/**
|
|
1839
|
+
* Converts this Alert to JSON.
|
|
1840
|
+
* @returns JSON object
|
|
1841
|
+
*/
|
|
1842
|
+
public toJSON(): { [k: string]: any };
|
|
1843
|
+
}
|
|
1844
|
+
|
|
1845
|
+
namespace Alert {
|
|
1846
|
+
|
|
1847
|
+
/** Cause enum. */
|
|
1848
|
+
enum Cause {
|
|
1849
|
+
UNKNOWN_CAUSE = 1,
|
|
1850
|
+
OTHER_CAUSE = 2,
|
|
1851
|
+
TECHNICAL_PROBLEM = 3,
|
|
1852
|
+
STRIKE = 4,
|
|
1853
|
+
DEMONSTRATION = 5,
|
|
1854
|
+
ACCIDENT = 6,
|
|
1855
|
+
HOLIDAY = 7,
|
|
1856
|
+
WEATHER = 8,
|
|
1857
|
+
MAINTENANCE = 9,
|
|
1858
|
+
CONSTRUCTION = 10,
|
|
1859
|
+
POLICE_ACTIVITY = 11,
|
|
1860
|
+
MEDICAL_EMERGENCY = 12
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
/** Effect enum. */
|
|
1864
|
+
enum Effect {
|
|
1865
|
+
NO_SERVICE = 1,
|
|
1866
|
+
REDUCED_SERVICE = 2,
|
|
1867
|
+
SIGNIFICANT_DELAYS = 3,
|
|
1868
|
+
DETOUR = 4,
|
|
1869
|
+
ADDITIONAL_SERVICE = 5,
|
|
1870
|
+
MODIFIED_SERVICE = 6,
|
|
1871
|
+
OTHER_EFFECT = 7,
|
|
1872
|
+
UNKNOWN_EFFECT = 8,
|
|
1873
|
+
STOP_MOVED = 9,
|
|
1874
|
+
NO_EFFECT = 10,
|
|
1875
|
+
ACCESSIBILITY_ISSUE = 11
|
|
1876
|
+
}
|
|
1877
|
+
|
|
1878
|
+
/** SeverityLevel enum. */
|
|
1879
|
+
enum SeverityLevel {
|
|
1880
|
+
UNKNOWN_SEVERITY = 1,
|
|
1881
|
+
INFO = 2,
|
|
1882
|
+
WARNING = 3,
|
|
1883
|
+
SEVERE = 4
|
|
1884
|
+
}
|
|
1885
|
+
}
|
|
1886
|
+
|
|
1887
|
+
/** Properties of a TimeRange. */
|
|
1888
|
+
interface ITimeRange {
|
|
1889
|
+
|
|
1890
|
+
/** TimeRange start */
|
|
1891
|
+
start?: (number|Long|null);
|
|
1892
|
+
|
|
1893
|
+
/** TimeRange end */
|
|
1894
|
+
end?: (number|Long|null);
|
|
1895
|
+
}
|
|
1896
|
+
|
|
1897
|
+
/** Represents a TimeRange. */
|
|
1898
|
+
class TimeRange implements ITimeRange {
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* Constructs a new TimeRange.
|
|
1902
|
+
* @param [properties] Properties to set
|
|
1903
|
+
*/
|
|
1904
|
+
constructor(properties?: transit_realtime.ITimeRange);
|
|
1905
|
+
|
|
1906
|
+
/** TimeRange start. */
|
|
1907
|
+
public start: (number|Long);
|
|
1908
|
+
|
|
1909
|
+
/** TimeRange end. */
|
|
1910
|
+
public end: (number|Long);
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Creates a new TimeRange instance using the specified properties.
|
|
1914
|
+
* @param [properties] Properties to set
|
|
1915
|
+
* @returns TimeRange instance
|
|
1916
|
+
*/
|
|
1917
|
+
public static create(properties?: transit_realtime.ITimeRange): transit_realtime.TimeRange;
|
|
1918
|
+
|
|
1919
|
+
/**
|
|
1920
|
+
* Encodes the specified TimeRange message. Does not implicitly {@link transit_realtime.TimeRange.verify|verify} messages.
|
|
1921
|
+
* @param message TimeRange message or plain object to encode
|
|
1922
|
+
* @param [writer] Writer to encode to
|
|
1923
|
+
* @returns Writer
|
|
1924
|
+
*/
|
|
1925
|
+
public static encode(message: transit_realtime.ITimeRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1926
|
+
|
|
1927
|
+
/**
|
|
1928
|
+
* Encodes the specified TimeRange message, length delimited. Does not implicitly {@link transit_realtime.TimeRange.verify|verify} messages.
|
|
1929
|
+
* @param message TimeRange message or plain object to encode
|
|
1930
|
+
* @param [writer] Writer to encode to
|
|
1931
|
+
* @returns Writer
|
|
1932
|
+
*/
|
|
1933
|
+
public static encodeDelimited(message: transit_realtime.ITimeRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
1934
|
+
|
|
1935
|
+
/**
|
|
1936
|
+
* Decodes a TimeRange message from the specified reader or buffer.
|
|
1937
|
+
* @param reader Reader or buffer to decode from
|
|
1938
|
+
* @param [length] Message length if known beforehand
|
|
1939
|
+
* @returns TimeRange
|
|
1940
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1941
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1942
|
+
*/
|
|
1943
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TimeRange;
|
|
1944
|
+
|
|
1945
|
+
/**
|
|
1946
|
+
* Decodes a TimeRange message from the specified reader or buffer, length delimited.
|
|
1947
|
+
* @param reader Reader or buffer to decode from
|
|
1948
|
+
* @returns TimeRange
|
|
1949
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
1950
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
1951
|
+
*/
|
|
1952
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TimeRange;
|
|
1953
|
+
|
|
1954
|
+
/**
|
|
1955
|
+
* Verifies a TimeRange message.
|
|
1956
|
+
* @param message Plain object to verify
|
|
1957
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
1958
|
+
*/
|
|
1959
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* Creates a TimeRange message from a plain object. Also converts values to their respective internal types.
|
|
1963
|
+
* @param object Plain object
|
|
1964
|
+
* @returns TimeRange
|
|
1965
|
+
*/
|
|
1966
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TimeRange;
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* Creates a plain object from a TimeRange message. Also converts values to other types if specified.
|
|
1970
|
+
* @param message TimeRange
|
|
1971
|
+
* @param [options] Conversion options
|
|
1972
|
+
* @returns Plain object
|
|
1973
|
+
*/
|
|
1974
|
+
public static toObject(message: transit_realtime.TimeRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
1975
|
+
|
|
1976
|
+
/**
|
|
1977
|
+
* Converts this TimeRange to JSON.
|
|
1978
|
+
* @returns JSON object
|
|
1979
|
+
*/
|
|
1980
|
+
public toJSON(): { [k: string]: any };
|
|
1981
|
+
}
|
|
1982
|
+
|
|
1983
|
+
/** Properties of a Position. */
|
|
1984
|
+
interface IPosition {
|
|
1985
|
+
|
|
1986
|
+
/** Position latitude */
|
|
1987
|
+
latitude: number;
|
|
1988
|
+
|
|
1989
|
+
/** Position longitude */
|
|
1990
|
+
longitude: number;
|
|
1991
|
+
|
|
1992
|
+
/** Position bearing */
|
|
1993
|
+
bearing?: (number|null);
|
|
1994
|
+
|
|
1995
|
+
/** Position odometer */
|
|
1996
|
+
odometer?: (number|null);
|
|
1997
|
+
|
|
1998
|
+
/** Position speed */
|
|
1999
|
+
speed?: (number|null);
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
/** Represents a Position. */
|
|
2003
|
+
class Position implements IPosition {
|
|
2004
|
+
|
|
2005
|
+
/**
|
|
2006
|
+
* Constructs a new Position.
|
|
2007
|
+
* @param [properties] Properties to set
|
|
2008
|
+
*/
|
|
2009
|
+
constructor(properties?: transit_realtime.IPosition);
|
|
2010
|
+
|
|
2011
|
+
/** Position latitude. */
|
|
2012
|
+
public latitude: number;
|
|
2013
|
+
|
|
2014
|
+
/** Position longitude. */
|
|
2015
|
+
public longitude: number;
|
|
2016
|
+
|
|
2017
|
+
/** Position bearing. */
|
|
2018
|
+
public bearing: number;
|
|
2019
|
+
|
|
2020
|
+
/** Position odometer. */
|
|
2021
|
+
public odometer: number;
|
|
2022
|
+
|
|
2023
|
+
/** Position speed. */
|
|
2024
|
+
public speed: number;
|
|
2025
|
+
|
|
2026
|
+
/**
|
|
2027
|
+
* Creates a new Position instance using the specified properties.
|
|
2028
|
+
* @param [properties] Properties to set
|
|
2029
|
+
* @returns Position instance
|
|
2030
|
+
*/
|
|
2031
|
+
public static create(properties?: transit_realtime.IPosition): transit_realtime.Position;
|
|
2032
|
+
|
|
2033
|
+
/**
|
|
2034
|
+
* Encodes the specified Position message. Does not implicitly {@link transit_realtime.Position.verify|verify} messages.
|
|
2035
|
+
* @param message Position message or plain object to encode
|
|
2036
|
+
* @param [writer] Writer to encode to
|
|
2037
|
+
* @returns Writer
|
|
2038
|
+
*/
|
|
2039
|
+
public static encode(message: transit_realtime.IPosition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* Encodes the specified Position message, length delimited. Does not implicitly {@link transit_realtime.Position.verify|verify} messages.
|
|
2043
|
+
* @param message Position message or plain object to encode
|
|
2044
|
+
* @param [writer] Writer to encode to
|
|
2045
|
+
* @returns Writer
|
|
2046
|
+
*/
|
|
2047
|
+
public static encodeDelimited(message: transit_realtime.IPosition, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2048
|
+
|
|
2049
|
+
/**
|
|
2050
|
+
* Decodes a Position message from the specified reader or buffer.
|
|
2051
|
+
* @param reader Reader or buffer to decode from
|
|
2052
|
+
* @param [length] Message length if known beforehand
|
|
2053
|
+
* @returns Position
|
|
2054
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2055
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2056
|
+
*/
|
|
2057
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.Position;
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* Decodes a Position message from the specified reader or buffer, length delimited.
|
|
2061
|
+
* @param reader Reader or buffer to decode from
|
|
2062
|
+
* @returns Position
|
|
2063
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2064
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2065
|
+
*/
|
|
2066
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.Position;
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Verifies a Position message.
|
|
2070
|
+
* @param message Plain object to verify
|
|
2071
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2072
|
+
*/
|
|
2073
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2074
|
+
|
|
2075
|
+
/**
|
|
2076
|
+
* Creates a Position message from a plain object. Also converts values to their respective internal types.
|
|
2077
|
+
* @param object Plain object
|
|
2078
|
+
* @returns Position
|
|
2079
|
+
*/
|
|
2080
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.Position;
|
|
2081
|
+
|
|
2082
|
+
/**
|
|
2083
|
+
* Creates a plain object from a Position message. Also converts values to other types if specified.
|
|
2084
|
+
* @param message Position
|
|
2085
|
+
* @param [options] Conversion options
|
|
2086
|
+
* @returns Plain object
|
|
2087
|
+
*/
|
|
2088
|
+
public static toObject(message: transit_realtime.Position, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* Converts this Position to JSON.
|
|
2092
|
+
* @returns JSON object
|
|
2093
|
+
*/
|
|
2094
|
+
public toJSON(): { [k: string]: any };
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
/** Properties of a TripDescriptor. */
|
|
2098
|
+
interface ITripDescriptor {
|
|
2099
|
+
|
|
2100
|
+
/** TripDescriptor tripId */
|
|
2101
|
+
tripId?: (string|null);
|
|
2102
|
+
|
|
2103
|
+
/** TripDescriptor routeId */
|
|
2104
|
+
routeId?: (string|null);
|
|
2105
|
+
|
|
2106
|
+
/** TripDescriptor directionId */
|
|
2107
|
+
directionId?: (number|null);
|
|
2108
|
+
|
|
2109
|
+
/** TripDescriptor startTime */
|
|
2110
|
+
startTime?: (string|null);
|
|
2111
|
+
|
|
2112
|
+
/** TripDescriptor startDate */
|
|
2113
|
+
startDate?: (string|null);
|
|
2114
|
+
|
|
2115
|
+
/** TripDescriptor scheduleRelationship */
|
|
2116
|
+
scheduleRelationship?: (transit_realtime.TripDescriptor.ScheduleRelationship|null);
|
|
2117
|
+
|
|
2118
|
+
/** TripDescriptor .transit_realtime.ovapiTripdescriptor */
|
|
2119
|
+
".transit_realtime.ovapiTripdescriptor"?: (transit_realtime.IOVapiTripDescriptor|null);
|
|
2120
|
+
}
|
|
2121
|
+
|
|
2122
|
+
/** Represents a TripDescriptor. */
|
|
2123
|
+
class TripDescriptor implements ITripDescriptor {
|
|
2124
|
+
|
|
2125
|
+
/**
|
|
2126
|
+
* Constructs a new TripDescriptor.
|
|
2127
|
+
* @param [properties] Properties to set
|
|
2128
|
+
*/
|
|
2129
|
+
constructor(properties?: transit_realtime.ITripDescriptor);
|
|
2130
|
+
|
|
2131
|
+
/** TripDescriptor tripId. */
|
|
2132
|
+
public tripId: string;
|
|
2133
|
+
|
|
2134
|
+
/** TripDescriptor routeId. */
|
|
2135
|
+
public routeId: string;
|
|
2136
|
+
|
|
2137
|
+
/** TripDescriptor directionId. */
|
|
2138
|
+
public directionId: number;
|
|
2139
|
+
|
|
2140
|
+
/** TripDescriptor startTime. */
|
|
2141
|
+
public startTime: string;
|
|
2142
|
+
|
|
2143
|
+
/** TripDescriptor startDate. */
|
|
2144
|
+
public startDate: string;
|
|
2145
|
+
|
|
2146
|
+
/** TripDescriptor scheduleRelationship. */
|
|
2147
|
+
public scheduleRelationship: transit_realtime.TripDescriptor.ScheduleRelationship;
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* Creates a new TripDescriptor instance using the specified properties.
|
|
2151
|
+
* @param [properties] Properties to set
|
|
2152
|
+
* @returns TripDescriptor instance
|
|
2153
|
+
*/
|
|
2154
|
+
public static create(properties?: transit_realtime.ITripDescriptor): transit_realtime.TripDescriptor;
|
|
2155
|
+
|
|
2156
|
+
/**
|
|
2157
|
+
* Encodes the specified TripDescriptor message. Does not implicitly {@link transit_realtime.TripDescriptor.verify|verify} messages.
|
|
2158
|
+
* @param message TripDescriptor message or plain object to encode
|
|
2159
|
+
* @param [writer] Writer to encode to
|
|
2160
|
+
* @returns Writer
|
|
2161
|
+
*/
|
|
2162
|
+
public static encode(message: transit_realtime.ITripDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2163
|
+
|
|
2164
|
+
/**
|
|
2165
|
+
* Encodes the specified TripDescriptor message, length delimited. Does not implicitly {@link transit_realtime.TripDescriptor.verify|verify} messages.
|
|
2166
|
+
* @param message TripDescriptor message or plain object to encode
|
|
2167
|
+
* @param [writer] Writer to encode to
|
|
2168
|
+
* @returns Writer
|
|
2169
|
+
*/
|
|
2170
|
+
public static encodeDelimited(message: transit_realtime.ITripDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2171
|
+
|
|
2172
|
+
/**
|
|
2173
|
+
* Decodes a TripDescriptor message from the specified reader or buffer.
|
|
2174
|
+
* @param reader Reader or buffer to decode from
|
|
2175
|
+
* @param [length] Message length if known beforehand
|
|
2176
|
+
* @returns TripDescriptor
|
|
2177
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2178
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2179
|
+
*/
|
|
2180
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TripDescriptor;
|
|
2181
|
+
|
|
2182
|
+
/**
|
|
2183
|
+
* Decodes a TripDescriptor message from the specified reader or buffer, length delimited.
|
|
2184
|
+
* @param reader Reader or buffer to decode from
|
|
2185
|
+
* @returns TripDescriptor
|
|
2186
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2187
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2188
|
+
*/
|
|
2189
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TripDescriptor;
|
|
2190
|
+
|
|
2191
|
+
/**
|
|
2192
|
+
* Verifies a TripDescriptor message.
|
|
2193
|
+
* @param message Plain object to verify
|
|
2194
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2195
|
+
*/
|
|
2196
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* Creates a TripDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
2200
|
+
* @param object Plain object
|
|
2201
|
+
* @returns TripDescriptor
|
|
2202
|
+
*/
|
|
2203
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TripDescriptor;
|
|
2204
|
+
|
|
2205
|
+
/**
|
|
2206
|
+
* Creates a plain object from a TripDescriptor message. Also converts values to other types if specified.
|
|
2207
|
+
* @param message TripDescriptor
|
|
2208
|
+
* @param [options] Conversion options
|
|
2209
|
+
* @returns Plain object
|
|
2210
|
+
*/
|
|
2211
|
+
public static toObject(message: transit_realtime.TripDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2212
|
+
|
|
2213
|
+
/**
|
|
2214
|
+
* Converts this TripDescriptor to JSON.
|
|
2215
|
+
* @returns JSON object
|
|
2216
|
+
*/
|
|
2217
|
+
public toJSON(): { [k: string]: any };
|
|
2218
|
+
}
|
|
2219
|
+
|
|
2220
|
+
namespace TripDescriptor {
|
|
2221
|
+
|
|
2222
|
+
/** ScheduleRelationship enum. */
|
|
2223
|
+
enum ScheduleRelationship {
|
|
2224
|
+
SCHEDULED = 0,
|
|
2225
|
+
ADDED = 1,
|
|
2226
|
+
UNSCHEDULED = 2,
|
|
2227
|
+
CANCELED = 3,
|
|
2228
|
+
REPLACEMENT = 5,
|
|
2229
|
+
DUPLICATED = 6
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
|
|
2233
|
+
/** Properties of a VehicleDescriptor. */
|
|
2234
|
+
interface IVehicleDescriptor {
|
|
2235
|
+
|
|
2236
|
+
/** VehicleDescriptor id */
|
|
2237
|
+
id?: (string|null);
|
|
2238
|
+
|
|
2239
|
+
/** VehicleDescriptor label */
|
|
2240
|
+
label?: (string|null);
|
|
2241
|
+
|
|
2242
|
+
/** VehicleDescriptor licensePlate */
|
|
2243
|
+
licensePlate?: (string|null);
|
|
2244
|
+
|
|
2245
|
+
/** VehicleDescriptor .transit_realtime.ovapiVehicleDescriptor */
|
|
2246
|
+
".transit_realtime.ovapiVehicleDescriptor"?: (transit_realtime.IOVapiVehicleDescriptor|null);
|
|
2247
|
+
}
|
|
2248
|
+
|
|
2249
|
+
/** Represents a VehicleDescriptor. */
|
|
2250
|
+
class VehicleDescriptor implements IVehicleDescriptor {
|
|
2251
|
+
|
|
2252
|
+
/**
|
|
2253
|
+
* Constructs a new VehicleDescriptor.
|
|
2254
|
+
* @param [properties] Properties to set
|
|
2255
|
+
*/
|
|
2256
|
+
constructor(properties?: transit_realtime.IVehicleDescriptor);
|
|
2257
|
+
|
|
2258
|
+
/** VehicleDescriptor id. */
|
|
2259
|
+
public id: string;
|
|
2260
|
+
|
|
2261
|
+
/** VehicleDescriptor label. */
|
|
2262
|
+
public label: string;
|
|
2263
|
+
|
|
2264
|
+
/** VehicleDescriptor licensePlate. */
|
|
2265
|
+
public licensePlate: string;
|
|
2266
|
+
|
|
2267
|
+
/**
|
|
2268
|
+
* Creates a new VehicleDescriptor instance using the specified properties.
|
|
2269
|
+
* @param [properties] Properties to set
|
|
2270
|
+
* @returns VehicleDescriptor instance
|
|
2271
|
+
*/
|
|
2272
|
+
public static create(properties?: transit_realtime.IVehicleDescriptor): transit_realtime.VehicleDescriptor;
|
|
2273
|
+
|
|
2274
|
+
/**
|
|
2275
|
+
* Encodes the specified VehicleDescriptor message. Does not implicitly {@link transit_realtime.VehicleDescriptor.verify|verify} messages.
|
|
2276
|
+
* @param message VehicleDescriptor message or plain object to encode
|
|
2277
|
+
* @param [writer] Writer to encode to
|
|
2278
|
+
* @returns Writer
|
|
2279
|
+
*/
|
|
2280
|
+
public static encode(message: transit_realtime.IVehicleDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2281
|
+
|
|
2282
|
+
/**
|
|
2283
|
+
* Encodes the specified VehicleDescriptor message, length delimited. Does not implicitly {@link transit_realtime.VehicleDescriptor.verify|verify} messages.
|
|
2284
|
+
* @param message VehicleDescriptor message or plain object to encode
|
|
2285
|
+
* @param [writer] Writer to encode to
|
|
2286
|
+
* @returns Writer
|
|
2287
|
+
*/
|
|
2288
|
+
public static encodeDelimited(message: transit_realtime.IVehicleDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2289
|
+
|
|
2290
|
+
/**
|
|
2291
|
+
* Decodes a VehicleDescriptor message from the specified reader or buffer.
|
|
2292
|
+
* @param reader Reader or buffer to decode from
|
|
2293
|
+
* @param [length] Message length if known beforehand
|
|
2294
|
+
* @returns VehicleDescriptor
|
|
2295
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2296
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2297
|
+
*/
|
|
2298
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.VehicleDescriptor;
|
|
2299
|
+
|
|
2300
|
+
/**
|
|
2301
|
+
* Decodes a VehicleDescriptor message from the specified reader or buffer, length delimited.
|
|
2302
|
+
* @param reader Reader or buffer to decode from
|
|
2303
|
+
* @returns VehicleDescriptor
|
|
2304
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2305
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2306
|
+
*/
|
|
2307
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.VehicleDescriptor;
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* Verifies a VehicleDescriptor message.
|
|
2311
|
+
* @param message Plain object to verify
|
|
2312
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2313
|
+
*/
|
|
2314
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2315
|
+
|
|
2316
|
+
/**
|
|
2317
|
+
* Creates a VehicleDescriptor message from a plain object. Also converts values to their respective internal types.
|
|
2318
|
+
* @param object Plain object
|
|
2319
|
+
* @returns VehicleDescriptor
|
|
2320
|
+
*/
|
|
2321
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.VehicleDescriptor;
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* Creates a plain object from a VehicleDescriptor message. Also converts values to other types if specified.
|
|
2325
|
+
* @param message VehicleDescriptor
|
|
2326
|
+
* @param [options] Conversion options
|
|
2327
|
+
* @returns Plain object
|
|
2328
|
+
*/
|
|
2329
|
+
public static toObject(message: transit_realtime.VehicleDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2330
|
+
|
|
2331
|
+
/**
|
|
2332
|
+
* Converts this VehicleDescriptor to JSON.
|
|
2333
|
+
* @returns JSON object
|
|
2334
|
+
*/
|
|
2335
|
+
public toJSON(): { [k: string]: any };
|
|
2336
|
+
}
|
|
2337
|
+
|
|
2338
|
+
/** Properties of an EntitySelector. */
|
|
2339
|
+
interface IEntitySelector {
|
|
2340
|
+
|
|
2341
|
+
/** EntitySelector agencyId */
|
|
2342
|
+
agencyId?: (string|null);
|
|
2343
|
+
|
|
2344
|
+
/** EntitySelector routeId */
|
|
2345
|
+
routeId?: (string|null);
|
|
2346
|
+
|
|
2347
|
+
/** EntitySelector routeType */
|
|
2348
|
+
routeType?: (number|null);
|
|
2349
|
+
|
|
2350
|
+
/** EntitySelector trip */
|
|
2351
|
+
trip?: (transit_realtime.ITripDescriptor|null);
|
|
2352
|
+
|
|
2353
|
+
/** EntitySelector stopId */
|
|
2354
|
+
stopId?: (string|null);
|
|
2355
|
+
|
|
2356
|
+
/** EntitySelector directionId */
|
|
2357
|
+
directionId?: (number|null);
|
|
2358
|
+
}
|
|
2359
|
+
|
|
2360
|
+
/** Represents an EntitySelector. */
|
|
2361
|
+
class EntitySelector implements IEntitySelector {
|
|
2362
|
+
|
|
2363
|
+
/**
|
|
2364
|
+
* Constructs a new EntitySelector.
|
|
2365
|
+
* @param [properties] Properties to set
|
|
2366
|
+
*/
|
|
2367
|
+
constructor(properties?: transit_realtime.IEntitySelector);
|
|
2368
|
+
|
|
2369
|
+
/** EntitySelector agencyId. */
|
|
2370
|
+
public agencyId: string;
|
|
2371
|
+
|
|
2372
|
+
/** EntitySelector routeId. */
|
|
2373
|
+
public routeId: string;
|
|
2374
|
+
|
|
2375
|
+
/** EntitySelector routeType. */
|
|
2376
|
+
public routeType: number;
|
|
2377
|
+
|
|
2378
|
+
/** EntitySelector trip. */
|
|
2379
|
+
public trip?: (transit_realtime.ITripDescriptor|null);
|
|
2380
|
+
|
|
2381
|
+
/** EntitySelector stopId. */
|
|
2382
|
+
public stopId: string;
|
|
2383
|
+
|
|
2384
|
+
/** EntitySelector directionId. */
|
|
2385
|
+
public directionId: number;
|
|
2386
|
+
|
|
2387
|
+
/**
|
|
2388
|
+
* Creates a new EntitySelector instance using the specified properties.
|
|
2389
|
+
* @param [properties] Properties to set
|
|
2390
|
+
* @returns EntitySelector instance
|
|
2391
|
+
*/
|
|
2392
|
+
public static create(properties?: transit_realtime.IEntitySelector): transit_realtime.EntitySelector;
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* Encodes the specified EntitySelector message. Does not implicitly {@link transit_realtime.EntitySelector.verify|verify} messages.
|
|
2396
|
+
* @param message EntitySelector message or plain object to encode
|
|
2397
|
+
* @param [writer] Writer to encode to
|
|
2398
|
+
* @returns Writer
|
|
2399
|
+
*/
|
|
2400
|
+
public static encode(message: transit_realtime.IEntitySelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2401
|
+
|
|
2402
|
+
/**
|
|
2403
|
+
* Encodes the specified EntitySelector message, length delimited. Does not implicitly {@link transit_realtime.EntitySelector.verify|verify} messages.
|
|
2404
|
+
* @param message EntitySelector message or plain object to encode
|
|
2405
|
+
* @param [writer] Writer to encode to
|
|
2406
|
+
* @returns Writer
|
|
2407
|
+
*/
|
|
2408
|
+
public static encodeDelimited(message: transit_realtime.IEntitySelector, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2409
|
+
|
|
2410
|
+
/**
|
|
2411
|
+
* Decodes an EntitySelector message from the specified reader or buffer.
|
|
2412
|
+
* @param reader Reader or buffer to decode from
|
|
2413
|
+
* @param [length] Message length if known beforehand
|
|
2414
|
+
* @returns EntitySelector
|
|
2415
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2416
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2417
|
+
*/
|
|
2418
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.EntitySelector;
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
* Decodes an EntitySelector message from the specified reader or buffer, length delimited.
|
|
2422
|
+
* @param reader Reader or buffer to decode from
|
|
2423
|
+
* @returns EntitySelector
|
|
2424
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2425
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2426
|
+
*/
|
|
2427
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.EntitySelector;
|
|
2428
|
+
|
|
2429
|
+
/**
|
|
2430
|
+
* Verifies an EntitySelector message.
|
|
2431
|
+
* @param message Plain object to verify
|
|
2432
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2433
|
+
*/
|
|
2434
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2435
|
+
|
|
2436
|
+
/**
|
|
2437
|
+
* Creates an EntitySelector message from a plain object. Also converts values to their respective internal types.
|
|
2438
|
+
* @param object Plain object
|
|
2439
|
+
* @returns EntitySelector
|
|
2440
|
+
*/
|
|
2441
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.EntitySelector;
|
|
2442
|
+
|
|
2443
|
+
/**
|
|
2444
|
+
* Creates a plain object from an EntitySelector message. Also converts values to other types if specified.
|
|
2445
|
+
* @param message EntitySelector
|
|
2446
|
+
* @param [options] Conversion options
|
|
2447
|
+
* @returns Plain object
|
|
2448
|
+
*/
|
|
2449
|
+
public static toObject(message: transit_realtime.EntitySelector, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2450
|
+
|
|
2451
|
+
/**
|
|
2452
|
+
* Converts this EntitySelector to JSON.
|
|
2453
|
+
* @returns JSON object
|
|
2454
|
+
*/
|
|
2455
|
+
public toJSON(): { [k: string]: any };
|
|
2456
|
+
}
|
|
2457
|
+
|
|
2458
|
+
/** Properties of a TranslatedString. */
|
|
2459
|
+
interface ITranslatedString {
|
|
2460
|
+
|
|
2461
|
+
/** TranslatedString translation */
|
|
2462
|
+
translation?: (transit_realtime.TranslatedString.ITranslation[]|null);
|
|
2463
|
+
}
|
|
2464
|
+
|
|
2465
|
+
/** Represents a TranslatedString. */
|
|
2466
|
+
class TranslatedString implements ITranslatedString {
|
|
2467
|
+
|
|
2468
|
+
/**
|
|
2469
|
+
* Constructs a new TranslatedString.
|
|
2470
|
+
* @param [properties] Properties to set
|
|
2471
|
+
*/
|
|
2472
|
+
constructor(properties?: transit_realtime.ITranslatedString);
|
|
2473
|
+
|
|
2474
|
+
/** TranslatedString translation. */
|
|
2475
|
+
public translation: transit_realtime.TranslatedString.ITranslation[];
|
|
2476
|
+
|
|
2477
|
+
/**
|
|
2478
|
+
* Creates a new TranslatedString instance using the specified properties.
|
|
2479
|
+
* @param [properties] Properties to set
|
|
2480
|
+
* @returns TranslatedString instance
|
|
2481
|
+
*/
|
|
2482
|
+
public static create(properties?: transit_realtime.ITranslatedString): transit_realtime.TranslatedString;
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* Encodes the specified TranslatedString message. Does not implicitly {@link transit_realtime.TranslatedString.verify|verify} messages.
|
|
2486
|
+
* @param message TranslatedString message or plain object to encode
|
|
2487
|
+
* @param [writer] Writer to encode to
|
|
2488
|
+
* @returns Writer
|
|
2489
|
+
*/
|
|
2490
|
+
public static encode(message: transit_realtime.ITranslatedString, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2491
|
+
|
|
2492
|
+
/**
|
|
2493
|
+
* Encodes the specified TranslatedString message, length delimited. Does not implicitly {@link transit_realtime.TranslatedString.verify|verify} messages.
|
|
2494
|
+
* @param message TranslatedString message or plain object to encode
|
|
2495
|
+
* @param [writer] Writer to encode to
|
|
2496
|
+
* @returns Writer
|
|
2497
|
+
*/
|
|
2498
|
+
public static encodeDelimited(message: transit_realtime.ITranslatedString, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2499
|
+
|
|
2500
|
+
/**
|
|
2501
|
+
* Decodes a TranslatedString message from the specified reader or buffer.
|
|
2502
|
+
* @param reader Reader or buffer to decode from
|
|
2503
|
+
* @param [length] Message length if known beforehand
|
|
2504
|
+
* @returns TranslatedString
|
|
2505
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2506
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2507
|
+
*/
|
|
2508
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TranslatedString;
|
|
2509
|
+
|
|
2510
|
+
/**
|
|
2511
|
+
* Decodes a TranslatedString message from the specified reader or buffer, length delimited.
|
|
2512
|
+
* @param reader Reader or buffer to decode from
|
|
2513
|
+
* @returns TranslatedString
|
|
2514
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2515
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2516
|
+
*/
|
|
2517
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TranslatedString;
|
|
2518
|
+
|
|
2519
|
+
/**
|
|
2520
|
+
* Verifies a TranslatedString message.
|
|
2521
|
+
* @param message Plain object to verify
|
|
2522
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2523
|
+
*/
|
|
2524
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* Creates a TranslatedString message from a plain object. Also converts values to their respective internal types.
|
|
2528
|
+
* @param object Plain object
|
|
2529
|
+
* @returns TranslatedString
|
|
2530
|
+
*/
|
|
2531
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TranslatedString;
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* Creates a plain object from a TranslatedString message. Also converts values to other types if specified.
|
|
2535
|
+
* @param message TranslatedString
|
|
2536
|
+
* @param [options] Conversion options
|
|
2537
|
+
* @returns Plain object
|
|
2538
|
+
*/
|
|
2539
|
+
public static toObject(message: transit_realtime.TranslatedString, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2540
|
+
|
|
2541
|
+
/**
|
|
2542
|
+
* Converts this TranslatedString to JSON.
|
|
2543
|
+
* @returns JSON object
|
|
2544
|
+
*/
|
|
2545
|
+
public toJSON(): { [k: string]: any };
|
|
2546
|
+
}
|
|
2547
|
+
|
|
2548
|
+
namespace TranslatedString {
|
|
2549
|
+
|
|
2550
|
+
/** Properties of a Translation. */
|
|
2551
|
+
interface ITranslation {
|
|
2552
|
+
|
|
2553
|
+
/** Translation text */
|
|
2554
|
+
text: string;
|
|
2555
|
+
|
|
2556
|
+
/** Translation language */
|
|
2557
|
+
language?: (string|null);
|
|
2558
|
+
}
|
|
2559
|
+
|
|
2560
|
+
/** Represents a Translation. */
|
|
2561
|
+
class Translation implements ITranslation {
|
|
2562
|
+
|
|
2563
|
+
/**
|
|
2564
|
+
* Constructs a new Translation.
|
|
2565
|
+
* @param [properties] Properties to set
|
|
2566
|
+
*/
|
|
2567
|
+
constructor(properties?: transit_realtime.TranslatedString.ITranslation);
|
|
2568
|
+
|
|
2569
|
+
/** Translation text. */
|
|
2570
|
+
public text: string;
|
|
2571
|
+
|
|
2572
|
+
/** Translation language. */
|
|
2573
|
+
public language: string;
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* Creates a new Translation instance using the specified properties.
|
|
2577
|
+
* @param [properties] Properties to set
|
|
2578
|
+
* @returns Translation instance
|
|
2579
|
+
*/
|
|
2580
|
+
public static create(properties?: transit_realtime.TranslatedString.ITranslation): transit_realtime.TranslatedString.Translation;
|
|
2581
|
+
|
|
2582
|
+
/**
|
|
2583
|
+
* Encodes the specified Translation message. Does not implicitly {@link transit_realtime.TranslatedString.Translation.verify|verify} messages.
|
|
2584
|
+
* @param message Translation message or plain object to encode
|
|
2585
|
+
* @param [writer] Writer to encode to
|
|
2586
|
+
* @returns Writer
|
|
2587
|
+
*/
|
|
2588
|
+
public static encode(message: transit_realtime.TranslatedString.ITranslation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2589
|
+
|
|
2590
|
+
/**
|
|
2591
|
+
* Encodes the specified Translation message, length delimited. Does not implicitly {@link transit_realtime.TranslatedString.Translation.verify|verify} messages.
|
|
2592
|
+
* @param message Translation message or plain object to encode
|
|
2593
|
+
* @param [writer] Writer to encode to
|
|
2594
|
+
* @returns Writer
|
|
2595
|
+
*/
|
|
2596
|
+
public static encodeDelimited(message: transit_realtime.TranslatedString.ITranslation, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2597
|
+
|
|
2598
|
+
/**
|
|
2599
|
+
* Decodes a Translation message from the specified reader or buffer.
|
|
2600
|
+
* @param reader Reader or buffer to decode from
|
|
2601
|
+
* @param [length] Message length if known beforehand
|
|
2602
|
+
* @returns Translation
|
|
2603
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2604
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2605
|
+
*/
|
|
2606
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TranslatedString.Translation;
|
|
2607
|
+
|
|
2608
|
+
/**
|
|
2609
|
+
* Decodes a Translation message from the specified reader or buffer, length delimited.
|
|
2610
|
+
* @param reader Reader or buffer to decode from
|
|
2611
|
+
* @returns Translation
|
|
2612
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2613
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2614
|
+
*/
|
|
2615
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TranslatedString.Translation;
|
|
2616
|
+
|
|
2617
|
+
/**
|
|
2618
|
+
* Verifies a Translation message.
|
|
2619
|
+
* @param message Plain object to verify
|
|
2620
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2621
|
+
*/
|
|
2622
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2623
|
+
|
|
2624
|
+
/**
|
|
2625
|
+
* Creates a Translation message from a plain object. Also converts values to their respective internal types.
|
|
2626
|
+
* @param object Plain object
|
|
2627
|
+
* @returns Translation
|
|
2628
|
+
*/
|
|
2629
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TranslatedString.Translation;
|
|
2630
|
+
|
|
2631
|
+
/**
|
|
2632
|
+
* Creates a plain object from a Translation message. Also converts values to other types if specified.
|
|
2633
|
+
* @param message Translation
|
|
2634
|
+
* @param [options] Conversion options
|
|
2635
|
+
* @returns Plain object
|
|
2636
|
+
*/
|
|
2637
|
+
public static toObject(message: transit_realtime.TranslatedString.Translation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2638
|
+
|
|
2639
|
+
/**
|
|
2640
|
+
* Converts this Translation to JSON.
|
|
2641
|
+
* @returns JSON object
|
|
2642
|
+
*/
|
|
2643
|
+
public toJSON(): { [k: string]: any };
|
|
2644
|
+
}
|
|
2645
|
+
}
|
|
2646
|
+
|
|
2647
|
+
/** Properties of a TranslatedImage. */
|
|
2648
|
+
interface ITranslatedImage {
|
|
2649
|
+
|
|
2650
|
+
/** TranslatedImage localizedImage */
|
|
2651
|
+
localizedImage?: (transit_realtime.TranslatedImage.ILocalizedImage[]|null);
|
|
2652
|
+
}
|
|
2653
|
+
|
|
2654
|
+
/** Represents a TranslatedImage. */
|
|
2655
|
+
class TranslatedImage implements ITranslatedImage {
|
|
2656
|
+
|
|
2657
|
+
/**
|
|
2658
|
+
* Constructs a new TranslatedImage.
|
|
2659
|
+
* @param [properties] Properties to set
|
|
2660
|
+
*/
|
|
2661
|
+
constructor(properties?: transit_realtime.ITranslatedImage);
|
|
2662
|
+
|
|
2663
|
+
/** TranslatedImage localizedImage. */
|
|
2664
|
+
public localizedImage: transit_realtime.TranslatedImage.ILocalizedImage[];
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* Creates a new TranslatedImage instance using the specified properties.
|
|
2668
|
+
* @param [properties] Properties to set
|
|
2669
|
+
* @returns TranslatedImage instance
|
|
2670
|
+
*/
|
|
2671
|
+
public static create(properties?: transit_realtime.ITranslatedImage): transit_realtime.TranslatedImage;
|
|
2672
|
+
|
|
2673
|
+
/**
|
|
2674
|
+
* Encodes the specified TranslatedImage message. Does not implicitly {@link transit_realtime.TranslatedImage.verify|verify} messages.
|
|
2675
|
+
* @param message TranslatedImage message or plain object to encode
|
|
2676
|
+
* @param [writer] Writer to encode to
|
|
2677
|
+
* @returns Writer
|
|
2678
|
+
*/
|
|
2679
|
+
public static encode(message: transit_realtime.ITranslatedImage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2680
|
+
|
|
2681
|
+
/**
|
|
2682
|
+
* Encodes the specified TranslatedImage message, length delimited. Does not implicitly {@link transit_realtime.TranslatedImage.verify|verify} messages.
|
|
2683
|
+
* @param message TranslatedImage message or plain object to encode
|
|
2684
|
+
* @param [writer] Writer to encode to
|
|
2685
|
+
* @returns Writer
|
|
2686
|
+
*/
|
|
2687
|
+
public static encodeDelimited(message: transit_realtime.ITranslatedImage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2688
|
+
|
|
2689
|
+
/**
|
|
2690
|
+
* Decodes a TranslatedImage message from the specified reader or buffer.
|
|
2691
|
+
* @param reader Reader or buffer to decode from
|
|
2692
|
+
* @param [length] Message length if known beforehand
|
|
2693
|
+
* @returns TranslatedImage
|
|
2694
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2695
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2696
|
+
*/
|
|
2697
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TranslatedImage;
|
|
2698
|
+
|
|
2699
|
+
/**
|
|
2700
|
+
* Decodes a TranslatedImage message from the specified reader or buffer, length delimited.
|
|
2701
|
+
* @param reader Reader or buffer to decode from
|
|
2702
|
+
* @returns TranslatedImage
|
|
2703
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2704
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2705
|
+
*/
|
|
2706
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TranslatedImage;
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* Verifies a TranslatedImage message.
|
|
2710
|
+
* @param message Plain object to verify
|
|
2711
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2712
|
+
*/
|
|
2713
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2714
|
+
|
|
2715
|
+
/**
|
|
2716
|
+
* Creates a TranslatedImage message from a plain object. Also converts values to their respective internal types.
|
|
2717
|
+
* @param object Plain object
|
|
2718
|
+
* @returns TranslatedImage
|
|
2719
|
+
*/
|
|
2720
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TranslatedImage;
|
|
2721
|
+
|
|
2722
|
+
/**
|
|
2723
|
+
* Creates a plain object from a TranslatedImage message. Also converts values to other types if specified.
|
|
2724
|
+
* @param message TranslatedImage
|
|
2725
|
+
* @param [options] Conversion options
|
|
2726
|
+
* @returns Plain object
|
|
2727
|
+
*/
|
|
2728
|
+
public static toObject(message: transit_realtime.TranslatedImage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2729
|
+
|
|
2730
|
+
/**
|
|
2731
|
+
* Converts this TranslatedImage to JSON.
|
|
2732
|
+
* @returns JSON object
|
|
2733
|
+
*/
|
|
2734
|
+
public toJSON(): { [k: string]: any };
|
|
2735
|
+
}
|
|
2736
|
+
|
|
2737
|
+
namespace TranslatedImage {
|
|
2738
|
+
|
|
2739
|
+
/** Properties of a LocalizedImage. */
|
|
2740
|
+
interface ILocalizedImage {
|
|
2741
|
+
|
|
2742
|
+
/** LocalizedImage url */
|
|
2743
|
+
url: string;
|
|
2744
|
+
|
|
2745
|
+
/** LocalizedImage mediaType */
|
|
2746
|
+
mediaType: string;
|
|
2747
|
+
|
|
2748
|
+
/** LocalizedImage language */
|
|
2749
|
+
language?: (string|null);
|
|
2750
|
+
}
|
|
2751
|
+
|
|
2752
|
+
/** Represents a LocalizedImage. */
|
|
2753
|
+
class LocalizedImage implements ILocalizedImage {
|
|
2754
|
+
|
|
2755
|
+
/**
|
|
2756
|
+
* Constructs a new LocalizedImage.
|
|
2757
|
+
* @param [properties] Properties to set
|
|
2758
|
+
*/
|
|
2759
|
+
constructor(properties?: transit_realtime.TranslatedImage.ILocalizedImage);
|
|
2760
|
+
|
|
2761
|
+
/** LocalizedImage url. */
|
|
2762
|
+
public url: string;
|
|
2763
|
+
|
|
2764
|
+
/** LocalizedImage mediaType. */
|
|
2765
|
+
public mediaType: string;
|
|
2766
|
+
|
|
2767
|
+
/** LocalizedImage language. */
|
|
2768
|
+
public language: string;
|
|
2769
|
+
|
|
2770
|
+
/**
|
|
2771
|
+
* Creates a new LocalizedImage instance using the specified properties.
|
|
2772
|
+
* @param [properties] Properties to set
|
|
2773
|
+
* @returns LocalizedImage instance
|
|
2774
|
+
*/
|
|
2775
|
+
public static create(properties?: transit_realtime.TranslatedImage.ILocalizedImage): transit_realtime.TranslatedImage.LocalizedImage;
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
* Encodes the specified LocalizedImage message. Does not implicitly {@link transit_realtime.TranslatedImage.LocalizedImage.verify|verify} messages.
|
|
2779
|
+
* @param message LocalizedImage message or plain object to encode
|
|
2780
|
+
* @param [writer] Writer to encode to
|
|
2781
|
+
* @returns Writer
|
|
2782
|
+
*/
|
|
2783
|
+
public static encode(message: transit_realtime.TranslatedImage.ILocalizedImage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2784
|
+
|
|
2785
|
+
/**
|
|
2786
|
+
* Encodes the specified LocalizedImage message, length delimited. Does not implicitly {@link transit_realtime.TranslatedImage.LocalizedImage.verify|verify} messages.
|
|
2787
|
+
* @param message LocalizedImage message or plain object to encode
|
|
2788
|
+
* @param [writer] Writer to encode to
|
|
2789
|
+
* @returns Writer
|
|
2790
|
+
*/
|
|
2791
|
+
public static encodeDelimited(message: transit_realtime.TranslatedImage.ILocalizedImage, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* Decodes a LocalizedImage message from the specified reader or buffer.
|
|
2795
|
+
* @param reader Reader or buffer to decode from
|
|
2796
|
+
* @param [length] Message length if known beforehand
|
|
2797
|
+
* @returns LocalizedImage
|
|
2798
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2799
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2800
|
+
*/
|
|
2801
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.TranslatedImage.LocalizedImage;
|
|
2802
|
+
|
|
2803
|
+
/**
|
|
2804
|
+
* Decodes a LocalizedImage message from the specified reader or buffer, length delimited.
|
|
2805
|
+
* @param reader Reader or buffer to decode from
|
|
2806
|
+
* @returns LocalizedImage
|
|
2807
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2808
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2809
|
+
*/
|
|
2810
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.TranslatedImage.LocalizedImage;
|
|
2811
|
+
|
|
2812
|
+
/**
|
|
2813
|
+
* Verifies a LocalizedImage message.
|
|
2814
|
+
* @param message Plain object to verify
|
|
2815
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2816
|
+
*/
|
|
2817
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2818
|
+
|
|
2819
|
+
/**
|
|
2820
|
+
* Creates a LocalizedImage message from a plain object. Also converts values to their respective internal types.
|
|
2821
|
+
* @param object Plain object
|
|
2822
|
+
* @returns LocalizedImage
|
|
2823
|
+
*/
|
|
2824
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.TranslatedImage.LocalizedImage;
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* Creates a plain object from a LocalizedImage message. Also converts values to other types if specified.
|
|
2828
|
+
* @param message LocalizedImage
|
|
2829
|
+
* @param [options] Conversion options
|
|
2830
|
+
* @returns Plain object
|
|
2831
|
+
*/
|
|
2832
|
+
public static toObject(message: transit_realtime.TranslatedImage.LocalizedImage, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2833
|
+
|
|
2834
|
+
/**
|
|
2835
|
+
* Converts this LocalizedImage to JSON.
|
|
2836
|
+
* @returns JSON object
|
|
2837
|
+
*/
|
|
2838
|
+
public toJSON(): { [k: string]: any };
|
|
2839
|
+
}
|
|
2840
|
+
}
|
|
2841
|
+
|
|
2842
|
+
/** Properties of a Shape. */
|
|
2843
|
+
interface IShape {
|
|
2844
|
+
|
|
2845
|
+
/** Shape shapeId */
|
|
2846
|
+
shapeId?: (string|null);
|
|
2847
|
+
|
|
2848
|
+
/** Shape encodedPolyline */
|
|
2849
|
+
encodedPolyline?: (string|null);
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
/** Represents a Shape. */
|
|
2853
|
+
class Shape implements IShape {
|
|
2854
|
+
|
|
2855
|
+
/**
|
|
2856
|
+
* Constructs a new Shape.
|
|
2857
|
+
* @param [properties] Properties to set
|
|
2858
|
+
*/
|
|
2859
|
+
constructor(properties?: transit_realtime.IShape);
|
|
2860
|
+
|
|
2861
|
+
/** Shape shapeId. */
|
|
2862
|
+
public shapeId: string;
|
|
2863
|
+
|
|
2864
|
+
/** Shape encodedPolyline. */
|
|
2865
|
+
public encodedPolyline: string;
|
|
2866
|
+
|
|
2867
|
+
/**
|
|
2868
|
+
* Creates a new Shape instance using the specified properties.
|
|
2869
|
+
* @param [properties] Properties to set
|
|
2870
|
+
* @returns Shape instance
|
|
2871
|
+
*/
|
|
2872
|
+
public static create(properties?: transit_realtime.IShape): transit_realtime.Shape;
|
|
2873
|
+
|
|
2874
|
+
/**
|
|
2875
|
+
* Encodes the specified Shape message. Does not implicitly {@link transit_realtime.Shape.verify|verify} messages.
|
|
2876
|
+
* @param message Shape message or plain object to encode
|
|
2877
|
+
* @param [writer] Writer to encode to
|
|
2878
|
+
* @returns Writer
|
|
2879
|
+
*/
|
|
2880
|
+
public static encode(message: transit_realtime.IShape, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2881
|
+
|
|
2882
|
+
/**
|
|
2883
|
+
* Encodes the specified Shape message, length delimited. Does not implicitly {@link transit_realtime.Shape.verify|verify} messages.
|
|
2884
|
+
* @param message Shape message or plain object to encode
|
|
2885
|
+
* @param [writer] Writer to encode to
|
|
2886
|
+
* @returns Writer
|
|
2887
|
+
*/
|
|
2888
|
+
public static encodeDelimited(message: transit_realtime.IShape, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* Decodes a Shape message from the specified reader or buffer.
|
|
2892
|
+
* @param reader Reader or buffer to decode from
|
|
2893
|
+
* @param [length] Message length if known beforehand
|
|
2894
|
+
* @returns Shape
|
|
2895
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2896
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2897
|
+
*/
|
|
2898
|
+
public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): transit_realtime.Shape;
|
|
2899
|
+
|
|
2900
|
+
/**
|
|
2901
|
+
* Decodes a Shape message from the specified reader or buffer, length delimited.
|
|
2902
|
+
* @param reader Reader or buffer to decode from
|
|
2903
|
+
* @returns Shape
|
|
2904
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
2905
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
2906
|
+
*/
|
|
2907
|
+
public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): transit_realtime.Shape;
|
|
2908
|
+
|
|
2909
|
+
/**
|
|
2910
|
+
* Verifies a Shape message.
|
|
2911
|
+
* @param message Plain object to verify
|
|
2912
|
+
* @returns `null` if valid, otherwise the reason why it is not
|
|
2913
|
+
*/
|
|
2914
|
+
public static verify(message: { [k: string]: any }): (string|null);
|
|
2915
|
+
|
|
2916
|
+
/**
|
|
2917
|
+
* Creates a Shape message from a plain object. Also converts values to their respective internal types.
|
|
2918
|
+
* @param object Plain object
|
|
2919
|
+
* @returns Shape
|
|
2920
|
+
*/
|
|
2921
|
+
public static fromObject(object: { [k: string]: any }): transit_realtime.Shape;
|
|
2922
|
+
|
|
2923
|
+
/**
|
|
2924
|
+
* Creates a plain object from a Shape message. Also converts values to other types if specified.
|
|
2925
|
+
* @param message Shape
|
|
2926
|
+
* @param [options] Conversion options
|
|
2927
|
+
* @returns Plain object
|
|
2928
|
+
*/
|
|
2929
|
+
public static toObject(message: transit_realtime.Shape, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* Converts this Shape to JSON.
|
|
2933
|
+
* @returns JSON object
|
|
2934
|
+
*/
|
|
2935
|
+
public toJSON(): { [k: string]: any };
|
|
2936
|
+
}
|
|
2937
|
+
}
|