@temporalio/testing 0.20.0 → 0.21.0

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.
@@ -0,0 +1,3954 @@
1
+ import Long from "long";
2
+ import * as $protobuf from "protobufjs";
3
+ /** Namespace temporal. */
4
+ export namespace temporal {
5
+
6
+ /** Namespace api. */
7
+ namespace api {
8
+
9
+ /** Namespace testservice. */
10
+ namespace testservice {
11
+
12
+ /** Namespace v1. */
13
+ namespace v1 {
14
+
15
+ /** Represents a TestService */
16
+ class TestService extends $protobuf.rpc.Service {
17
+
18
+ /**
19
+ * Constructs a new TestService service.
20
+ * @param rpcImpl RPC implementation
21
+ * @param [requestDelimited=false] Whether requests are length-delimited
22
+ * @param [responseDelimited=false] Whether responses are length-delimited
23
+ */
24
+ constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
25
+
26
+ /**
27
+ * Creates new TestService service using the specified rpc implementation.
28
+ * @param rpcImpl RPC implementation
29
+ * @param [requestDelimited=false] Whether requests are length-delimited
30
+ * @param [responseDelimited=false] Whether responses are length-delimited
31
+ * @returns RPC service. Useful where requests and/or responses are streamed.
32
+ */
33
+ public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): TestService;
34
+
35
+ /**
36
+ * Calls LockTimeSkipping.
37
+ * @param request LockTimeSkippingRequest message or plain object
38
+ * @param callback Node-style callback called with the error, if any, and LockTimeSkippingResponse
39
+ */
40
+ public lockTimeSkipping(request: temporal.api.testservice.v1.ILockTimeSkippingRequest, callback: temporal.api.testservice.v1.TestService.LockTimeSkippingCallback): void;
41
+
42
+ /**
43
+ * Calls LockTimeSkipping.
44
+ * @param request LockTimeSkippingRequest message or plain object
45
+ * @returns Promise
46
+ */
47
+ public lockTimeSkipping(request: temporal.api.testservice.v1.ILockTimeSkippingRequest): Promise<temporal.api.testservice.v1.LockTimeSkippingResponse>;
48
+
49
+ /**
50
+ * Calls UnlockTimeSkipping.
51
+ * @param request UnlockTimeSkippingRequest message or plain object
52
+ * @param callback Node-style callback called with the error, if any, and UnlockTimeSkippingResponse
53
+ */
54
+ public unlockTimeSkipping(request: temporal.api.testservice.v1.IUnlockTimeSkippingRequest, callback: temporal.api.testservice.v1.TestService.UnlockTimeSkippingCallback): void;
55
+
56
+ /**
57
+ * Calls UnlockTimeSkipping.
58
+ * @param request UnlockTimeSkippingRequest message or plain object
59
+ * @returns Promise
60
+ */
61
+ public unlockTimeSkipping(request: temporal.api.testservice.v1.IUnlockTimeSkippingRequest): Promise<temporal.api.testservice.v1.UnlockTimeSkippingResponse>;
62
+
63
+ /**
64
+ * Calls Sleep.
65
+ * @param request SleepRequest message or plain object
66
+ * @param callback Node-style callback called with the error, if any, and SleepResponse
67
+ */
68
+ public sleep(request: temporal.api.testservice.v1.ISleepRequest, callback: temporal.api.testservice.v1.TestService.SleepCallback): void;
69
+
70
+ /**
71
+ * Calls Sleep.
72
+ * @param request SleepRequest message or plain object
73
+ * @returns Promise
74
+ */
75
+ public sleep(request: temporal.api.testservice.v1.ISleepRequest): Promise<temporal.api.testservice.v1.SleepResponse>;
76
+
77
+ /**
78
+ * Calls SleepUntil.
79
+ * @param request SleepUntilRequest message or plain object
80
+ * @param callback Node-style callback called with the error, if any, and SleepResponse
81
+ */
82
+ public sleepUntil(request: temporal.api.testservice.v1.ISleepUntilRequest, callback: temporal.api.testservice.v1.TestService.SleepUntilCallback): void;
83
+
84
+ /**
85
+ * Calls SleepUntil.
86
+ * @param request SleepUntilRequest message or plain object
87
+ * @returns Promise
88
+ */
89
+ public sleepUntil(request: temporal.api.testservice.v1.ISleepUntilRequest): Promise<temporal.api.testservice.v1.SleepResponse>;
90
+
91
+ /**
92
+ * Calls UnlockTimeSkippingWithSleep.
93
+ * @param request SleepRequest message or plain object
94
+ * @param callback Node-style callback called with the error, if any, and SleepResponse
95
+ */
96
+ public unlockTimeSkippingWithSleep(request: temporal.api.testservice.v1.ISleepRequest, callback: temporal.api.testservice.v1.TestService.UnlockTimeSkippingWithSleepCallback): void;
97
+
98
+ /**
99
+ * Calls UnlockTimeSkippingWithSleep.
100
+ * @param request SleepRequest message or plain object
101
+ * @returns Promise
102
+ */
103
+ public unlockTimeSkippingWithSleep(request: temporal.api.testservice.v1.ISleepRequest): Promise<temporal.api.testservice.v1.SleepResponse>;
104
+
105
+ /**
106
+ * Calls GetCurrentTime.
107
+ * @param request Empty message or plain object
108
+ * @param callback Node-style callback called with the error, if any, and GetCurrentTimeResponse
109
+ */
110
+ public getCurrentTime(request: google.protobuf.IEmpty, callback: temporal.api.testservice.v1.TestService.GetCurrentTimeCallback): void;
111
+
112
+ /**
113
+ * Calls GetCurrentTime.
114
+ * @param request Empty message or plain object
115
+ * @returns Promise
116
+ */
117
+ public getCurrentTime(request: google.protobuf.IEmpty): Promise<temporal.api.testservice.v1.GetCurrentTimeResponse>;
118
+ }
119
+
120
+ namespace TestService {
121
+
122
+ /**
123
+ * Callback as used by {@link temporal.api.testservice.v1.TestService#lockTimeSkipping}.
124
+ * @param error Error, if any
125
+ * @param [response] LockTimeSkippingResponse
126
+ */
127
+ type LockTimeSkippingCallback = (error: (Error|null), response?: temporal.api.testservice.v1.LockTimeSkippingResponse) => void;
128
+
129
+ /**
130
+ * Callback as used by {@link temporal.api.testservice.v1.TestService#unlockTimeSkipping}.
131
+ * @param error Error, if any
132
+ * @param [response] UnlockTimeSkippingResponse
133
+ */
134
+ type UnlockTimeSkippingCallback = (error: (Error|null), response?: temporal.api.testservice.v1.UnlockTimeSkippingResponse) => void;
135
+
136
+ /**
137
+ * Callback as used by {@link temporal.api.testservice.v1.TestService#sleep}.
138
+ * @param error Error, if any
139
+ * @param [response] SleepResponse
140
+ */
141
+ type SleepCallback = (error: (Error|null), response?: temporal.api.testservice.v1.SleepResponse) => void;
142
+
143
+ /**
144
+ * Callback as used by {@link temporal.api.testservice.v1.TestService#sleepUntil}.
145
+ * @param error Error, if any
146
+ * @param [response] SleepResponse
147
+ */
148
+ type SleepUntilCallback = (error: (Error|null), response?: temporal.api.testservice.v1.SleepResponse) => void;
149
+
150
+ /**
151
+ * Callback as used by {@link temporal.api.testservice.v1.TestService#unlockTimeSkippingWithSleep}.
152
+ * @param error Error, if any
153
+ * @param [response] SleepResponse
154
+ */
155
+ type UnlockTimeSkippingWithSleepCallback = (error: (Error|null), response?: temporal.api.testservice.v1.SleepResponse) => void;
156
+
157
+ /**
158
+ * Callback as used by {@link temporal.api.testservice.v1.TestService#getCurrentTime}.
159
+ * @param error Error, if any
160
+ * @param [response] GetCurrentTimeResponse
161
+ */
162
+ type GetCurrentTimeCallback = (error: (Error|null), response?: temporal.api.testservice.v1.GetCurrentTimeResponse) => void;
163
+ }
164
+
165
+ /** Properties of a LockTimeSkippingRequest. */
166
+ interface ILockTimeSkippingRequest {
167
+ }
168
+
169
+ /** Represents a LockTimeSkippingRequest. */
170
+ class LockTimeSkippingRequest implements ILockTimeSkippingRequest {
171
+
172
+ /**
173
+ * Constructs a new LockTimeSkippingRequest.
174
+ * @param [properties] Properties to set
175
+ */
176
+ constructor(properties?: temporal.api.testservice.v1.ILockTimeSkippingRequest);
177
+
178
+ /**
179
+ * Creates a new LockTimeSkippingRequest instance using the specified properties.
180
+ * @param [properties] Properties to set
181
+ * @returns LockTimeSkippingRequest instance
182
+ */
183
+ public static create(properties?: temporal.api.testservice.v1.ILockTimeSkippingRequest): temporal.api.testservice.v1.LockTimeSkippingRequest;
184
+
185
+ /**
186
+ * Encodes the specified LockTimeSkippingRequest message. Does not implicitly {@link temporal.api.testservice.v1.LockTimeSkippingRequest.verify|verify} messages.
187
+ * @param message LockTimeSkippingRequest message or plain object to encode
188
+ * @param [writer] Writer to encode to
189
+ * @returns Writer
190
+ */
191
+ public static encode(message: temporal.api.testservice.v1.ILockTimeSkippingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
192
+
193
+ /**
194
+ * Encodes the specified LockTimeSkippingRequest message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.LockTimeSkippingRequest.verify|verify} messages.
195
+ * @param message LockTimeSkippingRequest message or plain object to encode
196
+ * @param [writer] Writer to encode to
197
+ * @returns Writer
198
+ */
199
+ public static encodeDelimited(message: temporal.api.testservice.v1.ILockTimeSkippingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
200
+
201
+ /**
202
+ * Decodes a LockTimeSkippingRequest message from the specified reader or buffer.
203
+ * @param reader Reader or buffer to decode from
204
+ * @param [length] Message length if known beforehand
205
+ * @returns LockTimeSkippingRequest
206
+ * @throws {Error} If the payload is not a reader or valid buffer
207
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
208
+ */
209
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.LockTimeSkippingRequest;
210
+
211
+ /**
212
+ * Decodes a LockTimeSkippingRequest message from the specified reader or buffer, length delimited.
213
+ * @param reader Reader or buffer to decode from
214
+ * @returns LockTimeSkippingRequest
215
+ * @throws {Error} If the payload is not a reader or valid buffer
216
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
217
+ */
218
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.LockTimeSkippingRequest;
219
+
220
+ /**
221
+ * Creates a LockTimeSkippingRequest message from a plain object. Also converts values to their respective internal types.
222
+ * @param object Plain object
223
+ * @returns LockTimeSkippingRequest
224
+ */
225
+ public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.LockTimeSkippingRequest;
226
+
227
+ /**
228
+ * Creates a plain object from a LockTimeSkippingRequest message. Also converts values to other types if specified.
229
+ * @param message LockTimeSkippingRequest
230
+ * @param [options] Conversion options
231
+ * @returns Plain object
232
+ */
233
+ public static toObject(message: temporal.api.testservice.v1.LockTimeSkippingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
234
+
235
+ /**
236
+ * Converts this LockTimeSkippingRequest to JSON.
237
+ * @returns JSON object
238
+ */
239
+ public toJSON(): { [k: string]: any };
240
+ }
241
+
242
+ /** Properties of a LockTimeSkippingResponse. */
243
+ interface ILockTimeSkippingResponse {
244
+ }
245
+
246
+ /** Represents a LockTimeSkippingResponse. */
247
+ class LockTimeSkippingResponse implements ILockTimeSkippingResponse {
248
+
249
+ /**
250
+ * Constructs a new LockTimeSkippingResponse.
251
+ * @param [properties] Properties to set
252
+ */
253
+ constructor(properties?: temporal.api.testservice.v1.ILockTimeSkippingResponse);
254
+
255
+ /**
256
+ * Creates a new LockTimeSkippingResponse instance using the specified properties.
257
+ * @param [properties] Properties to set
258
+ * @returns LockTimeSkippingResponse instance
259
+ */
260
+ public static create(properties?: temporal.api.testservice.v1.ILockTimeSkippingResponse): temporal.api.testservice.v1.LockTimeSkippingResponse;
261
+
262
+ /**
263
+ * Encodes the specified LockTimeSkippingResponse message. Does not implicitly {@link temporal.api.testservice.v1.LockTimeSkippingResponse.verify|verify} messages.
264
+ * @param message LockTimeSkippingResponse message or plain object to encode
265
+ * @param [writer] Writer to encode to
266
+ * @returns Writer
267
+ */
268
+ public static encode(message: temporal.api.testservice.v1.ILockTimeSkippingResponse, writer?: $protobuf.Writer): $protobuf.Writer;
269
+
270
+ /**
271
+ * Encodes the specified LockTimeSkippingResponse message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.LockTimeSkippingResponse.verify|verify} messages.
272
+ * @param message LockTimeSkippingResponse message or plain object to encode
273
+ * @param [writer] Writer to encode to
274
+ * @returns Writer
275
+ */
276
+ public static encodeDelimited(message: temporal.api.testservice.v1.ILockTimeSkippingResponse, writer?: $protobuf.Writer): $protobuf.Writer;
277
+
278
+ /**
279
+ * Decodes a LockTimeSkippingResponse message from the specified reader or buffer.
280
+ * @param reader Reader or buffer to decode from
281
+ * @param [length] Message length if known beforehand
282
+ * @returns LockTimeSkippingResponse
283
+ * @throws {Error} If the payload is not a reader or valid buffer
284
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
285
+ */
286
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.LockTimeSkippingResponse;
287
+
288
+ /**
289
+ * Decodes a LockTimeSkippingResponse message from the specified reader or buffer, length delimited.
290
+ * @param reader Reader or buffer to decode from
291
+ * @returns LockTimeSkippingResponse
292
+ * @throws {Error} If the payload is not a reader or valid buffer
293
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
294
+ */
295
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.LockTimeSkippingResponse;
296
+
297
+ /**
298
+ * Creates a LockTimeSkippingResponse message from a plain object. Also converts values to their respective internal types.
299
+ * @param object Plain object
300
+ * @returns LockTimeSkippingResponse
301
+ */
302
+ public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.LockTimeSkippingResponse;
303
+
304
+ /**
305
+ * Creates a plain object from a LockTimeSkippingResponse message. Also converts values to other types if specified.
306
+ * @param message LockTimeSkippingResponse
307
+ * @param [options] Conversion options
308
+ * @returns Plain object
309
+ */
310
+ public static toObject(message: temporal.api.testservice.v1.LockTimeSkippingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
311
+
312
+ /**
313
+ * Converts this LockTimeSkippingResponse to JSON.
314
+ * @returns JSON object
315
+ */
316
+ public toJSON(): { [k: string]: any };
317
+ }
318
+
319
+ /** Properties of an UnlockTimeSkippingRequest. */
320
+ interface IUnlockTimeSkippingRequest {
321
+ }
322
+
323
+ /** Represents an UnlockTimeSkippingRequest. */
324
+ class UnlockTimeSkippingRequest implements IUnlockTimeSkippingRequest {
325
+
326
+ /**
327
+ * Constructs a new UnlockTimeSkippingRequest.
328
+ * @param [properties] Properties to set
329
+ */
330
+ constructor(properties?: temporal.api.testservice.v1.IUnlockTimeSkippingRequest);
331
+
332
+ /**
333
+ * Creates a new UnlockTimeSkippingRequest instance using the specified properties.
334
+ * @param [properties] Properties to set
335
+ * @returns UnlockTimeSkippingRequest instance
336
+ */
337
+ public static create(properties?: temporal.api.testservice.v1.IUnlockTimeSkippingRequest): temporal.api.testservice.v1.UnlockTimeSkippingRequest;
338
+
339
+ /**
340
+ * Encodes the specified UnlockTimeSkippingRequest message. Does not implicitly {@link temporal.api.testservice.v1.UnlockTimeSkippingRequest.verify|verify} messages.
341
+ * @param message UnlockTimeSkippingRequest message or plain object to encode
342
+ * @param [writer] Writer to encode to
343
+ * @returns Writer
344
+ */
345
+ public static encode(message: temporal.api.testservice.v1.IUnlockTimeSkippingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
346
+
347
+ /**
348
+ * Encodes the specified UnlockTimeSkippingRequest message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.UnlockTimeSkippingRequest.verify|verify} messages.
349
+ * @param message UnlockTimeSkippingRequest message or plain object to encode
350
+ * @param [writer] Writer to encode to
351
+ * @returns Writer
352
+ */
353
+ public static encodeDelimited(message: temporal.api.testservice.v1.IUnlockTimeSkippingRequest, writer?: $protobuf.Writer): $protobuf.Writer;
354
+
355
+ /**
356
+ * Decodes an UnlockTimeSkippingRequest message from the specified reader or buffer.
357
+ * @param reader Reader or buffer to decode from
358
+ * @param [length] Message length if known beforehand
359
+ * @returns UnlockTimeSkippingRequest
360
+ * @throws {Error} If the payload is not a reader or valid buffer
361
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
362
+ */
363
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.UnlockTimeSkippingRequest;
364
+
365
+ /**
366
+ * Decodes an UnlockTimeSkippingRequest message from the specified reader or buffer, length delimited.
367
+ * @param reader Reader or buffer to decode from
368
+ * @returns UnlockTimeSkippingRequest
369
+ * @throws {Error} If the payload is not a reader or valid buffer
370
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
371
+ */
372
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.UnlockTimeSkippingRequest;
373
+
374
+ /**
375
+ * Creates an UnlockTimeSkippingRequest message from a plain object. Also converts values to their respective internal types.
376
+ * @param object Plain object
377
+ * @returns UnlockTimeSkippingRequest
378
+ */
379
+ public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.UnlockTimeSkippingRequest;
380
+
381
+ /**
382
+ * Creates a plain object from an UnlockTimeSkippingRequest message. Also converts values to other types if specified.
383
+ * @param message UnlockTimeSkippingRequest
384
+ * @param [options] Conversion options
385
+ * @returns Plain object
386
+ */
387
+ public static toObject(message: temporal.api.testservice.v1.UnlockTimeSkippingRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
388
+
389
+ /**
390
+ * Converts this UnlockTimeSkippingRequest to JSON.
391
+ * @returns JSON object
392
+ */
393
+ public toJSON(): { [k: string]: any };
394
+ }
395
+
396
+ /** Properties of an UnlockTimeSkippingResponse. */
397
+ interface IUnlockTimeSkippingResponse {
398
+ }
399
+
400
+ /** Represents an UnlockTimeSkippingResponse. */
401
+ class UnlockTimeSkippingResponse implements IUnlockTimeSkippingResponse {
402
+
403
+ /**
404
+ * Constructs a new UnlockTimeSkippingResponse.
405
+ * @param [properties] Properties to set
406
+ */
407
+ constructor(properties?: temporal.api.testservice.v1.IUnlockTimeSkippingResponse);
408
+
409
+ /**
410
+ * Creates a new UnlockTimeSkippingResponse instance using the specified properties.
411
+ * @param [properties] Properties to set
412
+ * @returns UnlockTimeSkippingResponse instance
413
+ */
414
+ public static create(properties?: temporal.api.testservice.v1.IUnlockTimeSkippingResponse): temporal.api.testservice.v1.UnlockTimeSkippingResponse;
415
+
416
+ /**
417
+ * Encodes the specified UnlockTimeSkippingResponse message. Does not implicitly {@link temporal.api.testservice.v1.UnlockTimeSkippingResponse.verify|verify} messages.
418
+ * @param message UnlockTimeSkippingResponse message or plain object to encode
419
+ * @param [writer] Writer to encode to
420
+ * @returns Writer
421
+ */
422
+ public static encode(message: temporal.api.testservice.v1.IUnlockTimeSkippingResponse, writer?: $protobuf.Writer): $protobuf.Writer;
423
+
424
+ /**
425
+ * Encodes the specified UnlockTimeSkippingResponse message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.UnlockTimeSkippingResponse.verify|verify} messages.
426
+ * @param message UnlockTimeSkippingResponse message or plain object to encode
427
+ * @param [writer] Writer to encode to
428
+ * @returns Writer
429
+ */
430
+ public static encodeDelimited(message: temporal.api.testservice.v1.IUnlockTimeSkippingResponse, writer?: $protobuf.Writer): $protobuf.Writer;
431
+
432
+ /**
433
+ * Decodes an UnlockTimeSkippingResponse message from the specified reader or buffer.
434
+ * @param reader Reader or buffer to decode from
435
+ * @param [length] Message length if known beforehand
436
+ * @returns UnlockTimeSkippingResponse
437
+ * @throws {Error} If the payload is not a reader or valid buffer
438
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
439
+ */
440
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.UnlockTimeSkippingResponse;
441
+
442
+ /**
443
+ * Decodes an UnlockTimeSkippingResponse message from the specified reader or buffer, length delimited.
444
+ * @param reader Reader or buffer to decode from
445
+ * @returns UnlockTimeSkippingResponse
446
+ * @throws {Error} If the payload is not a reader or valid buffer
447
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
448
+ */
449
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.UnlockTimeSkippingResponse;
450
+
451
+ /**
452
+ * Creates an UnlockTimeSkippingResponse message from a plain object. Also converts values to their respective internal types.
453
+ * @param object Plain object
454
+ * @returns UnlockTimeSkippingResponse
455
+ */
456
+ public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.UnlockTimeSkippingResponse;
457
+
458
+ /**
459
+ * Creates a plain object from an UnlockTimeSkippingResponse message. Also converts values to other types if specified.
460
+ * @param message UnlockTimeSkippingResponse
461
+ * @param [options] Conversion options
462
+ * @returns Plain object
463
+ */
464
+ public static toObject(message: temporal.api.testservice.v1.UnlockTimeSkippingResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
465
+
466
+ /**
467
+ * Converts this UnlockTimeSkippingResponse to JSON.
468
+ * @returns JSON object
469
+ */
470
+ public toJSON(): { [k: string]: any };
471
+ }
472
+
473
+ /** Properties of a SleepUntilRequest. */
474
+ interface ISleepUntilRequest {
475
+
476
+ /** SleepUntilRequest timestamp */
477
+ timestamp?: (google.protobuf.ITimestamp|null);
478
+ }
479
+
480
+ /** Represents a SleepUntilRequest. */
481
+ class SleepUntilRequest implements ISleepUntilRequest {
482
+
483
+ /**
484
+ * Constructs a new SleepUntilRequest.
485
+ * @param [properties] Properties to set
486
+ */
487
+ constructor(properties?: temporal.api.testservice.v1.ISleepUntilRequest);
488
+
489
+ /** SleepUntilRequest timestamp. */
490
+ public timestamp?: (google.protobuf.ITimestamp|null);
491
+
492
+ /**
493
+ * Creates a new SleepUntilRequest instance using the specified properties.
494
+ * @param [properties] Properties to set
495
+ * @returns SleepUntilRequest instance
496
+ */
497
+ public static create(properties?: temporal.api.testservice.v1.ISleepUntilRequest): temporal.api.testservice.v1.SleepUntilRequest;
498
+
499
+ /**
500
+ * Encodes the specified SleepUntilRequest message. Does not implicitly {@link temporal.api.testservice.v1.SleepUntilRequest.verify|verify} messages.
501
+ * @param message SleepUntilRequest message or plain object to encode
502
+ * @param [writer] Writer to encode to
503
+ * @returns Writer
504
+ */
505
+ public static encode(message: temporal.api.testservice.v1.ISleepUntilRequest, writer?: $protobuf.Writer): $protobuf.Writer;
506
+
507
+ /**
508
+ * Encodes the specified SleepUntilRequest message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.SleepUntilRequest.verify|verify} messages.
509
+ * @param message SleepUntilRequest message or plain object to encode
510
+ * @param [writer] Writer to encode to
511
+ * @returns Writer
512
+ */
513
+ public static encodeDelimited(message: temporal.api.testservice.v1.ISleepUntilRequest, writer?: $protobuf.Writer): $protobuf.Writer;
514
+
515
+ /**
516
+ * Decodes a SleepUntilRequest message from the specified reader or buffer.
517
+ * @param reader Reader or buffer to decode from
518
+ * @param [length] Message length if known beforehand
519
+ * @returns SleepUntilRequest
520
+ * @throws {Error} If the payload is not a reader or valid buffer
521
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
522
+ */
523
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.SleepUntilRequest;
524
+
525
+ /**
526
+ * Decodes a SleepUntilRequest message from the specified reader or buffer, length delimited.
527
+ * @param reader Reader or buffer to decode from
528
+ * @returns SleepUntilRequest
529
+ * @throws {Error} If the payload is not a reader or valid buffer
530
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
531
+ */
532
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.SleepUntilRequest;
533
+
534
+ /**
535
+ * Creates a SleepUntilRequest message from a plain object. Also converts values to their respective internal types.
536
+ * @param object Plain object
537
+ * @returns SleepUntilRequest
538
+ */
539
+ public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.SleepUntilRequest;
540
+
541
+ /**
542
+ * Creates a plain object from a SleepUntilRequest message. Also converts values to other types if specified.
543
+ * @param message SleepUntilRequest
544
+ * @param [options] Conversion options
545
+ * @returns Plain object
546
+ */
547
+ public static toObject(message: temporal.api.testservice.v1.SleepUntilRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
548
+
549
+ /**
550
+ * Converts this SleepUntilRequest to JSON.
551
+ * @returns JSON object
552
+ */
553
+ public toJSON(): { [k: string]: any };
554
+ }
555
+
556
+ /** Properties of a SleepRequest. */
557
+ interface ISleepRequest {
558
+
559
+ /** SleepRequest duration */
560
+ duration?: (google.protobuf.IDuration|null);
561
+ }
562
+
563
+ /** Represents a SleepRequest. */
564
+ class SleepRequest implements ISleepRequest {
565
+
566
+ /**
567
+ * Constructs a new SleepRequest.
568
+ * @param [properties] Properties to set
569
+ */
570
+ constructor(properties?: temporal.api.testservice.v1.ISleepRequest);
571
+
572
+ /** SleepRequest duration. */
573
+ public duration?: (google.protobuf.IDuration|null);
574
+
575
+ /**
576
+ * Creates a new SleepRequest instance using the specified properties.
577
+ * @param [properties] Properties to set
578
+ * @returns SleepRequest instance
579
+ */
580
+ public static create(properties?: temporal.api.testservice.v1.ISleepRequest): temporal.api.testservice.v1.SleepRequest;
581
+
582
+ /**
583
+ * Encodes the specified SleepRequest message. Does not implicitly {@link temporal.api.testservice.v1.SleepRequest.verify|verify} messages.
584
+ * @param message SleepRequest message or plain object to encode
585
+ * @param [writer] Writer to encode to
586
+ * @returns Writer
587
+ */
588
+ public static encode(message: temporal.api.testservice.v1.ISleepRequest, writer?: $protobuf.Writer): $protobuf.Writer;
589
+
590
+ /**
591
+ * Encodes the specified SleepRequest message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.SleepRequest.verify|verify} messages.
592
+ * @param message SleepRequest message or plain object to encode
593
+ * @param [writer] Writer to encode to
594
+ * @returns Writer
595
+ */
596
+ public static encodeDelimited(message: temporal.api.testservice.v1.ISleepRequest, writer?: $protobuf.Writer): $protobuf.Writer;
597
+
598
+ /**
599
+ * Decodes a SleepRequest message from the specified reader or buffer.
600
+ * @param reader Reader or buffer to decode from
601
+ * @param [length] Message length if known beforehand
602
+ * @returns SleepRequest
603
+ * @throws {Error} If the payload is not a reader or valid buffer
604
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
605
+ */
606
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.SleepRequest;
607
+
608
+ /**
609
+ * Decodes a SleepRequest message from the specified reader or buffer, length delimited.
610
+ * @param reader Reader or buffer to decode from
611
+ * @returns SleepRequest
612
+ * @throws {Error} If the payload is not a reader or valid buffer
613
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
614
+ */
615
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.SleepRequest;
616
+
617
+ /**
618
+ * Creates a SleepRequest message from a plain object. Also converts values to their respective internal types.
619
+ * @param object Plain object
620
+ * @returns SleepRequest
621
+ */
622
+ public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.SleepRequest;
623
+
624
+ /**
625
+ * Creates a plain object from a SleepRequest message. Also converts values to other types if specified.
626
+ * @param message SleepRequest
627
+ * @param [options] Conversion options
628
+ * @returns Plain object
629
+ */
630
+ public static toObject(message: temporal.api.testservice.v1.SleepRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
631
+
632
+ /**
633
+ * Converts this SleepRequest to JSON.
634
+ * @returns JSON object
635
+ */
636
+ public toJSON(): { [k: string]: any };
637
+ }
638
+
639
+ /** Properties of a SleepResponse. */
640
+ interface ISleepResponse {
641
+ }
642
+
643
+ /** Represents a SleepResponse. */
644
+ class SleepResponse implements ISleepResponse {
645
+
646
+ /**
647
+ * Constructs a new SleepResponse.
648
+ * @param [properties] Properties to set
649
+ */
650
+ constructor(properties?: temporal.api.testservice.v1.ISleepResponse);
651
+
652
+ /**
653
+ * Creates a new SleepResponse instance using the specified properties.
654
+ * @param [properties] Properties to set
655
+ * @returns SleepResponse instance
656
+ */
657
+ public static create(properties?: temporal.api.testservice.v1.ISleepResponse): temporal.api.testservice.v1.SleepResponse;
658
+
659
+ /**
660
+ * Encodes the specified SleepResponse message. Does not implicitly {@link temporal.api.testservice.v1.SleepResponse.verify|verify} messages.
661
+ * @param message SleepResponse message or plain object to encode
662
+ * @param [writer] Writer to encode to
663
+ * @returns Writer
664
+ */
665
+ public static encode(message: temporal.api.testservice.v1.ISleepResponse, writer?: $protobuf.Writer): $protobuf.Writer;
666
+
667
+ /**
668
+ * Encodes the specified SleepResponse message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.SleepResponse.verify|verify} messages.
669
+ * @param message SleepResponse message or plain object to encode
670
+ * @param [writer] Writer to encode to
671
+ * @returns Writer
672
+ */
673
+ public static encodeDelimited(message: temporal.api.testservice.v1.ISleepResponse, writer?: $protobuf.Writer): $protobuf.Writer;
674
+
675
+ /**
676
+ * Decodes a SleepResponse message from the specified reader or buffer.
677
+ * @param reader Reader or buffer to decode from
678
+ * @param [length] Message length if known beforehand
679
+ * @returns SleepResponse
680
+ * @throws {Error} If the payload is not a reader or valid buffer
681
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
682
+ */
683
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.SleepResponse;
684
+
685
+ /**
686
+ * Decodes a SleepResponse message from the specified reader or buffer, length delimited.
687
+ * @param reader Reader or buffer to decode from
688
+ * @returns SleepResponse
689
+ * @throws {Error} If the payload is not a reader or valid buffer
690
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
691
+ */
692
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.SleepResponse;
693
+
694
+ /**
695
+ * Creates a SleepResponse message from a plain object. Also converts values to their respective internal types.
696
+ * @param object Plain object
697
+ * @returns SleepResponse
698
+ */
699
+ public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.SleepResponse;
700
+
701
+ /**
702
+ * Creates a plain object from a SleepResponse message. Also converts values to other types if specified.
703
+ * @param message SleepResponse
704
+ * @param [options] Conversion options
705
+ * @returns Plain object
706
+ */
707
+ public static toObject(message: temporal.api.testservice.v1.SleepResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
708
+
709
+ /**
710
+ * Converts this SleepResponse to JSON.
711
+ * @returns JSON object
712
+ */
713
+ public toJSON(): { [k: string]: any };
714
+ }
715
+
716
+ /** Properties of a GetCurrentTimeResponse. */
717
+ interface IGetCurrentTimeResponse {
718
+
719
+ /** GetCurrentTimeResponse time */
720
+ time?: (google.protobuf.ITimestamp|null);
721
+ }
722
+
723
+ /** Represents a GetCurrentTimeResponse. */
724
+ class GetCurrentTimeResponse implements IGetCurrentTimeResponse {
725
+
726
+ /**
727
+ * Constructs a new GetCurrentTimeResponse.
728
+ * @param [properties] Properties to set
729
+ */
730
+ constructor(properties?: temporal.api.testservice.v1.IGetCurrentTimeResponse);
731
+
732
+ /** GetCurrentTimeResponse time. */
733
+ public time?: (google.protobuf.ITimestamp|null);
734
+
735
+ /**
736
+ * Creates a new GetCurrentTimeResponse instance using the specified properties.
737
+ * @param [properties] Properties to set
738
+ * @returns GetCurrentTimeResponse instance
739
+ */
740
+ public static create(properties?: temporal.api.testservice.v1.IGetCurrentTimeResponse): temporal.api.testservice.v1.GetCurrentTimeResponse;
741
+
742
+ /**
743
+ * Encodes the specified GetCurrentTimeResponse message. Does not implicitly {@link temporal.api.testservice.v1.GetCurrentTimeResponse.verify|verify} messages.
744
+ * @param message GetCurrentTimeResponse message or plain object to encode
745
+ * @param [writer] Writer to encode to
746
+ * @returns Writer
747
+ */
748
+ public static encode(message: temporal.api.testservice.v1.IGetCurrentTimeResponse, writer?: $protobuf.Writer): $protobuf.Writer;
749
+
750
+ /**
751
+ * Encodes the specified GetCurrentTimeResponse message, length delimited. Does not implicitly {@link temporal.api.testservice.v1.GetCurrentTimeResponse.verify|verify} messages.
752
+ * @param message GetCurrentTimeResponse message or plain object to encode
753
+ * @param [writer] Writer to encode to
754
+ * @returns Writer
755
+ */
756
+ public static encodeDelimited(message: temporal.api.testservice.v1.IGetCurrentTimeResponse, writer?: $protobuf.Writer): $protobuf.Writer;
757
+
758
+ /**
759
+ * Decodes a GetCurrentTimeResponse message from the specified reader or buffer.
760
+ * @param reader Reader or buffer to decode from
761
+ * @param [length] Message length if known beforehand
762
+ * @returns GetCurrentTimeResponse
763
+ * @throws {Error} If the payload is not a reader or valid buffer
764
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
765
+ */
766
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): temporal.api.testservice.v1.GetCurrentTimeResponse;
767
+
768
+ /**
769
+ * Decodes a GetCurrentTimeResponse message from the specified reader or buffer, length delimited.
770
+ * @param reader Reader or buffer to decode from
771
+ * @returns GetCurrentTimeResponse
772
+ * @throws {Error} If the payload is not a reader or valid buffer
773
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
774
+ */
775
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): temporal.api.testservice.v1.GetCurrentTimeResponse;
776
+
777
+ /**
778
+ * Creates a GetCurrentTimeResponse message from a plain object. Also converts values to their respective internal types.
779
+ * @param object Plain object
780
+ * @returns GetCurrentTimeResponse
781
+ */
782
+ public static fromObject(object: { [k: string]: any }): temporal.api.testservice.v1.GetCurrentTimeResponse;
783
+
784
+ /**
785
+ * Creates a plain object from a GetCurrentTimeResponse message. Also converts values to other types if specified.
786
+ * @param message GetCurrentTimeResponse
787
+ * @param [options] Conversion options
788
+ * @returns Plain object
789
+ */
790
+ public static toObject(message: temporal.api.testservice.v1.GetCurrentTimeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
791
+
792
+ /**
793
+ * Converts this GetCurrentTimeResponse to JSON.
794
+ * @returns JSON object
795
+ */
796
+ public toJSON(): { [k: string]: any };
797
+ }
798
+ }
799
+ }
800
+ }
801
+ }
802
+
803
+ /** Namespace google. */
804
+ export namespace google {
805
+
806
+ /** Namespace protobuf. */
807
+ namespace protobuf {
808
+
809
+ /** Properties of a Duration. */
810
+ interface IDuration {
811
+
812
+ /** Duration seconds */
813
+ seconds?: (Long|null);
814
+
815
+ /** Duration nanos */
816
+ nanos?: (number|null);
817
+ }
818
+
819
+ /** Represents a Duration. */
820
+ class Duration implements IDuration {
821
+
822
+ /**
823
+ * Constructs a new Duration.
824
+ * @param [properties] Properties to set
825
+ */
826
+ constructor(properties?: google.protobuf.IDuration);
827
+
828
+ /** Duration seconds. */
829
+ public seconds: Long;
830
+
831
+ /** Duration nanos. */
832
+ public nanos: number;
833
+
834
+ /**
835
+ * Creates a new Duration instance using the specified properties.
836
+ * @param [properties] Properties to set
837
+ * @returns Duration instance
838
+ */
839
+ public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
840
+
841
+ /**
842
+ * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
843
+ * @param message Duration message or plain object to encode
844
+ * @param [writer] Writer to encode to
845
+ * @returns Writer
846
+ */
847
+ public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
848
+
849
+ /**
850
+ * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
851
+ * @param message Duration message or plain object to encode
852
+ * @param [writer] Writer to encode to
853
+ * @returns Writer
854
+ */
855
+ public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
856
+
857
+ /**
858
+ * Decodes a Duration message from the specified reader or buffer.
859
+ * @param reader Reader or buffer to decode from
860
+ * @param [length] Message length if known beforehand
861
+ * @returns Duration
862
+ * @throws {Error} If the payload is not a reader or valid buffer
863
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
864
+ */
865
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
866
+
867
+ /**
868
+ * Decodes a Duration message from the specified reader or buffer, length delimited.
869
+ * @param reader Reader or buffer to decode from
870
+ * @returns Duration
871
+ * @throws {Error} If the payload is not a reader or valid buffer
872
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
873
+ */
874
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
875
+
876
+ /**
877
+ * Creates a Duration message from a plain object. Also converts values to their respective internal types.
878
+ * @param object Plain object
879
+ * @returns Duration
880
+ */
881
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
882
+
883
+ /**
884
+ * Creates a plain object from a Duration message. Also converts values to other types if specified.
885
+ * @param message Duration
886
+ * @param [options] Conversion options
887
+ * @returns Plain object
888
+ */
889
+ public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
890
+
891
+ /**
892
+ * Converts this Duration to JSON.
893
+ * @returns JSON object
894
+ */
895
+ public toJSON(): { [k: string]: any };
896
+ }
897
+
898
+ /** Properties of a Timestamp. */
899
+ interface ITimestamp {
900
+
901
+ /** Timestamp seconds */
902
+ seconds?: (Long|null);
903
+
904
+ /** Timestamp nanos */
905
+ nanos?: (number|null);
906
+ }
907
+
908
+ /** Represents a Timestamp. */
909
+ class Timestamp implements ITimestamp {
910
+
911
+ /**
912
+ * Constructs a new Timestamp.
913
+ * @param [properties] Properties to set
914
+ */
915
+ constructor(properties?: google.protobuf.ITimestamp);
916
+
917
+ /** Timestamp seconds. */
918
+ public seconds: Long;
919
+
920
+ /** Timestamp nanos. */
921
+ public nanos: number;
922
+
923
+ /**
924
+ * Creates a new Timestamp instance using the specified properties.
925
+ * @param [properties] Properties to set
926
+ * @returns Timestamp instance
927
+ */
928
+ public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
929
+
930
+ /**
931
+ * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
932
+ * @param message Timestamp message or plain object to encode
933
+ * @param [writer] Writer to encode to
934
+ * @returns Writer
935
+ */
936
+ public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
937
+
938
+ /**
939
+ * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
940
+ * @param message Timestamp message or plain object to encode
941
+ * @param [writer] Writer to encode to
942
+ * @returns Writer
943
+ */
944
+ public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
945
+
946
+ /**
947
+ * Decodes a Timestamp message from the specified reader or buffer.
948
+ * @param reader Reader or buffer to decode from
949
+ * @param [length] Message length if known beforehand
950
+ * @returns Timestamp
951
+ * @throws {Error} If the payload is not a reader or valid buffer
952
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
953
+ */
954
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
955
+
956
+ /**
957
+ * Decodes a Timestamp message from the specified reader or buffer, length delimited.
958
+ * @param reader Reader or buffer to decode from
959
+ * @returns Timestamp
960
+ * @throws {Error} If the payload is not a reader or valid buffer
961
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
962
+ */
963
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
964
+
965
+ /**
966
+ * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
967
+ * @param object Plain object
968
+ * @returns Timestamp
969
+ */
970
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
971
+
972
+ /**
973
+ * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
974
+ * @param message Timestamp
975
+ * @param [options] Conversion options
976
+ * @returns Plain object
977
+ */
978
+ public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
979
+
980
+ /**
981
+ * Converts this Timestamp to JSON.
982
+ * @returns JSON object
983
+ */
984
+ public toJSON(): { [k: string]: any };
985
+ }
986
+
987
+ /** Properties of a FileDescriptorSet. */
988
+ interface IFileDescriptorSet {
989
+
990
+ /** FileDescriptorSet file */
991
+ file?: (google.protobuf.IFileDescriptorProto[]|null);
992
+ }
993
+
994
+ /** Represents a FileDescriptorSet. */
995
+ class FileDescriptorSet implements IFileDescriptorSet {
996
+
997
+ /**
998
+ * Constructs a new FileDescriptorSet.
999
+ * @param [properties] Properties to set
1000
+ */
1001
+ constructor(properties?: google.protobuf.IFileDescriptorSet);
1002
+
1003
+ /** FileDescriptorSet file. */
1004
+ public file: google.protobuf.IFileDescriptorProto[];
1005
+
1006
+ /**
1007
+ * Creates a new FileDescriptorSet instance using the specified properties.
1008
+ * @param [properties] Properties to set
1009
+ * @returns FileDescriptorSet instance
1010
+ */
1011
+ public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
1012
+
1013
+ /**
1014
+ * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
1015
+ * @param message FileDescriptorSet message or plain object to encode
1016
+ * @param [writer] Writer to encode to
1017
+ * @returns Writer
1018
+ */
1019
+ public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
1020
+
1021
+ /**
1022
+ * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
1023
+ * @param message FileDescriptorSet message or plain object to encode
1024
+ * @param [writer] Writer to encode to
1025
+ * @returns Writer
1026
+ */
1027
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
1028
+
1029
+ /**
1030
+ * Decodes a FileDescriptorSet message from the specified reader or buffer.
1031
+ * @param reader Reader or buffer to decode from
1032
+ * @param [length] Message length if known beforehand
1033
+ * @returns FileDescriptorSet
1034
+ * @throws {Error} If the payload is not a reader or valid buffer
1035
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1036
+ */
1037
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
1038
+
1039
+ /**
1040
+ * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
1041
+ * @param reader Reader or buffer to decode from
1042
+ * @returns FileDescriptorSet
1043
+ * @throws {Error} If the payload is not a reader or valid buffer
1044
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1045
+ */
1046
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
1047
+
1048
+ /**
1049
+ * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
1050
+ * @param object Plain object
1051
+ * @returns FileDescriptorSet
1052
+ */
1053
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
1054
+
1055
+ /**
1056
+ * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
1057
+ * @param message FileDescriptorSet
1058
+ * @param [options] Conversion options
1059
+ * @returns Plain object
1060
+ */
1061
+ public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
1062
+
1063
+ /**
1064
+ * Converts this FileDescriptorSet to JSON.
1065
+ * @returns JSON object
1066
+ */
1067
+ public toJSON(): { [k: string]: any };
1068
+ }
1069
+
1070
+ /** Properties of a FileDescriptorProto. */
1071
+ interface IFileDescriptorProto {
1072
+
1073
+ /** FileDescriptorProto name */
1074
+ name?: (string|null);
1075
+
1076
+ /** FileDescriptorProto package */
1077
+ "package"?: (string|null);
1078
+
1079
+ /** FileDescriptorProto dependency */
1080
+ dependency?: (string[]|null);
1081
+
1082
+ /** FileDescriptorProto publicDependency */
1083
+ publicDependency?: (number[]|null);
1084
+
1085
+ /** FileDescriptorProto weakDependency */
1086
+ weakDependency?: (number[]|null);
1087
+
1088
+ /** FileDescriptorProto messageType */
1089
+ messageType?: (google.protobuf.IDescriptorProto[]|null);
1090
+
1091
+ /** FileDescriptorProto enumType */
1092
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
1093
+
1094
+ /** FileDescriptorProto service */
1095
+ service?: (google.protobuf.IServiceDescriptorProto[]|null);
1096
+
1097
+ /** FileDescriptorProto extension */
1098
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
1099
+
1100
+ /** FileDescriptorProto options */
1101
+ options?: (google.protobuf.IFileOptions|null);
1102
+
1103
+ /** FileDescriptorProto sourceCodeInfo */
1104
+ sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
1105
+
1106
+ /** FileDescriptorProto syntax */
1107
+ syntax?: (string|null);
1108
+ }
1109
+
1110
+ /** Represents a FileDescriptorProto. */
1111
+ class FileDescriptorProto implements IFileDescriptorProto {
1112
+
1113
+ /**
1114
+ * Constructs a new FileDescriptorProto.
1115
+ * @param [properties] Properties to set
1116
+ */
1117
+ constructor(properties?: google.protobuf.IFileDescriptorProto);
1118
+
1119
+ /** FileDescriptorProto name. */
1120
+ public name: string;
1121
+
1122
+ /** FileDescriptorProto package. */
1123
+ public package: string;
1124
+
1125
+ /** FileDescriptorProto dependency. */
1126
+ public dependency: string[];
1127
+
1128
+ /** FileDescriptorProto publicDependency. */
1129
+ public publicDependency: number[];
1130
+
1131
+ /** FileDescriptorProto weakDependency. */
1132
+ public weakDependency: number[];
1133
+
1134
+ /** FileDescriptorProto messageType. */
1135
+ public messageType: google.protobuf.IDescriptorProto[];
1136
+
1137
+ /** FileDescriptorProto enumType. */
1138
+ public enumType: google.protobuf.IEnumDescriptorProto[];
1139
+
1140
+ /** FileDescriptorProto service. */
1141
+ public service: google.protobuf.IServiceDescriptorProto[];
1142
+
1143
+ /** FileDescriptorProto extension. */
1144
+ public extension: google.protobuf.IFieldDescriptorProto[];
1145
+
1146
+ /** FileDescriptorProto options. */
1147
+ public options?: (google.protobuf.IFileOptions|null);
1148
+
1149
+ /** FileDescriptorProto sourceCodeInfo. */
1150
+ public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
1151
+
1152
+ /** FileDescriptorProto syntax. */
1153
+ public syntax: string;
1154
+
1155
+ /**
1156
+ * Creates a new FileDescriptorProto instance using the specified properties.
1157
+ * @param [properties] Properties to set
1158
+ * @returns FileDescriptorProto instance
1159
+ */
1160
+ public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
1161
+
1162
+ /**
1163
+ * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
1164
+ * @param message FileDescriptorProto message or plain object to encode
1165
+ * @param [writer] Writer to encode to
1166
+ * @returns Writer
1167
+ */
1168
+ public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1169
+
1170
+ /**
1171
+ * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
1172
+ * @param message FileDescriptorProto message or plain object to encode
1173
+ * @param [writer] Writer to encode to
1174
+ * @returns Writer
1175
+ */
1176
+ public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1177
+
1178
+ /**
1179
+ * Decodes a FileDescriptorProto message from the specified reader or buffer.
1180
+ * @param reader Reader or buffer to decode from
1181
+ * @param [length] Message length if known beforehand
1182
+ * @returns FileDescriptorProto
1183
+ * @throws {Error} If the payload is not a reader or valid buffer
1184
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1185
+ */
1186
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
1187
+
1188
+ /**
1189
+ * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
1190
+ * @param reader Reader or buffer to decode from
1191
+ * @returns FileDescriptorProto
1192
+ * @throws {Error} If the payload is not a reader or valid buffer
1193
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1194
+ */
1195
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
1196
+
1197
+ /**
1198
+ * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
1199
+ * @param object Plain object
1200
+ * @returns FileDescriptorProto
1201
+ */
1202
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
1203
+
1204
+ /**
1205
+ * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
1206
+ * @param message FileDescriptorProto
1207
+ * @param [options] Conversion options
1208
+ * @returns Plain object
1209
+ */
1210
+ public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1211
+
1212
+ /**
1213
+ * Converts this FileDescriptorProto to JSON.
1214
+ * @returns JSON object
1215
+ */
1216
+ public toJSON(): { [k: string]: any };
1217
+ }
1218
+
1219
+ /** Properties of a DescriptorProto. */
1220
+ interface IDescriptorProto {
1221
+
1222
+ /** DescriptorProto name */
1223
+ name?: (string|null);
1224
+
1225
+ /** DescriptorProto field */
1226
+ field?: (google.protobuf.IFieldDescriptorProto[]|null);
1227
+
1228
+ /** DescriptorProto extension */
1229
+ extension?: (google.protobuf.IFieldDescriptorProto[]|null);
1230
+
1231
+ /** DescriptorProto nestedType */
1232
+ nestedType?: (google.protobuf.IDescriptorProto[]|null);
1233
+
1234
+ /** DescriptorProto enumType */
1235
+ enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
1236
+
1237
+ /** DescriptorProto extensionRange */
1238
+ extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
1239
+
1240
+ /** DescriptorProto oneofDecl */
1241
+ oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
1242
+
1243
+ /** DescriptorProto options */
1244
+ options?: (google.protobuf.IMessageOptions|null);
1245
+
1246
+ /** DescriptorProto reservedRange */
1247
+ reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
1248
+
1249
+ /** DescriptorProto reservedName */
1250
+ reservedName?: (string[]|null);
1251
+ }
1252
+
1253
+ /** Represents a DescriptorProto. */
1254
+ class DescriptorProto implements IDescriptorProto {
1255
+
1256
+ /**
1257
+ * Constructs a new DescriptorProto.
1258
+ * @param [properties] Properties to set
1259
+ */
1260
+ constructor(properties?: google.protobuf.IDescriptorProto);
1261
+
1262
+ /** DescriptorProto name. */
1263
+ public name: string;
1264
+
1265
+ /** DescriptorProto field. */
1266
+ public field: google.protobuf.IFieldDescriptorProto[];
1267
+
1268
+ /** DescriptorProto extension. */
1269
+ public extension: google.protobuf.IFieldDescriptorProto[];
1270
+
1271
+ /** DescriptorProto nestedType. */
1272
+ public nestedType: google.protobuf.IDescriptorProto[];
1273
+
1274
+ /** DescriptorProto enumType. */
1275
+ public enumType: google.protobuf.IEnumDescriptorProto[];
1276
+
1277
+ /** DescriptorProto extensionRange. */
1278
+ public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
1279
+
1280
+ /** DescriptorProto oneofDecl. */
1281
+ public oneofDecl: google.protobuf.IOneofDescriptorProto[];
1282
+
1283
+ /** DescriptorProto options. */
1284
+ public options?: (google.protobuf.IMessageOptions|null);
1285
+
1286
+ /** DescriptorProto reservedRange. */
1287
+ public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
1288
+
1289
+ /** DescriptorProto reservedName. */
1290
+ public reservedName: string[];
1291
+
1292
+ /**
1293
+ * Creates a new DescriptorProto instance using the specified properties.
1294
+ * @param [properties] Properties to set
1295
+ * @returns DescriptorProto instance
1296
+ */
1297
+ public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
1298
+
1299
+ /**
1300
+ * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
1301
+ * @param message DescriptorProto message or plain object to encode
1302
+ * @param [writer] Writer to encode to
1303
+ * @returns Writer
1304
+ */
1305
+ public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1306
+
1307
+ /**
1308
+ * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
1309
+ * @param message DescriptorProto message or plain object to encode
1310
+ * @param [writer] Writer to encode to
1311
+ * @returns Writer
1312
+ */
1313
+ public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1314
+
1315
+ /**
1316
+ * Decodes a DescriptorProto message from the specified reader or buffer.
1317
+ * @param reader Reader or buffer to decode from
1318
+ * @param [length] Message length if known beforehand
1319
+ * @returns DescriptorProto
1320
+ * @throws {Error} If the payload is not a reader or valid buffer
1321
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1322
+ */
1323
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
1324
+
1325
+ /**
1326
+ * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
1327
+ * @param reader Reader or buffer to decode from
1328
+ * @returns DescriptorProto
1329
+ * @throws {Error} If the payload is not a reader or valid buffer
1330
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1331
+ */
1332
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
1333
+
1334
+ /**
1335
+ * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
1336
+ * @param object Plain object
1337
+ * @returns DescriptorProto
1338
+ */
1339
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
1340
+
1341
+ /**
1342
+ * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
1343
+ * @param message DescriptorProto
1344
+ * @param [options] Conversion options
1345
+ * @returns Plain object
1346
+ */
1347
+ public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1348
+
1349
+ /**
1350
+ * Converts this DescriptorProto to JSON.
1351
+ * @returns JSON object
1352
+ */
1353
+ public toJSON(): { [k: string]: any };
1354
+ }
1355
+
1356
+ namespace DescriptorProto {
1357
+
1358
+ /** Properties of an ExtensionRange. */
1359
+ interface IExtensionRange {
1360
+
1361
+ /** ExtensionRange start */
1362
+ start?: (number|null);
1363
+
1364
+ /** ExtensionRange end */
1365
+ end?: (number|null);
1366
+ }
1367
+
1368
+ /** Represents an ExtensionRange. */
1369
+ class ExtensionRange implements IExtensionRange {
1370
+
1371
+ /**
1372
+ * Constructs a new ExtensionRange.
1373
+ * @param [properties] Properties to set
1374
+ */
1375
+ constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
1376
+
1377
+ /** ExtensionRange start. */
1378
+ public start: number;
1379
+
1380
+ /** ExtensionRange end. */
1381
+ public end: number;
1382
+
1383
+ /**
1384
+ * Creates a new ExtensionRange instance using the specified properties.
1385
+ * @param [properties] Properties to set
1386
+ * @returns ExtensionRange instance
1387
+ */
1388
+ public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
1389
+
1390
+ /**
1391
+ * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
1392
+ * @param message ExtensionRange message or plain object to encode
1393
+ * @param [writer] Writer to encode to
1394
+ * @returns Writer
1395
+ */
1396
+ public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
1397
+
1398
+ /**
1399
+ * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
1400
+ * @param message ExtensionRange message or plain object to encode
1401
+ * @param [writer] Writer to encode to
1402
+ * @returns Writer
1403
+ */
1404
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
1405
+
1406
+ /**
1407
+ * Decodes an ExtensionRange message from the specified reader or buffer.
1408
+ * @param reader Reader or buffer to decode from
1409
+ * @param [length] Message length if known beforehand
1410
+ * @returns ExtensionRange
1411
+ * @throws {Error} If the payload is not a reader or valid buffer
1412
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1413
+ */
1414
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
1415
+
1416
+ /**
1417
+ * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
1418
+ * @param reader Reader or buffer to decode from
1419
+ * @returns ExtensionRange
1420
+ * @throws {Error} If the payload is not a reader or valid buffer
1421
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1422
+ */
1423
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
1424
+
1425
+ /**
1426
+ * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
1427
+ * @param object Plain object
1428
+ * @returns ExtensionRange
1429
+ */
1430
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
1431
+
1432
+ /**
1433
+ * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
1434
+ * @param message ExtensionRange
1435
+ * @param [options] Conversion options
1436
+ * @returns Plain object
1437
+ */
1438
+ public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
1439
+
1440
+ /**
1441
+ * Converts this ExtensionRange to JSON.
1442
+ * @returns JSON object
1443
+ */
1444
+ public toJSON(): { [k: string]: any };
1445
+ }
1446
+
1447
+ /** Properties of a ReservedRange. */
1448
+ interface IReservedRange {
1449
+
1450
+ /** ReservedRange start */
1451
+ start?: (number|null);
1452
+
1453
+ /** ReservedRange end */
1454
+ end?: (number|null);
1455
+ }
1456
+
1457
+ /** Represents a ReservedRange. */
1458
+ class ReservedRange implements IReservedRange {
1459
+
1460
+ /**
1461
+ * Constructs a new ReservedRange.
1462
+ * @param [properties] Properties to set
1463
+ */
1464
+ constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
1465
+
1466
+ /** ReservedRange start. */
1467
+ public start: number;
1468
+
1469
+ /** ReservedRange end. */
1470
+ public end: number;
1471
+
1472
+ /**
1473
+ * Creates a new ReservedRange instance using the specified properties.
1474
+ * @param [properties] Properties to set
1475
+ * @returns ReservedRange instance
1476
+ */
1477
+ public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
1478
+
1479
+ /**
1480
+ * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
1481
+ * @param message ReservedRange message or plain object to encode
1482
+ * @param [writer] Writer to encode to
1483
+ * @returns Writer
1484
+ */
1485
+ public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1486
+
1487
+ /**
1488
+ * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
1489
+ * @param message ReservedRange message or plain object to encode
1490
+ * @param [writer] Writer to encode to
1491
+ * @returns Writer
1492
+ */
1493
+ public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1494
+
1495
+ /**
1496
+ * Decodes a ReservedRange 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 ReservedRange
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): google.protobuf.DescriptorProto.ReservedRange;
1504
+
1505
+ /**
1506
+ * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
1507
+ * @param reader Reader or buffer to decode from
1508
+ * @returns ReservedRange
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)): google.protobuf.DescriptorProto.ReservedRange;
1513
+
1514
+ /**
1515
+ * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
1516
+ * @param object Plain object
1517
+ * @returns ReservedRange
1518
+ */
1519
+ public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
1520
+
1521
+ /**
1522
+ * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
1523
+ * @param message ReservedRange
1524
+ * @param [options] Conversion options
1525
+ * @returns Plain object
1526
+ */
1527
+ public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
1528
+
1529
+ /**
1530
+ * Converts this ReservedRange to JSON.
1531
+ * @returns JSON object
1532
+ */
1533
+ public toJSON(): { [k: string]: any };
1534
+ }
1535
+ }
1536
+
1537
+ /** Properties of a FieldDescriptorProto. */
1538
+ interface IFieldDescriptorProto {
1539
+
1540
+ /** FieldDescriptorProto name */
1541
+ name?: (string|null);
1542
+
1543
+ /** FieldDescriptorProto number */
1544
+ number?: (number|null);
1545
+
1546
+ /** FieldDescriptorProto label */
1547
+ label?: (google.protobuf.FieldDescriptorProto.Label|null);
1548
+
1549
+ /** FieldDescriptorProto type */
1550
+ type?: (google.protobuf.FieldDescriptorProto.Type|null);
1551
+
1552
+ /** FieldDescriptorProto typeName */
1553
+ typeName?: (string|null);
1554
+
1555
+ /** FieldDescriptorProto extendee */
1556
+ extendee?: (string|null);
1557
+
1558
+ /** FieldDescriptorProto defaultValue */
1559
+ defaultValue?: (string|null);
1560
+
1561
+ /** FieldDescriptorProto oneofIndex */
1562
+ oneofIndex?: (number|null);
1563
+
1564
+ /** FieldDescriptorProto jsonName */
1565
+ jsonName?: (string|null);
1566
+
1567
+ /** FieldDescriptorProto options */
1568
+ options?: (google.protobuf.IFieldOptions|null);
1569
+ }
1570
+
1571
+ /** Represents a FieldDescriptorProto. */
1572
+ class FieldDescriptorProto implements IFieldDescriptorProto {
1573
+
1574
+ /**
1575
+ * Constructs a new FieldDescriptorProto.
1576
+ * @param [properties] Properties to set
1577
+ */
1578
+ constructor(properties?: google.protobuf.IFieldDescriptorProto);
1579
+
1580
+ /** FieldDescriptorProto name. */
1581
+ public name: string;
1582
+
1583
+ /** FieldDescriptorProto number. */
1584
+ public number: number;
1585
+
1586
+ /** FieldDescriptorProto label. */
1587
+ public label: google.protobuf.FieldDescriptorProto.Label;
1588
+
1589
+ /** FieldDescriptorProto type. */
1590
+ public type: google.protobuf.FieldDescriptorProto.Type;
1591
+
1592
+ /** FieldDescriptorProto typeName. */
1593
+ public typeName: string;
1594
+
1595
+ /** FieldDescriptorProto extendee. */
1596
+ public extendee: string;
1597
+
1598
+ /** FieldDescriptorProto defaultValue. */
1599
+ public defaultValue: string;
1600
+
1601
+ /** FieldDescriptorProto oneofIndex. */
1602
+ public oneofIndex: number;
1603
+
1604
+ /** FieldDescriptorProto jsonName. */
1605
+ public jsonName: string;
1606
+
1607
+ /** FieldDescriptorProto options. */
1608
+ public options?: (google.protobuf.IFieldOptions|null);
1609
+
1610
+ /**
1611
+ * Creates a new FieldDescriptorProto instance using the specified properties.
1612
+ * @param [properties] Properties to set
1613
+ * @returns FieldDescriptorProto instance
1614
+ */
1615
+ public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
1616
+
1617
+ /**
1618
+ * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
1619
+ * @param message FieldDescriptorProto message or plain object to encode
1620
+ * @param [writer] Writer to encode to
1621
+ * @returns Writer
1622
+ */
1623
+ public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1624
+
1625
+ /**
1626
+ * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
1627
+ * @param message FieldDescriptorProto message or plain object to encode
1628
+ * @param [writer] Writer to encode to
1629
+ * @returns Writer
1630
+ */
1631
+ public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1632
+
1633
+ /**
1634
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer.
1635
+ * @param reader Reader or buffer to decode from
1636
+ * @param [length] Message length if known beforehand
1637
+ * @returns FieldDescriptorProto
1638
+ * @throws {Error} If the payload is not a reader or valid buffer
1639
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1640
+ */
1641
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
1642
+
1643
+ /**
1644
+ * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
1645
+ * @param reader Reader or buffer to decode from
1646
+ * @returns FieldDescriptorProto
1647
+ * @throws {Error} If the payload is not a reader or valid buffer
1648
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1649
+ */
1650
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
1651
+
1652
+ /**
1653
+ * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
1654
+ * @param object Plain object
1655
+ * @returns FieldDescriptorProto
1656
+ */
1657
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
1658
+
1659
+ /**
1660
+ * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
1661
+ * @param message FieldDescriptorProto
1662
+ * @param [options] Conversion options
1663
+ * @returns Plain object
1664
+ */
1665
+ public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1666
+
1667
+ /**
1668
+ * Converts this FieldDescriptorProto to JSON.
1669
+ * @returns JSON object
1670
+ */
1671
+ public toJSON(): { [k: string]: any };
1672
+ }
1673
+
1674
+ namespace FieldDescriptorProto {
1675
+
1676
+ /** Type enum. */
1677
+ enum Type {
1678
+ TYPE_DOUBLE = 1,
1679
+ TYPE_FLOAT = 2,
1680
+ TYPE_INT64 = 3,
1681
+ TYPE_UINT64 = 4,
1682
+ TYPE_INT32 = 5,
1683
+ TYPE_FIXED64 = 6,
1684
+ TYPE_FIXED32 = 7,
1685
+ TYPE_BOOL = 8,
1686
+ TYPE_STRING = 9,
1687
+ TYPE_GROUP = 10,
1688
+ TYPE_MESSAGE = 11,
1689
+ TYPE_BYTES = 12,
1690
+ TYPE_UINT32 = 13,
1691
+ TYPE_ENUM = 14,
1692
+ TYPE_SFIXED32 = 15,
1693
+ TYPE_SFIXED64 = 16,
1694
+ TYPE_SINT32 = 17,
1695
+ TYPE_SINT64 = 18
1696
+ }
1697
+
1698
+ /** Label enum. */
1699
+ enum Label {
1700
+ LABEL_OPTIONAL = 1,
1701
+ LABEL_REQUIRED = 2,
1702
+ LABEL_REPEATED = 3
1703
+ }
1704
+ }
1705
+
1706
+ /** Properties of an OneofDescriptorProto. */
1707
+ interface IOneofDescriptorProto {
1708
+
1709
+ /** OneofDescriptorProto name */
1710
+ name?: (string|null);
1711
+
1712
+ /** OneofDescriptorProto options */
1713
+ options?: (google.protobuf.IOneofOptions|null);
1714
+ }
1715
+
1716
+ /** Represents an OneofDescriptorProto. */
1717
+ class OneofDescriptorProto implements IOneofDescriptorProto {
1718
+
1719
+ /**
1720
+ * Constructs a new OneofDescriptorProto.
1721
+ * @param [properties] Properties to set
1722
+ */
1723
+ constructor(properties?: google.protobuf.IOneofDescriptorProto);
1724
+
1725
+ /** OneofDescriptorProto name. */
1726
+ public name: string;
1727
+
1728
+ /** OneofDescriptorProto options. */
1729
+ public options?: (google.protobuf.IOneofOptions|null);
1730
+
1731
+ /**
1732
+ * Creates a new OneofDescriptorProto instance using the specified properties.
1733
+ * @param [properties] Properties to set
1734
+ * @returns OneofDescriptorProto instance
1735
+ */
1736
+ public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
1737
+
1738
+ /**
1739
+ * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
1740
+ * @param message OneofDescriptorProto message or plain object to encode
1741
+ * @param [writer] Writer to encode to
1742
+ * @returns Writer
1743
+ */
1744
+ public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1745
+
1746
+ /**
1747
+ * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
1748
+ * @param message OneofDescriptorProto message or plain object to encode
1749
+ * @param [writer] Writer to encode to
1750
+ * @returns Writer
1751
+ */
1752
+ public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1753
+
1754
+ /**
1755
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer.
1756
+ * @param reader Reader or buffer to decode from
1757
+ * @param [length] Message length if known beforehand
1758
+ * @returns OneofDescriptorProto
1759
+ * @throws {Error} If the payload is not a reader or valid buffer
1760
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1761
+ */
1762
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
1763
+
1764
+ /**
1765
+ * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
1766
+ * @param reader Reader or buffer to decode from
1767
+ * @returns OneofDescriptorProto
1768
+ * @throws {Error} If the payload is not a reader or valid buffer
1769
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1770
+ */
1771
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
1772
+
1773
+ /**
1774
+ * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
1775
+ * @param object Plain object
1776
+ * @returns OneofDescriptorProto
1777
+ */
1778
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
1779
+
1780
+ /**
1781
+ * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
1782
+ * @param message OneofDescriptorProto
1783
+ * @param [options] Conversion options
1784
+ * @returns Plain object
1785
+ */
1786
+ public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1787
+
1788
+ /**
1789
+ * Converts this OneofDescriptorProto to JSON.
1790
+ * @returns JSON object
1791
+ */
1792
+ public toJSON(): { [k: string]: any };
1793
+ }
1794
+
1795
+ /** Properties of an EnumDescriptorProto. */
1796
+ interface IEnumDescriptorProto {
1797
+
1798
+ /** EnumDescriptorProto name */
1799
+ name?: (string|null);
1800
+
1801
+ /** EnumDescriptorProto value */
1802
+ value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
1803
+
1804
+ /** EnumDescriptorProto options */
1805
+ options?: (google.protobuf.IEnumOptions|null);
1806
+ }
1807
+
1808
+ /** Represents an EnumDescriptorProto. */
1809
+ class EnumDescriptorProto implements IEnumDescriptorProto {
1810
+
1811
+ /**
1812
+ * Constructs a new EnumDescriptorProto.
1813
+ * @param [properties] Properties to set
1814
+ */
1815
+ constructor(properties?: google.protobuf.IEnumDescriptorProto);
1816
+
1817
+ /** EnumDescriptorProto name. */
1818
+ public name: string;
1819
+
1820
+ /** EnumDescriptorProto value. */
1821
+ public value: google.protobuf.IEnumValueDescriptorProto[];
1822
+
1823
+ /** EnumDescriptorProto options. */
1824
+ public options?: (google.protobuf.IEnumOptions|null);
1825
+
1826
+ /**
1827
+ * Creates a new EnumDescriptorProto instance using the specified properties.
1828
+ * @param [properties] Properties to set
1829
+ * @returns EnumDescriptorProto instance
1830
+ */
1831
+ public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
1832
+
1833
+ /**
1834
+ * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
1835
+ * @param message EnumDescriptorProto message or plain object to encode
1836
+ * @param [writer] Writer to encode to
1837
+ * @returns Writer
1838
+ */
1839
+ public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1840
+
1841
+ /**
1842
+ * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
1843
+ * @param message EnumDescriptorProto message or plain object to encode
1844
+ * @param [writer] Writer to encode to
1845
+ * @returns Writer
1846
+ */
1847
+ public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1848
+
1849
+ /**
1850
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer.
1851
+ * @param reader Reader or buffer to decode from
1852
+ * @param [length] Message length if known beforehand
1853
+ * @returns EnumDescriptorProto
1854
+ * @throws {Error} If the payload is not a reader or valid buffer
1855
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1856
+ */
1857
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
1858
+
1859
+ /**
1860
+ * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
1861
+ * @param reader Reader or buffer to decode from
1862
+ * @returns EnumDescriptorProto
1863
+ * @throws {Error} If the payload is not a reader or valid buffer
1864
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1865
+ */
1866
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
1867
+
1868
+ /**
1869
+ * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
1870
+ * @param object Plain object
1871
+ * @returns EnumDescriptorProto
1872
+ */
1873
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
1874
+
1875
+ /**
1876
+ * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
1877
+ * @param message EnumDescriptorProto
1878
+ * @param [options] Conversion options
1879
+ * @returns Plain object
1880
+ */
1881
+ public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1882
+
1883
+ /**
1884
+ * Converts this EnumDescriptorProto to JSON.
1885
+ * @returns JSON object
1886
+ */
1887
+ public toJSON(): { [k: string]: any };
1888
+ }
1889
+
1890
+ /** Properties of an EnumValueDescriptorProto. */
1891
+ interface IEnumValueDescriptorProto {
1892
+
1893
+ /** EnumValueDescriptorProto name */
1894
+ name?: (string|null);
1895
+
1896
+ /** EnumValueDescriptorProto number */
1897
+ number?: (number|null);
1898
+
1899
+ /** EnumValueDescriptorProto options */
1900
+ options?: (google.protobuf.IEnumValueOptions|null);
1901
+ }
1902
+
1903
+ /** Represents an EnumValueDescriptorProto. */
1904
+ class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
1905
+
1906
+ /**
1907
+ * Constructs a new EnumValueDescriptorProto.
1908
+ * @param [properties] Properties to set
1909
+ */
1910
+ constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
1911
+
1912
+ /** EnumValueDescriptorProto name. */
1913
+ public name: string;
1914
+
1915
+ /** EnumValueDescriptorProto number. */
1916
+ public number: number;
1917
+
1918
+ /** EnumValueDescriptorProto options. */
1919
+ public options?: (google.protobuf.IEnumValueOptions|null);
1920
+
1921
+ /**
1922
+ * Creates a new EnumValueDescriptorProto instance using the specified properties.
1923
+ * @param [properties] Properties to set
1924
+ * @returns EnumValueDescriptorProto instance
1925
+ */
1926
+ public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
1927
+
1928
+ /**
1929
+ * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
1930
+ * @param message EnumValueDescriptorProto message or plain object to encode
1931
+ * @param [writer] Writer to encode to
1932
+ * @returns Writer
1933
+ */
1934
+ public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1935
+
1936
+ /**
1937
+ * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
1938
+ * @param message EnumValueDescriptorProto message or plain object to encode
1939
+ * @param [writer] Writer to encode to
1940
+ * @returns Writer
1941
+ */
1942
+ public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1943
+
1944
+ /**
1945
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
1946
+ * @param reader Reader or buffer to decode from
1947
+ * @param [length] Message length if known beforehand
1948
+ * @returns EnumValueDescriptorProto
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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
1953
+
1954
+ /**
1955
+ * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
1956
+ * @param reader Reader or buffer to decode from
1957
+ * @returns EnumValueDescriptorProto
1958
+ * @throws {Error} If the payload is not a reader or valid buffer
1959
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1960
+ */
1961
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
1962
+
1963
+ /**
1964
+ * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
1965
+ * @param object Plain object
1966
+ * @returns EnumValueDescriptorProto
1967
+ */
1968
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
1969
+
1970
+ /**
1971
+ * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
1972
+ * @param message EnumValueDescriptorProto
1973
+ * @param [options] Conversion options
1974
+ * @returns Plain object
1975
+ */
1976
+ public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1977
+
1978
+ /**
1979
+ * Converts this EnumValueDescriptorProto to JSON.
1980
+ * @returns JSON object
1981
+ */
1982
+ public toJSON(): { [k: string]: any };
1983
+ }
1984
+
1985
+ /** Properties of a ServiceDescriptorProto. */
1986
+ interface IServiceDescriptorProto {
1987
+
1988
+ /** ServiceDescriptorProto name */
1989
+ name?: (string|null);
1990
+
1991
+ /** ServiceDescriptorProto method */
1992
+ method?: (google.protobuf.IMethodDescriptorProto[]|null);
1993
+
1994
+ /** ServiceDescriptorProto options */
1995
+ options?: (google.protobuf.IServiceOptions|null);
1996
+ }
1997
+
1998
+ /** Represents a ServiceDescriptorProto. */
1999
+ class ServiceDescriptorProto implements IServiceDescriptorProto {
2000
+
2001
+ /**
2002
+ * Constructs a new ServiceDescriptorProto.
2003
+ * @param [properties] Properties to set
2004
+ */
2005
+ constructor(properties?: google.protobuf.IServiceDescriptorProto);
2006
+
2007
+ /** ServiceDescriptorProto name. */
2008
+ public name: string;
2009
+
2010
+ /** ServiceDescriptorProto method. */
2011
+ public method: google.protobuf.IMethodDescriptorProto[];
2012
+
2013
+ /** ServiceDescriptorProto options. */
2014
+ public options?: (google.protobuf.IServiceOptions|null);
2015
+
2016
+ /**
2017
+ * Creates a new ServiceDescriptorProto instance using the specified properties.
2018
+ * @param [properties] Properties to set
2019
+ * @returns ServiceDescriptorProto instance
2020
+ */
2021
+ public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
2022
+
2023
+ /**
2024
+ * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
2025
+ * @param message ServiceDescriptorProto message or plain object to encode
2026
+ * @param [writer] Writer to encode to
2027
+ * @returns Writer
2028
+ */
2029
+ public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2030
+
2031
+ /**
2032
+ * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
2033
+ * @param message ServiceDescriptorProto message or plain object to encode
2034
+ * @param [writer] Writer to encode to
2035
+ * @returns Writer
2036
+ */
2037
+ public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2038
+
2039
+ /**
2040
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
2041
+ * @param reader Reader or buffer to decode from
2042
+ * @param [length] Message length if known beforehand
2043
+ * @returns ServiceDescriptorProto
2044
+ * @throws {Error} If the payload is not a reader or valid buffer
2045
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2046
+ */
2047
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
2048
+
2049
+ /**
2050
+ * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
2051
+ * @param reader Reader or buffer to decode from
2052
+ * @returns ServiceDescriptorProto
2053
+ * @throws {Error} If the payload is not a reader or valid buffer
2054
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2055
+ */
2056
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
2057
+
2058
+ /**
2059
+ * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
2060
+ * @param object Plain object
2061
+ * @returns ServiceDescriptorProto
2062
+ */
2063
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
2064
+
2065
+ /**
2066
+ * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
2067
+ * @param message ServiceDescriptorProto
2068
+ * @param [options] Conversion options
2069
+ * @returns Plain object
2070
+ */
2071
+ public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
2072
+
2073
+ /**
2074
+ * Converts this ServiceDescriptorProto to JSON.
2075
+ * @returns JSON object
2076
+ */
2077
+ public toJSON(): { [k: string]: any };
2078
+ }
2079
+
2080
+ /** Properties of a MethodDescriptorProto. */
2081
+ interface IMethodDescriptorProto {
2082
+
2083
+ /** MethodDescriptorProto name */
2084
+ name?: (string|null);
2085
+
2086
+ /** MethodDescriptorProto inputType */
2087
+ inputType?: (string|null);
2088
+
2089
+ /** MethodDescriptorProto outputType */
2090
+ outputType?: (string|null);
2091
+
2092
+ /** MethodDescriptorProto options */
2093
+ options?: (google.protobuf.IMethodOptions|null);
2094
+
2095
+ /** MethodDescriptorProto clientStreaming */
2096
+ clientStreaming?: (boolean|null);
2097
+
2098
+ /** MethodDescriptorProto serverStreaming */
2099
+ serverStreaming?: (boolean|null);
2100
+ }
2101
+
2102
+ /** Represents a MethodDescriptorProto. */
2103
+ class MethodDescriptorProto implements IMethodDescriptorProto {
2104
+
2105
+ /**
2106
+ * Constructs a new MethodDescriptorProto.
2107
+ * @param [properties] Properties to set
2108
+ */
2109
+ constructor(properties?: google.protobuf.IMethodDescriptorProto);
2110
+
2111
+ /** MethodDescriptorProto name. */
2112
+ public name: string;
2113
+
2114
+ /** MethodDescriptorProto inputType. */
2115
+ public inputType: string;
2116
+
2117
+ /** MethodDescriptorProto outputType. */
2118
+ public outputType: string;
2119
+
2120
+ /** MethodDescriptorProto options. */
2121
+ public options?: (google.protobuf.IMethodOptions|null);
2122
+
2123
+ /** MethodDescriptorProto clientStreaming. */
2124
+ public clientStreaming: boolean;
2125
+
2126
+ /** MethodDescriptorProto serverStreaming. */
2127
+ public serverStreaming: boolean;
2128
+
2129
+ /**
2130
+ * Creates a new MethodDescriptorProto instance using the specified properties.
2131
+ * @param [properties] Properties to set
2132
+ * @returns MethodDescriptorProto instance
2133
+ */
2134
+ public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
2135
+
2136
+ /**
2137
+ * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
2138
+ * @param message MethodDescriptorProto message or plain object to encode
2139
+ * @param [writer] Writer to encode to
2140
+ * @returns Writer
2141
+ */
2142
+ public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2143
+
2144
+ /**
2145
+ * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
2146
+ * @param message MethodDescriptorProto message or plain object to encode
2147
+ * @param [writer] Writer to encode to
2148
+ * @returns Writer
2149
+ */
2150
+ public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
2151
+
2152
+ /**
2153
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer.
2154
+ * @param reader Reader or buffer to decode from
2155
+ * @param [length] Message length if known beforehand
2156
+ * @returns MethodDescriptorProto
2157
+ * @throws {Error} If the payload is not a reader or valid buffer
2158
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2159
+ */
2160
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
2161
+
2162
+ /**
2163
+ * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
2164
+ * @param reader Reader or buffer to decode from
2165
+ * @returns MethodDescriptorProto
2166
+ * @throws {Error} If the payload is not a reader or valid buffer
2167
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2168
+ */
2169
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
2170
+
2171
+ /**
2172
+ * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
2173
+ * @param object Plain object
2174
+ * @returns MethodDescriptorProto
2175
+ */
2176
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
2177
+
2178
+ /**
2179
+ * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
2180
+ * @param message MethodDescriptorProto
2181
+ * @param [options] Conversion options
2182
+ * @returns Plain object
2183
+ */
2184
+ public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
2185
+
2186
+ /**
2187
+ * Converts this MethodDescriptorProto to JSON.
2188
+ * @returns JSON object
2189
+ */
2190
+ public toJSON(): { [k: string]: any };
2191
+ }
2192
+
2193
+ /** Properties of a FileOptions. */
2194
+ interface IFileOptions {
2195
+
2196
+ /** FileOptions javaPackage */
2197
+ javaPackage?: (string|null);
2198
+
2199
+ /** FileOptions javaOuterClassname */
2200
+ javaOuterClassname?: (string|null);
2201
+
2202
+ /** FileOptions javaMultipleFiles */
2203
+ javaMultipleFiles?: (boolean|null);
2204
+
2205
+ /** FileOptions javaGenerateEqualsAndHash */
2206
+ javaGenerateEqualsAndHash?: (boolean|null);
2207
+
2208
+ /** FileOptions javaStringCheckUtf8 */
2209
+ javaStringCheckUtf8?: (boolean|null);
2210
+
2211
+ /** FileOptions optimizeFor */
2212
+ optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null);
2213
+
2214
+ /** FileOptions goPackage */
2215
+ goPackage?: (string|null);
2216
+
2217
+ /** FileOptions ccGenericServices */
2218
+ ccGenericServices?: (boolean|null);
2219
+
2220
+ /** FileOptions javaGenericServices */
2221
+ javaGenericServices?: (boolean|null);
2222
+
2223
+ /** FileOptions pyGenericServices */
2224
+ pyGenericServices?: (boolean|null);
2225
+
2226
+ /** FileOptions deprecated */
2227
+ deprecated?: (boolean|null);
2228
+
2229
+ /** FileOptions ccEnableArenas */
2230
+ ccEnableArenas?: (boolean|null);
2231
+
2232
+ /** FileOptions objcClassPrefix */
2233
+ objcClassPrefix?: (string|null);
2234
+
2235
+ /** FileOptions csharpNamespace */
2236
+ csharpNamespace?: (string|null);
2237
+
2238
+ /** FileOptions uninterpretedOption */
2239
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2240
+
2241
+ /** FileOptions .gogoproto.goprotoGettersAll */
2242
+ ".gogoproto.goprotoGettersAll"?: (boolean|null);
2243
+
2244
+ /** FileOptions .gogoproto.goprotoEnumPrefixAll */
2245
+ ".gogoproto.goprotoEnumPrefixAll"?: (boolean|null);
2246
+
2247
+ /** FileOptions .gogoproto.goprotoStringerAll */
2248
+ ".gogoproto.goprotoStringerAll"?: (boolean|null);
2249
+
2250
+ /** FileOptions .gogoproto.verboseEqualAll */
2251
+ ".gogoproto.verboseEqualAll"?: (boolean|null);
2252
+
2253
+ /** FileOptions .gogoproto.faceAll */
2254
+ ".gogoproto.faceAll"?: (boolean|null);
2255
+
2256
+ /** FileOptions .gogoproto.gostringAll */
2257
+ ".gogoproto.gostringAll"?: (boolean|null);
2258
+
2259
+ /** FileOptions .gogoproto.populateAll */
2260
+ ".gogoproto.populateAll"?: (boolean|null);
2261
+
2262
+ /** FileOptions .gogoproto.stringerAll */
2263
+ ".gogoproto.stringerAll"?: (boolean|null);
2264
+
2265
+ /** FileOptions .gogoproto.onlyoneAll */
2266
+ ".gogoproto.onlyoneAll"?: (boolean|null);
2267
+
2268
+ /** FileOptions .gogoproto.equalAll */
2269
+ ".gogoproto.equalAll"?: (boolean|null);
2270
+
2271
+ /** FileOptions .gogoproto.descriptionAll */
2272
+ ".gogoproto.descriptionAll"?: (boolean|null);
2273
+
2274
+ /** FileOptions .gogoproto.testgenAll */
2275
+ ".gogoproto.testgenAll"?: (boolean|null);
2276
+
2277
+ /** FileOptions .gogoproto.benchgenAll */
2278
+ ".gogoproto.benchgenAll"?: (boolean|null);
2279
+
2280
+ /** FileOptions .gogoproto.marshalerAll */
2281
+ ".gogoproto.marshalerAll"?: (boolean|null);
2282
+
2283
+ /** FileOptions .gogoproto.unmarshalerAll */
2284
+ ".gogoproto.unmarshalerAll"?: (boolean|null);
2285
+
2286
+ /** FileOptions .gogoproto.stableMarshalerAll */
2287
+ ".gogoproto.stableMarshalerAll"?: (boolean|null);
2288
+
2289
+ /** FileOptions .gogoproto.sizerAll */
2290
+ ".gogoproto.sizerAll"?: (boolean|null);
2291
+
2292
+ /** FileOptions .gogoproto.goprotoEnumStringerAll */
2293
+ ".gogoproto.goprotoEnumStringerAll"?: (boolean|null);
2294
+
2295
+ /** FileOptions .gogoproto.enumStringerAll */
2296
+ ".gogoproto.enumStringerAll"?: (boolean|null);
2297
+
2298
+ /** FileOptions .gogoproto.unsafeMarshalerAll */
2299
+ ".gogoproto.unsafeMarshalerAll"?: (boolean|null);
2300
+
2301
+ /** FileOptions .gogoproto.unsafeUnmarshalerAll */
2302
+ ".gogoproto.unsafeUnmarshalerAll"?: (boolean|null);
2303
+
2304
+ /** FileOptions .gogoproto.goprotoExtensionsMapAll */
2305
+ ".gogoproto.goprotoExtensionsMapAll"?: (boolean|null);
2306
+
2307
+ /** FileOptions .gogoproto.goprotoUnrecognizedAll */
2308
+ ".gogoproto.goprotoUnrecognizedAll"?: (boolean|null);
2309
+
2310
+ /** FileOptions .gogoproto.gogoprotoImport */
2311
+ ".gogoproto.gogoprotoImport"?: (boolean|null);
2312
+
2313
+ /** FileOptions .gogoproto.protosizerAll */
2314
+ ".gogoproto.protosizerAll"?: (boolean|null);
2315
+
2316
+ /** FileOptions .gogoproto.compareAll */
2317
+ ".gogoproto.compareAll"?: (boolean|null);
2318
+
2319
+ /** FileOptions .gogoproto.typedeclAll */
2320
+ ".gogoproto.typedeclAll"?: (boolean|null);
2321
+
2322
+ /** FileOptions .gogoproto.enumdeclAll */
2323
+ ".gogoproto.enumdeclAll"?: (boolean|null);
2324
+
2325
+ /** FileOptions .gogoproto.goprotoRegistration */
2326
+ ".gogoproto.goprotoRegistration"?: (boolean|null);
2327
+
2328
+ /** FileOptions .gogoproto.messagenameAll */
2329
+ ".gogoproto.messagenameAll"?: (boolean|null);
2330
+
2331
+ /** FileOptions .gogoproto.goprotoSizecacheAll */
2332
+ ".gogoproto.goprotoSizecacheAll"?: (boolean|null);
2333
+
2334
+ /** FileOptions .gogoproto.goprotoUnkeyedAll */
2335
+ ".gogoproto.goprotoUnkeyedAll"?: (boolean|null);
2336
+ }
2337
+
2338
+ /** Represents a FileOptions. */
2339
+ class FileOptions implements IFileOptions {
2340
+
2341
+ /**
2342
+ * Constructs a new FileOptions.
2343
+ * @param [properties] Properties to set
2344
+ */
2345
+ constructor(properties?: google.protobuf.IFileOptions);
2346
+
2347
+ /** FileOptions javaPackage. */
2348
+ public javaPackage: string;
2349
+
2350
+ /** FileOptions javaOuterClassname. */
2351
+ public javaOuterClassname: string;
2352
+
2353
+ /** FileOptions javaMultipleFiles. */
2354
+ public javaMultipleFiles: boolean;
2355
+
2356
+ /** FileOptions javaGenerateEqualsAndHash. */
2357
+ public javaGenerateEqualsAndHash: boolean;
2358
+
2359
+ /** FileOptions javaStringCheckUtf8. */
2360
+ public javaStringCheckUtf8: boolean;
2361
+
2362
+ /** FileOptions optimizeFor. */
2363
+ public optimizeFor: google.protobuf.FileOptions.OptimizeMode;
2364
+
2365
+ /** FileOptions goPackage. */
2366
+ public goPackage: string;
2367
+
2368
+ /** FileOptions ccGenericServices. */
2369
+ public ccGenericServices: boolean;
2370
+
2371
+ /** FileOptions javaGenericServices. */
2372
+ public javaGenericServices: boolean;
2373
+
2374
+ /** FileOptions pyGenericServices. */
2375
+ public pyGenericServices: boolean;
2376
+
2377
+ /** FileOptions deprecated. */
2378
+ public deprecated: boolean;
2379
+
2380
+ /** FileOptions ccEnableArenas. */
2381
+ public ccEnableArenas: boolean;
2382
+
2383
+ /** FileOptions objcClassPrefix. */
2384
+ public objcClassPrefix: string;
2385
+
2386
+ /** FileOptions csharpNamespace. */
2387
+ public csharpNamespace: string;
2388
+
2389
+ /** FileOptions uninterpretedOption. */
2390
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2391
+
2392
+ /**
2393
+ * Creates a new FileOptions instance using the specified properties.
2394
+ * @param [properties] Properties to set
2395
+ * @returns FileOptions instance
2396
+ */
2397
+ public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
2398
+
2399
+ /**
2400
+ * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
2401
+ * @param message FileOptions message or plain object to encode
2402
+ * @param [writer] Writer to encode to
2403
+ * @returns Writer
2404
+ */
2405
+ public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2406
+
2407
+ /**
2408
+ * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
2409
+ * @param message FileOptions message or plain object to encode
2410
+ * @param [writer] Writer to encode to
2411
+ * @returns Writer
2412
+ */
2413
+ public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2414
+
2415
+ /**
2416
+ * Decodes a FileOptions message from the specified reader or buffer.
2417
+ * @param reader Reader or buffer to decode from
2418
+ * @param [length] Message length if known beforehand
2419
+ * @returns FileOptions
2420
+ * @throws {Error} If the payload is not a reader or valid buffer
2421
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2422
+ */
2423
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
2424
+
2425
+ /**
2426
+ * Decodes a FileOptions message from the specified reader or buffer, length delimited.
2427
+ * @param reader Reader or buffer to decode from
2428
+ * @returns FileOptions
2429
+ * @throws {Error} If the payload is not a reader or valid buffer
2430
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2431
+ */
2432
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
2433
+
2434
+ /**
2435
+ * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
2436
+ * @param object Plain object
2437
+ * @returns FileOptions
2438
+ */
2439
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
2440
+
2441
+ /**
2442
+ * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
2443
+ * @param message FileOptions
2444
+ * @param [options] Conversion options
2445
+ * @returns Plain object
2446
+ */
2447
+ public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2448
+
2449
+ /**
2450
+ * Converts this FileOptions to JSON.
2451
+ * @returns JSON object
2452
+ */
2453
+ public toJSON(): { [k: string]: any };
2454
+ }
2455
+
2456
+ namespace FileOptions {
2457
+
2458
+ /** OptimizeMode enum. */
2459
+ enum OptimizeMode {
2460
+ SPEED = 1,
2461
+ CODE_SIZE = 2,
2462
+ LITE_RUNTIME = 3
2463
+ }
2464
+ }
2465
+
2466
+ /** Properties of a MessageOptions. */
2467
+ interface IMessageOptions {
2468
+
2469
+ /** MessageOptions messageSetWireFormat */
2470
+ messageSetWireFormat?: (boolean|null);
2471
+
2472
+ /** MessageOptions noStandardDescriptorAccessor */
2473
+ noStandardDescriptorAccessor?: (boolean|null);
2474
+
2475
+ /** MessageOptions deprecated */
2476
+ deprecated?: (boolean|null);
2477
+
2478
+ /** MessageOptions mapEntry */
2479
+ mapEntry?: (boolean|null);
2480
+
2481
+ /** MessageOptions uninterpretedOption */
2482
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2483
+
2484
+ /** MessageOptions .gogoproto.goprotoGetters */
2485
+ ".gogoproto.goprotoGetters"?: (boolean|null);
2486
+
2487
+ /** MessageOptions .gogoproto.goprotoStringer */
2488
+ ".gogoproto.goprotoStringer"?: (boolean|null);
2489
+
2490
+ /** MessageOptions .gogoproto.verboseEqual */
2491
+ ".gogoproto.verboseEqual"?: (boolean|null);
2492
+
2493
+ /** MessageOptions .gogoproto.face */
2494
+ ".gogoproto.face"?: (boolean|null);
2495
+
2496
+ /** MessageOptions .gogoproto.gostring */
2497
+ ".gogoproto.gostring"?: (boolean|null);
2498
+
2499
+ /** MessageOptions .gogoproto.populate */
2500
+ ".gogoproto.populate"?: (boolean|null);
2501
+
2502
+ /** MessageOptions .gogoproto.stringer */
2503
+ ".gogoproto.stringer"?: (boolean|null);
2504
+
2505
+ /** MessageOptions .gogoproto.onlyone */
2506
+ ".gogoproto.onlyone"?: (boolean|null);
2507
+
2508
+ /** MessageOptions .gogoproto.equal */
2509
+ ".gogoproto.equal"?: (boolean|null);
2510
+
2511
+ /** MessageOptions .gogoproto.description */
2512
+ ".gogoproto.description"?: (boolean|null);
2513
+
2514
+ /** MessageOptions .gogoproto.testgen */
2515
+ ".gogoproto.testgen"?: (boolean|null);
2516
+
2517
+ /** MessageOptions .gogoproto.benchgen */
2518
+ ".gogoproto.benchgen"?: (boolean|null);
2519
+
2520
+ /** MessageOptions .gogoproto.marshaler */
2521
+ ".gogoproto.marshaler"?: (boolean|null);
2522
+
2523
+ /** MessageOptions .gogoproto.unmarshaler */
2524
+ ".gogoproto.unmarshaler"?: (boolean|null);
2525
+
2526
+ /** MessageOptions .gogoproto.stableMarshaler */
2527
+ ".gogoproto.stableMarshaler"?: (boolean|null);
2528
+
2529
+ /** MessageOptions .gogoproto.sizer */
2530
+ ".gogoproto.sizer"?: (boolean|null);
2531
+
2532
+ /** MessageOptions .gogoproto.unsafeMarshaler */
2533
+ ".gogoproto.unsafeMarshaler"?: (boolean|null);
2534
+
2535
+ /** MessageOptions .gogoproto.unsafeUnmarshaler */
2536
+ ".gogoproto.unsafeUnmarshaler"?: (boolean|null);
2537
+
2538
+ /** MessageOptions .gogoproto.goprotoExtensionsMap */
2539
+ ".gogoproto.goprotoExtensionsMap"?: (boolean|null);
2540
+
2541
+ /** MessageOptions .gogoproto.goprotoUnrecognized */
2542
+ ".gogoproto.goprotoUnrecognized"?: (boolean|null);
2543
+
2544
+ /** MessageOptions .gogoproto.protosizer */
2545
+ ".gogoproto.protosizer"?: (boolean|null);
2546
+
2547
+ /** MessageOptions .gogoproto.compare */
2548
+ ".gogoproto.compare"?: (boolean|null);
2549
+
2550
+ /** MessageOptions .gogoproto.typedecl */
2551
+ ".gogoproto.typedecl"?: (boolean|null);
2552
+
2553
+ /** MessageOptions .gogoproto.messagename */
2554
+ ".gogoproto.messagename"?: (boolean|null);
2555
+
2556
+ /** MessageOptions .gogoproto.goprotoSizecache */
2557
+ ".gogoproto.goprotoSizecache"?: (boolean|null);
2558
+
2559
+ /** MessageOptions .gogoproto.goprotoUnkeyed */
2560
+ ".gogoproto.goprotoUnkeyed"?: (boolean|null);
2561
+ }
2562
+
2563
+ /** Represents a MessageOptions. */
2564
+ class MessageOptions implements IMessageOptions {
2565
+
2566
+ /**
2567
+ * Constructs a new MessageOptions.
2568
+ * @param [properties] Properties to set
2569
+ */
2570
+ constructor(properties?: google.protobuf.IMessageOptions);
2571
+
2572
+ /** MessageOptions messageSetWireFormat. */
2573
+ public messageSetWireFormat: boolean;
2574
+
2575
+ /** MessageOptions noStandardDescriptorAccessor. */
2576
+ public noStandardDescriptorAccessor: boolean;
2577
+
2578
+ /** MessageOptions deprecated. */
2579
+ public deprecated: boolean;
2580
+
2581
+ /** MessageOptions mapEntry. */
2582
+ public mapEntry: boolean;
2583
+
2584
+ /** MessageOptions uninterpretedOption. */
2585
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2586
+
2587
+ /**
2588
+ * Creates a new MessageOptions instance using the specified properties.
2589
+ * @param [properties] Properties to set
2590
+ * @returns MessageOptions instance
2591
+ */
2592
+ public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
2593
+
2594
+ /**
2595
+ * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
2596
+ * @param message MessageOptions message or plain object to encode
2597
+ * @param [writer] Writer to encode to
2598
+ * @returns Writer
2599
+ */
2600
+ public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2601
+
2602
+ /**
2603
+ * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
2604
+ * @param message MessageOptions message or plain object to encode
2605
+ * @param [writer] Writer to encode to
2606
+ * @returns Writer
2607
+ */
2608
+ public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2609
+
2610
+ /**
2611
+ * Decodes a MessageOptions message from the specified reader or buffer.
2612
+ * @param reader Reader or buffer to decode from
2613
+ * @param [length] Message length if known beforehand
2614
+ * @returns MessageOptions
2615
+ * @throws {Error} If the payload is not a reader or valid buffer
2616
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2617
+ */
2618
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
2619
+
2620
+ /**
2621
+ * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
2622
+ * @param reader Reader or buffer to decode from
2623
+ * @returns MessageOptions
2624
+ * @throws {Error} If the payload is not a reader or valid buffer
2625
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2626
+ */
2627
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
2628
+
2629
+ /**
2630
+ * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
2631
+ * @param object Plain object
2632
+ * @returns MessageOptions
2633
+ */
2634
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
2635
+
2636
+ /**
2637
+ * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
2638
+ * @param message MessageOptions
2639
+ * @param [options] Conversion options
2640
+ * @returns Plain object
2641
+ */
2642
+ public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2643
+
2644
+ /**
2645
+ * Converts this MessageOptions to JSON.
2646
+ * @returns JSON object
2647
+ */
2648
+ public toJSON(): { [k: string]: any };
2649
+ }
2650
+
2651
+ /** Properties of a FieldOptions. */
2652
+ interface IFieldOptions {
2653
+
2654
+ /** FieldOptions ctype */
2655
+ ctype?: (google.protobuf.FieldOptions.CType|null);
2656
+
2657
+ /** FieldOptions packed */
2658
+ packed?: (boolean|null);
2659
+
2660
+ /** FieldOptions jstype */
2661
+ jstype?: (google.protobuf.FieldOptions.JSType|null);
2662
+
2663
+ /** FieldOptions lazy */
2664
+ lazy?: (boolean|null);
2665
+
2666
+ /** FieldOptions deprecated */
2667
+ deprecated?: (boolean|null);
2668
+
2669
+ /** FieldOptions weak */
2670
+ weak?: (boolean|null);
2671
+
2672
+ /** FieldOptions uninterpretedOption */
2673
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2674
+
2675
+ /** FieldOptions .gogoproto.nullable */
2676
+ ".gogoproto.nullable"?: (boolean|null);
2677
+
2678
+ /** FieldOptions .gogoproto.embed */
2679
+ ".gogoproto.embed"?: (boolean|null);
2680
+
2681
+ /** FieldOptions .gogoproto.customtype */
2682
+ ".gogoproto.customtype"?: (string|null);
2683
+
2684
+ /** FieldOptions .gogoproto.customname */
2685
+ ".gogoproto.customname"?: (string|null);
2686
+
2687
+ /** FieldOptions .gogoproto.jsontag */
2688
+ ".gogoproto.jsontag"?: (string|null);
2689
+
2690
+ /** FieldOptions .gogoproto.moretags */
2691
+ ".gogoproto.moretags"?: (string|null);
2692
+
2693
+ /** FieldOptions .gogoproto.casttype */
2694
+ ".gogoproto.casttype"?: (string|null);
2695
+
2696
+ /** FieldOptions .gogoproto.castkey */
2697
+ ".gogoproto.castkey"?: (string|null);
2698
+
2699
+ /** FieldOptions .gogoproto.castvalue */
2700
+ ".gogoproto.castvalue"?: (string|null);
2701
+
2702
+ /** FieldOptions .gogoproto.stdtime */
2703
+ ".gogoproto.stdtime"?: (boolean|null);
2704
+
2705
+ /** FieldOptions .gogoproto.stdduration */
2706
+ ".gogoproto.stdduration"?: (boolean|null);
2707
+
2708
+ /** FieldOptions .gogoproto.wktpointer */
2709
+ ".gogoproto.wktpointer"?: (boolean|null);
2710
+ }
2711
+
2712
+ /** Represents a FieldOptions. */
2713
+ class FieldOptions implements IFieldOptions {
2714
+
2715
+ /**
2716
+ * Constructs a new FieldOptions.
2717
+ * @param [properties] Properties to set
2718
+ */
2719
+ constructor(properties?: google.protobuf.IFieldOptions);
2720
+
2721
+ /** FieldOptions ctype. */
2722
+ public ctype: google.protobuf.FieldOptions.CType;
2723
+
2724
+ /** FieldOptions packed. */
2725
+ public packed: boolean;
2726
+
2727
+ /** FieldOptions jstype. */
2728
+ public jstype: google.protobuf.FieldOptions.JSType;
2729
+
2730
+ /** FieldOptions lazy. */
2731
+ public lazy: boolean;
2732
+
2733
+ /** FieldOptions deprecated. */
2734
+ public deprecated: boolean;
2735
+
2736
+ /** FieldOptions weak. */
2737
+ public weak: boolean;
2738
+
2739
+ /** FieldOptions uninterpretedOption. */
2740
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2741
+
2742
+ /**
2743
+ * Creates a new FieldOptions instance using the specified properties.
2744
+ * @param [properties] Properties to set
2745
+ * @returns FieldOptions instance
2746
+ */
2747
+ public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
2748
+
2749
+ /**
2750
+ * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
2751
+ * @param message FieldOptions message or plain object to encode
2752
+ * @param [writer] Writer to encode to
2753
+ * @returns Writer
2754
+ */
2755
+ public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2756
+
2757
+ /**
2758
+ * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
2759
+ * @param message FieldOptions message or plain object to encode
2760
+ * @param [writer] Writer to encode to
2761
+ * @returns Writer
2762
+ */
2763
+ public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2764
+
2765
+ /**
2766
+ * Decodes a FieldOptions message from the specified reader or buffer.
2767
+ * @param reader Reader or buffer to decode from
2768
+ * @param [length] Message length if known beforehand
2769
+ * @returns FieldOptions
2770
+ * @throws {Error} If the payload is not a reader or valid buffer
2771
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2772
+ */
2773
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
2774
+
2775
+ /**
2776
+ * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
2777
+ * @param reader Reader or buffer to decode from
2778
+ * @returns FieldOptions
2779
+ * @throws {Error} If the payload is not a reader or valid buffer
2780
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2781
+ */
2782
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
2783
+
2784
+ /**
2785
+ * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
2786
+ * @param object Plain object
2787
+ * @returns FieldOptions
2788
+ */
2789
+ public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
2790
+
2791
+ /**
2792
+ * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
2793
+ * @param message FieldOptions
2794
+ * @param [options] Conversion options
2795
+ * @returns Plain object
2796
+ */
2797
+ public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2798
+
2799
+ /**
2800
+ * Converts this FieldOptions to JSON.
2801
+ * @returns JSON object
2802
+ */
2803
+ public toJSON(): { [k: string]: any };
2804
+ }
2805
+
2806
+ namespace FieldOptions {
2807
+
2808
+ /** CType enum. */
2809
+ enum CType {
2810
+ STRING = 0,
2811
+ CORD = 1,
2812
+ STRING_PIECE = 2
2813
+ }
2814
+
2815
+ /** JSType enum. */
2816
+ enum JSType {
2817
+ JS_NORMAL = 0,
2818
+ JS_STRING = 1,
2819
+ JS_NUMBER = 2
2820
+ }
2821
+ }
2822
+
2823
+ /** Properties of an OneofOptions. */
2824
+ interface IOneofOptions {
2825
+
2826
+ /** OneofOptions uninterpretedOption */
2827
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2828
+ }
2829
+
2830
+ /** Represents an OneofOptions. */
2831
+ class OneofOptions implements IOneofOptions {
2832
+
2833
+ /**
2834
+ * Constructs a new OneofOptions.
2835
+ * @param [properties] Properties to set
2836
+ */
2837
+ constructor(properties?: google.protobuf.IOneofOptions);
2838
+
2839
+ /** OneofOptions uninterpretedOption. */
2840
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2841
+
2842
+ /**
2843
+ * Creates a new OneofOptions instance using the specified properties.
2844
+ * @param [properties] Properties to set
2845
+ * @returns OneofOptions instance
2846
+ */
2847
+ public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
2848
+
2849
+ /**
2850
+ * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
2851
+ * @param message OneofOptions message or plain object to encode
2852
+ * @param [writer] Writer to encode to
2853
+ * @returns Writer
2854
+ */
2855
+ public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2856
+
2857
+ /**
2858
+ * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
2859
+ * @param message OneofOptions message or plain object to encode
2860
+ * @param [writer] Writer to encode to
2861
+ * @returns Writer
2862
+ */
2863
+ public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2864
+
2865
+ /**
2866
+ * Decodes an OneofOptions message from the specified reader or buffer.
2867
+ * @param reader Reader or buffer to decode from
2868
+ * @param [length] Message length if known beforehand
2869
+ * @returns OneofOptions
2870
+ * @throws {Error} If the payload is not a reader or valid buffer
2871
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2872
+ */
2873
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
2874
+
2875
+ /**
2876
+ * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
2877
+ * @param reader Reader or buffer to decode from
2878
+ * @returns OneofOptions
2879
+ * @throws {Error} If the payload is not a reader or valid buffer
2880
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2881
+ */
2882
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
2883
+
2884
+ /**
2885
+ * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
2886
+ * @param object Plain object
2887
+ * @returns OneofOptions
2888
+ */
2889
+ public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
2890
+
2891
+ /**
2892
+ * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
2893
+ * @param message OneofOptions
2894
+ * @param [options] Conversion options
2895
+ * @returns Plain object
2896
+ */
2897
+ public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2898
+
2899
+ /**
2900
+ * Converts this OneofOptions to JSON.
2901
+ * @returns JSON object
2902
+ */
2903
+ public toJSON(): { [k: string]: any };
2904
+ }
2905
+
2906
+ /** Properties of an EnumOptions. */
2907
+ interface IEnumOptions {
2908
+
2909
+ /** EnumOptions allowAlias */
2910
+ allowAlias?: (boolean|null);
2911
+
2912
+ /** EnumOptions deprecated */
2913
+ deprecated?: (boolean|null);
2914
+
2915
+ /** EnumOptions uninterpretedOption */
2916
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2917
+
2918
+ /** EnumOptions .gogoproto.goprotoEnumPrefix */
2919
+ ".gogoproto.goprotoEnumPrefix"?: (boolean|null);
2920
+
2921
+ /** EnumOptions .gogoproto.goprotoEnumStringer */
2922
+ ".gogoproto.goprotoEnumStringer"?: (boolean|null);
2923
+
2924
+ /** EnumOptions .gogoproto.enumStringer */
2925
+ ".gogoproto.enumStringer"?: (boolean|null);
2926
+
2927
+ /** EnumOptions .gogoproto.enumCustomname */
2928
+ ".gogoproto.enumCustomname"?: (string|null);
2929
+
2930
+ /** EnumOptions .gogoproto.enumdecl */
2931
+ ".gogoproto.enumdecl"?: (boolean|null);
2932
+ }
2933
+
2934
+ /** Represents an EnumOptions. */
2935
+ class EnumOptions implements IEnumOptions {
2936
+
2937
+ /**
2938
+ * Constructs a new EnumOptions.
2939
+ * @param [properties] Properties to set
2940
+ */
2941
+ constructor(properties?: google.protobuf.IEnumOptions);
2942
+
2943
+ /** EnumOptions allowAlias. */
2944
+ public allowAlias: boolean;
2945
+
2946
+ /** EnumOptions deprecated. */
2947
+ public deprecated: boolean;
2948
+
2949
+ /** EnumOptions uninterpretedOption. */
2950
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2951
+
2952
+ /**
2953
+ * Creates a new EnumOptions instance using the specified properties.
2954
+ * @param [properties] Properties to set
2955
+ * @returns EnumOptions instance
2956
+ */
2957
+ public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
2958
+
2959
+ /**
2960
+ * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
2961
+ * @param message EnumOptions message or plain object to encode
2962
+ * @param [writer] Writer to encode to
2963
+ * @returns Writer
2964
+ */
2965
+ public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2966
+
2967
+ /**
2968
+ * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
2969
+ * @param message EnumOptions message or plain object to encode
2970
+ * @param [writer] Writer to encode to
2971
+ * @returns Writer
2972
+ */
2973
+ public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2974
+
2975
+ /**
2976
+ * Decodes an EnumOptions message from the specified reader or buffer.
2977
+ * @param reader Reader or buffer to decode from
2978
+ * @param [length] Message length if known beforehand
2979
+ * @returns EnumOptions
2980
+ * @throws {Error} If the payload is not a reader or valid buffer
2981
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2982
+ */
2983
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
2984
+
2985
+ /**
2986
+ * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
2987
+ * @param reader Reader or buffer to decode from
2988
+ * @returns EnumOptions
2989
+ * @throws {Error} If the payload is not a reader or valid buffer
2990
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2991
+ */
2992
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
2993
+
2994
+ /**
2995
+ * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
2996
+ * @param object Plain object
2997
+ * @returns EnumOptions
2998
+ */
2999
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
3000
+
3001
+ /**
3002
+ * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
3003
+ * @param message EnumOptions
3004
+ * @param [options] Conversion options
3005
+ * @returns Plain object
3006
+ */
3007
+ public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3008
+
3009
+ /**
3010
+ * Converts this EnumOptions to JSON.
3011
+ * @returns JSON object
3012
+ */
3013
+ public toJSON(): { [k: string]: any };
3014
+ }
3015
+
3016
+ /** Properties of an EnumValueOptions. */
3017
+ interface IEnumValueOptions {
3018
+
3019
+ /** EnumValueOptions deprecated */
3020
+ deprecated?: (boolean|null);
3021
+
3022
+ /** EnumValueOptions uninterpretedOption */
3023
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3024
+
3025
+ /** EnumValueOptions .gogoproto.enumvalueCustomname */
3026
+ ".gogoproto.enumvalueCustomname"?: (string|null);
3027
+ }
3028
+
3029
+ /** Represents an EnumValueOptions. */
3030
+ class EnumValueOptions implements IEnumValueOptions {
3031
+
3032
+ /**
3033
+ * Constructs a new EnumValueOptions.
3034
+ * @param [properties] Properties to set
3035
+ */
3036
+ constructor(properties?: google.protobuf.IEnumValueOptions);
3037
+
3038
+ /** EnumValueOptions deprecated. */
3039
+ public deprecated: boolean;
3040
+
3041
+ /** EnumValueOptions uninterpretedOption. */
3042
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3043
+
3044
+ /**
3045
+ * Creates a new EnumValueOptions instance using the specified properties.
3046
+ * @param [properties] Properties to set
3047
+ * @returns EnumValueOptions instance
3048
+ */
3049
+ public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
3050
+
3051
+ /**
3052
+ * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
3053
+ * @param message EnumValueOptions message or plain object to encode
3054
+ * @param [writer] Writer to encode to
3055
+ * @returns Writer
3056
+ */
3057
+ public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3058
+
3059
+ /**
3060
+ * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
3061
+ * @param message EnumValueOptions message or plain object to encode
3062
+ * @param [writer] Writer to encode to
3063
+ * @returns Writer
3064
+ */
3065
+ public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3066
+
3067
+ /**
3068
+ * Decodes an EnumValueOptions message from the specified reader or buffer.
3069
+ * @param reader Reader or buffer to decode from
3070
+ * @param [length] Message length if known beforehand
3071
+ * @returns EnumValueOptions
3072
+ * @throws {Error} If the payload is not a reader or valid buffer
3073
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3074
+ */
3075
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
3076
+
3077
+ /**
3078
+ * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
3079
+ * @param reader Reader or buffer to decode from
3080
+ * @returns EnumValueOptions
3081
+ * @throws {Error} If the payload is not a reader or valid buffer
3082
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3083
+ */
3084
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
3085
+
3086
+ /**
3087
+ * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
3088
+ * @param object Plain object
3089
+ * @returns EnumValueOptions
3090
+ */
3091
+ public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
3092
+
3093
+ /**
3094
+ * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
3095
+ * @param message EnumValueOptions
3096
+ * @param [options] Conversion options
3097
+ * @returns Plain object
3098
+ */
3099
+ public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3100
+
3101
+ /**
3102
+ * Converts this EnumValueOptions to JSON.
3103
+ * @returns JSON object
3104
+ */
3105
+ public toJSON(): { [k: string]: any };
3106
+ }
3107
+
3108
+ /** Properties of a ServiceOptions. */
3109
+ interface IServiceOptions {
3110
+
3111
+ /** ServiceOptions deprecated */
3112
+ deprecated?: (boolean|null);
3113
+
3114
+ /** ServiceOptions uninterpretedOption */
3115
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3116
+ }
3117
+
3118
+ /** Represents a ServiceOptions. */
3119
+ class ServiceOptions implements IServiceOptions {
3120
+
3121
+ /**
3122
+ * Constructs a new ServiceOptions.
3123
+ * @param [properties] Properties to set
3124
+ */
3125
+ constructor(properties?: google.protobuf.IServiceOptions);
3126
+
3127
+ /** ServiceOptions deprecated. */
3128
+ public deprecated: boolean;
3129
+
3130
+ /** ServiceOptions uninterpretedOption. */
3131
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3132
+
3133
+ /**
3134
+ * Creates a new ServiceOptions instance using the specified properties.
3135
+ * @param [properties] Properties to set
3136
+ * @returns ServiceOptions instance
3137
+ */
3138
+ public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
3139
+
3140
+ /**
3141
+ * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
3142
+ * @param message ServiceOptions message or plain object to encode
3143
+ * @param [writer] Writer to encode to
3144
+ * @returns Writer
3145
+ */
3146
+ public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3147
+
3148
+ /**
3149
+ * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
3150
+ * @param message ServiceOptions message or plain object to encode
3151
+ * @param [writer] Writer to encode to
3152
+ * @returns Writer
3153
+ */
3154
+ public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3155
+
3156
+ /**
3157
+ * Decodes a ServiceOptions message from the specified reader or buffer.
3158
+ * @param reader Reader or buffer to decode from
3159
+ * @param [length] Message length if known beforehand
3160
+ * @returns ServiceOptions
3161
+ * @throws {Error} If the payload is not a reader or valid buffer
3162
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3163
+ */
3164
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
3165
+
3166
+ /**
3167
+ * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
3168
+ * @param reader Reader or buffer to decode from
3169
+ * @returns ServiceOptions
3170
+ * @throws {Error} If the payload is not a reader or valid buffer
3171
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3172
+ */
3173
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
3174
+
3175
+ /**
3176
+ * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
3177
+ * @param object Plain object
3178
+ * @returns ServiceOptions
3179
+ */
3180
+ public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
3181
+
3182
+ /**
3183
+ * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
3184
+ * @param message ServiceOptions
3185
+ * @param [options] Conversion options
3186
+ * @returns Plain object
3187
+ */
3188
+ public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3189
+
3190
+ /**
3191
+ * Converts this ServiceOptions to JSON.
3192
+ * @returns JSON object
3193
+ */
3194
+ public toJSON(): { [k: string]: any };
3195
+ }
3196
+
3197
+ /** Properties of a MethodOptions. */
3198
+ interface IMethodOptions {
3199
+
3200
+ /** MethodOptions deprecated */
3201
+ deprecated?: (boolean|null);
3202
+
3203
+ /** MethodOptions uninterpretedOption */
3204
+ uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3205
+ }
3206
+
3207
+ /** Represents a MethodOptions. */
3208
+ class MethodOptions implements IMethodOptions {
3209
+
3210
+ /**
3211
+ * Constructs a new MethodOptions.
3212
+ * @param [properties] Properties to set
3213
+ */
3214
+ constructor(properties?: google.protobuf.IMethodOptions);
3215
+
3216
+ /** MethodOptions deprecated. */
3217
+ public deprecated: boolean;
3218
+
3219
+ /** MethodOptions uninterpretedOption. */
3220
+ public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3221
+
3222
+ /**
3223
+ * Creates a new MethodOptions instance using the specified properties.
3224
+ * @param [properties] Properties to set
3225
+ * @returns MethodOptions instance
3226
+ */
3227
+ public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
3228
+
3229
+ /**
3230
+ * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
3231
+ * @param message MethodOptions message or plain object to encode
3232
+ * @param [writer] Writer to encode to
3233
+ * @returns Writer
3234
+ */
3235
+ public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3236
+
3237
+ /**
3238
+ * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
3239
+ * @param message MethodOptions message or plain object to encode
3240
+ * @param [writer] Writer to encode to
3241
+ * @returns Writer
3242
+ */
3243
+ public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3244
+
3245
+ /**
3246
+ * Decodes a MethodOptions message from the specified reader or buffer.
3247
+ * @param reader Reader or buffer to decode from
3248
+ * @param [length] Message length if known beforehand
3249
+ * @returns MethodOptions
3250
+ * @throws {Error} If the payload is not a reader or valid buffer
3251
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3252
+ */
3253
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
3254
+
3255
+ /**
3256
+ * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
3257
+ * @param reader Reader or buffer to decode from
3258
+ * @returns MethodOptions
3259
+ * @throws {Error} If the payload is not a reader or valid buffer
3260
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3261
+ */
3262
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
3263
+
3264
+ /**
3265
+ * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
3266
+ * @param object Plain object
3267
+ * @returns MethodOptions
3268
+ */
3269
+ public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
3270
+
3271
+ /**
3272
+ * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
3273
+ * @param message MethodOptions
3274
+ * @param [options] Conversion options
3275
+ * @returns Plain object
3276
+ */
3277
+ public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3278
+
3279
+ /**
3280
+ * Converts this MethodOptions to JSON.
3281
+ * @returns JSON object
3282
+ */
3283
+ public toJSON(): { [k: string]: any };
3284
+ }
3285
+
3286
+ /** Properties of an UninterpretedOption. */
3287
+ interface IUninterpretedOption {
3288
+
3289
+ /** UninterpretedOption name */
3290
+ name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
3291
+
3292
+ /** UninterpretedOption identifierValue */
3293
+ identifierValue?: (string|null);
3294
+
3295
+ /** UninterpretedOption positiveIntValue */
3296
+ positiveIntValue?: (Long|null);
3297
+
3298
+ /** UninterpretedOption negativeIntValue */
3299
+ negativeIntValue?: (Long|null);
3300
+
3301
+ /** UninterpretedOption doubleValue */
3302
+ doubleValue?: (number|null);
3303
+
3304
+ /** UninterpretedOption stringValue */
3305
+ stringValue?: (Uint8Array|null);
3306
+
3307
+ /** UninterpretedOption aggregateValue */
3308
+ aggregateValue?: (string|null);
3309
+ }
3310
+
3311
+ /** Represents an UninterpretedOption. */
3312
+ class UninterpretedOption implements IUninterpretedOption {
3313
+
3314
+ /**
3315
+ * Constructs a new UninterpretedOption.
3316
+ * @param [properties] Properties to set
3317
+ */
3318
+ constructor(properties?: google.protobuf.IUninterpretedOption);
3319
+
3320
+ /** UninterpretedOption name. */
3321
+ public name: google.protobuf.UninterpretedOption.INamePart[];
3322
+
3323
+ /** UninterpretedOption identifierValue. */
3324
+ public identifierValue: string;
3325
+
3326
+ /** UninterpretedOption positiveIntValue. */
3327
+ public positiveIntValue: Long;
3328
+
3329
+ /** UninterpretedOption negativeIntValue. */
3330
+ public negativeIntValue: Long;
3331
+
3332
+ /** UninterpretedOption doubleValue. */
3333
+ public doubleValue: number;
3334
+
3335
+ /** UninterpretedOption stringValue. */
3336
+ public stringValue: Uint8Array;
3337
+
3338
+ /** UninterpretedOption aggregateValue. */
3339
+ public aggregateValue: string;
3340
+
3341
+ /**
3342
+ * Creates a new UninterpretedOption instance using the specified properties.
3343
+ * @param [properties] Properties to set
3344
+ * @returns UninterpretedOption instance
3345
+ */
3346
+ public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
3347
+
3348
+ /**
3349
+ * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
3350
+ * @param message UninterpretedOption message or plain object to encode
3351
+ * @param [writer] Writer to encode to
3352
+ * @returns Writer
3353
+ */
3354
+ public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
3355
+
3356
+ /**
3357
+ * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
3358
+ * @param message UninterpretedOption message or plain object to encode
3359
+ * @param [writer] Writer to encode to
3360
+ * @returns Writer
3361
+ */
3362
+ public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
3363
+
3364
+ /**
3365
+ * Decodes an UninterpretedOption message from the specified reader or buffer.
3366
+ * @param reader Reader or buffer to decode from
3367
+ * @param [length] Message length if known beforehand
3368
+ * @returns UninterpretedOption
3369
+ * @throws {Error} If the payload is not a reader or valid buffer
3370
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3371
+ */
3372
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
3373
+
3374
+ /**
3375
+ * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
3376
+ * @param reader Reader or buffer to decode from
3377
+ * @returns UninterpretedOption
3378
+ * @throws {Error} If the payload is not a reader or valid buffer
3379
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3380
+ */
3381
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
3382
+
3383
+ /**
3384
+ * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
3385
+ * @param object Plain object
3386
+ * @returns UninterpretedOption
3387
+ */
3388
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
3389
+
3390
+ /**
3391
+ * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
3392
+ * @param message UninterpretedOption
3393
+ * @param [options] Conversion options
3394
+ * @returns Plain object
3395
+ */
3396
+ public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
3397
+
3398
+ /**
3399
+ * Converts this UninterpretedOption to JSON.
3400
+ * @returns JSON object
3401
+ */
3402
+ public toJSON(): { [k: string]: any };
3403
+ }
3404
+
3405
+ namespace UninterpretedOption {
3406
+
3407
+ /** Properties of a NamePart. */
3408
+ interface INamePart {
3409
+
3410
+ /** NamePart namePart */
3411
+ namePart: string;
3412
+
3413
+ /** NamePart isExtension */
3414
+ isExtension: boolean;
3415
+ }
3416
+
3417
+ /** Represents a NamePart. */
3418
+ class NamePart implements INamePart {
3419
+
3420
+ /**
3421
+ * Constructs a new NamePart.
3422
+ * @param [properties] Properties to set
3423
+ */
3424
+ constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
3425
+
3426
+ /** NamePart namePart. */
3427
+ public namePart: string;
3428
+
3429
+ /** NamePart isExtension. */
3430
+ public isExtension: boolean;
3431
+
3432
+ /**
3433
+ * Creates a new NamePart instance using the specified properties.
3434
+ * @param [properties] Properties to set
3435
+ * @returns NamePart instance
3436
+ */
3437
+ public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
3438
+
3439
+ /**
3440
+ * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
3441
+ * @param message NamePart message or plain object to encode
3442
+ * @param [writer] Writer to encode to
3443
+ * @returns Writer
3444
+ */
3445
+ public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
3446
+
3447
+ /**
3448
+ * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
3449
+ * @param message NamePart message or plain object to encode
3450
+ * @param [writer] Writer to encode to
3451
+ * @returns Writer
3452
+ */
3453
+ public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
3454
+
3455
+ /**
3456
+ * Decodes a NamePart message from the specified reader or buffer.
3457
+ * @param reader Reader or buffer to decode from
3458
+ * @param [length] Message length if known beforehand
3459
+ * @returns NamePart
3460
+ * @throws {Error} If the payload is not a reader or valid buffer
3461
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3462
+ */
3463
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
3464
+
3465
+ /**
3466
+ * Decodes a NamePart message from the specified reader or buffer, length delimited.
3467
+ * @param reader Reader or buffer to decode from
3468
+ * @returns NamePart
3469
+ * @throws {Error} If the payload is not a reader or valid buffer
3470
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3471
+ */
3472
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
3473
+
3474
+ /**
3475
+ * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
3476
+ * @param object Plain object
3477
+ * @returns NamePart
3478
+ */
3479
+ public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
3480
+
3481
+ /**
3482
+ * Creates a plain object from a NamePart message. Also converts values to other types if specified.
3483
+ * @param message NamePart
3484
+ * @param [options] Conversion options
3485
+ * @returns Plain object
3486
+ */
3487
+ public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
3488
+
3489
+ /**
3490
+ * Converts this NamePart to JSON.
3491
+ * @returns JSON object
3492
+ */
3493
+ public toJSON(): { [k: string]: any };
3494
+ }
3495
+ }
3496
+
3497
+ /** Properties of a SourceCodeInfo. */
3498
+ interface ISourceCodeInfo {
3499
+
3500
+ /** SourceCodeInfo location */
3501
+ location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
3502
+ }
3503
+
3504
+ /** Represents a SourceCodeInfo. */
3505
+ class SourceCodeInfo implements ISourceCodeInfo {
3506
+
3507
+ /**
3508
+ * Constructs a new SourceCodeInfo.
3509
+ * @param [properties] Properties to set
3510
+ */
3511
+ constructor(properties?: google.protobuf.ISourceCodeInfo);
3512
+
3513
+ /** SourceCodeInfo location. */
3514
+ public location: google.protobuf.SourceCodeInfo.ILocation[];
3515
+
3516
+ /**
3517
+ * Creates a new SourceCodeInfo instance using the specified properties.
3518
+ * @param [properties] Properties to set
3519
+ * @returns SourceCodeInfo instance
3520
+ */
3521
+ public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
3522
+
3523
+ /**
3524
+ * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
3525
+ * @param message SourceCodeInfo message or plain object to encode
3526
+ * @param [writer] Writer to encode to
3527
+ * @returns Writer
3528
+ */
3529
+ public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3530
+
3531
+ /**
3532
+ * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
3533
+ * @param message SourceCodeInfo message or plain object to encode
3534
+ * @param [writer] Writer to encode to
3535
+ * @returns Writer
3536
+ */
3537
+ public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3538
+
3539
+ /**
3540
+ * Decodes a SourceCodeInfo message from the specified reader or buffer.
3541
+ * @param reader Reader or buffer to decode from
3542
+ * @param [length] Message length if known beforehand
3543
+ * @returns SourceCodeInfo
3544
+ * @throws {Error} If the payload is not a reader or valid buffer
3545
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3546
+ */
3547
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
3548
+
3549
+ /**
3550
+ * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
3551
+ * @param reader Reader or buffer to decode from
3552
+ * @returns SourceCodeInfo
3553
+ * @throws {Error} If the payload is not a reader or valid buffer
3554
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3555
+ */
3556
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
3557
+
3558
+ /**
3559
+ * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
3560
+ * @param object Plain object
3561
+ * @returns SourceCodeInfo
3562
+ */
3563
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
3564
+
3565
+ /**
3566
+ * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
3567
+ * @param message SourceCodeInfo
3568
+ * @param [options] Conversion options
3569
+ * @returns Plain object
3570
+ */
3571
+ public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
3572
+
3573
+ /**
3574
+ * Converts this SourceCodeInfo to JSON.
3575
+ * @returns JSON object
3576
+ */
3577
+ public toJSON(): { [k: string]: any };
3578
+ }
3579
+
3580
+ namespace SourceCodeInfo {
3581
+
3582
+ /** Properties of a Location. */
3583
+ interface ILocation {
3584
+
3585
+ /** Location path */
3586
+ path?: (number[]|null);
3587
+
3588
+ /** Location span */
3589
+ span?: (number[]|null);
3590
+
3591
+ /** Location leadingComments */
3592
+ leadingComments?: (string|null);
3593
+
3594
+ /** Location trailingComments */
3595
+ trailingComments?: (string|null);
3596
+
3597
+ /** Location leadingDetachedComments */
3598
+ leadingDetachedComments?: (string[]|null);
3599
+ }
3600
+
3601
+ /** Represents a Location. */
3602
+ class Location implements ILocation {
3603
+
3604
+ /**
3605
+ * Constructs a new Location.
3606
+ * @param [properties] Properties to set
3607
+ */
3608
+ constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
3609
+
3610
+ /** Location path. */
3611
+ public path: number[];
3612
+
3613
+ /** Location span. */
3614
+ public span: number[];
3615
+
3616
+ /** Location leadingComments. */
3617
+ public leadingComments: string;
3618
+
3619
+ /** Location trailingComments. */
3620
+ public trailingComments: string;
3621
+
3622
+ /** Location leadingDetachedComments. */
3623
+ public leadingDetachedComments: string[];
3624
+
3625
+ /**
3626
+ * Creates a new Location instance using the specified properties.
3627
+ * @param [properties] Properties to set
3628
+ * @returns Location instance
3629
+ */
3630
+ public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
3631
+
3632
+ /**
3633
+ * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
3634
+ * @param message Location message or plain object to encode
3635
+ * @param [writer] Writer to encode to
3636
+ * @returns Writer
3637
+ */
3638
+ public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
3639
+
3640
+ /**
3641
+ * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
3642
+ * @param message Location message or plain object to encode
3643
+ * @param [writer] Writer to encode to
3644
+ * @returns Writer
3645
+ */
3646
+ public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
3647
+
3648
+ /**
3649
+ * Decodes a Location message from the specified reader or buffer.
3650
+ * @param reader Reader or buffer to decode from
3651
+ * @param [length] Message length if known beforehand
3652
+ * @returns Location
3653
+ * @throws {Error} If the payload is not a reader or valid buffer
3654
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3655
+ */
3656
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
3657
+
3658
+ /**
3659
+ * Decodes a Location message from the specified reader or buffer, length delimited.
3660
+ * @param reader Reader or buffer to decode from
3661
+ * @returns Location
3662
+ * @throws {Error} If the payload is not a reader or valid buffer
3663
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3664
+ */
3665
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
3666
+
3667
+ /**
3668
+ * Creates a Location message from a plain object. Also converts values to their respective internal types.
3669
+ * @param object Plain object
3670
+ * @returns Location
3671
+ */
3672
+ public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
3673
+
3674
+ /**
3675
+ * Creates a plain object from a Location message. Also converts values to other types if specified.
3676
+ * @param message Location
3677
+ * @param [options] Conversion options
3678
+ * @returns Plain object
3679
+ */
3680
+ public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
3681
+
3682
+ /**
3683
+ * Converts this Location to JSON.
3684
+ * @returns JSON object
3685
+ */
3686
+ public toJSON(): { [k: string]: any };
3687
+ }
3688
+ }
3689
+
3690
+ /** Properties of a GeneratedCodeInfo. */
3691
+ interface IGeneratedCodeInfo {
3692
+
3693
+ /** GeneratedCodeInfo annotation */
3694
+ annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
3695
+ }
3696
+
3697
+ /** Represents a GeneratedCodeInfo. */
3698
+ class GeneratedCodeInfo implements IGeneratedCodeInfo {
3699
+
3700
+ /**
3701
+ * Constructs a new GeneratedCodeInfo.
3702
+ * @param [properties] Properties to set
3703
+ */
3704
+ constructor(properties?: google.protobuf.IGeneratedCodeInfo);
3705
+
3706
+ /** GeneratedCodeInfo annotation. */
3707
+ public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
3708
+
3709
+ /**
3710
+ * Creates a new GeneratedCodeInfo instance using the specified properties.
3711
+ * @param [properties] Properties to set
3712
+ * @returns GeneratedCodeInfo instance
3713
+ */
3714
+ public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
3715
+
3716
+ /**
3717
+ * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
3718
+ * @param message GeneratedCodeInfo message or plain object to encode
3719
+ * @param [writer] Writer to encode to
3720
+ * @returns Writer
3721
+ */
3722
+ public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3723
+
3724
+ /**
3725
+ * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
3726
+ * @param message GeneratedCodeInfo message or plain object to encode
3727
+ * @param [writer] Writer to encode to
3728
+ * @returns Writer
3729
+ */
3730
+ public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3731
+
3732
+ /**
3733
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
3734
+ * @param reader Reader or buffer to decode from
3735
+ * @param [length] Message length if known beforehand
3736
+ * @returns GeneratedCodeInfo
3737
+ * @throws {Error} If the payload is not a reader or valid buffer
3738
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3739
+ */
3740
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
3741
+
3742
+ /**
3743
+ * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
3744
+ * @param reader Reader or buffer to decode from
3745
+ * @returns GeneratedCodeInfo
3746
+ * @throws {Error} If the payload is not a reader or valid buffer
3747
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3748
+ */
3749
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
3750
+
3751
+ /**
3752
+ * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
3753
+ * @param object Plain object
3754
+ * @returns GeneratedCodeInfo
3755
+ */
3756
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
3757
+
3758
+ /**
3759
+ * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
3760
+ * @param message GeneratedCodeInfo
3761
+ * @param [options] Conversion options
3762
+ * @returns Plain object
3763
+ */
3764
+ public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
3765
+
3766
+ /**
3767
+ * Converts this GeneratedCodeInfo to JSON.
3768
+ * @returns JSON object
3769
+ */
3770
+ public toJSON(): { [k: string]: any };
3771
+ }
3772
+
3773
+ namespace GeneratedCodeInfo {
3774
+
3775
+ /** Properties of an Annotation. */
3776
+ interface IAnnotation {
3777
+
3778
+ /** Annotation path */
3779
+ path?: (number[]|null);
3780
+
3781
+ /** Annotation sourceFile */
3782
+ sourceFile?: (string|null);
3783
+
3784
+ /** Annotation begin */
3785
+ begin?: (number|null);
3786
+
3787
+ /** Annotation end */
3788
+ end?: (number|null);
3789
+ }
3790
+
3791
+ /** Represents an Annotation. */
3792
+ class Annotation implements IAnnotation {
3793
+
3794
+ /**
3795
+ * Constructs a new Annotation.
3796
+ * @param [properties] Properties to set
3797
+ */
3798
+ constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
3799
+
3800
+ /** Annotation path. */
3801
+ public path: number[];
3802
+
3803
+ /** Annotation sourceFile. */
3804
+ public sourceFile: string;
3805
+
3806
+ /** Annotation begin. */
3807
+ public begin: number;
3808
+
3809
+ /** Annotation end. */
3810
+ public end: number;
3811
+
3812
+ /**
3813
+ * Creates a new Annotation instance using the specified properties.
3814
+ * @param [properties] Properties to set
3815
+ * @returns Annotation instance
3816
+ */
3817
+ public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
3818
+
3819
+ /**
3820
+ * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
3821
+ * @param message Annotation message or plain object to encode
3822
+ * @param [writer] Writer to encode to
3823
+ * @returns Writer
3824
+ */
3825
+ public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
3826
+
3827
+ /**
3828
+ * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
3829
+ * @param message Annotation message or plain object to encode
3830
+ * @param [writer] Writer to encode to
3831
+ * @returns Writer
3832
+ */
3833
+ public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
3834
+
3835
+ /**
3836
+ * Decodes an Annotation message from the specified reader or buffer.
3837
+ * @param reader Reader or buffer to decode from
3838
+ * @param [length] Message length if known beforehand
3839
+ * @returns Annotation
3840
+ * @throws {Error} If the payload is not a reader or valid buffer
3841
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3842
+ */
3843
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
3844
+
3845
+ /**
3846
+ * Decodes an Annotation message from the specified reader or buffer, length delimited.
3847
+ * @param reader Reader or buffer to decode from
3848
+ * @returns Annotation
3849
+ * @throws {Error} If the payload is not a reader or valid buffer
3850
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3851
+ */
3852
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
3853
+
3854
+ /**
3855
+ * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
3856
+ * @param object Plain object
3857
+ * @returns Annotation
3858
+ */
3859
+ public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
3860
+
3861
+ /**
3862
+ * Creates a plain object from an Annotation message. Also converts values to other types if specified.
3863
+ * @param message Annotation
3864
+ * @param [options] Conversion options
3865
+ * @returns Plain object
3866
+ */
3867
+ public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
3868
+
3869
+ /**
3870
+ * Converts this Annotation to JSON.
3871
+ * @returns JSON object
3872
+ */
3873
+ public toJSON(): { [k: string]: any };
3874
+ }
3875
+ }
3876
+
3877
+ /** Properties of an Empty. */
3878
+ interface IEmpty {
3879
+ }
3880
+
3881
+ /** Represents an Empty. */
3882
+ class Empty implements IEmpty {
3883
+
3884
+ /**
3885
+ * Constructs a new Empty.
3886
+ * @param [properties] Properties to set
3887
+ */
3888
+ constructor(properties?: google.protobuf.IEmpty);
3889
+
3890
+ /**
3891
+ * Creates a new Empty instance using the specified properties.
3892
+ * @param [properties] Properties to set
3893
+ * @returns Empty instance
3894
+ */
3895
+ public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
3896
+
3897
+ /**
3898
+ * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
3899
+ * @param message Empty message or plain object to encode
3900
+ * @param [writer] Writer to encode to
3901
+ * @returns Writer
3902
+ */
3903
+ public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
3904
+
3905
+ /**
3906
+ * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
3907
+ * @param message Empty message or plain object to encode
3908
+ * @param [writer] Writer to encode to
3909
+ * @returns Writer
3910
+ */
3911
+ public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
3912
+
3913
+ /**
3914
+ * Decodes an Empty message from the specified reader or buffer.
3915
+ * @param reader Reader or buffer to decode from
3916
+ * @param [length] Message length if known beforehand
3917
+ * @returns Empty
3918
+ * @throws {Error} If the payload is not a reader or valid buffer
3919
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3920
+ */
3921
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
3922
+
3923
+ /**
3924
+ * Decodes an Empty message from the specified reader or buffer, length delimited.
3925
+ * @param reader Reader or buffer to decode from
3926
+ * @returns Empty
3927
+ * @throws {Error} If the payload is not a reader or valid buffer
3928
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3929
+ */
3930
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
3931
+
3932
+ /**
3933
+ * Creates an Empty message from a plain object. Also converts values to their respective internal types.
3934
+ * @param object Plain object
3935
+ * @returns Empty
3936
+ */
3937
+ public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
3938
+
3939
+ /**
3940
+ * Creates a plain object from an Empty message. Also converts values to other types if specified.
3941
+ * @param message Empty
3942
+ * @param [options] Conversion options
3943
+ * @returns Plain object
3944
+ */
3945
+ public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
3946
+
3947
+ /**
3948
+ * Converts this Empty to JSON.
3949
+ * @returns JSON object
3950
+ */
3951
+ public toJSON(): { [k: string]: any };
3952
+ }
3953
+ }
3954
+ }