UNPKG

360 kBTypeScriptView Raw
1// Copyright 2021 Google LLC.
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14import * as $protobuf from "protobufjs";
15/** Namespace google. */
16export namespace google {
17
18 /** Namespace cloud. */
19 namespace cloud {
20
21 /** Namespace compute. */
22 namespace compute {
23
24 /** Namespace v1. */
25 namespace v1 {
26
27 /** Properties of an Operation. */
28 interface IOperation {
29
30 /** Operation clientOperationId */
31 clientOperationId?: (string|null);
32
33 /** Operation creationTimestamp */
34 creationTimestamp?: (string|null);
35
36 /** Operation description */
37 description?: (string|null);
38
39 /** Operation endTime */
40 endTime?: (string|null);
41
42 /** Operation error */
43 error?: (google.cloud.compute.v1.IError|null);
44
45 /** Operation httpErrorMessage */
46 httpErrorMessage?: (string|null);
47
48 /** Operation httpErrorStatusCode */
49 httpErrorStatusCode?: (number|null);
50
51 /** Operation id */
52 id?: (string|null);
53
54 /** Operation insertTime */
55 insertTime?: (string|null);
56
57 /** Operation kind */
58 kind?: (string|null);
59
60 /** Operation name */
61 name?: (string|null);
62
63 /** Operation operationType */
64 operationType?: (string|null);
65
66 /** Operation progress */
67 progress?: (number|null);
68
69 /** Operation region */
70 region?: (string|null);
71
72 /** Operation selfLink */
73 selfLink?: (string|null);
74
75 /** Operation startTime */
76 startTime?: (string|null);
77
78 /** Operation status */
79 status?: (google.cloud.compute.v1.Operation.Status|null);
80
81 /** Operation statusMessage */
82 statusMessage?: (string|null);
83
84 /** Operation targetId */
85 targetId?: (string|null);
86
87 /** Operation targetLink */
88 targetLink?: (string|null);
89
90 /** Operation user */
91 user?: (string|null);
92
93 /** Operation warnings */
94 warnings?: (google.cloud.compute.v1.IWarnings[]|null);
95
96 /** Operation zone */
97 zone?: (string|null);
98 }
99
100 /** Represents an Operation. */
101 class Operation implements IOperation {
102
103 /**
104 * Constructs a new Operation.
105 * @param [properties] Properties to set
106 */
107 constructor(properties?: google.cloud.compute.v1.IOperation);
108
109 /** Operation clientOperationId. */
110 public clientOperationId?: (string|null);
111
112 /** Operation creationTimestamp. */
113 public creationTimestamp?: (string|null);
114
115 /** Operation description. */
116 public description?: (string|null);
117
118 /** Operation endTime. */
119 public endTime?: (string|null);
120
121 /** Operation error. */
122 public error?: (google.cloud.compute.v1.IError|null);
123
124 /** Operation httpErrorMessage. */
125 public httpErrorMessage?: (string|null);
126
127 /** Operation httpErrorStatusCode. */
128 public httpErrorStatusCode?: (number|null);
129
130 /** Operation id. */
131 public id?: (string|null);
132
133 /** Operation insertTime. */
134 public insertTime?: (string|null);
135
136 /** Operation kind. */
137 public kind?: (string|null);
138
139 /** Operation name. */
140 public name?: (string|null);
141
142 /** Operation operationType. */
143 public operationType?: (string|null);
144
145 /** Operation progress. */
146 public progress?: (number|null);
147
148 /** Operation region. */
149 public region?: (string|null);
150
151 /** Operation selfLink. */
152 public selfLink?: (string|null);
153
154 /** Operation startTime. */
155 public startTime?: (string|null);
156
157 /** Operation status. */
158 public status?: (google.cloud.compute.v1.Operation.Status|null);
159
160 /** Operation statusMessage. */
161 public statusMessage?: (string|null);
162
163 /** Operation targetId. */
164 public targetId?: (string|null);
165
166 /** Operation targetLink. */
167 public targetLink?: (string|null);
168
169 /** Operation user. */
170 public user?: (string|null);
171
172 /** Operation warnings. */
173 public warnings: google.cloud.compute.v1.IWarnings[];
174
175 /** Operation zone. */
176 public zone?: (string|null);
177
178 /** Operation _clientOperationId. */
179 public _clientOperationId?: "clientOperationId";
180
181 /** Operation _creationTimestamp. */
182 public _creationTimestamp?: "creationTimestamp";
183
184 /** Operation _description. */
185 public _description?: "description";
186
187 /** Operation _endTime. */
188 public _endTime?: "endTime";
189
190 /** Operation _error. */
191 public _error?: "error";
192
193 /** Operation _httpErrorMessage. */
194 public _httpErrorMessage?: "httpErrorMessage";
195
196 /** Operation _httpErrorStatusCode. */
197 public _httpErrorStatusCode?: "httpErrorStatusCode";
198
199 /** Operation _id. */
200 public _id?: "id";
201
202 /** Operation _insertTime. */
203 public _insertTime?: "insertTime";
204
205 /** Operation _kind. */
206 public _kind?: "kind";
207
208 /** Operation _name. */
209 public _name?: "name";
210
211 /** Operation _operationType. */
212 public _operationType?: "operationType";
213
214 /** Operation _progress. */
215 public _progress?: "progress";
216
217 /** Operation _region. */
218 public _region?: "region";
219
220 /** Operation _selfLink. */
221 public _selfLink?: "selfLink";
222
223 /** Operation _startTime. */
224 public _startTime?: "startTime";
225
226 /** Operation _status. */
227 public _status?: "status";
228
229 /** Operation _statusMessage. */
230 public _statusMessage?: "statusMessage";
231
232 /** Operation _targetId. */
233 public _targetId?: "targetId";
234
235 /** Operation _targetLink. */
236 public _targetLink?: "targetLink";
237
238 /** Operation _user. */
239 public _user?: "user";
240
241 /** Operation _zone. */
242 public _zone?: "zone";
243
244 /**
245 * Creates a new Operation instance using the specified properties.
246 * @param [properties] Properties to set
247 * @returns Operation instance
248 */
249 public static create(properties?: google.cloud.compute.v1.IOperation): google.cloud.compute.v1.Operation;
250
251 /**
252 * Encodes the specified Operation message. Does not implicitly {@link google.cloud.compute.v1.Operation.verify|verify} messages.
253 * @param message Operation message or plain object to encode
254 * @param [writer] Writer to encode to
255 * @returns Writer
256 */
257 public static encode(message: google.cloud.compute.v1.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
258
259 /**
260 * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Operation.verify|verify} messages.
261 * @param message Operation message or plain object to encode
262 * @param [writer] Writer to encode to
263 * @returns Writer
264 */
265 public static encodeDelimited(message: google.cloud.compute.v1.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
266
267 /**
268 * Decodes an Operation message from the specified reader or buffer.
269 * @param reader Reader or buffer to decode from
270 * @param [length] Message length if known beforehand
271 * @returns Operation
272 * @throws {Error} If the payload is not a reader or valid buffer
273 * @throws {$protobuf.util.ProtocolError} If required fields are missing
274 */
275 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Operation;
276
277 /**
278 * Decodes an Operation message from the specified reader or buffer, length delimited.
279 * @param reader Reader or buffer to decode from
280 * @returns Operation
281 * @throws {Error} If the payload is not a reader or valid buffer
282 * @throws {$protobuf.util.ProtocolError} If required fields are missing
283 */
284 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Operation;
285
286 /**
287 * Verifies an Operation message.
288 * @param message Plain object to verify
289 * @returns `null` if valid, otherwise the reason why it is not
290 */
291 public static verify(message: { [k: string]: any }): (string|null);
292
293 /**
294 * Creates an Operation message from a plain object. Also converts values to their respective internal types.
295 * @param object Plain object
296 * @returns Operation
297 */
298 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Operation;
299
300 /**
301 * Creates a plain object from an Operation message. Also converts values to other types if specified.
302 * @param message Operation
303 * @param [options] Conversion options
304 * @returns Plain object
305 */
306 public static toObject(message: google.cloud.compute.v1.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
307
308 /**
309 * Converts this Operation to JSON.
310 * @returns JSON object
311 */
312 public toJSON(): { [k: string]: any };
313 }
314
315 namespace Operation {
316
317 /** Status enum. */
318 enum Status {
319 UNDEFINED_STATUS = 0,
320 DONE = 2104194,
321 PENDING = 35394935,
322 RUNNING = 121282975
323 }
324 }
325
326 /** Properties of an Errors. */
327 interface IErrors {
328
329 /** Errors code */
330 code?: (string|null);
331
332 /** Errors location */
333 location?: (string|null);
334
335 /** Errors message */
336 message?: (string|null);
337 }
338
339 /** Represents an Errors. */
340 class Errors implements IErrors {
341
342 /**
343 * Constructs a new Errors.
344 * @param [properties] Properties to set
345 */
346 constructor(properties?: google.cloud.compute.v1.IErrors);
347
348 /** Errors code. */
349 public code?: (string|null);
350
351 /** Errors location. */
352 public location?: (string|null);
353
354 /** Errors message. */
355 public message?: (string|null);
356
357 /** Errors _code. */
358 public _code?: "code";
359
360 /** Errors _location. */
361 public _location?: "location";
362
363 /** Errors _message. */
364 public _message?: "message";
365
366 /**
367 * Creates a new Errors instance using the specified properties.
368 * @param [properties] Properties to set
369 * @returns Errors instance
370 */
371 public static create(properties?: google.cloud.compute.v1.IErrors): google.cloud.compute.v1.Errors;
372
373 /**
374 * Encodes the specified Errors message. Does not implicitly {@link google.cloud.compute.v1.Errors.verify|verify} messages.
375 * @param message Errors message or plain object to encode
376 * @param [writer] Writer to encode to
377 * @returns Writer
378 */
379 public static encode(message: google.cloud.compute.v1.IErrors, writer?: $protobuf.Writer): $protobuf.Writer;
380
381 /**
382 * Encodes the specified Errors message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Errors.verify|verify} messages.
383 * @param message Errors message or plain object to encode
384 * @param [writer] Writer to encode to
385 * @returns Writer
386 */
387 public static encodeDelimited(message: google.cloud.compute.v1.IErrors, writer?: $protobuf.Writer): $protobuf.Writer;
388
389 /**
390 * Decodes an Errors message from the specified reader or buffer.
391 * @param reader Reader or buffer to decode from
392 * @param [length] Message length if known beforehand
393 * @returns Errors
394 * @throws {Error} If the payload is not a reader or valid buffer
395 * @throws {$protobuf.util.ProtocolError} If required fields are missing
396 */
397 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Errors;
398
399 /**
400 * Decodes an Errors message from the specified reader or buffer, length delimited.
401 * @param reader Reader or buffer to decode from
402 * @returns Errors
403 * @throws {Error} If the payload is not a reader or valid buffer
404 * @throws {$protobuf.util.ProtocolError} If required fields are missing
405 */
406 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Errors;
407
408 /**
409 * Verifies an Errors message.
410 * @param message Plain object to verify
411 * @returns `null` if valid, otherwise the reason why it is not
412 */
413 public static verify(message: { [k: string]: any }): (string|null);
414
415 /**
416 * Creates an Errors message from a plain object. Also converts values to their respective internal types.
417 * @param object Plain object
418 * @returns Errors
419 */
420 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Errors;
421
422 /**
423 * Creates a plain object from an Errors message. Also converts values to other types if specified.
424 * @param message Errors
425 * @param [options] Conversion options
426 * @returns Plain object
427 */
428 public static toObject(message: google.cloud.compute.v1.Errors, options?: $protobuf.IConversionOptions): { [k: string]: any };
429
430 /**
431 * Converts this Errors to JSON.
432 * @returns JSON object
433 */
434 public toJSON(): { [k: string]: any };
435 }
436
437 /** Properties of an Error. */
438 interface IError {
439
440 /** Error errors */
441 errors?: (google.cloud.compute.v1.IErrors[]|null);
442 }
443
444 /** Represents an Error. */
445 class Error implements IError {
446
447 /**
448 * Constructs a new Error.
449 * @param [properties] Properties to set
450 */
451 constructor(properties?: google.cloud.compute.v1.IError);
452
453 /** Error errors. */
454 public errors: google.cloud.compute.v1.IErrors[];
455
456 /**
457 * Creates a new Error instance using the specified properties.
458 * @param [properties] Properties to set
459 * @returns Error instance
460 */
461 public static create(properties?: google.cloud.compute.v1.IError): google.cloud.compute.v1.Error;
462
463 /**
464 * Encodes the specified Error message. Does not implicitly {@link google.cloud.compute.v1.Error.verify|verify} messages.
465 * @param message Error message or plain object to encode
466 * @param [writer] Writer to encode to
467 * @returns Writer
468 */
469 public static encode(message: google.cloud.compute.v1.IError, writer?: $protobuf.Writer): $protobuf.Writer;
470
471 /**
472 * Encodes the specified Error message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Error.verify|verify} messages.
473 * @param message Error message or plain object to encode
474 * @param [writer] Writer to encode to
475 * @returns Writer
476 */
477 public static encodeDelimited(message: google.cloud.compute.v1.IError, writer?: $protobuf.Writer): $protobuf.Writer;
478
479 /**
480 * Decodes an Error message from the specified reader or buffer.
481 * @param reader Reader or buffer to decode from
482 * @param [length] Message length if known beforehand
483 * @returns Error
484 * @throws {Error} If the payload is not a reader or valid buffer
485 * @throws {$protobuf.util.ProtocolError} If required fields are missing
486 */
487 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Error;
488
489 /**
490 * Decodes an Error message from the specified reader or buffer, length delimited.
491 * @param reader Reader or buffer to decode from
492 * @returns Error
493 * @throws {Error} If the payload is not a reader or valid buffer
494 * @throws {$protobuf.util.ProtocolError} If required fields are missing
495 */
496 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Error;
497
498 /**
499 * Verifies an Error message.
500 * @param message Plain object to verify
501 * @returns `null` if valid, otherwise the reason why it is not
502 */
503 public static verify(message: { [k: string]: any }): (string|null);
504
505 /**
506 * Creates an Error message from a plain object. Also converts values to their respective internal types.
507 * @param object Plain object
508 * @returns Error
509 */
510 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Error;
511
512 /**
513 * Creates a plain object from an Error message. Also converts values to other types if specified.
514 * @param message Error
515 * @param [options] Conversion options
516 * @returns Plain object
517 */
518 public static toObject(message: google.cloud.compute.v1.Error, options?: $protobuf.IConversionOptions): { [k: string]: any };
519
520 /**
521 * Converts this Error to JSON.
522 * @returns JSON object
523 */
524 public toJSON(): { [k: string]: any };
525 }
526
527 /** Properties of a Warnings. */
528 interface IWarnings {
529
530 /** Warnings code */
531 code?: (google.cloud.compute.v1.Warnings.Code|null);
532
533 /** Warnings data */
534 data?: (google.cloud.compute.v1.IData[]|null);
535
536 /** Warnings message */
537 message?: (string|null);
538 }
539
540 /** Represents a Warnings. */
541 class Warnings implements IWarnings {
542
543 /**
544 * Constructs a new Warnings.
545 * @param [properties] Properties to set
546 */
547 constructor(properties?: google.cloud.compute.v1.IWarnings);
548
549 /** Warnings code. */
550 public code?: (google.cloud.compute.v1.Warnings.Code|null);
551
552 /** Warnings data. */
553 public data: google.cloud.compute.v1.IData[];
554
555 /** Warnings message. */
556 public message?: (string|null);
557
558 /** Warnings _code. */
559 public _code?: "code";
560
561 /** Warnings _message. */
562 public _message?: "message";
563
564 /**
565 * Creates a new Warnings instance using the specified properties.
566 * @param [properties] Properties to set
567 * @returns Warnings instance
568 */
569 public static create(properties?: google.cloud.compute.v1.IWarnings): google.cloud.compute.v1.Warnings;
570
571 /**
572 * Encodes the specified Warnings message. Does not implicitly {@link google.cloud.compute.v1.Warnings.verify|verify} messages.
573 * @param message Warnings message or plain object to encode
574 * @param [writer] Writer to encode to
575 * @returns Writer
576 */
577 public static encode(message: google.cloud.compute.v1.IWarnings, writer?: $protobuf.Writer): $protobuf.Writer;
578
579 /**
580 * Encodes the specified Warnings message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Warnings.verify|verify} messages.
581 * @param message Warnings message or plain object to encode
582 * @param [writer] Writer to encode to
583 * @returns Writer
584 */
585 public static encodeDelimited(message: google.cloud.compute.v1.IWarnings, writer?: $protobuf.Writer): $protobuf.Writer;
586
587 /**
588 * Decodes a Warnings message from the specified reader or buffer.
589 * @param reader Reader or buffer to decode from
590 * @param [length] Message length if known beforehand
591 * @returns Warnings
592 * @throws {Error} If the payload is not a reader or valid buffer
593 * @throws {$protobuf.util.ProtocolError} If required fields are missing
594 */
595 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Warnings;
596
597 /**
598 * Decodes a Warnings message from the specified reader or buffer, length delimited.
599 * @param reader Reader or buffer to decode from
600 * @returns Warnings
601 * @throws {Error} If the payload is not a reader or valid buffer
602 * @throws {$protobuf.util.ProtocolError} If required fields are missing
603 */
604 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Warnings;
605
606 /**
607 * Verifies a Warnings message.
608 * @param message Plain object to verify
609 * @returns `null` if valid, otherwise the reason why it is not
610 */
611 public static verify(message: { [k: string]: any }): (string|null);
612
613 /**
614 * Creates a Warnings message from a plain object. Also converts values to their respective internal types.
615 * @param object Plain object
616 * @returns Warnings
617 */
618 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Warnings;
619
620 /**
621 * Creates a plain object from a Warnings message. Also converts values to other types if specified.
622 * @param message Warnings
623 * @param [options] Conversion options
624 * @returns Plain object
625 */
626 public static toObject(message: google.cloud.compute.v1.Warnings, options?: $protobuf.IConversionOptions): { [k: string]: any };
627
628 /**
629 * Converts this Warnings to JSON.
630 * @returns JSON object
631 */
632 public toJSON(): { [k: string]: any };
633 }
634
635 namespace Warnings {
636
637 /** Code enum. */
638 enum Code {
639 UNDEFINED_CODE = 0,
640 CLEANUP_FAILED = 150308440,
641 DEPRECATED_RESOURCE_USED = 391835586,
642 DEPRECATED_TYPE_USED = 346526230,
643 DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967,
644 EXPERIMENTAL_TYPE_USED = 451954443,
645 EXTERNAL_API_WARNING = 175546307,
646 FIELD_VALUE_OVERRIDEN = 329669423,
647 INJECTED_KERNELS_DEPRECATED = 417377419,
648 MISSING_TYPE_DEPENDENCY = 344505463,
649 NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999,
650 NEXT_HOP_CANNOT_IP_FORWARD = 383382887,
651 NEXT_HOP_INSTANCE_NOT_FOUND = 464250446,
652 NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146,
653 NEXT_HOP_NOT_RUNNING = 417081265,
654 NOT_CRITICAL_ERROR = 105763924,
655 NO_RESULTS_ON_PAGE = 30036744,
656 REQUIRED_TOS_AGREEMENT = 3745539,
657 RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641,
658 RESOURCE_NOT_DELETED = 168598460,
659 SCHEMA_VALIDATION_IGNORED = 275245642,
660 SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617,
661 UNDECLARED_PROPERTIES = 390513439,
662 UNREACHABLE = 13328052
663 }
664 }
665
666 /** Properties of a Warning. */
667 interface IWarning {
668
669 /** Warning code */
670 code?: (google.cloud.compute.v1.Warning.Code|null);
671
672 /** Warning data */
673 data?: (google.cloud.compute.v1.IData[]|null);
674
675 /** Warning message */
676 message?: (string|null);
677 }
678
679 /** Represents a Warning. */
680 class Warning implements IWarning {
681
682 /**
683 * Constructs a new Warning.
684 * @param [properties] Properties to set
685 */
686 constructor(properties?: google.cloud.compute.v1.IWarning);
687
688 /** Warning code. */
689 public code?: (google.cloud.compute.v1.Warning.Code|null);
690
691 /** Warning data. */
692 public data: google.cloud.compute.v1.IData[];
693
694 /** Warning message. */
695 public message?: (string|null);
696
697 /** Warning _code. */
698 public _code?: "code";
699
700 /** Warning _message. */
701 public _message?: "message";
702
703 /**
704 * Creates a new Warning instance using the specified properties.
705 * @param [properties] Properties to set
706 * @returns Warning instance
707 */
708 public static create(properties?: google.cloud.compute.v1.IWarning): google.cloud.compute.v1.Warning;
709
710 /**
711 * Encodes the specified Warning message. Does not implicitly {@link google.cloud.compute.v1.Warning.verify|verify} messages.
712 * @param message Warning message or plain object to encode
713 * @param [writer] Writer to encode to
714 * @returns Writer
715 */
716 public static encode(message: google.cloud.compute.v1.IWarning, writer?: $protobuf.Writer): $protobuf.Writer;
717
718 /**
719 * Encodes the specified Warning message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Warning.verify|verify} messages.
720 * @param message Warning message or plain object to encode
721 * @param [writer] Writer to encode to
722 * @returns Writer
723 */
724 public static encodeDelimited(message: google.cloud.compute.v1.IWarning, writer?: $protobuf.Writer): $protobuf.Writer;
725
726 /**
727 * Decodes a Warning message from the specified reader or buffer.
728 * @param reader Reader or buffer to decode from
729 * @param [length] Message length if known beforehand
730 * @returns Warning
731 * @throws {Error} If the payload is not a reader or valid buffer
732 * @throws {$protobuf.util.ProtocolError} If required fields are missing
733 */
734 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Warning;
735
736 /**
737 * Decodes a Warning message from the specified reader or buffer, length delimited.
738 * @param reader Reader or buffer to decode from
739 * @returns Warning
740 * @throws {Error} If the payload is not a reader or valid buffer
741 * @throws {$protobuf.util.ProtocolError} If required fields are missing
742 */
743 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Warning;
744
745 /**
746 * Verifies a Warning message.
747 * @param message Plain object to verify
748 * @returns `null` if valid, otherwise the reason why it is not
749 */
750 public static verify(message: { [k: string]: any }): (string|null);
751
752 /**
753 * Creates a Warning message from a plain object. Also converts values to their respective internal types.
754 * @param object Plain object
755 * @returns Warning
756 */
757 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Warning;
758
759 /**
760 * Creates a plain object from a Warning message. Also converts values to other types if specified.
761 * @param message Warning
762 * @param [options] Conversion options
763 * @returns Plain object
764 */
765 public static toObject(message: google.cloud.compute.v1.Warning, options?: $protobuf.IConversionOptions): { [k: string]: any };
766
767 /**
768 * Converts this Warning to JSON.
769 * @returns JSON object
770 */
771 public toJSON(): { [k: string]: any };
772 }
773
774 namespace Warning {
775
776 /** Code enum. */
777 enum Code {
778 UNDEFINED_CODE = 0,
779 CLEANUP_FAILED = 150308440,
780 DEPRECATED_RESOURCE_USED = 391835586,
781 DEPRECATED_TYPE_USED = 346526230,
782 DISK_SIZE_LARGER_THAN_IMAGE_SIZE = 369442967,
783 EXPERIMENTAL_TYPE_USED = 451954443,
784 EXTERNAL_API_WARNING = 175546307,
785 FIELD_VALUE_OVERRIDEN = 329669423,
786 INJECTED_KERNELS_DEPRECATED = 417377419,
787 LARGE_DEPLOYMENT_WARNING = 481440678,
788 MISSING_TYPE_DEPENDENCY = 344505463,
789 NEXT_HOP_ADDRESS_NOT_ASSIGNED = 324964999,
790 NEXT_HOP_CANNOT_IP_FORWARD = 383382887,
791 NEXT_HOP_INSTANCE_NOT_FOUND = 464250446,
792 NEXT_HOP_INSTANCE_NOT_ON_NETWORK = 243758146,
793 NEXT_HOP_NOT_RUNNING = 417081265,
794 NOT_CRITICAL_ERROR = 105763924,
795 NO_RESULTS_ON_PAGE = 30036744,
796 PARTIAL_SUCCESS = 39966469,
797 REQUIRED_TOS_AGREEMENT = 3745539,
798 RESOURCE_IN_USE_BY_OTHER_RESOURCE_WARNING = 496728641,
799 RESOURCE_NOT_DELETED = 168598460,
800 SCHEMA_VALIDATION_IGNORED = 275245642,
801 SINGLE_INSTANCE_PROPERTY_TEMPLATE = 268305617,
802 UNDECLARED_PROPERTIES = 390513439,
803 UNREACHABLE = 13328052
804 }
805 }
806
807 /** Properties of a Data. */
808 interface IData {
809
810 /** Data key */
811 key?: (string|null);
812
813 /** Data value */
814 value?: (string|null);
815 }
816
817 /** Represents a Data. */
818 class Data implements IData {
819
820 /**
821 * Constructs a new Data.
822 * @param [properties] Properties to set
823 */
824 constructor(properties?: google.cloud.compute.v1.IData);
825
826 /** Data key. */
827 public key?: (string|null);
828
829 /** Data value. */
830 public value?: (string|null);
831
832 /** Data _key. */
833 public _key?: "key";
834
835 /** Data _value. */
836 public _value?: "value";
837
838 /**
839 * Creates a new Data instance using the specified properties.
840 * @param [properties] Properties to set
841 * @returns Data instance
842 */
843 public static create(properties?: google.cloud.compute.v1.IData): google.cloud.compute.v1.Data;
844
845 /**
846 * Encodes the specified Data message. Does not implicitly {@link google.cloud.compute.v1.Data.verify|verify} messages.
847 * @param message Data message or plain object to encode
848 * @param [writer] Writer to encode to
849 * @returns Writer
850 */
851 public static encode(message: google.cloud.compute.v1.IData, writer?: $protobuf.Writer): $protobuf.Writer;
852
853 /**
854 * Encodes the specified Data message, length delimited. Does not implicitly {@link google.cloud.compute.v1.Data.verify|verify} messages.
855 * @param message Data message or plain object to encode
856 * @param [writer] Writer to encode to
857 * @returns Writer
858 */
859 public static encodeDelimited(message: google.cloud.compute.v1.IData, writer?: $protobuf.Writer): $protobuf.Writer;
860
861 /**
862 * Decodes a Data message from the specified reader or buffer.
863 * @param reader Reader or buffer to decode from
864 * @param [length] Message length if known beforehand
865 * @returns Data
866 * @throws {Error} If the payload is not a reader or valid buffer
867 * @throws {$protobuf.util.ProtocolError} If required fields are missing
868 */
869 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.Data;
870
871 /**
872 * Decodes a Data message from the specified reader or buffer, length delimited.
873 * @param reader Reader or buffer to decode from
874 * @returns Data
875 * @throws {Error} If the payload is not a reader or valid buffer
876 * @throws {$protobuf.util.ProtocolError} If required fields are missing
877 */
878 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.Data;
879
880 /**
881 * Verifies a Data message.
882 * @param message Plain object to verify
883 * @returns `null` if valid, otherwise the reason why it is not
884 */
885 public static verify(message: { [k: string]: any }): (string|null);
886
887 /**
888 * Creates a Data message from a plain object. Also converts values to their respective internal types.
889 * @param object Plain object
890 * @returns Data
891 */
892 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.Data;
893
894 /**
895 * Creates a plain object from a Data message. Also converts values to other types if specified.
896 * @param message Data
897 * @param [options] Conversion options
898 * @returns Plain object
899 */
900 public static toObject(message: google.cloud.compute.v1.Data, options?: $protobuf.IConversionOptions): { [k: string]: any };
901
902 /**
903 * Converts this Data to JSON.
904 * @returns JSON object
905 */
906 public toJSON(): { [k: string]: any };
907 }
908
909 /** Properties of an OperationsScopedList. */
910 interface IOperationsScopedList {
911
912 /** OperationsScopedList operations */
913 operations?: (google.cloud.compute.v1.IOperation[]|null);
914
915 /** OperationsScopedList warning */
916 warning?: (google.cloud.compute.v1.IWarning|null);
917 }
918
919 /** Represents an OperationsScopedList. */
920 class OperationsScopedList implements IOperationsScopedList {
921
922 /**
923 * Constructs a new OperationsScopedList.
924 * @param [properties] Properties to set
925 */
926 constructor(properties?: google.cloud.compute.v1.IOperationsScopedList);
927
928 /** OperationsScopedList operations. */
929 public operations: google.cloud.compute.v1.IOperation[];
930
931 /** OperationsScopedList warning. */
932 public warning?: (google.cloud.compute.v1.IWarning|null);
933
934 /** OperationsScopedList _warning. */
935 public _warning?: "warning";
936
937 /**
938 * Creates a new OperationsScopedList instance using the specified properties.
939 * @param [properties] Properties to set
940 * @returns OperationsScopedList instance
941 */
942 public static create(properties?: google.cloud.compute.v1.IOperationsScopedList): google.cloud.compute.v1.OperationsScopedList;
943
944 /**
945 * Encodes the specified OperationsScopedList message. Does not implicitly {@link google.cloud.compute.v1.OperationsScopedList.verify|verify} messages.
946 * @param message OperationsScopedList message or plain object to encode
947 * @param [writer] Writer to encode to
948 * @returns Writer
949 */
950 public static encode(message: google.cloud.compute.v1.IOperationsScopedList, writer?: $protobuf.Writer): $protobuf.Writer;
951
952 /**
953 * Encodes the specified OperationsScopedList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.OperationsScopedList.verify|verify} messages.
954 * @param message OperationsScopedList message or plain object to encode
955 * @param [writer] Writer to encode to
956 * @returns Writer
957 */
958 public static encodeDelimited(message: google.cloud.compute.v1.IOperationsScopedList, writer?: $protobuf.Writer): $protobuf.Writer;
959
960 /**
961 * Decodes an OperationsScopedList message from the specified reader or buffer.
962 * @param reader Reader or buffer to decode from
963 * @param [length] Message length if known beforehand
964 * @returns OperationsScopedList
965 * @throws {Error} If the payload is not a reader or valid buffer
966 * @throws {$protobuf.util.ProtocolError} If required fields are missing
967 */
968 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.OperationsScopedList;
969
970 /**
971 * Decodes an OperationsScopedList message from the specified reader or buffer, length delimited.
972 * @param reader Reader or buffer to decode from
973 * @returns OperationsScopedList
974 * @throws {Error} If the payload is not a reader or valid buffer
975 * @throws {$protobuf.util.ProtocolError} If required fields are missing
976 */
977 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.OperationsScopedList;
978
979 /**
980 * Verifies an OperationsScopedList message.
981 * @param message Plain object to verify
982 * @returns `null` if valid, otherwise the reason why it is not
983 */
984 public static verify(message: { [k: string]: any }): (string|null);
985
986 /**
987 * Creates an OperationsScopedList message from a plain object. Also converts values to their respective internal types.
988 * @param object Plain object
989 * @returns OperationsScopedList
990 */
991 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.OperationsScopedList;
992
993 /**
994 * Creates a plain object from an OperationsScopedList message. Also converts values to other types if specified.
995 * @param message OperationsScopedList
996 * @param [options] Conversion options
997 * @returns Plain object
998 */
999 public static toObject(message: google.cloud.compute.v1.OperationsScopedList, options?: $protobuf.IConversionOptions): { [k: string]: any };
1000
1001 /**
1002 * Converts this OperationsScopedList to JSON.
1003 * @returns JSON object
1004 */
1005 public toJSON(): { [k: string]: any };
1006 }
1007
1008 /** Properties of an OperationAggregatedList. */
1009 interface IOperationAggregatedList {
1010
1011 /** OperationAggregatedList id */
1012 id?: (string|null);
1013
1014 /** OperationAggregatedList items */
1015 items?: ({ [k: string]: google.cloud.compute.v1.IOperationsScopedList }|null);
1016
1017 /** OperationAggregatedList kind */
1018 kind?: (string|null);
1019
1020 /** OperationAggregatedList nextPageToken */
1021 nextPageToken?: (string|null);
1022
1023 /** OperationAggregatedList selfLink */
1024 selfLink?: (string|null);
1025
1026 /** OperationAggregatedList unreachables */
1027 unreachables?: (string[]|null);
1028
1029 /** OperationAggregatedList warning */
1030 warning?: (google.cloud.compute.v1.IWarning|null);
1031 }
1032
1033 /** Represents an OperationAggregatedList. */
1034 class OperationAggregatedList implements IOperationAggregatedList {
1035
1036 /**
1037 * Constructs a new OperationAggregatedList.
1038 * @param [properties] Properties to set
1039 */
1040 constructor(properties?: google.cloud.compute.v1.IOperationAggregatedList);
1041
1042 /** OperationAggregatedList id. */
1043 public id?: (string|null);
1044
1045 /** OperationAggregatedList items. */
1046 public items: { [k: string]: google.cloud.compute.v1.IOperationsScopedList };
1047
1048 /** OperationAggregatedList kind. */
1049 public kind?: (string|null);
1050
1051 /** OperationAggregatedList nextPageToken. */
1052 public nextPageToken?: (string|null);
1053
1054 /** OperationAggregatedList selfLink. */
1055 public selfLink?: (string|null);
1056
1057 /** OperationAggregatedList unreachables. */
1058 public unreachables: string[];
1059
1060 /** OperationAggregatedList warning. */
1061 public warning?: (google.cloud.compute.v1.IWarning|null);
1062
1063 /** OperationAggregatedList _id. */
1064 public _id?: "id";
1065
1066 /** OperationAggregatedList _kind. */
1067 public _kind?: "kind";
1068
1069 /** OperationAggregatedList _nextPageToken. */
1070 public _nextPageToken?: "nextPageToken";
1071
1072 /** OperationAggregatedList _selfLink. */
1073 public _selfLink?: "selfLink";
1074
1075 /** OperationAggregatedList _warning. */
1076 public _warning?: "warning";
1077
1078 /**
1079 * Creates a new OperationAggregatedList instance using the specified properties.
1080 * @param [properties] Properties to set
1081 * @returns OperationAggregatedList instance
1082 */
1083 public static create(properties?: google.cloud.compute.v1.IOperationAggregatedList): google.cloud.compute.v1.OperationAggregatedList;
1084
1085 /**
1086 * Encodes the specified OperationAggregatedList message. Does not implicitly {@link google.cloud.compute.v1.OperationAggregatedList.verify|verify} messages.
1087 * @param message OperationAggregatedList message or plain object to encode
1088 * @param [writer] Writer to encode to
1089 * @returns Writer
1090 */
1091 public static encode(message: google.cloud.compute.v1.IOperationAggregatedList, writer?: $protobuf.Writer): $protobuf.Writer;
1092
1093 /**
1094 * Encodes the specified OperationAggregatedList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.OperationAggregatedList.verify|verify} messages.
1095 * @param message OperationAggregatedList message or plain object to encode
1096 * @param [writer] Writer to encode to
1097 * @returns Writer
1098 */
1099 public static encodeDelimited(message: google.cloud.compute.v1.IOperationAggregatedList, writer?: $protobuf.Writer): $protobuf.Writer;
1100
1101 /**
1102 * Decodes an OperationAggregatedList message from the specified reader or buffer.
1103 * @param reader Reader or buffer to decode from
1104 * @param [length] Message length if known beforehand
1105 * @returns OperationAggregatedList
1106 * @throws {Error} If the payload is not a reader or valid buffer
1107 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1108 */
1109 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.OperationAggregatedList;
1110
1111 /**
1112 * Decodes an OperationAggregatedList message from the specified reader or buffer, length delimited.
1113 * @param reader Reader or buffer to decode from
1114 * @returns OperationAggregatedList
1115 * @throws {Error} If the payload is not a reader or valid buffer
1116 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1117 */
1118 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.OperationAggregatedList;
1119
1120 /**
1121 * Verifies an OperationAggregatedList message.
1122 * @param message Plain object to verify
1123 * @returns `null` if valid, otherwise the reason why it is not
1124 */
1125 public static verify(message: { [k: string]: any }): (string|null);
1126
1127 /**
1128 * Creates an OperationAggregatedList message from a plain object. Also converts values to their respective internal types.
1129 * @param object Plain object
1130 * @returns OperationAggregatedList
1131 */
1132 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.OperationAggregatedList;
1133
1134 /**
1135 * Creates a plain object from an OperationAggregatedList message. Also converts values to other types if specified.
1136 * @param message OperationAggregatedList
1137 * @param [options] Conversion options
1138 * @returns Plain object
1139 */
1140 public static toObject(message: google.cloud.compute.v1.OperationAggregatedList, options?: $protobuf.IConversionOptions): { [k: string]: any };
1141
1142 /**
1143 * Converts this OperationAggregatedList to JSON.
1144 * @returns JSON object
1145 */
1146 public toJSON(): { [k: string]: any };
1147 }
1148
1149 /** Properties of a GetRegionOperationRequest. */
1150 interface IGetRegionOperationRequest {
1151
1152 /** GetRegionOperationRequest operation */
1153 operation?: (string|null);
1154
1155 /** GetRegionOperationRequest project */
1156 project?: (string|null);
1157
1158 /** GetRegionOperationRequest region */
1159 region?: (string|null);
1160 }
1161
1162 /** Represents a GetRegionOperationRequest. */
1163 class GetRegionOperationRequest implements IGetRegionOperationRequest {
1164
1165 /**
1166 * Constructs a new GetRegionOperationRequest.
1167 * @param [properties] Properties to set
1168 */
1169 constructor(properties?: google.cloud.compute.v1.IGetRegionOperationRequest);
1170
1171 /** GetRegionOperationRequest operation. */
1172 public operation: string;
1173
1174 /** GetRegionOperationRequest project. */
1175 public project: string;
1176
1177 /** GetRegionOperationRequest region. */
1178 public region: string;
1179
1180 /**
1181 * Creates a new GetRegionOperationRequest instance using the specified properties.
1182 * @param [properties] Properties to set
1183 * @returns GetRegionOperationRequest instance
1184 */
1185 public static create(properties?: google.cloud.compute.v1.IGetRegionOperationRequest): google.cloud.compute.v1.GetRegionOperationRequest;
1186
1187 /**
1188 * Encodes the specified GetRegionOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.GetRegionOperationRequest.verify|verify} messages.
1189 * @param message GetRegionOperationRequest message or plain object to encode
1190 * @param [writer] Writer to encode to
1191 * @returns Writer
1192 */
1193 public static encode(message: google.cloud.compute.v1.IGetRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1194
1195 /**
1196 * Encodes the specified GetRegionOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.GetRegionOperationRequest.verify|verify} messages.
1197 * @param message GetRegionOperationRequest message or plain object to encode
1198 * @param [writer] Writer to encode to
1199 * @returns Writer
1200 */
1201 public static encodeDelimited(message: google.cloud.compute.v1.IGetRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1202
1203 /**
1204 * Decodes a GetRegionOperationRequest message from the specified reader or buffer.
1205 * @param reader Reader or buffer to decode from
1206 * @param [length] Message length if known beforehand
1207 * @returns GetRegionOperationRequest
1208 * @throws {Error} If the payload is not a reader or valid buffer
1209 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1210 */
1211 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.GetRegionOperationRequest;
1212
1213 /**
1214 * Decodes a GetRegionOperationRequest message from the specified reader or buffer, length delimited.
1215 * @param reader Reader or buffer to decode from
1216 * @returns GetRegionOperationRequest
1217 * @throws {Error} If the payload is not a reader or valid buffer
1218 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1219 */
1220 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.GetRegionOperationRequest;
1221
1222 /**
1223 * Verifies a GetRegionOperationRequest message.
1224 * @param message Plain object to verify
1225 * @returns `null` if valid, otherwise the reason why it is not
1226 */
1227 public static verify(message: { [k: string]: any }): (string|null);
1228
1229 /**
1230 * Creates a GetRegionOperationRequest message from a plain object. Also converts values to their respective internal types.
1231 * @param object Plain object
1232 * @returns GetRegionOperationRequest
1233 */
1234 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.GetRegionOperationRequest;
1235
1236 /**
1237 * Creates a plain object from a GetRegionOperationRequest message. Also converts values to other types if specified.
1238 * @param message GetRegionOperationRequest
1239 * @param [options] Conversion options
1240 * @returns Plain object
1241 */
1242 public static toObject(message: google.cloud.compute.v1.GetRegionOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1243
1244 /**
1245 * Converts this GetRegionOperationRequest to JSON.
1246 * @returns JSON object
1247 */
1248 public toJSON(): { [k: string]: any };
1249 }
1250
1251 /** Properties of a DeleteRegionOperationRequest. */
1252 interface IDeleteRegionOperationRequest {
1253
1254 /** DeleteRegionOperationRequest operation */
1255 operation?: (string|null);
1256
1257 /** DeleteRegionOperationRequest project */
1258 project?: (string|null);
1259
1260 /** DeleteRegionOperationRequest region */
1261 region?: (string|null);
1262 }
1263
1264 /** Represents a DeleteRegionOperationRequest. */
1265 class DeleteRegionOperationRequest implements IDeleteRegionOperationRequest {
1266
1267 /**
1268 * Constructs a new DeleteRegionOperationRequest.
1269 * @param [properties] Properties to set
1270 */
1271 constructor(properties?: google.cloud.compute.v1.IDeleteRegionOperationRequest);
1272
1273 /** DeleteRegionOperationRequest operation. */
1274 public operation: string;
1275
1276 /** DeleteRegionOperationRequest project. */
1277 public project: string;
1278
1279 /** DeleteRegionOperationRequest region. */
1280 public region: string;
1281
1282 /**
1283 * Creates a new DeleteRegionOperationRequest instance using the specified properties.
1284 * @param [properties] Properties to set
1285 * @returns DeleteRegionOperationRequest instance
1286 */
1287 public static create(properties?: google.cloud.compute.v1.IDeleteRegionOperationRequest): google.cloud.compute.v1.DeleteRegionOperationRequest;
1288
1289 /**
1290 * Encodes the specified DeleteRegionOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.DeleteRegionOperationRequest.verify|verify} messages.
1291 * @param message DeleteRegionOperationRequest message or plain object to encode
1292 * @param [writer] Writer to encode to
1293 * @returns Writer
1294 */
1295 public static encode(message: google.cloud.compute.v1.IDeleteRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1296
1297 /**
1298 * Encodes the specified DeleteRegionOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteRegionOperationRequest.verify|verify} messages.
1299 * @param message DeleteRegionOperationRequest message or plain object to encode
1300 * @param [writer] Writer to encode to
1301 * @returns Writer
1302 */
1303 public static encodeDelimited(message: google.cloud.compute.v1.IDeleteRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1304
1305 /**
1306 * Decodes a DeleteRegionOperationRequest message from the specified reader or buffer.
1307 * @param reader Reader or buffer to decode from
1308 * @param [length] Message length if known beforehand
1309 * @returns DeleteRegionOperationRequest
1310 * @throws {Error} If the payload is not a reader or valid buffer
1311 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1312 */
1313 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteRegionOperationRequest;
1314
1315 /**
1316 * Decodes a DeleteRegionOperationRequest message from the specified reader or buffer, length delimited.
1317 * @param reader Reader or buffer to decode from
1318 * @returns DeleteRegionOperationRequest
1319 * @throws {Error} If the payload is not a reader or valid buffer
1320 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1321 */
1322 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteRegionOperationRequest;
1323
1324 /**
1325 * Verifies a DeleteRegionOperationRequest message.
1326 * @param message Plain object to verify
1327 * @returns `null` if valid, otherwise the reason why it is not
1328 */
1329 public static verify(message: { [k: string]: any }): (string|null);
1330
1331 /**
1332 * Creates a DeleteRegionOperationRequest message from a plain object. Also converts values to their respective internal types.
1333 * @param object Plain object
1334 * @returns DeleteRegionOperationRequest
1335 */
1336 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteRegionOperationRequest;
1337
1338 /**
1339 * Creates a plain object from a DeleteRegionOperationRequest message. Also converts values to other types if specified.
1340 * @param message DeleteRegionOperationRequest
1341 * @param [options] Conversion options
1342 * @returns Plain object
1343 */
1344 public static toObject(message: google.cloud.compute.v1.DeleteRegionOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1345
1346 /**
1347 * Converts this DeleteRegionOperationRequest to JSON.
1348 * @returns JSON object
1349 */
1350 public toJSON(): { [k: string]: any };
1351 }
1352
1353 /** Properties of a DeleteRegionOperationResponse. */
1354 interface IDeleteRegionOperationResponse {
1355 }
1356
1357 /** Represents a DeleteRegionOperationResponse. */
1358 class DeleteRegionOperationResponse implements IDeleteRegionOperationResponse {
1359
1360 /**
1361 * Constructs a new DeleteRegionOperationResponse.
1362 * @param [properties] Properties to set
1363 */
1364 constructor(properties?: google.cloud.compute.v1.IDeleteRegionOperationResponse);
1365
1366 /**
1367 * Creates a new DeleteRegionOperationResponse instance using the specified properties.
1368 * @param [properties] Properties to set
1369 * @returns DeleteRegionOperationResponse instance
1370 */
1371 public static create(properties?: google.cloud.compute.v1.IDeleteRegionOperationResponse): google.cloud.compute.v1.DeleteRegionOperationResponse;
1372
1373 /**
1374 * Encodes the specified DeleteRegionOperationResponse message. Does not implicitly {@link google.cloud.compute.v1.DeleteRegionOperationResponse.verify|verify} messages.
1375 * @param message DeleteRegionOperationResponse message or plain object to encode
1376 * @param [writer] Writer to encode to
1377 * @returns Writer
1378 */
1379 public static encode(message: google.cloud.compute.v1.IDeleteRegionOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1380
1381 /**
1382 * Encodes the specified DeleteRegionOperationResponse message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteRegionOperationResponse.verify|verify} messages.
1383 * @param message DeleteRegionOperationResponse message or plain object to encode
1384 * @param [writer] Writer to encode to
1385 * @returns Writer
1386 */
1387 public static encodeDelimited(message: google.cloud.compute.v1.IDeleteRegionOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1388
1389 /**
1390 * Decodes a DeleteRegionOperationResponse message from the specified reader or buffer.
1391 * @param reader Reader or buffer to decode from
1392 * @param [length] Message length if known beforehand
1393 * @returns DeleteRegionOperationResponse
1394 * @throws {Error} If the payload is not a reader or valid buffer
1395 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1396 */
1397 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteRegionOperationResponse;
1398
1399 /**
1400 * Decodes a DeleteRegionOperationResponse message from the specified reader or buffer, length delimited.
1401 * @param reader Reader or buffer to decode from
1402 * @returns DeleteRegionOperationResponse
1403 * @throws {Error} If the payload is not a reader or valid buffer
1404 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1405 */
1406 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteRegionOperationResponse;
1407
1408 /**
1409 * Verifies a DeleteRegionOperationResponse message.
1410 * @param message Plain object to verify
1411 * @returns `null` if valid, otherwise the reason why it is not
1412 */
1413 public static verify(message: { [k: string]: any }): (string|null);
1414
1415 /**
1416 * Creates a DeleteRegionOperationResponse message from a plain object. Also converts values to their respective internal types.
1417 * @param object Plain object
1418 * @returns DeleteRegionOperationResponse
1419 */
1420 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteRegionOperationResponse;
1421
1422 /**
1423 * Creates a plain object from a DeleteRegionOperationResponse message. Also converts values to other types if specified.
1424 * @param message DeleteRegionOperationResponse
1425 * @param [options] Conversion options
1426 * @returns Plain object
1427 */
1428 public static toObject(message: google.cloud.compute.v1.DeleteRegionOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
1429
1430 /**
1431 * Converts this DeleteRegionOperationResponse to JSON.
1432 * @returns JSON object
1433 */
1434 public toJSON(): { [k: string]: any };
1435 }
1436
1437 /** Properties of a ListRegionOperationsRequest. */
1438 interface IListRegionOperationsRequest {
1439
1440 /** ListRegionOperationsRequest filter */
1441 filter?: (string|null);
1442
1443 /** ListRegionOperationsRequest maxResults */
1444 maxResults?: (number|null);
1445
1446 /** ListRegionOperationsRequest orderBy */
1447 orderBy?: (string|null);
1448
1449 /** ListRegionOperationsRequest pageToken */
1450 pageToken?: (string|null);
1451
1452 /** ListRegionOperationsRequest project */
1453 project?: (string|null);
1454
1455 /** ListRegionOperationsRequest region */
1456 region?: (string|null);
1457
1458 /** ListRegionOperationsRequest returnPartialSuccess */
1459 returnPartialSuccess?: (boolean|null);
1460 }
1461
1462 /** Represents a ListRegionOperationsRequest. */
1463 class ListRegionOperationsRequest implements IListRegionOperationsRequest {
1464
1465 /**
1466 * Constructs a new ListRegionOperationsRequest.
1467 * @param [properties] Properties to set
1468 */
1469 constructor(properties?: google.cloud.compute.v1.IListRegionOperationsRequest);
1470
1471 /** ListRegionOperationsRequest filter. */
1472 public filter?: (string|null);
1473
1474 /** ListRegionOperationsRequest maxResults. */
1475 public maxResults?: (number|null);
1476
1477 /** ListRegionOperationsRequest orderBy. */
1478 public orderBy?: (string|null);
1479
1480 /** ListRegionOperationsRequest pageToken. */
1481 public pageToken?: (string|null);
1482
1483 /** ListRegionOperationsRequest project. */
1484 public project: string;
1485
1486 /** ListRegionOperationsRequest region. */
1487 public region: string;
1488
1489 /** ListRegionOperationsRequest returnPartialSuccess. */
1490 public returnPartialSuccess?: (boolean|null);
1491
1492 /** ListRegionOperationsRequest _filter. */
1493 public _filter?: "filter";
1494
1495 /** ListRegionOperationsRequest _maxResults. */
1496 public _maxResults?: "maxResults";
1497
1498 /** ListRegionOperationsRequest _orderBy. */
1499 public _orderBy?: "orderBy";
1500
1501 /** ListRegionOperationsRequest _pageToken. */
1502 public _pageToken?: "pageToken";
1503
1504 /** ListRegionOperationsRequest _returnPartialSuccess. */
1505 public _returnPartialSuccess?: "returnPartialSuccess";
1506
1507 /**
1508 * Creates a new ListRegionOperationsRequest instance using the specified properties.
1509 * @param [properties] Properties to set
1510 * @returns ListRegionOperationsRequest instance
1511 */
1512 public static create(properties?: google.cloud.compute.v1.IListRegionOperationsRequest): google.cloud.compute.v1.ListRegionOperationsRequest;
1513
1514 /**
1515 * Encodes the specified ListRegionOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.ListRegionOperationsRequest.verify|verify} messages.
1516 * @param message ListRegionOperationsRequest message or plain object to encode
1517 * @param [writer] Writer to encode to
1518 * @returns Writer
1519 */
1520 public static encode(message: google.cloud.compute.v1.IListRegionOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1521
1522 /**
1523 * Encodes the specified ListRegionOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.ListRegionOperationsRequest.verify|verify} messages.
1524 * @param message ListRegionOperationsRequest message or plain object to encode
1525 * @param [writer] Writer to encode to
1526 * @returns Writer
1527 */
1528 public static encodeDelimited(message: google.cloud.compute.v1.IListRegionOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1529
1530 /**
1531 * Decodes a ListRegionOperationsRequest message from the specified reader or buffer.
1532 * @param reader Reader or buffer to decode from
1533 * @param [length] Message length if known beforehand
1534 * @returns ListRegionOperationsRequest
1535 * @throws {Error} If the payload is not a reader or valid buffer
1536 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1537 */
1538 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.ListRegionOperationsRequest;
1539
1540 /**
1541 * Decodes a ListRegionOperationsRequest message from the specified reader or buffer, length delimited.
1542 * @param reader Reader or buffer to decode from
1543 * @returns ListRegionOperationsRequest
1544 * @throws {Error} If the payload is not a reader or valid buffer
1545 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1546 */
1547 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.ListRegionOperationsRequest;
1548
1549 /**
1550 * Verifies a ListRegionOperationsRequest message.
1551 * @param message Plain object to verify
1552 * @returns `null` if valid, otherwise the reason why it is not
1553 */
1554 public static verify(message: { [k: string]: any }): (string|null);
1555
1556 /**
1557 * Creates a ListRegionOperationsRequest message from a plain object. Also converts values to their respective internal types.
1558 * @param object Plain object
1559 * @returns ListRegionOperationsRequest
1560 */
1561 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.ListRegionOperationsRequest;
1562
1563 /**
1564 * Creates a plain object from a ListRegionOperationsRequest message. Also converts values to other types if specified.
1565 * @param message ListRegionOperationsRequest
1566 * @param [options] Conversion options
1567 * @returns Plain object
1568 */
1569 public static toObject(message: google.cloud.compute.v1.ListRegionOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1570
1571 /**
1572 * Converts this ListRegionOperationsRequest to JSON.
1573 * @returns JSON object
1574 */
1575 public toJSON(): { [k: string]: any };
1576 }
1577
1578 /** Properties of an OperationList. */
1579 interface IOperationList {
1580
1581 /** OperationList id */
1582 id?: (string|null);
1583
1584 /** OperationList items */
1585 items?: (google.cloud.compute.v1.IOperation[]|null);
1586
1587 /** OperationList kind */
1588 kind?: (string|null);
1589
1590 /** OperationList nextPageToken */
1591 nextPageToken?: (string|null);
1592
1593 /** OperationList selfLink */
1594 selfLink?: (string|null);
1595
1596 /** OperationList warning */
1597 warning?: (google.cloud.compute.v1.IWarning|null);
1598 }
1599
1600 /** Represents an OperationList. */
1601 class OperationList implements IOperationList {
1602
1603 /**
1604 * Constructs a new OperationList.
1605 * @param [properties] Properties to set
1606 */
1607 constructor(properties?: google.cloud.compute.v1.IOperationList);
1608
1609 /** OperationList id. */
1610 public id?: (string|null);
1611
1612 /** OperationList items. */
1613 public items: google.cloud.compute.v1.IOperation[];
1614
1615 /** OperationList kind. */
1616 public kind?: (string|null);
1617
1618 /** OperationList nextPageToken. */
1619 public nextPageToken?: (string|null);
1620
1621 /** OperationList selfLink. */
1622 public selfLink?: (string|null);
1623
1624 /** OperationList warning. */
1625 public warning?: (google.cloud.compute.v1.IWarning|null);
1626
1627 /** OperationList _id. */
1628 public _id?: "id";
1629
1630 /** OperationList _kind. */
1631 public _kind?: "kind";
1632
1633 /** OperationList _nextPageToken. */
1634 public _nextPageToken?: "nextPageToken";
1635
1636 /** OperationList _selfLink. */
1637 public _selfLink?: "selfLink";
1638
1639 /** OperationList _warning. */
1640 public _warning?: "warning";
1641
1642 /**
1643 * Creates a new OperationList instance using the specified properties.
1644 * @param [properties] Properties to set
1645 * @returns OperationList instance
1646 */
1647 public static create(properties?: google.cloud.compute.v1.IOperationList): google.cloud.compute.v1.OperationList;
1648
1649 /**
1650 * Encodes the specified OperationList message. Does not implicitly {@link google.cloud.compute.v1.OperationList.verify|verify} messages.
1651 * @param message OperationList message or plain object to encode
1652 * @param [writer] Writer to encode to
1653 * @returns Writer
1654 */
1655 public static encode(message: google.cloud.compute.v1.IOperationList, writer?: $protobuf.Writer): $protobuf.Writer;
1656
1657 /**
1658 * Encodes the specified OperationList message, length delimited. Does not implicitly {@link google.cloud.compute.v1.OperationList.verify|verify} messages.
1659 * @param message OperationList message or plain object to encode
1660 * @param [writer] Writer to encode to
1661 * @returns Writer
1662 */
1663 public static encodeDelimited(message: google.cloud.compute.v1.IOperationList, writer?: $protobuf.Writer): $protobuf.Writer;
1664
1665 /**
1666 * Decodes an OperationList message from the specified reader or buffer.
1667 * @param reader Reader or buffer to decode from
1668 * @param [length] Message length if known beforehand
1669 * @returns OperationList
1670 * @throws {Error} If the payload is not a reader or valid buffer
1671 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1672 */
1673 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.OperationList;
1674
1675 /**
1676 * Decodes an OperationList message from the specified reader or buffer, length delimited.
1677 * @param reader Reader or buffer to decode from
1678 * @returns OperationList
1679 * @throws {Error} If the payload is not a reader or valid buffer
1680 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1681 */
1682 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.OperationList;
1683
1684 /**
1685 * Verifies an OperationList message.
1686 * @param message Plain object to verify
1687 * @returns `null` if valid, otherwise the reason why it is not
1688 */
1689 public static verify(message: { [k: string]: any }): (string|null);
1690
1691 /**
1692 * Creates an OperationList message from a plain object. Also converts values to their respective internal types.
1693 * @param object Plain object
1694 * @returns OperationList
1695 */
1696 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.OperationList;
1697
1698 /**
1699 * Creates a plain object from an OperationList message. Also converts values to other types if specified.
1700 * @param message OperationList
1701 * @param [options] Conversion options
1702 * @returns Plain object
1703 */
1704 public static toObject(message: google.cloud.compute.v1.OperationList, options?: $protobuf.IConversionOptions): { [k: string]: any };
1705
1706 /**
1707 * Converts this OperationList to JSON.
1708 * @returns JSON object
1709 */
1710 public toJSON(): { [k: string]: any };
1711 }
1712
1713 /** Properties of a WaitRegionOperationRequest. */
1714 interface IWaitRegionOperationRequest {
1715
1716 /** WaitRegionOperationRequest operation */
1717 operation?: (string|null);
1718
1719 /** WaitRegionOperationRequest project */
1720 project?: (string|null);
1721
1722 /** WaitRegionOperationRequest region */
1723 region?: (string|null);
1724 }
1725
1726 /** Represents a WaitRegionOperationRequest. */
1727 class WaitRegionOperationRequest implements IWaitRegionOperationRequest {
1728
1729 /**
1730 * Constructs a new WaitRegionOperationRequest.
1731 * @param [properties] Properties to set
1732 */
1733 constructor(properties?: google.cloud.compute.v1.IWaitRegionOperationRequest);
1734
1735 /** WaitRegionOperationRequest operation. */
1736 public operation: string;
1737
1738 /** WaitRegionOperationRequest project. */
1739 public project: string;
1740
1741 /** WaitRegionOperationRequest region. */
1742 public region: string;
1743
1744 /**
1745 * Creates a new WaitRegionOperationRequest instance using the specified properties.
1746 * @param [properties] Properties to set
1747 * @returns WaitRegionOperationRequest instance
1748 */
1749 public static create(properties?: google.cloud.compute.v1.IWaitRegionOperationRequest): google.cloud.compute.v1.WaitRegionOperationRequest;
1750
1751 /**
1752 * Encodes the specified WaitRegionOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.WaitRegionOperationRequest.verify|verify} messages.
1753 * @param message WaitRegionOperationRequest message or plain object to encode
1754 * @param [writer] Writer to encode to
1755 * @returns Writer
1756 */
1757 public static encode(message: google.cloud.compute.v1.IWaitRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1758
1759 /**
1760 * Encodes the specified WaitRegionOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.WaitRegionOperationRequest.verify|verify} messages.
1761 * @param message WaitRegionOperationRequest message or plain object to encode
1762 * @param [writer] Writer to encode to
1763 * @returns Writer
1764 */
1765 public static encodeDelimited(message: google.cloud.compute.v1.IWaitRegionOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1766
1767 /**
1768 * Decodes a WaitRegionOperationRequest message from the specified reader or buffer.
1769 * @param reader Reader or buffer to decode from
1770 * @param [length] Message length if known beforehand
1771 * @returns WaitRegionOperationRequest
1772 * @throws {Error} If the payload is not a reader or valid buffer
1773 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1774 */
1775 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.WaitRegionOperationRequest;
1776
1777 /**
1778 * Decodes a WaitRegionOperationRequest message from the specified reader or buffer, length delimited.
1779 * @param reader Reader or buffer to decode from
1780 * @returns WaitRegionOperationRequest
1781 * @throws {Error} If the payload is not a reader or valid buffer
1782 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1783 */
1784 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.WaitRegionOperationRequest;
1785
1786 /**
1787 * Verifies a WaitRegionOperationRequest message.
1788 * @param message Plain object to verify
1789 * @returns `null` if valid, otherwise the reason why it is not
1790 */
1791 public static verify(message: { [k: string]: any }): (string|null);
1792
1793 /**
1794 * Creates a WaitRegionOperationRequest message from a plain object. Also converts values to their respective internal types.
1795 * @param object Plain object
1796 * @returns WaitRegionOperationRequest
1797 */
1798 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.WaitRegionOperationRequest;
1799
1800 /**
1801 * Creates a plain object from a WaitRegionOperationRequest message. Also converts values to other types if specified.
1802 * @param message WaitRegionOperationRequest
1803 * @param [options] Conversion options
1804 * @returns Plain object
1805 */
1806 public static toObject(message: google.cloud.compute.v1.WaitRegionOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1807
1808 /**
1809 * Converts this WaitRegionOperationRequest to JSON.
1810 * @returns JSON object
1811 */
1812 public toJSON(): { [k: string]: any };
1813 }
1814
1815 /** Properties of a DeleteZoneOperationRequest. */
1816 interface IDeleteZoneOperationRequest {
1817
1818 /** DeleteZoneOperationRequest operation */
1819 operation?: (string|null);
1820
1821 /** DeleteZoneOperationRequest project */
1822 project?: (string|null);
1823
1824 /** DeleteZoneOperationRequest zone */
1825 zone?: (string|null);
1826 }
1827
1828 /** Represents a DeleteZoneOperationRequest. */
1829 class DeleteZoneOperationRequest implements IDeleteZoneOperationRequest {
1830
1831 /**
1832 * Constructs a new DeleteZoneOperationRequest.
1833 * @param [properties] Properties to set
1834 */
1835 constructor(properties?: google.cloud.compute.v1.IDeleteZoneOperationRequest);
1836
1837 /** DeleteZoneOperationRequest operation. */
1838 public operation: string;
1839
1840 /** DeleteZoneOperationRequest project. */
1841 public project: string;
1842
1843 /** DeleteZoneOperationRequest zone. */
1844 public zone: string;
1845
1846 /**
1847 * Creates a new DeleteZoneOperationRequest instance using the specified properties.
1848 * @param [properties] Properties to set
1849 * @returns DeleteZoneOperationRequest instance
1850 */
1851 public static create(properties?: google.cloud.compute.v1.IDeleteZoneOperationRequest): google.cloud.compute.v1.DeleteZoneOperationRequest;
1852
1853 /**
1854 * Encodes the specified DeleteZoneOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.DeleteZoneOperationRequest.verify|verify} messages.
1855 * @param message DeleteZoneOperationRequest message or plain object to encode
1856 * @param [writer] Writer to encode to
1857 * @returns Writer
1858 */
1859 public static encode(message: google.cloud.compute.v1.IDeleteZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1860
1861 /**
1862 * Encodes the specified DeleteZoneOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteZoneOperationRequest.verify|verify} messages.
1863 * @param message DeleteZoneOperationRequest message or plain object to encode
1864 * @param [writer] Writer to encode to
1865 * @returns Writer
1866 */
1867 public static encodeDelimited(message: google.cloud.compute.v1.IDeleteZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
1868
1869 /**
1870 * Decodes a DeleteZoneOperationRequest message from the specified reader or buffer.
1871 * @param reader Reader or buffer to decode from
1872 * @param [length] Message length if known beforehand
1873 * @returns DeleteZoneOperationRequest
1874 * @throws {Error} If the payload is not a reader or valid buffer
1875 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1876 */
1877 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteZoneOperationRequest;
1878
1879 /**
1880 * Decodes a DeleteZoneOperationRequest message from the specified reader or buffer, length delimited.
1881 * @param reader Reader or buffer to decode from
1882 * @returns DeleteZoneOperationRequest
1883 * @throws {Error} If the payload is not a reader or valid buffer
1884 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1885 */
1886 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteZoneOperationRequest;
1887
1888 /**
1889 * Verifies a DeleteZoneOperationRequest message.
1890 * @param message Plain object to verify
1891 * @returns `null` if valid, otherwise the reason why it is not
1892 */
1893 public static verify(message: { [k: string]: any }): (string|null);
1894
1895 /**
1896 * Creates a DeleteZoneOperationRequest message from a plain object. Also converts values to their respective internal types.
1897 * @param object Plain object
1898 * @returns DeleteZoneOperationRequest
1899 */
1900 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteZoneOperationRequest;
1901
1902 /**
1903 * Creates a plain object from a DeleteZoneOperationRequest message. Also converts values to other types if specified.
1904 * @param message DeleteZoneOperationRequest
1905 * @param [options] Conversion options
1906 * @returns Plain object
1907 */
1908 public static toObject(message: google.cloud.compute.v1.DeleteZoneOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
1909
1910 /**
1911 * Converts this DeleteZoneOperationRequest to JSON.
1912 * @returns JSON object
1913 */
1914 public toJSON(): { [k: string]: any };
1915 }
1916
1917 /** Properties of a DeleteZoneOperationResponse. */
1918 interface IDeleteZoneOperationResponse {
1919 }
1920
1921 /** Represents a DeleteZoneOperationResponse. */
1922 class DeleteZoneOperationResponse implements IDeleteZoneOperationResponse {
1923
1924 /**
1925 * Constructs a new DeleteZoneOperationResponse.
1926 * @param [properties] Properties to set
1927 */
1928 constructor(properties?: google.cloud.compute.v1.IDeleteZoneOperationResponse);
1929
1930 /**
1931 * Creates a new DeleteZoneOperationResponse instance using the specified properties.
1932 * @param [properties] Properties to set
1933 * @returns DeleteZoneOperationResponse instance
1934 */
1935 public static create(properties?: google.cloud.compute.v1.IDeleteZoneOperationResponse): google.cloud.compute.v1.DeleteZoneOperationResponse;
1936
1937 /**
1938 * Encodes the specified DeleteZoneOperationResponse message. Does not implicitly {@link google.cloud.compute.v1.DeleteZoneOperationResponse.verify|verify} messages.
1939 * @param message DeleteZoneOperationResponse message or plain object to encode
1940 * @param [writer] Writer to encode to
1941 * @returns Writer
1942 */
1943 public static encode(message: google.cloud.compute.v1.IDeleteZoneOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1944
1945 /**
1946 * Encodes the specified DeleteZoneOperationResponse message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteZoneOperationResponse.verify|verify} messages.
1947 * @param message DeleteZoneOperationResponse message or plain object to encode
1948 * @param [writer] Writer to encode to
1949 * @returns Writer
1950 */
1951 public static encodeDelimited(message: google.cloud.compute.v1.IDeleteZoneOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
1952
1953 /**
1954 * Decodes a DeleteZoneOperationResponse message from the specified reader or buffer.
1955 * @param reader Reader or buffer to decode from
1956 * @param [length] Message length if known beforehand
1957 * @returns DeleteZoneOperationResponse
1958 * @throws {Error} If the payload is not a reader or valid buffer
1959 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1960 */
1961 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteZoneOperationResponse;
1962
1963 /**
1964 * Decodes a DeleteZoneOperationResponse message from the specified reader or buffer, length delimited.
1965 * @param reader Reader or buffer to decode from
1966 * @returns DeleteZoneOperationResponse
1967 * @throws {Error} If the payload is not a reader or valid buffer
1968 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1969 */
1970 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteZoneOperationResponse;
1971
1972 /**
1973 * Verifies a DeleteZoneOperationResponse message.
1974 * @param message Plain object to verify
1975 * @returns `null` if valid, otherwise the reason why it is not
1976 */
1977 public static verify(message: { [k: string]: any }): (string|null);
1978
1979 /**
1980 * Creates a DeleteZoneOperationResponse message from a plain object. Also converts values to their respective internal types.
1981 * @param object Plain object
1982 * @returns DeleteZoneOperationResponse
1983 */
1984 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteZoneOperationResponse;
1985
1986 /**
1987 * Creates a plain object from a DeleteZoneOperationResponse message. Also converts values to other types if specified.
1988 * @param message DeleteZoneOperationResponse
1989 * @param [options] Conversion options
1990 * @returns Plain object
1991 */
1992 public static toObject(message: google.cloud.compute.v1.DeleteZoneOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
1993
1994 /**
1995 * Converts this DeleteZoneOperationResponse to JSON.
1996 * @returns JSON object
1997 */
1998 public toJSON(): { [k: string]: any };
1999 }
2000
2001 /** Properties of a GetZoneOperationRequest. */
2002 interface IGetZoneOperationRequest {
2003
2004 /** GetZoneOperationRequest operation */
2005 operation?: (string|null);
2006
2007 /** GetZoneOperationRequest project */
2008 project?: (string|null);
2009
2010 /** GetZoneOperationRequest zone */
2011 zone?: (string|null);
2012 }
2013
2014 /** Represents a GetZoneOperationRequest. */
2015 class GetZoneOperationRequest implements IGetZoneOperationRequest {
2016
2017 /**
2018 * Constructs a new GetZoneOperationRequest.
2019 * @param [properties] Properties to set
2020 */
2021 constructor(properties?: google.cloud.compute.v1.IGetZoneOperationRequest);
2022
2023 /** GetZoneOperationRequest operation. */
2024 public operation: string;
2025
2026 /** GetZoneOperationRequest project. */
2027 public project: string;
2028
2029 /** GetZoneOperationRequest zone. */
2030 public zone: string;
2031
2032 /**
2033 * Creates a new GetZoneOperationRequest instance using the specified properties.
2034 * @param [properties] Properties to set
2035 * @returns GetZoneOperationRequest instance
2036 */
2037 public static create(properties?: google.cloud.compute.v1.IGetZoneOperationRequest): google.cloud.compute.v1.GetZoneOperationRequest;
2038
2039 /**
2040 * Encodes the specified GetZoneOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.GetZoneOperationRequest.verify|verify} messages.
2041 * @param message GetZoneOperationRequest message or plain object to encode
2042 * @param [writer] Writer to encode to
2043 * @returns Writer
2044 */
2045 public static encode(message: google.cloud.compute.v1.IGetZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2046
2047 /**
2048 * Encodes the specified GetZoneOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.GetZoneOperationRequest.verify|verify} messages.
2049 * @param message GetZoneOperationRequest message or plain object to encode
2050 * @param [writer] Writer to encode to
2051 * @returns Writer
2052 */
2053 public static encodeDelimited(message: google.cloud.compute.v1.IGetZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2054
2055 /**
2056 * Decodes a GetZoneOperationRequest message from the specified reader or buffer.
2057 * @param reader Reader or buffer to decode from
2058 * @param [length] Message length if known beforehand
2059 * @returns GetZoneOperationRequest
2060 * @throws {Error} If the payload is not a reader or valid buffer
2061 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2062 */
2063 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.GetZoneOperationRequest;
2064
2065 /**
2066 * Decodes a GetZoneOperationRequest message from the specified reader or buffer, length delimited.
2067 * @param reader Reader or buffer to decode from
2068 * @returns GetZoneOperationRequest
2069 * @throws {Error} If the payload is not a reader or valid buffer
2070 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2071 */
2072 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.GetZoneOperationRequest;
2073
2074 /**
2075 * Verifies a GetZoneOperationRequest message.
2076 * @param message Plain object to verify
2077 * @returns `null` if valid, otherwise the reason why it is not
2078 */
2079 public static verify(message: { [k: string]: any }): (string|null);
2080
2081 /**
2082 * Creates a GetZoneOperationRequest message from a plain object. Also converts values to their respective internal types.
2083 * @param object Plain object
2084 * @returns GetZoneOperationRequest
2085 */
2086 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.GetZoneOperationRequest;
2087
2088 /**
2089 * Creates a plain object from a GetZoneOperationRequest message. Also converts values to other types if specified.
2090 * @param message GetZoneOperationRequest
2091 * @param [options] Conversion options
2092 * @returns Plain object
2093 */
2094 public static toObject(message: google.cloud.compute.v1.GetZoneOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2095
2096 /**
2097 * Converts this GetZoneOperationRequest to JSON.
2098 * @returns JSON object
2099 */
2100 public toJSON(): { [k: string]: any };
2101 }
2102
2103 /** Properties of a ListZoneOperationsRequest. */
2104 interface IListZoneOperationsRequest {
2105
2106 /** ListZoneOperationsRequest filter */
2107 filter?: (string|null);
2108
2109 /** ListZoneOperationsRequest maxResults */
2110 maxResults?: (number|null);
2111
2112 /** ListZoneOperationsRequest orderBy */
2113 orderBy?: (string|null);
2114
2115 /** ListZoneOperationsRequest pageToken */
2116 pageToken?: (string|null);
2117
2118 /** ListZoneOperationsRequest project */
2119 project?: (string|null);
2120
2121 /** ListZoneOperationsRequest returnPartialSuccess */
2122 returnPartialSuccess?: (boolean|null);
2123
2124 /** ListZoneOperationsRequest zone */
2125 zone?: (string|null);
2126 }
2127
2128 /** Represents a ListZoneOperationsRequest. */
2129 class ListZoneOperationsRequest implements IListZoneOperationsRequest {
2130
2131 /**
2132 * Constructs a new ListZoneOperationsRequest.
2133 * @param [properties] Properties to set
2134 */
2135 constructor(properties?: google.cloud.compute.v1.IListZoneOperationsRequest);
2136
2137 /** ListZoneOperationsRequest filter. */
2138 public filter?: (string|null);
2139
2140 /** ListZoneOperationsRequest maxResults. */
2141 public maxResults?: (number|null);
2142
2143 /** ListZoneOperationsRequest orderBy. */
2144 public orderBy?: (string|null);
2145
2146 /** ListZoneOperationsRequest pageToken. */
2147 public pageToken?: (string|null);
2148
2149 /** ListZoneOperationsRequest project. */
2150 public project: string;
2151
2152 /** ListZoneOperationsRequest returnPartialSuccess. */
2153 public returnPartialSuccess?: (boolean|null);
2154
2155 /** ListZoneOperationsRequest zone. */
2156 public zone: string;
2157
2158 /** ListZoneOperationsRequest _filter. */
2159 public _filter?: "filter";
2160
2161 /** ListZoneOperationsRequest _maxResults. */
2162 public _maxResults?: "maxResults";
2163
2164 /** ListZoneOperationsRequest _orderBy. */
2165 public _orderBy?: "orderBy";
2166
2167 /** ListZoneOperationsRequest _pageToken. */
2168 public _pageToken?: "pageToken";
2169
2170 /** ListZoneOperationsRequest _returnPartialSuccess. */
2171 public _returnPartialSuccess?: "returnPartialSuccess";
2172
2173 /**
2174 * Creates a new ListZoneOperationsRequest instance using the specified properties.
2175 * @param [properties] Properties to set
2176 * @returns ListZoneOperationsRequest instance
2177 */
2178 public static create(properties?: google.cloud.compute.v1.IListZoneOperationsRequest): google.cloud.compute.v1.ListZoneOperationsRequest;
2179
2180 /**
2181 * Encodes the specified ListZoneOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.ListZoneOperationsRequest.verify|verify} messages.
2182 * @param message ListZoneOperationsRequest message or plain object to encode
2183 * @param [writer] Writer to encode to
2184 * @returns Writer
2185 */
2186 public static encode(message: google.cloud.compute.v1.IListZoneOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2187
2188 /**
2189 * Encodes the specified ListZoneOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.ListZoneOperationsRequest.verify|verify} messages.
2190 * @param message ListZoneOperationsRequest message or plain object to encode
2191 * @param [writer] Writer to encode to
2192 * @returns Writer
2193 */
2194 public static encodeDelimited(message: google.cloud.compute.v1.IListZoneOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2195
2196 /**
2197 * Decodes a ListZoneOperationsRequest message from the specified reader or buffer.
2198 * @param reader Reader or buffer to decode from
2199 * @param [length] Message length if known beforehand
2200 * @returns ListZoneOperationsRequest
2201 * @throws {Error} If the payload is not a reader or valid buffer
2202 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2203 */
2204 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.ListZoneOperationsRequest;
2205
2206 /**
2207 * Decodes a ListZoneOperationsRequest message from the specified reader or buffer, length delimited.
2208 * @param reader Reader or buffer to decode from
2209 * @returns ListZoneOperationsRequest
2210 * @throws {Error} If the payload is not a reader or valid buffer
2211 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2212 */
2213 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.ListZoneOperationsRequest;
2214
2215 /**
2216 * Verifies a ListZoneOperationsRequest message.
2217 * @param message Plain object to verify
2218 * @returns `null` if valid, otherwise the reason why it is not
2219 */
2220 public static verify(message: { [k: string]: any }): (string|null);
2221
2222 /**
2223 * Creates a ListZoneOperationsRequest message from a plain object. Also converts values to their respective internal types.
2224 * @param object Plain object
2225 * @returns ListZoneOperationsRequest
2226 */
2227 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.ListZoneOperationsRequest;
2228
2229 /**
2230 * Creates a plain object from a ListZoneOperationsRequest message. Also converts values to other types if specified.
2231 * @param message ListZoneOperationsRequest
2232 * @param [options] Conversion options
2233 * @returns Plain object
2234 */
2235 public static toObject(message: google.cloud.compute.v1.ListZoneOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2236
2237 /**
2238 * Converts this ListZoneOperationsRequest to JSON.
2239 * @returns JSON object
2240 */
2241 public toJSON(): { [k: string]: any };
2242 }
2243
2244 /** Properties of a WaitZoneOperationRequest. */
2245 interface IWaitZoneOperationRequest {
2246
2247 /** WaitZoneOperationRequest operation */
2248 operation?: (string|null);
2249
2250 /** WaitZoneOperationRequest project */
2251 project?: (string|null);
2252
2253 /** WaitZoneOperationRequest zone */
2254 zone?: (string|null);
2255 }
2256
2257 /** Represents a WaitZoneOperationRequest. */
2258 class WaitZoneOperationRequest implements IWaitZoneOperationRequest {
2259
2260 /**
2261 * Constructs a new WaitZoneOperationRequest.
2262 * @param [properties] Properties to set
2263 */
2264 constructor(properties?: google.cloud.compute.v1.IWaitZoneOperationRequest);
2265
2266 /** WaitZoneOperationRequest operation. */
2267 public operation: string;
2268
2269 /** WaitZoneOperationRequest project. */
2270 public project: string;
2271
2272 /** WaitZoneOperationRequest zone. */
2273 public zone: string;
2274
2275 /**
2276 * Creates a new WaitZoneOperationRequest instance using the specified properties.
2277 * @param [properties] Properties to set
2278 * @returns WaitZoneOperationRequest instance
2279 */
2280 public static create(properties?: google.cloud.compute.v1.IWaitZoneOperationRequest): google.cloud.compute.v1.WaitZoneOperationRequest;
2281
2282 /**
2283 * Encodes the specified WaitZoneOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.WaitZoneOperationRequest.verify|verify} messages.
2284 * @param message WaitZoneOperationRequest message or plain object to encode
2285 * @param [writer] Writer to encode to
2286 * @returns Writer
2287 */
2288 public static encode(message: google.cloud.compute.v1.IWaitZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2289
2290 /**
2291 * Encodes the specified WaitZoneOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.WaitZoneOperationRequest.verify|verify} messages.
2292 * @param message WaitZoneOperationRequest message or plain object to encode
2293 * @param [writer] Writer to encode to
2294 * @returns Writer
2295 */
2296 public static encodeDelimited(message: google.cloud.compute.v1.IWaitZoneOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2297
2298 /**
2299 * Decodes a WaitZoneOperationRequest message from the specified reader or buffer.
2300 * @param reader Reader or buffer to decode from
2301 * @param [length] Message length if known beforehand
2302 * @returns WaitZoneOperationRequest
2303 * @throws {Error} If the payload is not a reader or valid buffer
2304 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2305 */
2306 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.WaitZoneOperationRequest;
2307
2308 /**
2309 * Decodes a WaitZoneOperationRequest message from the specified reader or buffer, length delimited.
2310 * @param reader Reader or buffer to decode from
2311 * @returns WaitZoneOperationRequest
2312 * @throws {Error} If the payload is not a reader or valid buffer
2313 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2314 */
2315 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.WaitZoneOperationRequest;
2316
2317 /**
2318 * Verifies a WaitZoneOperationRequest message.
2319 * @param message Plain object to verify
2320 * @returns `null` if valid, otherwise the reason why it is not
2321 */
2322 public static verify(message: { [k: string]: any }): (string|null);
2323
2324 /**
2325 * Creates a WaitZoneOperationRequest message from a plain object. Also converts values to their respective internal types.
2326 * @param object Plain object
2327 * @returns WaitZoneOperationRequest
2328 */
2329 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.WaitZoneOperationRequest;
2330
2331 /**
2332 * Creates a plain object from a WaitZoneOperationRequest message. Also converts values to other types if specified.
2333 * @param message WaitZoneOperationRequest
2334 * @param [options] Conversion options
2335 * @returns Plain object
2336 */
2337 public static toObject(message: google.cloud.compute.v1.WaitZoneOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2338
2339 /**
2340 * Converts this WaitZoneOperationRequest to JSON.
2341 * @returns JSON object
2342 */
2343 public toJSON(): { [k: string]: any };
2344 }
2345
2346 /** Properties of an AggregatedListGlobalOperationsRequest. */
2347 interface IAggregatedListGlobalOperationsRequest {
2348
2349 /** AggregatedListGlobalOperationsRequest filter */
2350 filter?: (string|null);
2351
2352 /** AggregatedListGlobalOperationsRequest includeAllScopes */
2353 includeAllScopes?: (boolean|null);
2354
2355 /** AggregatedListGlobalOperationsRequest maxResults */
2356 maxResults?: (number|null);
2357
2358 /** AggregatedListGlobalOperationsRequest orderBy */
2359 orderBy?: (string|null);
2360
2361 /** AggregatedListGlobalOperationsRequest pageToken */
2362 pageToken?: (string|null);
2363
2364 /** AggregatedListGlobalOperationsRequest project */
2365 project?: (string|null);
2366
2367 /** AggregatedListGlobalOperationsRequest returnPartialSuccess */
2368 returnPartialSuccess?: (boolean|null);
2369 }
2370
2371 /** Represents an AggregatedListGlobalOperationsRequest. */
2372 class AggregatedListGlobalOperationsRequest implements IAggregatedListGlobalOperationsRequest {
2373
2374 /**
2375 * Constructs a new AggregatedListGlobalOperationsRequest.
2376 * @param [properties] Properties to set
2377 */
2378 constructor(properties?: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest);
2379
2380 /** AggregatedListGlobalOperationsRequest filter. */
2381 public filter?: (string|null);
2382
2383 /** AggregatedListGlobalOperationsRequest includeAllScopes. */
2384 public includeAllScopes?: (boolean|null);
2385
2386 /** AggregatedListGlobalOperationsRequest maxResults. */
2387 public maxResults?: (number|null);
2388
2389 /** AggregatedListGlobalOperationsRequest orderBy. */
2390 public orderBy?: (string|null);
2391
2392 /** AggregatedListGlobalOperationsRequest pageToken. */
2393 public pageToken?: (string|null);
2394
2395 /** AggregatedListGlobalOperationsRequest project. */
2396 public project: string;
2397
2398 /** AggregatedListGlobalOperationsRequest returnPartialSuccess. */
2399 public returnPartialSuccess?: (boolean|null);
2400
2401 /** AggregatedListGlobalOperationsRequest _filter. */
2402 public _filter?: "filter";
2403
2404 /** AggregatedListGlobalOperationsRequest _includeAllScopes. */
2405 public _includeAllScopes?: "includeAllScopes";
2406
2407 /** AggregatedListGlobalOperationsRequest _maxResults. */
2408 public _maxResults?: "maxResults";
2409
2410 /** AggregatedListGlobalOperationsRequest _orderBy. */
2411 public _orderBy?: "orderBy";
2412
2413 /** AggregatedListGlobalOperationsRequest _pageToken. */
2414 public _pageToken?: "pageToken";
2415
2416 /** AggregatedListGlobalOperationsRequest _returnPartialSuccess. */
2417 public _returnPartialSuccess?: "returnPartialSuccess";
2418
2419 /**
2420 * Creates a new AggregatedListGlobalOperationsRequest instance using the specified properties.
2421 * @param [properties] Properties to set
2422 * @returns AggregatedListGlobalOperationsRequest instance
2423 */
2424 public static create(properties?: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest): google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
2425
2426 /**
2427 * Encodes the specified AggregatedListGlobalOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.AggregatedListGlobalOperationsRequest.verify|verify} messages.
2428 * @param message AggregatedListGlobalOperationsRequest message or plain object to encode
2429 * @param [writer] Writer to encode to
2430 * @returns Writer
2431 */
2432 public static encode(message: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2433
2434 /**
2435 * Encodes the specified AggregatedListGlobalOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.AggregatedListGlobalOperationsRequest.verify|verify} messages.
2436 * @param message AggregatedListGlobalOperationsRequest message or plain object to encode
2437 * @param [writer] Writer to encode to
2438 * @returns Writer
2439 */
2440 public static encodeDelimited(message: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2441
2442 /**
2443 * Decodes an AggregatedListGlobalOperationsRequest message from the specified reader or buffer.
2444 * @param reader Reader or buffer to decode from
2445 * @param [length] Message length if known beforehand
2446 * @returns AggregatedListGlobalOperationsRequest
2447 * @throws {Error} If the payload is not a reader or valid buffer
2448 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2449 */
2450 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
2451
2452 /**
2453 * Decodes an AggregatedListGlobalOperationsRequest message from the specified reader or buffer, length delimited.
2454 * @param reader Reader or buffer to decode from
2455 * @returns AggregatedListGlobalOperationsRequest
2456 * @throws {Error} If the payload is not a reader or valid buffer
2457 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2458 */
2459 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
2460
2461 /**
2462 * Verifies an AggregatedListGlobalOperationsRequest message.
2463 * @param message Plain object to verify
2464 * @returns `null` if valid, otherwise the reason why it is not
2465 */
2466 public static verify(message: { [k: string]: any }): (string|null);
2467
2468 /**
2469 * Creates an AggregatedListGlobalOperationsRequest message from a plain object. Also converts values to their respective internal types.
2470 * @param object Plain object
2471 * @returns AggregatedListGlobalOperationsRequest
2472 */
2473 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.AggregatedListGlobalOperationsRequest;
2474
2475 /**
2476 * Creates a plain object from an AggregatedListGlobalOperationsRequest message. Also converts values to other types if specified.
2477 * @param message AggregatedListGlobalOperationsRequest
2478 * @param [options] Conversion options
2479 * @returns Plain object
2480 */
2481 public static toObject(message: google.cloud.compute.v1.AggregatedListGlobalOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2482
2483 /**
2484 * Converts this AggregatedListGlobalOperationsRequest to JSON.
2485 * @returns JSON object
2486 */
2487 public toJSON(): { [k: string]: any };
2488 }
2489
2490 /** Properties of a DeleteGlobalOperationRequest. */
2491 interface IDeleteGlobalOperationRequest {
2492
2493 /** DeleteGlobalOperationRequest operation */
2494 operation?: (string|null);
2495
2496 /** DeleteGlobalOperationRequest project */
2497 project?: (string|null);
2498 }
2499
2500 /** Represents a DeleteGlobalOperationRequest. */
2501 class DeleteGlobalOperationRequest implements IDeleteGlobalOperationRequest {
2502
2503 /**
2504 * Constructs a new DeleteGlobalOperationRequest.
2505 * @param [properties] Properties to set
2506 */
2507 constructor(properties?: google.cloud.compute.v1.IDeleteGlobalOperationRequest);
2508
2509 /** DeleteGlobalOperationRequest operation. */
2510 public operation: string;
2511
2512 /** DeleteGlobalOperationRequest project. */
2513 public project: string;
2514
2515 /**
2516 * Creates a new DeleteGlobalOperationRequest instance using the specified properties.
2517 * @param [properties] Properties to set
2518 * @returns DeleteGlobalOperationRequest instance
2519 */
2520 public static create(properties?: google.cloud.compute.v1.IDeleteGlobalOperationRequest): google.cloud.compute.v1.DeleteGlobalOperationRequest;
2521
2522 /**
2523 * Encodes the specified DeleteGlobalOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOperationRequest.verify|verify} messages.
2524 * @param message DeleteGlobalOperationRequest message or plain object to encode
2525 * @param [writer] Writer to encode to
2526 * @returns Writer
2527 */
2528 public static encode(message: google.cloud.compute.v1.IDeleteGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2529
2530 /**
2531 * Encodes the specified DeleteGlobalOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOperationRequest.verify|verify} messages.
2532 * @param message DeleteGlobalOperationRequest message or plain object to encode
2533 * @param [writer] Writer to encode to
2534 * @returns Writer
2535 */
2536 public static encodeDelimited(message: google.cloud.compute.v1.IDeleteGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2537
2538 /**
2539 * Decodes a DeleteGlobalOperationRequest message from the specified reader or buffer.
2540 * @param reader Reader or buffer to decode from
2541 * @param [length] Message length if known beforehand
2542 * @returns DeleteGlobalOperationRequest
2543 * @throws {Error} If the payload is not a reader or valid buffer
2544 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2545 */
2546 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteGlobalOperationRequest;
2547
2548 /**
2549 * Decodes a DeleteGlobalOperationRequest message from the specified reader or buffer, length delimited.
2550 * @param reader Reader or buffer to decode from
2551 * @returns DeleteGlobalOperationRequest
2552 * @throws {Error} If the payload is not a reader or valid buffer
2553 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2554 */
2555 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteGlobalOperationRequest;
2556
2557 /**
2558 * Verifies a DeleteGlobalOperationRequest message.
2559 * @param message Plain object to verify
2560 * @returns `null` if valid, otherwise the reason why it is not
2561 */
2562 public static verify(message: { [k: string]: any }): (string|null);
2563
2564 /**
2565 * Creates a DeleteGlobalOperationRequest message from a plain object. Also converts values to their respective internal types.
2566 * @param object Plain object
2567 * @returns DeleteGlobalOperationRequest
2568 */
2569 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteGlobalOperationRequest;
2570
2571 /**
2572 * Creates a plain object from a DeleteGlobalOperationRequest message. Also converts values to other types if specified.
2573 * @param message DeleteGlobalOperationRequest
2574 * @param [options] Conversion options
2575 * @returns Plain object
2576 */
2577 public static toObject(message: google.cloud.compute.v1.DeleteGlobalOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2578
2579 /**
2580 * Converts this DeleteGlobalOperationRequest to JSON.
2581 * @returns JSON object
2582 */
2583 public toJSON(): { [k: string]: any };
2584 }
2585
2586 /** Properties of a DeleteGlobalOperationResponse. */
2587 interface IDeleteGlobalOperationResponse {
2588 }
2589
2590 /** Represents a DeleteGlobalOperationResponse. */
2591 class DeleteGlobalOperationResponse implements IDeleteGlobalOperationResponse {
2592
2593 /**
2594 * Constructs a new DeleteGlobalOperationResponse.
2595 * @param [properties] Properties to set
2596 */
2597 constructor(properties?: google.cloud.compute.v1.IDeleteGlobalOperationResponse);
2598
2599 /**
2600 * Creates a new DeleteGlobalOperationResponse instance using the specified properties.
2601 * @param [properties] Properties to set
2602 * @returns DeleteGlobalOperationResponse instance
2603 */
2604 public static create(properties?: google.cloud.compute.v1.IDeleteGlobalOperationResponse): google.cloud.compute.v1.DeleteGlobalOperationResponse;
2605
2606 /**
2607 * Encodes the specified DeleteGlobalOperationResponse message. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOperationResponse.verify|verify} messages.
2608 * @param message DeleteGlobalOperationResponse message or plain object to encode
2609 * @param [writer] Writer to encode to
2610 * @returns Writer
2611 */
2612 public static encode(message: google.cloud.compute.v1.IDeleteGlobalOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2613
2614 /**
2615 * Encodes the specified DeleteGlobalOperationResponse message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOperationResponse.verify|verify} messages.
2616 * @param message DeleteGlobalOperationResponse message or plain object to encode
2617 * @param [writer] Writer to encode to
2618 * @returns Writer
2619 */
2620 public static encodeDelimited(message: google.cloud.compute.v1.IDeleteGlobalOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
2621
2622 /**
2623 * Decodes a DeleteGlobalOperationResponse message from the specified reader or buffer.
2624 * @param reader Reader or buffer to decode from
2625 * @param [length] Message length if known beforehand
2626 * @returns DeleteGlobalOperationResponse
2627 * @throws {Error} If the payload is not a reader or valid buffer
2628 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2629 */
2630 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteGlobalOperationResponse;
2631
2632 /**
2633 * Decodes a DeleteGlobalOperationResponse message from the specified reader or buffer, length delimited.
2634 * @param reader Reader or buffer to decode from
2635 * @returns DeleteGlobalOperationResponse
2636 * @throws {Error} If the payload is not a reader or valid buffer
2637 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2638 */
2639 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteGlobalOperationResponse;
2640
2641 /**
2642 * Verifies a DeleteGlobalOperationResponse message.
2643 * @param message Plain object to verify
2644 * @returns `null` if valid, otherwise the reason why it is not
2645 */
2646 public static verify(message: { [k: string]: any }): (string|null);
2647
2648 /**
2649 * Creates a DeleteGlobalOperationResponse message from a plain object. Also converts values to their respective internal types.
2650 * @param object Plain object
2651 * @returns DeleteGlobalOperationResponse
2652 */
2653 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteGlobalOperationResponse;
2654
2655 /**
2656 * Creates a plain object from a DeleteGlobalOperationResponse message. Also converts values to other types if specified.
2657 * @param message DeleteGlobalOperationResponse
2658 * @param [options] Conversion options
2659 * @returns Plain object
2660 */
2661 public static toObject(message: google.cloud.compute.v1.DeleteGlobalOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
2662
2663 /**
2664 * Converts this DeleteGlobalOperationResponse to JSON.
2665 * @returns JSON object
2666 */
2667 public toJSON(): { [k: string]: any };
2668 }
2669
2670 /** Properties of a GetGlobalOperationRequest. */
2671 interface IGetGlobalOperationRequest {
2672
2673 /** GetGlobalOperationRequest operation */
2674 operation?: (string|null);
2675
2676 /** GetGlobalOperationRequest project */
2677 project?: (string|null);
2678 }
2679
2680 /** Represents a GetGlobalOperationRequest. */
2681 class GetGlobalOperationRequest implements IGetGlobalOperationRequest {
2682
2683 /**
2684 * Constructs a new GetGlobalOperationRequest.
2685 * @param [properties] Properties to set
2686 */
2687 constructor(properties?: google.cloud.compute.v1.IGetGlobalOperationRequest);
2688
2689 /** GetGlobalOperationRequest operation. */
2690 public operation: string;
2691
2692 /** GetGlobalOperationRequest project. */
2693 public project: string;
2694
2695 /**
2696 * Creates a new GetGlobalOperationRequest instance using the specified properties.
2697 * @param [properties] Properties to set
2698 * @returns GetGlobalOperationRequest instance
2699 */
2700 public static create(properties?: google.cloud.compute.v1.IGetGlobalOperationRequest): google.cloud.compute.v1.GetGlobalOperationRequest;
2701
2702 /**
2703 * Encodes the specified GetGlobalOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.GetGlobalOperationRequest.verify|verify} messages.
2704 * @param message GetGlobalOperationRequest message or plain object to encode
2705 * @param [writer] Writer to encode to
2706 * @returns Writer
2707 */
2708 public static encode(message: google.cloud.compute.v1.IGetGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2709
2710 /**
2711 * Encodes the specified GetGlobalOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.GetGlobalOperationRequest.verify|verify} messages.
2712 * @param message GetGlobalOperationRequest message or plain object to encode
2713 * @param [writer] Writer to encode to
2714 * @returns Writer
2715 */
2716 public static encodeDelimited(message: google.cloud.compute.v1.IGetGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2717
2718 /**
2719 * Decodes a GetGlobalOperationRequest message from the specified reader or buffer.
2720 * @param reader Reader or buffer to decode from
2721 * @param [length] Message length if known beforehand
2722 * @returns GetGlobalOperationRequest
2723 * @throws {Error} If the payload is not a reader or valid buffer
2724 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2725 */
2726 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.GetGlobalOperationRequest;
2727
2728 /**
2729 * Decodes a GetGlobalOperationRequest message from the specified reader or buffer, length delimited.
2730 * @param reader Reader or buffer to decode from
2731 * @returns GetGlobalOperationRequest
2732 * @throws {Error} If the payload is not a reader or valid buffer
2733 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2734 */
2735 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.GetGlobalOperationRequest;
2736
2737 /**
2738 * Verifies a GetGlobalOperationRequest message.
2739 * @param message Plain object to verify
2740 * @returns `null` if valid, otherwise the reason why it is not
2741 */
2742 public static verify(message: { [k: string]: any }): (string|null);
2743
2744 /**
2745 * Creates a GetGlobalOperationRequest message from a plain object. Also converts values to their respective internal types.
2746 * @param object Plain object
2747 * @returns GetGlobalOperationRequest
2748 */
2749 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.GetGlobalOperationRequest;
2750
2751 /**
2752 * Creates a plain object from a GetGlobalOperationRequest message. Also converts values to other types if specified.
2753 * @param message GetGlobalOperationRequest
2754 * @param [options] Conversion options
2755 * @returns Plain object
2756 */
2757 public static toObject(message: google.cloud.compute.v1.GetGlobalOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2758
2759 /**
2760 * Converts this GetGlobalOperationRequest to JSON.
2761 * @returns JSON object
2762 */
2763 public toJSON(): { [k: string]: any };
2764 }
2765
2766 /** Properties of a ListGlobalOperationsRequest. */
2767 interface IListGlobalOperationsRequest {
2768
2769 /** ListGlobalOperationsRequest filter */
2770 filter?: (string|null);
2771
2772 /** ListGlobalOperationsRequest maxResults */
2773 maxResults?: (number|null);
2774
2775 /** ListGlobalOperationsRequest orderBy */
2776 orderBy?: (string|null);
2777
2778 /** ListGlobalOperationsRequest pageToken */
2779 pageToken?: (string|null);
2780
2781 /** ListGlobalOperationsRequest project */
2782 project?: (string|null);
2783
2784 /** ListGlobalOperationsRequest returnPartialSuccess */
2785 returnPartialSuccess?: (boolean|null);
2786 }
2787
2788 /** Represents a ListGlobalOperationsRequest. */
2789 class ListGlobalOperationsRequest implements IListGlobalOperationsRequest {
2790
2791 /**
2792 * Constructs a new ListGlobalOperationsRequest.
2793 * @param [properties] Properties to set
2794 */
2795 constructor(properties?: google.cloud.compute.v1.IListGlobalOperationsRequest);
2796
2797 /** ListGlobalOperationsRequest filter. */
2798 public filter?: (string|null);
2799
2800 /** ListGlobalOperationsRequest maxResults. */
2801 public maxResults?: (number|null);
2802
2803 /** ListGlobalOperationsRequest orderBy. */
2804 public orderBy?: (string|null);
2805
2806 /** ListGlobalOperationsRequest pageToken. */
2807 public pageToken?: (string|null);
2808
2809 /** ListGlobalOperationsRequest project. */
2810 public project: string;
2811
2812 /** ListGlobalOperationsRequest returnPartialSuccess. */
2813 public returnPartialSuccess?: (boolean|null);
2814
2815 /** ListGlobalOperationsRequest _filter. */
2816 public _filter?: "filter";
2817
2818 /** ListGlobalOperationsRequest _maxResults. */
2819 public _maxResults?: "maxResults";
2820
2821 /** ListGlobalOperationsRequest _orderBy. */
2822 public _orderBy?: "orderBy";
2823
2824 /** ListGlobalOperationsRequest _pageToken. */
2825 public _pageToken?: "pageToken";
2826
2827 /** ListGlobalOperationsRequest _returnPartialSuccess. */
2828 public _returnPartialSuccess?: "returnPartialSuccess";
2829
2830 /**
2831 * Creates a new ListGlobalOperationsRequest instance using the specified properties.
2832 * @param [properties] Properties to set
2833 * @returns ListGlobalOperationsRequest instance
2834 */
2835 public static create(properties?: google.cloud.compute.v1.IListGlobalOperationsRequest): google.cloud.compute.v1.ListGlobalOperationsRequest;
2836
2837 /**
2838 * Encodes the specified ListGlobalOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.ListGlobalOperationsRequest.verify|verify} messages.
2839 * @param message ListGlobalOperationsRequest message or plain object to encode
2840 * @param [writer] Writer to encode to
2841 * @returns Writer
2842 */
2843 public static encode(message: google.cloud.compute.v1.IListGlobalOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2844
2845 /**
2846 * Encodes the specified ListGlobalOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.ListGlobalOperationsRequest.verify|verify} messages.
2847 * @param message ListGlobalOperationsRequest message or plain object to encode
2848 * @param [writer] Writer to encode to
2849 * @returns Writer
2850 */
2851 public static encodeDelimited(message: google.cloud.compute.v1.IListGlobalOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2852
2853 /**
2854 * Decodes a ListGlobalOperationsRequest message from the specified reader or buffer.
2855 * @param reader Reader or buffer to decode from
2856 * @param [length] Message length if known beforehand
2857 * @returns ListGlobalOperationsRequest
2858 * @throws {Error} If the payload is not a reader or valid buffer
2859 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2860 */
2861 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.ListGlobalOperationsRequest;
2862
2863 /**
2864 * Decodes a ListGlobalOperationsRequest message from the specified reader or buffer, length delimited.
2865 * @param reader Reader or buffer to decode from
2866 * @returns ListGlobalOperationsRequest
2867 * @throws {Error} If the payload is not a reader or valid buffer
2868 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2869 */
2870 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.ListGlobalOperationsRequest;
2871
2872 /**
2873 * Verifies a ListGlobalOperationsRequest message.
2874 * @param message Plain object to verify
2875 * @returns `null` if valid, otherwise the reason why it is not
2876 */
2877 public static verify(message: { [k: string]: any }): (string|null);
2878
2879 /**
2880 * Creates a ListGlobalOperationsRequest message from a plain object. Also converts values to their respective internal types.
2881 * @param object Plain object
2882 * @returns ListGlobalOperationsRequest
2883 */
2884 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.ListGlobalOperationsRequest;
2885
2886 /**
2887 * Creates a plain object from a ListGlobalOperationsRequest message. Also converts values to other types if specified.
2888 * @param message ListGlobalOperationsRequest
2889 * @param [options] Conversion options
2890 * @returns Plain object
2891 */
2892 public static toObject(message: google.cloud.compute.v1.ListGlobalOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2893
2894 /**
2895 * Converts this ListGlobalOperationsRequest to JSON.
2896 * @returns JSON object
2897 */
2898 public toJSON(): { [k: string]: any };
2899 }
2900
2901 /** Properties of a WaitGlobalOperationRequest. */
2902 interface IWaitGlobalOperationRequest {
2903
2904 /** WaitGlobalOperationRequest operation */
2905 operation?: (string|null);
2906
2907 /** WaitGlobalOperationRequest project */
2908 project?: (string|null);
2909 }
2910
2911 /** Represents a WaitGlobalOperationRequest. */
2912 class WaitGlobalOperationRequest implements IWaitGlobalOperationRequest {
2913
2914 /**
2915 * Constructs a new WaitGlobalOperationRequest.
2916 * @param [properties] Properties to set
2917 */
2918 constructor(properties?: google.cloud.compute.v1.IWaitGlobalOperationRequest);
2919
2920 /** WaitGlobalOperationRequest operation. */
2921 public operation: string;
2922
2923 /** WaitGlobalOperationRequest project. */
2924 public project: string;
2925
2926 /**
2927 * Creates a new WaitGlobalOperationRequest instance using the specified properties.
2928 * @param [properties] Properties to set
2929 * @returns WaitGlobalOperationRequest instance
2930 */
2931 public static create(properties?: google.cloud.compute.v1.IWaitGlobalOperationRequest): google.cloud.compute.v1.WaitGlobalOperationRequest;
2932
2933 /**
2934 * Encodes the specified WaitGlobalOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.WaitGlobalOperationRequest.verify|verify} messages.
2935 * @param message WaitGlobalOperationRequest message or plain object to encode
2936 * @param [writer] Writer to encode to
2937 * @returns Writer
2938 */
2939 public static encode(message: google.cloud.compute.v1.IWaitGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2940
2941 /**
2942 * Encodes the specified WaitGlobalOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.WaitGlobalOperationRequest.verify|verify} messages.
2943 * @param message WaitGlobalOperationRequest message or plain object to encode
2944 * @param [writer] Writer to encode to
2945 * @returns Writer
2946 */
2947 public static encodeDelimited(message: google.cloud.compute.v1.IWaitGlobalOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
2948
2949 /**
2950 * Decodes a WaitGlobalOperationRequest message from the specified reader or buffer.
2951 * @param reader Reader or buffer to decode from
2952 * @param [length] Message length if known beforehand
2953 * @returns WaitGlobalOperationRequest
2954 * @throws {Error} If the payload is not a reader or valid buffer
2955 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2956 */
2957 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.WaitGlobalOperationRequest;
2958
2959 /**
2960 * Decodes a WaitGlobalOperationRequest message from the specified reader or buffer, length delimited.
2961 * @param reader Reader or buffer to decode from
2962 * @returns WaitGlobalOperationRequest
2963 * @throws {Error} If the payload is not a reader or valid buffer
2964 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2965 */
2966 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.WaitGlobalOperationRequest;
2967
2968 /**
2969 * Verifies a WaitGlobalOperationRequest message.
2970 * @param message Plain object to verify
2971 * @returns `null` if valid, otherwise the reason why it is not
2972 */
2973 public static verify(message: { [k: string]: any }): (string|null);
2974
2975 /**
2976 * Creates a WaitGlobalOperationRequest message from a plain object. Also converts values to their respective internal types.
2977 * @param object Plain object
2978 * @returns WaitGlobalOperationRequest
2979 */
2980 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.WaitGlobalOperationRequest;
2981
2982 /**
2983 * Creates a plain object from a WaitGlobalOperationRequest message. Also converts values to other types if specified.
2984 * @param message WaitGlobalOperationRequest
2985 * @param [options] Conversion options
2986 * @returns Plain object
2987 */
2988 public static toObject(message: google.cloud.compute.v1.WaitGlobalOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
2989
2990 /**
2991 * Converts this WaitGlobalOperationRequest to JSON.
2992 * @returns JSON object
2993 */
2994 public toJSON(): { [k: string]: any };
2995 }
2996
2997 /** Properties of a DeleteGlobalOrganizationOperationRequest. */
2998 interface IDeleteGlobalOrganizationOperationRequest {
2999
3000 /** DeleteGlobalOrganizationOperationRequest operation */
3001 operation?: (string|null);
3002
3003 /** DeleteGlobalOrganizationOperationRequest parentId */
3004 parentId?: (string|null);
3005 }
3006
3007 /** Represents a DeleteGlobalOrganizationOperationRequest. */
3008 class DeleteGlobalOrganizationOperationRequest implements IDeleteGlobalOrganizationOperationRequest {
3009
3010 /**
3011 * Constructs a new DeleteGlobalOrganizationOperationRequest.
3012 * @param [properties] Properties to set
3013 */
3014 constructor(properties?: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest);
3015
3016 /** DeleteGlobalOrganizationOperationRequest operation. */
3017 public operation: string;
3018
3019 /** DeleteGlobalOrganizationOperationRequest parentId. */
3020 public parentId?: (string|null);
3021
3022 /** DeleteGlobalOrganizationOperationRequest _parentId. */
3023 public _parentId?: "parentId";
3024
3025 /**
3026 * Creates a new DeleteGlobalOrganizationOperationRequest instance using the specified properties.
3027 * @param [properties] Properties to set
3028 * @returns DeleteGlobalOrganizationOperationRequest instance
3029 */
3030 public static create(properties?: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest): google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest;
3031
3032 /**
3033 * Encodes the specified DeleteGlobalOrganizationOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest.verify|verify} messages.
3034 * @param message DeleteGlobalOrganizationOperationRequest message or plain object to encode
3035 * @param [writer] Writer to encode to
3036 * @returns Writer
3037 */
3038 public static encode(message: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3039
3040 /**
3041 * Encodes the specified DeleteGlobalOrganizationOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest.verify|verify} messages.
3042 * @param message DeleteGlobalOrganizationOperationRequest message or plain object to encode
3043 * @param [writer] Writer to encode to
3044 * @returns Writer
3045 */
3046 public static encodeDelimited(message: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3047
3048 /**
3049 * Decodes a DeleteGlobalOrganizationOperationRequest message from the specified reader or buffer.
3050 * @param reader Reader or buffer to decode from
3051 * @param [length] Message length if known beforehand
3052 * @returns DeleteGlobalOrganizationOperationRequest
3053 * @throws {Error} If the payload is not a reader or valid buffer
3054 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3055 */
3056 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest;
3057
3058 /**
3059 * Decodes a DeleteGlobalOrganizationOperationRequest message from the specified reader or buffer, length delimited.
3060 * @param reader Reader or buffer to decode from
3061 * @returns DeleteGlobalOrganizationOperationRequest
3062 * @throws {Error} If the payload is not a reader or valid buffer
3063 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3064 */
3065 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest;
3066
3067 /**
3068 * Verifies a DeleteGlobalOrganizationOperationRequest message.
3069 * @param message Plain object to verify
3070 * @returns `null` if valid, otherwise the reason why it is not
3071 */
3072 public static verify(message: { [k: string]: any }): (string|null);
3073
3074 /**
3075 * Creates a DeleteGlobalOrganizationOperationRequest message from a plain object. Also converts values to their respective internal types.
3076 * @param object Plain object
3077 * @returns DeleteGlobalOrganizationOperationRequest
3078 */
3079 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest;
3080
3081 /**
3082 * Creates a plain object from a DeleteGlobalOrganizationOperationRequest message. Also converts values to other types if specified.
3083 * @param message DeleteGlobalOrganizationOperationRequest
3084 * @param [options] Conversion options
3085 * @returns Plain object
3086 */
3087 public static toObject(message: google.cloud.compute.v1.DeleteGlobalOrganizationOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3088
3089 /**
3090 * Converts this DeleteGlobalOrganizationOperationRequest to JSON.
3091 * @returns JSON object
3092 */
3093 public toJSON(): { [k: string]: any };
3094 }
3095
3096 /** Properties of a DeleteGlobalOrganizationOperationResponse. */
3097 interface IDeleteGlobalOrganizationOperationResponse {
3098 }
3099
3100 /** Represents a DeleteGlobalOrganizationOperationResponse. */
3101 class DeleteGlobalOrganizationOperationResponse implements IDeleteGlobalOrganizationOperationResponse {
3102
3103 /**
3104 * Constructs a new DeleteGlobalOrganizationOperationResponse.
3105 * @param [properties] Properties to set
3106 */
3107 constructor(properties?: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationResponse);
3108
3109 /**
3110 * Creates a new DeleteGlobalOrganizationOperationResponse instance using the specified properties.
3111 * @param [properties] Properties to set
3112 * @returns DeleteGlobalOrganizationOperationResponse instance
3113 */
3114 public static create(properties?: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationResponse): google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse;
3115
3116 /**
3117 * Encodes the specified DeleteGlobalOrganizationOperationResponse message. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse.verify|verify} messages.
3118 * @param message DeleteGlobalOrganizationOperationResponse message or plain object to encode
3119 * @param [writer] Writer to encode to
3120 * @returns Writer
3121 */
3122 public static encode(message: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3123
3124 /**
3125 * Encodes the specified DeleteGlobalOrganizationOperationResponse message, length delimited. Does not implicitly {@link google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse.verify|verify} messages.
3126 * @param message DeleteGlobalOrganizationOperationResponse message or plain object to encode
3127 * @param [writer] Writer to encode to
3128 * @returns Writer
3129 */
3130 public static encodeDelimited(message: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationResponse, writer?: $protobuf.Writer): $protobuf.Writer;
3131
3132 /**
3133 * Decodes a DeleteGlobalOrganizationOperationResponse message from the specified reader or buffer.
3134 * @param reader Reader or buffer to decode from
3135 * @param [length] Message length if known beforehand
3136 * @returns DeleteGlobalOrganizationOperationResponse
3137 * @throws {Error} If the payload is not a reader or valid buffer
3138 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3139 */
3140 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse;
3141
3142 /**
3143 * Decodes a DeleteGlobalOrganizationOperationResponse message from the specified reader or buffer, length delimited.
3144 * @param reader Reader or buffer to decode from
3145 * @returns DeleteGlobalOrganizationOperationResponse
3146 * @throws {Error} If the payload is not a reader or valid buffer
3147 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3148 */
3149 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse;
3150
3151 /**
3152 * Verifies a DeleteGlobalOrganizationOperationResponse message.
3153 * @param message Plain object to verify
3154 * @returns `null` if valid, otherwise the reason why it is not
3155 */
3156 public static verify(message: { [k: string]: any }): (string|null);
3157
3158 /**
3159 * Creates a DeleteGlobalOrganizationOperationResponse message from a plain object. Also converts values to their respective internal types.
3160 * @param object Plain object
3161 * @returns DeleteGlobalOrganizationOperationResponse
3162 */
3163 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse;
3164
3165 /**
3166 * Creates a plain object from a DeleteGlobalOrganizationOperationResponse message. Also converts values to other types if specified.
3167 * @param message DeleteGlobalOrganizationOperationResponse
3168 * @param [options] Conversion options
3169 * @returns Plain object
3170 */
3171 public static toObject(message: google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
3172
3173 /**
3174 * Converts this DeleteGlobalOrganizationOperationResponse to JSON.
3175 * @returns JSON object
3176 */
3177 public toJSON(): { [k: string]: any };
3178 }
3179
3180 /** Properties of a GetGlobalOrganizationOperationRequest. */
3181 interface IGetGlobalOrganizationOperationRequest {
3182
3183 /** GetGlobalOrganizationOperationRequest operation */
3184 operation?: (string|null);
3185
3186 /** GetGlobalOrganizationOperationRequest parentId */
3187 parentId?: (string|null);
3188 }
3189
3190 /** Represents a GetGlobalOrganizationOperationRequest. */
3191 class GetGlobalOrganizationOperationRequest implements IGetGlobalOrganizationOperationRequest {
3192
3193 /**
3194 * Constructs a new GetGlobalOrganizationOperationRequest.
3195 * @param [properties] Properties to set
3196 */
3197 constructor(properties?: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest);
3198
3199 /** GetGlobalOrganizationOperationRequest operation. */
3200 public operation: string;
3201
3202 /** GetGlobalOrganizationOperationRequest parentId. */
3203 public parentId?: (string|null);
3204
3205 /** GetGlobalOrganizationOperationRequest _parentId. */
3206 public _parentId?: "parentId";
3207
3208 /**
3209 * Creates a new GetGlobalOrganizationOperationRequest instance using the specified properties.
3210 * @param [properties] Properties to set
3211 * @returns GetGlobalOrganizationOperationRequest instance
3212 */
3213 public static create(properties?: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest): google.cloud.compute.v1.GetGlobalOrganizationOperationRequest;
3214
3215 /**
3216 * Encodes the specified GetGlobalOrganizationOperationRequest message. Does not implicitly {@link google.cloud.compute.v1.GetGlobalOrganizationOperationRequest.verify|verify} messages.
3217 * @param message GetGlobalOrganizationOperationRequest message or plain object to encode
3218 * @param [writer] Writer to encode to
3219 * @returns Writer
3220 */
3221 public static encode(message: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3222
3223 /**
3224 * Encodes the specified GetGlobalOrganizationOperationRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.GetGlobalOrganizationOperationRequest.verify|verify} messages.
3225 * @param message GetGlobalOrganizationOperationRequest message or plain object to encode
3226 * @param [writer] Writer to encode to
3227 * @returns Writer
3228 */
3229 public static encodeDelimited(message: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3230
3231 /**
3232 * Decodes a GetGlobalOrganizationOperationRequest message from the specified reader or buffer.
3233 * @param reader Reader or buffer to decode from
3234 * @param [length] Message length if known beforehand
3235 * @returns GetGlobalOrganizationOperationRequest
3236 * @throws {Error} If the payload is not a reader or valid buffer
3237 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3238 */
3239 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.GetGlobalOrganizationOperationRequest;
3240
3241 /**
3242 * Decodes a GetGlobalOrganizationOperationRequest message from the specified reader or buffer, length delimited.
3243 * @param reader Reader or buffer to decode from
3244 * @returns GetGlobalOrganizationOperationRequest
3245 * @throws {Error} If the payload is not a reader or valid buffer
3246 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3247 */
3248 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.GetGlobalOrganizationOperationRequest;
3249
3250 /**
3251 * Verifies a GetGlobalOrganizationOperationRequest message.
3252 * @param message Plain object to verify
3253 * @returns `null` if valid, otherwise the reason why it is not
3254 */
3255 public static verify(message: { [k: string]: any }): (string|null);
3256
3257 /**
3258 * Creates a GetGlobalOrganizationOperationRequest message from a plain object. Also converts values to their respective internal types.
3259 * @param object Plain object
3260 * @returns GetGlobalOrganizationOperationRequest
3261 */
3262 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.GetGlobalOrganizationOperationRequest;
3263
3264 /**
3265 * Creates a plain object from a GetGlobalOrganizationOperationRequest message. Also converts values to other types if specified.
3266 * @param message GetGlobalOrganizationOperationRequest
3267 * @param [options] Conversion options
3268 * @returns Plain object
3269 */
3270 public static toObject(message: google.cloud.compute.v1.GetGlobalOrganizationOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3271
3272 /**
3273 * Converts this GetGlobalOrganizationOperationRequest to JSON.
3274 * @returns JSON object
3275 */
3276 public toJSON(): { [k: string]: any };
3277 }
3278
3279 /** Properties of a ListGlobalOrganizationOperationsRequest. */
3280 interface IListGlobalOrganizationOperationsRequest {
3281
3282 /** ListGlobalOrganizationOperationsRequest filter */
3283 filter?: (string|null);
3284
3285 /** ListGlobalOrganizationOperationsRequest maxResults */
3286 maxResults?: (number|null);
3287
3288 /** ListGlobalOrganizationOperationsRequest orderBy */
3289 orderBy?: (string|null);
3290
3291 /** ListGlobalOrganizationOperationsRequest pageToken */
3292 pageToken?: (string|null);
3293
3294 /** ListGlobalOrganizationOperationsRequest parentId */
3295 parentId?: (string|null);
3296
3297 /** ListGlobalOrganizationOperationsRequest returnPartialSuccess */
3298 returnPartialSuccess?: (boolean|null);
3299 }
3300
3301 /** Represents a ListGlobalOrganizationOperationsRequest. */
3302 class ListGlobalOrganizationOperationsRequest implements IListGlobalOrganizationOperationsRequest {
3303
3304 /**
3305 * Constructs a new ListGlobalOrganizationOperationsRequest.
3306 * @param [properties] Properties to set
3307 */
3308 constructor(properties?: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest);
3309
3310 /** ListGlobalOrganizationOperationsRequest filter. */
3311 public filter?: (string|null);
3312
3313 /** ListGlobalOrganizationOperationsRequest maxResults. */
3314 public maxResults?: (number|null);
3315
3316 /** ListGlobalOrganizationOperationsRequest orderBy. */
3317 public orderBy?: (string|null);
3318
3319 /** ListGlobalOrganizationOperationsRequest pageToken. */
3320 public pageToken?: (string|null);
3321
3322 /** ListGlobalOrganizationOperationsRequest parentId. */
3323 public parentId?: (string|null);
3324
3325 /** ListGlobalOrganizationOperationsRequest returnPartialSuccess. */
3326 public returnPartialSuccess?: (boolean|null);
3327
3328 /** ListGlobalOrganizationOperationsRequest _filter. */
3329 public _filter?: "filter";
3330
3331 /** ListGlobalOrganizationOperationsRequest _maxResults. */
3332 public _maxResults?: "maxResults";
3333
3334 /** ListGlobalOrganizationOperationsRequest _orderBy. */
3335 public _orderBy?: "orderBy";
3336
3337 /** ListGlobalOrganizationOperationsRequest _pageToken. */
3338 public _pageToken?: "pageToken";
3339
3340 /** ListGlobalOrganizationOperationsRequest _parentId. */
3341 public _parentId?: "parentId";
3342
3343 /** ListGlobalOrganizationOperationsRequest _returnPartialSuccess. */
3344 public _returnPartialSuccess?: "returnPartialSuccess";
3345
3346 /**
3347 * Creates a new ListGlobalOrganizationOperationsRequest instance using the specified properties.
3348 * @param [properties] Properties to set
3349 * @returns ListGlobalOrganizationOperationsRequest instance
3350 */
3351 public static create(properties?: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest): google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest;
3352
3353 /**
3354 * Encodes the specified ListGlobalOrganizationOperationsRequest message. Does not implicitly {@link google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest.verify|verify} messages.
3355 * @param message ListGlobalOrganizationOperationsRequest message or plain object to encode
3356 * @param [writer] Writer to encode to
3357 * @returns Writer
3358 */
3359 public static encode(message: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3360
3361 /**
3362 * Encodes the specified ListGlobalOrganizationOperationsRequest message, length delimited. Does not implicitly {@link google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest.verify|verify} messages.
3363 * @param message ListGlobalOrganizationOperationsRequest message or plain object to encode
3364 * @param [writer] Writer to encode to
3365 * @returns Writer
3366 */
3367 public static encodeDelimited(message: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
3368
3369 /**
3370 * Decodes a ListGlobalOrganizationOperationsRequest message from the specified reader or buffer.
3371 * @param reader Reader or buffer to decode from
3372 * @param [length] Message length if known beforehand
3373 * @returns ListGlobalOrganizationOperationsRequest
3374 * @throws {Error} If the payload is not a reader or valid buffer
3375 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3376 */
3377 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest;
3378
3379 /**
3380 * Decodes a ListGlobalOrganizationOperationsRequest message from the specified reader or buffer, length delimited.
3381 * @param reader Reader or buffer to decode from
3382 * @returns ListGlobalOrganizationOperationsRequest
3383 * @throws {Error} If the payload is not a reader or valid buffer
3384 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3385 */
3386 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest;
3387
3388 /**
3389 * Verifies a ListGlobalOrganizationOperationsRequest message.
3390 * @param message Plain object to verify
3391 * @returns `null` if valid, otherwise the reason why it is not
3392 */
3393 public static verify(message: { [k: string]: any }): (string|null);
3394
3395 /**
3396 * Creates a ListGlobalOrganizationOperationsRequest message from a plain object. Also converts values to their respective internal types.
3397 * @param object Plain object
3398 * @returns ListGlobalOrganizationOperationsRequest
3399 */
3400 public static fromObject(object: { [k: string]: any }): google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest;
3401
3402 /**
3403 * Creates a plain object from a ListGlobalOrganizationOperationsRequest message. Also converts values to other types if specified.
3404 * @param message ListGlobalOrganizationOperationsRequest
3405 * @param [options] Conversion options
3406 * @returns Plain object
3407 */
3408 public static toObject(message: google.cloud.compute.v1.ListGlobalOrganizationOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
3409
3410 /**
3411 * Converts this ListGlobalOrganizationOperationsRequest to JSON.
3412 * @returns JSON object
3413 */
3414 public toJSON(): { [k: string]: any };
3415 }
3416
3417 /** Represents a RegionOperations */
3418 class RegionOperations extends $protobuf.rpc.Service {
3419
3420 /**
3421 * Constructs a new RegionOperations service.
3422 * @param rpcImpl RPC implementation
3423 * @param [requestDelimited=false] Whether requests are length-delimited
3424 * @param [responseDelimited=false] Whether responses are length-delimited
3425 */
3426 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
3427
3428 /**
3429 * Creates new RegionOperations service using the specified rpc implementation.
3430 * @param rpcImpl RPC implementation
3431 * @param [requestDelimited=false] Whether requests are length-delimited
3432 * @param [responseDelimited=false] Whether responses are length-delimited
3433 * @returns RPC service. Useful where requests and/or responses are streamed.
3434 */
3435 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): RegionOperations;
3436
3437 /**
3438 * Calls Delete.
3439 * @param request DeleteRegionOperationRequest message or plain object
3440 * @param callback Node-style callback called with the error, if any, and DeleteRegionOperationResponse
3441 */
3442 public delete(request: google.cloud.compute.v1.IDeleteRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.DeleteCallback): void;
3443
3444 /**
3445 * Calls Delete.
3446 * @param request DeleteRegionOperationRequest message or plain object
3447 * @returns Promise
3448 */
3449 public delete(request: google.cloud.compute.v1.IDeleteRegionOperationRequest): Promise<google.cloud.compute.v1.DeleteRegionOperationResponse>;
3450
3451 /**
3452 * Calls Get.
3453 * @param request GetRegionOperationRequest message or plain object
3454 * @param callback Node-style callback called with the error, if any, and Operation
3455 */
3456 public get(request: google.cloud.compute.v1.IGetRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.GetCallback): void;
3457
3458 /**
3459 * Calls Get.
3460 * @param request GetRegionOperationRequest message or plain object
3461 * @returns Promise
3462 */
3463 public get(request: google.cloud.compute.v1.IGetRegionOperationRequest): Promise<google.cloud.compute.v1.Operation>;
3464
3465 /**
3466 * Calls List.
3467 * @param request ListRegionOperationsRequest message or plain object
3468 * @param callback Node-style callback called with the error, if any, and OperationList
3469 */
3470 public list(request: google.cloud.compute.v1.IListRegionOperationsRequest, callback: google.cloud.compute.v1.RegionOperations.ListCallback): void;
3471
3472 /**
3473 * Calls List.
3474 * @param request ListRegionOperationsRequest message or plain object
3475 * @returns Promise
3476 */
3477 public list(request: google.cloud.compute.v1.IListRegionOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
3478
3479 /**
3480 * Calls Wait.
3481 * @param request WaitRegionOperationRequest message or plain object
3482 * @param callback Node-style callback called with the error, if any, and Operation
3483 */
3484 public wait(request: google.cloud.compute.v1.IWaitRegionOperationRequest, callback: google.cloud.compute.v1.RegionOperations.WaitCallback): void;
3485
3486 /**
3487 * Calls Wait.
3488 * @param request WaitRegionOperationRequest message or plain object
3489 * @returns Promise
3490 */
3491 public wait(request: google.cloud.compute.v1.IWaitRegionOperationRequest): Promise<google.cloud.compute.v1.Operation>;
3492 }
3493
3494 namespace RegionOperations {
3495
3496 /**
3497 * Callback as used by {@link google.cloud.compute.v1.RegionOperations#delete_}.
3498 * @param error Error, if any
3499 * @param [response] DeleteRegionOperationResponse
3500 */
3501 type DeleteCallback = (error: (Error|null), response?: google.cloud.compute.v1.DeleteRegionOperationResponse) => void;
3502
3503 /**
3504 * Callback as used by {@link google.cloud.compute.v1.RegionOperations#get}.
3505 * @param error Error, if any
3506 * @param [response] Operation
3507 */
3508 type GetCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
3509
3510 /**
3511 * Callback as used by {@link google.cloud.compute.v1.RegionOperations#list}.
3512 * @param error Error, if any
3513 * @param [response] OperationList
3514 */
3515 type ListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationList) => void;
3516
3517 /**
3518 * Callback as used by {@link google.cloud.compute.v1.RegionOperations#wait}.
3519 * @param error Error, if any
3520 * @param [response] Operation
3521 */
3522 type WaitCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
3523 }
3524
3525 /** Represents a ZoneOperations */
3526 class ZoneOperations extends $protobuf.rpc.Service {
3527
3528 /**
3529 * Constructs a new ZoneOperations service.
3530 * @param rpcImpl RPC implementation
3531 * @param [requestDelimited=false] Whether requests are length-delimited
3532 * @param [responseDelimited=false] Whether responses are length-delimited
3533 */
3534 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
3535
3536 /**
3537 * Creates new ZoneOperations service using the specified rpc implementation.
3538 * @param rpcImpl RPC implementation
3539 * @param [requestDelimited=false] Whether requests are length-delimited
3540 * @param [responseDelimited=false] Whether responses are length-delimited
3541 * @returns RPC service. Useful where requests and/or responses are streamed.
3542 */
3543 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ZoneOperations;
3544
3545 /**
3546 * Calls Delete.
3547 * @param request DeleteZoneOperationRequest message or plain object
3548 * @param callback Node-style callback called with the error, if any, and DeleteZoneOperationResponse
3549 */
3550 public delete(request: google.cloud.compute.v1.IDeleteZoneOperationRequest, callback: google.cloud.compute.v1.ZoneOperations.DeleteCallback): void;
3551
3552 /**
3553 * Calls Delete.
3554 * @param request DeleteZoneOperationRequest message or plain object
3555 * @returns Promise
3556 */
3557 public delete(request: google.cloud.compute.v1.IDeleteZoneOperationRequest): Promise<google.cloud.compute.v1.DeleteZoneOperationResponse>;
3558
3559 /**
3560 * Calls Get.
3561 * @param request GetZoneOperationRequest message or plain object
3562 * @param callback Node-style callback called with the error, if any, and Operation
3563 */
3564 public get(request: google.cloud.compute.v1.IGetZoneOperationRequest, callback: google.cloud.compute.v1.ZoneOperations.GetCallback): void;
3565
3566 /**
3567 * Calls Get.
3568 * @param request GetZoneOperationRequest message or plain object
3569 * @returns Promise
3570 */
3571 public get(request: google.cloud.compute.v1.IGetZoneOperationRequest): Promise<google.cloud.compute.v1.Operation>;
3572
3573 /**
3574 * Calls List.
3575 * @param request ListZoneOperationsRequest message or plain object
3576 * @param callback Node-style callback called with the error, if any, and OperationList
3577 */
3578 public list(request: google.cloud.compute.v1.IListZoneOperationsRequest, callback: google.cloud.compute.v1.ZoneOperations.ListCallback): void;
3579
3580 /**
3581 * Calls List.
3582 * @param request ListZoneOperationsRequest message or plain object
3583 * @returns Promise
3584 */
3585 public list(request: google.cloud.compute.v1.IListZoneOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
3586
3587 /**
3588 * Calls Wait.
3589 * @param request WaitZoneOperationRequest message or plain object
3590 * @param callback Node-style callback called with the error, if any, and Operation
3591 */
3592 public wait(request: google.cloud.compute.v1.IWaitZoneOperationRequest, callback: google.cloud.compute.v1.ZoneOperations.WaitCallback): void;
3593
3594 /**
3595 * Calls Wait.
3596 * @param request WaitZoneOperationRequest message or plain object
3597 * @returns Promise
3598 */
3599 public wait(request: google.cloud.compute.v1.IWaitZoneOperationRequest): Promise<google.cloud.compute.v1.Operation>;
3600 }
3601
3602 namespace ZoneOperations {
3603
3604 /**
3605 * Callback as used by {@link google.cloud.compute.v1.ZoneOperations#delete_}.
3606 * @param error Error, if any
3607 * @param [response] DeleteZoneOperationResponse
3608 */
3609 type DeleteCallback = (error: (Error|null), response?: google.cloud.compute.v1.DeleteZoneOperationResponse) => void;
3610
3611 /**
3612 * Callback as used by {@link google.cloud.compute.v1.ZoneOperations#get}.
3613 * @param error Error, if any
3614 * @param [response] Operation
3615 */
3616 type GetCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
3617
3618 /**
3619 * Callback as used by {@link google.cloud.compute.v1.ZoneOperations#list}.
3620 * @param error Error, if any
3621 * @param [response] OperationList
3622 */
3623 type ListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationList) => void;
3624
3625 /**
3626 * Callback as used by {@link google.cloud.compute.v1.ZoneOperations#wait}.
3627 * @param error Error, if any
3628 * @param [response] Operation
3629 */
3630 type WaitCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
3631 }
3632
3633 /** Represents a GlobalOperations */
3634 class GlobalOperations extends $protobuf.rpc.Service {
3635
3636 /**
3637 * Constructs a new GlobalOperations service.
3638 * @param rpcImpl RPC implementation
3639 * @param [requestDelimited=false] Whether requests are length-delimited
3640 * @param [responseDelimited=false] Whether responses are length-delimited
3641 */
3642 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
3643
3644 /**
3645 * Creates new GlobalOperations service using the specified rpc implementation.
3646 * @param rpcImpl RPC implementation
3647 * @param [requestDelimited=false] Whether requests are length-delimited
3648 * @param [responseDelimited=false] Whether responses are length-delimited
3649 * @returns RPC service. Useful where requests and/or responses are streamed.
3650 */
3651 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GlobalOperations;
3652
3653 /**
3654 * Calls AggregatedList.
3655 * @param request AggregatedListGlobalOperationsRequest message or plain object
3656 * @param callback Node-style callback called with the error, if any, and OperationAggregatedList
3657 */
3658 public aggregatedList(request: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest, callback: google.cloud.compute.v1.GlobalOperations.AggregatedListCallback): void;
3659
3660 /**
3661 * Calls AggregatedList.
3662 * @param request AggregatedListGlobalOperationsRequest message or plain object
3663 * @returns Promise
3664 */
3665 public aggregatedList(request: google.cloud.compute.v1.IAggregatedListGlobalOperationsRequest): Promise<google.cloud.compute.v1.OperationAggregatedList>;
3666
3667 /**
3668 * Calls Delete.
3669 * @param request DeleteGlobalOperationRequest message or plain object
3670 * @param callback Node-style callback called with the error, if any, and DeleteGlobalOperationResponse
3671 */
3672 public delete(request: google.cloud.compute.v1.IDeleteGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.DeleteCallback): void;
3673
3674 /**
3675 * Calls Delete.
3676 * @param request DeleteGlobalOperationRequest message or plain object
3677 * @returns Promise
3678 */
3679 public delete(request: google.cloud.compute.v1.IDeleteGlobalOperationRequest): Promise<google.cloud.compute.v1.DeleteGlobalOperationResponse>;
3680
3681 /**
3682 * Calls Get.
3683 * @param request GetGlobalOperationRequest message or plain object
3684 * @param callback Node-style callback called with the error, if any, and Operation
3685 */
3686 public get(request: google.cloud.compute.v1.IGetGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.GetCallback): void;
3687
3688 /**
3689 * Calls Get.
3690 * @param request GetGlobalOperationRequest message or plain object
3691 * @returns Promise
3692 */
3693 public get(request: google.cloud.compute.v1.IGetGlobalOperationRequest): Promise<google.cloud.compute.v1.Operation>;
3694
3695 /**
3696 * Calls List.
3697 * @param request ListGlobalOperationsRequest message or plain object
3698 * @param callback Node-style callback called with the error, if any, and OperationList
3699 */
3700 public list(request: google.cloud.compute.v1.IListGlobalOperationsRequest, callback: google.cloud.compute.v1.GlobalOperations.ListCallback): void;
3701
3702 /**
3703 * Calls List.
3704 * @param request ListGlobalOperationsRequest message or plain object
3705 * @returns Promise
3706 */
3707 public list(request: google.cloud.compute.v1.IListGlobalOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
3708
3709 /**
3710 * Calls Wait.
3711 * @param request WaitGlobalOperationRequest message or plain object
3712 * @param callback Node-style callback called with the error, if any, and Operation
3713 */
3714 public wait(request: google.cloud.compute.v1.IWaitGlobalOperationRequest, callback: google.cloud.compute.v1.GlobalOperations.WaitCallback): void;
3715
3716 /**
3717 * Calls Wait.
3718 * @param request WaitGlobalOperationRequest message or plain object
3719 * @returns Promise
3720 */
3721 public wait(request: google.cloud.compute.v1.IWaitGlobalOperationRequest): Promise<google.cloud.compute.v1.Operation>;
3722 }
3723
3724 namespace GlobalOperations {
3725
3726 /**
3727 * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#aggregatedList}.
3728 * @param error Error, if any
3729 * @param [response] OperationAggregatedList
3730 */
3731 type AggregatedListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationAggregatedList) => void;
3732
3733 /**
3734 * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#delete_}.
3735 * @param error Error, if any
3736 * @param [response] DeleteGlobalOperationResponse
3737 */
3738 type DeleteCallback = (error: (Error|null), response?: google.cloud.compute.v1.DeleteGlobalOperationResponse) => void;
3739
3740 /**
3741 * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#get}.
3742 * @param error Error, if any
3743 * @param [response] Operation
3744 */
3745 type GetCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
3746
3747 /**
3748 * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#list}.
3749 * @param error Error, if any
3750 * @param [response] OperationList
3751 */
3752 type ListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationList) => void;
3753
3754 /**
3755 * Callback as used by {@link google.cloud.compute.v1.GlobalOperations#wait}.
3756 * @param error Error, if any
3757 * @param [response] Operation
3758 */
3759 type WaitCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
3760 }
3761
3762 /** Represents a GlobalOrganizationOperations */
3763 class GlobalOrganizationOperations extends $protobuf.rpc.Service {
3764
3765 /**
3766 * Constructs a new GlobalOrganizationOperations service.
3767 * @param rpcImpl RPC implementation
3768 * @param [requestDelimited=false] Whether requests are length-delimited
3769 * @param [responseDelimited=false] Whether responses are length-delimited
3770 */
3771 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
3772
3773 /**
3774 * Creates new GlobalOrganizationOperations service using the specified rpc implementation.
3775 * @param rpcImpl RPC implementation
3776 * @param [requestDelimited=false] Whether requests are length-delimited
3777 * @param [responseDelimited=false] Whether responses are length-delimited
3778 * @returns RPC service. Useful where requests and/or responses are streamed.
3779 */
3780 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): GlobalOrganizationOperations;
3781
3782 /**
3783 * Calls Delete.
3784 * @param request DeleteGlobalOrganizationOperationRequest message or plain object
3785 * @param callback Node-style callback called with the error, if any, and DeleteGlobalOrganizationOperationResponse
3786 */
3787 public delete(request: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.DeleteCallback): void;
3788
3789 /**
3790 * Calls Delete.
3791 * @param request DeleteGlobalOrganizationOperationRequest message or plain object
3792 * @returns Promise
3793 */
3794 public delete(request: google.cloud.compute.v1.IDeleteGlobalOrganizationOperationRequest): Promise<google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse>;
3795
3796 /**
3797 * Calls Get.
3798 * @param request GetGlobalOrganizationOperationRequest message or plain object
3799 * @param callback Node-style callback called with the error, if any, and Operation
3800 */
3801 public get(request: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.GetCallback): void;
3802
3803 /**
3804 * Calls Get.
3805 * @param request GetGlobalOrganizationOperationRequest message or plain object
3806 * @returns Promise
3807 */
3808 public get(request: google.cloud.compute.v1.IGetGlobalOrganizationOperationRequest): Promise<google.cloud.compute.v1.Operation>;
3809
3810 /**
3811 * Calls List.
3812 * @param request ListGlobalOrganizationOperationsRequest message or plain object
3813 * @param callback Node-style callback called with the error, if any, and OperationList
3814 */
3815 public list(request: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest, callback: google.cloud.compute.v1.GlobalOrganizationOperations.ListCallback): void;
3816
3817 /**
3818 * Calls List.
3819 * @param request ListGlobalOrganizationOperationsRequest message or plain object
3820 * @returns Promise
3821 */
3822 public list(request: google.cloud.compute.v1.IListGlobalOrganizationOperationsRequest): Promise<google.cloud.compute.v1.OperationList>;
3823 }
3824
3825 namespace GlobalOrganizationOperations {
3826
3827 /**
3828 * Callback as used by {@link google.cloud.compute.v1.GlobalOrganizationOperations#delete_}.
3829 * @param error Error, if any
3830 * @param [response] DeleteGlobalOrganizationOperationResponse
3831 */
3832 type DeleteCallback = (error: (Error|null), response?: google.cloud.compute.v1.DeleteGlobalOrganizationOperationResponse) => void;
3833
3834 /**
3835 * Callback as used by {@link google.cloud.compute.v1.GlobalOrganizationOperations#get}.
3836 * @param error Error, if any
3837 * @param [response] Operation
3838 */
3839 type GetCallback = (error: (Error|null), response?: google.cloud.compute.v1.Operation) => void;
3840
3841 /**
3842 * Callback as used by {@link google.cloud.compute.v1.GlobalOrganizationOperations#list}.
3843 * @param error Error, if any
3844 * @param [response] OperationList
3845 */
3846 type ListCallback = (error: (Error|null), response?: google.cloud.compute.v1.OperationList) => void;
3847 }
3848 }
3849 }
3850 }
3851
3852 /** Namespace api. */
3853 namespace api {
3854
3855 /** Properties of a Http. */
3856 interface IHttp {
3857
3858 /** Http rules */
3859 rules?: (google.api.IHttpRule[]|null);
3860
3861 /** Http fullyDecodeReservedExpansion */
3862 fullyDecodeReservedExpansion?: (boolean|null);
3863 }
3864
3865 /** Represents a Http. */
3866 class Http implements IHttp {
3867
3868 /**
3869 * Constructs a new Http.
3870 * @param [properties] Properties to set
3871 */
3872 constructor(properties?: google.api.IHttp);
3873
3874 /** Http rules. */
3875 public rules: google.api.IHttpRule[];
3876
3877 /** Http fullyDecodeReservedExpansion. */
3878 public fullyDecodeReservedExpansion: boolean;
3879
3880 /**
3881 * Creates a new Http instance using the specified properties.
3882 * @param [properties] Properties to set
3883 * @returns Http instance
3884 */
3885 public static create(properties?: google.api.IHttp): google.api.Http;
3886
3887 /**
3888 * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
3889 * @param message Http message or plain object to encode
3890 * @param [writer] Writer to encode to
3891 * @returns Writer
3892 */
3893 public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
3894
3895 /**
3896 * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
3897 * @param message Http message or plain object to encode
3898 * @param [writer] Writer to encode to
3899 * @returns Writer
3900 */
3901 public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
3902
3903 /**
3904 * Decodes a Http message from the specified reader or buffer.
3905 * @param reader Reader or buffer to decode from
3906 * @param [length] Message length if known beforehand
3907 * @returns Http
3908 * @throws {Error} If the payload is not a reader or valid buffer
3909 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3910 */
3911 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
3912
3913 /**
3914 * Decodes a Http message from the specified reader or buffer, length delimited.
3915 * @param reader Reader or buffer to decode from
3916 * @returns Http
3917 * @throws {Error} If the payload is not a reader or valid buffer
3918 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3919 */
3920 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
3921
3922 /**
3923 * Verifies a Http message.
3924 * @param message Plain object to verify
3925 * @returns `null` if valid, otherwise the reason why it is not
3926 */
3927 public static verify(message: { [k: string]: any }): (string|null);
3928
3929 /**
3930 * Creates a Http message from a plain object. Also converts values to their respective internal types.
3931 * @param object Plain object
3932 * @returns Http
3933 */
3934 public static fromObject(object: { [k: string]: any }): google.api.Http;
3935
3936 /**
3937 * Creates a plain object from a Http message. Also converts values to other types if specified.
3938 * @param message Http
3939 * @param [options] Conversion options
3940 * @returns Plain object
3941 */
3942 public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
3943
3944 /**
3945 * Converts this Http to JSON.
3946 * @returns JSON object
3947 */
3948 public toJSON(): { [k: string]: any };
3949 }
3950
3951 /** Properties of a HttpRule. */
3952 interface IHttpRule {
3953
3954 /** HttpRule selector */
3955 selector?: (string|null);
3956
3957 /** HttpRule get */
3958 get?: (string|null);
3959
3960 /** HttpRule put */
3961 put?: (string|null);
3962
3963 /** HttpRule post */
3964 post?: (string|null);
3965
3966 /** HttpRule delete */
3967 "delete"?: (string|null);
3968
3969 /** HttpRule patch */
3970 patch?: (string|null);
3971
3972 /** HttpRule custom */
3973 custom?: (google.api.ICustomHttpPattern|null);
3974
3975 /** HttpRule body */
3976 body?: (string|null);
3977
3978 /** HttpRule responseBody */
3979 responseBody?: (string|null);
3980
3981 /** HttpRule additionalBindings */
3982 additionalBindings?: (google.api.IHttpRule[]|null);
3983 }
3984
3985 /** Represents a HttpRule. */
3986 class HttpRule implements IHttpRule {
3987
3988 /**
3989 * Constructs a new HttpRule.
3990 * @param [properties] Properties to set
3991 */
3992 constructor(properties?: google.api.IHttpRule);
3993
3994 /** HttpRule selector. */
3995 public selector: string;
3996
3997 /** HttpRule get. */
3998 public get?: (string|null);
3999
4000 /** HttpRule put. */
4001 public put?: (string|null);
4002
4003 /** HttpRule post. */
4004 public post?: (string|null);
4005
4006 /** HttpRule delete. */
4007 public delete?: (string|null);
4008
4009 /** HttpRule patch. */
4010 public patch?: (string|null);
4011
4012 /** HttpRule custom. */
4013 public custom?: (google.api.ICustomHttpPattern|null);
4014
4015 /** HttpRule body. */
4016 public body: string;
4017
4018 /** HttpRule responseBody. */
4019 public responseBody: string;
4020
4021 /** HttpRule additionalBindings. */
4022 public additionalBindings: google.api.IHttpRule[];
4023
4024 /** HttpRule pattern. */
4025 public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
4026
4027 /**
4028 * Creates a new HttpRule instance using the specified properties.
4029 * @param [properties] Properties to set
4030 * @returns HttpRule instance
4031 */
4032 public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
4033
4034 /**
4035 * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
4036 * @param message HttpRule message or plain object to encode
4037 * @param [writer] Writer to encode to
4038 * @returns Writer
4039 */
4040 public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
4041
4042 /**
4043 * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
4044 * @param message HttpRule message or plain object to encode
4045 * @param [writer] Writer to encode to
4046 * @returns Writer
4047 */
4048 public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
4049
4050 /**
4051 * Decodes a HttpRule message from the specified reader or buffer.
4052 * @param reader Reader or buffer to decode from
4053 * @param [length] Message length if known beforehand
4054 * @returns HttpRule
4055 * @throws {Error} If the payload is not a reader or valid buffer
4056 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4057 */
4058 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
4059
4060 /**
4061 * Decodes a HttpRule message from the specified reader or buffer, length delimited.
4062 * @param reader Reader or buffer to decode from
4063 * @returns HttpRule
4064 * @throws {Error} If the payload is not a reader or valid buffer
4065 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4066 */
4067 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
4068
4069 /**
4070 * Verifies a HttpRule message.
4071 * @param message Plain object to verify
4072 * @returns `null` if valid, otherwise the reason why it is not
4073 */
4074 public static verify(message: { [k: string]: any }): (string|null);
4075
4076 /**
4077 * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
4078 * @param object Plain object
4079 * @returns HttpRule
4080 */
4081 public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
4082
4083 /**
4084 * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
4085 * @param message HttpRule
4086 * @param [options] Conversion options
4087 * @returns Plain object
4088 */
4089 public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
4090
4091 /**
4092 * Converts this HttpRule to JSON.
4093 * @returns JSON object
4094 */
4095 public toJSON(): { [k: string]: any };
4096 }
4097
4098 /** Properties of a CustomHttpPattern. */
4099 interface ICustomHttpPattern {
4100
4101 /** CustomHttpPattern kind */
4102 kind?: (string|null);
4103
4104 /** CustomHttpPattern path */
4105 path?: (string|null);
4106 }
4107
4108 /** Represents a CustomHttpPattern. */
4109 class CustomHttpPattern implements ICustomHttpPattern {
4110
4111 /**
4112 * Constructs a new CustomHttpPattern.
4113 * @param [properties] Properties to set
4114 */
4115 constructor(properties?: google.api.ICustomHttpPattern);
4116
4117 /** CustomHttpPattern kind. */
4118 public kind: string;
4119
4120 /** CustomHttpPattern path. */
4121 public path: string;
4122
4123 /**
4124 * Creates a new CustomHttpPattern instance using the specified properties.
4125 * @param [properties] Properties to set
4126 * @returns CustomHttpPattern instance
4127 */
4128 public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
4129
4130 /**
4131 * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
4132 * @param message CustomHttpPattern message or plain object to encode
4133 * @param [writer] Writer to encode to
4134 * @returns Writer
4135 */
4136 public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
4137
4138 /**
4139 * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
4140 * @param message CustomHttpPattern message or plain object to encode
4141 * @param [writer] Writer to encode to
4142 * @returns Writer
4143 */
4144 public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
4145
4146 /**
4147 * Decodes a CustomHttpPattern message from the specified reader or buffer.
4148 * @param reader Reader or buffer to decode from
4149 * @param [length] Message length if known beforehand
4150 * @returns CustomHttpPattern
4151 * @throws {Error} If the payload is not a reader or valid buffer
4152 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4153 */
4154 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
4155
4156 /**
4157 * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
4158 * @param reader Reader or buffer to decode from
4159 * @returns CustomHttpPattern
4160 * @throws {Error} If the payload is not a reader or valid buffer
4161 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4162 */
4163 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
4164
4165 /**
4166 * Verifies a CustomHttpPattern message.
4167 * @param message Plain object to verify
4168 * @returns `null` if valid, otherwise the reason why it is not
4169 */
4170 public static verify(message: { [k: string]: any }): (string|null);
4171
4172 /**
4173 * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
4174 * @param object Plain object
4175 * @returns CustomHttpPattern
4176 */
4177 public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
4178
4179 /**
4180 * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
4181 * @param message CustomHttpPattern
4182 * @param [options] Conversion options
4183 * @returns Plain object
4184 */
4185 public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
4186
4187 /**
4188 * Converts this CustomHttpPattern to JSON.
4189 * @returns JSON object
4190 */
4191 public toJSON(): { [k: string]: any };
4192 }
4193 }
4194
4195 /** Namespace protobuf. */
4196 namespace protobuf {
4197
4198 /** Properties of a FileDescriptorSet. */
4199 interface IFileDescriptorSet {
4200
4201 /** FileDescriptorSet file */
4202 file?: (google.protobuf.IFileDescriptorProto[]|null);
4203 }
4204
4205 /** Represents a FileDescriptorSet. */
4206 class FileDescriptorSet implements IFileDescriptorSet {
4207
4208 /**
4209 * Constructs a new FileDescriptorSet.
4210 * @param [properties] Properties to set
4211 */
4212 constructor(properties?: google.protobuf.IFileDescriptorSet);
4213
4214 /** FileDescriptorSet file. */
4215 public file: google.protobuf.IFileDescriptorProto[];
4216
4217 /**
4218 * Creates a new FileDescriptorSet instance using the specified properties.
4219 * @param [properties] Properties to set
4220 * @returns FileDescriptorSet instance
4221 */
4222 public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
4223
4224 /**
4225 * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
4226 * @param message FileDescriptorSet message or plain object to encode
4227 * @param [writer] Writer to encode to
4228 * @returns Writer
4229 */
4230 public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
4231
4232 /**
4233 * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
4234 * @param message FileDescriptorSet message or plain object to encode
4235 * @param [writer] Writer to encode to
4236 * @returns Writer
4237 */
4238 public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
4239
4240 /**
4241 * Decodes a FileDescriptorSet message from the specified reader or buffer.
4242 * @param reader Reader or buffer to decode from
4243 * @param [length] Message length if known beforehand
4244 * @returns FileDescriptorSet
4245 * @throws {Error} If the payload is not a reader or valid buffer
4246 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4247 */
4248 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
4249
4250 /**
4251 * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
4252 * @param reader Reader or buffer to decode from
4253 * @returns FileDescriptorSet
4254 * @throws {Error} If the payload is not a reader or valid buffer
4255 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4256 */
4257 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
4258
4259 /**
4260 * Verifies a FileDescriptorSet message.
4261 * @param message Plain object to verify
4262 * @returns `null` if valid, otherwise the reason why it is not
4263 */
4264 public static verify(message: { [k: string]: any }): (string|null);
4265
4266 /**
4267 * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
4268 * @param object Plain object
4269 * @returns FileDescriptorSet
4270 */
4271 public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
4272
4273 /**
4274 * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
4275 * @param message FileDescriptorSet
4276 * @param [options] Conversion options
4277 * @returns Plain object
4278 */
4279 public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
4280
4281 /**
4282 * Converts this FileDescriptorSet to JSON.
4283 * @returns JSON object
4284 */
4285 public toJSON(): { [k: string]: any };
4286 }
4287
4288 /** Properties of a FileDescriptorProto. */
4289 interface IFileDescriptorProto {
4290
4291 /** FileDescriptorProto name */
4292 name?: (string|null);
4293
4294 /** FileDescriptorProto package */
4295 "package"?: (string|null);
4296
4297 /** FileDescriptorProto dependency */
4298 dependency?: (string[]|null);
4299
4300 /** FileDescriptorProto publicDependency */
4301 publicDependency?: (number[]|null);
4302
4303 /** FileDescriptorProto weakDependency */
4304 weakDependency?: (number[]|null);
4305
4306 /** FileDescriptorProto messageType */
4307 messageType?: (google.protobuf.IDescriptorProto[]|null);
4308
4309 /** FileDescriptorProto enumType */
4310 enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
4311
4312 /** FileDescriptorProto service */
4313 service?: (google.protobuf.IServiceDescriptorProto[]|null);
4314
4315 /** FileDescriptorProto extension */
4316 extension?: (google.protobuf.IFieldDescriptorProto[]|null);
4317
4318 /** FileDescriptorProto options */
4319 options?: (google.protobuf.IFileOptions|null);
4320
4321 /** FileDescriptorProto sourceCodeInfo */
4322 sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
4323
4324 /** FileDescriptorProto syntax */
4325 syntax?: (string|null);
4326 }
4327
4328 /** Represents a FileDescriptorProto. */
4329 class FileDescriptorProto implements IFileDescriptorProto {
4330
4331 /**
4332 * Constructs a new FileDescriptorProto.
4333 * @param [properties] Properties to set
4334 */
4335 constructor(properties?: google.protobuf.IFileDescriptorProto);
4336
4337 /** FileDescriptorProto name. */
4338 public name: string;
4339
4340 /** FileDescriptorProto package. */
4341 public package: string;
4342
4343 /** FileDescriptorProto dependency. */
4344 public dependency: string[];
4345
4346 /** FileDescriptorProto publicDependency. */
4347 public publicDependency: number[];
4348
4349 /** FileDescriptorProto weakDependency. */
4350 public weakDependency: number[];
4351
4352 /** FileDescriptorProto messageType. */
4353 public messageType: google.protobuf.IDescriptorProto[];
4354
4355 /** FileDescriptorProto enumType. */
4356 public enumType: google.protobuf.IEnumDescriptorProto[];
4357
4358 /** FileDescriptorProto service. */
4359 public service: google.protobuf.IServiceDescriptorProto[];
4360
4361 /** FileDescriptorProto extension. */
4362 public extension: google.protobuf.IFieldDescriptorProto[];
4363
4364 /** FileDescriptorProto options. */
4365 public options?: (google.protobuf.IFileOptions|null);
4366
4367 /** FileDescriptorProto sourceCodeInfo. */
4368 public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
4369
4370 /** FileDescriptorProto syntax. */
4371 public syntax: string;
4372
4373 /**
4374 * Creates a new FileDescriptorProto instance using the specified properties.
4375 * @param [properties] Properties to set
4376 * @returns FileDescriptorProto instance
4377 */
4378 public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
4379
4380 /**
4381 * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
4382 * @param message FileDescriptorProto message or plain object to encode
4383 * @param [writer] Writer to encode to
4384 * @returns Writer
4385 */
4386 public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
4387
4388 /**
4389 * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
4390 * @param message FileDescriptorProto message or plain object to encode
4391 * @param [writer] Writer to encode to
4392 * @returns Writer
4393 */
4394 public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
4395
4396 /**
4397 * Decodes a FileDescriptorProto message from the specified reader or buffer.
4398 * @param reader Reader or buffer to decode from
4399 * @param [length] Message length if known beforehand
4400 * @returns FileDescriptorProto
4401 * @throws {Error} If the payload is not a reader or valid buffer
4402 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4403 */
4404 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
4405
4406 /**
4407 * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
4408 * @param reader Reader or buffer to decode from
4409 * @returns FileDescriptorProto
4410 * @throws {Error} If the payload is not a reader or valid buffer
4411 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4412 */
4413 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
4414
4415 /**
4416 * Verifies a FileDescriptorProto message.
4417 * @param message Plain object to verify
4418 * @returns `null` if valid, otherwise the reason why it is not
4419 */
4420 public static verify(message: { [k: string]: any }): (string|null);
4421
4422 /**
4423 * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
4424 * @param object Plain object
4425 * @returns FileDescriptorProto
4426 */
4427 public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
4428
4429 /**
4430 * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
4431 * @param message FileDescriptorProto
4432 * @param [options] Conversion options
4433 * @returns Plain object
4434 */
4435 public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
4436
4437 /**
4438 * Converts this FileDescriptorProto to JSON.
4439 * @returns JSON object
4440 */
4441 public toJSON(): { [k: string]: any };
4442 }
4443
4444 /** Properties of a DescriptorProto. */
4445 interface IDescriptorProto {
4446
4447 /** DescriptorProto name */
4448 name?: (string|null);
4449
4450 /** DescriptorProto field */
4451 field?: (google.protobuf.IFieldDescriptorProto[]|null);
4452
4453 /** DescriptorProto extension */
4454 extension?: (google.protobuf.IFieldDescriptorProto[]|null);
4455
4456 /** DescriptorProto nestedType */
4457 nestedType?: (google.protobuf.IDescriptorProto[]|null);
4458
4459 /** DescriptorProto enumType */
4460 enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
4461
4462 /** DescriptorProto extensionRange */
4463 extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
4464
4465 /** DescriptorProto oneofDecl */
4466 oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
4467
4468 /** DescriptorProto options */
4469 options?: (google.protobuf.IMessageOptions|null);
4470
4471 /** DescriptorProto reservedRange */
4472 reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
4473
4474 /** DescriptorProto reservedName */
4475 reservedName?: (string[]|null);
4476 }
4477
4478 /** Represents a DescriptorProto. */
4479 class DescriptorProto implements IDescriptorProto {
4480
4481 /**
4482 * Constructs a new DescriptorProto.
4483 * @param [properties] Properties to set
4484 */
4485 constructor(properties?: google.protobuf.IDescriptorProto);
4486
4487 /** DescriptorProto name. */
4488 public name: string;
4489
4490 /** DescriptorProto field. */
4491 public field: google.protobuf.IFieldDescriptorProto[];
4492
4493 /** DescriptorProto extension. */
4494 public extension: google.protobuf.IFieldDescriptorProto[];
4495
4496 /** DescriptorProto nestedType. */
4497 public nestedType: google.protobuf.IDescriptorProto[];
4498
4499 /** DescriptorProto enumType. */
4500 public enumType: google.protobuf.IEnumDescriptorProto[];
4501
4502 /** DescriptorProto extensionRange. */
4503 public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
4504
4505 /** DescriptorProto oneofDecl. */
4506 public oneofDecl: google.protobuf.IOneofDescriptorProto[];
4507
4508 /** DescriptorProto options. */
4509 public options?: (google.protobuf.IMessageOptions|null);
4510
4511 /** DescriptorProto reservedRange. */
4512 public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
4513
4514 /** DescriptorProto reservedName. */
4515 public reservedName: string[];
4516
4517 /**
4518 * Creates a new DescriptorProto instance using the specified properties.
4519 * @param [properties] Properties to set
4520 * @returns DescriptorProto instance
4521 */
4522 public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
4523
4524 /**
4525 * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
4526 * @param message DescriptorProto message or plain object to encode
4527 * @param [writer] Writer to encode to
4528 * @returns Writer
4529 */
4530 public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
4531
4532 /**
4533 * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
4534 * @param message DescriptorProto message or plain object to encode
4535 * @param [writer] Writer to encode to
4536 * @returns Writer
4537 */
4538 public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
4539
4540 /**
4541 * Decodes a DescriptorProto message from the specified reader or buffer.
4542 * @param reader Reader or buffer to decode from
4543 * @param [length] Message length if known beforehand
4544 * @returns DescriptorProto
4545 * @throws {Error} If the payload is not a reader or valid buffer
4546 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4547 */
4548 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
4549
4550 /**
4551 * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
4552 * @param reader Reader or buffer to decode from
4553 * @returns DescriptorProto
4554 * @throws {Error} If the payload is not a reader or valid buffer
4555 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4556 */
4557 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
4558
4559 /**
4560 * Verifies a DescriptorProto message.
4561 * @param message Plain object to verify
4562 * @returns `null` if valid, otherwise the reason why it is not
4563 */
4564 public static verify(message: { [k: string]: any }): (string|null);
4565
4566 /**
4567 * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
4568 * @param object Plain object
4569 * @returns DescriptorProto
4570 */
4571 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
4572
4573 /**
4574 * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
4575 * @param message DescriptorProto
4576 * @param [options] Conversion options
4577 * @returns Plain object
4578 */
4579 public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
4580
4581 /**
4582 * Converts this DescriptorProto to JSON.
4583 * @returns JSON object
4584 */
4585 public toJSON(): { [k: string]: any };
4586 }
4587
4588 namespace DescriptorProto {
4589
4590 /** Properties of an ExtensionRange. */
4591 interface IExtensionRange {
4592
4593 /** ExtensionRange start */
4594 start?: (number|null);
4595
4596 /** ExtensionRange end */
4597 end?: (number|null);
4598
4599 /** ExtensionRange options */
4600 options?: (google.protobuf.IExtensionRangeOptions|null);
4601 }
4602
4603 /** Represents an ExtensionRange. */
4604 class ExtensionRange implements IExtensionRange {
4605
4606 /**
4607 * Constructs a new ExtensionRange.
4608 * @param [properties] Properties to set
4609 */
4610 constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
4611
4612 /** ExtensionRange start. */
4613 public start: number;
4614
4615 /** ExtensionRange end. */
4616 public end: number;
4617
4618 /** ExtensionRange options. */
4619 public options?: (google.protobuf.IExtensionRangeOptions|null);
4620
4621 /**
4622 * Creates a new ExtensionRange instance using the specified properties.
4623 * @param [properties] Properties to set
4624 * @returns ExtensionRange instance
4625 */
4626 public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
4627
4628 /**
4629 * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
4630 * @param message ExtensionRange message or plain object to encode
4631 * @param [writer] Writer to encode to
4632 * @returns Writer
4633 */
4634 public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
4635
4636 /**
4637 * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
4638 * @param message ExtensionRange message or plain object to encode
4639 * @param [writer] Writer to encode to
4640 * @returns Writer
4641 */
4642 public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
4643
4644 /**
4645 * Decodes an ExtensionRange message from the specified reader or buffer.
4646 * @param reader Reader or buffer to decode from
4647 * @param [length] Message length if known beforehand
4648 * @returns ExtensionRange
4649 * @throws {Error} If the payload is not a reader or valid buffer
4650 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4651 */
4652 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
4653
4654 /**
4655 * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
4656 * @param reader Reader or buffer to decode from
4657 * @returns ExtensionRange
4658 * @throws {Error} If the payload is not a reader or valid buffer
4659 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4660 */
4661 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
4662
4663 /**
4664 * Verifies an ExtensionRange message.
4665 * @param message Plain object to verify
4666 * @returns `null` if valid, otherwise the reason why it is not
4667 */
4668 public static verify(message: { [k: string]: any }): (string|null);
4669
4670 /**
4671 * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
4672 * @param object Plain object
4673 * @returns ExtensionRange
4674 */
4675 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
4676
4677 /**
4678 * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
4679 * @param message ExtensionRange
4680 * @param [options] Conversion options
4681 * @returns Plain object
4682 */
4683 public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
4684
4685 /**
4686 * Converts this ExtensionRange to JSON.
4687 * @returns JSON object
4688 */
4689 public toJSON(): { [k: string]: any };
4690 }
4691
4692 /** Properties of a ReservedRange. */
4693 interface IReservedRange {
4694
4695 /** ReservedRange start */
4696 start?: (number|null);
4697
4698 /** ReservedRange end */
4699 end?: (number|null);
4700 }
4701
4702 /** Represents a ReservedRange. */
4703 class ReservedRange implements IReservedRange {
4704
4705 /**
4706 * Constructs a new ReservedRange.
4707 * @param [properties] Properties to set
4708 */
4709 constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
4710
4711 /** ReservedRange start. */
4712 public start: number;
4713
4714 /** ReservedRange end. */
4715 public end: number;
4716
4717 /**
4718 * Creates a new ReservedRange instance using the specified properties.
4719 * @param [properties] Properties to set
4720 * @returns ReservedRange instance
4721 */
4722 public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
4723
4724 /**
4725 * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
4726 * @param message ReservedRange message or plain object to encode
4727 * @param [writer] Writer to encode to
4728 * @returns Writer
4729 */
4730 public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
4731
4732 /**
4733 * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
4734 * @param message ReservedRange message or plain object to encode
4735 * @param [writer] Writer to encode to
4736 * @returns Writer
4737 */
4738 public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
4739
4740 /**
4741 * Decodes a ReservedRange message from the specified reader or buffer.
4742 * @param reader Reader or buffer to decode from
4743 * @param [length] Message length if known beforehand
4744 * @returns ReservedRange
4745 * @throws {Error} If the payload is not a reader or valid buffer
4746 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4747 */
4748 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
4749
4750 /**
4751 * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
4752 * @param reader Reader or buffer to decode from
4753 * @returns ReservedRange
4754 * @throws {Error} If the payload is not a reader or valid buffer
4755 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4756 */
4757 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
4758
4759 /**
4760 * Verifies a ReservedRange message.
4761 * @param message Plain object to verify
4762 * @returns `null` if valid, otherwise the reason why it is not
4763 */
4764 public static verify(message: { [k: string]: any }): (string|null);
4765
4766 /**
4767 * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
4768 * @param object Plain object
4769 * @returns ReservedRange
4770 */
4771 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
4772
4773 /**
4774 * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
4775 * @param message ReservedRange
4776 * @param [options] Conversion options
4777 * @returns Plain object
4778 */
4779 public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
4780
4781 /**
4782 * Converts this ReservedRange to JSON.
4783 * @returns JSON object
4784 */
4785 public toJSON(): { [k: string]: any };
4786 }
4787 }
4788
4789 /** Properties of an ExtensionRangeOptions. */
4790 interface IExtensionRangeOptions {
4791
4792 /** ExtensionRangeOptions uninterpretedOption */
4793 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
4794 }
4795
4796 /** Represents an ExtensionRangeOptions. */
4797 class ExtensionRangeOptions implements IExtensionRangeOptions {
4798
4799 /**
4800 * Constructs a new ExtensionRangeOptions.
4801 * @param [properties] Properties to set
4802 */
4803 constructor(properties?: google.protobuf.IExtensionRangeOptions);
4804
4805 /** ExtensionRangeOptions uninterpretedOption. */
4806 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
4807
4808 /**
4809 * Creates a new ExtensionRangeOptions instance using the specified properties.
4810 * @param [properties] Properties to set
4811 * @returns ExtensionRangeOptions instance
4812 */
4813 public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
4814
4815 /**
4816 * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
4817 * @param message ExtensionRangeOptions message or plain object to encode
4818 * @param [writer] Writer to encode to
4819 * @returns Writer
4820 */
4821 public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
4822
4823 /**
4824 * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
4825 * @param message ExtensionRangeOptions message or plain object to encode
4826 * @param [writer] Writer to encode to
4827 * @returns Writer
4828 */
4829 public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
4830
4831 /**
4832 * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
4833 * @param reader Reader or buffer to decode from
4834 * @param [length] Message length if known beforehand
4835 * @returns ExtensionRangeOptions
4836 * @throws {Error} If the payload is not a reader or valid buffer
4837 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4838 */
4839 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
4840
4841 /**
4842 * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
4843 * @param reader Reader or buffer to decode from
4844 * @returns ExtensionRangeOptions
4845 * @throws {Error} If the payload is not a reader or valid buffer
4846 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4847 */
4848 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
4849
4850 /**
4851 * Verifies an ExtensionRangeOptions message.
4852 * @param message Plain object to verify
4853 * @returns `null` if valid, otherwise the reason why it is not
4854 */
4855 public static verify(message: { [k: string]: any }): (string|null);
4856
4857 /**
4858 * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
4859 * @param object Plain object
4860 * @returns ExtensionRangeOptions
4861 */
4862 public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
4863
4864 /**
4865 * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
4866 * @param message ExtensionRangeOptions
4867 * @param [options] Conversion options
4868 * @returns Plain object
4869 */
4870 public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
4871
4872 /**
4873 * Converts this ExtensionRangeOptions to JSON.
4874 * @returns JSON object
4875 */
4876 public toJSON(): { [k: string]: any };
4877 }
4878
4879 /** Properties of a FieldDescriptorProto. */
4880 interface IFieldDescriptorProto {
4881
4882 /** FieldDescriptorProto name */
4883 name?: (string|null);
4884
4885 /** FieldDescriptorProto number */
4886 number?: (number|null);
4887
4888 /** FieldDescriptorProto label */
4889 label?: (google.protobuf.FieldDescriptorProto.Label|null);
4890
4891 /** FieldDescriptorProto type */
4892 type?: (google.protobuf.FieldDescriptorProto.Type|null);
4893
4894 /** FieldDescriptorProto typeName */
4895 typeName?: (string|null);
4896
4897 /** FieldDescriptorProto extendee */
4898 extendee?: (string|null);
4899
4900 /** FieldDescriptorProto defaultValue */
4901 defaultValue?: (string|null);
4902
4903 /** FieldDescriptorProto oneofIndex */
4904 oneofIndex?: (number|null);
4905
4906 /** FieldDescriptorProto jsonName */
4907 jsonName?: (string|null);
4908
4909 /** FieldDescriptorProto options */
4910 options?: (google.protobuf.IFieldOptions|null);
4911
4912 /** FieldDescriptorProto proto3Optional */
4913 proto3Optional?: (boolean|null);
4914 }
4915
4916 /** Represents a FieldDescriptorProto. */
4917 class FieldDescriptorProto implements IFieldDescriptorProto {
4918
4919 /**
4920 * Constructs a new FieldDescriptorProto.
4921 * @param [properties] Properties to set
4922 */
4923 constructor(properties?: google.protobuf.IFieldDescriptorProto);
4924
4925 /** FieldDescriptorProto name. */
4926 public name: string;
4927
4928 /** FieldDescriptorProto number. */
4929 public number: number;
4930
4931 /** FieldDescriptorProto label. */
4932 public label: google.protobuf.FieldDescriptorProto.Label;
4933
4934 /** FieldDescriptorProto type. */
4935 public type: google.protobuf.FieldDescriptorProto.Type;
4936
4937 /** FieldDescriptorProto typeName. */
4938 public typeName: string;
4939
4940 /** FieldDescriptorProto extendee. */
4941 public extendee: string;
4942
4943 /** FieldDescriptorProto defaultValue. */
4944 public defaultValue: string;
4945
4946 /** FieldDescriptorProto oneofIndex. */
4947 public oneofIndex: number;
4948
4949 /** FieldDescriptorProto jsonName. */
4950 public jsonName: string;
4951
4952 /** FieldDescriptorProto options. */
4953 public options?: (google.protobuf.IFieldOptions|null);
4954
4955 /** FieldDescriptorProto proto3Optional. */
4956 public proto3Optional: boolean;
4957
4958 /**
4959 * Creates a new FieldDescriptorProto instance using the specified properties.
4960 * @param [properties] Properties to set
4961 * @returns FieldDescriptorProto instance
4962 */
4963 public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
4964
4965 /**
4966 * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
4967 * @param message FieldDescriptorProto message or plain object to encode
4968 * @param [writer] Writer to encode to
4969 * @returns Writer
4970 */
4971 public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
4972
4973 /**
4974 * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
4975 * @param message FieldDescriptorProto message or plain object to encode
4976 * @param [writer] Writer to encode to
4977 * @returns Writer
4978 */
4979 public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
4980
4981 /**
4982 * Decodes a FieldDescriptorProto message from the specified reader or buffer.
4983 * @param reader Reader or buffer to decode from
4984 * @param [length] Message length if known beforehand
4985 * @returns FieldDescriptorProto
4986 * @throws {Error} If the payload is not a reader or valid buffer
4987 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4988 */
4989 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
4990
4991 /**
4992 * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
4993 * @param reader Reader or buffer to decode from
4994 * @returns FieldDescriptorProto
4995 * @throws {Error} If the payload is not a reader or valid buffer
4996 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4997 */
4998 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
4999
5000 /**
5001 * Verifies a FieldDescriptorProto message.
5002 * @param message Plain object to verify
5003 * @returns `null` if valid, otherwise the reason why it is not
5004 */
5005 public static verify(message: { [k: string]: any }): (string|null);
5006
5007 /**
5008 * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
5009 * @param object Plain object
5010 * @returns FieldDescriptorProto
5011 */
5012 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
5013
5014 /**
5015 * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
5016 * @param message FieldDescriptorProto
5017 * @param [options] Conversion options
5018 * @returns Plain object
5019 */
5020 public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
5021
5022 /**
5023 * Converts this FieldDescriptorProto to JSON.
5024 * @returns JSON object
5025 */
5026 public toJSON(): { [k: string]: any };
5027 }
5028
5029 namespace FieldDescriptorProto {
5030
5031 /** Type enum. */
5032 enum Type {
5033 TYPE_DOUBLE = 1,
5034 TYPE_FLOAT = 2,
5035 TYPE_INT64 = 3,
5036 TYPE_UINT64 = 4,
5037 TYPE_INT32 = 5,
5038 TYPE_FIXED64 = 6,
5039 TYPE_FIXED32 = 7,
5040 TYPE_BOOL = 8,
5041 TYPE_STRING = 9,
5042 TYPE_GROUP = 10,
5043 TYPE_MESSAGE = 11,
5044 TYPE_BYTES = 12,
5045 TYPE_UINT32 = 13,
5046 TYPE_ENUM = 14,
5047 TYPE_SFIXED32 = 15,
5048 TYPE_SFIXED64 = 16,
5049 TYPE_SINT32 = 17,
5050 TYPE_SINT64 = 18
5051 }
5052
5053 /** Label enum. */
5054 enum Label {
5055 LABEL_OPTIONAL = 1,
5056 LABEL_REQUIRED = 2,
5057 LABEL_REPEATED = 3
5058 }
5059 }
5060
5061 /** Properties of an OneofDescriptorProto. */
5062 interface IOneofDescriptorProto {
5063
5064 /** OneofDescriptorProto name */
5065 name?: (string|null);
5066
5067 /** OneofDescriptorProto options */
5068 options?: (google.protobuf.IOneofOptions|null);
5069 }
5070
5071 /** Represents an OneofDescriptorProto. */
5072 class OneofDescriptorProto implements IOneofDescriptorProto {
5073
5074 /**
5075 * Constructs a new OneofDescriptorProto.
5076 * @param [properties] Properties to set
5077 */
5078 constructor(properties?: google.protobuf.IOneofDescriptorProto);
5079
5080 /** OneofDescriptorProto name. */
5081 public name: string;
5082
5083 /** OneofDescriptorProto options. */
5084 public options?: (google.protobuf.IOneofOptions|null);
5085
5086 /**
5087 * Creates a new OneofDescriptorProto instance using the specified properties.
5088 * @param [properties] Properties to set
5089 * @returns OneofDescriptorProto instance
5090 */
5091 public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
5092
5093 /**
5094 * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
5095 * @param message OneofDescriptorProto message or plain object to encode
5096 * @param [writer] Writer to encode to
5097 * @returns Writer
5098 */
5099 public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5100
5101 /**
5102 * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
5103 * @param message OneofDescriptorProto message or plain object to encode
5104 * @param [writer] Writer to encode to
5105 * @returns Writer
5106 */
5107 public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5108
5109 /**
5110 * Decodes an OneofDescriptorProto message from the specified reader or buffer.
5111 * @param reader Reader or buffer to decode from
5112 * @param [length] Message length if known beforehand
5113 * @returns OneofDescriptorProto
5114 * @throws {Error} If the payload is not a reader or valid buffer
5115 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5116 */
5117 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
5118
5119 /**
5120 * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
5121 * @param reader Reader or buffer to decode from
5122 * @returns OneofDescriptorProto
5123 * @throws {Error} If the payload is not a reader or valid buffer
5124 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5125 */
5126 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
5127
5128 /**
5129 * Verifies an OneofDescriptorProto message.
5130 * @param message Plain object to verify
5131 * @returns `null` if valid, otherwise the reason why it is not
5132 */
5133 public static verify(message: { [k: string]: any }): (string|null);
5134
5135 /**
5136 * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
5137 * @param object Plain object
5138 * @returns OneofDescriptorProto
5139 */
5140 public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
5141
5142 /**
5143 * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
5144 * @param message OneofDescriptorProto
5145 * @param [options] Conversion options
5146 * @returns Plain object
5147 */
5148 public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
5149
5150 /**
5151 * Converts this OneofDescriptorProto to JSON.
5152 * @returns JSON object
5153 */
5154 public toJSON(): { [k: string]: any };
5155 }
5156
5157 /** Properties of an EnumDescriptorProto. */
5158 interface IEnumDescriptorProto {
5159
5160 /** EnumDescriptorProto name */
5161 name?: (string|null);
5162
5163 /** EnumDescriptorProto value */
5164 value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
5165
5166 /** EnumDescriptorProto options */
5167 options?: (google.protobuf.IEnumOptions|null);
5168
5169 /** EnumDescriptorProto reservedRange */
5170 reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
5171
5172 /** EnumDescriptorProto reservedName */
5173 reservedName?: (string[]|null);
5174 }
5175
5176 /** Represents an EnumDescriptorProto. */
5177 class EnumDescriptorProto implements IEnumDescriptorProto {
5178
5179 /**
5180 * Constructs a new EnumDescriptorProto.
5181 * @param [properties] Properties to set
5182 */
5183 constructor(properties?: google.protobuf.IEnumDescriptorProto);
5184
5185 /** EnumDescriptorProto name. */
5186 public name: string;
5187
5188 /** EnumDescriptorProto value. */
5189 public value: google.protobuf.IEnumValueDescriptorProto[];
5190
5191 /** EnumDescriptorProto options. */
5192 public options?: (google.protobuf.IEnumOptions|null);
5193
5194 /** EnumDescriptorProto reservedRange. */
5195 public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
5196
5197 /** EnumDescriptorProto reservedName. */
5198 public reservedName: string[];
5199
5200 /**
5201 * Creates a new EnumDescriptorProto instance using the specified properties.
5202 * @param [properties] Properties to set
5203 * @returns EnumDescriptorProto instance
5204 */
5205 public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
5206
5207 /**
5208 * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
5209 * @param message EnumDescriptorProto message or plain object to encode
5210 * @param [writer] Writer to encode to
5211 * @returns Writer
5212 */
5213 public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5214
5215 /**
5216 * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
5217 * @param message EnumDescriptorProto message or plain object to encode
5218 * @param [writer] Writer to encode to
5219 * @returns Writer
5220 */
5221 public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5222
5223 /**
5224 * Decodes an EnumDescriptorProto message from the specified reader or buffer.
5225 * @param reader Reader or buffer to decode from
5226 * @param [length] Message length if known beforehand
5227 * @returns EnumDescriptorProto
5228 * @throws {Error} If the payload is not a reader or valid buffer
5229 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5230 */
5231 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
5232
5233 /**
5234 * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
5235 * @param reader Reader or buffer to decode from
5236 * @returns EnumDescriptorProto
5237 * @throws {Error} If the payload is not a reader or valid buffer
5238 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5239 */
5240 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
5241
5242 /**
5243 * Verifies an EnumDescriptorProto message.
5244 * @param message Plain object to verify
5245 * @returns `null` if valid, otherwise the reason why it is not
5246 */
5247 public static verify(message: { [k: string]: any }): (string|null);
5248
5249 /**
5250 * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
5251 * @param object Plain object
5252 * @returns EnumDescriptorProto
5253 */
5254 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
5255
5256 /**
5257 * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
5258 * @param message EnumDescriptorProto
5259 * @param [options] Conversion options
5260 * @returns Plain object
5261 */
5262 public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
5263
5264 /**
5265 * Converts this EnumDescriptorProto to JSON.
5266 * @returns JSON object
5267 */
5268 public toJSON(): { [k: string]: any };
5269 }
5270
5271 namespace EnumDescriptorProto {
5272
5273 /** Properties of an EnumReservedRange. */
5274 interface IEnumReservedRange {
5275
5276 /** EnumReservedRange start */
5277 start?: (number|null);
5278
5279 /** EnumReservedRange end */
5280 end?: (number|null);
5281 }
5282
5283 /** Represents an EnumReservedRange. */
5284 class EnumReservedRange implements IEnumReservedRange {
5285
5286 /**
5287 * Constructs a new EnumReservedRange.
5288 * @param [properties] Properties to set
5289 */
5290 constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
5291
5292 /** EnumReservedRange start. */
5293 public start: number;
5294
5295 /** EnumReservedRange end. */
5296 public end: number;
5297
5298 /**
5299 * Creates a new EnumReservedRange instance using the specified properties.
5300 * @param [properties] Properties to set
5301 * @returns EnumReservedRange instance
5302 */
5303 public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
5304
5305 /**
5306 * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
5307 * @param message EnumReservedRange message or plain object to encode
5308 * @param [writer] Writer to encode to
5309 * @returns Writer
5310 */
5311 public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
5312
5313 /**
5314 * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
5315 * @param message EnumReservedRange message or plain object to encode
5316 * @param [writer] Writer to encode to
5317 * @returns Writer
5318 */
5319 public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
5320
5321 /**
5322 * Decodes an EnumReservedRange message from the specified reader or buffer.
5323 * @param reader Reader or buffer to decode from
5324 * @param [length] Message length if known beforehand
5325 * @returns EnumReservedRange
5326 * @throws {Error} If the payload is not a reader or valid buffer
5327 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5328 */
5329 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
5330
5331 /**
5332 * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
5333 * @param reader Reader or buffer to decode from
5334 * @returns EnumReservedRange
5335 * @throws {Error} If the payload is not a reader or valid buffer
5336 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5337 */
5338 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
5339
5340 /**
5341 * Verifies an EnumReservedRange message.
5342 * @param message Plain object to verify
5343 * @returns `null` if valid, otherwise the reason why it is not
5344 */
5345 public static verify(message: { [k: string]: any }): (string|null);
5346
5347 /**
5348 * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
5349 * @param object Plain object
5350 * @returns EnumReservedRange
5351 */
5352 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
5353
5354 /**
5355 * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
5356 * @param message EnumReservedRange
5357 * @param [options] Conversion options
5358 * @returns Plain object
5359 */
5360 public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
5361
5362 /**
5363 * Converts this EnumReservedRange to JSON.
5364 * @returns JSON object
5365 */
5366 public toJSON(): { [k: string]: any };
5367 }
5368 }
5369
5370 /** Properties of an EnumValueDescriptorProto. */
5371 interface IEnumValueDescriptorProto {
5372
5373 /** EnumValueDescriptorProto name */
5374 name?: (string|null);
5375
5376 /** EnumValueDescriptorProto number */
5377 number?: (number|null);
5378
5379 /** EnumValueDescriptorProto options */
5380 options?: (google.protobuf.IEnumValueOptions|null);
5381 }
5382
5383 /** Represents an EnumValueDescriptorProto. */
5384 class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
5385
5386 /**
5387 * Constructs a new EnumValueDescriptorProto.
5388 * @param [properties] Properties to set
5389 */
5390 constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
5391
5392 /** EnumValueDescriptorProto name. */
5393 public name: string;
5394
5395 /** EnumValueDescriptorProto number. */
5396 public number: number;
5397
5398 /** EnumValueDescriptorProto options. */
5399 public options?: (google.protobuf.IEnumValueOptions|null);
5400
5401 /**
5402 * Creates a new EnumValueDescriptorProto instance using the specified properties.
5403 * @param [properties] Properties to set
5404 * @returns EnumValueDescriptorProto instance
5405 */
5406 public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
5407
5408 /**
5409 * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
5410 * @param message EnumValueDescriptorProto message or plain object to encode
5411 * @param [writer] Writer to encode to
5412 * @returns Writer
5413 */
5414 public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5415
5416 /**
5417 * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
5418 * @param message EnumValueDescriptorProto message or plain object to encode
5419 * @param [writer] Writer to encode to
5420 * @returns Writer
5421 */
5422 public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5423
5424 /**
5425 * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
5426 * @param reader Reader or buffer to decode from
5427 * @param [length] Message length if known beforehand
5428 * @returns EnumValueDescriptorProto
5429 * @throws {Error} If the payload is not a reader or valid buffer
5430 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5431 */
5432 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
5433
5434 /**
5435 * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
5436 * @param reader Reader or buffer to decode from
5437 * @returns EnumValueDescriptorProto
5438 * @throws {Error} If the payload is not a reader or valid buffer
5439 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5440 */
5441 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
5442
5443 /**
5444 * Verifies an EnumValueDescriptorProto message.
5445 * @param message Plain object to verify
5446 * @returns `null` if valid, otherwise the reason why it is not
5447 */
5448 public static verify(message: { [k: string]: any }): (string|null);
5449
5450 /**
5451 * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
5452 * @param object Plain object
5453 * @returns EnumValueDescriptorProto
5454 */
5455 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
5456
5457 /**
5458 * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
5459 * @param message EnumValueDescriptorProto
5460 * @param [options] Conversion options
5461 * @returns Plain object
5462 */
5463 public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
5464
5465 /**
5466 * Converts this EnumValueDescriptorProto to JSON.
5467 * @returns JSON object
5468 */
5469 public toJSON(): { [k: string]: any };
5470 }
5471
5472 /** Properties of a ServiceDescriptorProto. */
5473 interface IServiceDescriptorProto {
5474
5475 /** ServiceDescriptorProto name */
5476 name?: (string|null);
5477
5478 /** ServiceDescriptorProto method */
5479 method?: (google.protobuf.IMethodDescriptorProto[]|null);
5480
5481 /** ServiceDescriptorProto options */
5482 options?: (google.protobuf.IServiceOptions|null);
5483 }
5484
5485 /** Represents a ServiceDescriptorProto. */
5486 class ServiceDescriptorProto implements IServiceDescriptorProto {
5487
5488 /**
5489 * Constructs a new ServiceDescriptorProto.
5490 * @param [properties] Properties to set
5491 */
5492 constructor(properties?: google.protobuf.IServiceDescriptorProto);
5493
5494 /** ServiceDescriptorProto name. */
5495 public name: string;
5496
5497 /** ServiceDescriptorProto method. */
5498 public method: google.protobuf.IMethodDescriptorProto[];
5499
5500 /** ServiceDescriptorProto options. */
5501 public options?: (google.protobuf.IServiceOptions|null);
5502
5503 /**
5504 * Creates a new ServiceDescriptorProto instance using the specified properties.
5505 * @param [properties] Properties to set
5506 * @returns ServiceDescriptorProto instance
5507 */
5508 public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
5509
5510 /**
5511 * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
5512 * @param message ServiceDescriptorProto message or plain object to encode
5513 * @param [writer] Writer to encode to
5514 * @returns Writer
5515 */
5516 public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5517
5518 /**
5519 * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
5520 * @param message ServiceDescriptorProto message or plain object to encode
5521 * @param [writer] Writer to encode to
5522 * @returns Writer
5523 */
5524 public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5525
5526 /**
5527 * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
5528 * @param reader Reader or buffer to decode from
5529 * @param [length] Message length if known beforehand
5530 * @returns ServiceDescriptorProto
5531 * @throws {Error} If the payload is not a reader or valid buffer
5532 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5533 */
5534 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
5535
5536 /**
5537 * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
5538 * @param reader Reader or buffer to decode from
5539 * @returns ServiceDescriptorProto
5540 * @throws {Error} If the payload is not a reader or valid buffer
5541 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5542 */
5543 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
5544
5545 /**
5546 * Verifies a ServiceDescriptorProto message.
5547 * @param message Plain object to verify
5548 * @returns `null` if valid, otherwise the reason why it is not
5549 */
5550 public static verify(message: { [k: string]: any }): (string|null);
5551
5552 /**
5553 * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
5554 * @param object Plain object
5555 * @returns ServiceDescriptorProto
5556 */
5557 public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
5558
5559 /**
5560 * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
5561 * @param message ServiceDescriptorProto
5562 * @param [options] Conversion options
5563 * @returns Plain object
5564 */
5565 public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
5566
5567 /**
5568 * Converts this ServiceDescriptorProto to JSON.
5569 * @returns JSON object
5570 */
5571 public toJSON(): { [k: string]: any };
5572 }
5573
5574 /** Properties of a MethodDescriptorProto. */
5575 interface IMethodDescriptorProto {
5576
5577 /** MethodDescriptorProto name */
5578 name?: (string|null);
5579
5580 /** MethodDescriptorProto inputType */
5581 inputType?: (string|null);
5582
5583 /** MethodDescriptorProto outputType */
5584 outputType?: (string|null);
5585
5586 /** MethodDescriptorProto options */
5587 options?: (google.protobuf.IMethodOptions|null);
5588
5589 /** MethodDescriptorProto clientStreaming */
5590 clientStreaming?: (boolean|null);
5591
5592 /** MethodDescriptorProto serverStreaming */
5593 serverStreaming?: (boolean|null);
5594 }
5595
5596 /** Represents a MethodDescriptorProto. */
5597 class MethodDescriptorProto implements IMethodDescriptorProto {
5598
5599 /**
5600 * Constructs a new MethodDescriptorProto.
5601 * @param [properties] Properties to set
5602 */
5603 constructor(properties?: google.protobuf.IMethodDescriptorProto);
5604
5605 /** MethodDescriptorProto name. */
5606 public name: string;
5607
5608 /** MethodDescriptorProto inputType. */
5609 public inputType: string;
5610
5611 /** MethodDescriptorProto outputType. */
5612 public outputType: string;
5613
5614 /** MethodDescriptorProto options. */
5615 public options?: (google.protobuf.IMethodOptions|null);
5616
5617 /** MethodDescriptorProto clientStreaming. */
5618 public clientStreaming: boolean;
5619
5620 /** MethodDescriptorProto serverStreaming. */
5621 public serverStreaming: boolean;
5622
5623 /**
5624 * Creates a new MethodDescriptorProto instance using the specified properties.
5625 * @param [properties] Properties to set
5626 * @returns MethodDescriptorProto instance
5627 */
5628 public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
5629
5630 /**
5631 * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
5632 * @param message MethodDescriptorProto message or plain object to encode
5633 * @param [writer] Writer to encode to
5634 * @returns Writer
5635 */
5636 public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5637
5638 /**
5639 * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
5640 * @param message MethodDescriptorProto message or plain object to encode
5641 * @param [writer] Writer to encode to
5642 * @returns Writer
5643 */
5644 public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
5645
5646 /**
5647 * Decodes a MethodDescriptorProto message from the specified reader or buffer.
5648 * @param reader Reader or buffer to decode from
5649 * @param [length] Message length if known beforehand
5650 * @returns MethodDescriptorProto
5651 * @throws {Error} If the payload is not a reader or valid buffer
5652 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5653 */
5654 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
5655
5656 /**
5657 * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
5658 * @param reader Reader or buffer to decode from
5659 * @returns MethodDescriptorProto
5660 * @throws {Error} If the payload is not a reader or valid buffer
5661 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5662 */
5663 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
5664
5665 /**
5666 * Verifies a MethodDescriptorProto message.
5667 * @param message Plain object to verify
5668 * @returns `null` if valid, otherwise the reason why it is not
5669 */
5670 public static verify(message: { [k: string]: any }): (string|null);
5671
5672 /**
5673 * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
5674 * @param object Plain object
5675 * @returns MethodDescriptorProto
5676 */
5677 public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
5678
5679 /**
5680 * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
5681 * @param message MethodDescriptorProto
5682 * @param [options] Conversion options
5683 * @returns Plain object
5684 */
5685 public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
5686
5687 /**
5688 * Converts this MethodDescriptorProto to JSON.
5689 * @returns JSON object
5690 */
5691 public toJSON(): { [k: string]: any };
5692 }
5693
5694 /** Properties of a FileOptions. */
5695 interface IFileOptions {
5696
5697 /** FileOptions javaPackage */
5698 javaPackage?: (string|null);
5699
5700 /** FileOptions javaOuterClassname */
5701 javaOuterClassname?: (string|null);
5702
5703 /** FileOptions javaMultipleFiles */
5704 javaMultipleFiles?: (boolean|null);
5705
5706 /** FileOptions javaGenerateEqualsAndHash */
5707 javaGenerateEqualsAndHash?: (boolean|null);
5708
5709 /** FileOptions javaStringCheckUtf8 */
5710 javaStringCheckUtf8?: (boolean|null);
5711
5712 /** FileOptions optimizeFor */
5713 optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null);
5714
5715 /** FileOptions goPackage */
5716 goPackage?: (string|null);
5717
5718 /** FileOptions ccGenericServices */
5719 ccGenericServices?: (boolean|null);
5720
5721 /** FileOptions javaGenericServices */
5722 javaGenericServices?: (boolean|null);
5723
5724 /** FileOptions pyGenericServices */
5725 pyGenericServices?: (boolean|null);
5726
5727 /** FileOptions phpGenericServices */
5728 phpGenericServices?: (boolean|null);
5729
5730 /** FileOptions deprecated */
5731 deprecated?: (boolean|null);
5732
5733 /** FileOptions ccEnableArenas */
5734 ccEnableArenas?: (boolean|null);
5735
5736 /** FileOptions objcClassPrefix */
5737 objcClassPrefix?: (string|null);
5738
5739 /** FileOptions csharpNamespace */
5740 csharpNamespace?: (string|null);
5741
5742 /** FileOptions swiftPrefix */
5743 swiftPrefix?: (string|null);
5744
5745 /** FileOptions phpClassPrefix */
5746 phpClassPrefix?: (string|null);
5747
5748 /** FileOptions phpNamespace */
5749 phpNamespace?: (string|null);
5750
5751 /** FileOptions phpMetadataNamespace */
5752 phpMetadataNamespace?: (string|null);
5753
5754 /** FileOptions rubyPackage */
5755 rubyPackage?: (string|null);
5756
5757 /** FileOptions uninterpretedOption */
5758 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
5759 }
5760
5761 /** Represents a FileOptions. */
5762 class FileOptions implements IFileOptions {
5763
5764 /**
5765 * Constructs a new FileOptions.
5766 * @param [properties] Properties to set
5767 */
5768 constructor(properties?: google.protobuf.IFileOptions);
5769
5770 /** FileOptions javaPackage. */
5771 public javaPackage: string;
5772
5773 /** FileOptions javaOuterClassname. */
5774 public javaOuterClassname: string;
5775
5776 /** FileOptions javaMultipleFiles. */
5777 public javaMultipleFiles: boolean;
5778
5779 /** FileOptions javaGenerateEqualsAndHash. */
5780 public javaGenerateEqualsAndHash: boolean;
5781
5782 /** FileOptions javaStringCheckUtf8. */
5783 public javaStringCheckUtf8: boolean;
5784
5785 /** FileOptions optimizeFor. */
5786 public optimizeFor: google.protobuf.FileOptions.OptimizeMode;
5787
5788 /** FileOptions goPackage. */
5789 public goPackage: string;
5790
5791 /** FileOptions ccGenericServices. */
5792 public ccGenericServices: boolean;
5793
5794 /** FileOptions javaGenericServices. */
5795 public javaGenericServices: boolean;
5796
5797 /** FileOptions pyGenericServices. */
5798 public pyGenericServices: boolean;
5799
5800 /** FileOptions phpGenericServices. */
5801 public phpGenericServices: boolean;
5802
5803 /** FileOptions deprecated. */
5804 public deprecated: boolean;
5805
5806 /** FileOptions ccEnableArenas. */
5807 public ccEnableArenas: boolean;
5808
5809 /** FileOptions objcClassPrefix. */
5810 public objcClassPrefix: string;
5811
5812 /** FileOptions csharpNamespace. */
5813 public csharpNamespace: string;
5814
5815 /** FileOptions swiftPrefix. */
5816 public swiftPrefix: string;
5817
5818 /** FileOptions phpClassPrefix. */
5819 public phpClassPrefix: string;
5820
5821 /** FileOptions phpNamespace. */
5822 public phpNamespace: string;
5823
5824 /** FileOptions phpMetadataNamespace. */
5825 public phpMetadataNamespace: string;
5826
5827 /** FileOptions rubyPackage. */
5828 public rubyPackage: string;
5829
5830 /** FileOptions uninterpretedOption. */
5831 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
5832
5833 /**
5834 * Creates a new FileOptions instance using the specified properties.
5835 * @param [properties] Properties to set
5836 * @returns FileOptions instance
5837 */
5838 public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
5839
5840 /**
5841 * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
5842 * @param message FileOptions message or plain object to encode
5843 * @param [writer] Writer to encode to
5844 * @returns Writer
5845 */
5846 public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
5847
5848 /**
5849 * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
5850 * @param message FileOptions message or plain object to encode
5851 * @param [writer] Writer to encode to
5852 * @returns Writer
5853 */
5854 public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
5855
5856 /**
5857 * Decodes a FileOptions message from the specified reader or buffer.
5858 * @param reader Reader or buffer to decode from
5859 * @param [length] Message length if known beforehand
5860 * @returns FileOptions
5861 * @throws {Error} If the payload is not a reader or valid buffer
5862 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5863 */
5864 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
5865
5866 /**
5867 * Decodes a FileOptions message from the specified reader or buffer, length delimited.
5868 * @param reader Reader or buffer to decode from
5869 * @returns FileOptions
5870 * @throws {Error} If the payload is not a reader or valid buffer
5871 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5872 */
5873 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
5874
5875 /**
5876 * Verifies a FileOptions message.
5877 * @param message Plain object to verify
5878 * @returns `null` if valid, otherwise the reason why it is not
5879 */
5880 public static verify(message: { [k: string]: any }): (string|null);
5881
5882 /**
5883 * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
5884 * @param object Plain object
5885 * @returns FileOptions
5886 */
5887 public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
5888
5889 /**
5890 * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
5891 * @param message FileOptions
5892 * @param [options] Conversion options
5893 * @returns Plain object
5894 */
5895 public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
5896
5897 /**
5898 * Converts this FileOptions to JSON.
5899 * @returns JSON object
5900 */
5901 public toJSON(): { [k: string]: any };
5902 }
5903
5904 namespace FileOptions {
5905
5906 /** OptimizeMode enum. */
5907 enum OptimizeMode {
5908 SPEED = 1,
5909 CODE_SIZE = 2,
5910 LITE_RUNTIME = 3
5911 }
5912 }
5913
5914 /** Properties of a MessageOptions. */
5915 interface IMessageOptions {
5916
5917 /** MessageOptions messageSetWireFormat */
5918 messageSetWireFormat?: (boolean|null);
5919
5920 /** MessageOptions noStandardDescriptorAccessor */
5921 noStandardDescriptorAccessor?: (boolean|null);
5922
5923 /** MessageOptions deprecated */
5924 deprecated?: (boolean|null);
5925
5926 /** MessageOptions mapEntry */
5927 mapEntry?: (boolean|null);
5928
5929 /** MessageOptions uninterpretedOption */
5930 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
5931 }
5932
5933 /** Represents a MessageOptions. */
5934 class MessageOptions implements IMessageOptions {
5935
5936 /**
5937 * Constructs a new MessageOptions.
5938 * @param [properties] Properties to set
5939 */
5940 constructor(properties?: google.protobuf.IMessageOptions);
5941
5942 /** MessageOptions messageSetWireFormat. */
5943 public messageSetWireFormat: boolean;
5944
5945 /** MessageOptions noStandardDescriptorAccessor. */
5946 public noStandardDescriptorAccessor: boolean;
5947
5948 /** MessageOptions deprecated. */
5949 public deprecated: boolean;
5950
5951 /** MessageOptions mapEntry. */
5952 public mapEntry: boolean;
5953
5954 /** MessageOptions uninterpretedOption. */
5955 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
5956
5957 /**
5958 * Creates a new MessageOptions instance using the specified properties.
5959 * @param [properties] Properties to set
5960 * @returns MessageOptions instance
5961 */
5962 public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
5963
5964 /**
5965 * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
5966 * @param message MessageOptions message or plain object to encode
5967 * @param [writer] Writer to encode to
5968 * @returns Writer
5969 */
5970 public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
5971
5972 /**
5973 * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
5974 * @param message MessageOptions message or plain object to encode
5975 * @param [writer] Writer to encode to
5976 * @returns Writer
5977 */
5978 public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
5979
5980 /**
5981 * Decodes a MessageOptions message from the specified reader or buffer.
5982 * @param reader Reader or buffer to decode from
5983 * @param [length] Message length if known beforehand
5984 * @returns MessageOptions
5985 * @throws {Error} If the payload is not a reader or valid buffer
5986 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5987 */
5988 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
5989
5990 /**
5991 * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
5992 * @param reader Reader or buffer to decode from
5993 * @returns MessageOptions
5994 * @throws {Error} If the payload is not a reader or valid buffer
5995 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5996 */
5997 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
5998
5999 /**
6000 * Verifies a MessageOptions message.
6001 * @param message Plain object to verify
6002 * @returns `null` if valid, otherwise the reason why it is not
6003 */
6004 public static verify(message: { [k: string]: any }): (string|null);
6005
6006 /**
6007 * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
6008 * @param object Plain object
6009 * @returns MessageOptions
6010 */
6011 public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
6012
6013 /**
6014 * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
6015 * @param message MessageOptions
6016 * @param [options] Conversion options
6017 * @returns Plain object
6018 */
6019 public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
6020
6021 /**
6022 * Converts this MessageOptions to JSON.
6023 * @returns JSON object
6024 */
6025 public toJSON(): { [k: string]: any };
6026 }
6027
6028 /** Properties of a FieldOptions. */
6029 interface IFieldOptions {
6030
6031 /** FieldOptions ctype */
6032 ctype?: (google.protobuf.FieldOptions.CType|null);
6033
6034 /** FieldOptions packed */
6035 packed?: (boolean|null);
6036
6037 /** FieldOptions jstype */
6038 jstype?: (google.protobuf.FieldOptions.JSType|null);
6039
6040 /** FieldOptions lazy */
6041 lazy?: (boolean|null);
6042
6043 /** FieldOptions deprecated */
6044 deprecated?: (boolean|null);
6045
6046 /** FieldOptions weak */
6047 weak?: (boolean|null);
6048
6049 /** FieldOptions uninterpretedOption */
6050 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
6051 }
6052
6053 /** Represents a FieldOptions. */
6054 class FieldOptions implements IFieldOptions {
6055
6056 /**
6057 * Constructs a new FieldOptions.
6058 * @param [properties] Properties to set
6059 */
6060 constructor(properties?: google.protobuf.IFieldOptions);
6061
6062 /** FieldOptions ctype. */
6063 public ctype: google.protobuf.FieldOptions.CType;
6064
6065 /** FieldOptions packed. */
6066 public packed: boolean;
6067
6068 /** FieldOptions jstype. */
6069 public jstype: google.protobuf.FieldOptions.JSType;
6070
6071 /** FieldOptions lazy. */
6072 public lazy: boolean;
6073
6074 /** FieldOptions deprecated. */
6075 public deprecated: boolean;
6076
6077 /** FieldOptions weak. */
6078 public weak: boolean;
6079
6080 /** FieldOptions uninterpretedOption. */
6081 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
6082
6083 /**
6084 * Creates a new FieldOptions instance using the specified properties.
6085 * @param [properties] Properties to set
6086 * @returns FieldOptions instance
6087 */
6088 public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
6089
6090 /**
6091 * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
6092 * @param message FieldOptions message or plain object to encode
6093 * @param [writer] Writer to encode to
6094 * @returns Writer
6095 */
6096 public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6097
6098 /**
6099 * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
6100 * @param message FieldOptions message or plain object to encode
6101 * @param [writer] Writer to encode to
6102 * @returns Writer
6103 */
6104 public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6105
6106 /**
6107 * Decodes a FieldOptions message from the specified reader or buffer.
6108 * @param reader Reader or buffer to decode from
6109 * @param [length] Message length if known beforehand
6110 * @returns FieldOptions
6111 * @throws {Error} If the payload is not a reader or valid buffer
6112 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6113 */
6114 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
6115
6116 /**
6117 * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
6118 * @param reader Reader or buffer to decode from
6119 * @returns FieldOptions
6120 * @throws {Error} If the payload is not a reader or valid buffer
6121 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6122 */
6123 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
6124
6125 /**
6126 * Verifies a FieldOptions message.
6127 * @param message Plain object to verify
6128 * @returns `null` if valid, otherwise the reason why it is not
6129 */
6130 public static verify(message: { [k: string]: any }): (string|null);
6131
6132 /**
6133 * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
6134 * @param object Plain object
6135 * @returns FieldOptions
6136 */
6137 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
6138
6139 /**
6140 * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
6141 * @param message FieldOptions
6142 * @param [options] Conversion options
6143 * @returns Plain object
6144 */
6145 public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
6146
6147 /**
6148 * Converts this FieldOptions to JSON.
6149 * @returns JSON object
6150 */
6151 public toJSON(): { [k: string]: any };
6152 }
6153
6154 namespace FieldOptions {
6155
6156 /** CType enum. */
6157 enum CType {
6158 STRING = 0,
6159 CORD = 1,
6160 STRING_PIECE = 2
6161 }
6162
6163 /** JSType enum. */
6164 enum JSType {
6165 JS_NORMAL = 0,
6166 JS_STRING = 1,
6167 JS_NUMBER = 2
6168 }
6169 }
6170
6171 /** Properties of an OneofOptions. */
6172 interface IOneofOptions {
6173
6174 /** OneofOptions uninterpretedOption */
6175 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
6176 }
6177
6178 /** Represents an OneofOptions. */
6179 class OneofOptions implements IOneofOptions {
6180
6181 /**
6182 * Constructs a new OneofOptions.
6183 * @param [properties] Properties to set
6184 */
6185 constructor(properties?: google.protobuf.IOneofOptions);
6186
6187 /** OneofOptions uninterpretedOption. */
6188 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
6189
6190 /**
6191 * Creates a new OneofOptions instance using the specified properties.
6192 * @param [properties] Properties to set
6193 * @returns OneofOptions instance
6194 */
6195 public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
6196
6197 /**
6198 * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
6199 * @param message OneofOptions message or plain object to encode
6200 * @param [writer] Writer to encode to
6201 * @returns Writer
6202 */
6203 public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6204
6205 /**
6206 * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
6207 * @param message OneofOptions message or plain object to encode
6208 * @param [writer] Writer to encode to
6209 * @returns Writer
6210 */
6211 public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6212
6213 /**
6214 * Decodes an OneofOptions message from the specified reader or buffer.
6215 * @param reader Reader or buffer to decode from
6216 * @param [length] Message length if known beforehand
6217 * @returns OneofOptions
6218 * @throws {Error} If the payload is not a reader or valid buffer
6219 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6220 */
6221 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
6222
6223 /**
6224 * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
6225 * @param reader Reader or buffer to decode from
6226 * @returns OneofOptions
6227 * @throws {Error} If the payload is not a reader or valid buffer
6228 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6229 */
6230 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
6231
6232 /**
6233 * Verifies an OneofOptions message.
6234 * @param message Plain object to verify
6235 * @returns `null` if valid, otherwise the reason why it is not
6236 */
6237 public static verify(message: { [k: string]: any }): (string|null);
6238
6239 /**
6240 * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
6241 * @param object Plain object
6242 * @returns OneofOptions
6243 */
6244 public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
6245
6246 /**
6247 * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
6248 * @param message OneofOptions
6249 * @param [options] Conversion options
6250 * @returns Plain object
6251 */
6252 public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
6253
6254 /**
6255 * Converts this OneofOptions to JSON.
6256 * @returns JSON object
6257 */
6258 public toJSON(): { [k: string]: any };
6259 }
6260
6261 /** Properties of an EnumOptions. */
6262 interface IEnumOptions {
6263
6264 /** EnumOptions allowAlias */
6265 allowAlias?: (boolean|null);
6266
6267 /** EnumOptions deprecated */
6268 deprecated?: (boolean|null);
6269
6270 /** EnumOptions uninterpretedOption */
6271 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
6272 }
6273
6274 /** Represents an EnumOptions. */
6275 class EnumOptions implements IEnumOptions {
6276
6277 /**
6278 * Constructs a new EnumOptions.
6279 * @param [properties] Properties to set
6280 */
6281 constructor(properties?: google.protobuf.IEnumOptions);
6282
6283 /** EnumOptions allowAlias. */
6284 public allowAlias: boolean;
6285
6286 /** EnumOptions deprecated. */
6287 public deprecated: boolean;
6288
6289 /** EnumOptions uninterpretedOption. */
6290 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
6291
6292 /**
6293 * Creates a new EnumOptions instance using the specified properties.
6294 * @param [properties] Properties to set
6295 * @returns EnumOptions instance
6296 */
6297 public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
6298
6299 /**
6300 * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
6301 * @param message EnumOptions message or plain object to encode
6302 * @param [writer] Writer to encode to
6303 * @returns Writer
6304 */
6305 public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6306
6307 /**
6308 * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
6309 * @param message EnumOptions message or plain object to encode
6310 * @param [writer] Writer to encode to
6311 * @returns Writer
6312 */
6313 public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6314
6315 /**
6316 * Decodes an EnumOptions message from the specified reader or buffer.
6317 * @param reader Reader or buffer to decode from
6318 * @param [length] Message length if known beforehand
6319 * @returns EnumOptions
6320 * @throws {Error} If the payload is not a reader or valid buffer
6321 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6322 */
6323 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
6324
6325 /**
6326 * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
6327 * @param reader Reader or buffer to decode from
6328 * @returns EnumOptions
6329 * @throws {Error} If the payload is not a reader or valid buffer
6330 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6331 */
6332 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
6333
6334 /**
6335 * Verifies an EnumOptions message.
6336 * @param message Plain object to verify
6337 * @returns `null` if valid, otherwise the reason why it is not
6338 */
6339 public static verify(message: { [k: string]: any }): (string|null);
6340
6341 /**
6342 * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
6343 * @param object Plain object
6344 * @returns EnumOptions
6345 */
6346 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
6347
6348 /**
6349 * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
6350 * @param message EnumOptions
6351 * @param [options] Conversion options
6352 * @returns Plain object
6353 */
6354 public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
6355
6356 /**
6357 * Converts this EnumOptions to JSON.
6358 * @returns JSON object
6359 */
6360 public toJSON(): { [k: string]: any };
6361 }
6362
6363 /** Properties of an EnumValueOptions. */
6364 interface IEnumValueOptions {
6365
6366 /** EnumValueOptions deprecated */
6367 deprecated?: (boolean|null);
6368
6369 /** EnumValueOptions uninterpretedOption */
6370 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
6371 }
6372
6373 /** Represents an EnumValueOptions. */
6374 class EnumValueOptions implements IEnumValueOptions {
6375
6376 /**
6377 * Constructs a new EnumValueOptions.
6378 * @param [properties] Properties to set
6379 */
6380 constructor(properties?: google.protobuf.IEnumValueOptions);
6381
6382 /** EnumValueOptions deprecated. */
6383 public deprecated: boolean;
6384
6385 /** EnumValueOptions uninterpretedOption. */
6386 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
6387
6388 /**
6389 * Creates a new EnumValueOptions instance using the specified properties.
6390 * @param [properties] Properties to set
6391 * @returns EnumValueOptions instance
6392 */
6393 public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
6394
6395 /**
6396 * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
6397 * @param message EnumValueOptions message or plain object to encode
6398 * @param [writer] Writer to encode to
6399 * @returns Writer
6400 */
6401 public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6402
6403 /**
6404 * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
6405 * @param message EnumValueOptions message or plain object to encode
6406 * @param [writer] Writer to encode to
6407 * @returns Writer
6408 */
6409 public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6410
6411 /**
6412 * Decodes an EnumValueOptions message from the specified reader or buffer.
6413 * @param reader Reader or buffer to decode from
6414 * @param [length] Message length if known beforehand
6415 * @returns EnumValueOptions
6416 * @throws {Error} If the payload is not a reader or valid buffer
6417 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6418 */
6419 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
6420
6421 /**
6422 * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
6423 * @param reader Reader or buffer to decode from
6424 * @returns EnumValueOptions
6425 * @throws {Error} If the payload is not a reader or valid buffer
6426 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6427 */
6428 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
6429
6430 /**
6431 * Verifies an EnumValueOptions message.
6432 * @param message Plain object to verify
6433 * @returns `null` if valid, otherwise the reason why it is not
6434 */
6435 public static verify(message: { [k: string]: any }): (string|null);
6436
6437 /**
6438 * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
6439 * @param object Plain object
6440 * @returns EnumValueOptions
6441 */
6442 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
6443
6444 /**
6445 * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
6446 * @param message EnumValueOptions
6447 * @param [options] Conversion options
6448 * @returns Plain object
6449 */
6450 public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
6451
6452 /**
6453 * Converts this EnumValueOptions to JSON.
6454 * @returns JSON object
6455 */
6456 public toJSON(): { [k: string]: any };
6457 }
6458
6459 /** Properties of a ServiceOptions. */
6460 interface IServiceOptions {
6461
6462 /** ServiceOptions deprecated */
6463 deprecated?: (boolean|null);
6464
6465 /** ServiceOptions uninterpretedOption */
6466 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
6467 }
6468
6469 /** Represents a ServiceOptions. */
6470 class ServiceOptions implements IServiceOptions {
6471
6472 /**
6473 * Constructs a new ServiceOptions.
6474 * @param [properties] Properties to set
6475 */
6476 constructor(properties?: google.protobuf.IServiceOptions);
6477
6478 /** ServiceOptions deprecated. */
6479 public deprecated: boolean;
6480
6481 /** ServiceOptions uninterpretedOption. */
6482 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
6483
6484 /**
6485 * Creates a new ServiceOptions instance using the specified properties.
6486 * @param [properties] Properties to set
6487 * @returns ServiceOptions instance
6488 */
6489 public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
6490
6491 /**
6492 * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
6493 * @param message ServiceOptions message or plain object to encode
6494 * @param [writer] Writer to encode to
6495 * @returns Writer
6496 */
6497 public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6498
6499 /**
6500 * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
6501 * @param message ServiceOptions message or plain object to encode
6502 * @param [writer] Writer to encode to
6503 * @returns Writer
6504 */
6505 public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6506
6507 /**
6508 * Decodes a ServiceOptions message from the specified reader or buffer.
6509 * @param reader Reader or buffer to decode from
6510 * @param [length] Message length if known beforehand
6511 * @returns ServiceOptions
6512 * @throws {Error} If the payload is not a reader or valid buffer
6513 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6514 */
6515 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
6516
6517 /**
6518 * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
6519 * @param reader Reader or buffer to decode from
6520 * @returns ServiceOptions
6521 * @throws {Error} If the payload is not a reader or valid buffer
6522 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6523 */
6524 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
6525
6526 /**
6527 * Verifies a ServiceOptions message.
6528 * @param message Plain object to verify
6529 * @returns `null` if valid, otherwise the reason why it is not
6530 */
6531 public static verify(message: { [k: string]: any }): (string|null);
6532
6533 /**
6534 * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
6535 * @param object Plain object
6536 * @returns ServiceOptions
6537 */
6538 public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
6539
6540 /**
6541 * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
6542 * @param message ServiceOptions
6543 * @param [options] Conversion options
6544 * @returns Plain object
6545 */
6546 public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
6547
6548 /**
6549 * Converts this ServiceOptions to JSON.
6550 * @returns JSON object
6551 */
6552 public toJSON(): { [k: string]: any };
6553 }
6554
6555 /** Properties of a MethodOptions. */
6556 interface IMethodOptions {
6557
6558 /** MethodOptions deprecated */
6559 deprecated?: (boolean|null);
6560
6561 /** MethodOptions idempotencyLevel */
6562 idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|null);
6563
6564 /** MethodOptions uninterpretedOption */
6565 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
6566
6567 /** MethodOptions .google.api.http */
6568 ".google.api.http"?: (google.api.IHttpRule|null);
6569 }
6570
6571 /** Represents a MethodOptions. */
6572 class MethodOptions implements IMethodOptions {
6573
6574 /**
6575 * Constructs a new MethodOptions.
6576 * @param [properties] Properties to set
6577 */
6578 constructor(properties?: google.protobuf.IMethodOptions);
6579
6580 /** MethodOptions deprecated. */
6581 public deprecated: boolean;
6582
6583 /** MethodOptions idempotencyLevel. */
6584 public idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel;
6585
6586 /** MethodOptions uninterpretedOption. */
6587 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
6588
6589 /**
6590 * Creates a new MethodOptions instance using the specified properties.
6591 * @param [properties] Properties to set
6592 * @returns MethodOptions instance
6593 */
6594 public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
6595
6596 /**
6597 * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
6598 * @param message MethodOptions message or plain object to encode
6599 * @param [writer] Writer to encode to
6600 * @returns Writer
6601 */
6602 public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6603
6604 /**
6605 * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
6606 * @param message MethodOptions message or plain object to encode
6607 * @param [writer] Writer to encode to
6608 * @returns Writer
6609 */
6610 public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
6611
6612 /**
6613 * Decodes a MethodOptions message from the specified reader or buffer.
6614 * @param reader Reader or buffer to decode from
6615 * @param [length] Message length if known beforehand
6616 * @returns MethodOptions
6617 * @throws {Error} If the payload is not a reader or valid buffer
6618 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6619 */
6620 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
6621
6622 /**
6623 * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
6624 * @param reader Reader or buffer to decode from
6625 * @returns MethodOptions
6626 * @throws {Error} If the payload is not a reader or valid buffer
6627 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6628 */
6629 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
6630
6631 /**
6632 * Verifies a MethodOptions message.
6633 * @param message Plain object to verify
6634 * @returns `null` if valid, otherwise the reason why it is not
6635 */
6636 public static verify(message: { [k: string]: any }): (string|null);
6637
6638 /**
6639 * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
6640 * @param object Plain object
6641 * @returns MethodOptions
6642 */
6643 public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
6644
6645 /**
6646 * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
6647 * @param message MethodOptions
6648 * @param [options] Conversion options
6649 * @returns Plain object
6650 */
6651 public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
6652
6653 /**
6654 * Converts this MethodOptions to JSON.
6655 * @returns JSON object
6656 */
6657 public toJSON(): { [k: string]: any };
6658 }
6659
6660 namespace MethodOptions {
6661
6662 /** IdempotencyLevel enum. */
6663 enum IdempotencyLevel {
6664 IDEMPOTENCY_UNKNOWN = 0,
6665 NO_SIDE_EFFECTS = 1,
6666 IDEMPOTENT = 2
6667 }
6668 }
6669
6670 /** Properties of an UninterpretedOption. */
6671 interface IUninterpretedOption {
6672
6673 /** UninterpretedOption name */
6674 name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
6675
6676 /** UninterpretedOption identifierValue */
6677 identifierValue?: (string|null);
6678
6679 /** UninterpretedOption positiveIntValue */
6680 positiveIntValue?: (number|Long|null);
6681
6682 /** UninterpretedOption negativeIntValue */
6683 negativeIntValue?: (number|Long|null);
6684
6685 /** UninterpretedOption doubleValue */
6686 doubleValue?: (number|null);
6687
6688 /** UninterpretedOption stringValue */
6689 stringValue?: (Uint8Array|null);
6690
6691 /** UninterpretedOption aggregateValue */
6692 aggregateValue?: (string|null);
6693 }
6694
6695 /** Represents an UninterpretedOption. */
6696 class UninterpretedOption implements IUninterpretedOption {
6697
6698 /**
6699 * Constructs a new UninterpretedOption.
6700 * @param [properties] Properties to set
6701 */
6702 constructor(properties?: google.protobuf.IUninterpretedOption);
6703
6704 /** UninterpretedOption name. */
6705 public name: google.protobuf.UninterpretedOption.INamePart[];
6706
6707 /** UninterpretedOption identifierValue. */
6708 public identifierValue: string;
6709
6710 /** UninterpretedOption positiveIntValue. */
6711 public positiveIntValue: (number|Long);
6712
6713 /** UninterpretedOption negativeIntValue. */
6714 public negativeIntValue: (number|Long);
6715
6716 /** UninterpretedOption doubleValue. */
6717 public doubleValue: number;
6718
6719 /** UninterpretedOption stringValue. */
6720 public stringValue: Uint8Array;
6721
6722 /** UninterpretedOption aggregateValue. */
6723 public aggregateValue: string;
6724
6725 /**
6726 * Creates a new UninterpretedOption instance using the specified properties.
6727 * @param [properties] Properties to set
6728 * @returns UninterpretedOption instance
6729 */
6730 public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
6731
6732 /**
6733 * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
6734 * @param message UninterpretedOption message or plain object to encode
6735 * @param [writer] Writer to encode to
6736 * @returns Writer
6737 */
6738 public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
6739
6740 /**
6741 * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
6742 * @param message UninterpretedOption message or plain object to encode
6743 * @param [writer] Writer to encode to
6744 * @returns Writer
6745 */
6746 public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
6747
6748 /**
6749 * Decodes an UninterpretedOption message from the specified reader or buffer.
6750 * @param reader Reader or buffer to decode from
6751 * @param [length] Message length if known beforehand
6752 * @returns UninterpretedOption
6753 * @throws {Error} If the payload is not a reader or valid buffer
6754 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6755 */
6756 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
6757
6758 /**
6759 * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
6760 * @param reader Reader or buffer to decode from
6761 * @returns UninterpretedOption
6762 * @throws {Error} If the payload is not a reader or valid buffer
6763 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6764 */
6765 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
6766
6767 /**
6768 * Verifies an UninterpretedOption message.
6769 * @param message Plain object to verify
6770 * @returns `null` if valid, otherwise the reason why it is not
6771 */
6772 public static verify(message: { [k: string]: any }): (string|null);
6773
6774 /**
6775 * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
6776 * @param object Plain object
6777 * @returns UninterpretedOption
6778 */
6779 public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
6780
6781 /**
6782 * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
6783 * @param message UninterpretedOption
6784 * @param [options] Conversion options
6785 * @returns Plain object
6786 */
6787 public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
6788
6789 /**
6790 * Converts this UninterpretedOption to JSON.
6791 * @returns JSON object
6792 */
6793 public toJSON(): { [k: string]: any };
6794 }
6795
6796 namespace UninterpretedOption {
6797
6798 /** Properties of a NamePart. */
6799 interface INamePart {
6800
6801 /** NamePart namePart */
6802 namePart: string;
6803
6804 /** NamePart isExtension */
6805 isExtension: boolean;
6806 }
6807
6808 /** Represents a NamePart. */
6809 class NamePart implements INamePart {
6810
6811 /**
6812 * Constructs a new NamePart.
6813 * @param [properties] Properties to set
6814 */
6815 constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
6816
6817 /** NamePart namePart. */
6818 public namePart: string;
6819
6820 /** NamePart isExtension. */
6821 public isExtension: boolean;
6822
6823 /**
6824 * Creates a new NamePart instance using the specified properties.
6825 * @param [properties] Properties to set
6826 * @returns NamePart instance
6827 */
6828 public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
6829
6830 /**
6831 * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
6832 * @param message NamePart message or plain object to encode
6833 * @param [writer] Writer to encode to
6834 * @returns Writer
6835 */
6836 public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
6837
6838 /**
6839 * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
6840 * @param message NamePart message or plain object to encode
6841 * @param [writer] Writer to encode to
6842 * @returns Writer
6843 */
6844 public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
6845
6846 /**
6847 * Decodes a NamePart message from the specified reader or buffer.
6848 * @param reader Reader or buffer to decode from
6849 * @param [length] Message length if known beforehand
6850 * @returns NamePart
6851 * @throws {Error} If the payload is not a reader or valid buffer
6852 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6853 */
6854 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
6855
6856 /**
6857 * Decodes a NamePart message from the specified reader or buffer, length delimited.
6858 * @param reader Reader or buffer to decode from
6859 * @returns NamePart
6860 * @throws {Error} If the payload is not a reader or valid buffer
6861 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6862 */
6863 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
6864
6865 /**
6866 * Verifies a NamePart message.
6867 * @param message Plain object to verify
6868 * @returns `null` if valid, otherwise the reason why it is not
6869 */
6870 public static verify(message: { [k: string]: any }): (string|null);
6871
6872 /**
6873 * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
6874 * @param object Plain object
6875 * @returns NamePart
6876 */
6877 public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
6878
6879 /**
6880 * Creates a plain object from a NamePart message. Also converts values to other types if specified.
6881 * @param message NamePart
6882 * @param [options] Conversion options
6883 * @returns Plain object
6884 */
6885 public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
6886
6887 /**
6888 * Converts this NamePart to JSON.
6889 * @returns JSON object
6890 */
6891 public toJSON(): { [k: string]: any };
6892 }
6893 }
6894
6895 /** Properties of a SourceCodeInfo. */
6896 interface ISourceCodeInfo {
6897
6898 /** SourceCodeInfo location */
6899 location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
6900 }
6901
6902 /** Represents a SourceCodeInfo. */
6903 class SourceCodeInfo implements ISourceCodeInfo {
6904
6905 /**
6906 * Constructs a new SourceCodeInfo.
6907 * @param [properties] Properties to set
6908 */
6909 constructor(properties?: google.protobuf.ISourceCodeInfo);
6910
6911 /** SourceCodeInfo location. */
6912 public location: google.protobuf.SourceCodeInfo.ILocation[];
6913
6914 /**
6915 * Creates a new SourceCodeInfo instance using the specified properties.
6916 * @param [properties] Properties to set
6917 * @returns SourceCodeInfo instance
6918 */
6919 public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
6920
6921 /**
6922 * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
6923 * @param message SourceCodeInfo message or plain object to encode
6924 * @param [writer] Writer to encode to
6925 * @returns Writer
6926 */
6927 public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
6928
6929 /**
6930 * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
6931 * @param message SourceCodeInfo message or plain object to encode
6932 * @param [writer] Writer to encode to
6933 * @returns Writer
6934 */
6935 public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
6936
6937 /**
6938 * Decodes a SourceCodeInfo message from the specified reader or buffer.
6939 * @param reader Reader or buffer to decode from
6940 * @param [length] Message length if known beforehand
6941 * @returns SourceCodeInfo
6942 * @throws {Error} If the payload is not a reader or valid buffer
6943 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6944 */
6945 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
6946
6947 /**
6948 * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
6949 * @param reader Reader or buffer to decode from
6950 * @returns SourceCodeInfo
6951 * @throws {Error} If the payload is not a reader or valid buffer
6952 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6953 */
6954 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
6955
6956 /**
6957 * Verifies a SourceCodeInfo message.
6958 * @param message Plain object to verify
6959 * @returns `null` if valid, otherwise the reason why it is not
6960 */
6961 public static verify(message: { [k: string]: any }): (string|null);
6962
6963 /**
6964 * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
6965 * @param object Plain object
6966 * @returns SourceCodeInfo
6967 */
6968 public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
6969
6970 /**
6971 * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
6972 * @param message SourceCodeInfo
6973 * @param [options] Conversion options
6974 * @returns Plain object
6975 */
6976 public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
6977
6978 /**
6979 * Converts this SourceCodeInfo to JSON.
6980 * @returns JSON object
6981 */
6982 public toJSON(): { [k: string]: any };
6983 }
6984
6985 namespace SourceCodeInfo {
6986
6987 /** Properties of a Location. */
6988 interface ILocation {
6989
6990 /** Location path */
6991 path?: (number[]|null);
6992
6993 /** Location span */
6994 span?: (number[]|null);
6995
6996 /** Location leadingComments */
6997 leadingComments?: (string|null);
6998
6999 /** Location trailingComments */
7000 trailingComments?: (string|null);
7001
7002 /** Location leadingDetachedComments */
7003 leadingDetachedComments?: (string[]|null);
7004 }
7005
7006 /** Represents a Location. */
7007 class Location implements ILocation {
7008
7009 /**
7010 * Constructs a new Location.
7011 * @param [properties] Properties to set
7012 */
7013 constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
7014
7015 /** Location path. */
7016 public path: number[];
7017
7018 /** Location span. */
7019 public span: number[];
7020
7021 /** Location leadingComments. */
7022 public leadingComments: string;
7023
7024 /** Location trailingComments. */
7025 public trailingComments: string;
7026
7027 /** Location leadingDetachedComments. */
7028 public leadingDetachedComments: string[];
7029
7030 /**
7031 * Creates a new Location instance using the specified properties.
7032 * @param [properties] Properties to set
7033 * @returns Location instance
7034 */
7035 public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
7036
7037 /**
7038 * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
7039 * @param message Location message or plain object to encode
7040 * @param [writer] Writer to encode to
7041 * @returns Writer
7042 */
7043 public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
7044
7045 /**
7046 * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
7047 * @param message Location message or plain object to encode
7048 * @param [writer] Writer to encode to
7049 * @returns Writer
7050 */
7051 public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
7052
7053 /**
7054 * Decodes a Location message from the specified reader or buffer.
7055 * @param reader Reader or buffer to decode from
7056 * @param [length] Message length if known beforehand
7057 * @returns Location
7058 * @throws {Error} If the payload is not a reader or valid buffer
7059 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7060 */
7061 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
7062
7063 /**
7064 * Decodes a Location message from the specified reader or buffer, length delimited.
7065 * @param reader Reader or buffer to decode from
7066 * @returns Location
7067 * @throws {Error} If the payload is not a reader or valid buffer
7068 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7069 */
7070 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
7071
7072 /**
7073 * Verifies a Location message.
7074 * @param message Plain object to verify
7075 * @returns `null` if valid, otherwise the reason why it is not
7076 */
7077 public static verify(message: { [k: string]: any }): (string|null);
7078
7079 /**
7080 * Creates a Location message from a plain object. Also converts values to their respective internal types.
7081 * @param object Plain object
7082 * @returns Location
7083 */
7084 public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
7085
7086 /**
7087 * Creates a plain object from a Location message. Also converts values to other types if specified.
7088 * @param message Location
7089 * @param [options] Conversion options
7090 * @returns Plain object
7091 */
7092 public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
7093
7094 /**
7095 * Converts this Location to JSON.
7096 * @returns JSON object
7097 */
7098 public toJSON(): { [k: string]: any };
7099 }
7100 }
7101
7102 /** Properties of a GeneratedCodeInfo. */
7103 interface IGeneratedCodeInfo {
7104
7105 /** GeneratedCodeInfo annotation */
7106 annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
7107 }
7108
7109 /** Represents a GeneratedCodeInfo. */
7110 class GeneratedCodeInfo implements IGeneratedCodeInfo {
7111
7112 /**
7113 * Constructs a new GeneratedCodeInfo.
7114 * @param [properties] Properties to set
7115 */
7116 constructor(properties?: google.protobuf.IGeneratedCodeInfo);
7117
7118 /** GeneratedCodeInfo annotation. */
7119 public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
7120
7121 /**
7122 * Creates a new GeneratedCodeInfo instance using the specified properties.
7123 * @param [properties] Properties to set
7124 * @returns GeneratedCodeInfo instance
7125 */
7126 public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
7127
7128 /**
7129 * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
7130 * @param message GeneratedCodeInfo message or plain object to encode
7131 * @param [writer] Writer to encode to
7132 * @returns Writer
7133 */
7134 public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
7135
7136 /**
7137 * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
7138 * @param message GeneratedCodeInfo message or plain object to encode
7139 * @param [writer] Writer to encode to
7140 * @returns Writer
7141 */
7142 public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
7143
7144 /**
7145 * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
7146 * @param reader Reader or buffer to decode from
7147 * @param [length] Message length if known beforehand
7148 * @returns GeneratedCodeInfo
7149 * @throws {Error} If the payload is not a reader or valid buffer
7150 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7151 */
7152 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
7153
7154 /**
7155 * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
7156 * @param reader Reader or buffer to decode from
7157 * @returns GeneratedCodeInfo
7158 * @throws {Error} If the payload is not a reader or valid buffer
7159 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7160 */
7161 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
7162
7163 /**
7164 * Verifies a GeneratedCodeInfo message.
7165 * @param message Plain object to verify
7166 * @returns `null` if valid, otherwise the reason why it is not
7167 */
7168 public static verify(message: { [k: string]: any }): (string|null);
7169
7170 /**
7171 * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
7172 * @param object Plain object
7173 * @returns GeneratedCodeInfo
7174 */
7175 public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
7176
7177 /**
7178 * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
7179 * @param message GeneratedCodeInfo
7180 * @param [options] Conversion options
7181 * @returns Plain object
7182 */
7183 public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
7184
7185 /**
7186 * Converts this GeneratedCodeInfo to JSON.
7187 * @returns JSON object
7188 */
7189 public toJSON(): { [k: string]: any };
7190 }
7191
7192 namespace GeneratedCodeInfo {
7193
7194 /** Properties of an Annotation. */
7195 interface IAnnotation {
7196
7197 /** Annotation path */
7198 path?: (number[]|null);
7199
7200 /** Annotation sourceFile */
7201 sourceFile?: (string|null);
7202
7203 /** Annotation begin */
7204 begin?: (number|null);
7205
7206 /** Annotation end */
7207 end?: (number|null);
7208 }
7209
7210 /** Represents an Annotation. */
7211 class Annotation implements IAnnotation {
7212
7213 /**
7214 * Constructs a new Annotation.
7215 * @param [properties] Properties to set
7216 */
7217 constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
7218
7219 /** Annotation path. */
7220 public path: number[];
7221
7222 /** Annotation sourceFile. */
7223 public sourceFile: string;
7224
7225 /** Annotation begin. */
7226 public begin: number;
7227
7228 /** Annotation end. */
7229 public end: number;
7230
7231 /**
7232 * Creates a new Annotation instance using the specified properties.
7233 * @param [properties] Properties to set
7234 * @returns Annotation instance
7235 */
7236 public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
7237
7238 /**
7239 * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
7240 * @param message Annotation message or plain object to encode
7241 * @param [writer] Writer to encode to
7242 * @returns Writer
7243 */
7244 public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
7245
7246 /**
7247 * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
7248 * @param message Annotation message or plain object to encode
7249 * @param [writer] Writer to encode to
7250 * @returns Writer
7251 */
7252 public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
7253
7254 /**
7255 * Decodes an Annotation message from the specified reader or buffer.
7256 * @param reader Reader or buffer to decode from
7257 * @param [length] Message length if known beforehand
7258 * @returns Annotation
7259 * @throws {Error} If the payload is not a reader or valid buffer
7260 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7261 */
7262 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
7263
7264 /**
7265 * Decodes an Annotation message from the specified reader or buffer, length delimited.
7266 * @param reader Reader or buffer to decode from
7267 * @returns Annotation
7268 * @throws {Error} If the payload is not a reader or valid buffer
7269 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7270 */
7271 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
7272
7273 /**
7274 * Verifies an Annotation message.
7275 * @param message Plain object to verify
7276 * @returns `null` if valid, otherwise the reason why it is not
7277 */
7278 public static verify(message: { [k: string]: any }): (string|null);
7279
7280 /**
7281 * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
7282 * @param object Plain object
7283 * @returns Annotation
7284 */
7285 public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
7286
7287 /**
7288 * Creates a plain object from an Annotation message. Also converts values to other types if specified.
7289 * @param message Annotation
7290 * @param [options] Conversion options
7291 * @returns Plain object
7292 */
7293 public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
7294
7295 /**
7296 * Converts this Annotation to JSON.
7297 * @returns JSON object
7298 */
7299 public toJSON(): { [k: string]: any };
7300 }
7301 }
7302 }
7303}