@google-cloud/profiler 5.0.4 → 5.0.5

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