UNPKG

695 kBTypeScriptView Raw
1// Copyright 2022 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.
14
15import * as Long from "long";
16import {protobuf as $protobuf} from "google-gax";
17/** Namespace google. */
18export namespace google {
19
20 /** Namespace protobuf. */
21 namespace protobuf {
22
23 /** Properties of a Duration. */
24 interface IDuration {
25
26 /** Duration seconds */
27 seconds?: (number|Long|string|null);
28
29 /** Duration nanos */
30 nanos?: (number|null);
31 }
32
33 /** Represents a Duration. */
34 class Duration implements IDuration {
35
36 /**
37 * Constructs a new Duration.
38 * @param [properties] Properties to set
39 */
40 constructor(properties?: google.protobuf.IDuration);
41
42 /** Duration seconds. */
43 public seconds: (number|Long|string);
44
45 /** Duration nanos. */
46 public nanos: number;
47
48 /**
49 * Creates a new Duration instance using the specified properties.
50 * @param [properties] Properties to set
51 * @returns Duration instance
52 */
53 public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
54
55 /**
56 * Encodes the specified Duration message. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
57 * @param message Duration message or plain object to encode
58 * @param [writer] Writer to encode to
59 * @returns Writer
60 */
61 public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
62
63 /**
64 * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
65 * @param message Duration message or plain object to encode
66 * @param [writer] Writer to encode to
67 * @returns Writer
68 */
69 public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
70
71 /**
72 * Decodes a Duration message from the specified reader or buffer.
73 * @param reader Reader or buffer to decode from
74 * @param [length] Message length if known beforehand
75 * @returns Duration
76 * @throws {Error} If the payload is not a reader or valid buffer
77 * @throws {$protobuf.util.ProtocolError} If required fields are missing
78 */
79 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
80
81 /**
82 * Decodes a Duration message from the specified reader or buffer, length delimited.
83 * @param reader Reader or buffer to decode from
84 * @returns Duration
85 * @throws {Error} If the payload is not a reader or valid buffer
86 * @throws {$protobuf.util.ProtocolError} If required fields are missing
87 */
88 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
89
90 /**
91 * Verifies a Duration message.
92 * @param message Plain object to verify
93 * @returns `null` if valid, otherwise the reason why it is not
94 */
95 public static verify(message: { [k: string]: any }): (string|null);
96
97 /**
98 * Creates a Duration message from a plain object. Also converts values to their respective internal types.
99 * @param object Plain object
100 * @returns Duration
101 */
102 public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
103
104 /**
105 * Creates a plain object from a Duration message. Also converts values to other types if specified.
106 * @param message Duration
107 * @param [options] Conversion options
108 * @returns Plain object
109 */
110 public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
111
112 /**
113 * Converts this Duration to JSON.
114 * @returns JSON object
115 */
116 public toJSON(): { [k: string]: any };
117 }
118
119 /** Properties of a FileDescriptorSet. */
120 interface IFileDescriptorSet {
121
122 /** FileDescriptorSet file */
123 file?: (google.protobuf.IFileDescriptorProto[]|null);
124 }
125
126 /** Represents a FileDescriptorSet. */
127 class FileDescriptorSet implements IFileDescriptorSet {
128
129 /**
130 * Constructs a new FileDescriptorSet.
131 * @param [properties] Properties to set
132 */
133 constructor(properties?: google.protobuf.IFileDescriptorSet);
134
135 /** FileDescriptorSet file. */
136 public file: google.protobuf.IFileDescriptorProto[];
137
138 /**
139 * Creates a new FileDescriptorSet instance using the specified properties.
140 * @param [properties] Properties to set
141 * @returns FileDescriptorSet instance
142 */
143 public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
144
145 /**
146 * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
147 * @param message FileDescriptorSet message or plain object to encode
148 * @param [writer] Writer to encode to
149 * @returns Writer
150 */
151 public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
152
153 /**
154 * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
155 * @param message FileDescriptorSet message or plain object to encode
156 * @param [writer] Writer to encode to
157 * @returns Writer
158 */
159 public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
160
161 /**
162 * Decodes a FileDescriptorSet message from the specified reader or buffer.
163 * @param reader Reader or buffer to decode from
164 * @param [length] Message length if known beforehand
165 * @returns FileDescriptorSet
166 * @throws {Error} If the payload is not a reader or valid buffer
167 * @throws {$protobuf.util.ProtocolError} If required fields are missing
168 */
169 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
170
171 /**
172 * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
173 * @param reader Reader or buffer to decode from
174 * @returns FileDescriptorSet
175 * @throws {Error} If the payload is not a reader or valid buffer
176 * @throws {$protobuf.util.ProtocolError} If required fields are missing
177 */
178 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
179
180 /**
181 * Verifies a FileDescriptorSet message.
182 * @param message Plain object to verify
183 * @returns `null` if valid, otherwise the reason why it is not
184 */
185 public static verify(message: { [k: string]: any }): (string|null);
186
187 /**
188 * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
189 * @param object Plain object
190 * @returns FileDescriptorSet
191 */
192 public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
193
194 /**
195 * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
196 * @param message FileDescriptorSet
197 * @param [options] Conversion options
198 * @returns Plain object
199 */
200 public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
201
202 /**
203 * Converts this FileDescriptorSet to JSON.
204 * @returns JSON object
205 */
206 public toJSON(): { [k: string]: any };
207 }
208
209 /** Properties of a FileDescriptorProto. */
210 interface IFileDescriptorProto {
211
212 /** FileDescriptorProto name */
213 name?: (string|null);
214
215 /** FileDescriptorProto package */
216 "package"?: (string|null);
217
218 /** FileDescriptorProto dependency */
219 dependency?: (string[]|null);
220
221 /** FileDescriptorProto publicDependency */
222 publicDependency?: (number[]|null);
223
224 /** FileDescriptorProto weakDependency */
225 weakDependency?: (number[]|null);
226
227 /** FileDescriptorProto messageType */
228 messageType?: (google.protobuf.IDescriptorProto[]|null);
229
230 /** FileDescriptorProto enumType */
231 enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
232
233 /** FileDescriptorProto service */
234 service?: (google.protobuf.IServiceDescriptorProto[]|null);
235
236 /** FileDescriptorProto extension */
237 extension?: (google.protobuf.IFieldDescriptorProto[]|null);
238
239 /** FileDescriptorProto options */
240 options?: (google.protobuf.IFileOptions|null);
241
242 /** FileDescriptorProto sourceCodeInfo */
243 sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
244
245 /** FileDescriptorProto syntax */
246 syntax?: (string|null);
247 }
248
249 /** Represents a FileDescriptorProto. */
250 class FileDescriptorProto implements IFileDescriptorProto {
251
252 /**
253 * Constructs a new FileDescriptorProto.
254 * @param [properties] Properties to set
255 */
256 constructor(properties?: google.protobuf.IFileDescriptorProto);
257
258 /** FileDescriptorProto name. */
259 public name: string;
260
261 /** FileDescriptorProto package. */
262 public package: string;
263
264 /** FileDescriptorProto dependency. */
265 public dependency: string[];
266
267 /** FileDescriptorProto publicDependency. */
268 public publicDependency: number[];
269
270 /** FileDescriptorProto weakDependency. */
271 public weakDependency: number[];
272
273 /** FileDescriptorProto messageType. */
274 public messageType: google.protobuf.IDescriptorProto[];
275
276 /** FileDescriptorProto enumType. */
277 public enumType: google.protobuf.IEnumDescriptorProto[];
278
279 /** FileDescriptorProto service. */
280 public service: google.protobuf.IServiceDescriptorProto[];
281
282 /** FileDescriptorProto extension. */
283 public extension: google.protobuf.IFieldDescriptorProto[];
284
285 /** FileDescriptorProto options. */
286 public options?: (google.protobuf.IFileOptions|null);
287
288 /** FileDescriptorProto sourceCodeInfo. */
289 public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
290
291 /** FileDescriptorProto syntax. */
292 public syntax: string;
293
294 /**
295 * Creates a new FileDescriptorProto instance using the specified properties.
296 * @param [properties] Properties to set
297 * @returns FileDescriptorProto instance
298 */
299 public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
300
301 /**
302 * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
303 * @param message FileDescriptorProto message or plain object to encode
304 * @param [writer] Writer to encode to
305 * @returns Writer
306 */
307 public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
308
309 /**
310 * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
311 * @param message FileDescriptorProto message or plain object to encode
312 * @param [writer] Writer to encode to
313 * @returns Writer
314 */
315 public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
316
317 /**
318 * Decodes a FileDescriptorProto message from the specified reader or buffer.
319 * @param reader Reader or buffer to decode from
320 * @param [length] Message length if known beforehand
321 * @returns FileDescriptorProto
322 * @throws {Error} If the payload is not a reader or valid buffer
323 * @throws {$protobuf.util.ProtocolError} If required fields are missing
324 */
325 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
326
327 /**
328 * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
329 * @param reader Reader or buffer to decode from
330 * @returns FileDescriptorProto
331 * @throws {Error} If the payload is not a reader or valid buffer
332 * @throws {$protobuf.util.ProtocolError} If required fields are missing
333 */
334 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
335
336 /**
337 * Verifies a FileDescriptorProto message.
338 * @param message Plain object to verify
339 * @returns `null` if valid, otherwise the reason why it is not
340 */
341 public static verify(message: { [k: string]: any }): (string|null);
342
343 /**
344 * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
345 * @param object Plain object
346 * @returns FileDescriptorProto
347 */
348 public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
349
350 /**
351 * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
352 * @param message FileDescriptorProto
353 * @param [options] Conversion options
354 * @returns Plain object
355 */
356 public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
357
358 /**
359 * Converts this FileDescriptorProto to JSON.
360 * @returns JSON object
361 */
362 public toJSON(): { [k: string]: any };
363 }
364
365 /** Properties of a DescriptorProto. */
366 interface IDescriptorProto {
367
368 /** DescriptorProto name */
369 name?: (string|null);
370
371 /** DescriptorProto field */
372 field?: (google.protobuf.IFieldDescriptorProto[]|null);
373
374 /** DescriptorProto extension */
375 extension?: (google.protobuf.IFieldDescriptorProto[]|null);
376
377 /** DescriptorProto nestedType */
378 nestedType?: (google.protobuf.IDescriptorProto[]|null);
379
380 /** DescriptorProto enumType */
381 enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
382
383 /** DescriptorProto extensionRange */
384 extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
385
386 /** DescriptorProto oneofDecl */
387 oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
388
389 /** DescriptorProto options */
390 options?: (google.protobuf.IMessageOptions|null);
391
392 /** DescriptorProto reservedRange */
393 reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
394
395 /** DescriptorProto reservedName */
396 reservedName?: (string[]|null);
397 }
398
399 /** Represents a DescriptorProto. */
400 class DescriptorProto implements IDescriptorProto {
401
402 /**
403 * Constructs a new DescriptorProto.
404 * @param [properties] Properties to set
405 */
406 constructor(properties?: google.protobuf.IDescriptorProto);
407
408 /** DescriptorProto name. */
409 public name: string;
410
411 /** DescriptorProto field. */
412 public field: google.protobuf.IFieldDescriptorProto[];
413
414 /** DescriptorProto extension. */
415 public extension: google.protobuf.IFieldDescriptorProto[];
416
417 /** DescriptorProto nestedType. */
418 public nestedType: google.protobuf.IDescriptorProto[];
419
420 /** DescriptorProto enumType. */
421 public enumType: google.protobuf.IEnumDescriptorProto[];
422
423 /** DescriptorProto extensionRange. */
424 public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
425
426 /** DescriptorProto oneofDecl. */
427 public oneofDecl: google.protobuf.IOneofDescriptorProto[];
428
429 /** DescriptorProto options. */
430 public options?: (google.protobuf.IMessageOptions|null);
431
432 /** DescriptorProto reservedRange. */
433 public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
434
435 /** DescriptorProto reservedName. */
436 public reservedName: string[];
437
438 /**
439 * Creates a new DescriptorProto instance using the specified properties.
440 * @param [properties] Properties to set
441 * @returns DescriptorProto instance
442 */
443 public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
444
445 /**
446 * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
447 * @param message DescriptorProto message or plain object to encode
448 * @param [writer] Writer to encode to
449 * @returns Writer
450 */
451 public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
452
453 /**
454 * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
455 * @param message DescriptorProto message or plain object to encode
456 * @param [writer] Writer to encode to
457 * @returns Writer
458 */
459 public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
460
461 /**
462 * Decodes a DescriptorProto message from the specified reader or buffer.
463 * @param reader Reader or buffer to decode from
464 * @param [length] Message length if known beforehand
465 * @returns DescriptorProto
466 * @throws {Error} If the payload is not a reader or valid buffer
467 * @throws {$protobuf.util.ProtocolError} If required fields are missing
468 */
469 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
470
471 /**
472 * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
473 * @param reader Reader or buffer to decode from
474 * @returns DescriptorProto
475 * @throws {Error} If the payload is not a reader or valid buffer
476 * @throws {$protobuf.util.ProtocolError} If required fields are missing
477 */
478 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
479
480 /**
481 * Verifies a DescriptorProto message.
482 * @param message Plain object to verify
483 * @returns `null` if valid, otherwise the reason why it is not
484 */
485 public static verify(message: { [k: string]: any }): (string|null);
486
487 /**
488 * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
489 * @param object Plain object
490 * @returns DescriptorProto
491 */
492 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
493
494 /**
495 * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
496 * @param message DescriptorProto
497 * @param [options] Conversion options
498 * @returns Plain object
499 */
500 public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
501
502 /**
503 * Converts this DescriptorProto to JSON.
504 * @returns JSON object
505 */
506 public toJSON(): { [k: string]: any };
507 }
508
509 namespace DescriptorProto {
510
511 /** Properties of an ExtensionRange. */
512 interface IExtensionRange {
513
514 /** ExtensionRange start */
515 start?: (number|null);
516
517 /** ExtensionRange end */
518 end?: (number|null);
519
520 /** ExtensionRange options */
521 options?: (google.protobuf.IExtensionRangeOptions|null);
522 }
523
524 /** Represents an ExtensionRange. */
525 class ExtensionRange implements IExtensionRange {
526
527 /**
528 * Constructs a new ExtensionRange.
529 * @param [properties] Properties to set
530 */
531 constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
532
533 /** ExtensionRange start. */
534 public start: number;
535
536 /** ExtensionRange end. */
537 public end: number;
538
539 /** ExtensionRange options. */
540 public options?: (google.protobuf.IExtensionRangeOptions|null);
541
542 /**
543 * Creates a new ExtensionRange instance using the specified properties.
544 * @param [properties] Properties to set
545 * @returns ExtensionRange instance
546 */
547 public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
548
549 /**
550 * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
551 * @param message ExtensionRange message or plain object to encode
552 * @param [writer] Writer to encode to
553 * @returns Writer
554 */
555 public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
556
557 /**
558 * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
559 * @param message ExtensionRange message or plain object to encode
560 * @param [writer] Writer to encode to
561 * @returns Writer
562 */
563 public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
564
565 /**
566 * Decodes an ExtensionRange message from the specified reader or buffer.
567 * @param reader Reader or buffer to decode from
568 * @param [length] Message length if known beforehand
569 * @returns ExtensionRange
570 * @throws {Error} If the payload is not a reader or valid buffer
571 * @throws {$protobuf.util.ProtocolError} If required fields are missing
572 */
573 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
574
575 /**
576 * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
577 * @param reader Reader or buffer to decode from
578 * @returns ExtensionRange
579 * @throws {Error} If the payload is not a reader or valid buffer
580 * @throws {$protobuf.util.ProtocolError} If required fields are missing
581 */
582 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
583
584 /**
585 * Verifies an ExtensionRange message.
586 * @param message Plain object to verify
587 * @returns `null` if valid, otherwise the reason why it is not
588 */
589 public static verify(message: { [k: string]: any }): (string|null);
590
591 /**
592 * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
593 * @param object Plain object
594 * @returns ExtensionRange
595 */
596 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
597
598 /**
599 * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
600 * @param message ExtensionRange
601 * @param [options] Conversion options
602 * @returns Plain object
603 */
604 public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
605
606 /**
607 * Converts this ExtensionRange to JSON.
608 * @returns JSON object
609 */
610 public toJSON(): { [k: string]: any };
611 }
612
613 /** Properties of a ReservedRange. */
614 interface IReservedRange {
615
616 /** ReservedRange start */
617 start?: (number|null);
618
619 /** ReservedRange end */
620 end?: (number|null);
621 }
622
623 /** Represents a ReservedRange. */
624 class ReservedRange implements IReservedRange {
625
626 /**
627 * Constructs a new ReservedRange.
628 * @param [properties] Properties to set
629 */
630 constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
631
632 /** ReservedRange start. */
633 public start: number;
634
635 /** ReservedRange end. */
636 public end: number;
637
638 /**
639 * Creates a new ReservedRange instance using the specified properties.
640 * @param [properties] Properties to set
641 * @returns ReservedRange instance
642 */
643 public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
644
645 /**
646 * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
647 * @param message ReservedRange message or plain object to encode
648 * @param [writer] Writer to encode to
649 * @returns Writer
650 */
651 public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
652
653 /**
654 * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
655 * @param message ReservedRange message or plain object to encode
656 * @param [writer] Writer to encode to
657 * @returns Writer
658 */
659 public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
660
661 /**
662 * Decodes a ReservedRange message from the specified reader or buffer.
663 * @param reader Reader or buffer to decode from
664 * @param [length] Message length if known beforehand
665 * @returns ReservedRange
666 * @throws {Error} If the payload is not a reader or valid buffer
667 * @throws {$protobuf.util.ProtocolError} If required fields are missing
668 */
669 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
670
671 /**
672 * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
673 * @param reader Reader or buffer to decode from
674 * @returns ReservedRange
675 * @throws {Error} If the payload is not a reader or valid buffer
676 * @throws {$protobuf.util.ProtocolError} If required fields are missing
677 */
678 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
679
680 /**
681 * Verifies a ReservedRange message.
682 * @param message Plain object to verify
683 * @returns `null` if valid, otherwise the reason why it is not
684 */
685 public static verify(message: { [k: string]: any }): (string|null);
686
687 /**
688 * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
689 * @param object Plain object
690 * @returns ReservedRange
691 */
692 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
693
694 /**
695 * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
696 * @param message ReservedRange
697 * @param [options] Conversion options
698 * @returns Plain object
699 */
700 public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
701
702 /**
703 * Converts this ReservedRange to JSON.
704 * @returns JSON object
705 */
706 public toJSON(): { [k: string]: any };
707 }
708 }
709
710 /** Properties of an ExtensionRangeOptions. */
711 interface IExtensionRangeOptions {
712
713 /** ExtensionRangeOptions uninterpretedOption */
714 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
715 }
716
717 /** Represents an ExtensionRangeOptions. */
718 class ExtensionRangeOptions implements IExtensionRangeOptions {
719
720 /**
721 * Constructs a new ExtensionRangeOptions.
722 * @param [properties] Properties to set
723 */
724 constructor(properties?: google.protobuf.IExtensionRangeOptions);
725
726 /** ExtensionRangeOptions uninterpretedOption. */
727 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
728
729 /**
730 * Creates a new ExtensionRangeOptions instance using the specified properties.
731 * @param [properties] Properties to set
732 * @returns ExtensionRangeOptions instance
733 */
734 public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
735
736 /**
737 * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
738 * @param message ExtensionRangeOptions message or plain object to encode
739 * @param [writer] Writer to encode to
740 * @returns Writer
741 */
742 public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
743
744 /**
745 * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
746 * @param message ExtensionRangeOptions message or plain object to encode
747 * @param [writer] Writer to encode to
748 * @returns Writer
749 */
750 public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
751
752 /**
753 * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
754 * @param reader Reader or buffer to decode from
755 * @param [length] Message length if known beforehand
756 * @returns ExtensionRangeOptions
757 * @throws {Error} If the payload is not a reader or valid buffer
758 * @throws {$protobuf.util.ProtocolError} If required fields are missing
759 */
760 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
761
762 /**
763 * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
764 * @param reader Reader or buffer to decode from
765 * @returns ExtensionRangeOptions
766 * @throws {Error} If the payload is not a reader or valid buffer
767 * @throws {$protobuf.util.ProtocolError} If required fields are missing
768 */
769 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
770
771 /**
772 * Verifies an ExtensionRangeOptions message.
773 * @param message Plain object to verify
774 * @returns `null` if valid, otherwise the reason why it is not
775 */
776 public static verify(message: { [k: string]: any }): (string|null);
777
778 /**
779 * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
780 * @param object Plain object
781 * @returns ExtensionRangeOptions
782 */
783 public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
784
785 /**
786 * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
787 * @param message ExtensionRangeOptions
788 * @param [options] Conversion options
789 * @returns Plain object
790 */
791 public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
792
793 /**
794 * Converts this ExtensionRangeOptions to JSON.
795 * @returns JSON object
796 */
797 public toJSON(): { [k: string]: any };
798 }
799
800 /** Properties of a FieldDescriptorProto. */
801 interface IFieldDescriptorProto {
802
803 /** FieldDescriptorProto name */
804 name?: (string|null);
805
806 /** FieldDescriptorProto number */
807 number?: (number|null);
808
809 /** FieldDescriptorProto label */
810 label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
811
812 /** FieldDescriptorProto type */
813 type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
814
815 /** FieldDescriptorProto typeName */
816 typeName?: (string|null);
817
818 /** FieldDescriptorProto extendee */
819 extendee?: (string|null);
820
821 /** FieldDescriptorProto defaultValue */
822 defaultValue?: (string|null);
823
824 /** FieldDescriptorProto oneofIndex */
825 oneofIndex?: (number|null);
826
827 /** FieldDescriptorProto jsonName */
828 jsonName?: (string|null);
829
830 /** FieldDescriptorProto options */
831 options?: (google.protobuf.IFieldOptions|null);
832
833 /** FieldDescriptorProto proto3Optional */
834 proto3Optional?: (boolean|null);
835 }
836
837 /** Represents a FieldDescriptorProto. */
838 class FieldDescriptorProto implements IFieldDescriptorProto {
839
840 /**
841 * Constructs a new FieldDescriptorProto.
842 * @param [properties] Properties to set
843 */
844 constructor(properties?: google.protobuf.IFieldDescriptorProto);
845
846 /** FieldDescriptorProto name. */
847 public name: string;
848
849 /** FieldDescriptorProto number. */
850 public number: number;
851
852 /** FieldDescriptorProto label. */
853 public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
854
855 /** FieldDescriptorProto type. */
856 public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
857
858 /** FieldDescriptorProto typeName. */
859 public typeName: string;
860
861 /** FieldDescriptorProto extendee. */
862 public extendee: string;
863
864 /** FieldDescriptorProto defaultValue. */
865 public defaultValue: string;
866
867 /** FieldDescriptorProto oneofIndex. */
868 public oneofIndex: number;
869
870 /** FieldDescriptorProto jsonName. */
871 public jsonName: string;
872
873 /** FieldDescriptorProto options. */
874 public options?: (google.protobuf.IFieldOptions|null);
875
876 /** FieldDescriptorProto proto3Optional. */
877 public proto3Optional: boolean;
878
879 /**
880 * Creates a new FieldDescriptorProto instance using the specified properties.
881 * @param [properties] Properties to set
882 * @returns FieldDescriptorProto instance
883 */
884 public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
885
886 /**
887 * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
888 * @param message FieldDescriptorProto message or plain object to encode
889 * @param [writer] Writer to encode to
890 * @returns Writer
891 */
892 public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
893
894 /**
895 * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
896 * @param message FieldDescriptorProto message or plain object to encode
897 * @param [writer] Writer to encode to
898 * @returns Writer
899 */
900 public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
901
902 /**
903 * Decodes a FieldDescriptorProto message from the specified reader or buffer.
904 * @param reader Reader or buffer to decode from
905 * @param [length] Message length if known beforehand
906 * @returns FieldDescriptorProto
907 * @throws {Error} If the payload is not a reader or valid buffer
908 * @throws {$protobuf.util.ProtocolError} If required fields are missing
909 */
910 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
911
912 /**
913 * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
914 * @param reader Reader or buffer to decode from
915 * @returns FieldDescriptorProto
916 * @throws {Error} If the payload is not a reader or valid buffer
917 * @throws {$protobuf.util.ProtocolError} If required fields are missing
918 */
919 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
920
921 /**
922 * Verifies a FieldDescriptorProto message.
923 * @param message Plain object to verify
924 * @returns `null` if valid, otherwise the reason why it is not
925 */
926 public static verify(message: { [k: string]: any }): (string|null);
927
928 /**
929 * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
930 * @param object Plain object
931 * @returns FieldDescriptorProto
932 */
933 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
934
935 /**
936 * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
937 * @param message FieldDescriptorProto
938 * @param [options] Conversion options
939 * @returns Plain object
940 */
941 public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
942
943 /**
944 * Converts this FieldDescriptorProto to JSON.
945 * @returns JSON object
946 */
947 public toJSON(): { [k: string]: any };
948 }
949
950 namespace FieldDescriptorProto {
951
952 /** Type enum. */
953 enum Type {
954 TYPE_DOUBLE = 1,
955 TYPE_FLOAT = 2,
956 TYPE_INT64 = 3,
957 TYPE_UINT64 = 4,
958 TYPE_INT32 = 5,
959 TYPE_FIXED64 = 6,
960 TYPE_FIXED32 = 7,
961 TYPE_BOOL = 8,
962 TYPE_STRING = 9,
963 TYPE_GROUP = 10,
964 TYPE_MESSAGE = 11,
965 TYPE_BYTES = 12,
966 TYPE_UINT32 = 13,
967 TYPE_ENUM = 14,
968 TYPE_SFIXED32 = 15,
969 TYPE_SFIXED64 = 16,
970 TYPE_SINT32 = 17,
971 TYPE_SINT64 = 18
972 }
973
974 /** Label enum. */
975 enum Label {
976 LABEL_OPTIONAL = 1,
977 LABEL_REQUIRED = 2,
978 LABEL_REPEATED = 3
979 }
980 }
981
982 /** Properties of an OneofDescriptorProto. */
983 interface IOneofDescriptorProto {
984
985 /** OneofDescriptorProto name */
986 name?: (string|null);
987
988 /** OneofDescriptorProto options */
989 options?: (google.protobuf.IOneofOptions|null);
990 }
991
992 /** Represents an OneofDescriptorProto. */
993 class OneofDescriptorProto implements IOneofDescriptorProto {
994
995 /**
996 * Constructs a new OneofDescriptorProto.
997 * @param [properties] Properties to set
998 */
999 constructor(properties?: google.protobuf.IOneofDescriptorProto);
1000
1001 /** OneofDescriptorProto name. */
1002 public name: string;
1003
1004 /** OneofDescriptorProto options. */
1005 public options?: (google.protobuf.IOneofOptions|null);
1006
1007 /**
1008 * Creates a new OneofDescriptorProto instance using the specified properties.
1009 * @param [properties] Properties to set
1010 * @returns OneofDescriptorProto instance
1011 */
1012 public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
1013
1014 /**
1015 * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
1016 * @param message OneofDescriptorProto message or plain object to encode
1017 * @param [writer] Writer to encode to
1018 * @returns Writer
1019 */
1020 public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1021
1022 /**
1023 * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
1024 * @param message OneofDescriptorProto message or plain object to encode
1025 * @param [writer] Writer to encode to
1026 * @returns Writer
1027 */
1028 public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1029
1030 /**
1031 * Decodes an OneofDescriptorProto message from the specified reader or buffer.
1032 * @param reader Reader or buffer to decode from
1033 * @param [length] Message length if known beforehand
1034 * @returns OneofDescriptorProto
1035 * @throws {Error} If the payload is not a reader or valid buffer
1036 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1037 */
1038 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
1039
1040 /**
1041 * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
1042 * @param reader Reader or buffer to decode from
1043 * @returns OneofDescriptorProto
1044 * @throws {Error} If the payload is not a reader or valid buffer
1045 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1046 */
1047 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
1048
1049 /**
1050 * Verifies an OneofDescriptorProto message.
1051 * @param message Plain object to verify
1052 * @returns `null` if valid, otherwise the reason why it is not
1053 */
1054 public static verify(message: { [k: string]: any }): (string|null);
1055
1056 /**
1057 * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
1058 * @param object Plain object
1059 * @returns OneofDescriptorProto
1060 */
1061 public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
1062
1063 /**
1064 * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
1065 * @param message OneofDescriptorProto
1066 * @param [options] Conversion options
1067 * @returns Plain object
1068 */
1069 public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1070
1071 /**
1072 * Converts this OneofDescriptorProto to JSON.
1073 * @returns JSON object
1074 */
1075 public toJSON(): { [k: string]: any };
1076 }
1077
1078 /** Properties of an EnumDescriptorProto. */
1079 interface IEnumDescriptorProto {
1080
1081 /** EnumDescriptorProto name */
1082 name?: (string|null);
1083
1084 /** EnumDescriptorProto value */
1085 value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
1086
1087 /** EnumDescriptorProto options */
1088 options?: (google.protobuf.IEnumOptions|null);
1089
1090 /** EnumDescriptorProto reservedRange */
1091 reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
1092
1093 /** EnumDescriptorProto reservedName */
1094 reservedName?: (string[]|null);
1095 }
1096
1097 /** Represents an EnumDescriptorProto. */
1098 class EnumDescriptorProto implements IEnumDescriptorProto {
1099
1100 /**
1101 * Constructs a new EnumDescriptorProto.
1102 * @param [properties] Properties to set
1103 */
1104 constructor(properties?: google.protobuf.IEnumDescriptorProto);
1105
1106 /** EnumDescriptorProto name. */
1107 public name: string;
1108
1109 /** EnumDescriptorProto value. */
1110 public value: google.protobuf.IEnumValueDescriptorProto[];
1111
1112 /** EnumDescriptorProto options. */
1113 public options?: (google.protobuf.IEnumOptions|null);
1114
1115 /** EnumDescriptorProto reservedRange. */
1116 public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
1117
1118 /** EnumDescriptorProto reservedName. */
1119 public reservedName: string[];
1120
1121 /**
1122 * Creates a new EnumDescriptorProto instance using the specified properties.
1123 * @param [properties] Properties to set
1124 * @returns EnumDescriptorProto instance
1125 */
1126 public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
1127
1128 /**
1129 * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
1130 * @param message EnumDescriptorProto message or plain object to encode
1131 * @param [writer] Writer to encode to
1132 * @returns Writer
1133 */
1134 public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1135
1136 /**
1137 * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
1138 * @param message EnumDescriptorProto message or plain object to encode
1139 * @param [writer] Writer to encode to
1140 * @returns Writer
1141 */
1142 public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1143
1144 /**
1145 * Decodes an EnumDescriptorProto message from the specified reader or buffer.
1146 * @param reader Reader or buffer to decode from
1147 * @param [length] Message length if known beforehand
1148 * @returns EnumDescriptorProto
1149 * @throws {Error} If the payload is not a reader or valid buffer
1150 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1151 */
1152 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
1153
1154 /**
1155 * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
1156 * @param reader Reader or buffer to decode from
1157 * @returns EnumDescriptorProto
1158 * @throws {Error} If the payload is not a reader or valid buffer
1159 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1160 */
1161 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
1162
1163 /**
1164 * Verifies an EnumDescriptorProto message.
1165 * @param message Plain object to verify
1166 * @returns `null` if valid, otherwise the reason why it is not
1167 */
1168 public static verify(message: { [k: string]: any }): (string|null);
1169
1170 /**
1171 * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
1172 * @param object Plain object
1173 * @returns EnumDescriptorProto
1174 */
1175 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
1176
1177 /**
1178 * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
1179 * @param message EnumDescriptorProto
1180 * @param [options] Conversion options
1181 * @returns Plain object
1182 */
1183 public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1184
1185 /**
1186 * Converts this EnumDescriptorProto to JSON.
1187 * @returns JSON object
1188 */
1189 public toJSON(): { [k: string]: any };
1190 }
1191
1192 namespace EnumDescriptorProto {
1193
1194 /** Properties of an EnumReservedRange. */
1195 interface IEnumReservedRange {
1196
1197 /** EnumReservedRange start */
1198 start?: (number|null);
1199
1200 /** EnumReservedRange end */
1201 end?: (number|null);
1202 }
1203
1204 /** Represents an EnumReservedRange. */
1205 class EnumReservedRange implements IEnumReservedRange {
1206
1207 /**
1208 * Constructs a new EnumReservedRange.
1209 * @param [properties] Properties to set
1210 */
1211 constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
1212
1213 /** EnumReservedRange start. */
1214 public start: number;
1215
1216 /** EnumReservedRange end. */
1217 public end: number;
1218
1219 /**
1220 * Creates a new EnumReservedRange instance using the specified properties.
1221 * @param [properties] Properties to set
1222 * @returns EnumReservedRange instance
1223 */
1224 public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1225
1226 /**
1227 * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
1228 * @param message EnumReservedRange message or plain object to encode
1229 * @param [writer] Writer to encode to
1230 * @returns Writer
1231 */
1232 public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1233
1234 /**
1235 * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
1236 * @param message EnumReservedRange message or plain object to encode
1237 * @param [writer] Writer to encode to
1238 * @returns Writer
1239 */
1240 public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1241
1242 /**
1243 * Decodes an EnumReservedRange message from the specified reader or buffer.
1244 * @param reader Reader or buffer to decode from
1245 * @param [length] Message length if known beforehand
1246 * @returns EnumReservedRange
1247 * @throws {Error} If the payload is not a reader or valid buffer
1248 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1249 */
1250 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1251
1252 /**
1253 * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
1254 * @param reader Reader or buffer to decode from
1255 * @returns EnumReservedRange
1256 * @throws {Error} If the payload is not a reader or valid buffer
1257 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1258 */
1259 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1260
1261 /**
1262 * Verifies an EnumReservedRange message.
1263 * @param message Plain object to verify
1264 * @returns `null` if valid, otherwise the reason why it is not
1265 */
1266 public static verify(message: { [k: string]: any }): (string|null);
1267
1268 /**
1269 * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
1270 * @param object Plain object
1271 * @returns EnumReservedRange
1272 */
1273 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1274
1275 /**
1276 * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
1277 * @param message EnumReservedRange
1278 * @param [options] Conversion options
1279 * @returns Plain object
1280 */
1281 public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
1282
1283 /**
1284 * Converts this EnumReservedRange to JSON.
1285 * @returns JSON object
1286 */
1287 public toJSON(): { [k: string]: any };
1288 }
1289 }
1290
1291 /** Properties of an EnumValueDescriptorProto. */
1292 interface IEnumValueDescriptorProto {
1293
1294 /** EnumValueDescriptorProto name */
1295 name?: (string|null);
1296
1297 /** EnumValueDescriptorProto number */
1298 number?: (number|null);
1299
1300 /** EnumValueDescriptorProto options */
1301 options?: (google.protobuf.IEnumValueOptions|null);
1302 }
1303
1304 /** Represents an EnumValueDescriptorProto. */
1305 class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
1306
1307 /**
1308 * Constructs a new EnumValueDescriptorProto.
1309 * @param [properties] Properties to set
1310 */
1311 constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
1312
1313 /** EnumValueDescriptorProto name. */
1314 public name: string;
1315
1316 /** EnumValueDescriptorProto number. */
1317 public number: number;
1318
1319 /** EnumValueDescriptorProto options. */
1320 public options?: (google.protobuf.IEnumValueOptions|null);
1321
1322 /**
1323 * Creates a new EnumValueDescriptorProto instance using the specified properties.
1324 * @param [properties] Properties to set
1325 * @returns EnumValueDescriptorProto instance
1326 */
1327 public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
1328
1329 /**
1330 * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
1331 * @param message EnumValueDescriptorProto message or plain object to encode
1332 * @param [writer] Writer to encode to
1333 * @returns Writer
1334 */
1335 public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1336
1337 /**
1338 * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
1339 * @param message EnumValueDescriptorProto message or plain object to encode
1340 * @param [writer] Writer to encode to
1341 * @returns Writer
1342 */
1343 public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1344
1345 /**
1346 * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
1347 * @param reader Reader or buffer to decode from
1348 * @param [length] Message length if known beforehand
1349 * @returns EnumValueDescriptorProto
1350 * @throws {Error} If the payload is not a reader or valid buffer
1351 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1352 */
1353 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
1354
1355 /**
1356 * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
1357 * @param reader Reader or buffer to decode from
1358 * @returns EnumValueDescriptorProto
1359 * @throws {Error} If the payload is not a reader or valid buffer
1360 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1361 */
1362 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
1363
1364 /**
1365 * Verifies an EnumValueDescriptorProto message.
1366 * @param message Plain object to verify
1367 * @returns `null` if valid, otherwise the reason why it is not
1368 */
1369 public static verify(message: { [k: string]: any }): (string|null);
1370
1371 /**
1372 * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
1373 * @param object Plain object
1374 * @returns EnumValueDescriptorProto
1375 */
1376 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
1377
1378 /**
1379 * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
1380 * @param message EnumValueDescriptorProto
1381 * @param [options] Conversion options
1382 * @returns Plain object
1383 */
1384 public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1385
1386 /**
1387 * Converts this EnumValueDescriptorProto to JSON.
1388 * @returns JSON object
1389 */
1390 public toJSON(): { [k: string]: any };
1391 }
1392
1393 /** Properties of a ServiceDescriptorProto. */
1394 interface IServiceDescriptorProto {
1395
1396 /** ServiceDescriptorProto name */
1397 name?: (string|null);
1398
1399 /** ServiceDescriptorProto method */
1400 method?: (google.protobuf.IMethodDescriptorProto[]|null);
1401
1402 /** ServiceDescriptorProto options */
1403 options?: (google.protobuf.IServiceOptions|null);
1404 }
1405
1406 /** Represents a ServiceDescriptorProto. */
1407 class ServiceDescriptorProto implements IServiceDescriptorProto {
1408
1409 /**
1410 * Constructs a new ServiceDescriptorProto.
1411 * @param [properties] Properties to set
1412 */
1413 constructor(properties?: google.protobuf.IServiceDescriptorProto);
1414
1415 /** ServiceDescriptorProto name. */
1416 public name: string;
1417
1418 /** ServiceDescriptorProto method. */
1419 public method: google.protobuf.IMethodDescriptorProto[];
1420
1421 /** ServiceDescriptorProto options. */
1422 public options?: (google.protobuf.IServiceOptions|null);
1423
1424 /**
1425 * Creates a new ServiceDescriptorProto instance using the specified properties.
1426 * @param [properties] Properties to set
1427 * @returns ServiceDescriptorProto instance
1428 */
1429 public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
1430
1431 /**
1432 * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
1433 * @param message ServiceDescriptorProto message or plain object to encode
1434 * @param [writer] Writer to encode to
1435 * @returns Writer
1436 */
1437 public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1438
1439 /**
1440 * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
1441 * @param message ServiceDescriptorProto message or plain object to encode
1442 * @param [writer] Writer to encode to
1443 * @returns Writer
1444 */
1445 public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1446
1447 /**
1448 * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
1449 * @param reader Reader or buffer to decode from
1450 * @param [length] Message length if known beforehand
1451 * @returns ServiceDescriptorProto
1452 * @throws {Error} If the payload is not a reader or valid buffer
1453 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1454 */
1455 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
1456
1457 /**
1458 * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
1459 * @param reader Reader or buffer to decode from
1460 * @returns ServiceDescriptorProto
1461 * @throws {Error} If the payload is not a reader or valid buffer
1462 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1463 */
1464 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
1465
1466 /**
1467 * Verifies a ServiceDescriptorProto message.
1468 * @param message Plain object to verify
1469 * @returns `null` if valid, otherwise the reason why it is not
1470 */
1471 public static verify(message: { [k: string]: any }): (string|null);
1472
1473 /**
1474 * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
1475 * @param object Plain object
1476 * @returns ServiceDescriptorProto
1477 */
1478 public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
1479
1480 /**
1481 * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
1482 * @param message ServiceDescriptorProto
1483 * @param [options] Conversion options
1484 * @returns Plain object
1485 */
1486 public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1487
1488 /**
1489 * Converts this ServiceDescriptorProto to JSON.
1490 * @returns JSON object
1491 */
1492 public toJSON(): { [k: string]: any };
1493 }
1494
1495 /** Properties of a MethodDescriptorProto. */
1496 interface IMethodDescriptorProto {
1497
1498 /** MethodDescriptorProto name */
1499 name?: (string|null);
1500
1501 /** MethodDescriptorProto inputType */
1502 inputType?: (string|null);
1503
1504 /** MethodDescriptorProto outputType */
1505 outputType?: (string|null);
1506
1507 /** MethodDescriptorProto options */
1508 options?: (google.protobuf.IMethodOptions|null);
1509
1510 /** MethodDescriptorProto clientStreaming */
1511 clientStreaming?: (boolean|null);
1512
1513 /** MethodDescriptorProto serverStreaming */
1514 serverStreaming?: (boolean|null);
1515 }
1516
1517 /** Represents a MethodDescriptorProto. */
1518 class MethodDescriptorProto implements IMethodDescriptorProto {
1519
1520 /**
1521 * Constructs a new MethodDescriptorProto.
1522 * @param [properties] Properties to set
1523 */
1524 constructor(properties?: google.protobuf.IMethodDescriptorProto);
1525
1526 /** MethodDescriptorProto name. */
1527 public name: string;
1528
1529 /** MethodDescriptorProto inputType. */
1530 public inputType: string;
1531
1532 /** MethodDescriptorProto outputType. */
1533 public outputType: string;
1534
1535 /** MethodDescriptorProto options. */
1536 public options?: (google.protobuf.IMethodOptions|null);
1537
1538 /** MethodDescriptorProto clientStreaming. */
1539 public clientStreaming: boolean;
1540
1541 /** MethodDescriptorProto serverStreaming. */
1542 public serverStreaming: boolean;
1543
1544 /**
1545 * Creates a new MethodDescriptorProto instance using the specified properties.
1546 * @param [properties] Properties to set
1547 * @returns MethodDescriptorProto instance
1548 */
1549 public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
1550
1551 /**
1552 * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
1553 * @param message MethodDescriptorProto message or plain object to encode
1554 * @param [writer] Writer to encode to
1555 * @returns Writer
1556 */
1557 public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1558
1559 /**
1560 * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
1561 * @param message MethodDescriptorProto message or plain object to encode
1562 * @param [writer] Writer to encode to
1563 * @returns Writer
1564 */
1565 public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1566
1567 /**
1568 * Decodes a MethodDescriptorProto message from the specified reader or buffer.
1569 * @param reader Reader or buffer to decode from
1570 * @param [length] Message length if known beforehand
1571 * @returns MethodDescriptorProto
1572 * @throws {Error} If the payload is not a reader or valid buffer
1573 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1574 */
1575 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
1576
1577 /**
1578 * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
1579 * @param reader Reader or buffer to decode from
1580 * @returns MethodDescriptorProto
1581 * @throws {Error} If the payload is not a reader or valid buffer
1582 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1583 */
1584 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
1585
1586 /**
1587 * Verifies a MethodDescriptorProto message.
1588 * @param message Plain object to verify
1589 * @returns `null` if valid, otherwise the reason why it is not
1590 */
1591 public static verify(message: { [k: string]: any }): (string|null);
1592
1593 /**
1594 * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
1595 * @param object Plain object
1596 * @returns MethodDescriptorProto
1597 */
1598 public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
1599
1600 /**
1601 * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
1602 * @param message MethodDescriptorProto
1603 * @param [options] Conversion options
1604 * @returns Plain object
1605 */
1606 public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1607
1608 /**
1609 * Converts this MethodDescriptorProto to JSON.
1610 * @returns JSON object
1611 */
1612 public toJSON(): { [k: string]: any };
1613 }
1614
1615 /** Properties of a FileOptions. */
1616 interface IFileOptions {
1617
1618 /** FileOptions javaPackage */
1619 javaPackage?: (string|null);
1620
1621 /** FileOptions javaOuterClassname */
1622 javaOuterClassname?: (string|null);
1623
1624 /** FileOptions javaMultipleFiles */
1625 javaMultipleFiles?: (boolean|null);
1626
1627 /** FileOptions javaGenerateEqualsAndHash */
1628 javaGenerateEqualsAndHash?: (boolean|null);
1629
1630 /** FileOptions javaStringCheckUtf8 */
1631 javaStringCheckUtf8?: (boolean|null);
1632
1633 /** FileOptions optimizeFor */
1634 optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
1635
1636 /** FileOptions goPackage */
1637 goPackage?: (string|null);
1638
1639 /** FileOptions ccGenericServices */
1640 ccGenericServices?: (boolean|null);
1641
1642 /** FileOptions javaGenericServices */
1643 javaGenericServices?: (boolean|null);
1644
1645 /** FileOptions pyGenericServices */
1646 pyGenericServices?: (boolean|null);
1647
1648 /** FileOptions phpGenericServices */
1649 phpGenericServices?: (boolean|null);
1650
1651 /** FileOptions deprecated */
1652 deprecated?: (boolean|null);
1653
1654 /** FileOptions ccEnableArenas */
1655 ccEnableArenas?: (boolean|null);
1656
1657 /** FileOptions objcClassPrefix */
1658 objcClassPrefix?: (string|null);
1659
1660 /** FileOptions csharpNamespace */
1661 csharpNamespace?: (string|null);
1662
1663 /** FileOptions swiftPrefix */
1664 swiftPrefix?: (string|null);
1665
1666 /** FileOptions phpClassPrefix */
1667 phpClassPrefix?: (string|null);
1668
1669 /** FileOptions phpNamespace */
1670 phpNamespace?: (string|null);
1671
1672 /** FileOptions phpMetadataNamespace */
1673 phpMetadataNamespace?: (string|null);
1674
1675 /** FileOptions rubyPackage */
1676 rubyPackage?: (string|null);
1677
1678 /** FileOptions uninterpretedOption */
1679 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
1680
1681 /** FileOptions .google.api.resourceDefinition */
1682 ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
1683 }
1684
1685 /** Represents a FileOptions. */
1686 class FileOptions implements IFileOptions {
1687
1688 /**
1689 * Constructs a new FileOptions.
1690 * @param [properties] Properties to set
1691 */
1692 constructor(properties?: google.protobuf.IFileOptions);
1693
1694 /** FileOptions javaPackage. */
1695 public javaPackage: string;
1696
1697 /** FileOptions javaOuterClassname. */
1698 public javaOuterClassname: string;
1699
1700 /** FileOptions javaMultipleFiles. */
1701 public javaMultipleFiles: boolean;
1702
1703 /** FileOptions javaGenerateEqualsAndHash. */
1704 public javaGenerateEqualsAndHash: boolean;
1705
1706 /** FileOptions javaStringCheckUtf8. */
1707 public javaStringCheckUtf8: boolean;
1708
1709 /** FileOptions optimizeFor. */
1710 public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
1711
1712 /** FileOptions goPackage. */
1713 public goPackage: string;
1714
1715 /** FileOptions ccGenericServices. */
1716 public ccGenericServices: boolean;
1717
1718 /** FileOptions javaGenericServices. */
1719 public javaGenericServices: boolean;
1720
1721 /** FileOptions pyGenericServices. */
1722 public pyGenericServices: boolean;
1723
1724 /** FileOptions phpGenericServices. */
1725 public phpGenericServices: boolean;
1726
1727 /** FileOptions deprecated. */
1728 public deprecated: boolean;
1729
1730 /** FileOptions ccEnableArenas. */
1731 public ccEnableArenas: boolean;
1732
1733 /** FileOptions objcClassPrefix. */
1734 public objcClassPrefix: string;
1735
1736 /** FileOptions csharpNamespace. */
1737 public csharpNamespace: string;
1738
1739 /** FileOptions swiftPrefix. */
1740 public swiftPrefix: string;
1741
1742 /** FileOptions phpClassPrefix. */
1743 public phpClassPrefix: string;
1744
1745 /** FileOptions phpNamespace. */
1746 public phpNamespace: string;
1747
1748 /** FileOptions phpMetadataNamespace. */
1749 public phpMetadataNamespace: string;
1750
1751 /** FileOptions rubyPackage. */
1752 public rubyPackage: string;
1753
1754 /** FileOptions uninterpretedOption. */
1755 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
1756
1757 /**
1758 * Creates a new FileOptions instance using the specified properties.
1759 * @param [properties] Properties to set
1760 * @returns FileOptions instance
1761 */
1762 public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
1763
1764 /**
1765 * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
1766 * @param message FileOptions message or plain object to encode
1767 * @param [writer] Writer to encode to
1768 * @returns Writer
1769 */
1770 public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
1771
1772 /**
1773 * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
1774 * @param message FileOptions message or plain object to encode
1775 * @param [writer] Writer to encode to
1776 * @returns Writer
1777 */
1778 public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
1779
1780 /**
1781 * Decodes a FileOptions message from the specified reader or buffer.
1782 * @param reader Reader or buffer to decode from
1783 * @param [length] Message length if known beforehand
1784 * @returns FileOptions
1785 * @throws {Error} If the payload is not a reader or valid buffer
1786 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1787 */
1788 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
1789
1790 /**
1791 * Decodes a FileOptions message from the specified reader or buffer, length delimited.
1792 * @param reader Reader or buffer to decode from
1793 * @returns FileOptions
1794 * @throws {Error} If the payload is not a reader or valid buffer
1795 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1796 */
1797 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
1798
1799 /**
1800 * Verifies a FileOptions message.
1801 * @param message Plain object to verify
1802 * @returns `null` if valid, otherwise the reason why it is not
1803 */
1804 public static verify(message: { [k: string]: any }): (string|null);
1805
1806 /**
1807 * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
1808 * @param object Plain object
1809 * @returns FileOptions
1810 */
1811 public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
1812
1813 /**
1814 * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
1815 * @param message FileOptions
1816 * @param [options] Conversion options
1817 * @returns Plain object
1818 */
1819 public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
1820
1821 /**
1822 * Converts this FileOptions to JSON.
1823 * @returns JSON object
1824 */
1825 public toJSON(): { [k: string]: any };
1826 }
1827
1828 namespace FileOptions {
1829
1830 /** OptimizeMode enum. */
1831 enum OptimizeMode {
1832 SPEED = 1,
1833 CODE_SIZE = 2,
1834 LITE_RUNTIME = 3
1835 }
1836 }
1837
1838 /** Properties of a MessageOptions. */
1839 interface IMessageOptions {
1840
1841 /** MessageOptions messageSetWireFormat */
1842 messageSetWireFormat?: (boolean|null);
1843
1844 /** MessageOptions noStandardDescriptorAccessor */
1845 noStandardDescriptorAccessor?: (boolean|null);
1846
1847 /** MessageOptions deprecated */
1848 deprecated?: (boolean|null);
1849
1850 /** MessageOptions mapEntry */
1851 mapEntry?: (boolean|null);
1852
1853 /** MessageOptions uninterpretedOption */
1854 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
1855
1856 /** MessageOptions .google.api.resource */
1857 ".google.api.resource"?: (google.api.IResourceDescriptor|null);
1858 }
1859
1860 /** Represents a MessageOptions. */
1861 class MessageOptions implements IMessageOptions {
1862
1863 /**
1864 * Constructs a new MessageOptions.
1865 * @param [properties] Properties to set
1866 */
1867 constructor(properties?: google.protobuf.IMessageOptions);
1868
1869 /** MessageOptions messageSetWireFormat. */
1870 public messageSetWireFormat: boolean;
1871
1872 /** MessageOptions noStandardDescriptorAccessor. */
1873 public noStandardDescriptorAccessor: boolean;
1874
1875 /** MessageOptions deprecated. */
1876 public deprecated: boolean;
1877
1878 /** MessageOptions mapEntry. */
1879 public mapEntry: boolean;
1880
1881 /** MessageOptions uninterpretedOption. */
1882 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
1883
1884 /**
1885 * Creates a new MessageOptions instance using the specified properties.
1886 * @param [properties] Properties to set
1887 * @returns MessageOptions instance
1888 */
1889 public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
1890
1891 /**
1892 * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
1893 * @param message MessageOptions message or plain object to encode
1894 * @param [writer] Writer to encode to
1895 * @returns Writer
1896 */
1897 public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
1898
1899 /**
1900 * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
1901 * @param message MessageOptions message or plain object to encode
1902 * @param [writer] Writer to encode to
1903 * @returns Writer
1904 */
1905 public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
1906
1907 /**
1908 * Decodes a MessageOptions message from the specified reader or buffer.
1909 * @param reader Reader or buffer to decode from
1910 * @param [length] Message length if known beforehand
1911 * @returns MessageOptions
1912 * @throws {Error} If the payload is not a reader or valid buffer
1913 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1914 */
1915 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
1916
1917 /**
1918 * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
1919 * @param reader Reader or buffer to decode from
1920 * @returns MessageOptions
1921 * @throws {Error} If the payload is not a reader or valid buffer
1922 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1923 */
1924 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
1925
1926 /**
1927 * Verifies a MessageOptions message.
1928 * @param message Plain object to verify
1929 * @returns `null` if valid, otherwise the reason why it is not
1930 */
1931 public static verify(message: { [k: string]: any }): (string|null);
1932
1933 /**
1934 * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
1935 * @param object Plain object
1936 * @returns MessageOptions
1937 */
1938 public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
1939
1940 /**
1941 * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
1942 * @param message MessageOptions
1943 * @param [options] Conversion options
1944 * @returns Plain object
1945 */
1946 public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
1947
1948 /**
1949 * Converts this MessageOptions to JSON.
1950 * @returns JSON object
1951 */
1952 public toJSON(): { [k: string]: any };
1953 }
1954
1955 /** Properties of a FieldOptions. */
1956 interface IFieldOptions {
1957
1958 /** FieldOptions ctype */
1959 ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
1960
1961 /** FieldOptions packed */
1962 packed?: (boolean|null);
1963
1964 /** FieldOptions jstype */
1965 jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
1966
1967 /** FieldOptions lazy */
1968 lazy?: (boolean|null);
1969
1970 /** FieldOptions unverifiedLazy */
1971 unverifiedLazy?: (boolean|null);
1972
1973 /** FieldOptions deprecated */
1974 deprecated?: (boolean|null);
1975
1976 /** FieldOptions weak */
1977 weak?: (boolean|null);
1978
1979 /** FieldOptions uninterpretedOption */
1980 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
1981
1982 /** FieldOptions .google.api.fieldBehavior */
1983 ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
1984
1985 /** FieldOptions .google.api.resourceReference */
1986 ".google.api.resourceReference"?: (google.api.IResourceReference|null);
1987 }
1988
1989 /** Represents a FieldOptions. */
1990 class FieldOptions implements IFieldOptions {
1991
1992 /**
1993 * Constructs a new FieldOptions.
1994 * @param [properties] Properties to set
1995 */
1996 constructor(properties?: google.protobuf.IFieldOptions);
1997
1998 /** FieldOptions ctype. */
1999 public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
2000
2001 /** FieldOptions packed. */
2002 public packed: boolean;
2003
2004 /** FieldOptions jstype. */
2005 public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
2006
2007 /** FieldOptions lazy. */
2008 public lazy: boolean;
2009
2010 /** FieldOptions unverifiedLazy. */
2011 public unverifiedLazy: boolean;
2012
2013 /** FieldOptions deprecated. */
2014 public deprecated: boolean;
2015
2016 /** FieldOptions weak. */
2017 public weak: boolean;
2018
2019 /** FieldOptions uninterpretedOption. */
2020 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2021
2022 /**
2023 * Creates a new FieldOptions instance using the specified properties.
2024 * @param [properties] Properties to set
2025 * @returns FieldOptions instance
2026 */
2027 public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
2028
2029 /**
2030 * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
2031 * @param message FieldOptions message or plain object to encode
2032 * @param [writer] Writer to encode to
2033 * @returns Writer
2034 */
2035 public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2036
2037 /**
2038 * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
2039 * @param message FieldOptions message or plain object to encode
2040 * @param [writer] Writer to encode to
2041 * @returns Writer
2042 */
2043 public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2044
2045 /**
2046 * Decodes a FieldOptions message from the specified reader or buffer.
2047 * @param reader Reader or buffer to decode from
2048 * @param [length] Message length if known beforehand
2049 * @returns FieldOptions
2050 * @throws {Error} If the payload is not a reader or valid buffer
2051 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2052 */
2053 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
2054
2055 /**
2056 * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
2057 * @param reader Reader or buffer to decode from
2058 * @returns FieldOptions
2059 * @throws {Error} If the payload is not a reader or valid buffer
2060 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2061 */
2062 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
2063
2064 /**
2065 * Verifies a FieldOptions message.
2066 * @param message Plain object to verify
2067 * @returns `null` if valid, otherwise the reason why it is not
2068 */
2069 public static verify(message: { [k: string]: any }): (string|null);
2070
2071 /**
2072 * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
2073 * @param object Plain object
2074 * @returns FieldOptions
2075 */
2076 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
2077
2078 /**
2079 * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
2080 * @param message FieldOptions
2081 * @param [options] Conversion options
2082 * @returns Plain object
2083 */
2084 public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2085
2086 /**
2087 * Converts this FieldOptions to JSON.
2088 * @returns JSON object
2089 */
2090 public toJSON(): { [k: string]: any };
2091 }
2092
2093 namespace FieldOptions {
2094
2095 /** CType enum. */
2096 enum CType {
2097 STRING = 0,
2098 CORD = 1,
2099 STRING_PIECE = 2
2100 }
2101
2102 /** JSType enum. */
2103 enum JSType {
2104 JS_NORMAL = 0,
2105 JS_STRING = 1,
2106 JS_NUMBER = 2
2107 }
2108 }
2109
2110 /** Properties of an OneofOptions. */
2111 interface IOneofOptions {
2112
2113 /** OneofOptions uninterpretedOption */
2114 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2115 }
2116
2117 /** Represents an OneofOptions. */
2118 class OneofOptions implements IOneofOptions {
2119
2120 /**
2121 * Constructs a new OneofOptions.
2122 * @param [properties] Properties to set
2123 */
2124 constructor(properties?: google.protobuf.IOneofOptions);
2125
2126 /** OneofOptions uninterpretedOption. */
2127 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2128
2129 /**
2130 * Creates a new OneofOptions instance using the specified properties.
2131 * @param [properties] Properties to set
2132 * @returns OneofOptions instance
2133 */
2134 public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
2135
2136 /**
2137 * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
2138 * @param message OneofOptions message or plain object to encode
2139 * @param [writer] Writer to encode to
2140 * @returns Writer
2141 */
2142 public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2143
2144 /**
2145 * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
2146 * @param message OneofOptions message or plain object to encode
2147 * @param [writer] Writer to encode to
2148 * @returns Writer
2149 */
2150 public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2151
2152 /**
2153 * Decodes an OneofOptions message from the specified reader or buffer.
2154 * @param reader Reader or buffer to decode from
2155 * @param [length] Message length if known beforehand
2156 * @returns OneofOptions
2157 * @throws {Error} If the payload is not a reader or valid buffer
2158 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2159 */
2160 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
2161
2162 /**
2163 * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
2164 * @param reader Reader or buffer to decode from
2165 * @returns OneofOptions
2166 * @throws {Error} If the payload is not a reader or valid buffer
2167 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2168 */
2169 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
2170
2171 /**
2172 * Verifies an OneofOptions message.
2173 * @param message Plain object to verify
2174 * @returns `null` if valid, otherwise the reason why it is not
2175 */
2176 public static verify(message: { [k: string]: any }): (string|null);
2177
2178 /**
2179 * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
2180 * @param object Plain object
2181 * @returns OneofOptions
2182 */
2183 public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
2184
2185 /**
2186 * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
2187 * @param message OneofOptions
2188 * @param [options] Conversion options
2189 * @returns Plain object
2190 */
2191 public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2192
2193 /**
2194 * Converts this OneofOptions to JSON.
2195 * @returns JSON object
2196 */
2197 public toJSON(): { [k: string]: any };
2198 }
2199
2200 /** Properties of an EnumOptions. */
2201 interface IEnumOptions {
2202
2203 /** EnumOptions allowAlias */
2204 allowAlias?: (boolean|null);
2205
2206 /** EnumOptions deprecated */
2207 deprecated?: (boolean|null);
2208
2209 /** EnumOptions uninterpretedOption */
2210 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2211 }
2212
2213 /** Represents an EnumOptions. */
2214 class EnumOptions implements IEnumOptions {
2215
2216 /**
2217 * Constructs a new EnumOptions.
2218 * @param [properties] Properties to set
2219 */
2220 constructor(properties?: google.protobuf.IEnumOptions);
2221
2222 /** EnumOptions allowAlias. */
2223 public allowAlias: boolean;
2224
2225 /** EnumOptions deprecated. */
2226 public deprecated: boolean;
2227
2228 /** EnumOptions uninterpretedOption. */
2229 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2230
2231 /**
2232 * Creates a new EnumOptions instance using the specified properties.
2233 * @param [properties] Properties to set
2234 * @returns EnumOptions instance
2235 */
2236 public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
2237
2238 /**
2239 * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
2240 * @param message EnumOptions message or plain object to encode
2241 * @param [writer] Writer to encode to
2242 * @returns Writer
2243 */
2244 public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2245
2246 /**
2247 * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
2248 * @param message EnumOptions message or plain object to encode
2249 * @param [writer] Writer to encode to
2250 * @returns Writer
2251 */
2252 public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2253
2254 /**
2255 * Decodes an EnumOptions message from the specified reader or buffer.
2256 * @param reader Reader or buffer to decode from
2257 * @param [length] Message length if known beforehand
2258 * @returns EnumOptions
2259 * @throws {Error} If the payload is not a reader or valid buffer
2260 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2261 */
2262 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
2263
2264 /**
2265 * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
2266 * @param reader Reader or buffer to decode from
2267 * @returns EnumOptions
2268 * @throws {Error} If the payload is not a reader or valid buffer
2269 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2270 */
2271 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
2272
2273 /**
2274 * Verifies an EnumOptions message.
2275 * @param message Plain object to verify
2276 * @returns `null` if valid, otherwise the reason why it is not
2277 */
2278 public static verify(message: { [k: string]: any }): (string|null);
2279
2280 /**
2281 * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
2282 * @param object Plain object
2283 * @returns EnumOptions
2284 */
2285 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
2286
2287 /**
2288 * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
2289 * @param message EnumOptions
2290 * @param [options] Conversion options
2291 * @returns Plain object
2292 */
2293 public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2294
2295 /**
2296 * Converts this EnumOptions to JSON.
2297 * @returns JSON object
2298 */
2299 public toJSON(): { [k: string]: any };
2300 }
2301
2302 /** Properties of an EnumValueOptions. */
2303 interface IEnumValueOptions {
2304
2305 /** EnumValueOptions deprecated */
2306 deprecated?: (boolean|null);
2307
2308 /** EnumValueOptions uninterpretedOption */
2309 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2310 }
2311
2312 /** Represents an EnumValueOptions. */
2313 class EnumValueOptions implements IEnumValueOptions {
2314
2315 /**
2316 * Constructs a new EnumValueOptions.
2317 * @param [properties] Properties to set
2318 */
2319 constructor(properties?: google.protobuf.IEnumValueOptions);
2320
2321 /** EnumValueOptions deprecated. */
2322 public deprecated: boolean;
2323
2324 /** EnumValueOptions uninterpretedOption. */
2325 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2326
2327 /**
2328 * Creates a new EnumValueOptions instance using the specified properties.
2329 * @param [properties] Properties to set
2330 * @returns EnumValueOptions instance
2331 */
2332 public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
2333
2334 /**
2335 * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
2336 * @param message EnumValueOptions message or plain object to encode
2337 * @param [writer] Writer to encode to
2338 * @returns Writer
2339 */
2340 public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2341
2342 /**
2343 * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
2344 * @param message EnumValueOptions message or plain object to encode
2345 * @param [writer] Writer to encode to
2346 * @returns Writer
2347 */
2348 public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2349
2350 /**
2351 * Decodes an EnumValueOptions message from the specified reader or buffer.
2352 * @param reader Reader or buffer to decode from
2353 * @param [length] Message length if known beforehand
2354 * @returns EnumValueOptions
2355 * @throws {Error} If the payload is not a reader or valid buffer
2356 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2357 */
2358 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
2359
2360 /**
2361 * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
2362 * @param reader Reader or buffer to decode from
2363 * @returns EnumValueOptions
2364 * @throws {Error} If the payload is not a reader or valid buffer
2365 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2366 */
2367 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
2368
2369 /**
2370 * Verifies an EnumValueOptions message.
2371 * @param message Plain object to verify
2372 * @returns `null` if valid, otherwise the reason why it is not
2373 */
2374 public static verify(message: { [k: string]: any }): (string|null);
2375
2376 /**
2377 * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
2378 * @param object Plain object
2379 * @returns EnumValueOptions
2380 */
2381 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
2382
2383 /**
2384 * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
2385 * @param message EnumValueOptions
2386 * @param [options] Conversion options
2387 * @returns Plain object
2388 */
2389 public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2390
2391 /**
2392 * Converts this EnumValueOptions to JSON.
2393 * @returns JSON object
2394 */
2395 public toJSON(): { [k: string]: any };
2396 }
2397
2398 /** Properties of a ServiceOptions. */
2399 interface IServiceOptions {
2400
2401 /** ServiceOptions deprecated */
2402 deprecated?: (boolean|null);
2403
2404 /** ServiceOptions uninterpretedOption */
2405 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2406
2407 /** ServiceOptions .google.api.defaultHost */
2408 ".google.api.defaultHost"?: (string|null);
2409
2410 /** ServiceOptions .google.api.oauthScopes */
2411 ".google.api.oauthScopes"?: (string|null);
2412 }
2413
2414 /** Represents a ServiceOptions. */
2415 class ServiceOptions implements IServiceOptions {
2416
2417 /**
2418 * Constructs a new ServiceOptions.
2419 * @param [properties] Properties to set
2420 */
2421 constructor(properties?: google.protobuf.IServiceOptions);
2422
2423 /** ServiceOptions deprecated. */
2424 public deprecated: boolean;
2425
2426 /** ServiceOptions uninterpretedOption. */
2427 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2428
2429 /**
2430 * Creates a new ServiceOptions instance using the specified properties.
2431 * @param [properties] Properties to set
2432 * @returns ServiceOptions instance
2433 */
2434 public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
2435
2436 /**
2437 * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
2438 * @param message ServiceOptions message or plain object to encode
2439 * @param [writer] Writer to encode to
2440 * @returns Writer
2441 */
2442 public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2443
2444 /**
2445 * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
2446 * @param message ServiceOptions message or plain object to encode
2447 * @param [writer] Writer to encode to
2448 * @returns Writer
2449 */
2450 public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2451
2452 /**
2453 * Decodes a ServiceOptions message from the specified reader or buffer.
2454 * @param reader Reader or buffer to decode from
2455 * @param [length] Message length if known beforehand
2456 * @returns ServiceOptions
2457 * @throws {Error} If the payload is not a reader or valid buffer
2458 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2459 */
2460 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
2461
2462 /**
2463 * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
2464 * @param reader Reader or buffer to decode from
2465 * @returns ServiceOptions
2466 * @throws {Error} If the payload is not a reader or valid buffer
2467 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2468 */
2469 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
2470
2471 /**
2472 * Verifies a ServiceOptions message.
2473 * @param message Plain object to verify
2474 * @returns `null` if valid, otherwise the reason why it is not
2475 */
2476 public static verify(message: { [k: string]: any }): (string|null);
2477
2478 /**
2479 * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
2480 * @param object Plain object
2481 * @returns ServiceOptions
2482 */
2483 public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
2484
2485 /**
2486 * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
2487 * @param message ServiceOptions
2488 * @param [options] Conversion options
2489 * @returns Plain object
2490 */
2491 public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2492
2493 /**
2494 * Converts this ServiceOptions to JSON.
2495 * @returns JSON object
2496 */
2497 public toJSON(): { [k: string]: any };
2498 }
2499
2500 /** Properties of a MethodOptions. */
2501 interface IMethodOptions {
2502
2503 /** MethodOptions deprecated */
2504 deprecated?: (boolean|null);
2505
2506 /** MethodOptions idempotencyLevel */
2507 idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
2508
2509 /** MethodOptions uninterpretedOption */
2510 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2511
2512 /** MethodOptions .google.api.http */
2513 ".google.api.http"?: (google.api.IHttpRule|null);
2514
2515 /** MethodOptions .google.api.methodSignature */
2516 ".google.api.methodSignature"?: (string[]|null);
2517
2518 /** MethodOptions .google.longrunning.operationInfo */
2519 ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null);
2520 }
2521
2522 /** Represents a MethodOptions. */
2523 class MethodOptions implements IMethodOptions {
2524
2525 /**
2526 * Constructs a new MethodOptions.
2527 * @param [properties] Properties to set
2528 */
2529 constructor(properties?: google.protobuf.IMethodOptions);
2530
2531 /** MethodOptions deprecated. */
2532 public deprecated: boolean;
2533
2534 /** MethodOptions idempotencyLevel. */
2535 public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
2536
2537 /** MethodOptions uninterpretedOption. */
2538 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2539
2540 /**
2541 * Creates a new MethodOptions instance using the specified properties.
2542 * @param [properties] Properties to set
2543 * @returns MethodOptions instance
2544 */
2545 public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
2546
2547 /**
2548 * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
2549 * @param message MethodOptions message or plain object to encode
2550 * @param [writer] Writer to encode to
2551 * @returns Writer
2552 */
2553 public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2554
2555 /**
2556 * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
2557 * @param message MethodOptions message or plain object to encode
2558 * @param [writer] Writer to encode to
2559 * @returns Writer
2560 */
2561 public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2562
2563 /**
2564 * Decodes a MethodOptions message from the specified reader or buffer.
2565 * @param reader Reader or buffer to decode from
2566 * @param [length] Message length if known beforehand
2567 * @returns MethodOptions
2568 * @throws {Error} If the payload is not a reader or valid buffer
2569 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2570 */
2571 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
2572
2573 /**
2574 * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
2575 * @param reader Reader or buffer to decode from
2576 * @returns MethodOptions
2577 * @throws {Error} If the payload is not a reader or valid buffer
2578 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2579 */
2580 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
2581
2582 /**
2583 * Verifies a MethodOptions message.
2584 * @param message Plain object to verify
2585 * @returns `null` if valid, otherwise the reason why it is not
2586 */
2587 public static verify(message: { [k: string]: any }): (string|null);
2588
2589 /**
2590 * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
2591 * @param object Plain object
2592 * @returns MethodOptions
2593 */
2594 public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
2595
2596 /**
2597 * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
2598 * @param message MethodOptions
2599 * @param [options] Conversion options
2600 * @returns Plain object
2601 */
2602 public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2603
2604 /**
2605 * Converts this MethodOptions to JSON.
2606 * @returns JSON object
2607 */
2608 public toJSON(): { [k: string]: any };
2609 }
2610
2611 namespace MethodOptions {
2612
2613 /** IdempotencyLevel enum. */
2614 enum IdempotencyLevel {
2615 IDEMPOTENCY_UNKNOWN = 0,
2616 NO_SIDE_EFFECTS = 1,
2617 IDEMPOTENT = 2
2618 }
2619 }
2620
2621 /** Properties of an UninterpretedOption. */
2622 interface IUninterpretedOption {
2623
2624 /** UninterpretedOption name */
2625 name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
2626
2627 /** UninterpretedOption identifierValue */
2628 identifierValue?: (string|null);
2629
2630 /** UninterpretedOption positiveIntValue */
2631 positiveIntValue?: (number|Long|string|null);
2632
2633 /** UninterpretedOption negativeIntValue */
2634 negativeIntValue?: (number|Long|string|null);
2635
2636 /** UninterpretedOption doubleValue */
2637 doubleValue?: (number|null);
2638
2639 /** UninterpretedOption stringValue */
2640 stringValue?: (Uint8Array|string|null);
2641
2642 /** UninterpretedOption aggregateValue */
2643 aggregateValue?: (string|null);
2644 }
2645
2646 /** Represents an UninterpretedOption. */
2647 class UninterpretedOption implements IUninterpretedOption {
2648
2649 /**
2650 * Constructs a new UninterpretedOption.
2651 * @param [properties] Properties to set
2652 */
2653 constructor(properties?: google.protobuf.IUninterpretedOption);
2654
2655 /** UninterpretedOption name. */
2656 public name: google.protobuf.UninterpretedOption.INamePart[];
2657
2658 /** UninterpretedOption identifierValue. */
2659 public identifierValue: string;
2660
2661 /** UninterpretedOption positiveIntValue. */
2662 public positiveIntValue: (number|Long|string);
2663
2664 /** UninterpretedOption negativeIntValue. */
2665 public negativeIntValue: (number|Long|string);
2666
2667 /** UninterpretedOption doubleValue. */
2668 public doubleValue: number;
2669
2670 /** UninterpretedOption stringValue. */
2671 public stringValue: (Uint8Array|string);
2672
2673 /** UninterpretedOption aggregateValue. */
2674 public aggregateValue: string;
2675
2676 /**
2677 * Creates a new UninterpretedOption instance using the specified properties.
2678 * @param [properties] Properties to set
2679 * @returns UninterpretedOption instance
2680 */
2681 public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
2682
2683 /**
2684 * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
2685 * @param message UninterpretedOption message or plain object to encode
2686 * @param [writer] Writer to encode to
2687 * @returns Writer
2688 */
2689 public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
2690
2691 /**
2692 * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
2693 * @param message UninterpretedOption message or plain object to encode
2694 * @param [writer] Writer to encode to
2695 * @returns Writer
2696 */
2697 public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
2698
2699 /**
2700 * Decodes an UninterpretedOption message from the specified reader or buffer.
2701 * @param reader Reader or buffer to decode from
2702 * @param [length] Message length if known beforehand
2703 * @returns UninterpretedOption
2704 * @throws {Error} If the payload is not a reader or valid buffer
2705 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2706 */
2707 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
2708
2709 /**
2710 * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
2711 * @param reader Reader or buffer to decode from
2712 * @returns UninterpretedOption
2713 * @throws {Error} If the payload is not a reader or valid buffer
2714 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2715 */
2716 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
2717
2718 /**
2719 * Verifies an UninterpretedOption message.
2720 * @param message Plain object to verify
2721 * @returns `null` if valid, otherwise the reason why it is not
2722 */
2723 public static verify(message: { [k: string]: any }): (string|null);
2724
2725 /**
2726 * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
2727 * @param object Plain object
2728 * @returns UninterpretedOption
2729 */
2730 public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
2731
2732 /**
2733 * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
2734 * @param message UninterpretedOption
2735 * @param [options] Conversion options
2736 * @returns Plain object
2737 */
2738 public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
2739
2740 /**
2741 * Converts this UninterpretedOption to JSON.
2742 * @returns JSON object
2743 */
2744 public toJSON(): { [k: string]: any };
2745 }
2746
2747 namespace UninterpretedOption {
2748
2749 /** Properties of a NamePart. */
2750 interface INamePart {
2751
2752 /** NamePart namePart */
2753 namePart: string;
2754
2755 /** NamePart isExtension */
2756 isExtension: boolean;
2757 }
2758
2759 /** Represents a NamePart. */
2760 class NamePart implements INamePart {
2761
2762 /**
2763 * Constructs a new NamePart.
2764 * @param [properties] Properties to set
2765 */
2766 constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
2767
2768 /** NamePart namePart. */
2769 public namePart: string;
2770
2771 /** NamePart isExtension. */
2772 public isExtension: boolean;
2773
2774 /**
2775 * Creates a new NamePart instance using the specified properties.
2776 * @param [properties] Properties to set
2777 * @returns NamePart instance
2778 */
2779 public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
2780
2781 /**
2782 * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
2783 * @param message NamePart message or plain object to encode
2784 * @param [writer] Writer to encode to
2785 * @returns Writer
2786 */
2787 public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
2788
2789 /**
2790 * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
2791 * @param message NamePart message or plain object to encode
2792 * @param [writer] Writer to encode to
2793 * @returns Writer
2794 */
2795 public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
2796
2797 /**
2798 * Decodes a NamePart message from the specified reader or buffer.
2799 * @param reader Reader or buffer to decode from
2800 * @param [length] Message length if known beforehand
2801 * @returns NamePart
2802 * @throws {Error} If the payload is not a reader or valid buffer
2803 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2804 */
2805 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
2806
2807 /**
2808 * Decodes a NamePart message from the specified reader or buffer, length delimited.
2809 * @param reader Reader or buffer to decode from
2810 * @returns NamePart
2811 * @throws {Error} If the payload is not a reader or valid buffer
2812 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2813 */
2814 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
2815
2816 /**
2817 * Verifies a NamePart message.
2818 * @param message Plain object to verify
2819 * @returns `null` if valid, otherwise the reason why it is not
2820 */
2821 public static verify(message: { [k: string]: any }): (string|null);
2822
2823 /**
2824 * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
2825 * @param object Plain object
2826 * @returns NamePart
2827 */
2828 public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
2829
2830 /**
2831 * Creates a plain object from a NamePart message. Also converts values to other types if specified.
2832 * @param message NamePart
2833 * @param [options] Conversion options
2834 * @returns Plain object
2835 */
2836 public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
2837
2838 /**
2839 * Converts this NamePart to JSON.
2840 * @returns JSON object
2841 */
2842 public toJSON(): { [k: string]: any };
2843 }
2844 }
2845
2846 /** Properties of a SourceCodeInfo. */
2847 interface ISourceCodeInfo {
2848
2849 /** SourceCodeInfo location */
2850 location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
2851 }
2852
2853 /** Represents a SourceCodeInfo. */
2854 class SourceCodeInfo implements ISourceCodeInfo {
2855
2856 /**
2857 * Constructs a new SourceCodeInfo.
2858 * @param [properties] Properties to set
2859 */
2860 constructor(properties?: google.protobuf.ISourceCodeInfo);
2861
2862 /** SourceCodeInfo location. */
2863 public location: google.protobuf.SourceCodeInfo.ILocation[];
2864
2865 /**
2866 * Creates a new SourceCodeInfo instance using the specified properties.
2867 * @param [properties] Properties to set
2868 * @returns SourceCodeInfo instance
2869 */
2870 public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
2871
2872 /**
2873 * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
2874 * @param message SourceCodeInfo message or plain object to encode
2875 * @param [writer] Writer to encode to
2876 * @returns Writer
2877 */
2878 public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
2879
2880 /**
2881 * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
2882 * @param message SourceCodeInfo message or plain object to encode
2883 * @param [writer] Writer to encode to
2884 * @returns Writer
2885 */
2886 public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
2887
2888 /**
2889 * Decodes a SourceCodeInfo message from the specified reader or buffer.
2890 * @param reader Reader or buffer to decode from
2891 * @param [length] Message length if known beforehand
2892 * @returns SourceCodeInfo
2893 * @throws {Error} If the payload is not a reader or valid buffer
2894 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2895 */
2896 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
2897
2898 /**
2899 * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
2900 * @param reader Reader or buffer to decode from
2901 * @returns SourceCodeInfo
2902 * @throws {Error} If the payload is not a reader or valid buffer
2903 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2904 */
2905 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
2906
2907 /**
2908 * Verifies a SourceCodeInfo message.
2909 * @param message Plain object to verify
2910 * @returns `null` if valid, otherwise the reason why it is not
2911 */
2912 public static verify(message: { [k: string]: any }): (string|null);
2913
2914 /**
2915 * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
2916 * @param object Plain object
2917 * @returns SourceCodeInfo
2918 */
2919 public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
2920
2921 /**
2922 * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
2923 * @param message SourceCodeInfo
2924 * @param [options] Conversion options
2925 * @returns Plain object
2926 */
2927 public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
2928
2929 /**
2930 * Converts this SourceCodeInfo to JSON.
2931 * @returns JSON object
2932 */
2933 public toJSON(): { [k: string]: any };
2934 }
2935
2936 namespace SourceCodeInfo {
2937
2938 /** Properties of a Location. */
2939 interface ILocation {
2940
2941 /** Location path */
2942 path?: (number[]|null);
2943
2944 /** Location span */
2945 span?: (number[]|null);
2946
2947 /** Location leadingComments */
2948 leadingComments?: (string|null);
2949
2950 /** Location trailingComments */
2951 trailingComments?: (string|null);
2952
2953 /** Location leadingDetachedComments */
2954 leadingDetachedComments?: (string[]|null);
2955 }
2956
2957 /** Represents a Location. */
2958 class Location implements ILocation {
2959
2960 /**
2961 * Constructs a new Location.
2962 * @param [properties] Properties to set
2963 */
2964 constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
2965
2966 /** Location path. */
2967 public path: number[];
2968
2969 /** Location span. */
2970 public span: number[];
2971
2972 /** Location leadingComments. */
2973 public leadingComments: string;
2974
2975 /** Location trailingComments. */
2976 public trailingComments: string;
2977
2978 /** Location leadingDetachedComments. */
2979 public leadingDetachedComments: string[];
2980
2981 /**
2982 * Creates a new Location instance using the specified properties.
2983 * @param [properties] Properties to set
2984 * @returns Location instance
2985 */
2986 public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
2987
2988 /**
2989 * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
2990 * @param message Location message or plain object to encode
2991 * @param [writer] Writer to encode to
2992 * @returns Writer
2993 */
2994 public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
2995
2996 /**
2997 * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
2998 * @param message Location message or plain object to encode
2999 * @param [writer] Writer to encode to
3000 * @returns Writer
3001 */
3002 public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
3003
3004 /**
3005 * Decodes a Location message from the specified reader or buffer.
3006 * @param reader Reader or buffer to decode from
3007 * @param [length] Message length if known beforehand
3008 * @returns Location
3009 * @throws {Error} If the payload is not a reader or valid buffer
3010 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3011 */
3012 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
3013
3014 /**
3015 * Decodes a Location message from the specified reader or buffer, length delimited.
3016 * @param reader Reader or buffer to decode from
3017 * @returns Location
3018 * @throws {Error} If the payload is not a reader or valid buffer
3019 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3020 */
3021 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
3022
3023 /**
3024 * Verifies a Location message.
3025 * @param message Plain object to verify
3026 * @returns `null` if valid, otherwise the reason why it is not
3027 */
3028 public static verify(message: { [k: string]: any }): (string|null);
3029
3030 /**
3031 * Creates a Location message from a plain object. Also converts values to their respective internal types.
3032 * @param object Plain object
3033 * @returns Location
3034 */
3035 public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
3036
3037 /**
3038 * Creates a plain object from a Location message. Also converts values to other types if specified.
3039 * @param message Location
3040 * @param [options] Conversion options
3041 * @returns Plain object
3042 */
3043 public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
3044
3045 /**
3046 * Converts this Location to JSON.
3047 * @returns JSON object
3048 */
3049 public toJSON(): { [k: string]: any };
3050 }
3051 }
3052
3053 /** Properties of a GeneratedCodeInfo. */
3054 interface IGeneratedCodeInfo {
3055
3056 /** GeneratedCodeInfo annotation */
3057 annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
3058 }
3059
3060 /** Represents a GeneratedCodeInfo. */
3061 class GeneratedCodeInfo implements IGeneratedCodeInfo {
3062
3063 /**
3064 * Constructs a new GeneratedCodeInfo.
3065 * @param [properties] Properties to set
3066 */
3067 constructor(properties?: google.protobuf.IGeneratedCodeInfo);
3068
3069 /** GeneratedCodeInfo annotation. */
3070 public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
3071
3072 /**
3073 * Creates a new GeneratedCodeInfo instance using the specified properties.
3074 * @param [properties] Properties to set
3075 * @returns GeneratedCodeInfo instance
3076 */
3077 public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
3078
3079 /**
3080 * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
3081 * @param message GeneratedCodeInfo message or plain object to encode
3082 * @param [writer] Writer to encode to
3083 * @returns Writer
3084 */
3085 public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3086
3087 /**
3088 * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
3089 * @param message GeneratedCodeInfo message or plain object to encode
3090 * @param [writer] Writer to encode to
3091 * @returns Writer
3092 */
3093 public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3094
3095 /**
3096 * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
3097 * @param reader Reader or buffer to decode from
3098 * @param [length] Message length if known beforehand
3099 * @returns GeneratedCodeInfo
3100 * @throws {Error} If the payload is not a reader or valid buffer
3101 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3102 */
3103 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
3104
3105 /**
3106 * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
3107 * @param reader Reader or buffer to decode from
3108 * @returns GeneratedCodeInfo
3109 * @throws {Error} If the payload is not a reader or valid buffer
3110 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3111 */
3112 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
3113
3114 /**
3115 * Verifies a GeneratedCodeInfo message.
3116 * @param message Plain object to verify
3117 * @returns `null` if valid, otherwise the reason why it is not
3118 */
3119 public static verify(message: { [k: string]: any }): (string|null);
3120
3121 /**
3122 * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
3123 * @param object Plain object
3124 * @returns GeneratedCodeInfo
3125 */
3126 public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
3127
3128 /**
3129 * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
3130 * @param message GeneratedCodeInfo
3131 * @param [options] Conversion options
3132 * @returns Plain object
3133 */
3134 public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
3135
3136 /**
3137 * Converts this GeneratedCodeInfo to JSON.
3138 * @returns JSON object
3139 */
3140 public toJSON(): { [k: string]: any };
3141 }
3142
3143 namespace GeneratedCodeInfo {
3144
3145 /** Properties of an Annotation. */
3146 interface IAnnotation {
3147
3148 /** Annotation path */
3149 path?: (number[]|null);
3150
3151 /** Annotation sourceFile */
3152 sourceFile?: (string|null);
3153
3154 /** Annotation begin */
3155 begin?: (number|null);
3156
3157 /** Annotation end */
3158 end?: (number|null);
3159 }
3160
3161 /** Represents an Annotation. */
3162 class Annotation implements IAnnotation {
3163
3164 /**
3165 * Constructs a new Annotation.
3166 * @param [properties] Properties to set
3167 */
3168 constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
3169
3170 /** Annotation path. */
3171 public path: number[];
3172
3173 /** Annotation sourceFile. */
3174 public sourceFile: string;
3175
3176 /** Annotation begin. */
3177 public begin: number;
3178
3179 /** Annotation end. */
3180 public end: number;
3181
3182 /**
3183 * Creates a new Annotation instance using the specified properties.
3184 * @param [properties] Properties to set
3185 * @returns Annotation instance
3186 */
3187 public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
3188
3189 /**
3190 * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
3191 * @param message Annotation message or plain object to encode
3192 * @param [writer] Writer to encode to
3193 * @returns Writer
3194 */
3195 public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
3196
3197 /**
3198 * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
3199 * @param message Annotation message or plain object to encode
3200 * @param [writer] Writer to encode to
3201 * @returns Writer
3202 */
3203 public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
3204
3205 /**
3206 * Decodes an Annotation message from the specified reader or buffer.
3207 * @param reader Reader or buffer to decode from
3208 * @param [length] Message length if known beforehand
3209 * @returns Annotation
3210 * @throws {Error} If the payload is not a reader or valid buffer
3211 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3212 */
3213 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
3214
3215 /**
3216 * Decodes an Annotation message from the specified reader or buffer, length delimited.
3217 * @param reader Reader or buffer to decode from
3218 * @returns Annotation
3219 * @throws {Error} If the payload is not a reader or valid buffer
3220 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3221 */
3222 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
3223
3224 /**
3225 * Verifies an Annotation message.
3226 * @param message Plain object to verify
3227 * @returns `null` if valid, otherwise the reason why it is not
3228 */
3229 public static verify(message: { [k: string]: any }): (string|null);
3230
3231 /**
3232 * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
3233 * @param object Plain object
3234 * @returns Annotation
3235 */
3236 public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
3237
3238 /**
3239 * Creates a plain object from an Annotation message. Also converts values to other types if specified.
3240 * @param message Annotation
3241 * @param [options] Conversion options
3242 * @returns Plain object
3243 */
3244 public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
3245
3246 /**
3247 * Converts this Annotation to JSON.
3248 * @returns JSON object
3249 */
3250 public toJSON(): { [k: string]: any };
3251 }
3252 }
3253
3254 /** Properties of a Struct. */
3255 interface IStruct {
3256
3257 /** Struct fields */
3258 fields?: ({ [k: string]: google.protobuf.IValue }|null);
3259 }
3260
3261 /** Represents a Struct. */
3262 class Struct implements IStruct {
3263
3264 /**
3265 * Constructs a new Struct.
3266 * @param [properties] Properties to set
3267 */
3268 constructor(properties?: google.protobuf.IStruct);
3269
3270 /** Struct fields. */
3271 public fields: { [k: string]: google.protobuf.IValue };
3272
3273 /**
3274 * Creates a new Struct instance using the specified properties.
3275 * @param [properties] Properties to set
3276 * @returns Struct instance
3277 */
3278 public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
3279
3280 /**
3281 * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
3282 * @param message Struct message or plain object to encode
3283 * @param [writer] Writer to encode to
3284 * @returns Writer
3285 */
3286 public static encode(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
3287
3288 /**
3289 * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
3290 * @param message Struct message or plain object to encode
3291 * @param [writer] Writer to encode to
3292 * @returns Writer
3293 */
3294 public static encodeDelimited(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
3295
3296 /**
3297 * Decodes a Struct message from the specified reader or buffer.
3298 * @param reader Reader or buffer to decode from
3299 * @param [length] Message length if known beforehand
3300 * @returns Struct
3301 * @throws {Error} If the payload is not a reader or valid buffer
3302 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3303 */
3304 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct;
3305
3306 /**
3307 * Decodes a Struct message from the specified reader or buffer, length delimited.
3308 * @param reader Reader or buffer to decode from
3309 * @returns Struct
3310 * @throws {Error} If the payload is not a reader or valid buffer
3311 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3312 */
3313 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct;
3314
3315 /**
3316 * Verifies a Struct message.
3317 * @param message Plain object to verify
3318 * @returns `null` if valid, otherwise the reason why it is not
3319 */
3320 public static verify(message: { [k: string]: any }): (string|null);
3321
3322 /**
3323 * Creates a Struct message from a plain object. Also converts values to their respective internal types.
3324 * @param object Plain object
3325 * @returns Struct
3326 */
3327 public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
3328
3329 /**
3330 * Creates a plain object from a Struct message. Also converts values to other types if specified.
3331 * @param message Struct
3332 * @param [options] Conversion options
3333 * @returns Plain object
3334 */
3335 public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
3336
3337 /**
3338 * Converts this Struct to JSON.
3339 * @returns JSON object
3340 */
3341 public toJSON(): { [k: string]: any };
3342 }
3343
3344 /** Properties of a Value. */
3345 interface IValue {
3346
3347 /** Value nullValue */
3348 nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
3349
3350 /** Value numberValue */
3351 numberValue?: (number|null);
3352
3353 /** Value stringValue */
3354 stringValue?: (string|null);
3355
3356 /** Value boolValue */
3357 boolValue?: (boolean|null);
3358
3359 /** Value structValue */
3360 structValue?: (google.protobuf.IStruct|null);
3361
3362 /** Value listValue */
3363 listValue?: (google.protobuf.IListValue|null);
3364 }
3365
3366 /** Represents a Value. */
3367 class Value implements IValue {
3368
3369 /**
3370 * Constructs a new Value.
3371 * @param [properties] Properties to set
3372 */
3373 constructor(properties?: google.protobuf.IValue);
3374
3375 /** Value nullValue. */
3376 public nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
3377
3378 /** Value numberValue. */
3379 public numberValue?: (number|null);
3380
3381 /** Value stringValue. */
3382 public stringValue?: (string|null);
3383
3384 /** Value boolValue. */
3385 public boolValue?: (boolean|null);
3386
3387 /** Value structValue. */
3388 public structValue?: (google.protobuf.IStruct|null);
3389
3390 /** Value listValue. */
3391 public listValue?: (google.protobuf.IListValue|null);
3392
3393 /** Value kind. */
3394 public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue");
3395
3396 /**
3397 * Creates a new Value instance using the specified properties.
3398 * @param [properties] Properties to set
3399 * @returns Value instance
3400 */
3401 public static create(properties?: google.protobuf.IValue): google.protobuf.Value;
3402
3403 /**
3404 * Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
3405 * @param message Value message or plain object to encode
3406 * @param [writer] Writer to encode to
3407 * @returns Writer
3408 */
3409 public static encode(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
3410
3411 /**
3412 * Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
3413 * @param message Value message or plain object to encode
3414 * @param [writer] Writer to encode to
3415 * @returns Writer
3416 */
3417 public static encodeDelimited(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
3418
3419 /**
3420 * Decodes a Value message from the specified reader or buffer.
3421 * @param reader Reader or buffer to decode from
3422 * @param [length] Message length if known beforehand
3423 * @returns Value
3424 * @throws {Error} If the payload is not a reader or valid buffer
3425 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3426 */
3427 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Value;
3428
3429 /**
3430 * Decodes a Value message from the specified reader or buffer, length delimited.
3431 * @param reader Reader or buffer to decode from
3432 * @returns Value
3433 * @throws {Error} If the payload is not a reader or valid buffer
3434 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3435 */
3436 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Value;
3437
3438 /**
3439 * Verifies a Value message.
3440 * @param message Plain object to verify
3441 * @returns `null` if valid, otherwise the reason why it is not
3442 */
3443 public static verify(message: { [k: string]: any }): (string|null);
3444
3445 /**
3446 * Creates a Value message from a plain object. Also converts values to their respective internal types.
3447 * @param object Plain object
3448 * @returns Value
3449 */
3450 public static fromObject(object: { [k: string]: any }): google.protobuf.Value;
3451
3452 /**
3453 * Creates a plain object from a Value message. Also converts values to other types if specified.
3454 * @param message Value
3455 * @param [options] Conversion options
3456 * @returns Plain object
3457 */
3458 public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
3459
3460 /**
3461 * Converts this Value to JSON.
3462 * @returns JSON object
3463 */
3464 public toJSON(): { [k: string]: any };
3465 }
3466
3467 /** NullValue enum. */
3468 enum NullValue {
3469 NULL_VALUE = 0
3470 }
3471
3472 /** Properties of a ListValue. */
3473 interface IListValue {
3474
3475 /** ListValue values */
3476 values?: (google.protobuf.IValue[]|null);
3477 }
3478
3479 /** Represents a ListValue. */
3480 class ListValue implements IListValue {
3481
3482 /**
3483 * Constructs a new ListValue.
3484 * @param [properties] Properties to set
3485 */
3486 constructor(properties?: google.protobuf.IListValue);
3487
3488 /** ListValue values. */
3489 public values: google.protobuf.IValue[];
3490
3491 /**
3492 * Creates a new ListValue instance using the specified properties.
3493 * @param [properties] Properties to set
3494 * @returns ListValue instance
3495 */
3496 public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue;
3497
3498 /**
3499 * Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
3500 * @param message ListValue message or plain object to encode
3501 * @param [writer] Writer to encode to
3502 * @returns Writer
3503 */
3504 public static encode(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
3505
3506 /**
3507 * Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
3508 * @param message ListValue message or plain object to encode
3509 * @param [writer] Writer to encode to
3510 * @returns Writer
3511 */
3512 public static encodeDelimited(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
3513
3514 /**
3515 * Decodes a ListValue message from the specified reader or buffer.
3516 * @param reader Reader or buffer to decode from
3517 * @param [length] Message length if known beforehand
3518 * @returns ListValue
3519 * @throws {Error} If the payload is not a reader or valid buffer
3520 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3521 */
3522 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ListValue;
3523
3524 /**
3525 * Decodes a ListValue message from the specified reader or buffer, length delimited.
3526 * @param reader Reader or buffer to decode from
3527 * @returns ListValue
3528 * @throws {Error} If the payload is not a reader or valid buffer
3529 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3530 */
3531 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ListValue;
3532
3533 /**
3534 * Verifies a ListValue message.
3535 * @param message Plain object to verify
3536 * @returns `null` if valid, otherwise the reason why it is not
3537 */
3538 public static verify(message: { [k: string]: any }): (string|null);
3539
3540 /**
3541 * Creates a ListValue message from a plain object. Also converts values to their respective internal types.
3542 * @param object Plain object
3543 * @returns ListValue
3544 */
3545 public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue;
3546
3547 /**
3548 * Creates a plain object from a ListValue message. Also converts values to other types if specified.
3549 * @param message ListValue
3550 * @param [options] Conversion options
3551 * @returns Plain object
3552 */
3553 public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
3554
3555 /**
3556 * Converts this ListValue to JSON.
3557 * @returns JSON object
3558 */
3559 public toJSON(): { [k: string]: any };
3560 }
3561
3562 /** Properties of an Any. */
3563 interface IAny {
3564
3565 /** Any type_url */
3566 type_url?: (string|null);
3567
3568 /** Any value */
3569 value?: (Uint8Array|string|null);
3570 }
3571
3572 /** Represents an Any. */
3573 class Any implements IAny {
3574
3575 /**
3576 * Constructs a new Any.
3577 * @param [properties] Properties to set
3578 */
3579 constructor(properties?: google.protobuf.IAny);
3580
3581 /** Any type_url. */
3582 public type_url: string;
3583
3584 /** Any value. */
3585 public value: (Uint8Array|string);
3586
3587 /**
3588 * Creates a new Any instance using the specified properties.
3589 * @param [properties] Properties to set
3590 * @returns Any instance
3591 */
3592 public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
3593
3594 /**
3595 * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
3596 * @param message Any message or plain object to encode
3597 * @param [writer] Writer to encode to
3598 * @returns Writer
3599 */
3600 public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
3601
3602 /**
3603 * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
3604 * @param message Any message or plain object to encode
3605 * @param [writer] Writer to encode to
3606 * @returns Writer
3607 */
3608 public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
3609
3610 /**
3611 * Decodes an Any message from the specified reader or buffer.
3612 * @param reader Reader or buffer to decode from
3613 * @param [length] Message length if known beforehand
3614 * @returns Any
3615 * @throws {Error} If the payload is not a reader or valid buffer
3616 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3617 */
3618 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
3619
3620 /**
3621 * Decodes an Any message from the specified reader or buffer, length delimited.
3622 * @param reader Reader or buffer to decode from
3623 * @returns Any
3624 * @throws {Error} If the payload is not a reader or valid buffer
3625 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3626 */
3627 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
3628
3629 /**
3630 * Verifies an Any message.
3631 * @param message Plain object to verify
3632 * @returns `null` if valid, otherwise the reason why it is not
3633 */
3634 public static verify(message: { [k: string]: any }): (string|null);
3635
3636 /**
3637 * Creates an Any message from a plain object. Also converts values to their respective internal types.
3638 * @param object Plain object
3639 * @returns Any
3640 */
3641 public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
3642
3643 /**
3644 * Creates a plain object from an Any message. Also converts values to other types if specified.
3645 * @param message Any
3646 * @param [options] Conversion options
3647 * @returns Plain object
3648 */
3649 public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
3650
3651 /**
3652 * Converts this Any to JSON.
3653 * @returns JSON object
3654 */
3655 public toJSON(): { [k: string]: any };
3656 }
3657
3658 /** Properties of a Timestamp. */
3659 interface ITimestamp {
3660
3661 /** Timestamp seconds */
3662 seconds?: (number|Long|string|null);
3663
3664 /** Timestamp nanos */
3665 nanos?: (number|null);
3666 }
3667
3668 /** Represents a Timestamp. */
3669 class Timestamp implements ITimestamp {
3670
3671 /**
3672 * Constructs a new Timestamp.
3673 * @param [properties] Properties to set
3674 */
3675 constructor(properties?: google.protobuf.ITimestamp);
3676
3677 /** Timestamp seconds. */
3678 public seconds: (number|Long|string);
3679
3680 /** Timestamp nanos. */
3681 public nanos: number;
3682
3683 /**
3684 * Creates a new Timestamp instance using the specified properties.
3685 * @param [properties] Properties to set
3686 * @returns Timestamp instance
3687 */
3688 public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
3689
3690 /**
3691 * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
3692 * @param message Timestamp message or plain object to encode
3693 * @param [writer] Writer to encode to
3694 * @returns Writer
3695 */
3696 public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
3697
3698 /**
3699 * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
3700 * @param message Timestamp message or plain object to encode
3701 * @param [writer] Writer to encode to
3702 * @returns Writer
3703 */
3704 public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
3705
3706 /**
3707 * Decodes a Timestamp message from the specified reader or buffer.
3708 * @param reader Reader or buffer to decode from
3709 * @param [length] Message length if known beforehand
3710 * @returns Timestamp
3711 * @throws {Error} If the payload is not a reader or valid buffer
3712 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3713 */
3714 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
3715
3716 /**
3717 * Decodes a Timestamp message from the specified reader or buffer, length delimited.
3718 * @param reader Reader or buffer to decode from
3719 * @returns Timestamp
3720 * @throws {Error} If the payload is not a reader or valid buffer
3721 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3722 */
3723 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
3724
3725 /**
3726 * Verifies a Timestamp message.
3727 * @param message Plain object to verify
3728 * @returns `null` if valid, otherwise the reason why it is not
3729 */
3730 public static verify(message: { [k: string]: any }): (string|null);
3731
3732 /**
3733 * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
3734 * @param object Plain object
3735 * @returns Timestamp
3736 */
3737 public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
3738
3739 /**
3740 * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
3741 * @param message Timestamp
3742 * @param [options] Conversion options
3743 * @returns Plain object
3744 */
3745 public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
3746
3747 /**
3748 * Converts this Timestamp to JSON.
3749 * @returns JSON object
3750 */
3751 public toJSON(): { [k: string]: any };
3752 }
3753
3754 /** Properties of an Empty. */
3755 interface IEmpty {
3756 }
3757
3758 /** Represents an Empty. */
3759 class Empty implements IEmpty {
3760
3761 /**
3762 * Constructs a new Empty.
3763 * @param [properties] Properties to set
3764 */
3765 constructor(properties?: google.protobuf.IEmpty);
3766
3767 /**
3768 * Creates a new Empty instance using the specified properties.
3769 * @param [properties] Properties to set
3770 * @returns Empty instance
3771 */
3772 public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
3773
3774 /**
3775 * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
3776 * @param message Empty message or plain object to encode
3777 * @param [writer] Writer to encode to
3778 * @returns Writer
3779 */
3780 public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
3781
3782 /**
3783 * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
3784 * @param message Empty message or plain object to encode
3785 * @param [writer] Writer to encode to
3786 * @returns Writer
3787 */
3788 public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
3789
3790 /**
3791 * Decodes an Empty message from the specified reader or buffer.
3792 * @param reader Reader or buffer to decode from
3793 * @param [length] Message length if known beforehand
3794 * @returns Empty
3795 * @throws {Error} If the payload is not a reader or valid buffer
3796 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3797 */
3798 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
3799
3800 /**
3801 * Decodes an Empty message from the specified reader or buffer, length delimited.
3802 * @param reader Reader or buffer to decode from
3803 * @returns Empty
3804 * @throws {Error} If the payload is not a reader or valid buffer
3805 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3806 */
3807 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
3808
3809 /**
3810 * Verifies an Empty message.
3811 * @param message Plain object to verify
3812 * @returns `null` if valid, otherwise the reason why it is not
3813 */
3814 public static verify(message: { [k: string]: any }): (string|null);
3815
3816 /**
3817 * Creates an Empty message from a plain object. Also converts values to their respective internal types.
3818 * @param object Plain object
3819 * @returns Empty
3820 */
3821 public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
3822
3823 /**
3824 * Creates a plain object from an Empty message. Also converts values to other types if specified.
3825 * @param message Empty
3826 * @param [options] Conversion options
3827 * @returns Plain object
3828 */
3829 public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
3830
3831 /**
3832 * Converts this Empty to JSON.
3833 * @returns JSON object
3834 */
3835 public toJSON(): { [k: string]: any };
3836 }
3837
3838 /** Properties of a FieldMask. */
3839 interface IFieldMask {
3840
3841 /** FieldMask paths */
3842 paths?: (string[]|null);
3843 }
3844
3845 /** Represents a FieldMask. */
3846 class FieldMask implements IFieldMask {
3847
3848 /**
3849 * Constructs a new FieldMask.
3850 * @param [properties] Properties to set
3851 */
3852 constructor(properties?: google.protobuf.IFieldMask);
3853
3854 /** FieldMask paths. */
3855 public paths: string[];
3856
3857 /**
3858 * Creates a new FieldMask instance using the specified properties.
3859 * @param [properties] Properties to set
3860 * @returns FieldMask instance
3861 */
3862 public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
3863
3864 /**
3865 * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
3866 * @param message FieldMask message or plain object to encode
3867 * @param [writer] Writer to encode to
3868 * @returns Writer
3869 */
3870 public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
3871
3872 /**
3873 * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
3874 * @param message FieldMask message or plain object to encode
3875 * @param [writer] Writer to encode to
3876 * @returns Writer
3877 */
3878 public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
3879
3880 /**
3881 * Decodes a FieldMask message from the specified reader or buffer.
3882 * @param reader Reader or buffer to decode from
3883 * @param [length] Message length if known beforehand
3884 * @returns FieldMask
3885 * @throws {Error} If the payload is not a reader or valid buffer
3886 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3887 */
3888 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
3889
3890 /**
3891 * Decodes a FieldMask message from the specified reader or buffer, length delimited.
3892 * @param reader Reader or buffer to decode from
3893 * @returns FieldMask
3894 * @throws {Error} If the payload is not a reader or valid buffer
3895 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3896 */
3897 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
3898
3899 /**
3900 * Verifies a FieldMask message.
3901 * @param message Plain object to verify
3902 * @returns `null` if valid, otherwise the reason why it is not
3903 */
3904 public static verify(message: { [k: string]: any }): (string|null);
3905
3906 /**
3907 * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
3908 * @param object Plain object
3909 * @returns FieldMask
3910 */
3911 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
3912
3913 /**
3914 * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
3915 * @param message FieldMask
3916 * @param [options] Conversion options
3917 * @returns Plain object
3918 */
3919 public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
3920
3921 /**
3922 * Converts this FieldMask to JSON.
3923 * @returns JSON object
3924 */
3925 public toJSON(): { [k: string]: any };
3926 }
3927 }
3928
3929 /** Namespace logging. */
3930 namespace logging {
3931
3932 /** Namespace type. */
3933 namespace type {
3934
3935 /** Properties of a HttpRequest. */
3936 interface IHttpRequest {
3937
3938 /** HttpRequest requestMethod */
3939 requestMethod?: (string|null);
3940
3941 /** HttpRequest requestUrl */
3942 requestUrl?: (string|null);
3943
3944 /** HttpRequest requestSize */
3945 requestSize?: (number|Long|string|null);
3946
3947 /** HttpRequest status */
3948 status?: (number|null);
3949
3950 /** HttpRequest responseSize */
3951 responseSize?: (number|Long|string|null);
3952
3953 /** HttpRequest userAgent */
3954 userAgent?: (string|null);
3955
3956 /** HttpRequest remoteIp */
3957 remoteIp?: (string|null);
3958
3959 /** HttpRequest serverIp */
3960 serverIp?: (string|null);
3961
3962 /** HttpRequest referer */
3963 referer?: (string|null);
3964
3965 /** HttpRequest latency */
3966 latency?: (google.protobuf.IDuration|null);
3967
3968 /** HttpRequest cacheLookup */
3969 cacheLookup?: (boolean|null);
3970
3971 /** HttpRequest cacheHit */
3972 cacheHit?: (boolean|null);
3973
3974 /** HttpRequest cacheValidatedWithOriginServer */
3975 cacheValidatedWithOriginServer?: (boolean|null);
3976
3977 /** HttpRequest cacheFillBytes */
3978 cacheFillBytes?: (number|Long|string|null);
3979
3980 /** HttpRequest protocol */
3981 protocol?: (string|null);
3982 }
3983
3984 /** Represents a HttpRequest. */
3985 class HttpRequest implements IHttpRequest {
3986
3987 /**
3988 * Constructs a new HttpRequest.
3989 * @param [properties] Properties to set
3990 */
3991 constructor(properties?: google.logging.type.IHttpRequest);
3992
3993 /** HttpRequest requestMethod. */
3994 public requestMethod: string;
3995
3996 /** HttpRequest requestUrl. */
3997 public requestUrl: string;
3998
3999 /** HttpRequest requestSize. */
4000 public requestSize: (number|Long|string);
4001
4002 /** HttpRequest status. */
4003 public status: number;
4004
4005 /** HttpRequest responseSize. */
4006 public responseSize: (number|Long|string);
4007
4008 /** HttpRequest userAgent. */
4009 public userAgent: string;
4010
4011 /** HttpRequest remoteIp. */
4012 public remoteIp: string;
4013
4014 /** HttpRequest serverIp. */
4015 public serverIp: string;
4016
4017 /** HttpRequest referer. */
4018 public referer: string;
4019
4020 /** HttpRequest latency. */
4021 public latency?: (google.protobuf.IDuration|null);
4022
4023 /** HttpRequest cacheLookup. */
4024 public cacheLookup: boolean;
4025
4026 /** HttpRequest cacheHit. */
4027 public cacheHit: boolean;
4028
4029 /** HttpRequest cacheValidatedWithOriginServer. */
4030 public cacheValidatedWithOriginServer: boolean;
4031
4032 /** HttpRequest cacheFillBytes. */
4033 public cacheFillBytes: (number|Long|string);
4034
4035 /** HttpRequest protocol. */
4036 public protocol: string;
4037
4038 /**
4039 * Creates a new HttpRequest instance using the specified properties.
4040 * @param [properties] Properties to set
4041 * @returns HttpRequest instance
4042 */
4043 public static create(properties?: google.logging.type.IHttpRequest): google.logging.type.HttpRequest;
4044
4045 /**
4046 * Encodes the specified HttpRequest message. Does not implicitly {@link google.logging.type.HttpRequest.verify|verify} messages.
4047 * @param message HttpRequest message or plain object to encode
4048 * @param [writer] Writer to encode to
4049 * @returns Writer
4050 */
4051 public static encode(message: google.logging.type.IHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4052
4053 /**
4054 * Encodes the specified HttpRequest message, length delimited. Does not implicitly {@link google.logging.type.HttpRequest.verify|verify} messages.
4055 * @param message HttpRequest message or plain object to encode
4056 * @param [writer] Writer to encode to
4057 * @returns Writer
4058 */
4059 public static encodeDelimited(message: google.logging.type.IHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4060
4061 /**
4062 * Decodes a HttpRequest message from the specified reader or buffer.
4063 * @param reader Reader or buffer to decode from
4064 * @param [length] Message length if known beforehand
4065 * @returns HttpRequest
4066 * @throws {Error} If the payload is not a reader or valid buffer
4067 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4068 */
4069 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.type.HttpRequest;
4070
4071 /**
4072 * Decodes a HttpRequest message from the specified reader or buffer, length delimited.
4073 * @param reader Reader or buffer to decode from
4074 * @returns HttpRequest
4075 * @throws {Error} If the payload is not a reader or valid buffer
4076 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4077 */
4078 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.type.HttpRequest;
4079
4080 /**
4081 * Verifies a HttpRequest message.
4082 * @param message Plain object to verify
4083 * @returns `null` if valid, otherwise the reason why it is not
4084 */
4085 public static verify(message: { [k: string]: any }): (string|null);
4086
4087 /**
4088 * Creates a HttpRequest message from a plain object. Also converts values to their respective internal types.
4089 * @param object Plain object
4090 * @returns HttpRequest
4091 */
4092 public static fromObject(object: { [k: string]: any }): google.logging.type.HttpRequest;
4093
4094 /**
4095 * Creates a plain object from a HttpRequest message. Also converts values to other types if specified.
4096 * @param message HttpRequest
4097 * @param [options] Conversion options
4098 * @returns Plain object
4099 */
4100 public static toObject(message: google.logging.type.HttpRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
4101
4102 /**
4103 * Converts this HttpRequest to JSON.
4104 * @returns JSON object
4105 */
4106 public toJSON(): { [k: string]: any };
4107 }
4108
4109 /** LogSeverity enum. */
4110 enum LogSeverity {
4111 DEFAULT = 0,
4112 DEBUG = 100,
4113 INFO = 200,
4114 NOTICE = 300,
4115 WARNING = 400,
4116 ERROR = 500,
4117 CRITICAL = 600,
4118 ALERT = 700,
4119 EMERGENCY = 800
4120 }
4121 }
4122
4123 /** Namespace v2. */
4124 namespace v2 {
4125
4126 /** Properties of a LogEntry. */
4127 interface ILogEntry {
4128
4129 /** LogEntry logName */
4130 logName?: (string|null);
4131
4132 /** LogEntry resource */
4133 resource?: (google.api.IMonitoredResource|null);
4134
4135 /** LogEntry protoPayload */
4136 protoPayload?: (google.protobuf.IAny|null);
4137
4138 /** LogEntry textPayload */
4139 textPayload?: (string|null);
4140
4141 /** LogEntry jsonPayload */
4142 jsonPayload?: (google.protobuf.IStruct|null);
4143
4144 /** LogEntry timestamp */
4145 timestamp?: (google.protobuf.ITimestamp|null);
4146
4147 /** LogEntry receiveTimestamp */
4148 receiveTimestamp?: (google.protobuf.ITimestamp|null);
4149
4150 /** LogEntry severity */
4151 severity?: (google.logging.type.LogSeverity|keyof typeof google.logging.type.LogSeverity|null);
4152
4153 /** LogEntry insertId */
4154 insertId?: (string|null);
4155
4156 /** LogEntry httpRequest */
4157 httpRequest?: (google.logging.type.IHttpRequest|null);
4158
4159 /** LogEntry labels */
4160 labels?: ({ [k: string]: string }|null);
4161
4162 /** LogEntry operation */
4163 operation?: (google.logging.v2.ILogEntryOperation|null);
4164
4165 /** LogEntry trace */
4166 trace?: (string|null);
4167
4168 /** LogEntry spanId */
4169 spanId?: (string|null);
4170
4171 /** LogEntry traceSampled */
4172 traceSampled?: (boolean|null);
4173
4174 /** LogEntry sourceLocation */
4175 sourceLocation?: (google.logging.v2.ILogEntrySourceLocation|null);
4176
4177 /** LogEntry split */
4178 split?: (google.logging.v2.ILogSplit|null);
4179 }
4180
4181 /** Represents a LogEntry. */
4182 class LogEntry implements ILogEntry {
4183
4184 /**
4185 * Constructs a new LogEntry.
4186 * @param [properties] Properties to set
4187 */
4188 constructor(properties?: google.logging.v2.ILogEntry);
4189
4190 /** LogEntry logName. */
4191 public logName: string;
4192
4193 /** LogEntry resource. */
4194 public resource?: (google.api.IMonitoredResource|null);
4195
4196 /** LogEntry protoPayload. */
4197 public protoPayload?: (google.protobuf.IAny|null);
4198
4199 /** LogEntry textPayload. */
4200 public textPayload?: (string|null);
4201
4202 /** LogEntry jsonPayload. */
4203 public jsonPayload?: (google.protobuf.IStruct|null);
4204
4205 /** LogEntry timestamp. */
4206 public timestamp?: (google.protobuf.ITimestamp|null);
4207
4208 /** LogEntry receiveTimestamp. */
4209 public receiveTimestamp?: (google.protobuf.ITimestamp|null);
4210
4211 /** LogEntry severity. */
4212 public severity: (google.logging.type.LogSeverity|keyof typeof google.logging.type.LogSeverity);
4213
4214 /** LogEntry insertId. */
4215 public insertId: string;
4216
4217 /** LogEntry httpRequest. */
4218 public httpRequest?: (google.logging.type.IHttpRequest|null);
4219
4220 /** LogEntry labels. */
4221 public labels: { [k: string]: string };
4222
4223 /** LogEntry operation. */
4224 public operation?: (google.logging.v2.ILogEntryOperation|null);
4225
4226 /** LogEntry trace. */
4227 public trace: string;
4228
4229 /** LogEntry spanId. */
4230 public spanId: string;
4231
4232 /** LogEntry traceSampled. */
4233 public traceSampled: boolean;
4234
4235 /** LogEntry sourceLocation. */
4236 public sourceLocation?: (google.logging.v2.ILogEntrySourceLocation|null);
4237
4238 /** LogEntry split. */
4239 public split?: (google.logging.v2.ILogSplit|null);
4240
4241 /** LogEntry payload. */
4242 public payload?: ("protoPayload"|"textPayload"|"jsonPayload");
4243
4244 /**
4245 * Creates a new LogEntry instance using the specified properties.
4246 * @param [properties] Properties to set
4247 * @returns LogEntry instance
4248 */
4249 public static create(properties?: google.logging.v2.ILogEntry): google.logging.v2.LogEntry;
4250
4251 /**
4252 * Encodes the specified LogEntry message. Does not implicitly {@link google.logging.v2.LogEntry.verify|verify} messages.
4253 * @param message LogEntry message or plain object to encode
4254 * @param [writer] Writer to encode to
4255 * @returns Writer
4256 */
4257 public static encode(message: google.logging.v2.ILogEntry, writer?: $protobuf.Writer): $protobuf.Writer;
4258
4259 /**
4260 * Encodes the specified LogEntry message, length delimited. Does not implicitly {@link google.logging.v2.LogEntry.verify|verify} messages.
4261 * @param message LogEntry message or plain object to encode
4262 * @param [writer] Writer to encode to
4263 * @returns Writer
4264 */
4265 public static encodeDelimited(message: google.logging.v2.ILogEntry, writer?: $protobuf.Writer): $protobuf.Writer;
4266
4267 /**
4268 * Decodes a LogEntry message from the specified reader or buffer.
4269 * @param reader Reader or buffer to decode from
4270 * @param [length] Message length if known beforehand
4271 * @returns LogEntry
4272 * @throws {Error} If the payload is not a reader or valid buffer
4273 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4274 */
4275 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogEntry;
4276
4277 /**
4278 * Decodes a LogEntry message from the specified reader or buffer, length delimited.
4279 * @param reader Reader or buffer to decode from
4280 * @returns LogEntry
4281 * @throws {Error} If the payload is not a reader or valid buffer
4282 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4283 */
4284 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogEntry;
4285
4286 /**
4287 * Verifies a LogEntry message.
4288 * @param message Plain object to verify
4289 * @returns `null` if valid, otherwise the reason why it is not
4290 */
4291 public static verify(message: { [k: string]: any }): (string|null);
4292
4293 /**
4294 * Creates a LogEntry message from a plain object. Also converts values to their respective internal types.
4295 * @param object Plain object
4296 * @returns LogEntry
4297 */
4298 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogEntry;
4299
4300 /**
4301 * Creates a plain object from a LogEntry message. Also converts values to other types if specified.
4302 * @param message LogEntry
4303 * @param [options] Conversion options
4304 * @returns Plain object
4305 */
4306 public static toObject(message: google.logging.v2.LogEntry, options?: $protobuf.IConversionOptions): { [k: string]: any };
4307
4308 /**
4309 * Converts this LogEntry to JSON.
4310 * @returns JSON object
4311 */
4312 public toJSON(): { [k: string]: any };
4313 }
4314
4315 /** Properties of a LogEntryOperation. */
4316 interface ILogEntryOperation {
4317
4318 /** LogEntryOperation id */
4319 id?: (string|null);
4320
4321 /** LogEntryOperation producer */
4322 producer?: (string|null);
4323
4324 /** LogEntryOperation first */
4325 first?: (boolean|null);
4326
4327 /** LogEntryOperation last */
4328 last?: (boolean|null);
4329 }
4330
4331 /** Represents a LogEntryOperation. */
4332 class LogEntryOperation implements ILogEntryOperation {
4333
4334 /**
4335 * Constructs a new LogEntryOperation.
4336 * @param [properties] Properties to set
4337 */
4338 constructor(properties?: google.logging.v2.ILogEntryOperation);
4339
4340 /** LogEntryOperation id. */
4341 public id: string;
4342
4343 /** LogEntryOperation producer. */
4344 public producer: string;
4345
4346 /** LogEntryOperation first. */
4347 public first: boolean;
4348
4349 /** LogEntryOperation last. */
4350 public last: boolean;
4351
4352 /**
4353 * Creates a new LogEntryOperation instance using the specified properties.
4354 * @param [properties] Properties to set
4355 * @returns LogEntryOperation instance
4356 */
4357 public static create(properties?: google.logging.v2.ILogEntryOperation): google.logging.v2.LogEntryOperation;
4358
4359 /**
4360 * Encodes the specified LogEntryOperation message. Does not implicitly {@link google.logging.v2.LogEntryOperation.verify|verify} messages.
4361 * @param message LogEntryOperation message or plain object to encode
4362 * @param [writer] Writer to encode to
4363 * @returns Writer
4364 */
4365 public static encode(message: google.logging.v2.ILogEntryOperation, writer?: $protobuf.Writer): $protobuf.Writer;
4366
4367 /**
4368 * Encodes the specified LogEntryOperation message, length delimited. Does not implicitly {@link google.logging.v2.LogEntryOperation.verify|verify} messages.
4369 * @param message LogEntryOperation message or plain object to encode
4370 * @param [writer] Writer to encode to
4371 * @returns Writer
4372 */
4373 public static encodeDelimited(message: google.logging.v2.ILogEntryOperation, writer?: $protobuf.Writer): $protobuf.Writer;
4374
4375 /**
4376 * Decodes a LogEntryOperation message from the specified reader or buffer.
4377 * @param reader Reader or buffer to decode from
4378 * @param [length] Message length if known beforehand
4379 * @returns LogEntryOperation
4380 * @throws {Error} If the payload is not a reader or valid buffer
4381 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4382 */
4383 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogEntryOperation;
4384
4385 /**
4386 * Decodes a LogEntryOperation message from the specified reader or buffer, length delimited.
4387 * @param reader Reader or buffer to decode from
4388 * @returns LogEntryOperation
4389 * @throws {Error} If the payload is not a reader or valid buffer
4390 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4391 */
4392 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogEntryOperation;
4393
4394 /**
4395 * Verifies a LogEntryOperation message.
4396 * @param message Plain object to verify
4397 * @returns `null` if valid, otherwise the reason why it is not
4398 */
4399 public static verify(message: { [k: string]: any }): (string|null);
4400
4401 /**
4402 * Creates a LogEntryOperation message from a plain object. Also converts values to their respective internal types.
4403 * @param object Plain object
4404 * @returns LogEntryOperation
4405 */
4406 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogEntryOperation;
4407
4408 /**
4409 * Creates a plain object from a LogEntryOperation message. Also converts values to other types if specified.
4410 * @param message LogEntryOperation
4411 * @param [options] Conversion options
4412 * @returns Plain object
4413 */
4414 public static toObject(message: google.logging.v2.LogEntryOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
4415
4416 /**
4417 * Converts this LogEntryOperation to JSON.
4418 * @returns JSON object
4419 */
4420 public toJSON(): { [k: string]: any };
4421 }
4422
4423 /** Properties of a LogEntrySourceLocation. */
4424 interface ILogEntrySourceLocation {
4425
4426 /** LogEntrySourceLocation file */
4427 file?: (string|null);
4428
4429 /** LogEntrySourceLocation line */
4430 line?: (number|Long|string|null);
4431
4432 /** LogEntrySourceLocation function */
4433 "function"?: (string|null);
4434 }
4435
4436 /** Represents a LogEntrySourceLocation. */
4437 class LogEntrySourceLocation implements ILogEntrySourceLocation {
4438
4439 /**
4440 * Constructs a new LogEntrySourceLocation.
4441 * @param [properties] Properties to set
4442 */
4443 constructor(properties?: google.logging.v2.ILogEntrySourceLocation);
4444
4445 /** LogEntrySourceLocation file. */
4446 public file: string;
4447
4448 /** LogEntrySourceLocation line. */
4449 public line: (number|Long|string);
4450
4451 /** LogEntrySourceLocation function. */
4452 public function: string;
4453
4454 /**
4455 * Creates a new LogEntrySourceLocation instance using the specified properties.
4456 * @param [properties] Properties to set
4457 * @returns LogEntrySourceLocation instance
4458 */
4459 public static create(properties?: google.logging.v2.ILogEntrySourceLocation): google.logging.v2.LogEntrySourceLocation;
4460
4461 /**
4462 * Encodes the specified LogEntrySourceLocation message. Does not implicitly {@link google.logging.v2.LogEntrySourceLocation.verify|verify} messages.
4463 * @param message LogEntrySourceLocation message or plain object to encode
4464 * @param [writer] Writer to encode to
4465 * @returns Writer
4466 */
4467 public static encode(message: google.logging.v2.ILogEntrySourceLocation, writer?: $protobuf.Writer): $protobuf.Writer;
4468
4469 /**
4470 * Encodes the specified LogEntrySourceLocation message, length delimited. Does not implicitly {@link google.logging.v2.LogEntrySourceLocation.verify|verify} messages.
4471 * @param message LogEntrySourceLocation message or plain object to encode
4472 * @param [writer] Writer to encode to
4473 * @returns Writer
4474 */
4475 public static encodeDelimited(message: google.logging.v2.ILogEntrySourceLocation, writer?: $protobuf.Writer): $protobuf.Writer;
4476
4477 /**
4478 * Decodes a LogEntrySourceLocation message from the specified reader or buffer.
4479 * @param reader Reader or buffer to decode from
4480 * @param [length] Message length if known beforehand
4481 * @returns LogEntrySourceLocation
4482 * @throws {Error} If the payload is not a reader or valid buffer
4483 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4484 */
4485 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogEntrySourceLocation;
4486
4487 /**
4488 * Decodes a LogEntrySourceLocation message from the specified reader or buffer, length delimited.
4489 * @param reader Reader or buffer to decode from
4490 * @returns LogEntrySourceLocation
4491 * @throws {Error} If the payload is not a reader or valid buffer
4492 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4493 */
4494 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogEntrySourceLocation;
4495
4496 /**
4497 * Verifies a LogEntrySourceLocation message.
4498 * @param message Plain object to verify
4499 * @returns `null` if valid, otherwise the reason why it is not
4500 */
4501 public static verify(message: { [k: string]: any }): (string|null);
4502
4503 /**
4504 * Creates a LogEntrySourceLocation message from a plain object. Also converts values to their respective internal types.
4505 * @param object Plain object
4506 * @returns LogEntrySourceLocation
4507 */
4508 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogEntrySourceLocation;
4509
4510 /**
4511 * Creates a plain object from a LogEntrySourceLocation message. Also converts values to other types if specified.
4512 * @param message LogEntrySourceLocation
4513 * @param [options] Conversion options
4514 * @returns Plain object
4515 */
4516 public static toObject(message: google.logging.v2.LogEntrySourceLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
4517
4518 /**
4519 * Converts this LogEntrySourceLocation to JSON.
4520 * @returns JSON object
4521 */
4522 public toJSON(): { [k: string]: any };
4523 }
4524
4525 /** Properties of a LogSplit. */
4526 interface ILogSplit {
4527
4528 /** LogSplit uid */
4529 uid?: (string|null);
4530
4531 /** LogSplit index */
4532 index?: (number|null);
4533
4534 /** LogSplit totalSplits */
4535 totalSplits?: (number|null);
4536 }
4537
4538 /** Represents a LogSplit. */
4539 class LogSplit implements ILogSplit {
4540
4541 /**
4542 * Constructs a new LogSplit.
4543 * @param [properties] Properties to set
4544 */
4545 constructor(properties?: google.logging.v2.ILogSplit);
4546
4547 /** LogSplit uid. */
4548 public uid: string;
4549
4550 /** LogSplit index. */
4551 public index: number;
4552
4553 /** LogSplit totalSplits. */
4554 public totalSplits: number;
4555
4556 /**
4557 * Creates a new LogSplit instance using the specified properties.
4558 * @param [properties] Properties to set
4559 * @returns LogSplit instance
4560 */
4561 public static create(properties?: google.logging.v2.ILogSplit): google.logging.v2.LogSplit;
4562
4563 /**
4564 * Encodes the specified LogSplit message. Does not implicitly {@link google.logging.v2.LogSplit.verify|verify} messages.
4565 * @param message LogSplit message or plain object to encode
4566 * @param [writer] Writer to encode to
4567 * @returns Writer
4568 */
4569 public static encode(message: google.logging.v2.ILogSplit, writer?: $protobuf.Writer): $protobuf.Writer;
4570
4571 /**
4572 * Encodes the specified LogSplit message, length delimited. Does not implicitly {@link google.logging.v2.LogSplit.verify|verify} messages.
4573 * @param message LogSplit message or plain object to encode
4574 * @param [writer] Writer to encode to
4575 * @returns Writer
4576 */
4577 public static encodeDelimited(message: google.logging.v2.ILogSplit, writer?: $protobuf.Writer): $protobuf.Writer;
4578
4579 /**
4580 * Decodes a LogSplit message from the specified reader or buffer.
4581 * @param reader Reader or buffer to decode from
4582 * @param [length] Message length if known beforehand
4583 * @returns LogSplit
4584 * @throws {Error} If the payload is not a reader or valid buffer
4585 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4586 */
4587 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogSplit;
4588
4589 /**
4590 * Decodes a LogSplit message from the specified reader or buffer, length delimited.
4591 * @param reader Reader or buffer to decode from
4592 * @returns LogSplit
4593 * @throws {Error} If the payload is not a reader or valid buffer
4594 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4595 */
4596 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogSplit;
4597
4598 /**
4599 * Verifies a LogSplit message.
4600 * @param message Plain object to verify
4601 * @returns `null` if valid, otherwise the reason why it is not
4602 */
4603 public static verify(message: { [k: string]: any }): (string|null);
4604
4605 /**
4606 * Creates a LogSplit message from a plain object. Also converts values to their respective internal types.
4607 * @param object Plain object
4608 * @returns LogSplit
4609 */
4610 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogSplit;
4611
4612 /**
4613 * Creates a plain object from a LogSplit message. Also converts values to other types if specified.
4614 * @param message LogSplit
4615 * @param [options] Conversion options
4616 * @returns Plain object
4617 */
4618 public static toObject(message: google.logging.v2.LogSplit, options?: $protobuf.IConversionOptions): { [k: string]: any };
4619
4620 /**
4621 * Converts this LogSplit to JSON.
4622 * @returns JSON object
4623 */
4624 public toJSON(): { [k: string]: any };
4625 }
4626
4627 /** Represents a LoggingServiceV2 */
4628 class LoggingServiceV2 extends $protobuf.rpc.Service {
4629
4630 /**
4631 * Constructs a new LoggingServiceV2 service.
4632 * @param rpcImpl RPC implementation
4633 * @param [requestDelimited=false] Whether requests are length-delimited
4634 * @param [responseDelimited=false] Whether responses are length-delimited
4635 */
4636 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
4637
4638 /**
4639 * Creates new LoggingServiceV2 service using the specified rpc implementation.
4640 * @param rpcImpl RPC implementation
4641 * @param [requestDelimited=false] Whether requests are length-delimited
4642 * @param [responseDelimited=false] Whether responses are length-delimited
4643 * @returns RPC service. Useful where requests and/or responses are streamed.
4644 */
4645 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): LoggingServiceV2;
4646
4647 /**
4648 * Calls DeleteLog.
4649 * @param request DeleteLogRequest message or plain object
4650 * @param callback Node-style callback called with the error, if any, and Empty
4651 */
4652 public deleteLog(request: google.logging.v2.IDeleteLogRequest, callback: google.logging.v2.LoggingServiceV2.DeleteLogCallback): void;
4653
4654 /**
4655 * Calls DeleteLog.
4656 * @param request DeleteLogRequest message or plain object
4657 * @returns Promise
4658 */
4659 public deleteLog(request: google.logging.v2.IDeleteLogRequest): Promise<google.protobuf.Empty>;
4660
4661 /**
4662 * Calls WriteLogEntries.
4663 * @param request WriteLogEntriesRequest message or plain object
4664 * @param callback Node-style callback called with the error, if any, and WriteLogEntriesResponse
4665 */
4666 public writeLogEntries(request: google.logging.v2.IWriteLogEntriesRequest, callback: google.logging.v2.LoggingServiceV2.WriteLogEntriesCallback): void;
4667
4668 /**
4669 * Calls WriteLogEntries.
4670 * @param request WriteLogEntriesRequest message or plain object
4671 * @returns Promise
4672 */
4673 public writeLogEntries(request: google.logging.v2.IWriteLogEntriesRequest): Promise<google.logging.v2.WriteLogEntriesResponse>;
4674
4675 /**
4676 * Calls ListLogEntries.
4677 * @param request ListLogEntriesRequest message or plain object
4678 * @param callback Node-style callback called with the error, if any, and ListLogEntriesResponse
4679 */
4680 public listLogEntries(request: google.logging.v2.IListLogEntriesRequest, callback: google.logging.v2.LoggingServiceV2.ListLogEntriesCallback): void;
4681
4682 /**
4683 * Calls ListLogEntries.
4684 * @param request ListLogEntriesRequest message or plain object
4685 * @returns Promise
4686 */
4687 public listLogEntries(request: google.logging.v2.IListLogEntriesRequest): Promise<google.logging.v2.ListLogEntriesResponse>;
4688
4689 /**
4690 * Calls ListMonitoredResourceDescriptors.
4691 * @param request ListMonitoredResourceDescriptorsRequest message or plain object
4692 * @param callback Node-style callback called with the error, if any, and ListMonitoredResourceDescriptorsResponse
4693 */
4694 public listMonitoredResourceDescriptors(request: google.logging.v2.IListMonitoredResourceDescriptorsRequest, callback: google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptorsCallback): void;
4695
4696 /**
4697 * Calls ListMonitoredResourceDescriptors.
4698 * @param request ListMonitoredResourceDescriptorsRequest message or plain object
4699 * @returns Promise
4700 */
4701 public listMonitoredResourceDescriptors(request: google.logging.v2.IListMonitoredResourceDescriptorsRequest): Promise<google.logging.v2.ListMonitoredResourceDescriptorsResponse>;
4702
4703 /**
4704 * Calls ListLogs.
4705 * @param request ListLogsRequest message or plain object
4706 * @param callback Node-style callback called with the error, if any, and ListLogsResponse
4707 */
4708 public listLogs(request: google.logging.v2.IListLogsRequest, callback: google.logging.v2.LoggingServiceV2.ListLogsCallback): void;
4709
4710 /**
4711 * Calls ListLogs.
4712 * @param request ListLogsRequest message or plain object
4713 * @returns Promise
4714 */
4715 public listLogs(request: google.logging.v2.IListLogsRequest): Promise<google.logging.v2.ListLogsResponse>;
4716
4717 /**
4718 * Calls TailLogEntries.
4719 * @param request TailLogEntriesRequest message or plain object
4720 * @param callback Node-style callback called with the error, if any, and TailLogEntriesResponse
4721 */
4722 public tailLogEntries(request: google.logging.v2.ITailLogEntriesRequest, callback: google.logging.v2.LoggingServiceV2.TailLogEntriesCallback): void;
4723
4724 /**
4725 * Calls TailLogEntries.
4726 * @param request TailLogEntriesRequest message or plain object
4727 * @returns Promise
4728 */
4729 public tailLogEntries(request: google.logging.v2.ITailLogEntriesRequest): Promise<google.logging.v2.TailLogEntriesResponse>;
4730 }
4731
4732 namespace LoggingServiceV2 {
4733
4734 /**
4735 * Callback as used by {@link google.logging.v2.LoggingServiceV2|deleteLog}.
4736 * @param error Error, if any
4737 * @param [response] Empty
4738 */
4739 type DeleteLogCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
4740
4741 /**
4742 * Callback as used by {@link google.logging.v2.LoggingServiceV2|writeLogEntries}.
4743 * @param error Error, if any
4744 * @param [response] WriteLogEntriesResponse
4745 */
4746 type WriteLogEntriesCallback = (error: (Error|null), response?: google.logging.v2.WriteLogEntriesResponse) => void;
4747
4748 /**
4749 * Callback as used by {@link google.logging.v2.LoggingServiceV2|listLogEntries}.
4750 * @param error Error, if any
4751 * @param [response] ListLogEntriesResponse
4752 */
4753 type ListLogEntriesCallback = (error: (Error|null), response?: google.logging.v2.ListLogEntriesResponse) => void;
4754
4755 /**
4756 * Callback as used by {@link google.logging.v2.LoggingServiceV2|listMonitoredResourceDescriptors}.
4757 * @param error Error, if any
4758 * @param [response] ListMonitoredResourceDescriptorsResponse
4759 */
4760 type ListMonitoredResourceDescriptorsCallback = (error: (Error|null), response?: google.logging.v2.ListMonitoredResourceDescriptorsResponse) => void;
4761
4762 /**
4763 * Callback as used by {@link google.logging.v2.LoggingServiceV2|listLogs}.
4764 * @param error Error, if any
4765 * @param [response] ListLogsResponse
4766 */
4767 type ListLogsCallback = (error: (Error|null), response?: google.logging.v2.ListLogsResponse) => void;
4768
4769 /**
4770 * Callback as used by {@link google.logging.v2.LoggingServiceV2|tailLogEntries}.
4771 * @param error Error, if any
4772 * @param [response] TailLogEntriesResponse
4773 */
4774 type TailLogEntriesCallback = (error: (Error|null), response?: google.logging.v2.TailLogEntriesResponse) => void;
4775 }
4776
4777 /** Properties of a DeleteLogRequest. */
4778 interface IDeleteLogRequest {
4779
4780 /** DeleteLogRequest logName */
4781 logName?: (string|null);
4782 }
4783
4784 /** Represents a DeleteLogRequest. */
4785 class DeleteLogRequest implements IDeleteLogRequest {
4786
4787 /**
4788 * Constructs a new DeleteLogRequest.
4789 * @param [properties] Properties to set
4790 */
4791 constructor(properties?: google.logging.v2.IDeleteLogRequest);
4792
4793 /** DeleteLogRequest logName. */
4794 public logName: string;
4795
4796 /**
4797 * Creates a new DeleteLogRequest instance using the specified properties.
4798 * @param [properties] Properties to set
4799 * @returns DeleteLogRequest instance
4800 */
4801 public static create(properties?: google.logging.v2.IDeleteLogRequest): google.logging.v2.DeleteLogRequest;
4802
4803 /**
4804 * Encodes the specified DeleteLogRequest message. Does not implicitly {@link google.logging.v2.DeleteLogRequest.verify|verify} messages.
4805 * @param message DeleteLogRequest message or plain object to encode
4806 * @param [writer] Writer to encode to
4807 * @returns Writer
4808 */
4809 public static encode(message: google.logging.v2.IDeleteLogRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4810
4811 /**
4812 * Encodes the specified DeleteLogRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteLogRequest.verify|verify} messages.
4813 * @param message DeleteLogRequest message or plain object to encode
4814 * @param [writer] Writer to encode to
4815 * @returns Writer
4816 */
4817 public static encodeDelimited(message: google.logging.v2.IDeleteLogRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4818
4819 /**
4820 * Decodes a DeleteLogRequest message from the specified reader or buffer.
4821 * @param reader Reader or buffer to decode from
4822 * @param [length] Message length if known beforehand
4823 * @returns DeleteLogRequest
4824 * @throws {Error} If the payload is not a reader or valid buffer
4825 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4826 */
4827 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteLogRequest;
4828
4829 /**
4830 * Decodes a DeleteLogRequest message from the specified reader or buffer, length delimited.
4831 * @param reader Reader or buffer to decode from
4832 * @returns DeleteLogRequest
4833 * @throws {Error} If the payload is not a reader or valid buffer
4834 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4835 */
4836 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteLogRequest;
4837
4838 /**
4839 * Verifies a DeleteLogRequest message.
4840 * @param message Plain object to verify
4841 * @returns `null` if valid, otherwise the reason why it is not
4842 */
4843 public static verify(message: { [k: string]: any }): (string|null);
4844
4845 /**
4846 * Creates a DeleteLogRequest message from a plain object. Also converts values to their respective internal types.
4847 * @param object Plain object
4848 * @returns DeleteLogRequest
4849 */
4850 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteLogRequest;
4851
4852 /**
4853 * Creates a plain object from a DeleteLogRequest message. Also converts values to other types if specified.
4854 * @param message DeleteLogRequest
4855 * @param [options] Conversion options
4856 * @returns Plain object
4857 */
4858 public static toObject(message: google.logging.v2.DeleteLogRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
4859
4860 /**
4861 * Converts this DeleteLogRequest to JSON.
4862 * @returns JSON object
4863 */
4864 public toJSON(): { [k: string]: any };
4865 }
4866
4867 /** Properties of a WriteLogEntriesRequest. */
4868 interface IWriteLogEntriesRequest {
4869
4870 /** WriteLogEntriesRequest logName */
4871 logName?: (string|null);
4872
4873 /** WriteLogEntriesRequest resource */
4874 resource?: (google.api.IMonitoredResource|null);
4875
4876 /** WriteLogEntriesRequest labels */
4877 labels?: ({ [k: string]: string }|null);
4878
4879 /** WriteLogEntriesRequest entries */
4880 entries?: (google.logging.v2.ILogEntry[]|null);
4881
4882 /** WriteLogEntriesRequest partialSuccess */
4883 partialSuccess?: (boolean|null);
4884
4885 /** WriteLogEntriesRequest dryRun */
4886 dryRun?: (boolean|null);
4887 }
4888
4889 /** Represents a WriteLogEntriesRequest. */
4890 class WriteLogEntriesRequest implements IWriteLogEntriesRequest {
4891
4892 /**
4893 * Constructs a new WriteLogEntriesRequest.
4894 * @param [properties] Properties to set
4895 */
4896 constructor(properties?: google.logging.v2.IWriteLogEntriesRequest);
4897
4898 /** WriteLogEntriesRequest logName. */
4899 public logName: string;
4900
4901 /** WriteLogEntriesRequest resource. */
4902 public resource?: (google.api.IMonitoredResource|null);
4903
4904 /** WriteLogEntriesRequest labels. */
4905 public labels: { [k: string]: string };
4906
4907 /** WriteLogEntriesRequest entries. */
4908 public entries: google.logging.v2.ILogEntry[];
4909
4910 /** WriteLogEntriesRequest partialSuccess. */
4911 public partialSuccess: boolean;
4912
4913 /** WriteLogEntriesRequest dryRun. */
4914 public dryRun: boolean;
4915
4916 /**
4917 * Creates a new WriteLogEntriesRequest instance using the specified properties.
4918 * @param [properties] Properties to set
4919 * @returns WriteLogEntriesRequest instance
4920 */
4921 public static create(properties?: google.logging.v2.IWriteLogEntriesRequest): google.logging.v2.WriteLogEntriesRequest;
4922
4923 /**
4924 * Encodes the specified WriteLogEntriesRequest message. Does not implicitly {@link google.logging.v2.WriteLogEntriesRequest.verify|verify} messages.
4925 * @param message WriteLogEntriesRequest message or plain object to encode
4926 * @param [writer] Writer to encode to
4927 * @returns Writer
4928 */
4929 public static encode(message: google.logging.v2.IWriteLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4930
4931 /**
4932 * Encodes the specified WriteLogEntriesRequest message, length delimited. Does not implicitly {@link google.logging.v2.WriteLogEntriesRequest.verify|verify} messages.
4933 * @param message WriteLogEntriesRequest message or plain object to encode
4934 * @param [writer] Writer to encode to
4935 * @returns Writer
4936 */
4937 public static encodeDelimited(message: google.logging.v2.IWriteLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
4938
4939 /**
4940 * Decodes a WriteLogEntriesRequest message from the specified reader or buffer.
4941 * @param reader Reader or buffer to decode from
4942 * @param [length] Message length if known beforehand
4943 * @returns WriteLogEntriesRequest
4944 * @throws {Error} If the payload is not a reader or valid buffer
4945 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4946 */
4947 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.WriteLogEntriesRequest;
4948
4949 /**
4950 * Decodes a WriteLogEntriesRequest message from the specified reader or buffer, length delimited.
4951 * @param reader Reader or buffer to decode from
4952 * @returns WriteLogEntriesRequest
4953 * @throws {Error} If the payload is not a reader or valid buffer
4954 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4955 */
4956 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.WriteLogEntriesRequest;
4957
4958 /**
4959 * Verifies a WriteLogEntriesRequest message.
4960 * @param message Plain object to verify
4961 * @returns `null` if valid, otherwise the reason why it is not
4962 */
4963 public static verify(message: { [k: string]: any }): (string|null);
4964
4965 /**
4966 * Creates a WriteLogEntriesRequest message from a plain object. Also converts values to their respective internal types.
4967 * @param object Plain object
4968 * @returns WriteLogEntriesRequest
4969 */
4970 public static fromObject(object: { [k: string]: any }): google.logging.v2.WriteLogEntriesRequest;
4971
4972 /**
4973 * Creates a plain object from a WriteLogEntriesRequest message. Also converts values to other types if specified.
4974 * @param message WriteLogEntriesRequest
4975 * @param [options] Conversion options
4976 * @returns Plain object
4977 */
4978 public static toObject(message: google.logging.v2.WriteLogEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
4979
4980 /**
4981 * Converts this WriteLogEntriesRequest to JSON.
4982 * @returns JSON object
4983 */
4984 public toJSON(): { [k: string]: any };
4985 }
4986
4987 /** Properties of a WriteLogEntriesResponse. */
4988 interface IWriteLogEntriesResponse {
4989 }
4990
4991 /** Represents a WriteLogEntriesResponse. */
4992 class WriteLogEntriesResponse implements IWriteLogEntriesResponse {
4993
4994 /**
4995 * Constructs a new WriteLogEntriesResponse.
4996 * @param [properties] Properties to set
4997 */
4998 constructor(properties?: google.logging.v2.IWriteLogEntriesResponse);
4999
5000 /**
5001 * Creates a new WriteLogEntriesResponse instance using the specified properties.
5002 * @param [properties] Properties to set
5003 * @returns WriteLogEntriesResponse instance
5004 */
5005 public static create(properties?: google.logging.v2.IWriteLogEntriesResponse): google.logging.v2.WriteLogEntriesResponse;
5006
5007 /**
5008 * Encodes the specified WriteLogEntriesResponse message. Does not implicitly {@link google.logging.v2.WriteLogEntriesResponse.verify|verify} messages.
5009 * @param message WriteLogEntriesResponse message or plain object to encode
5010 * @param [writer] Writer to encode to
5011 * @returns Writer
5012 */
5013 public static encode(message: google.logging.v2.IWriteLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5014
5015 /**
5016 * Encodes the specified WriteLogEntriesResponse message, length delimited. Does not implicitly {@link google.logging.v2.WriteLogEntriesResponse.verify|verify} messages.
5017 * @param message WriteLogEntriesResponse message or plain object to encode
5018 * @param [writer] Writer to encode to
5019 * @returns Writer
5020 */
5021 public static encodeDelimited(message: google.logging.v2.IWriteLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5022
5023 /**
5024 * Decodes a WriteLogEntriesResponse message from the specified reader or buffer.
5025 * @param reader Reader or buffer to decode from
5026 * @param [length] Message length if known beforehand
5027 * @returns WriteLogEntriesResponse
5028 * @throws {Error} If the payload is not a reader or valid buffer
5029 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5030 */
5031 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.WriteLogEntriesResponse;
5032
5033 /**
5034 * Decodes a WriteLogEntriesResponse message from the specified reader or buffer, length delimited.
5035 * @param reader Reader or buffer to decode from
5036 * @returns WriteLogEntriesResponse
5037 * @throws {Error} If the payload is not a reader or valid buffer
5038 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5039 */
5040 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.WriteLogEntriesResponse;
5041
5042 /**
5043 * Verifies a WriteLogEntriesResponse message.
5044 * @param message Plain object to verify
5045 * @returns `null` if valid, otherwise the reason why it is not
5046 */
5047 public static verify(message: { [k: string]: any }): (string|null);
5048
5049 /**
5050 * Creates a WriteLogEntriesResponse message from a plain object. Also converts values to their respective internal types.
5051 * @param object Plain object
5052 * @returns WriteLogEntriesResponse
5053 */
5054 public static fromObject(object: { [k: string]: any }): google.logging.v2.WriteLogEntriesResponse;
5055
5056 /**
5057 * Creates a plain object from a WriteLogEntriesResponse message. Also converts values to other types if specified.
5058 * @param message WriteLogEntriesResponse
5059 * @param [options] Conversion options
5060 * @returns Plain object
5061 */
5062 public static toObject(message: google.logging.v2.WriteLogEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
5063
5064 /**
5065 * Converts this WriteLogEntriesResponse to JSON.
5066 * @returns JSON object
5067 */
5068 public toJSON(): { [k: string]: any };
5069 }
5070
5071 /** Properties of a WriteLogEntriesPartialErrors. */
5072 interface IWriteLogEntriesPartialErrors {
5073
5074 /** WriteLogEntriesPartialErrors logEntryErrors */
5075 logEntryErrors?: ({ [k: string]: google.rpc.IStatus }|null);
5076 }
5077
5078 /** Represents a WriteLogEntriesPartialErrors. */
5079 class WriteLogEntriesPartialErrors implements IWriteLogEntriesPartialErrors {
5080
5081 /**
5082 * Constructs a new WriteLogEntriesPartialErrors.
5083 * @param [properties] Properties to set
5084 */
5085 constructor(properties?: google.logging.v2.IWriteLogEntriesPartialErrors);
5086
5087 /** WriteLogEntriesPartialErrors logEntryErrors. */
5088 public logEntryErrors: { [k: string]: google.rpc.IStatus };
5089
5090 /**
5091 * Creates a new WriteLogEntriesPartialErrors instance using the specified properties.
5092 * @param [properties] Properties to set
5093 * @returns WriteLogEntriesPartialErrors instance
5094 */
5095 public static create(properties?: google.logging.v2.IWriteLogEntriesPartialErrors): google.logging.v2.WriteLogEntriesPartialErrors;
5096
5097 /**
5098 * Encodes the specified WriteLogEntriesPartialErrors message. Does not implicitly {@link google.logging.v2.WriteLogEntriesPartialErrors.verify|verify} messages.
5099 * @param message WriteLogEntriesPartialErrors message or plain object to encode
5100 * @param [writer] Writer to encode to
5101 * @returns Writer
5102 */
5103 public static encode(message: google.logging.v2.IWriteLogEntriesPartialErrors, writer?: $protobuf.Writer): $protobuf.Writer;
5104
5105 /**
5106 * Encodes the specified WriteLogEntriesPartialErrors message, length delimited. Does not implicitly {@link google.logging.v2.WriteLogEntriesPartialErrors.verify|verify} messages.
5107 * @param message WriteLogEntriesPartialErrors message or plain object to encode
5108 * @param [writer] Writer to encode to
5109 * @returns Writer
5110 */
5111 public static encodeDelimited(message: google.logging.v2.IWriteLogEntriesPartialErrors, writer?: $protobuf.Writer): $protobuf.Writer;
5112
5113 /**
5114 * Decodes a WriteLogEntriesPartialErrors message from the specified reader or buffer.
5115 * @param reader Reader or buffer to decode from
5116 * @param [length] Message length if known beforehand
5117 * @returns WriteLogEntriesPartialErrors
5118 * @throws {Error} If the payload is not a reader or valid buffer
5119 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5120 */
5121 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.WriteLogEntriesPartialErrors;
5122
5123 /**
5124 * Decodes a WriteLogEntriesPartialErrors message from the specified reader or buffer, length delimited.
5125 * @param reader Reader or buffer to decode from
5126 * @returns WriteLogEntriesPartialErrors
5127 * @throws {Error} If the payload is not a reader or valid buffer
5128 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5129 */
5130 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.WriteLogEntriesPartialErrors;
5131
5132 /**
5133 * Verifies a WriteLogEntriesPartialErrors message.
5134 * @param message Plain object to verify
5135 * @returns `null` if valid, otherwise the reason why it is not
5136 */
5137 public static verify(message: { [k: string]: any }): (string|null);
5138
5139 /**
5140 * Creates a WriteLogEntriesPartialErrors message from a plain object. Also converts values to their respective internal types.
5141 * @param object Plain object
5142 * @returns WriteLogEntriesPartialErrors
5143 */
5144 public static fromObject(object: { [k: string]: any }): google.logging.v2.WriteLogEntriesPartialErrors;
5145
5146 /**
5147 * Creates a plain object from a WriteLogEntriesPartialErrors message. Also converts values to other types if specified.
5148 * @param message WriteLogEntriesPartialErrors
5149 * @param [options] Conversion options
5150 * @returns Plain object
5151 */
5152 public static toObject(message: google.logging.v2.WriteLogEntriesPartialErrors, options?: $protobuf.IConversionOptions): { [k: string]: any };
5153
5154 /**
5155 * Converts this WriteLogEntriesPartialErrors to JSON.
5156 * @returns JSON object
5157 */
5158 public toJSON(): { [k: string]: any };
5159 }
5160
5161 /** Properties of a ListLogEntriesRequest. */
5162 interface IListLogEntriesRequest {
5163
5164 /** ListLogEntriesRequest resourceNames */
5165 resourceNames?: (string[]|null);
5166
5167 /** ListLogEntriesRequest filter */
5168 filter?: (string|null);
5169
5170 /** ListLogEntriesRequest orderBy */
5171 orderBy?: (string|null);
5172
5173 /** ListLogEntriesRequest pageSize */
5174 pageSize?: (number|null);
5175
5176 /** ListLogEntriesRequest pageToken */
5177 pageToken?: (string|null);
5178 }
5179
5180 /** Represents a ListLogEntriesRequest. */
5181 class ListLogEntriesRequest implements IListLogEntriesRequest {
5182
5183 /**
5184 * Constructs a new ListLogEntriesRequest.
5185 * @param [properties] Properties to set
5186 */
5187 constructor(properties?: google.logging.v2.IListLogEntriesRequest);
5188
5189 /** ListLogEntriesRequest resourceNames. */
5190 public resourceNames: string[];
5191
5192 /** ListLogEntriesRequest filter. */
5193 public filter: string;
5194
5195 /** ListLogEntriesRequest orderBy. */
5196 public orderBy: string;
5197
5198 /** ListLogEntriesRequest pageSize. */
5199 public pageSize: number;
5200
5201 /** ListLogEntriesRequest pageToken. */
5202 public pageToken: string;
5203
5204 /**
5205 * Creates a new ListLogEntriesRequest instance using the specified properties.
5206 * @param [properties] Properties to set
5207 * @returns ListLogEntriesRequest instance
5208 */
5209 public static create(properties?: google.logging.v2.IListLogEntriesRequest): google.logging.v2.ListLogEntriesRequest;
5210
5211 /**
5212 * Encodes the specified ListLogEntriesRequest message. Does not implicitly {@link google.logging.v2.ListLogEntriesRequest.verify|verify} messages.
5213 * @param message ListLogEntriesRequest message or plain object to encode
5214 * @param [writer] Writer to encode to
5215 * @returns Writer
5216 */
5217 public static encode(message: google.logging.v2.IListLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5218
5219 /**
5220 * Encodes the specified ListLogEntriesRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListLogEntriesRequest.verify|verify} messages.
5221 * @param message ListLogEntriesRequest message or plain object to encode
5222 * @param [writer] Writer to encode to
5223 * @returns Writer
5224 */
5225 public static encodeDelimited(message: google.logging.v2.IListLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5226
5227 /**
5228 * Decodes a ListLogEntriesRequest message from the specified reader or buffer.
5229 * @param reader Reader or buffer to decode from
5230 * @param [length] Message length if known beforehand
5231 * @returns ListLogEntriesRequest
5232 * @throws {Error} If the payload is not a reader or valid buffer
5233 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5234 */
5235 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogEntriesRequest;
5236
5237 /**
5238 * Decodes a ListLogEntriesRequest message from the specified reader or buffer, length delimited.
5239 * @param reader Reader or buffer to decode from
5240 * @returns ListLogEntriesRequest
5241 * @throws {Error} If the payload is not a reader or valid buffer
5242 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5243 */
5244 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogEntriesRequest;
5245
5246 /**
5247 * Verifies a ListLogEntriesRequest message.
5248 * @param message Plain object to verify
5249 * @returns `null` if valid, otherwise the reason why it is not
5250 */
5251 public static verify(message: { [k: string]: any }): (string|null);
5252
5253 /**
5254 * Creates a ListLogEntriesRequest message from a plain object. Also converts values to their respective internal types.
5255 * @param object Plain object
5256 * @returns ListLogEntriesRequest
5257 */
5258 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogEntriesRequest;
5259
5260 /**
5261 * Creates a plain object from a ListLogEntriesRequest message. Also converts values to other types if specified.
5262 * @param message ListLogEntriesRequest
5263 * @param [options] Conversion options
5264 * @returns Plain object
5265 */
5266 public static toObject(message: google.logging.v2.ListLogEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
5267
5268 /**
5269 * Converts this ListLogEntriesRequest to JSON.
5270 * @returns JSON object
5271 */
5272 public toJSON(): { [k: string]: any };
5273 }
5274
5275 /** Properties of a ListLogEntriesResponse. */
5276 interface IListLogEntriesResponse {
5277
5278 /** ListLogEntriesResponse entries */
5279 entries?: (google.logging.v2.ILogEntry[]|null);
5280
5281 /** ListLogEntriesResponse nextPageToken */
5282 nextPageToken?: (string|null);
5283 }
5284
5285 /** Represents a ListLogEntriesResponse. */
5286 class ListLogEntriesResponse implements IListLogEntriesResponse {
5287
5288 /**
5289 * Constructs a new ListLogEntriesResponse.
5290 * @param [properties] Properties to set
5291 */
5292 constructor(properties?: google.logging.v2.IListLogEntriesResponse);
5293
5294 /** ListLogEntriesResponse entries. */
5295 public entries: google.logging.v2.ILogEntry[];
5296
5297 /** ListLogEntriesResponse nextPageToken. */
5298 public nextPageToken: string;
5299
5300 /**
5301 * Creates a new ListLogEntriesResponse instance using the specified properties.
5302 * @param [properties] Properties to set
5303 * @returns ListLogEntriesResponse instance
5304 */
5305 public static create(properties?: google.logging.v2.IListLogEntriesResponse): google.logging.v2.ListLogEntriesResponse;
5306
5307 /**
5308 * Encodes the specified ListLogEntriesResponse message. Does not implicitly {@link google.logging.v2.ListLogEntriesResponse.verify|verify} messages.
5309 * @param message ListLogEntriesResponse message or plain object to encode
5310 * @param [writer] Writer to encode to
5311 * @returns Writer
5312 */
5313 public static encode(message: google.logging.v2.IListLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5314
5315 /**
5316 * Encodes the specified ListLogEntriesResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListLogEntriesResponse.verify|verify} messages.
5317 * @param message ListLogEntriesResponse message or plain object to encode
5318 * @param [writer] Writer to encode to
5319 * @returns Writer
5320 */
5321 public static encodeDelimited(message: google.logging.v2.IListLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5322
5323 /**
5324 * Decodes a ListLogEntriesResponse message from the specified reader or buffer.
5325 * @param reader Reader or buffer to decode from
5326 * @param [length] Message length if known beforehand
5327 * @returns ListLogEntriesResponse
5328 * @throws {Error} If the payload is not a reader or valid buffer
5329 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5330 */
5331 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogEntriesResponse;
5332
5333 /**
5334 * Decodes a ListLogEntriesResponse message from the specified reader or buffer, length delimited.
5335 * @param reader Reader or buffer to decode from
5336 * @returns ListLogEntriesResponse
5337 * @throws {Error} If the payload is not a reader or valid buffer
5338 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5339 */
5340 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogEntriesResponse;
5341
5342 /**
5343 * Verifies a ListLogEntriesResponse message.
5344 * @param message Plain object to verify
5345 * @returns `null` if valid, otherwise the reason why it is not
5346 */
5347 public static verify(message: { [k: string]: any }): (string|null);
5348
5349 /**
5350 * Creates a ListLogEntriesResponse message from a plain object. Also converts values to their respective internal types.
5351 * @param object Plain object
5352 * @returns ListLogEntriesResponse
5353 */
5354 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogEntriesResponse;
5355
5356 /**
5357 * Creates a plain object from a ListLogEntriesResponse message. Also converts values to other types if specified.
5358 * @param message ListLogEntriesResponse
5359 * @param [options] Conversion options
5360 * @returns Plain object
5361 */
5362 public static toObject(message: google.logging.v2.ListLogEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
5363
5364 /**
5365 * Converts this ListLogEntriesResponse to JSON.
5366 * @returns JSON object
5367 */
5368 public toJSON(): { [k: string]: any };
5369 }
5370
5371 /** Properties of a ListMonitoredResourceDescriptorsRequest. */
5372 interface IListMonitoredResourceDescriptorsRequest {
5373
5374 /** ListMonitoredResourceDescriptorsRequest pageSize */
5375 pageSize?: (number|null);
5376
5377 /** ListMonitoredResourceDescriptorsRequest pageToken */
5378 pageToken?: (string|null);
5379 }
5380
5381 /** Represents a ListMonitoredResourceDescriptorsRequest. */
5382 class ListMonitoredResourceDescriptorsRequest implements IListMonitoredResourceDescriptorsRequest {
5383
5384 /**
5385 * Constructs a new ListMonitoredResourceDescriptorsRequest.
5386 * @param [properties] Properties to set
5387 */
5388 constructor(properties?: google.logging.v2.IListMonitoredResourceDescriptorsRequest);
5389
5390 /** ListMonitoredResourceDescriptorsRequest pageSize. */
5391 public pageSize: number;
5392
5393 /** ListMonitoredResourceDescriptorsRequest pageToken. */
5394 public pageToken: string;
5395
5396 /**
5397 * Creates a new ListMonitoredResourceDescriptorsRequest instance using the specified properties.
5398 * @param [properties] Properties to set
5399 * @returns ListMonitoredResourceDescriptorsRequest instance
5400 */
5401 public static create(properties?: google.logging.v2.IListMonitoredResourceDescriptorsRequest): google.logging.v2.ListMonitoredResourceDescriptorsRequest;
5402
5403 /**
5404 * Encodes the specified ListMonitoredResourceDescriptorsRequest message. Does not implicitly {@link google.logging.v2.ListMonitoredResourceDescriptorsRequest.verify|verify} messages.
5405 * @param message ListMonitoredResourceDescriptorsRequest message or plain object to encode
5406 * @param [writer] Writer to encode to
5407 * @returns Writer
5408 */
5409 public static encode(message: google.logging.v2.IListMonitoredResourceDescriptorsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5410
5411 /**
5412 * Encodes the specified ListMonitoredResourceDescriptorsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListMonitoredResourceDescriptorsRequest.verify|verify} messages.
5413 * @param message ListMonitoredResourceDescriptorsRequest message or plain object to encode
5414 * @param [writer] Writer to encode to
5415 * @returns Writer
5416 */
5417 public static encodeDelimited(message: google.logging.v2.IListMonitoredResourceDescriptorsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5418
5419 /**
5420 * Decodes a ListMonitoredResourceDescriptorsRequest message from the specified reader or buffer.
5421 * @param reader Reader or buffer to decode from
5422 * @param [length] Message length if known beforehand
5423 * @returns ListMonitoredResourceDescriptorsRequest
5424 * @throws {Error} If the payload is not a reader or valid buffer
5425 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5426 */
5427 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListMonitoredResourceDescriptorsRequest;
5428
5429 /**
5430 * Decodes a ListMonitoredResourceDescriptorsRequest message from the specified reader or buffer, length delimited.
5431 * @param reader Reader or buffer to decode from
5432 * @returns ListMonitoredResourceDescriptorsRequest
5433 * @throws {Error} If the payload is not a reader or valid buffer
5434 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5435 */
5436 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListMonitoredResourceDescriptorsRequest;
5437
5438 /**
5439 * Verifies a ListMonitoredResourceDescriptorsRequest message.
5440 * @param message Plain object to verify
5441 * @returns `null` if valid, otherwise the reason why it is not
5442 */
5443 public static verify(message: { [k: string]: any }): (string|null);
5444
5445 /**
5446 * Creates a ListMonitoredResourceDescriptorsRequest message from a plain object. Also converts values to their respective internal types.
5447 * @param object Plain object
5448 * @returns ListMonitoredResourceDescriptorsRequest
5449 */
5450 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListMonitoredResourceDescriptorsRequest;
5451
5452 /**
5453 * Creates a plain object from a ListMonitoredResourceDescriptorsRequest message. Also converts values to other types if specified.
5454 * @param message ListMonitoredResourceDescriptorsRequest
5455 * @param [options] Conversion options
5456 * @returns Plain object
5457 */
5458 public static toObject(message: google.logging.v2.ListMonitoredResourceDescriptorsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
5459
5460 /**
5461 * Converts this ListMonitoredResourceDescriptorsRequest to JSON.
5462 * @returns JSON object
5463 */
5464 public toJSON(): { [k: string]: any };
5465 }
5466
5467 /** Properties of a ListMonitoredResourceDescriptorsResponse. */
5468 interface IListMonitoredResourceDescriptorsResponse {
5469
5470 /** ListMonitoredResourceDescriptorsResponse resourceDescriptors */
5471 resourceDescriptors?: (google.api.IMonitoredResourceDescriptor[]|null);
5472
5473 /** ListMonitoredResourceDescriptorsResponse nextPageToken */
5474 nextPageToken?: (string|null);
5475 }
5476
5477 /** Represents a ListMonitoredResourceDescriptorsResponse. */
5478 class ListMonitoredResourceDescriptorsResponse implements IListMonitoredResourceDescriptorsResponse {
5479
5480 /**
5481 * Constructs a new ListMonitoredResourceDescriptorsResponse.
5482 * @param [properties] Properties to set
5483 */
5484 constructor(properties?: google.logging.v2.IListMonitoredResourceDescriptorsResponse);
5485
5486 /** ListMonitoredResourceDescriptorsResponse resourceDescriptors. */
5487 public resourceDescriptors: google.api.IMonitoredResourceDescriptor[];
5488
5489 /** ListMonitoredResourceDescriptorsResponse nextPageToken. */
5490 public nextPageToken: string;
5491
5492 /**
5493 * Creates a new ListMonitoredResourceDescriptorsResponse instance using the specified properties.
5494 * @param [properties] Properties to set
5495 * @returns ListMonitoredResourceDescriptorsResponse instance
5496 */
5497 public static create(properties?: google.logging.v2.IListMonitoredResourceDescriptorsResponse): google.logging.v2.ListMonitoredResourceDescriptorsResponse;
5498
5499 /**
5500 * Encodes the specified ListMonitoredResourceDescriptorsResponse message. Does not implicitly {@link google.logging.v2.ListMonitoredResourceDescriptorsResponse.verify|verify} messages.
5501 * @param message ListMonitoredResourceDescriptorsResponse message or plain object to encode
5502 * @param [writer] Writer to encode to
5503 * @returns Writer
5504 */
5505 public static encode(message: google.logging.v2.IListMonitoredResourceDescriptorsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5506
5507 /**
5508 * Encodes the specified ListMonitoredResourceDescriptorsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListMonitoredResourceDescriptorsResponse.verify|verify} messages.
5509 * @param message ListMonitoredResourceDescriptorsResponse message or plain object to encode
5510 * @param [writer] Writer to encode to
5511 * @returns Writer
5512 */
5513 public static encodeDelimited(message: google.logging.v2.IListMonitoredResourceDescriptorsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5514
5515 /**
5516 * Decodes a ListMonitoredResourceDescriptorsResponse message from the specified reader or buffer.
5517 * @param reader Reader or buffer to decode from
5518 * @param [length] Message length if known beforehand
5519 * @returns ListMonitoredResourceDescriptorsResponse
5520 * @throws {Error} If the payload is not a reader or valid buffer
5521 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5522 */
5523 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListMonitoredResourceDescriptorsResponse;
5524
5525 /**
5526 * Decodes a ListMonitoredResourceDescriptorsResponse message from the specified reader or buffer, length delimited.
5527 * @param reader Reader or buffer to decode from
5528 * @returns ListMonitoredResourceDescriptorsResponse
5529 * @throws {Error} If the payload is not a reader or valid buffer
5530 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5531 */
5532 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListMonitoredResourceDescriptorsResponse;
5533
5534 /**
5535 * Verifies a ListMonitoredResourceDescriptorsResponse message.
5536 * @param message Plain object to verify
5537 * @returns `null` if valid, otherwise the reason why it is not
5538 */
5539 public static verify(message: { [k: string]: any }): (string|null);
5540
5541 /**
5542 * Creates a ListMonitoredResourceDescriptorsResponse message from a plain object. Also converts values to their respective internal types.
5543 * @param object Plain object
5544 * @returns ListMonitoredResourceDescriptorsResponse
5545 */
5546 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListMonitoredResourceDescriptorsResponse;
5547
5548 /**
5549 * Creates a plain object from a ListMonitoredResourceDescriptorsResponse message. Also converts values to other types if specified.
5550 * @param message ListMonitoredResourceDescriptorsResponse
5551 * @param [options] Conversion options
5552 * @returns Plain object
5553 */
5554 public static toObject(message: google.logging.v2.ListMonitoredResourceDescriptorsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
5555
5556 /**
5557 * Converts this ListMonitoredResourceDescriptorsResponse to JSON.
5558 * @returns JSON object
5559 */
5560 public toJSON(): { [k: string]: any };
5561 }
5562
5563 /** Properties of a ListLogsRequest. */
5564 interface IListLogsRequest {
5565
5566 /** ListLogsRequest parent */
5567 parent?: (string|null);
5568
5569 /** ListLogsRequest pageSize */
5570 pageSize?: (number|null);
5571
5572 /** ListLogsRequest pageToken */
5573 pageToken?: (string|null);
5574
5575 /** ListLogsRequest resourceNames */
5576 resourceNames?: (string[]|null);
5577 }
5578
5579 /** Represents a ListLogsRequest. */
5580 class ListLogsRequest implements IListLogsRequest {
5581
5582 /**
5583 * Constructs a new ListLogsRequest.
5584 * @param [properties] Properties to set
5585 */
5586 constructor(properties?: google.logging.v2.IListLogsRequest);
5587
5588 /** ListLogsRequest parent. */
5589 public parent: string;
5590
5591 /** ListLogsRequest pageSize. */
5592 public pageSize: number;
5593
5594 /** ListLogsRequest pageToken. */
5595 public pageToken: string;
5596
5597 /** ListLogsRequest resourceNames. */
5598 public resourceNames: string[];
5599
5600 /**
5601 * Creates a new ListLogsRequest instance using the specified properties.
5602 * @param [properties] Properties to set
5603 * @returns ListLogsRequest instance
5604 */
5605 public static create(properties?: google.logging.v2.IListLogsRequest): google.logging.v2.ListLogsRequest;
5606
5607 /**
5608 * Encodes the specified ListLogsRequest message. Does not implicitly {@link google.logging.v2.ListLogsRequest.verify|verify} messages.
5609 * @param message ListLogsRequest message or plain object to encode
5610 * @param [writer] Writer to encode to
5611 * @returns Writer
5612 */
5613 public static encode(message: google.logging.v2.IListLogsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5614
5615 /**
5616 * Encodes the specified ListLogsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListLogsRequest.verify|verify} messages.
5617 * @param message ListLogsRequest message or plain object to encode
5618 * @param [writer] Writer to encode to
5619 * @returns Writer
5620 */
5621 public static encodeDelimited(message: google.logging.v2.IListLogsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5622
5623 /**
5624 * Decodes a ListLogsRequest message from the specified reader or buffer.
5625 * @param reader Reader or buffer to decode from
5626 * @param [length] Message length if known beforehand
5627 * @returns ListLogsRequest
5628 * @throws {Error} If the payload is not a reader or valid buffer
5629 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5630 */
5631 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogsRequest;
5632
5633 /**
5634 * Decodes a ListLogsRequest message from the specified reader or buffer, length delimited.
5635 * @param reader Reader or buffer to decode from
5636 * @returns ListLogsRequest
5637 * @throws {Error} If the payload is not a reader or valid buffer
5638 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5639 */
5640 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogsRequest;
5641
5642 /**
5643 * Verifies a ListLogsRequest message.
5644 * @param message Plain object to verify
5645 * @returns `null` if valid, otherwise the reason why it is not
5646 */
5647 public static verify(message: { [k: string]: any }): (string|null);
5648
5649 /**
5650 * Creates a ListLogsRequest message from a plain object. Also converts values to their respective internal types.
5651 * @param object Plain object
5652 * @returns ListLogsRequest
5653 */
5654 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogsRequest;
5655
5656 /**
5657 * Creates a plain object from a ListLogsRequest message. Also converts values to other types if specified.
5658 * @param message ListLogsRequest
5659 * @param [options] Conversion options
5660 * @returns Plain object
5661 */
5662 public static toObject(message: google.logging.v2.ListLogsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
5663
5664 /**
5665 * Converts this ListLogsRequest to JSON.
5666 * @returns JSON object
5667 */
5668 public toJSON(): { [k: string]: any };
5669 }
5670
5671 /** Properties of a ListLogsResponse. */
5672 interface IListLogsResponse {
5673
5674 /** ListLogsResponse logNames */
5675 logNames?: (string[]|null);
5676
5677 /** ListLogsResponse nextPageToken */
5678 nextPageToken?: (string|null);
5679 }
5680
5681 /** Represents a ListLogsResponse. */
5682 class ListLogsResponse implements IListLogsResponse {
5683
5684 /**
5685 * Constructs a new ListLogsResponse.
5686 * @param [properties] Properties to set
5687 */
5688 constructor(properties?: google.logging.v2.IListLogsResponse);
5689
5690 /** ListLogsResponse logNames. */
5691 public logNames: string[];
5692
5693 /** ListLogsResponse nextPageToken. */
5694 public nextPageToken: string;
5695
5696 /**
5697 * Creates a new ListLogsResponse instance using the specified properties.
5698 * @param [properties] Properties to set
5699 * @returns ListLogsResponse instance
5700 */
5701 public static create(properties?: google.logging.v2.IListLogsResponse): google.logging.v2.ListLogsResponse;
5702
5703 /**
5704 * Encodes the specified ListLogsResponse message. Does not implicitly {@link google.logging.v2.ListLogsResponse.verify|verify} messages.
5705 * @param message ListLogsResponse message or plain object to encode
5706 * @param [writer] Writer to encode to
5707 * @returns Writer
5708 */
5709 public static encode(message: google.logging.v2.IListLogsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5710
5711 /**
5712 * Encodes the specified ListLogsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListLogsResponse.verify|verify} messages.
5713 * @param message ListLogsResponse message or plain object to encode
5714 * @param [writer] Writer to encode to
5715 * @returns Writer
5716 */
5717 public static encodeDelimited(message: google.logging.v2.IListLogsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5718
5719 /**
5720 * Decodes a ListLogsResponse message from the specified reader or buffer.
5721 * @param reader Reader or buffer to decode from
5722 * @param [length] Message length if known beforehand
5723 * @returns ListLogsResponse
5724 * @throws {Error} If the payload is not a reader or valid buffer
5725 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5726 */
5727 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogsResponse;
5728
5729 /**
5730 * Decodes a ListLogsResponse message from the specified reader or buffer, length delimited.
5731 * @param reader Reader or buffer to decode from
5732 * @returns ListLogsResponse
5733 * @throws {Error} If the payload is not a reader or valid buffer
5734 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5735 */
5736 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogsResponse;
5737
5738 /**
5739 * Verifies a ListLogsResponse message.
5740 * @param message Plain object to verify
5741 * @returns `null` if valid, otherwise the reason why it is not
5742 */
5743 public static verify(message: { [k: string]: any }): (string|null);
5744
5745 /**
5746 * Creates a ListLogsResponse message from a plain object. Also converts values to their respective internal types.
5747 * @param object Plain object
5748 * @returns ListLogsResponse
5749 */
5750 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogsResponse;
5751
5752 /**
5753 * Creates a plain object from a ListLogsResponse message. Also converts values to other types if specified.
5754 * @param message ListLogsResponse
5755 * @param [options] Conversion options
5756 * @returns Plain object
5757 */
5758 public static toObject(message: google.logging.v2.ListLogsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
5759
5760 /**
5761 * Converts this ListLogsResponse to JSON.
5762 * @returns JSON object
5763 */
5764 public toJSON(): { [k: string]: any };
5765 }
5766
5767 /** Properties of a TailLogEntriesRequest. */
5768 interface ITailLogEntriesRequest {
5769
5770 /** TailLogEntriesRequest resourceNames */
5771 resourceNames?: (string[]|null);
5772
5773 /** TailLogEntriesRequest filter */
5774 filter?: (string|null);
5775
5776 /** TailLogEntriesRequest bufferWindow */
5777 bufferWindow?: (google.protobuf.IDuration|null);
5778 }
5779
5780 /** Represents a TailLogEntriesRequest. */
5781 class TailLogEntriesRequest implements ITailLogEntriesRequest {
5782
5783 /**
5784 * Constructs a new TailLogEntriesRequest.
5785 * @param [properties] Properties to set
5786 */
5787 constructor(properties?: google.logging.v2.ITailLogEntriesRequest);
5788
5789 /** TailLogEntriesRequest resourceNames. */
5790 public resourceNames: string[];
5791
5792 /** TailLogEntriesRequest filter. */
5793 public filter: string;
5794
5795 /** TailLogEntriesRequest bufferWindow. */
5796 public bufferWindow?: (google.protobuf.IDuration|null);
5797
5798 /**
5799 * Creates a new TailLogEntriesRequest instance using the specified properties.
5800 * @param [properties] Properties to set
5801 * @returns TailLogEntriesRequest instance
5802 */
5803 public static create(properties?: google.logging.v2.ITailLogEntriesRequest): google.logging.v2.TailLogEntriesRequest;
5804
5805 /**
5806 * Encodes the specified TailLogEntriesRequest message. Does not implicitly {@link google.logging.v2.TailLogEntriesRequest.verify|verify} messages.
5807 * @param message TailLogEntriesRequest message or plain object to encode
5808 * @param [writer] Writer to encode to
5809 * @returns Writer
5810 */
5811 public static encode(message: google.logging.v2.ITailLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5812
5813 /**
5814 * Encodes the specified TailLogEntriesRequest message, length delimited. Does not implicitly {@link google.logging.v2.TailLogEntriesRequest.verify|verify} messages.
5815 * @param message TailLogEntriesRequest message or plain object to encode
5816 * @param [writer] Writer to encode to
5817 * @returns Writer
5818 */
5819 public static encodeDelimited(message: google.logging.v2.ITailLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5820
5821 /**
5822 * Decodes a TailLogEntriesRequest message from the specified reader or buffer.
5823 * @param reader Reader or buffer to decode from
5824 * @param [length] Message length if known beforehand
5825 * @returns TailLogEntriesRequest
5826 * @throws {Error} If the payload is not a reader or valid buffer
5827 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5828 */
5829 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.TailLogEntriesRequest;
5830
5831 /**
5832 * Decodes a TailLogEntriesRequest message from the specified reader or buffer, length delimited.
5833 * @param reader Reader or buffer to decode from
5834 * @returns TailLogEntriesRequest
5835 * @throws {Error} If the payload is not a reader or valid buffer
5836 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5837 */
5838 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.TailLogEntriesRequest;
5839
5840 /**
5841 * Verifies a TailLogEntriesRequest message.
5842 * @param message Plain object to verify
5843 * @returns `null` if valid, otherwise the reason why it is not
5844 */
5845 public static verify(message: { [k: string]: any }): (string|null);
5846
5847 /**
5848 * Creates a TailLogEntriesRequest message from a plain object. Also converts values to their respective internal types.
5849 * @param object Plain object
5850 * @returns TailLogEntriesRequest
5851 */
5852 public static fromObject(object: { [k: string]: any }): google.logging.v2.TailLogEntriesRequest;
5853
5854 /**
5855 * Creates a plain object from a TailLogEntriesRequest message. Also converts values to other types if specified.
5856 * @param message TailLogEntriesRequest
5857 * @param [options] Conversion options
5858 * @returns Plain object
5859 */
5860 public static toObject(message: google.logging.v2.TailLogEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
5861
5862 /**
5863 * Converts this TailLogEntriesRequest to JSON.
5864 * @returns JSON object
5865 */
5866 public toJSON(): { [k: string]: any };
5867 }
5868
5869 /** Properties of a TailLogEntriesResponse. */
5870 interface ITailLogEntriesResponse {
5871
5872 /** TailLogEntriesResponse entries */
5873 entries?: (google.logging.v2.ILogEntry[]|null);
5874
5875 /** TailLogEntriesResponse suppressionInfo */
5876 suppressionInfo?: (google.logging.v2.TailLogEntriesResponse.ISuppressionInfo[]|null);
5877 }
5878
5879 /** Represents a TailLogEntriesResponse. */
5880 class TailLogEntriesResponse implements ITailLogEntriesResponse {
5881
5882 /**
5883 * Constructs a new TailLogEntriesResponse.
5884 * @param [properties] Properties to set
5885 */
5886 constructor(properties?: google.logging.v2.ITailLogEntriesResponse);
5887
5888 /** TailLogEntriesResponse entries. */
5889 public entries: google.logging.v2.ILogEntry[];
5890
5891 /** TailLogEntriesResponse suppressionInfo. */
5892 public suppressionInfo: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo[];
5893
5894 /**
5895 * Creates a new TailLogEntriesResponse instance using the specified properties.
5896 * @param [properties] Properties to set
5897 * @returns TailLogEntriesResponse instance
5898 */
5899 public static create(properties?: google.logging.v2.ITailLogEntriesResponse): google.logging.v2.TailLogEntriesResponse;
5900
5901 /**
5902 * Encodes the specified TailLogEntriesResponse message. Does not implicitly {@link google.logging.v2.TailLogEntriesResponse.verify|verify} messages.
5903 * @param message TailLogEntriesResponse message or plain object to encode
5904 * @param [writer] Writer to encode to
5905 * @returns Writer
5906 */
5907 public static encode(message: google.logging.v2.ITailLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5908
5909 /**
5910 * Encodes the specified TailLogEntriesResponse message, length delimited. Does not implicitly {@link google.logging.v2.TailLogEntriesResponse.verify|verify} messages.
5911 * @param message TailLogEntriesResponse message or plain object to encode
5912 * @param [writer] Writer to encode to
5913 * @returns Writer
5914 */
5915 public static encodeDelimited(message: google.logging.v2.ITailLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
5916
5917 /**
5918 * Decodes a TailLogEntriesResponse message from the specified reader or buffer.
5919 * @param reader Reader or buffer to decode from
5920 * @param [length] Message length if known beforehand
5921 * @returns TailLogEntriesResponse
5922 * @throws {Error} If the payload is not a reader or valid buffer
5923 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5924 */
5925 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.TailLogEntriesResponse;
5926
5927 /**
5928 * Decodes a TailLogEntriesResponse message from the specified reader or buffer, length delimited.
5929 * @param reader Reader or buffer to decode from
5930 * @returns TailLogEntriesResponse
5931 * @throws {Error} If the payload is not a reader or valid buffer
5932 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5933 */
5934 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.TailLogEntriesResponse;
5935
5936 /**
5937 * Verifies a TailLogEntriesResponse message.
5938 * @param message Plain object to verify
5939 * @returns `null` if valid, otherwise the reason why it is not
5940 */
5941 public static verify(message: { [k: string]: any }): (string|null);
5942
5943 /**
5944 * Creates a TailLogEntriesResponse message from a plain object. Also converts values to their respective internal types.
5945 * @param object Plain object
5946 * @returns TailLogEntriesResponse
5947 */
5948 public static fromObject(object: { [k: string]: any }): google.logging.v2.TailLogEntriesResponse;
5949
5950 /**
5951 * Creates a plain object from a TailLogEntriesResponse message. Also converts values to other types if specified.
5952 * @param message TailLogEntriesResponse
5953 * @param [options] Conversion options
5954 * @returns Plain object
5955 */
5956 public static toObject(message: google.logging.v2.TailLogEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
5957
5958 /**
5959 * Converts this TailLogEntriesResponse to JSON.
5960 * @returns JSON object
5961 */
5962 public toJSON(): { [k: string]: any };
5963 }
5964
5965 namespace TailLogEntriesResponse {
5966
5967 /** Properties of a SuppressionInfo. */
5968 interface ISuppressionInfo {
5969
5970 /** SuppressionInfo reason */
5971 reason?: (google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason|keyof typeof google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason|null);
5972
5973 /** SuppressionInfo suppressedCount */
5974 suppressedCount?: (number|null);
5975 }
5976
5977 /** Represents a SuppressionInfo. */
5978 class SuppressionInfo implements ISuppressionInfo {
5979
5980 /**
5981 * Constructs a new SuppressionInfo.
5982 * @param [properties] Properties to set
5983 */
5984 constructor(properties?: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo);
5985
5986 /** SuppressionInfo reason. */
5987 public reason: (google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason|keyof typeof google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason);
5988
5989 /** SuppressionInfo suppressedCount. */
5990 public suppressedCount: number;
5991
5992 /**
5993 * Creates a new SuppressionInfo instance using the specified properties.
5994 * @param [properties] Properties to set
5995 * @returns SuppressionInfo instance
5996 */
5997 public static create(properties?: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo): google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
5998
5999 /**
6000 * Encodes the specified SuppressionInfo message. Does not implicitly {@link google.logging.v2.TailLogEntriesResponse.SuppressionInfo.verify|verify} messages.
6001 * @param message SuppressionInfo message or plain object to encode
6002 * @param [writer] Writer to encode to
6003 * @returns Writer
6004 */
6005 public static encode(message: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
6006
6007 /**
6008 * Encodes the specified SuppressionInfo message, length delimited. Does not implicitly {@link google.logging.v2.TailLogEntriesResponse.SuppressionInfo.verify|verify} messages.
6009 * @param message SuppressionInfo message or plain object to encode
6010 * @param [writer] Writer to encode to
6011 * @returns Writer
6012 */
6013 public static encodeDelimited(message: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
6014
6015 /**
6016 * Decodes a SuppressionInfo message from the specified reader or buffer.
6017 * @param reader Reader or buffer to decode from
6018 * @param [length] Message length if known beforehand
6019 * @returns SuppressionInfo
6020 * @throws {Error} If the payload is not a reader or valid buffer
6021 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6022 */
6023 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
6024
6025 /**
6026 * Decodes a SuppressionInfo message from the specified reader or buffer, length delimited.
6027 * @param reader Reader or buffer to decode from
6028 * @returns SuppressionInfo
6029 * @throws {Error} If the payload is not a reader or valid buffer
6030 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6031 */
6032 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
6033
6034 /**
6035 * Verifies a SuppressionInfo message.
6036 * @param message Plain object to verify
6037 * @returns `null` if valid, otherwise the reason why it is not
6038 */
6039 public static verify(message: { [k: string]: any }): (string|null);
6040
6041 /**
6042 * Creates a SuppressionInfo message from a plain object. Also converts values to their respective internal types.
6043 * @param object Plain object
6044 * @returns SuppressionInfo
6045 */
6046 public static fromObject(object: { [k: string]: any }): google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
6047
6048 /**
6049 * Creates a plain object from a SuppressionInfo message. Also converts values to other types if specified.
6050 * @param message SuppressionInfo
6051 * @param [options] Conversion options
6052 * @returns Plain object
6053 */
6054 public static toObject(message: google.logging.v2.TailLogEntriesResponse.SuppressionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
6055
6056 /**
6057 * Converts this SuppressionInfo to JSON.
6058 * @returns JSON object
6059 */
6060 public toJSON(): { [k: string]: any };
6061 }
6062
6063 namespace SuppressionInfo {
6064
6065 /** Reason enum. */
6066 enum Reason {
6067 REASON_UNSPECIFIED = 0,
6068 RATE_LIMIT = 1,
6069 NOT_CONSUMED = 2
6070 }
6071 }
6072 }
6073
6074 /** Represents a ConfigServiceV2 */
6075 class ConfigServiceV2 extends $protobuf.rpc.Service {
6076
6077 /**
6078 * Constructs a new ConfigServiceV2 service.
6079 * @param rpcImpl RPC implementation
6080 * @param [requestDelimited=false] Whether requests are length-delimited
6081 * @param [responseDelimited=false] Whether responses are length-delimited
6082 */
6083 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
6084
6085 /**
6086 * Creates new ConfigServiceV2 service using the specified rpc implementation.
6087 * @param rpcImpl RPC implementation
6088 * @param [requestDelimited=false] Whether requests are length-delimited
6089 * @param [responseDelimited=false] Whether responses are length-delimited
6090 * @returns RPC service. Useful where requests and/or responses are streamed.
6091 */
6092 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ConfigServiceV2;
6093
6094 /**
6095 * Calls ListBuckets.
6096 * @param request ListBucketsRequest message or plain object
6097 * @param callback Node-style callback called with the error, if any, and ListBucketsResponse
6098 */
6099 public listBuckets(request: google.logging.v2.IListBucketsRequest, callback: google.logging.v2.ConfigServiceV2.ListBucketsCallback): void;
6100
6101 /**
6102 * Calls ListBuckets.
6103 * @param request ListBucketsRequest message or plain object
6104 * @returns Promise
6105 */
6106 public listBuckets(request: google.logging.v2.IListBucketsRequest): Promise<google.logging.v2.ListBucketsResponse>;
6107
6108 /**
6109 * Calls GetBucket.
6110 * @param request GetBucketRequest message or plain object
6111 * @param callback Node-style callback called with the error, if any, and LogBucket
6112 */
6113 public getBucket(request: google.logging.v2.IGetBucketRequest, callback: google.logging.v2.ConfigServiceV2.GetBucketCallback): void;
6114
6115 /**
6116 * Calls GetBucket.
6117 * @param request GetBucketRequest message or plain object
6118 * @returns Promise
6119 */
6120 public getBucket(request: google.logging.v2.IGetBucketRequest): Promise<google.logging.v2.LogBucket>;
6121
6122 /**
6123 * Calls CreateBucket.
6124 * @param request CreateBucketRequest message or plain object
6125 * @param callback Node-style callback called with the error, if any, and LogBucket
6126 */
6127 public createBucket(request: google.logging.v2.ICreateBucketRequest, callback: google.logging.v2.ConfigServiceV2.CreateBucketCallback): void;
6128
6129 /**
6130 * Calls CreateBucket.
6131 * @param request CreateBucketRequest message or plain object
6132 * @returns Promise
6133 */
6134 public createBucket(request: google.logging.v2.ICreateBucketRequest): Promise<google.logging.v2.LogBucket>;
6135
6136 /**
6137 * Calls UpdateBucket.
6138 * @param request UpdateBucketRequest message or plain object
6139 * @param callback Node-style callback called with the error, if any, and LogBucket
6140 */
6141 public updateBucket(request: google.logging.v2.IUpdateBucketRequest, callback: google.logging.v2.ConfigServiceV2.UpdateBucketCallback): void;
6142
6143 /**
6144 * Calls UpdateBucket.
6145 * @param request UpdateBucketRequest message or plain object
6146 * @returns Promise
6147 */
6148 public updateBucket(request: google.logging.v2.IUpdateBucketRequest): Promise<google.logging.v2.LogBucket>;
6149
6150 /**
6151 * Calls DeleteBucket.
6152 * @param request DeleteBucketRequest message or plain object
6153 * @param callback Node-style callback called with the error, if any, and Empty
6154 */
6155 public deleteBucket(request: google.logging.v2.IDeleteBucketRequest, callback: google.logging.v2.ConfigServiceV2.DeleteBucketCallback): void;
6156
6157 /**
6158 * Calls DeleteBucket.
6159 * @param request DeleteBucketRequest message or plain object
6160 * @returns Promise
6161 */
6162 public deleteBucket(request: google.logging.v2.IDeleteBucketRequest): Promise<google.protobuf.Empty>;
6163
6164 /**
6165 * Calls UndeleteBucket.
6166 * @param request UndeleteBucketRequest message or plain object
6167 * @param callback Node-style callback called with the error, if any, and Empty
6168 */
6169 public undeleteBucket(request: google.logging.v2.IUndeleteBucketRequest, callback: google.logging.v2.ConfigServiceV2.UndeleteBucketCallback): void;
6170
6171 /**
6172 * Calls UndeleteBucket.
6173 * @param request UndeleteBucketRequest message or plain object
6174 * @returns Promise
6175 */
6176 public undeleteBucket(request: google.logging.v2.IUndeleteBucketRequest): Promise<google.protobuf.Empty>;
6177
6178 /**
6179 * Calls ListViews.
6180 * @param request ListViewsRequest message or plain object
6181 * @param callback Node-style callback called with the error, if any, and ListViewsResponse
6182 */
6183 public listViews(request: google.logging.v2.IListViewsRequest, callback: google.logging.v2.ConfigServiceV2.ListViewsCallback): void;
6184
6185 /**
6186 * Calls ListViews.
6187 * @param request ListViewsRequest message or plain object
6188 * @returns Promise
6189 */
6190 public listViews(request: google.logging.v2.IListViewsRequest): Promise<google.logging.v2.ListViewsResponse>;
6191
6192 /**
6193 * Calls GetView.
6194 * @param request GetViewRequest message or plain object
6195 * @param callback Node-style callback called with the error, if any, and LogView
6196 */
6197 public getView(request: google.logging.v2.IGetViewRequest, callback: google.logging.v2.ConfigServiceV2.GetViewCallback): void;
6198
6199 /**
6200 * Calls GetView.
6201 * @param request GetViewRequest message or plain object
6202 * @returns Promise
6203 */
6204 public getView(request: google.logging.v2.IGetViewRequest): Promise<google.logging.v2.LogView>;
6205
6206 /**
6207 * Calls CreateView.
6208 * @param request CreateViewRequest message or plain object
6209 * @param callback Node-style callback called with the error, if any, and LogView
6210 */
6211 public createView(request: google.logging.v2.ICreateViewRequest, callback: google.logging.v2.ConfigServiceV2.CreateViewCallback): void;
6212
6213 /**
6214 * Calls CreateView.
6215 * @param request CreateViewRequest message or plain object
6216 * @returns Promise
6217 */
6218 public createView(request: google.logging.v2.ICreateViewRequest): Promise<google.logging.v2.LogView>;
6219
6220 /**
6221 * Calls UpdateView.
6222 * @param request UpdateViewRequest message or plain object
6223 * @param callback Node-style callback called with the error, if any, and LogView
6224 */
6225 public updateView(request: google.logging.v2.IUpdateViewRequest, callback: google.logging.v2.ConfigServiceV2.UpdateViewCallback): void;
6226
6227 /**
6228 * Calls UpdateView.
6229 * @param request UpdateViewRequest message or plain object
6230 * @returns Promise
6231 */
6232 public updateView(request: google.logging.v2.IUpdateViewRequest): Promise<google.logging.v2.LogView>;
6233
6234 /**
6235 * Calls DeleteView.
6236 * @param request DeleteViewRequest message or plain object
6237 * @param callback Node-style callback called with the error, if any, and Empty
6238 */
6239 public deleteView(request: google.logging.v2.IDeleteViewRequest, callback: google.logging.v2.ConfigServiceV2.DeleteViewCallback): void;
6240
6241 /**
6242 * Calls DeleteView.
6243 * @param request DeleteViewRequest message or plain object
6244 * @returns Promise
6245 */
6246 public deleteView(request: google.logging.v2.IDeleteViewRequest): Promise<google.protobuf.Empty>;
6247
6248 /**
6249 * Calls ListSinks.
6250 * @param request ListSinksRequest message or plain object
6251 * @param callback Node-style callback called with the error, if any, and ListSinksResponse
6252 */
6253 public listSinks(request: google.logging.v2.IListSinksRequest, callback: google.logging.v2.ConfigServiceV2.ListSinksCallback): void;
6254
6255 /**
6256 * Calls ListSinks.
6257 * @param request ListSinksRequest message or plain object
6258 * @returns Promise
6259 */
6260 public listSinks(request: google.logging.v2.IListSinksRequest): Promise<google.logging.v2.ListSinksResponse>;
6261
6262 /**
6263 * Calls GetSink.
6264 * @param request GetSinkRequest message or plain object
6265 * @param callback Node-style callback called with the error, if any, and LogSink
6266 */
6267 public getSink(request: google.logging.v2.IGetSinkRequest, callback: google.logging.v2.ConfigServiceV2.GetSinkCallback): void;
6268
6269 /**
6270 * Calls GetSink.
6271 * @param request GetSinkRequest message or plain object
6272 * @returns Promise
6273 */
6274 public getSink(request: google.logging.v2.IGetSinkRequest): Promise<google.logging.v2.LogSink>;
6275
6276 /**
6277 * Calls CreateSink.
6278 * @param request CreateSinkRequest message or plain object
6279 * @param callback Node-style callback called with the error, if any, and LogSink
6280 */
6281 public createSink(request: google.logging.v2.ICreateSinkRequest, callback: google.logging.v2.ConfigServiceV2.CreateSinkCallback): void;
6282
6283 /**
6284 * Calls CreateSink.
6285 * @param request CreateSinkRequest message or plain object
6286 * @returns Promise
6287 */
6288 public createSink(request: google.logging.v2.ICreateSinkRequest): Promise<google.logging.v2.LogSink>;
6289
6290 /**
6291 * Calls UpdateSink.
6292 * @param request UpdateSinkRequest message or plain object
6293 * @param callback Node-style callback called with the error, if any, and LogSink
6294 */
6295 public updateSink(request: google.logging.v2.IUpdateSinkRequest, callback: google.logging.v2.ConfigServiceV2.UpdateSinkCallback): void;
6296
6297 /**
6298 * Calls UpdateSink.
6299 * @param request UpdateSinkRequest message or plain object
6300 * @returns Promise
6301 */
6302 public updateSink(request: google.logging.v2.IUpdateSinkRequest): Promise<google.logging.v2.LogSink>;
6303
6304 /**
6305 * Calls DeleteSink.
6306 * @param request DeleteSinkRequest message or plain object
6307 * @param callback Node-style callback called with the error, if any, and Empty
6308 */
6309 public deleteSink(request: google.logging.v2.IDeleteSinkRequest, callback: google.logging.v2.ConfigServiceV2.DeleteSinkCallback): void;
6310
6311 /**
6312 * Calls DeleteSink.
6313 * @param request DeleteSinkRequest message or plain object
6314 * @returns Promise
6315 */
6316 public deleteSink(request: google.logging.v2.IDeleteSinkRequest): Promise<google.protobuf.Empty>;
6317
6318 /**
6319 * Calls ListExclusions.
6320 * @param request ListExclusionsRequest message or plain object
6321 * @param callback Node-style callback called with the error, if any, and ListExclusionsResponse
6322 */
6323 public listExclusions(request: google.logging.v2.IListExclusionsRequest, callback: google.logging.v2.ConfigServiceV2.ListExclusionsCallback): void;
6324
6325 /**
6326 * Calls ListExclusions.
6327 * @param request ListExclusionsRequest message or plain object
6328 * @returns Promise
6329 */
6330 public listExclusions(request: google.logging.v2.IListExclusionsRequest): Promise<google.logging.v2.ListExclusionsResponse>;
6331
6332 /**
6333 * Calls GetExclusion.
6334 * @param request GetExclusionRequest message or plain object
6335 * @param callback Node-style callback called with the error, if any, and LogExclusion
6336 */
6337 public getExclusion(request: google.logging.v2.IGetExclusionRequest, callback: google.logging.v2.ConfigServiceV2.GetExclusionCallback): void;
6338
6339 /**
6340 * Calls GetExclusion.
6341 * @param request GetExclusionRequest message or plain object
6342 * @returns Promise
6343 */
6344 public getExclusion(request: google.logging.v2.IGetExclusionRequest): Promise<google.logging.v2.LogExclusion>;
6345
6346 /**
6347 * Calls CreateExclusion.
6348 * @param request CreateExclusionRequest message or plain object
6349 * @param callback Node-style callback called with the error, if any, and LogExclusion
6350 */
6351 public createExclusion(request: google.logging.v2.ICreateExclusionRequest, callback: google.logging.v2.ConfigServiceV2.CreateExclusionCallback): void;
6352
6353 /**
6354 * Calls CreateExclusion.
6355 * @param request CreateExclusionRequest message or plain object
6356 * @returns Promise
6357 */
6358 public createExclusion(request: google.logging.v2.ICreateExclusionRequest): Promise<google.logging.v2.LogExclusion>;
6359
6360 /**
6361 * Calls UpdateExclusion.
6362 * @param request UpdateExclusionRequest message or plain object
6363 * @param callback Node-style callback called with the error, if any, and LogExclusion
6364 */
6365 public updateExclusion(request: google.logging.v2.IUpdateExclusionRequest, callback: google.logging.v2.ConfigServiceV2.UpdateExclusionCallback): void;
6366
6367 /**
6368 * Calls UpdateExclusion.
6369 * @param request UpdateExclusionRequest message or plain object
6370 * @returns Promise
6371 */
6372 public updateExclusion(request: google.logging.v2.IUpdateExclusionRequest): Promise<google.logging.v2.LogExclusion>;
6373
6374 /**
6375 * Calls DeleteExclusion.
6376 * @param request DeleteExclusionRequest message or plain object
6377 * @param callback Node-style callback called with the error, if any, and Empty
6378 */
6379 public deleteExclusion(request: google.logging.v2.IDeleteExclusionRequest, callback: google.logging.v2.ConfigServiceV2.DeleteExclusionCallback): void;
6380
6381 /**
6382 * Calls DeleteExclusion.
6383 * @param request DeleteExclusionRequest message or plain object
6384 * @returns Promise
6385 */
6386 public deleteExclusion(request: google.logging.v2.IDeleteExclusionRequest): Promise<google.protobuf.Empty>;
6387
6388 /**
6389 * Calls GetCmekSettings.
6390 * @param request GetCmekSettingsRequest message or plain object
6391 * @param callback Node-style callback called with the error, if any, and CmekSettings
6392 */
6393 public getCmekSettings(request: google.logging.v2.IGetCmekSettingsRequest, callback: google.logging.v2.ConfigServiceV2.GetCmekSettingsCallback): void;
6394
6395 /**
6396 * Calls GetCmekSettings.
6397 * @param request GetCmekSettingsRequest message or plain object
6398 * @returns Promise
6399 */
6400 public getCmekSettings(request: google.logging.v2.IGetCmekSettingsRequest): Promise<google.logging.v2.CmekSettings>;
6401
6402 /**
6403 * Calls UpdateCmekSettings.
6404 * @param request UpdateCmekSettingsRequest message or plain object
6405 * @param callback Node-style callback called with the error, if any, and CmekSettings
6406 */
6407 public updateCmekSettings(request: google.logging.v2.IUpdateCmekSettingsRequest, callback: google.logging.v2.ConfigServiceV2.UpdateCmekSettingsCallback): void;
6408
6409 /**
6410 * Calls UpdateCmekSettings.
6411 * @param request UpdateCmekSettingsRequest message or plain object
6412 * @returns Promise
6413 */
6414 public updateCmekSettings(request: google.logging.v2.IUpdateCmekSettingsRequest): Promise<google.logging.v2.CmekSettings>;
6415
6416 /**
6417 * Calls GetSettings.
6418 * @param request GetSettingsRequest message or plain object
6419 * @param callback Node-style callback called with the error, if any, and Settings
6420 */
6421 public getSettings(request: google.logging.v2.IGetSettingsRequest, callback: google.logging.v2.ConfigServiceV2.GetSettingsCallback): void;
6422
6423 /**
6424 * Calls GetSettings.
6425 * @param request GetSettingsRequest message or plain object
6426 * @returns Promise
6427 */
6428 public getSettings(request: google.logging.v2.IGetSettingsRequest): Promise<google.logging.v2.Settings>;
6429
6430 /**
6431 * Calls UpdateSettings.
6432 * @param request UpdateSettingsRequest message or plain object
6433 * @param callback Node-style callback called with the error, if any, and Settings
6434 */
6435 public updateSettings(request: google.logging.v2.IUpdateSettingsRequest, callback: google.logging.v2.ConfigServiceV2.UpdateSettingsCallback): void;
6436
6437 /**
6438 * Calls UpdateSettings.
6439 * @param request UpdateSettingsRequest message or plain object
6440 * @returns Promise
6441 */
6442 public updateSettings(request: google.logging.v2.IUpdateSettingsRequest): Promise<google.logging.v2.Settings>;
6443
6444 /**
6445 * Calls CopyLogEntries.
6446 * @param request CopyLogEntriesRequest message or plain object
6447 * @param callback Node-style callback called with the error, if any, and Operation
6448 */
6449 public copyLogEntries(request: google.logging.v2.ICopyLogEntriesRequest, callback: google.logging.v2.ConfigServiceV2.CopyLogEntriesCallback): void;
6450
6451 /**
6452 * Calls CopyLogEntries.
6453 * @param request CopyLogEntriesRequest message or plain object
6454 * @returns Promise
6455 */
6456 public copyLogEntries(request: google.logging.v2.ICopyLogEntriesRequest): Promise<google.longrunning.Operation>;
6457 }
6458
6459 namespace ConfigServiceV2 {
6460
6461 /**
6462 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listBuckets}.
6463 * @param error Error, if any
6464 * @param [response] ListBucketsResponse
6465 */
6466 type ListBucketsCallback = (error: (Error|null), response?: google.logging.v2.ListBucketsResponse) => void;
6467
6468 /**
6469 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getBucket}.
6470 * @param error Error, if any
6471 * @param [response] LogBucket
6472 */
6473 type GetBucketCallback = (error: (Error|null), response?: google.logging.v2.LogBucket) => void;
6474
6475 /**
6476 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createBucket}.
6477 * @param error Error, if any
6478 * @param [response] LogBucket
6479 */
6480 type CreateBucketCallback = (error: (Error|null), response?: google.logging.v2.LogBucket) => void;
6481
6482 /**
6483 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateBucket}.
6484 * @param error Error, if any
6485 * @param [response] LogBucket
6486 */
6487 type UpdateBucketCallback = (error: (Error|null), response?: google.logging.v2.LogBucket) => void;
6488
6489 /**
6490 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteBucket}.
6491 * @param error Error, if any
6492 * @param [response] Empty
6493 */
6494 type DeleteBucketCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
6495
6496 /**
6497 * Callback as used by {@link google.logging.v2.ConfigServiceV2|undeleteBucket}.
6498 * @param error Error, if any
6499 * @param [response] Empty
6500 */
6501 type UndeleteBucketCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
6502
6503 /**
6504 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listViews}.
6505 * @param error Error, if any
6506 * @param [response] ListViewsResponse
6507 */
6508 type ListViewsCallback = (error: (Error|null), response?: google.logging.v2.ListViewsResponse) => void;
6509
6510 /**
6511 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getView}.
6512 * @param error Error, if any
6513 * @param [response] LogView
6514 */
6515 type GetViewCallback = (error: (Error|null), response?: google.logging.v2.LogView) => void;
6516
6517 /**
6518 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createView}.
6519 * @param error Error, if any
6520 * @param [response] LogView
6521 */
6522 type CreateViewCallback = (error: (Error|null), response?: google.logging.v2.LogView) => void;
6523
6524 /**
6525 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateView}.
6526 * @param error Error, if any
6527 * @param [response] LogView
6528 */
6529 type UpdateViewCallback = (error: (Error|null), response?: google.logging.v2.LogView) => void;
6530
6531 /**
6532 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteView}.
6533 * @param error Error, if any
6534 * @param [response] Empty
6535 */
6536 type DeleteViewCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
6537
6538 /**
6539 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listSinks}.
6540 * @param error Error, if any
6541 * @param [response] ListSinksResponse
6542 */
6543 type ListSinksCallback = (error: (Error|null), response?: google.logging.v2.ListSinksResponse) => void;
6544
6545 /**
6546 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getSink}.
6547 * @param error Error, if any
6548 * @param [response] LogSink
6549 */
6550 type GetSinkCallback = (error: (Error|null), response?: google.logging.v2.LogSink) => void;
6551
6552 /**
6553 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createSink}.
6554 * @param error Error, if any
6555 * @param [response] LogSink
6556 */
6557 type CreateSinkCallback = (error: (Error|null), response?: google.logging.v2.LogSink) => void;
6558
6559 /**
6560 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateSink}.
6561 * @param error Error, if any
6562 * @param [response] LogSink
6563 */
6564 type UpdateSinkCallback = (error: (Error|null), response?: google.logging.v2.LogSink) => void;
6565
6566 /**
6567 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteSink}.
6568 * @param error Error, if any
6569 * @param [response] Empty
6570 */
6571 type DeleteSinkCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
6572
6573 /**
6574 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listExclusions}.
6575 * @param error Error, if any
6576 * @param [response] ListExclusionsResponse
6577 */
6578 type ListExclusionsCallback = (error: (Error|null), response?: google.logging.v2.ListExclusionsResponse) => void;
6579
6580 /**
6581 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getExclusion}.
6582 * @param error Error, if any
6583 * @param [response] LogExclusion
6584 */
6585 type GetExclusionCallback = (error: (Error|null), response?: google.logging.v2.LogExclusion) => void;
6586
6587 /**
6588 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createExclusion}.
6589 * @param error Error, if any
6590 * @param [response] LogExclusion
6591 */
6592 type CreateExclusionCallback = (error: (Error|null), response?: google.logging.v2.LogExclusion) => void;
6593
6594 /**
6595 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateExclusion}.
6596 * @param error Error, if any
6597 * @param [response] LogExclusion
6598 */
6599 type UpdateExclusionCallback = (error: (Error|null), response?: google.logging.v2.LogExclusion) => void;
6600
6601 /**
6602 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteExclusion}.
6603 * @param error Error, if any
6604 * @param [response] Empty
6605 */
6606 type DeleteExclusionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
6607
6608 /**
6609 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getCmekSettings}.
6610 * @param error Error, if any
6611 * @param [response] CmekSettings
6612 */
6613 type GetCmekSettingsCallback = (error: (Error|null), response?: google.logging.v2.CmekSettings) => void;
6614
6615 /**
6616 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateCmekSettings}.
6617 * @param error Error, if any
6618 * @param [response] CmekSettings
6619 */
6620 type UpdateCmekSettingsCallback = (error: (Error|null), response?: google.logging.v2.CmekSettings) => void;
6621
6622 /**
6623 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getSettings}.
6624 * @param error Error, if any
6625 * @param [response] Settings
6626 */
6627 type GetSettingsCallback = (error: (Error|null), response?: google.logging.v2.Settings) => void;
6628
6629 /**
6630 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateSettings}.
6631 * @param error Error, if any
6632 * @param [response] Settings
6633 */
6634 type UpdateSettingsCallback = (error: (Error|null), response?: google.logging.v2.Settings) => void;
6635
6636 /**
6637 * Callback as used by {@link google.logging.v2.ConfigServiceV2|copyLogEntries}.
6638 * @param error Error, if any
6639 * @param [response] Operation
6640 */
6641 type CopyLogEntriesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
6642 }
6643
6644 /** Properties of a LogBucket. */
6645 interface ILogBucket {
6646
6647 /** LogBucket name */
6648 name?: (string|null);
6649
6650 /** LogBucket description */
6651 description?: (string|null);
6652
6653 /** LogBucket createTime */
6654 createTime?: (google.protobuf.ITimestamp|null);
6655
6656 /** LogBucket updateTime */
6657 updateTime?: (google.protobuf.ITimestamp|null);
6658
6659 /** LogBucket retentionDays */
6660 retentionDays?: (number|null);
6661
6662 /** LogBucket locked */
6663 locked?: (boolean|null);
6664
6665 /** LogBucket lifecycleState */
6666 lifecycleState?: (google.logging.v2.LifecycleState|keyof typeof google.logging.v2.LifecycleState|null);
6667
6668 /** LogBucket restrictedFields */
6669 restrictedFields?: (string[]|null);
6670
6671 /** LogBucket cmekSettings */
6672 cmekSettings?: (google.logging.v2.ICmekSettings|null);
6673 }
6674
6675 /** Represents a LogBucket. */
6676 class LogBucket implements ILogBucket {
6677
6678 /**
6679 * Constructs a new LogBucket.
6680 * @param [properties] Properties to set
6681 */
6682 constructor(properties?: google.logging.v2.ILogBucket);
6683
6684 /** LogBucket name. */
6685 public name: string;
6686
6687 /** LogBucket description. */
6688 public description: string;
6689
6690 /** LogBucket createTime. */
6691 public createTime?: (google.protobuf.ITimestamp|null);
6692
6693 /** LogBucket updateTime. */
6694 public updateTime?: (google.protobuf.ITimestamp|null);
6695
6696 /** LogBucket retentionDays. */
6697 public retentionDays: number;
6698
6699 /** LogBucket locked. */
6700 public locked: boolean;
6701
6702 /** LogBucket lifecycleState. */
6703 public lifecycleState: (google.logging.v2.LifecycleState|keyof typeof google.logging.v2.LifecycleState);
6704
6705 /** LogBucket restrictedFields. */
6706 public restrictedFields: string[];
6707
6708 /** LogBucket cmekSettings. */
6709 public cmekSettings?: (google.logging.v2.ICmekSettings|null);
6710
6711 /**
6712 * Creates a new LogBucket instance using the specified properties.
6713 * @param [properties] Properties to set
6714 * @returns LogBucket instance
6715 */
6716 public static create(properties?: google.logging.v2.ILogBucket): google.logging.v2.LogBucket;
6717
6718 /**
6719 * Encodes the specified LogBucket message. Does not implicitly {@link google.logging.v2.LogBucket.verify|verify} messages.
6720 * @param message LogBucket message or plain object to encode
6721 * @param [writer] Writer to encode to
6722 * @returns Writer
6723 */
6724 public static encode(message: google.logging.v2.ILogBucket, writer?: $protobuf.Writer): $protobuf.Writer;
6725
6726 /**
6727 * Encodes the specified LogBucket message, length delimited. Does not implicitly {@link google.logging.v2.LogBucket.verify|verify} messages.
6728 * @param message LogBucket message or plain object to encode
6729 * @param [writer] Writer to encode to
6730 * @returns Writer
6731 */
6732 public static encodeDelimited(message: google.logging.v2.ILogBucket, writer?: $protobuf.Writer): $protobuf.Writer;
6733
6734 /**
6735 * Decodes a LogBucket message from the specified reader or buffer.
6736 * @param reader Reader or buffer to decode from
6737 * @param [length] Message length if known beforehand
6738 * @returns LogBucket
6739 * @throws {Error} If the payload is not a reader or valid buffer
6740 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6741 */
6742 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogBucket;
6743
6744 /**
6745 * Decodes a LogBucket message from the specified reader or buffer, length delimited.
6746 * @param reader Reader or buffer to decode from
6747 * @returns LogBucket
6748 * @throws {Error} If the payload is not a reader or valid buffer
6749 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6750 */
6751 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogBucket;
6752
6753 /**
6754 * Verifies a LogBucket message.
6755 * @param message Plain object to verify
6756 * @returns `null` if valid, otherwise the reason why it is not
6757 */
6758 public static verify(message: { [k: string]: any }): (string|null);
6759
6760 /**
6761 * Creates a LogBucket message from a plain object. Also converts values to their respective internal types.
6762 * @param object Plain object
6763 * @returns LogBucket
6764 */
6765 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogBucket;
6766
6767 /**
6768 * Creates a plain object from a LogBucket message. Also converts values to other types if specified.
6769 * @param message LogBucket
6770 * @param [options] Conversion options
6771 * @returns Plain object
6772 */
6773 public static toObject(message: google.logging.v2.LogBucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
6774
6775 /**
6776 * Converts this LogBucket to JSON.
6777 * @returns JSON object
6778 */
6779 public toJSON(): { [k: string]: any };
6780 }
6781
6782 /** Properties of a LogView. */
6783 interface ILogView {
6784
6785 /** LogView name */
6786 name?: (string|null);
6787
6788 /** LogView description */
6789 description?: (string|null);
6790
6791 /** LogView createTime */
6792 createTime?: (google.protobuf.ITimestamp|null);
6793
6794 /** LogView updateTime */
6795 updateTime?: (google.protobuf.ITimestamp|null);
6796
6797 /** LogView filter */
6798 filter?: (string|null);
6799 }
6800
6801 /** Represents a LogView. */
6802 class LogView implements ILogView {
6803
6804 /**
6805 * Constructs a new LogView.
6806 * @param [properties] Properties to set
6807 */
6808 constructor(properties?: google.logging.v2.ILogView);
6809
6810 /** LogView name. */
6811 public name: string;
6812
6813 /** LogView description. */
6814 public description: string;
6815
6816 /** LogView createTime. */
6817 public createTime?: (google.protobuf.ITimestamp|null);
6818
6819 /** LogView updateTime. */
6820 public updateTime?: (google.protobuf.ITimestamp|null);
6821
6822 /** LogView filter. */
6823 public filter: string;
6824
6825 /**
6826 * Creates a new LogView instance using the specified properties.
6827 * @param [properties] Properties to set
6828 * @returns LogView instance
6829 */
6830 public static create(properties?: google.logging.v2.ILogView): google.logging.v2.LogView;
6831
6832 /**
6833 * Encodes the specified LogView message. Does not implicitly {@link google.logging.v2.LogView.verify|verify} messages.
6834 * @param message LogView message or plain object to encode
6835 * @param [writer] Writer to encode to
6836 * @returns Writer
6837 */
6838 public static encode(message: google.logging.v2.ILogView, writer?: $protobuf.Writer): $protobuf.Writer;
6839
6840 /**
6841 * Encodes the specified LogView message, length delimited. Does not implicitly {@link google.logging.v2.LogView.verify|verify} messages.
6842 * @param message LogView message or plain object to encode
6843 * @param [writer] Writer to encode to
6844 * @returns Writer
6845 */
6846 public static encodeDelimited(message: google.logging.v2.ILogView, writer?: $protobuf.Writer): $protobuf.Writer;
6847
6848 /**
6849 * Decodes a LogView message from the specified reader or buffer.
6850 * @param reader Reader or buffer to decode from
6851 * @param [length] Message length if known beforehand
6852 * @returns LogView
6853 * @throws {Error} If the payload is not a reader or valid buffer
6854 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6855 */
6856 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogView;
6857
6858 /**
6859 * Decodes a LogView message from the specified reader or buffer, length delimited.
6860 * @param reader Reader or buffer to decode from
6861 * @returns LogView
6862 * @throws {Error} If the payload is not a reader or valid buffer
6863 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6864 */
6865 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogView;
6866
6867 /**
6868 * Verifies a LogView message.
6869 * @param message Plain object to verify
6870 * @returns `null` if valid, otherwise the reason why it is not
6871 */
6872 public static verify(message: { [k: string]: any }): (string|null);
6873
6874 /**
6875 * Creates a LogView message from a plain object. Also converts values to their respective internal types.
6876 * @param object Plain object
6877 * @returns LogView
6878 */
6879 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogView;
6880
6881 /**
6882 * Creates a plain object from a LogView message. Also converts values to other types if specified.
6883 * @param message LogView
6884 * @param [options] Conversion options
6885 * @returns Plain object
6886 */
6887 public static toObject(message: google.logging.v2.LogView, options?: $protobuf.IConversionOptions): { [k: string]: any };
6888
6889 /**
6890 * Converts this LogView to JSON.
6891 * @returns JSON object
6892 */
6893 public toJSON(): { [k: string]: any };
6894 }
6895
6896 /** Properties of a LogSink. */
6897 interface ILogSink {
6898
6899 /** LogSink name */
6900 name?: (string|null);
6901
6902 /** LogSink destination */
6903 destination?: (string|null);
6904
6905 /** LogSink filter */
6906 filter?: (string|null);
6907
6908 /** LogSink description */
6909 description?: (string|null);
6910
6911 /** LogSink disabled */
6912 disabled?: (boolean|null);
6913
6914 /** LogSink exclusions */
6915 exclusions?: (google.logging.v2.ILogExclusion[]|null);
6916
6917 /** LogSink outputVersionFormat */
6918 outputVersionFormat?: (google.logging.v2.LogSink.VersionFormat|keyof typeof google.logging.v2.LogSink.VersionFormat|null);
6919
6920 /** LogSink writerIdentity */
6921 writerIdentity?: (string|null);
6922
6923 /** LogSink includeChildren */
6924 includeChildren?: (boolean|null);
6925
6926 /** LogSink bigqueryOptions */
6927 bigqueryOptions?: (google.logging.v2.IBigQueryOptions|null);
6928
6929 /** LogSink createTime */
6930 createTime?: (google.protobuf.ITimestamp|null);
6931
6932 /** LogSink updateTime */
6933 updateTime?: (google.protobuf.ITimestamp|null);
6934 }
6935
6936 /** Represents a LogSink. */
6937 class LogSink implements ILogSink {
6938
6939 /**
6940 * Constructs a new LogSink.
6941 * @param [properties] Properties to set
6942 */
6943 constructor(properties?: google.logging.v2.ILogSink);
6944
6945 /** LogSink name. */
6946 public name: string;
6947
6948 /** LogSink destination. */
6949 public destination: string;
6950
6951 /** LogSink filter. */
6952 public filter: string;
6953
6954 /** LogSink description. */
6955 public description: string;
6956
6957 /** LogSink disabled. */
6958 public disabled: boolean;
6959
6960 /** LogSink exclusions. */
6961 public exclusions: google.logging.v2.ILogExclusion[];
6962
6963 /** LogSink outputVersionFormat. */
6964 public outputVersionFormat: (google.logging.v2.LogSink.VersionFormat|keyof typeof google.logging.v2.LogSink.VersionFormat);
6965
6966 /** LogSink writerIdentity. */
6967 public writerIdentity: string;
6968
6969 /** LogSink includeChildren. */
6970 public includeChildren: boolean;
6971
6972 /** LogSink bigqueryOptions. */
6973 public bigqueryOptions?: (google.logging.v2.IBigQueryOptions|null);
6974
6975 /** LogSink createTime. */
6976 public createTime?: (google.protobuf.ITimestamp|null);
6977
6978 /** LogSink updateTime. */
6979 public updateTime?: (google.protobuf.ITimestamp|null);
6980
6981 /** LogSink options. */
6982 public options?: "bigqueryOptions";
6983
6984 /**
6985 * Creates a new LogSink instance using the specified properties.
6986 * @param [properties] Properties to set
6987 * @returns LogSink instance
6988 */
6989 public static create(properties?: google.logging.v2.ILogSink): google.logging.v2.LogSink;
6990
6991 /**
6992 * Encodes the specified LogSink message. Does not implicitly {@link google.logging.v2.LogSink.verify|verify} messages.
6993 * @param message LogSink message or plain object to encode
6994 * @param [writer] Writer to encode to
6995 * @returns Writer
6996 */
6997 public static encode(message: google.logging.v2.ILogSink, writer?: $protobuf.Writer): $protobuf.Writer;
6998
6999 /**
7000 * Encodes the specified LogSink message, length delimited. Does not implicitly {@link google.logging.v2.LogSink.verify|verify} messages.
7001 * @param message LogSink message or plain object to encode
7002 * @param [writer] Writer to encode to
7003 * @returns Writer
7004 */
7005 public static encodeDelimited(message: google.logging.v2.ILogSink, writer?: $protobuf.Writer): $protobuf.Writer;
7006
7007 /**
7008 * Decodes a LogSink message from the specified reader or buffer.
7009 * @param reader Reader or buffer to decode from
7010 * @param [length] Message length if known beforehand
7011 * @returns LogSink
7012 * @throws {Error} If the payload is not a reader or valid buffer
7013 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7014 */
7015 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogSink;
7016
7017 /**
7018 * Decodes a LogSink message from the specified reader or buffer, length delimited.
7019 * @param reader Reader or buffer to decode from
7020 * @returns LogSink
7021 * @throws {Error} If the payload is not a reader or valid buffer
7022 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7023 */
7024 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogSink;
7025
7026 /**
7027 * Verifies a LogSink message.
7028 * @param message Plain object to verify
7029 * @returns `null` if valid, otherwise the reason why it is not
7030 */
7031 public static verify(message: { [k: string]: any }): (string|null);
7032
7033 /**
7034 * Creates a LogSink message from a plain object. Also converts values to their respective internal types.
7035 * @param object Plain object
7036 * @returns LogSink
7037 */
7038 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogSink;
7039
7040 /**
7041 * Creates a plain object from a LogSink message. Also converts values to other types if specified.
7042 * @param message LogSink
7043 * @param [options] Conversion options
7044 * @returns Plain object
7045 */
7046 public static toObject(message: google.logging.v2.LogSink, options?: $protobuf.IConversionOptions): { [k: string]: any };
7047
7048 /**
7049 * Converts this LogSink to JSON.
7050 * @returns JSON object
7051 */
7052 public toJSON(): { [k: string]: any };
7053 }
7054
7055 namespace LogSink {
7056
7057 /** VersionFormat enum. */
7058 enum VersionFormat {
7059 VERSION_FORMAT_UNSPECIFIED = 0,
7060 V2 = 1,
7061 V1 = 2
7062 }
7063 }
7064
7065 /** Properties of a BigQueryOptions. */
7066 interface IBigQueryOptions {
7067
7068 /** BigQueryOptions usePartitionedTables */
7069 usePartitionedTables?: (boolean|null);
7070
7071 /** BigQueryOptions usesTimestampColumnPartitioning */
7072 usesTimestampColumnPartitioning?: (boolean|null);
7073 }
7074
7075 /** Represents a BigQueryOptions. */
7076 class BigQueryOptions implements IBigQueryOptions {
7077
7078 /**
7079 * Constructs a new BigQueryOptions.
7080 * @param [properties] Properties to set
7081 */
7082 constructor(properties?: google.logging.v2.IBigQueryOptions);
7083
7084 /** BigQueryOptions usePartitionedTables. */
7085 public usePartitionedTables: boolean;
7086
7087 /** BigQueryOptions usesTimestampColumnPartitioning. */
7088 public usesTimestampColumnPartitioning: boolean;
7089
7090 /**
7091 * Creates a new BigQueryOptions instance using the specified properties.
7092 * @param [properties] Properties to set
7093 * @returns BigQueryOptions instance
7094 */
7095 public static create(properties?: google.logging.v2.IBigQueryOptions): google.logging.v2.BigQueryOptions;
7096
7097 /**
7098 * Encodes the specified BigQueryOptions message. Does not implicitly {@link google.logging.v2.BigQueryOptions.verify|verify} messages.
7099 * @param message BigQueryOptions message or plain object to encode
7100 * @param [writer] Writer to encode to
7101 * @returns Writer
7102 */
7103 public static encode(message: google.logging.v2.IBigQueryOptions, writer?: $protobuf.Writer): $protobuf.Writer;
7104
7105 /**
7106 * Encodes the specified BigQueryOptions message, length delimited. Does not implicitly {@link google.logging.v2.BigQueryOptions.verify|verify} messages.
7107 * @param message BigQueryOptions message or plain object to encode
7108 * @param [writer] Writer to encode to
7109 * @returns Writer
7110 */
7111 public static encodeDelimited(message: google.logging.v2.IBigQueryOptions, writer?: $protobuf.Writer): $protobuf.Writer;
7112
7113 /**
7114 * Decodes a BigQueryOptions message from the specified reader or buffer.
7115 * @param reader Reader or buffer to decode from
7116 * @param [length] Message length if known beforehand
7117 * @returns BigQueryOptions
7118 * @throws {Error} If the payload is not a reader or valid buffer
7119 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7120 */
7121 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.BigQueryOptions;
7122
7123 /**
7124 * Decodes a BigQueryOptions message from the specified reader or buffer, length delimited.
7125 * @param reader Reader or buffer to decode from
7126 * @returns BigQueryOptions
7127 * @throws {Error} If the payload is not a reader or valid buffer
7128 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7129 */
7130 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.BigQueryOptions;
7131
7132 /**
7133 * Verifies a BigQueryOptions message.
7134 * @param message Plain object to verify
7135 * @returns `null` if valid, otherwise the reason why it is not
7136 */
7137 public static verify(message: { [k: string]: any }): (string|null);
7138
7139 /**
7140 * Creates a BigQueryOptions message from a plain object. Also converts values to their respective internal types.
7141 * @param object Plain object
7142 * @returns BigQueryOptions
7143 */
7144 public static fromObject(object: { [k: string]: any }): google.logging.v2.BigQueryOptions;
7145
7146 /**
7147 * Creates a plain object from a BigQueryOptions message. Also converts values to other types if specified.
7148 * @param message BigQueryOptions
7149 * @param [options] Conversion options
7150 * @returns Plain object
7151 */
7152 public static toObject(message: google.logging.v2.BigQueryOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
7153
7154 /**
7155 * Converts this BigQueryOptions to JSON.
7156 * @returns JSON object
7157 */
7158 public toJSON(): { [k: string]: any };
7159 }
7160
7161 /** Properties of a ListBucketsRequest. */
7162 interface IListBucketsRequest {
7163
7164 /** ListBucketsRequest parent */
7165 parent?: (string|null);
7166
7167 /** ListBucketsRequest pageToken */
7168 pageToken?: (string|null);
7169
7170 /** ListBucketsRequest pageSize */
7171 pageSize?: (number|null);
7172 }
7173
7174 /** Represents a ListBucketsRequest. */
7175 class ListBucketsRequest implements IListBucketsRequest {
7176
7177 /**
7178 * Constructs a new ListBucketsRequest.
7179 * @param [properties] Properties to set
7180 */
7181 constructor(properties?: google.logging.v2.IListBucketsRequest);
7182
7183 /** ListBucketsRequest parent. */
7184 public parent: string;
7185
7186 /** ListBucketsRequest pageToken. */
7187 public pageToken: string;
7188
7189 /** ListBucketsRequest pageSize. */
7190 public pageSize: number;
7191
7192 /**
7193 * Creates a new ListBucketsRequest instance using the specified properties.
7194 * @param [properties] Properties to set
7195 * @returns ListBucketsRequest instance
7196 */
7197 public static create(properties?: google.logging.v2.IListBucketsRequest): google.logging.v2.ListBucketsRequest;
7198
7199 /**
7200 * Encodes the specified ListBucketsRequest message. Does not implicitly {@link google.logging.v2.ListBucketsRequest.verify|verify} messages.
7201 * @param message ListBucketsRequest message or plain object to encode
7202 * @param [writer] Writer to encode to
7203 * @returns Writer
7204 */
7205 public static encode(message: google.logging.v2.IListBucketsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7206
7207 /**
7208 * Encodes the specified ListBucketsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListBucketsRequest.verify|verify} messages.
7209 * @param message ListBucketsRequest message or plain object to encode
7210 * @param [writer] Writer to encode to
7211 * @returns Writer
7212 */
7213 public static encodeDelimited(message: google.logging.v2.IListBucketsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7214
7215 /**
7216 * Decodes a ListBucketsRequest message from the specified reader or buffer.
7217 * @param reader Reader or buffer to decode from
7218 * @param [length] Message length if known beforehand
7219 * @returns ListBucketsRequest
7220 * @throws {Error} If the payload is not a reader or valid buffer
7221 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7222 */
7223 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListBucketsRequest;
7224
7225 /**
7226 * Decodes a ListBucketsRequest message from the specified reader or buffer, length delimited.
7227 * @param reader Reader or buffer to decode from
7228 * @returns ListBucketsRequest
7229 * @throws {Error} If the payload is not a reader or valid buffer
7230 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7231 */
7232 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListBucketsRequest;
7233
7234 /**
7235 * Verifies a ListBucketsRequest message.
7236 * @param message Plain object to verify
7237 * @returns `null` if valid, otherwise the reason why it is not
7238 */
7239 public static verify(message: { [k: string]: any }): (string|null);
7240
7241 /**
7242 * Creates a ListBucketsRequest message from a plain object. Also converts values to their respective internal types.
7243 * @param object Plain object
7244 * @returns ListBucketsRequest
7245 */
7246 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListBucketsRequest;
7247
7248 /**
7249 * Creates a plain object from a ListBucketsRequest message. Also converts values to other types if specified.
7250 * @param message ListBucketsRequest
7251 * @param [options] Conversion options
7252 * @returns Plain object
7253 */
7254 public static toObject(message: google.logging.v2.ListBucketsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7255
7256 /**
7257 * Converts this ListBucketsRequest to JSON.
7258 * @returns JSON object
7259 */
7260 public toJSON(): { [k: string]: any };
7261 }
7262
7263 /** Properties of a ListBucketsResponse. */
7264 interface IListBucketsResponse {
7265
7266 /** ListBucketsResponse buckets */
7267 buckets?: (google.logging.v2.ILogBucket[]|null);
7268
7269 /** ListBucketsResponse nextPageToken */
7270 nextPageToken?: (string|null);
7271 }
7272
7273 /** Represents a ListBucketsResponse. */
7274 class ListBucketsResponse implements IListBucketsResponse {
7275
7276 /**
7277 * Constructs a new ListBucketsResponse.
7278 * @param [properties] Properties to set
7279 */
7280 constructor(properties?: google.logging.v2.IListBucketsResponse);
7281
7282 /** ListBucketsResponse buckets. */
7283 public buckets: google.logging.v2.ILogBucket[];
7284
7285 /** ListBucketsResponse nextPageToken. */
7286 public nextPageToken: string;
7287
7288 /**
7289 * Creates a new ListBucketsResponse instance using the specified properties.
7290 * @param [properties] Properties to set
7291 * @returns ListBucketsResponse instance
7292 */
7293 public static create(properties?: google.logging.v2.IListBucketsResponse): google.logging.v2.ListBucketsResponse;
7294
7295 /**
7296 * Encodes the specified ListBucketsResponse message. Does not implicitly {@link google.logging.v2.ListBucketsResponse.verify|verify} messages.
7297 * @param message ListBucketsResponse message or plain object to encode
7298 * @param [writer] Writer to encode to
7299 * @returns Writer
7300 */
7301 public static encode(message: google.logging.v2.IListBucketsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7302
7303 /**
7304 * Encodes the specified ListBucketsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListBucketsResponse.verify|verify} messages.
7305 * @param message ListBucketsResponse message or plain object to encode
7306 * @param [writer] Writer to encode to
7307 * @returns Writer
7308 */
7309 public static encodeDelimited(message: google.logging.v2.IListBucketsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7310
7311 /**
7312 * Decodes a ListBucketsResponse message from the specified reader or buffer.
7313 * @param reader Reader or buffer to decode from
7314 * @param [length] Message length if known beforehand
7315 * @returns ListBucketsResponse
7316 * @throws {Error} If the payload is not a reader or valid buffer
7317 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7318 */
7319 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListBucketsResponse;
7320
7321 /**
7322 * Decodes a ListBucketsResponse message from the specified reader or buffer, length delimited.
7323 * @param reader Reader or buffer to decode from
7324 * @returns ListBucketsResponse
7325 * @throws {Error} If the payload is not a reader or valid buffer
7326 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7327 */
7328 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListBucketsResponse;
7329
7330 /**
7331 * Verifies a ListBucketsResponse message.
7332 * @param message Plain object to verify
7333 * @returns `null` if valid, otherwise the reason why it is not
7334 */
7335 public static verify(message: { [k: string]: any }): (string|null);
7336
7337 /**
7338 * Creates a ListBucketsResponse message from a plain object. Also converts values to their respective internal types.
7339 * @param object Plain object
7340 * @returns ListBucketsResponse
7341 */
7342 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListBucketsResponse;
7343
7344 /**
7345 * Creates a plain object from a ListBucketsResponse message. Also converts values to other types if specified.
7346 * @param message ListBucketsResponse
7347 * @param [options] Conversion options
7348 * @returns Plain object
7349 */
7350 public static toObject(message: google.logging.v2.ListBucketsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
7351
7352 /**
7353 * Converts this ListBucketsResponse to JSON.
7354 * @returns JSON object
7355 */
7356 public toJSON(): { [k: string]: any };
7357 }
7358
7359 /** Properties of a CreateBucketRequest. */
7360 interface ICreateBucketRequest {
7361
7362 /** CreateBucketRequest parent */
7363 parent?: (string|null);
7364
7365 /** CreateBucketRequest bucketId */
7366 bucketId?: (string|null);
7367
7368 /** CreateBucketRequest bucket */
7369 bucket?: (google.logging.v2.ILogBucket|null);
7370 }
7371
7372 /** Represents a CreateBucketRequest. */
7373 class CreateBucketRequest implements ICreateBucketRequest {
7374
7375 /**
7376 * Constructs a new CreateBucketRequest.
7377 * @param [properties] Properties to set
7378 */
7379 constructor(properties?: google.logging.v2.ICreateBucketRequest);
7380
7381 /** CreateBucketRequest parent. */
7382 public parent: string;
7383
7384 /** CreateBucketRequest bucketId. */
7385 public bucketId: string;
7386
7387 /** CreateBucketRequest bucket. */
7388 public bucket?: (google.logging.v2.ILogBucket|null);
7389
7390 /**
7391 * Creates a new CreateBucketRequest instance using the specified properties.
7392 * @param [properties] Properties to set
7393 * @returns CreateBucketRequest instance
7394 */
7395 public static create(properties?: google.logging.v2.ICreateBucketRequest): google.logging.v2.CreateBucketRequest;
7396
7397 /**
7398 * Encodes the specified CreateBucketRequest message. Does not implicitly {@link google.logging.v2.CreateBucketRequest.verify|verify} messages.
7399 * @param message CreateBucketRequest message or plain object to encode
7400 * @param [writer] Writer to encode to
7401 * @returns Writer
7402 */
7403 public static encode(message: google.logging.v2.ICreateBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7404
7405 /**
7406 * Encodes the specified CreateBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateBucketRequest.verify|verify} messages.
7407 * @param message CreateBucketRequest message or plain object to encode
7408 * @param [writer] Writer to encode to
7409 * @returns Writer
7410 */
7411 public static encodeDelimited(message: google.logging.v2.ICreateBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7412
7413 /**
7414 * Decodes a CreateBucketRequest message from the specified reader or buffer.
7415 * @param reader Reader or buffer to decode from
7416 * @param [length] Message length if known beforehand
7417 * @returns CreateBucketRequest
7418 * @throws {Error} If the payload is not a reader or valid buffer
7419 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7420 */
7421 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateBucketRequest;
7422
7423 /**
7424 * Decodes a CreateBucketRequest message from the specified reader or buffer, length delimited.
7425 * @param reader Reader or buffer to decode from
7426 * @returns CreateBucketRequest
7427 * @throws {Error} If the payload is not a reader or valid buffer
7428 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7429 */
7430 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateBucketRequest;
7431
7432 /**
7433 * Verifies a CreateBucketRequest message.
7434 * @param message Plain object to verify
7435 * @returns `null` if valid, otherwise the reason why it is not
7436 */
7437 public static verify(message: { [k: string]: any }): (string|null);
7438
7439 /**
7440 * Creates a CreateBucketRequest message from a plain object. Also converts values to their respective internal types.
7441 * @param object Plain object
7442 * @returns CreateBucketRequest
7443 */
7444 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateBucketRequest;
7445
7446 /**
7447 * Creates a plain object from a CreateBucketRequest message. Also converts values to other types if specified.
7448 * @param message CreateBucketRequest
7449 * @param [options] Conversion options
7450 * @returns Plain object
7451 */
7452 public static toObject(message: google.logging.v2.CreateBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7453
7454 /**
7455 * Converts this CreateBucketRequest to JSON.
7456 * @returns JSON object
7457 */
7458 public toJSON(): { [k: string]: any };
7459 }
7460
7461 /** Properties of an UpdateBucketRequest. */
7462 interface IUpdateBucketRequest {
7463
7464 /** UpdateBucketRequest name */
7465 name?: (string|null);
7466
7467 /** UpdateBucketRequest bucket */
7468 bucket?: (google.logging.v2.ILogBucket|null);
7469
7470 /** UpdateBucketRequest updateMask */
7471 updateMask?: (google.protobuf.IFieldMask|null);
7472 }
7473
7474 /** Represents an UpdateBucketRequest. */
7475 class UpdateBucketRequest implements IUpdateBucketRequest {
7476
7477 /**
7478 * Constructs a new UpdateBucketRequest.
7479 * @param [properties] Properties to set
7480 */
7481 constructor(properties?: google.logging.v2.IUpdateBucketRequest);
7482
7483 /** UpdateBucketRequest name. */
7484 public name: string;
7485
7486 /** UpdateBucketRequest bucket. */
7487 public bucket?: (google.logging.v2.ILogBucket|null);
7488
7489 /** UpdateBucketRequest updateMask. */
7490 public updateMask?: (google.protobuf.IFieldMask|null);
7491
7492 /**
7493 * Creates a new UpdateBucketRequest instance using the specified properties.
7494 * @param [properties] Properties to set
7495 * @returns UpdateBucketRequest instance
7496 */
7497 public static create(properties?: google.logging.v2.IUpdateBucketRequest): google.logging.v2.UpdateBucketRequest;
7498
7499 /**
7500 * Encodes the specified UpdateBucketRequest message. Does not implicitly {@link google.logging.v2.UpdateBucketRequest.verify|verify} messages.
7501 * @param message UpdateBucketRequest message or plain object to encode
7502 * @param [writer] Writer to encode to
7503 * @returns Writer
7504 */
7505 public static encode(message: google.logging.v2.IUpdateBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7506
7507 /**
7508 * Encodes the specified UpdateBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateBucketRequest.verify|verify} messages.
7509 * @param message UpdateBucketRequest message or plain object to encode
7510 * @param [writer] Writer to encode to
7511 * @returns Writer
7512 */
7513 public static encodeDelimited(message: google.logging.v2.IUpdateBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7514
7515 /**
7516 * Decodes an UpdateBucketRequest message from the specified reader or buffer.
7517 * @param reader Reader or buffer to decode from
7518 * @param [length] Message length if known beforehand
7519 * @returns UpdateBucketRequest
7520 * @throws {Error} If the payload is not a reader or valid buffer
7521 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7522 */
7523 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateBucketRequest;
7524
7525 /**
7526 * Decodes an UpdateBucketRequest message from the specified reader or buffer, length delimited.
7527 * @param reader Reader or buffer to decode from
7528 * @returns UpdateBucketRequest
7529 * @throws {Error} If the payload is not a reader or valid buffer
7530 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7531 */
7532 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateBucketRequest;
7533
7534 /**
7535 * Verifies an UpdateBucketRequest message.
7536 * @param message Plain object to verify
7537 * @returns `null` if valid, otherwise the reason why it is not
7538 */
7539 public static verify(message: { [k: string]: any }): (string|null);
7540
7541 /**
7542 * Creates an UpdateBucketRequest message from a plain object. Also converts values to their respective internal types.
7543 * @param object Plain object
7544 * @returns UpdateBucketRequest
7545 */
7546 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateBucketRequest;
7547
7548 /**
7549 * Creates a plain object from an UpdateBucketRequest message. Also converts values to other types if specified.
7550 * @param message UpdateBucketRequest
7551 * @param [options] Conversion options
7552 * @returns Plain object
7553 */
7554 public static toObject(message: google.logging.v2.UpdateBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7555
7556 /**
7557 * Converts this UpdateBucketRequest to JSON.
7558 * @returns JSON object
7559 */
7560 public toJSON(): { [k: string]: any };
7561 }
7562
7563 /** Properties of a GetBucketRequest. */
7564 interface IGetBucketRequest {
7565
7566 /** GetBucketRequest name */
7567 name?: (string|null);
7568 }
7569
7570 /** Represents a GetBucketRequest. */
7571 class GetBucketRequest implements IGetBucketRequest {
7572
7573 /**
7574 * Constructs a new GetBucketRequest.
7575 * @param [properties] Properties to set
7576 */
7577 constructor(properties?: google.logging.v2.IGetBucketRequest);
7578
7579 /** GetBucketRequest name. */
7580 public name: string;
7581
7582 /**
7583 * Creates a new GetBucketRequest instance using the specified properties.
7584 * @param [properties] Properties to set
7585 * @returns GetBucketRequest instance
7586 */
7587 public static create(properties?: google.logging.v2.IGetBucketRequest): google.logging.v2.GetBucketRequest;
7588
7589 /**
7590 * Encodes the specified GetBucketRequest message. Does not implicitly {@link google.logging.v2.GetBucketRequest.verify|verify} messages.
7591 * @param message GetBucketRequest message or plain object to encode
7592 * @param [writer] Writer to encode to
7593 * @returns Writer
7594 */
7595 public static encode(message: google.logging.v2.IGetBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7596
7597 /**
7598 * Encodes the specified GetBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetBucketRequest.verify|verify} messages.
7599 * @param message GetBucketRequest message or plain object to encode
7600 * @param [writer] Writer to encode to
7601 * @returns Writer
7602 */
7603 public static encodeDelimited(message: google.logging.v2.IGetBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7604
7605 /**
7606 * Decodes a GetBucketRequest message from the specified reader or buffer.
7607 * @param reader Reader or buffer to decode from
7608 * @param [length] Message length if known beforehand
7609 * @returns GetBucketRequest
7610 * @throws {Error} If the payload is not a reader or valid buffer
7611 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7612 */
7613 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetBucketRequest;
7614
7615 /**
7616 * Decodes a GetBucketRequest message from the specified reader or buffer, length delimited.
7617 * @param reader Reader or buffer to decode from
7618 * @returns GetBucketRequest
7619 * @throws {Error} If the payload is not a reader or valid buffer
7620 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7621 */
7622 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetBucketRequest;
7623
7624 /**
7625 * Verifies a GetBucketRequest message.
7626 * @param message Plain object to verify
7627 * @returns `null` if valid, otherwise the reason why it is not
7628 */
7629 public static verify(message: { [k: string]: any }): (string|null);
7630
7631 /**
7632 * Creates a GetBucketRequest message from a plain object. Also converts values to their respective internal types.
7633 * @param object Plain object
7634 * @returns GetBucketRequest
7635 */
7636 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetBucketRequest;
7637
7638 /**
7639 * Creates a plain object from a GetBucketRequest message. Also converts values to other types if specified.
7640 * @param message GetBucketRequest
7641 * @param [options] Conversion options
7642 * @returns Plain object
7643 */
7644 public static toObject(message: google.logging.v2.GetBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7645
7646 /**
7647 * Converts this GetBucketRequest to JSON.
7648 * @returns JSON object
7649 */
7650 public toJSON(): { [k: string]: any };
7651 }
7652
7653 /** Properties of a DeleteBucketRequest. */
7654 interface IDeleteBucketRequest {
7655
7656 /** DeleteBucketRequest name */
7657 name?: (string|null);
7658 }
7659
7660 /** Represents a DeleteBucketRequest. */
7661 class DeleteBucketRequest implements IDeleteBucketRequest {
7662
7663 /**
7664 * Constructs a new DeleteBucketRequest.
7665 * @param [properties] Properties to set
7666 */
7667 constructor(properties?: google.logging.v2.IDeleteBucketRequest);
7668
7669 /** DeleteBucketRequest name. */
7670 public name: string;
7671
7672 /**
7673 * Creates a new DeleteBucketRequest instance using the specified properties.
7674 * @param [properties] Properties to set
7675 * @returns DeleteBucketRequest instance
7676 */
7677 public static create(properties?: google.logging.v2.IDeleteBucketRequest): google.logging.v2.DeleteBucketRequest;
7678
7679 /**
7680 * Encodes the specified DeleteBucketRequest message. Does not implicitly {@link google.logging.v2.DeleteBucketRequest.verify|verify} messages.
7681 * @param message DeleteBucketRequest message or plain object to encode
7682 * @param [writer] Writer to encode to
7683 * @returns Writer
7684 */
7685 public static encode(message: google.logging.v2.IDeleteBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7686
7687 /**
7688 * Encodes the specified DeleteBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteBucketRequest.verify|verify} messages.
7689 * @param message DeleteBucketRequest message or plain object to encode
7690 * @param [writer] Writer to encode to
7691 * @returns Writer
7692 */
7693 public static encodeDelimited(message: google.logging.v2.IDeleteBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7694
7695 /**
7696 * Decodes a DeleteBucketRequest message from the specified reader or buffer.
7697 * @param reader Reader or buffer to decode from
7698 * @param [length] Message length if known beforehand
7699 * @returns DeleteBucketRequest
7700 * @throws {Error} If the payload is not a reader or valid buffer
7701 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7702 */
7703 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteBucketRequest;
7704
7705 /**
7706 * Decodes a DeleteBucketRequest message from the specified reader or buffer, length delimited.
7707 * @param reader Reader or buffer to decode from
7708 * @returns DeleteBucketRequest
7709 * @throws {Error} If the payload is not a reader or valid buffer
7710 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7711 */
7712 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteBucketRequest;
7713
7714 /**
7715 * Verifies a DeleteBucketRequest message.
7716 * @param message Plain object to verify
7717 * @returns `null` if valid, otherwise the reason why it is not
7718 */
7719 public static verify(message: { [k: string]: any }): (string|null);
7720
7721 /**
7722 * Creates a DeleteBucketRequest message from a plain object. Also converts values to their respective internal types.
7723 * @param object Plain object
7724 * @returns DeleteBucketRequest
7725 */
7726 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteBucketRequest;
7727
7728 /**
7729 * Creates a plain object from a DeleteBucketRequest message. Also converts values to other types if specified.
7730 * @param message DeleteBucketRequest
7731 * @param [options] Conversion options
7732 * @returns Plain object
7733 */
7734 public static toObject(message: google.logging.v2.DeleteBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7735
7736 /**
7737 * Converts this DeleteBucketRequest to JSON.
7738 * @returns JSON object
7739 */
7740 public toJSON(): { [k: string]: any };
7741 }
7742
7743 /** Properties of an UndeleteBucketRequest. */
7744 interface IUndeleteBucketRequest {
7745
7746 /** UndeleteBucketRequest name */
7747 name?: (string|null);
7748 }
7749
7750 /** Represents an UndeleteBucketRequest. */
7751 class UndeleteBucketRequest implements IUndeleteBucketRequest {
7752
7753 /**
7754 * Constructs a new UndeleteBucketRequest.
7755 * @param [properties] Properties to set
7756 */
7757 constructor(properties?: google.logging.v2.IUndeleteBucketRequest);
7758
7759 /** UndeleteBucketRequest name. */
7760 public name: string;
7761
7762 /**
7763 * Creates a new UndeleteBucketRequest instance using the specified properties.
7764 * @param [properties] Properties to set
7765 * @returns UndeleteBucketRequest instance
7766 */
7767 public static create(properties?: google.logging.v2.IUndeleteBucketRequest): google.logging.v2.UndeleteBucketRequest;
7768
7769 /**
7770 * Encodes the specified UndeleteBucketRequest message. Does not implicitly {@link google.logging.v2.UndeleteBucketRequest.verify|verify} messages.
7771 * @param message UndeleteBucketRequest message or plain object to encode
7772 * @param [writer] Writer to encode to
7773 * @returns Writer
7774 */
7775 public static encode(message: google.logging.v2.IUndeleteBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7776
7777 /**
7778 * Encodes the specified UndeleteBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.UndeleteBucketRequest.verify|verify} messages.
7779 * @param message UndeleteBucketRequest message or plain object to encode
7780 * @param [writer] Writer to encode to
7781 * @returns Writer
7782 */
7783 public static encodeDelimited(message: google.logging.v2.IUndeleteBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7784
7785 /**
7786 * Decodes an UndeleteBucketRequest message from the specified reader or buffer.
7787 * @param reader Reader or buffer to decode from
7788 * @param [length] Message length if known beforehand
7789 * @returns UndeleteBucketRequest
7790 * @throws {Error} If the payload is not a reader or valid buffer
7791 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7792 */
7793 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UndeleteBucketRequest;
7794
7795 /**
7796 * Decodes an UndeleteBucketRequest message from the specified reader or buffer, length delimited.
7797 * @param reader Reader or buffer to decode from
7798 * @returns UndeleteBucketRequest
7799 * @throws {Error} If the payload is not a reader or valid buffer
7800 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7801 */
7802 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UndeleteBucketRequest;
7803
7804 /**
7805 * Verifies an UndeleteBucketRequest message.
7806 * @param message Plain object to verify
7807 * @returns `null` if valid, otherwise the reason why it is not
7808 */
7809 public static verify(message: { [k: string]: any }): (string|null);
7810
7811 /**
7812 * Creates an UndeleteBucketRequest message from a plain object. Also converts values to their respective internal types.
7813 * @param object Plain object
7814 * @returns UndeleteBucketRequest
7815 */
7816 public static fromObject(object: { [k: string]: any }): google.logging.v2.UndeleteBucketRequest;
7817
7818 /**
7819 * Creates a plain object from an UndeleteBucketRequest message. Also converts values to other types if specified.
7820 * @param message UndeleteBucketRequest
7821 * @param [options] Conversion options
7822 * @returns Plain object
7823 */
7824 public static toObject(message: google.logging.v2.UndeleteBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7825
7826 /**
7827 * Converts this UndeleteBucketRequest to JSON.
7828 * @returns JSON object
7829 */
7830 public toJSON(): { [k: string]: any };
7831 }
7832
7833 /** Properties of a ListViewsRequest. */
7834 interface IListViewsRequest {
7835
7836 /** ListViewsRequest parent */
7837 parent?: (string|null);
7838
7839 /** ListViewsRequest pageToken */
7840 pageToken?: (string|null);
7841
7842 /** ListViewsRequest pageSize */
7843 pageSize?: (number|null);
7844 }
7845
7846 /** Represents a ListViewsRequest. */
7847 class ListViewsRequest implements IListViewsRequest {
7848
7849 /**
7850 * Constructs a new ListViewsRequest.
7851 * @param [properties] Properties to set
7852 */
7853 constructor(properties?: google.logging.v2.IListViewsRequest);
7854
7855 /** ListViewsRequest parent. */
7856 public parent: string;
7857
7858 /** ListViewsRequest pageToken. */
7859 public pageToken: string;
7860
7861 /** ListViewsRequest pageSize. */
7862 public pageSize: number;
7863
7864 /**
7865 * Creates a new ListViewsRequest instance using the specified properties.
7866 * @param [properties] Properties to set
7867 * @returns ListViewsRequest instance
7868 */
7869 public static create(properties?: google.logging.v2.IListViewsRequest): google.logging.v2.ListViewsRequest;
7870
7871 /**
7872 * Encodes the specified ListViewsRequest message. Does not implicitly {@link google.logging.v2.ListViewsRequest.verify|verify} messages.
7873 * @param message ListViewsRequest message or plain object to encode
7874 * @param [writer] Writer to encode to
7875 * @returns Writer
7876 */
7877 public static encode(message: google.logging.v2.IListViewsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7878
7879 /**
7880 * Encodes the specified ListViewsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListViewsRequest.verify|verify} messages.
7881 * @param message ListViewsRequest message or plain object to encode
7882 * @param [writer] Writer to encode to
7883 * @returns Writer
7884 */
7885 public static encodeDelimited(message: google.logging.v2.IListViewsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
7886
7887 /**
7888 * Decodes a ListViewsRequest message from the specified reader or buffer.
7889 * @param reader Reader or buffer to decode from
7890 * @param [length] Message length if known beforehand
7891 * @returns ListViewsRequest
7892 * @throws {Error} If the payload is not a reader or valid buffer
7893 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7894 */
7895 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListViewsRequest;
7896
7897 /**
7898 * Decodes a ListViewsRequest message from the specified reader or buffer, length delimited.
7899 * @param reader Reader or buffer to decode from
7900 * @returns ListViewsRequest
7901 * @throws {Error} If the payload is not a reader or valid buffer
7902 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7903 */
7904 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListViewsRequest;
7905
7906 /**
7907 * Verifies a ListViewsRequest message.
7908 * @param message Plain object to verify
7909 * @returns `null` if valid, otherwise the reason why it is not
7910 */
7911 public static verify(message: { [k: string]: any }): (string|null);
7912
7913 /**
7914 * Creates a ListViewsRequest message from a plain object. Also converts values to their respective internal types.
7915 * @param object Plain object
7916 * @returns ListViewsRequest
7917 */
7918 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListViewsRequest;
7919
7920 /**
7921 * Creates a plain object from a ListViewsRequest message. Also converts values to other types if specified.
7922 * @param message ListViewsRequest
7923 * @param [options] Conversion options
7924 * @returns Plain object
7925 */
7926 public static toObject(message: google.logging.v2.ListViewsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
7927
7928 /**
7929 * Converts this ListViewsRequest to JSON.
7930 * @returns JSON object
7931 */
7932 public toJSON(): { [k: string]: any };
7933 }
7934
7935 /** Properties of a ListViewsResponse. */
7936 interface IListViewsResponse {
7937
7938 /** ListViewsResponse views */
7939 views?: (google.logging.v2.ILogView[]|null);
7940
7941 /** ListViewsResponse nextPageToken */
7942 nextPageToken?: (string|null);
7943 }
7944
7945 /** Represents a ListViewsResponse. */
7946 class ListViewsResponse implements IListViewsResponse {
7947
7948 /**
7949 * Constructs a new ListViewsResponse.
7950 * @param [properties] Properties to set
7951 */
7952 constructor(properties?: google.logging.v2.IListViewsResponse);
7953
7954 /** ListViewsResponse views. */
7955 public views: google.logging.v2.ILogView[];
7956
7957 /** ListViewsResponse nextPageToken. */
7958 public nextPageToken: string;
7959
7960 /**
7961 * Creates a new ListViewsResponse instance using the specified properties.
7962 * @param [properties] Properties to set
7963 * @returns ListViewsResponse instance
7964 */
7965 public static create(properties?: google.logging.v2.IListViewsResponse): google.logging.v2.ListViewsResponse;
7966
7967 /**
7968 * Encodes the specified ListViewsResponse message. Does not implicitly {@link google.logging.v2.ListViewsResponse.verify|verify} messages.
7969 * @param message ListViewsResponse message or plain object to encode
7970 * @param [writer] Writer to encode to
7971 * @returns Writer
7972 */
7973 public static encode(message: google.logging.v2.IListViewsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7974
7975 /**
7976 * Encodes the specified ListViewsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListViewsResponse.verify|verify} messages.
7977 * @param message ListViewsResponse message or plain object to encode
7978 * @param [writer] Writer to encode to
7979 * @returns Writer
7980 */
7981 public static encodeDelimited(message: google.logging.v2.IListViewsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7982
7983 /**
7984 * Decodes a ListViewsResponse message from the specified reader or buffer.
7985 * @param reader Reader or buffer to decode from
7986 * @param [length] Message length if known beforehand
7987 * @returns ListViewsResponse
7988 * @throws {Error} If the payload is not a reader or valid buffer
7989 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7990 */
7991 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListViewsResponse;
7992
7993 /**
7994 * Decodes a ListViewsResponse message from the specified reader or buffer, length delimited.
7995 * @param reader Reader or buffer to decode from
7996 * @returns ListViewsResponse
7997 * @throws {Error} If the payload is not a reader or valid buffer
7998 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7999 */
8000 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListViewsResponse;
8001
8002 /**
8003 * Verifies a ListViewsResponse message.
8004 * @param message Plain object to verify
8005 * @returns `null` if valid, otherwise the reason why it is not
8006 */
8007 public static verify(message: { [k: string]: any }): (string|null);
8008
8009 /**
8010 * Creates a ListViewsResponse message from a plain object. Also converts values to their respective internal types.
8011 * @param object Plain object
8012 * @returns ListViewsResponse
8013 */
8014 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListViewsResponse;
8015
8016 /**
8017 * Creates a plain object from a ListViewsResponse message. Also converts values to other types if specified.
8018 * @param message ListViewsResponse
8019 * @param [options] Conversion options
8020 * @returns Plain object
8021 */
8022 public static toObject(message: google.logging.v2.ListViewsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
8023
8024 /**
8025 * Converts this ListViewsResponse to JSON.
8026 * @returns JSON object
8027 */
8028 public toJSON(): { [k: string]: any };
8029 }
8030
8031 /** Properties of a CreateViewRequest. */
8032 interface ICreateViewRequest {
8033
8034 /** CreateViewRequest parent */
8035 parent?: (string|null);
8036
8037 /** CreateViewRequest viewId */
8038 viewId?: (string|null);
8039
8040 /** CreateViewRequest view */
8041 view?: (google.logging.v2.ILogView|null);
8042 }
8043
8044 /** Represents a CreateViewRequest. */
8045 class CreateViewRequest implements ICreateViewRequest {
8046
8047 /**
8048 * Constructs a new CreateViewRequest.
8049 * @param [properties] Properties to set
8050 */
8051 constructor(properties?: google.logging.v2.ICreateViewRequest);
8052
8053 /** CreateViewRequest parent. */
8054 public parent: string;
8055
8056 /** CreateViewRequest viewId. */
8057 public viewId: string;
8058
8059 /** CreateViewRequest view. */
8060 public view?: (google.logging.v2.ILogView|null);
8061
8062 /**
8063 * Creates a new CreateViewRequest instance using the specified properties.
8064 * @param [properties] Properties to set
8065 * @returns CreateViewRequest instance
8066 */
8067 public static create(properties?: google.logging.v2.ICreateViewRequest): google.logging.v2.CreateViewRequest;
8068
8069 /**
8070 * Encodes the specified CreateViewRequest message. Does not implicitly {@link google.logging.v2.CreateViewRequest.verify|verify} messages.
8071 * @param message CreateViewRequest message or plain object to encode
8072 * @param [writer] Writer to encode to
8073 * @returns Writer
8074 */
8075 public static encode(message: google.logging.v2.ICreateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8076
8077 /**
8078 * Encodes the specified CreateViewRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateViewRequest.verify|verify} messages.
8079 * @param message CreateViewRequest message or plain object to encode
8080 * @param [writer] Writer to encode to
8081 * @returns Writer
8082 */
8083 public static encodeDelimited(message: google.logging.v2.ICreateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8084
8085 /**
8086 * Decodes a CreateViewRequest message from the specified reader or buffer.
8087 * @param reader Reader or buffer to decode from
8088 * @param [length] Message length if known beforehand
8089 * @returns CreateViewRequest
8090 * @throws {Error} If the payload is not a reader or valid buffer
8091 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8092 */
8093 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateViewRequest;
8094
8095 /**
8096 * Decodes a CreateViewRequest message from the specified reader or buffer, length delimited.
8097 * @param reader Reader or buffer to decode from
8098 * @returns CreateViewRequest
8099 * @throws {Error} If the payload is not a reader or valid buffer
8100 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8101 */
8102 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateViewRequest;
8103
8104 /**
8105 * Verifies a CreateViewRequest message.
8106 * @param message Plain object to verify
8107 * @returns `null` if valid, otherwise the reason why it is not
8108 */
8109 public static verify(message: { [k: string]: any }): (string|null);
8110
8111 /**
8112 * Creates a CreateViewRequest message from a plain object. Also converts values to their respective internal types.
8113 * @param object Plain object
8114 * @returns CreateViewRequest
8115 */
8116 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateViewRequest;
8117
8118 /**
8119 * Creates a plain object from a CreateViewRequest message. Also converts values to other types if specified.
8120 * @param message CreateViewRequest
8121 * @param [options] Conversion options
8122 * @returns Plain object
8123 */
8124 public static toObject(message: google.logging.v2.CreateViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8125
8126 /**
8127 * Converts this CreateViewRequest to JSON.
8128 * @returns JSON object
8129 */
8130 public toJSON(): { [k: string]: any };
8131 }
8132
8133 /** Properties of an UpdateViewRequest. */
8134 interface IUpdateViewRequest {
8135
8136 /** UpdateViewRequest name */
8137 name?: (string|null);
8138
8139 /** UpdateViewRequest view */
8140 view?: (google.logging.v2.ILogView|null);
8141
8142 /** UpdateViewRequest updateMask */
8143 updateMask?: (google.protobuf.IFieldMask|null);
8144 }
8145
8146 /** Represents an UpdateViewRequest. */
8147 class UpdateViewRequest implements IUpdateViewRequest {
8148
8149 /**
8150 * Constructs a new UpdateViewRequest.
8151 * @param [properties] Properties to set
8152 */
8153 constructor(properties?: google.logging.v2.IUpdateViewRequest);
8154
8155 /** UpdateViewRequest name. */
8156 public name: string;
8157
8158 /** UpdateViewRequest view. */
8159 public view?: (google.logging.v2.ILogView|null);
8160
8161 /** UpdateViewRequest updateMask. */
8162 public updateMask?: (google.protobuf.IFieldMask|null);
8163
8164 /**
8165 * Creates a new UpdateViewRequest instance using the specified properties.
8166 * @param [properties] Properties to set
8167 * @returns UpdateViewRequest instance
8168 */
8169 public static create(properties?: google.logging.v2.IUpdateViewRequest): google.logging.v2.UpdateViewRequest;
8170
8171 /**
8172 * Encodes the specified UpdateViewRequest message. Does not implicitly {@link google.logging.v2.UpdateViewRequest.verify|verify} messages.
8173 * @param message UpdateViewRequest message or plain object to encode
8174 * @param [writer] Writer to encode to
8175 * @returns Writer
8176 */
8177 public static encode(message: google.logging.v2.IUpdateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8178
8179 /**
8180 * Encodes the specified UpdateViewRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateViewRequest.verify|verify} messages.
8181 * @param message UpdateViewRequest message or plain object to encode
8182 * @param [writer] Writer to encode to
8183 * @returns Writer
8184 */
8185 public static encodeDelimited(message: google.logging.v2.IUpdateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8186
8187 /**
8188 * Decodes an UpdateViewRequest message from the specified reader or buffer.
8189 * @param reader Reader or buffer to decode from
8190 * @param [length] Message length if known beforehand
8191 * @returns UpdateViewRequest
8192 * @throws {Error} If the payload is not a reader or valid buffer
8193 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8194 */
8195 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateViewRequest;
8196
8197 /**
8198 * Decodes an UpdateViewRequest message from the specified reader or buffer, length delimited.
8199 * @param reader Reader or buffer to decode from
8200 * @returns UpdateViewRequest
8201 * @throws {Error} If the payload is not a reader or valid buffer
8202 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8203 */
8204 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateViewRequest;
8205
8206 /**
8207 * Verifies an UpdateViewRequest message.
8208 * @param message Plain object to verify
8209 * @returns `null` if valid, otherwise the reason why it is not
8210 */
8211 public static verify(message: { [k: string]: any }): (string|null);
8212
8213 /**
8214 * Creates an UpdateViewRequest message from a plain object. Also converts values to their respective internal types.
8215 * @param object Plain object
8216 * @returns UpdateViewRequest
8217 */
8218 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateViewRequest;
8219
8220 /**
8221 * Creates a plain object from an UpdateViewRequest message. Also converts values to other types if specified.
8222 * @param message UpdateViewRequest
8223 * @param [options] Conversion options
8224 * @returns Plain object
8225 */
8226 public static toObject(message: google.logging.v2.UpdateViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8227
8228 /**
8229 * Converts this UpdateViewRequest to JSON.
8230 * @returns JSON object
8231 */
8232 public toJSON(): { [k: string]: any };
8233 }
8234
8235 /** Properties of a GetViewRequest. */
8236 interface IGetViewRequest {
8237
8238 /** GetViewRequest name */
8239 name?: (string|null);
8240 }
8241
8242 /** Represents a GetViewRequest. */
8243 class GetViewRequest implements IGetViewRequest {
8244
8245 /**
8246 * Constructs a new GetViewRequest.
8247 * @param [properties] Properties to set
8248 */
8249 constructor(properties?: google.logging.v2.IGetViewRequest);
8250
8251 /** GetViewRequest name. */
8252 public name: string;
8253
8254 /**
8255 * Creates a new GetViewRequest instance using the specified properties.
8256 * @param [properties] Properties to set
8257 * @returns GetViewRequest instance
8258 */
8259 public static create(properties?: google.logging.v2.IGetViewRequest): google.logging.v2.GetViewRequest;
8260
8261 /**
8262 * Encodes the specified GetViewRequest message. Does not implicitly {@link google.logging.v2.GetViewRequest.verify|verify} messages.
8263 * @param message GetViewRequest message or plain object to encode
8264 * @param [writer] Writer to encode to
8265 * @returns Writer
8266 */
8267 public static encode(message: google.logging.v2.IGetViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8268
8269 /**
8270 * Encodes the specified GetViewRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetViewRequest.verify|verify} messages.
8271 * @param message GetViewRequest message or plain object to encode
8272 * @param [writer] Writer to encode to
8273 * @returns Writer
8274 */
8275 public static encodeDelimited(message: google.logging.v2.IGetViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8276
8277 /**
8278 * Decodes a GetViewRequest message from the specified reader or buffer.
8279 * @param reader Reader or buffer to decode from
8280 * @param [length] Message length if known beforehand
8281 * @returns GetViewRequest
8282 * @throws {Error} If the payload is not a reader or valid buffer
8283 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8284 */
8285 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetViewRequest;
8286
8287 /**
8288 * Decodes a GetViewRequest message from the specified reader or buffer, length delimited.
8289 * @param reader Reader or buffer to decode from
8290 * @returns GetViewRequest
8291 * @throws {Error} If the payload is not a reader or valid buffer
8292 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8293 */
8294 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetViewRequest;
8295
8296 /**
8297 * Verifies a GetViewRequest message.
8298 * @param message Plain object to verify
8299 * @returns `null` if valid, otherwise the reason why it is not
8300 */
8301 public static verify(message: { [k: string]: any }): (string|null);
8302
8303 /**
8304 * Creates a GetViewRequest message from a plain object. Also converts values to their respective internal types.
8305 * @param object Plain object
8306 * @returns GetViewRequest
8307 */
8308 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetViewRequest;
8309
8310 /**
8311 * Creates a plain object from a GetViewRequest message. Also converts values to other types if specified.
8312 * @param message GetViewRequest
8313 * @param [options] Conversion options
8314 * @returns Plain object
8315 */
8316 public static toObject(message: google.logging.v2.GetViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8317
8318 /**
8319 * Converts this GetViewRequest to JSON.
8320 * @returns JSON object
8321 */
8322 public toJSON(): { [k: string]: any };
8323 }
8324
8325 /** Properties of a DeleteViewRequest. */
8326 interface IDeleteViewRequest {
8327
8328 /** DeleteViewRequest name */
8329 name?: (string|null);
8330 }
8331
8332 /** Represents a DeleteViewRequest. */
8333 class DeleteViewRequest implements IDeleteViewRequest {
8334
8335 /**
8336 * Constructs a new DeleteViewRequest.
8337 * @param [properties] Properties to set
8338 */
8339 constructor(properties?: google.logging.v2.IDeleteViewRequest);
8340
8341 /** DeleteViewRequest name. */
8342 public name: string;
8343
8344 /**
8345 * Creates a new DeleteViewRequest instance using the specified properties.
8346 * @param [properties] Properties to set
8347 * @returns DeleteViewRequest instance
8348 */
8349 public static create(properties?: google.logging.v2.IDeleteViewRequest): google.logging.v2.DeleteViewRequest;
8350
8351 /**
8352 * Encodes the specified DeleteViewRequest message. Does not implicitly {@link google.logging.v2.DeleteViewRequest.verify|verify} messages.
8353 * @param message DeleteViewRequest message or plain object to encode
8354 * @param [writer] Writer to encode to
8355 * @returns Writer
8356 */
8357 public static encode(message: google.logging.v2.IDeleteViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8358
8359 /**
8360 * Encodes the specified DeleteViewRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteViewRequest.verify|verify} messages.
8361 * @param message DeleteViewRequest message or plain object to encode
8362 * @param [writer] Writer to encode to
8363 * @returns Writer
8364 */
8365 public static encodeDelimited(message: google.logging.v2.IDeleteViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8366
8367 /**
8368 * Decodes a DeleteViewRequest message from the specified reader or buffer.
8369 * @param reader Reader or buffer to decode from
8370 * @param [length] Message length if known beforehand
8371 * @returns DeleteViewRequest
8372 * @throws {Error} If the payload is not a reader or valid buffer
8373 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8374 */
8375 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteViewRequest;
8376
8377 /**
8378 * Decodes a DeleteViewRequest message from the specified reader or buffer, length delimited.
8379 * @param reader Reader or buffer to decode from
8380 * @returns DeleteViewRequest
8381 * @throws {Error} If the payload is not a reader or valid buffer
8382 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8383 */
8384 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteViewRequest;
8385
8386 /**
8387 * Verifies a DeleteViewRequest message.
8388 * @param message Plain object to verify
8389 * @returns `null` if valid, otherwise the reason why it is not
8390 */
8391 public static verify(message: { [k: string]: any }): (string|null);
8392
8393 /**
8394 * Creates a DeleteViewRequest message from a plain object. Also converts values to their respective internal types.
8395 * @param object Plain object
8396 * @returns DeleteViewRequest
8397 */
8398 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteViewRequest;
8399
8400 /**
8401 * Creates a plain object from a DeleteViewRequest message. Also converts values to other types if specified.
8402 * @param message DeleteViewRequest
8403 * @param [options] Conversion options
8404 * @returns Plain object
8405 */
8406 public static toObject(message: google.logging.v2.DeleteViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8407
8408 /**
8409 * Converts this DeleteViewRequest to JSON.
8410 * @returns JSON object
8411 */
8412 public toJSON(): { [k: string]: any };
8413 }
8414
8415 /** Properties of a ListSinksRequest. */
8416 interface IListSinksRequest {
8417
8418 /** ListSinksRequest parent */
8419 parent?: (string|null);
8420
8421 /** ListSinksRequest pageToken */
8422 pageToken?: (string|null);
8423
8424 /** ListSinksRequest pageSize */
8425 pageSize?: (number|null);
8426 }
8427
8428 /** Represents a ListSinksRequest. */
8429 class ListSinksRequest implements IListSinksRequest {
8430
8431 /**
8432 * Constructs a new ListSinksRequest.
8433 * @param [properties] Properties to set
8434 */
8435 constructor(properties?: google.logging.v2.IListSinksRequest);
8436
8437 /** ListSinksRequest parent. */
8438 public parent: string;
8439
8440 /** ListSinksRequest pageToken. */
8441 public pageToken: string;
8442
8443 /** ListSinksRequest pageSize. */
8444 public pageSize: number;
8445
8446 /**
8447 * Creates a new ListSinksRequest instance using the specified properties.
8448 * @param [properties] Properties to set
8449 * @returns ListSinksRequest instance
8450 */
8451 public static create(properties?: google.logging.v2.IListSinksRequest): google.logging.v2.ListSinksRequest;
8452
8453 /**
8454 * Encodes the specified ListSinksRequest message. Does not implicitly {@link google.logging.v2.ListSinksRequest.verify|verify} messages.
8455 * @param message ListSinksRequest message or plain object to encode
8456 * @param [writer] Writer to encode to
8457 * @returns Writer
8458 */
8459 public static encode(message: google.logging.v2.IListSinksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8460
8461 /**
8462 * Encodes the specified ListSinksRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListSinksRequest.verify|verify} messages.
8463 * @param message ListSinksRequest message or plain object to encode
8464 * @param [writer] Writer to encode to
8465 * @returns Writer
8466 */
8467 public static encodeDelimited(message: google.logging.v2.IListSinksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8468
8469 /**
8470 * Decodes a ListSinksRequest message from the specified reader or buffer.
8471 * @param reader Reader or buffer to decode from
8472 * @param [length] Message length if known beforehand
8473 * @returns ListSinksRequest
8474 * @throws {Error} If the payload is not a reader or valid buffer
8475 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8476 */
8477 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListSinksRequest;
8478
8479 /**
8480 * Decodes a ListSinksRequest message from the specified reader or buffer, length delimited.
8481 * @param reader Reader or buffer to decode from
8482 * @returns ListSinksRequest
8483 * @throws {Error} If the payload is not a reader or valid buffer
8484 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8485 */
8486 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListSinksRequest;
8487
8488 /**
8489 * Verifies a ListSinksRequest message.
8490 * @param message Plain object to verify
8491 * @returns `null` if valid, otherwise the reason why it is not
8492 */
8493 public static verify(message: { [k: string]: any }): (string|null);
8494
8495 /**
8496 * Creates a ListSinksRequest message from a plain object. Also converts values to their respective internal types.
8497 * @param object Plain object
8498 * @returns ListSinksRequest
8499 */
8500 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListSinksRequest;
8501
8502 /**
8503 * Creates a plain object from a ListSinksRequest message. Also converts values to other types if specified.
8504 * @param message ListSinksRequest
8505 * @param [options] Conversion options
8506 * @returns Plain object
8507 */
8508 public static toObject(message: google.logging.v2.ListSinksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8509
8510 /**
8511 * Converts this ListSinksRequest to JSON.
8512 * @returns JSON object
8513 */
8514 public toJSON(): { [k: string]: any };
8515 }
8516
8517 /** Properties of a ListSinksResponse. */
8518 interface IListSinksResponse {
8519
8520 /** ListSinksResponse sinks */
8521 sinks?: (google.logging.v2.ILogSink[]|null);
8522
8523 /** ListSinksResponse nextPageToken */
8524 nextPageToken?: (string|null);
8525 }
8526
8527 /** Represents a ListSinksResponse. */
8528 class ListSinksResponse implements IListSinksResponse {
8529
8530 /**
8531 * Constructs a new ListSinksResponse.
8532 * @param [properties] Properties to set
8533 */
8534 constructor(properties?: google.logging.v2.IListSinksResponse);
8535
8536 /** ListSinksResponse sinks. */
8537 public sinks: google.logging.v2.ILogSink[];
8538
8539 /** ListSinksResponse nextPageToken. */
8540 public nextPageToken: string;
8541
8542 /**
8543 * Creates a new ListSinksResponse instance using the specified properties.
8544 * @param [properties] Properties to set
8545 * @returns ListSinksResponse instance
8546 */
8547 public static create(properties?: google.logging.v2.IListSinksResponse): google.logging.v2.ListSinksResponse;
8548
8549 /**
8550 * Encodes the specified ListSinksResponse message. Does not implicitly {@link google.logging.v2.ListSinksResponse.verify|verify} messages.
8551 * @param message ListSinksResponse message or plain object to encode
8552 * @param [writer] Writer to encode to
8553 * @returns Writer
8554 */
8555 public static encode(message: google.logging.v2.IListSinksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
8556
8557 /**
8558 * Encodes the specified ListSinksResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListSinksResponse.verify|verify} messages.
8559 * @param message ListSinksResponse message or plain object to encode
8560 * @param [writer] Writer to encode to
8561 * @returns Writer
8562 */
8563 public static encodeDelimited(message: google.logging.v2.IListSinksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
8564
8565 /**
8566 * Decodes a ListSinksResponse message from the specified reader or buffer.
8567 * @param reader Reader or buffer to decode from
8568 * @param [length] Message length if known beforehand
8569 * @returns ListSinksResponse
8570 * @throws {Error} If the payload is not a reader or valid buffer
8571 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8572 */
8573 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListSinksResponse;
8574
8575 /**
8576 * Decodes a ListSinksResponse message from the specified reader or buffer, length delimited.
8577 * @param reader Reader or buffer to decode from
8578 * @returns ListSinksResponse
8579 * @throws {Error} If the payload is not a reader or valid buffer
8580 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8581 */
8582 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListSinksResponse;
8583
8584 /**
8585 * Verifies a ListSinksResponse message.
8586 * @param message Plain object to verify
8587 * @returns `null` if valid, otherwise the reason why it is not
8588 */
8589 public static verify(message: { [k: string]: any }): (string|null);
8590
8591 /**
8592 * Creates a ListSinksResponse message from a plain object. Also converts values to their respective internal types.
8593 * @param object Plain object
8594 * @returns ListSinksResponse
8595 */
8596 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListSinksResponse;
8597
8598 /**
8599 * Creates a plain object from a ListSinksResponse message. Also converts values to other types if specified.
8600 * @param message ListSinksResponse
8601 * @param [options] Conversion options
8602 * @returns Plain object
8603 */
8604 public static toObject(message: google.logging.v2.ListSinksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
8605
8606 /**
8607 * Converts this ListSinksResponse to JSON.
8608 * @returns JSON object
8609 */
8610 public toJSON(): { [k: string]: any };
8611 }
8612
8613 /** Properties of a GetSinkRequest. */
8614 interface IGetSinkRequest {
8615
8616 /** GetSinkRequest sinkName */
8617 sinkName?: (string|null);
8618 }
8619
8620 /** Represents a GetSinkRequest. */
8621 class GetSinkRequest implements IGetSinkRequest {
8622
8623 /**
8624 * Constructs a new GetSinkRequest.
8625 * @param [properties] Properties to set
8626 */
8627 constructor(properties?: google.logging.v2.IGetSinkRequest);
8628
8629 /** GetSinkRequest sinkName. */
8630 public sinkName: string;
8631
8632 /**
8633 * Creates a new GetSinkRequest instance using the specified properties.
8634 * @param [properties] Properties to set
8635 * @returns GetSinkRequest instance
8636 */
8637 public static create(properties?: google.logging.v2.IGetSinkRequest): google.logging.v2.GetSinkRequest;
8638
8639 /**
8640 * Encodes the specified GetSinkRequest message. Does not implicitly {@link google.logging.v2.GetSinkRequest.verify|verify} messages.
8641 * @param message GetSinkRequest message or plain object to encode
8642 * @param [writer] Writer to encode to
8643 * @returns Writer
8644 */
8645 public static encode(message: google.logging.v2.IGetSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8646
8647 /**
8648 * Encodes the specified GetSinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetSinkRequest.verify|verify} messages.
8649 * @param message GetSinkRequest message or plain object to encode
8650 * @param [writer] Writer to encode to
8651 * @returns Writer
8652 */
8653 public static encodeDelimited(message: google.logging.v2.IGetSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8654
8655 /**
8656 * Decodes a GetSinkRequest message from the specified reader or buffer.
8657 * @param reader Reader or buffer to decode from
8658 * @param [length] Message length if known beforehand
8659 * @returns GetSinkRequest
8660 * @throws {Error} If the payload is not a reader or valid buffer
8661 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8662 */
8663 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetSinkRequest;
8664
8665 /**
8666 * Decodes a GetSinkRequest message from the specified reader or buffer, length delimited.
8667 * @param reader Reader or buffer to decode from
8668 * @returns GetSinkRequest
8669 * @throws {Error} If the payload is not a reader or valid buffer
8670 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8671 */
8672 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetSinkRequest;
8673
8674 /**
8675 * Verifies a GetSinkRequest message.
8676 * @param message Plain object to verify
8677 * @returns `null` if valid, otherwise the reason why it is not
8678 */
8679 public static verify(message: { [k: string]: any }): (string|null);
8680
8681 /**
8682 * Creates a GetSinkRequest message from a plain object. Also converts values to their respective internal types.
8683 * @param object Plain object
8684 * @returns GetSinkRequest
8685 */
8686 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetSinkRequest;
8687
8688 /**
8689 * Creates a plain object from a GetSinkRequest message. Also converts values to other types if specified.
8690 * @param message GetSinkRequest
8691 * @param [options] Conversion options
8692 * @returns Plain object
8693 */
8694 public static toObject(message: google.logging.v2.GetSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8695
8696 /**
8697 * Converts this GetSinkRequest to JSON.
8698 * @returns JSON object
8699 */
8700 public toJSON(): { [k: string]: any };
8701 }
8702
8703 /** Properties of a CreateSinkRequest. */
8704 interface ICreateSinkRequest {
8705
8706 /** CreateSinkRequest parent */
8707 parent?: (string|null);
8708
8709 /** CreateSinkRequest sink */
8710 sink?: (google.logging.v2.ILogSink|null);
8711
8712 /** CreateSinkRequest uniqueWriterIdentity */
8713 uniqueWriterIdentity?: (boolean|null);
8714 }
8715
8716 /** Represents a CreateSinkRequest. */
8717 class CreateSinkRequest implements ICreateSinkRequest {
8718
8719 /**
8720 * Constructs a new CreateSinkRequest.
8721 * @param [properties] Properties to set
8722 */
8723 constructor(properties?: google.logging.v2.ICreateSinkRequest);
8724
8725 /** CreateSinkRequest parent. */
8726 public parent: string;
8727
8728 /** CreateSinkRequest sink. */
8729 public sink?: (google.logging.v2.ILogSink|null);
8730
8731 /** CreateSinkRequest uniqueWriterIdentity. */
8732 public uniqueWriterIdentity: boolean;
8733
8734 /**
8735 * Creates a new CreateSinkRequest instance using the specified properties.
8736 * @param [properties] Properties to set
8737 * @returns CreateSinkRequest instance
8738 */
8739 public static create(properties?: google.logging.v2.ICreateSinkRequest): google.logging.v2.CreateSinkRequest;
8740
8741 /**
8742 * Encodes the specified CreateSinkRequest message. Does not implicitly {@link google.logging.v2.CreateSinkRequest.verify|verify} messages.
8743 * @param message CreateSinkRequest message or plain object to encode
8744 * @param [writer] Writer to encode to
8745 * @returns Writer
8746 */
8747 public static encode(message: google.logging.v2.ICreateSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8748
8749 /**
8750 * Encodes the specified CreateSinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateSinkRequest.verify|verify} messages.
8751 * @param message CreateSinkRequest message or plain object to encode
8752 * @param [writer] Writer to encode to
8753 * @returns Writer
8754 */
8755 public static encodeDelimited(message: google.logging.v2.ICreateSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8756
8757 /**
8758 * Decodes a CreateSinkRequest message from the specified reader or buffer.
8759 * @param reader Reader or buffer to decode from
8760 * @param [length] Message length if known beforehand
8761 * @returns CreateSinkRequest
8762 * @throws {Error} If the payload is not a reader or valid buffer
8763 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8764 */
8765 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateSinkRequest;
8766
8767 /**
8768 * Decodes a CreateSinkRequest message from the specified reader or buffer, length delimited.
8769 * @param reader Reader or buffer to decode from
8770 * @returns CreateSinkRequest
8771 * @throws {Error} If the payload is not a reader or valid buffer
8772 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8773 */
8774 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateSinkRequest;
8775
8776 /**
8777 * Verifies a CreateSinkRequest message.
8778 * @param message Plain object to verify
8779 * @returns `null` if valid, otherwise the reason why it is not
8780 */
8781 public static verify(message: { [k: string]: any }): (string|null);
8782
8783 /**
8784 * Creates a CreateSinkRequest message from a plain object. Also converts values to their respective internal types.
8785 * @param object Plain object
8786 * @returns CreateSinkRequest
8787 */
8788 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateSinkRequest;
8789
8790 /**
8791 * Creates a plain object from a CreateSinkRequest message. Also converts values to other types if specified.
8792 * @param message CreateSinkRequest
8793 * @param [options] Conversion options
8794 * @returns Plain object
8795 */
8796 public static toObject(message: google.logging.v2.CreateSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8797
8798 /**
8799 * Converts this CreateSinkRequest to JSON.
8800 * @returns JSON object
8801 */
8802 public toJSON(): { [k: string]: any };
8803 }
8804
8805 /** Properties of an UpdateSinkRequest. */
8806 interface IUpdateSinkRequest {
8807
8808 /** UpdateSinkRequest sinkName */
8809 sinkName?: (string|null);
8810
8811 /** UpdateSinkRequest sink */
8812 sink?: (google.logging.v2.ILogSink|null);
8813
8814 /** UpdateSinkRequest uniqueWriterIdentity */
8815 uniqueWriterIdentity?: (boolean|null);
8816
8817 /** UpdateSinkRequest updateMask */
8818 updateMask?: (google.protobuf.IFieldMask|null);
8819 }
8820
8821 /** Represents an UpdateSinkRequest. */
8822 class UpdateSinkRequest implements IUpdateSinkRequest {
8823
8824 /**
8825 * Constructs a new UpdateSinkRequest.
8826 * @param [properties] Properties to set
8827 */
8828 constructor(properties?: google.logging.v2.IUpdateSinkRequest);
8829
8830 /** UpdateSinkRequest sinkName. */
8831 public sinkName: string;
8832
8833 /** UpdateSinkRequest sink. */
8834 public sink?: (google.logging.v2.ILogSink|null);
8835
8836 /** UpdateSinkRequest uniqueWriterIdentity. */
8837 public uniqueWriterIdentity: boolean;
8838
8839 /** UpdateSinkRequest updateMask. */
8840 public updateMask?: (google.protobuf.IFieldMask|null);
8841
8842 /**
8843 * Creates a new UpdateSinkRequest instance using the specified properties.
8844 * @param [properties] Properties to set
8845 * @returns UpdateSinkRequest instance
8846 */
8847 public static create(properties?: google.logging.v2.IUpdateSinkRequest): google.logging.v2.UpdateSinkRequest;
8848
8849 /**
8850 * Encodes the specified UpdateSinkRequest message. Does not implicitly {@link google.logging.v2.UpdateSinkRequest.verify|verify} messages.
8851 * @param message UpdateSinkRequest message or plain object to encode
8852 * @param [writer] Writer to encode to
8853 * @returns Writer
8854 */
8855 public static encode(message: google.logging.v2.IUpdateSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8856
8857 /**
8858 * Encodes the specified UpdateSinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateSinkRequest.verify|verify} messages.
8859 * @param message UpdateSinkRequest message or plain object to encode
8860 * @param [writer] Writer to encode to
8861 * @returns Writer
8862 */
8863 public static encodeDelimited(message: google.logging.v2.IUpdateSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8864
8865 /**
8866 * Decodes an UpdateSinkRequest message from the specified reader or buffer.
8867 * @param reader Reader or buffer to decode from
8868 * @param [length] Message length if known beforehand
8869 * @returns UpdateSinkRequest
8870 * @throws {Error} If the payload is not a reader or valid buffer
8871 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8872 */
8873 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateSinkRequest;
8874
8875 /**
8876 * Decodes an UpdateSinkRequest message from the specified reader or buffer, length delimited.
8877 * @param reader Reader or buffer to decode from
8878 * @returns UpdateSinkRequest
8879 * @throws {Error} If the payload is not a reader or valid buffer
8880 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8881 */
8882 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateSinkRequest;
8883
8884 /**
8885 * Verifies an UpdateSinkRequest message.
8886 * @param message Plain object to verify
8887 * @returns `null` if valid, otherwise the reason why it is not
8888 */
8889 public static verify(message: { [k: string]: any }): (string|null);
8890
8891 /**
8892 * Creates an UpdateSinkRequest message from a plain object. Also converts values to their respective internal types.
8893 * @param object Plain object
8894 * @returns UpdateSinkRequest
8895 */
8896 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateSinkRequest;
8897
8898 /**
8899 * Creates a plain object from an UpdateSinkRequest message. Also converts values to other types if specified.
8900 * @param message UpdateSinkRequest
8901 * @param [options] Conversion options
8902 * @returns Plain object
8903 */
8904 public static toObject(message: google.logging.v2.UpdateSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8905
8906 /**
8907 * Converts this UpdateSinkRequest to JSON.
8908 * @returns JSON object
8909 */
8910 public toJSON(): { [k: string]: any };
8911 }
8912
8913 /** Properties of a DeleteSinkRequest. */
8914 interface IDeleteSinkRequest {
8915
8916 /** DeleteSinkRequest sinkName */
8917 sinkName?: (string|null);
8918 }
8919
8920 /** Represents a DeleteSinkRequest. */
8921 class DeleteSinkRequest implements IDeleteSinkRequest {
8922
8923 /**
8924 * Constructs a new DeleteSinkRequest.
8925 * @param [properties] Properties to set
8926 */
8927 constructor(properties?: google.logging.v2.IDeleteSinkRequest);
8928
8929 /** DeleteSinkRequest sinkName. */
8930 public sinkName: string;
8931
8932 /**
8933 * Creates a new DeleteSinkRequest instance using the specified properties.
8934 * @param [properties] Properties to set
8935 * @returns DeleteSinkRequest instance
8936 */
8937 public static create(properties?: google.logging.v2.IDeleteSinkRequest): google.logging.v2.DeleteSinkRequest;
8938
8939 /**
8940 * Encodes the specified DeleteSinkRequest message. Does not implicitly {@link google.logging.v2.DeleteSinkRequest.verify|verify} messages.
8941 * @param message DeleteSinkRequest message or plain object to encode
8942 * @param [writer] Writer to encode to
8943 * @returns Writer
8944 */
8945 public static encode(message: google.logging.v2.IDeleteSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8946
8947 /**
8948 * Encodes the specified DeleteSinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteSinkRequest.verify|verify} messages.
8949 * @param message DeleteSinkRequest message or plain object to encode
8950 * @param [writer] Writer to encode to
8951 * @returns Writer
8952 */
8953 public static encodeDelimited(message: google.logging.v2.IDeleteSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8954
8955 /**
8956 * Decodes a DeleteSinkRequest message from the specified reader or buffer.
8957 * @param reader Reader or buffer to decode from
8958 * @param [length] Message length if known beforehand
8959 * @returns DeleteSinkRequest
8960 * @throws {Error} If the payload is not a reader or valid buffer
8961 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8962 */
8963 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteSinkRequest;
8964
8965 /**
8966 * Decodes a DeleteSinkRequest message from the specified reader or buffer, length delimited.
8967 * @param reader Reader or buffer to decode from
8968 * @returns DeleteSinkRequest
8969 * @throws {Error} If the payload is not a reader or valid buffer
8970 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8971 */
8972 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteSinkRequest;
8973
8974 /**
8975 * Verifies a DeleteSinkRequest message.
8976 * @param message Plain object to verify
8977 * @returns `null` if valid, otherwise the reason why it is not
8978 */
8979 public static verify(message: { [k: string]: any }): (string|null);
8980
8981 /**
8982 * Creates a DeleteSinkRequest message from a plain object. Also converts values to their respective internal types.
8983 * @param object Plain object
8984 * @returns DeleteSinkRequest
8985 */
8986 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteSinkRequest;
8987
8988 /**
8989 * Creates a plain object from a DeleteSinkRequest message. Also converts values to other types if specified.
8990 * @param message DeleteSinkRequest
8991 * @param [options] Conversion options
8992 * @returns Plain object
8993 */
8994 public static toObject(message: google.logging.v2.DeleteSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8995
8996 /**
8997 * Converts this DeleteSinkRequest to JSON.
8998 * @returns JSON object
8999 */
9000 public toJSON(): { [k: string]: any };
9001 }
9002
9003 /** Properties of a LogExclusion. */
9004 interface ILogExclusion {
9005
9006 /** LogExclusion name */
9007 name?: (string|null);
9008
9009 /** LogExclusion description */
9010 description?: (string|null);
9011
9012 /** LogExclusion filter */
9013 filter?: (string|null);
9014
9015 /** LogExclusion disabled */
9016 disabled?: (boolean|null);
9017
9018 /** LogExclusion createTime */
9019 createTime?: (google.protobuf.ITimestamp|null);
9020
9021 /** LogExclusion updateTime */
9022 updateTime?: (google.protobuf.ITimestamp|null);
9023 }
9024
9025 /** Represents a LogExclusion. */
9026 class LogExclusion implements ILogExclusion {
9027
9028 /**
9029 * Constructs a new LogExclusion.
9030 * @param [properties] Properties to set
9031 */
9032 constructor(properties?: google.logging.v2.ILogExclusion);
9033
9034 /** LogExclusion name. */
9035 public name: string;
9036
9037 /** LogExclusion description. */
9038 public description: string;
9039
9040 /** LogExclusion filter. */
9041 public filter: string;
9042
9043 /** LogExclusion disabled. */
9044 public disabled: boolean;
9045
9046 /** LogExclusion createTime. */
9047 public createTime?: (google.protobuf.ITimestamp|null);
9048
9049 /** LogExclusion updateTime. */
9050 public updateTime?: (google.protobuf.ITimestamp|null);
9051
9052 /**
9053 * Creates a new LogExclusion instance using the specified properties.
9054 * @param [properties] Properties to set
9055 * @returns LogExclusion instance
9056 */
9057 public static create(properties?: google.logging.v2.ILogExclusion): google.logging.v2.LogExclusion;
9058
9059 /**
9060 * Encodes the specified LogExclusion message. Does not implicitly {@link google.logging.v2.LogExclusion.verify|verify} messages.
9061 * @param message LogExclusion message or plain object to encode
9062 * @param [writer] Writer to encode to
9063 * @returns Writer
9064 */
9065 public static encode(message: google.logging.v2.ILogExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
9066
9067 /**
9068 * Encodes the specified LogExclusion message, length delimited. Does not implicitly {@link google.logging.v2.LogExclusion.verify|verify} messages.
9069 * @param message LogExclusion message or plain object to encode
9070 * @param [writer] Writer to encode to
9071 * @returns Writer
9072 */
9073 public static encodeDelimited(message: google.logging.v2.ILogExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
9074
9075 /**
9076 * Decodes a LogExclusion message from the specified reader or buffer.
9077 * @param reader Reader or buffer to decode from
9078 * @param [length] Message length if known beforehand
9079 * @returns LogExclusion
9080 * @throws {Error} If the payload is not a reader or valid buffer
9081 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9082 */
9083 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogExclusion;
9084
9085 /**
9086 * Decodes a LogExclusion message from the specified reader or buffer, length delimited.
9087 * @param reader Reader or buffer to decode from
9088 * @returns LogExclusion
9089 * @throws {Error} If the payload is not a reader or valid buffer
9090 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9091 */
9092 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogExclusion;
9093
9094 /**
9095 * Verifies a LogExclusion message.
9096 * @param message Plain object to verify
9097 * @returns `null` if valid, otherwise the reason why it is not
9098 */
9099 public static verify(message: { [k: string]: any }): (string|null);
9100
9101 /**
9102 * Creates a LogExclusion message from a plain object. Also converts values to their respective internal types.
9103 * @param object Plain object
9104 * @returns LogExclusion
9105 */
9106 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogExclusion;
9107
9108 /**
9109 * Creates a plain object from a LogExclusion message. Also converts values to other types if specified.
9110 * @param message LogExclusion
9111 * @param [options] Conversion options
9112 * @returns Plain object
9113 */
9114 public static toObject(message: google.logging.v2.LogExclusion, options?: $protobuf.IConversionOptions): { [k: string]: any };
9115
9116 /**
9117 * Converts this LogExclusion to JSON.
9118 * @returns JSON object
9119 */
9120 public toJSON(): { [k: string]: any };
9121 }
9122
9123 /** Properties of a ListExclusionsRequest. */
9124 interface IListExclusionsRequest {
9125
9126 /** ListExclusionsRequest parent */
9127 parent?: (string|null);
9128
9129 /** ListExclusionsRequest pageToken */
9130 pageToken?: (string|null);
9131
9132 /** ListExclusionsRequest pageSize */
9133 pageSize?: (number|null);
9134 }
9135
9136 /** Represents a ListExclusionsRequest. */
9137 class ListExclusionsRequest implements IListExclusionsRequest {
9138
9139 /**
9140 * Constructs a new ListExclusionsRequest.
9141 * @param [properties] Properties to set
9142 */
9143 constructor(properties?: google.logging.v2.IListExclusionsRequest);
9144
9145 /** ListExclusionsRequest parent. */
9146 public parent: string;
9147
9148 /** ListExclusionsRequest pageToken. */
9149 public pageToken: string;
9150
9151 /** ListExclusionsRequest pageSize. */
9152 public pageSize: number;
9153
9154 /**
9155 * Creates a new ListExclusionsRequest instance using the specified properties.
9156 * @param [properties] Properties to set
9157 * @returns ListExclusionsRequest instance
9158 */
9159 public static create(properties?: google.logging.v2.IListExclusionsRequest): google.logging.v2.ListExclusionsRequest;
9160
9161 /**
9162 * Encodes the specified ListExclusionsRequest message. Does not implicitly {@link google.logging.v2.ListExclusionsRequest.verify|verify} messages.
9163 * @param message ListExclusionsRequest message or plain object to encode
9164 * @param [writer] Writer to encode to
9165 * @returns Writer
9166 */
9167 public static encode(message: google.logging.v2.IListExclusionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9168
9169 /**
9170 * Encodes the specified ListExclusionsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListExclusionsRequest.verify|verify} messages.
9171 * @param message ListExclusionsRequest message or plain object to encode
9172 * @param [writer] Writer to encode to
9173 * @returns Writer
9174 */
9175 public static encodeDelimited(message: google.logging.v2.IListExclusionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9176
9177 /**
9178 * Decodes a ListExclusionsRequest message from the specified reader or buffer.
9179 * @param reader Reader or buffer to decode from
9180 * @param [length] Message length if known beforehand
9181 * @returns ListExclusionsRequest
9182 * @throws {Error} If the payload is not a reader or valid buffer
9183 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9184 */
9185 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListExclusionsRequest;
9186
9187 /**
9188 * Decodes a ListExclusionsRequest message from the specified reader or buffer, length delimited.
9189 * @param reader Reader or buffer to decode from
9190 * @returns ListExclusionsRequest
9191 * @throws {Error} If the payload is not a reader or valid buffer
9192 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9193 */
9194 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListExclusionsRequest;
9195
9196 /**
9197 * Verifies a ListExclusionsRequest message.
9198 * @param message Plain object to verify
9199 * @returns `null` if valid, otherwise the reason why it is not
9200 */
9201 public static verify(message: { [k: string]: any }): (string|null);
9202
9203 /**
9204 * Creates a ListExclusionsRequest message from a plain object. Also converts values to their respective internal types.
9205 * @param object Plain object
9206 * @returns ListExclusionsRequest
9207 */
9208 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListExclusionsRequest;
9209
9210 /**
9211 * Creates a plain object from a ListExclusionsRequest message. Also converts values to other types if specified.
9212 * @param message ListExclusionsRequest
9213 * @param [options] Conversion options
9214 * @returns Plain object
9215 */
9216 public static toObject(message: google.logging.v2.ListExclusionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9217
9218 /**
9219 * Converts this ListExclusionsRequest to JSON.
9220 * @returns JSON object
9221 */
9222 public toJSON(): { [k: string]: any };
9223 }
9224
9225 /** Properties of a ListExclusionsResponse. */
9226 interface IListExclusionsResponse {
9227
9228 /** ListExclusionsResponse exclusions */
9229 exclusions?: (google.logging.v2.ILogExclusion[]|null);
9230
9231 /** ListExclusionsResponse nextPageToken */
9232 nextPageToken?: (string|null);
9233 }
9234
9235 /** Represents a ListExclusionsResponse. */
9236 class ListExclusionsResponse implements IListExclusionsResponse {
9237
9238 /**
9239 * Constructs a new ListExclusionsResponse.
9240 * @param [properties] Properties to set
9241 */
9242 constructor(properties?: google.logging.v2.IListExclusionsResponse);
9243
9244 /** ListExclusionsResponse exclusions. */
9245 public exclusions: google.logging.v2.ILogExclusion[];
9246
9247 /** ListExclusionsResponse nextPageToken. */
9248 public nextPageToken: string;
9249
9250 /**
9251 * Creates a new ListExclusionsResponse instance using the specified properties.
9252 * @param [properties] Properties to set
9253 * @returns ListExclusionsResponse instance
9254 */
9255 public static create(properties?: google.logging.v2.IListExclusionsResponse): google.logging.v2.ListExclusionsResponse;
9256
9257 /**
9258 * Encodes the specified ListExclusionsResponse message. Does not implicitly {@link google.logging.v2.ListExclusionsResponse.verify|verify} messages.
9259 * @param message ListExclusionsResponse message or plain object to encode
9260 * @param [writer] Writer to encode to
9261 * @returns Writer
9262 */
9263 public static encode(message: google.logging.v2.IListExclusionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
9264
9265 /**
9266 * Encodes the specified ListExclusionsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListExclusionsResponse.verify|verify} messages.
9267 * @param message ListExclusionsResponse message or plain object to encode
9268 * @param [writer] Writer to encode to
9269 * @returns Writer
9270 */
9271 public static encodeDelimited(message: google.logging.v2.IListExclusionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
9272
9273 /**
9274 * Decodes a ListExclusionsResponse message from the specified reader or buffer.
9275 * @param reader Reader or buffer to decode from
9276 * @param [length] Message length if known beforehand
9277 * @returns ListExclusionsResponse
9278 * @throws {Error} If the payload is not a reader or valid buffer
9279 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9280 */
9281 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListExclusionsResponse;
9282
9283 /**
9284 * Decodes a ListExclusionsResponse message from the specified reader or buffer, length delimited.
9285 * @param reader Reader or buffer to decode from
9286 * @returns ListExclusionsResponse
9287 * @throws {Error} If the payload is not a reader or valid buffer
9288 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9289 */
9290 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListExclusionsResponse;
9291
9292 /**
9293 * Verifies a ListExclusionsResponse message.
9294 * @param message Plain object to verify
9295 * @returns `null` if valid, otherwise the reason why it is not
9296 */
9297 public static verify(message: { [k: string]: any }): (string|null);
9298
9299 /**
9300 * Creates a ListExclusionsResponse message from a plain object. Also converts values to their respective internal types.
9301 * @param object Plain object
9302 * @returns ListExclusionsResponse
9303 */
9304 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListExclusionsResponse;
9305
9306 /**
9307 * Creates a plain object from a ListExclusionsResponse message. Also converts values to other types if specified.
9308 * @param message ListExclusionsResponse
9309 * @param [options] Conversion options
9310 * @returns Plain object
9311 */
9312 public static toObject(message: google.logging.v2.ListExclusionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
9313
9314 /**
9315 * Converts this ListExclusionsResponse to JSON.
9316 * @returns JSON object
9317 */
9318 public toJSON(): { [k: string]: any };
9319 }
9320
9321 /** Properties of a GetExclusionRequest. */
9322 interface IGetExclusionRequest {
9323
9324 /** GetExclusionRequest name */
9325 name?: (string|null);
9326 }
9327
9328 /** Represents a GetExclusionRequest. */
9329 class GetExclusionRequest implements IGetExclusionRequest {
9330
9331 /**
9332 * Constructs a new GetExclusionRequest.
9333 * @param [properties] Properties to set
9334 */
9335 constructor(properties?: google.logging.v2.IGetExclusionRequest);
9336
9337 /** GetExclusionRequest name. */
9338 public name: string;
9339
9340 /**
9341 * Creates a new GetExclusionRequest instance using the specified properties.
9342 * @param [properties] Properties to set
9343 * @returns GetExclusionRequest instance
9344 */
9345 public static create(properties?: google.logging.v2.IGetExclusionRequest): google.logging.v2.GetExclusionRequest;
9346
9347 /**
9348 * Encodes the specified GetExclusionRequest message. Does not implicitly {@link google.logging.v2.GetExclusionRequest.verify|verify} messages.
9349 * @param message GetExclusionRequest message or plain object to encode
9350 * @param [writer] Writer to encode to
9351 * @returns Writer
9352 */
9353 public static encode(message: google.logging.v2.IGetExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9354
9355 /**
9356 * Encodes the specified GetExclusionRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetExclusionRequest.verify|verify} messages.
9357 * @param message GetExclusionRequest message or plain object to encode
9358 * @param [writer] Writer to encode to
9359 * @returns Writer
9360 */
9361 public static encodeDelimited(message: google.logging.v2.IGetExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9362
9363 /**
9364 * Decodes a GetExclusionRequest message from the specified reader or buffer.
9365 * @param reader Reader or buffer to decode from
9366 * @param [length] Message length if known beforehand
9367 * @returns GetExclusionRequest
9368 * @throws {Error} If the payload is not a reader or valid buffer
9369 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9370 */
9371 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetExclusionRequest;
9372
9373 /**
9374 * Decodes a GetExclusionRequest message from the specified reader or buffer, length delimited.
9375 * @param reader Reader or buffer to decode from
9376 * @returns GetExclusionRequest
9377 * @throws {Error} If the payload is not a reader or valid buffer
9378 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9379 */
9380 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetExclusionRequest;
9381
9382 /**
9383 * Verifies a GetExclusionRequest message.
9384 * @param message Plain object to verify
9385 * @returns `null` if valid, otherwise the reason why it is not
9386 */
9387 public static verify(message: { [k: string]: any }): (string|null);
9388
9389 /**
9390 * Creates a GetExclusionRequest message from a plain object. Also converts values to their respective internal types.
9391 * @param object Plain object
9392 * @returns GetExclusionRequest
9393 */
9394 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetExclusionRequest;
9395
9396 /**
9397 * Creates a plain object from a GetExclusionRequest message. Also converts values to other types if specified.
9398 * @param message GetExclusionRequest
9399 * @param [options] Conversion options
9400 * @returns Plain object
9401 */
9402 public static toObject(message: google.logging.v2.GetExclusionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9403
9404 /**
9405 * Converts this GetExclusionRequest to JSON.
9406 * @returns JSON object
9407 */
9408 public toJSON(): { [k: string]: any };
9409 }
9410
9411 /** Properties of a CreateExclusionRequest. */
9412 interface ICreateExclusionRequest {
9413
9414 /** CreateExclusionRequest parent */
9415 parent?: (string|null);
9416
9417 /** CreateExclusionRequest exclusion */
9418 exclusion?: (google.logging.v2.ILogExclusion|null);
9419 }
9420
9421 /** Represents a CreateExclusionRequest. */
9422 class CreateExclusionRequest implements ICreateExclusionRequest {
9423
9424 /**
9425 * Constructs a new CreateExclusionRequest.
9426 * @param [properties] Properties to set
9427 */
9428 constructor(properties?: google.logging.v2.ICreateExclusionRequest);
9429
9430 /** CreateExclusionRequest parent. */
9431 public parent: string;
9432
9433 /** CreateExclusionRequest exclusion. */
9434 public exclusion?: (google.logging.v2.ILogExclusion|null);
9435
9436 /**
9437 * Creates a new CreateExclusionRequest instance using the specified properties.
9438 * @param [properties] Properties to set
9439 * @returns CreateExclusionRequest instance
9440 */
9441 public static create(properties?: google.logging.v2.ICreateExclusionRequest): google.logging.v2.CreateExclusionRequest;
9442
9443 /**
9444 * Encodes the specified CreateExclusionRequest message. Does not implicitly {@link google.logging.v2.CreateExclusionRequest.verify|verify} messages.
9445 * @param message CreateExclusionRequest message or plain object to encode
9446 * @param [writer] Writer to encode to
9447 * @returns Writer
9448 */
9449 public static encode(message: google.logging.v2.ICreateExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9450
9451 /**
9452 * Encodes the specified CreateExclusionRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateExclusionRequest.verify|verify} messages.
9453 * @param message CreateExclusionRequest message or plain object to encode
9454 * @param [writer] Writer to encode to
9455 * @returns Writer
9456 */
9457 public static encodeDelimited(message: google.logging.v2.ICreateExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9458
9459 /**
9460 * Decodes a CreateExclusionRequest message from the specified reader or buffer.
9461 * @param reader Reader or buffer to decode from
9462 * @param [length] Message length if known beforehand
9463 * @returns CreateExclusionRequest
9464 * @throws {Error} If the payload is not a reader or valid buffer
9465 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9466 */
9467 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateExclusionRequest;
9468
9469 /**
9470 * Decodes a CreateExclusionRequest message from the specified reader or buffer, length delimited.
9471 * @param reader Reader or buffer to decode from
9472 * @returns CreateExclusionRequest
9473 * @throws {Error} If the payload is not a reader or valid buffer
9474 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9475 */
9476 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateExclusionRequest;
9477
9478 /**
9479 * Verifies a CreateExclusionRequest message.
9480 * @param message Plain object to verify
9481 * @returns `null` if valid, otherwise the reason why it is not
9482 */
9483 public static verify(message: { [k: string]: any }): (string|null);
9484
9485 /**
9486 * Creates a CreateExclusionRequest message from a plain object. Also converts values to their respective internal types.
9487 * @param object Plain object
9488 * @returns CreateExclusionRequest
9489 */
9490 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateExclusionRequest;
9491
9492 /**
9493 * Creates a plain object from a CreateExclusionRequest message. Also converts values to other types if specified.
9494 * @param message CreateExclusionRequest
9495 * @param [options] Conversion options
9496 * @returns Plain object
9497 */
9498 public static toObject(message: google.logging.v2.CreateExclusionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9499
9500 /**
9501 * Converts this CreateExclusionRequest to JSON.
9502 * @returns JSON object
9503 */
9504 public toJSON(): { [k: string]: any };
9505 }
9506
9507 /** Properties of an UpdateExclusionRequest. */
9508 interface IUpdateExclusionRequest {
9509
9510 /** UpdateExclusionRequest name */
9511 name?: (string|null);
9512
9513 /** UpdateExclusionRequest exclusion */
9514 exclusion?: (google.logging.v2.ILogExclusion|null);
9515
9516 /** UpdateExclusionRequest updateMask */
9517 updateMask?: (google.protobuf.IFieldMask|null);
9518 }
9519
9520 /** Represents an UpdateExclusionRequest. */
9521 class UpdateExclusionRequest implements IUpdateExclusionRequest {
9522
9523 /**
9524 * Constructs a new UpdateExclusionRequest.
9525 * @param [properties] Properties to set
9526 */
9527 constructor(properties?: google.logging.v2.IUpdateExclusionRequest);
9528
9529 /** UpdateExclusionRequest name. */
9530 public name: string;
9531
9532 /** UpdateExclusionRequest exclusion. */
9533 public exclusion?: (google.logging.v2.ILogExclusion|null);
9534
9535 /** UpdateExclusionRequest updateMask. */
9536 public updateMask?: (google.protobuf.IFieldMask|null);
9537
9538 /**
9539 * Creates a new UpdateExclusionRequest instance using the specified properties.
9540 * @param [properties] Properties to set
9541 * @returns UpdateExclusionRequest instance
9542 */
9543 public static create(properties?: google.logging.v2.IUpdateExclusionRequest): google.logging.v2.UpdateExclusionRequest;
9544
9545 /**
9546 * Encodes the specified UpdateExclusionRequest message. Does not implicitly {@link google.logging.v2.UpdateExclusionRequest.verify|verify} messages.
9547 * @param message UpdateExclusionRequest message or plain object to encode
9548 * @param [writer] Writer to encode to
9549 * @returns Writer
9550 */
9551 public static encode(message: google.logging.v2.IUpdateExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9552
9553 /**
9554 * Encodes the specified UpdateExclusionRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateExclusionRequest.verify|verify} messages.
9555 * @param message UpdateExclusionRequest message or plain object to encode
9556 * @param [writer] Writer to encode to
9557 * @returns Writer
9558 */
9559 public static encodeDelimited(message: google.logging.v2.IUpdateExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9560
9561 /**
9562 * Decodes an UpdateExclusionRequest message from the specified reader or buffer.
9563 * @param reader Reader or buffer to decode from
9564 * @param [length] Message length if known beforehand
9565 * @returns UpdateExclusionRequest
9566 * @throws {Error} If the payload is not a reader or valid buffer
9567 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9568 */
9569 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateExclusionRequest;
9570
9571 /**
9572 * Decodes an UpdateExclusionRequest message from the specified reader or buffer, length delimited.
9573 * @param reader Reader or buffer to decode from
9574 * @returns UpdateExclusionRequest
9575 * @throws {Error} If the payload is not a reader or valid buffer
9576 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9577 */
9578 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateExclusionRequest;
9579
9580 /**
9581 * Verifies an UpdateExclusionRequest message.
9582 * @param message Plain object to verify
9583 * @returns `null` if valid, otherwise the reason why it is not
9584 */
9585 public static verify(message: { [k: string]: any }): (string|null);
9586
9587 /**
9588 * Creates an UpdateExclusionRequest message from a plain object. Also converts values to their respective internal types.
9589 * @param object Plain object
9590 * @returns UpdateExclusionRequest
9591 */
9592 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateExclusionRequest;
9593
9594 /**
9595 * Creates a plain object from an UpdateExclusionRequest message. Also converts values to other types if specified.
9596 * @param message UpdateExclusionRequest
9597 * @param [options] Conversion options
9598 * @returns Plain object
9599 */
9600 public static toObject(message: google.logging.v2.UpdateExclusionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9601
9602 /**
9603 * Converts this UpdateExclusionRequest to JSON.
9604 * @returns JSON object
9605 */
9606 public toJSON(): { [k: string]: any };
9607 }
9608
9609 /** Properties of a DeleteExclusionRequest. */
9610 interface IDeleteExclusionRequest {
9611
9612 /** DeleteExclusionRequest name */
9613 name?: (string|null);
9614 }
9615
9616 /** Represents a DeleteExclusionRequest. */
9617 class DeleteExclusionRequest implements IDeleteExclusionRequest {
9618
9619 /**
9620 * Constructs a new DeleteExclusionRequest.
9621 * @param [properties] Properties to set
9622 */
9623 constructor(properties?: google.logging.v2.IDeleteExclusionRequest);
9624
9625 /** DeleteExclusionRequest name. */
9626 public name: string;
9627
9628 /**
9629 * Creates a new DeleteExclusionRequest instance using the specified properties.
9630 * @param [properties] Properties to set
9631 * @returns DeleteExclusionRequest instance
9632 */
9633 public static create(properties?: google.logging.v2.IDeleteExclusionRequest): google.logging.v2.DeleteExclusionRequest;
9634
9635 /**
9636 * Encodes the specified DeleteExclusionRequest message. Does not implicitly {@link google.logging.v2.DeleteExclusionRequest.verify|verify} messages.
9637 * @param message DeleteExclusionRequest message or plain object to encode
9638 * @param [writer] Writer to encode to
9639 * @returns Writer
9640 */
9641 public static encode(message: google.logging.v2.IDeleteExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9642
9643 /**
9644 * Encodes the specified DeleteExclusionRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteExclusionRequest.verify|verify} messages.
9645 * @param message DeleteExclusionRequest message or plain object to encode
9646 * @param [writer] Writer to encode to
9647 * @returns Writer
9648 */
9649 public static encodeDelimited(message: google.logging.v2.IDeleteExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9650
9651 /**
9652 * Decodes a DeleteExclusionRequest message from the specified reader or buffer.
9653 * @param reader Reader or buffer to decode from
9654 * @param [length] Message length if known beforehand
9655 * @returns DeleteExclusionRequest
9656 * @throws {Error} If the payload is not a reader or valid buffer
9657 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9658 */
9659 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteExclusionRequest;
9660
9661 /**
9662 * Decodes a DeleteExclusionRequest message from the specified reader or buffer, length delimited.
9663 * @param reader Reader or buffer to decode from
9664 * @returns DeleteExclusionRequest
9665 * @throws {Error} If the payload is not a reader or valid buffer
9666 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9667 */
9668 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteExclusionRequest;
9669
9670 /**
9671 * Verifies a DeleteExclusionRequest message.
9672 * @param message Plain object to verify
9673 * @returns `null` if valid, otherwise the reason why it is not
9674 */
9675 public static verify(message: { [k: string]: any }): (string|null);
9676
9677 /**
9678 * Creates a DeleteExclusionRequest message from a plain object. Also converts values to their respective internal types.
9679 * @param object Plain object
9680 * @returns DeleteExclusionRequest
9681 */
9682 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteExclusionRequest;
9683
9684 /**
9685 * Creates a plain object from a DeleteExclusionRequest message. Also converts values to other types if specified.
9686 * @param message DeleteExclusionRequest
9687 * @param [options] Conversion options
9688 * @returns Plain object
9689 */
9690 public static toObject(message: google.logging.v2.DeleteExclusionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9691
9692 /**
9693 * Converts this DeleteExclusionRequest to JSON.
9694 * @returns JSON object
9695 */
9696 public toJSON(): { [k: string]: any };
9697 }
9698
9699 /** Properties of a GetCmekSettingsRequest. */
9700 interface IGetCmekSettingsRequest {
9701
9702 /** GetCmekSettingsRequest name */
9703 name?: (string|null);
9704 }
9705
9706 /** Represents a GetCmekSettingsRequest. */
9707 class GetCmekSettingsRequest implements IGetCmekSettingsRequest {
9708
9709 /**
9710 * Constructs a new GetCmekSettingsRequest.
9711 * @param [properties] Properties to set
9712 */
9713 constructor(properties?: google.logging.v2.IGetCmekSettingsRequest);
9714
9715 /** GetCmekSettingsRequest name. */
9716 public name: string;
9717
9718 /**
9719 * Creates a new GetCmekSettingsRequest instance using the specified properties.
9720 * @param [properties] Properties to set
9721 * @returns GetCmekSettingsRequest instance
9722 */
9723 public static create(properties?: google.logging.v2.IGetCmekSettingsRequest): google.logging.v2.GetCmekSettingsRequest;
9724
9725 /**
9726 * Encodes the specified GetCmekSettingsRequest message. Does not implicitly {@link google.logging.v2.GetCmekSettingsRequest.verify|verify} messages.
9727 * @param message GetCmekSettingsRequest message or plain object to encode
9728 * @param [writer] Writer to encode to
9729 * @returns Writer
9730 */
9731 public static encode(message: google.logging.v2.IGetCmekSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9732
9733 /**
9734 * Encodes the specified GetCmekSettingsRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetCmekSettingsRequest.verify|verify} messages.
9735 * @param message GetCmekSettingsRequest message or plain object to encode
9736 * @param [writer] Writer to encode to
9737 * @returns Writer
9738 */
9739 public static encodeDelimited(message: google.logging.v2.IGetCmekSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9740
9741 /**
9742 * Decodes a GetCmekSettingsRequest message from the specified reader or buffer.
9743 * @param reader Reader or buffer to decode from
9744 * @param [length] Message length if known beforehand
9745 * @returns GetCmekSettingsRequest
9746 * @throws {Error} If the payload is not a reader or valid buffer
9747 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9748 */
9749 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetCmekSettingsRequest;
9750
9751 /**
9752 * Decodes a GetCmekSettingsRequest message from the specified reader or buffer, length delimited.
9753 * @param reader Reader or buffer to decode from
9754 * @returns GetCmekSettingsRequest
9755 * @throws {Error} If the payload is not a reader or valid buffer
9756 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9757 */
9758 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetCmekSettingsRequest;
9759
9760 /**
9761 * Verifies a GetCmekSettingsRequest message.
9762 * @param message Plain object to verify
9763 * @returns `null` if valid, otherwise the reason why it is not
9764 */
9765 public static verify(message: { [k: string]: any }): (string|null);
9766
9767 /**
9768 * Creates a GetCmekSettingsRequest message from a plain object. Also converts values to their respective internal types.
9769 * @param object Plain object
9770 * @returns GetCmekSettingsRequest
9771 */
9772 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetCmekSettingsRequest;
9773
9774 /**
9775 * Creates a plain object from a GetCmekSettingsRequest message. Also converts values to other types if specified.
9776 * @param message GetCmekSettingsRequest
9777 * @param [options] Conversion options
9778 * @returns Plain object
9779 */
9780 public static toObject(message: google.logging.v2.GetCmekSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9781
9782 /**
9783 * Converts this GetCmekSettingsRequest to JSON.
9784 * @returns JSON object
9785 */
9786 public toJSON(): { [k: string]: any };
9787 }
9788
9789 /** Properties of an UpdateCmekSettingsRequest. */
9790 interface IUpdateCmekSettingsRequest {
9791
9792 /** UpdateCmekSettingsRequest name */
9793 name?: (string|null);
9794
9795 /** UpdateCmekSettingsRequest cmekSettings */
9796 cmekSettings?: (google.logging.v2.ICmekSettings|null);
9797
9798 /** UpdateCmekSettingsRequest updateMask */
9799 updateMask?: (google.protobuf.IFieldMask|null);
9800 }
9801
9802 /** Represents an UpdateCmekSettingsRequest. */
9803 class UpdateCmekSettingsRequest implements IUpdateCmekSettingsRequest {
9804
9805 /**
9806 * Constructs a new UpdateCmekSettingsRequest.
9807 * @param [properties] Properties to set
9808 */
9809 constructor(properties?: google.logging.v2.IUpdateCmekSettingsRequest);
9810
9811 /** UpdateCmekSettingsRequest name. */
9812 public name: string;
9813
9814 /** UpdateCmekSettingsRequest cmekSettings. */
9815 public cmekSettings?: (google.logging.v2.ICmekSettings|null);
9816
9817 /** UpdateCmekSettingsRequest updateMask. */
9818 public updateMask?: (google.protobuf.IFieldMask|null);
9819
9820 /**
9821 * Creates a new UpdateCmekSettingsRequest instance using the specified properties.
9822 * @param [properties] Properties to set
9823 * @returns UpdateCmekSettingsRequest instance
9824 */
9825 public static create(properties?: google.logging.v2.IUpdateCmekSettingsRequest): google.logging.v2.UpdateCmekSettingsRequest;
9826
9827 /**
9828 * Encodes the specified UpdateCmekSettingsRequest message. Does not implicitly {@link google.logging.v2.UpdateCmekSettingsRequest.verify|verify} messages.
9829 * @param message UpdateCmekSettingsRequest message or plain object to encode
9830 * @param [writer] Writer to encode to
9831 * @returns Writer
9832 */
9833 public static encode(message: google.logging.v2.IUpdateCmekSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9834
9835 /**
9836 * Encodes the specified UpdateCmekSettingsRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateCmekSettingsRequest.verify|verify} messages.
9837 * @param message UpdateCmekSettingsRequest message or plain object to encode
9838 * @param [writer] Writer to encode to
9839 * @returns Writer
9840 */
9841 public static encodeDelimited(message: google.logging.v2.IUpdateCmekSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9842
9843 /**
9844 * Decodes an UpdateCmekSettingsRequest message from the specified reader or buffer.
9845 * @param reader Reader or buffer to decode from
9846 * @param [length] Message length if known beforehand
9847 * @returns UpdateCmekSettingsRequest
9848 * @throws {Error} If the payload is not a reader or valid buffer
9849 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9850 */
9851 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateCmekSettingsRequest;
9852
9853 /**
9854 * Decodes an UpdateCmekSettingsRequest message from the specified reader or buffer, length delimited.
9855 * @param reader Reader or buffer to decode from
9856 * @returns UpdateCmekSettingsRequest
9857 * @throws {Error} If the payload is not a reader or valid buffer
9858 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9859 */
9860 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateCmekSettingsRequest;
9861
9862 /**
9863 * Verifies an UpdateCmekSettingsRequest message.
9864 * @param message Plain object to verify
9865 * @returns `null` if valid, otherwise the reason why it is not
9866 */
9867 public static verify(message: { [k: string]: any }): (string|null);
9868
9869 /**
9870 * Creates an UpdateCmekSettingsRequest message from a plain object. Also converts values to their respective internal types.
9871 * @param object Plain object
9872 * @returns UpdateCmekSettingsRequest
9873 */
9874 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateCmekSettingsRequest;
9875
9876 /**
9877 * Creates a plain object from an UpdateCmekSettingsRequest message. Also converts values to other types if specified.
9878 * @param message UpdateCmekSettingsRequest
9879 * @param [options] Conversion options
9880 * @returns Plain object
9881 */
9882 public static toObject(message: google.logging.v2.UpdateCmekSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9883
9884 /**
9885 * Converts this UpdateCmekSettingsRequest to JSON.
9886 * @returns JSON object
9887 */
9888 public toJSON(): { [k: string]: any };
9889 }
9890
9891 /** Properties of a CmekSettings. */
9892 interface ICmekSettings {
9893
9894 /** CmekSettings name */
9895 name?: (string|null);
9896
9897 /** CmekSettings kmsKeyName */
9898 kmsKeyName?: (string|null);
9899
9900 /** CmekSettings serviceAccountId */
9901 serviceAccountId?: (string|null);
9902 }
9903
9904 /** Represents a CmekSettings. */
9905 class CmekSettings implements ICmekSettings {
9906
9907 /**
9908 * Constructs a new CmekSettings.
9909 * @param [properties] Properties to set
9910 */
9911 constructor(properties?: google.logging.v2.ICmekSettings);
9912
9913 /** CmekSettings name. */
9914 public name: string;
9915
9916 /** CmekSettings kmsKeyName. */
9917 public kmsKeyName: string;
9918
9919 /** CmekSettings serviceAccountId. */
9920 public serviceAccountId: string;
9921
9922 /**
9923 * Creates a new CmekSettings instance using the specified properties.
9924 * @param [properties] Properties to set
9925 * @returns CmekSettings instance
9926 */
9927 public static create(properties?: google.logging.v2.ICmekSettings): google.logging.v2.CmekSettings;
9928
9929 /**
9930 * Encodes the specified CmekSettings message. Does not implicitly {@link google.logging.v2.CmekSettings.verify|verify} messages.
9931 * @param message CmekSettings message or plain object to encode
9932 * @param [writer] Writer to encode to
9933 * @returns Writer
9934 */
9935 public static encode(message: google.logging.v2.ICmekSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9936
9937 /**
9938 * Encodes the specified CmekSettings message, length delimited. Does not implicitly {@link google.logging.v2.CmekSettings.verify|verify} messages.
9939 * @param message CmekSettings message or plain object to encode
9940 * @param [writer] Writer to encode to
9941 * @returns Writer
9942 */
9943 public static encodeDelimited(message: google.logging.v2.ICmekSettings, writer?: $protobuf.Writer): $protobuf.Writer;
9944
9945 /**
9946 * Decodes a CmekSettings message from the specified reader or buffer.
9947 * @param reader Reader or buffer to decode from
9948 * @param [length] Message length if known beforehand
9949 * @returns CmekSettings
9950 * @throws {Error} If the payload is not a reader or valid buffer
9951 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9952 */
9953 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CmekSettings;
9954
9955 /**
9956 * Decodes a CmekSettings message from the specified reader or buffer, length delimited.
9957 * @param reader Reader or buffer to decode from
9958 * @returns CmekSettings
9959 * @throws {Error} If the payload is not a reader or valid buffer
9960 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9961 */
9962 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CmekSettings;
9963
9964 /**
9965 * Verifies a CmekSettings message.
9966 * @param message Plain object to verify
9967 * @returns `null` if valid, otherwise the reason why it is not
9968 */
9969 public static verify(message: { [k: string]: any }): (string|null);
9970
9971 /**
9972 * Creates a CmekSettings message from a plain object. Also converts values to their respective internal types.
9973 * @param object Plain object
9974 * @returns CmekSettings
9975 */
9976 public static fromObject(object: { [k: string]: any }): google.logging.v2.CmekSettings;
9977
9978 /**
9979 * Creates a plain object from a CmekSettings message. Also converts values to other types if specified.
9980 * @param message CmekSettings
9981 * @param [options] Conversion options
9982 * @returns Plain object
9983 */
9984 public static toObject(message: google.logging.v2.CmekSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
9985
9986 /**
9987 * Converts this CmekSettings to JSON.
9988 * @returns JSON object
9989 */
9990 public toJSON(): { [k: string]: any };
9991 }
9992
9993 /** Properties of a GetSettingsRequest. */
9994 interface IGetSettingsRequest {
9995
9996 /** GetSettingsRequest name */
9997 name?: (string|null);
9998 }
9999
10000 /** Represents a GetSettingsRequest. */
10001 class GetSettingsRequest implements IGetSettingsRequest {
10002
10003 /**
10004 * Constructs a new GetSettingsRequest.
10005 * @param [properties] Properties to set
10006 */
10007 constructor(properties?: google.logging.v2.IGetSettingsRequest);
10008
10009 /** GetSettingsRequest name. */
10010 public name: string;
10011
10012 /**
10013 * Creates a new GetSettingsRequest instance using the specified properties.
10014 * @param [properties] Properties to set
10015 * @returns GetSettingsRequest instance
10016 */
10017 public static create(properties?: google.logging.v2.IGetSettingsRequest): google.logging.v2.GetSettingsRequest;
10018
10019 /**
10020 * Encodes the specified GetSettingsRequest message. Does not implicitly {@link google.logging.v2.GetSettingsRequest.verify|verify} messages.
10021 * @param message GetSettingsRequest message or plain object to encode
10022 * @param [writer] Writer to encode to
10023 * @returns Writer
10024 */
10025 public static encode(message: google.logging.v2.IGetSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10026
10027 /**
10028 * Encodes the specified GetSettingsRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetSettingsRequest.verify|verify} messages.
10029 * @param message GetSettingsRequest message or plain object to encode
10030 * @param [writer] Writer to encode to
10031 * @returns Writer
10032 */
10033 public static encodeDelimited(message: google.logging.v2.IGetSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10034
10035 /**
10036 * Decodes a GetSettingsRequest message from the specified reader or buffer.
10037 * @param reader Reader or buffer to decode from
10038 * @param [length] Message length if known beforehand
10039 * @returns GetSettingsRequest
10040 * @throws {Error} If the payload is not a reader or valid buffer
10041 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10042 */
10043 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetSettingsRequest;
10044
10045 /**
10046 * Decodes a GetSettingsRequest message from the specified reader or buffer, length delimited.
10047 * @param reader Reader or buffer to decode from
10048 * @returns GetSettingsRequest
10049 * @throws {Error} If the payload is not a reader or valid buffer
10050 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10051 */
10052 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetSettingsRequest;
10053
10054 /**
10055 * Verifies a GetSettingsRequest message.
10056 * @param message Plain object to verify
10057 * @returns `null` if valid, otherwise the reason why it is not
10058 */
10059 public static verify(message: { [k: string]: any }): (string|null);
10060
10061 /**
10062 * Creates a GetSettingsRequest message from a plain object. Also converts values to their respective internal types.
10063 * @param object Plain object
10064 * @returns GetSettingsRequest
10065 */
10066 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetSettingsRequest;
10067
10068 /**
10069 * Creates a plain object from a GetSettingsRequest message. Also converts values to other types if specified.
10070 * @param message GetSettingsRequest
10071 * @param [options] Conversion options
10072 * @returns Plain object
10073 */
10074 public static toObject(message: google.logging.v2.GetSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10075
10076 /**
10077 * Converts this GetSettingsRequest to JSON.
10078 * @returns JSON object
10079 */
10080 public toJSON(): { [k: string]: any };
10081 }
10082
10083 /** Properties of an UpdateSettingsRequest. */
10084 interface IUpdateSettingsRequest {
10085
10086 /** UpdateSettingsRequest name */
10087 name?: (string|null);
10088
10089 /** UpdateSettingsRequest settings */
10090 settings?: (google.logging.v2.ISettings|null);
10091
10092 /** UpdateSettingsRequest updateMask */
10093 updateMask?: (google.protobuf.IFieldMask|null);
10094 }
10095
10096 /** Represents an UpdateSettingsRequest. */
10097 class UpdateSettingsRequest implements IUpdateSettingsRequest {
10098
10099 /**
10100 * Constructs a new UpdateSettingsRequest.
10101 * @param [properties] Properties to set
10102 */
10103 constructor(properties?: google.logging.v2.IUpdateSettingsRequest);
10104
10105 /** UpdateSettingsRequest name. */
10106 public name: string;
10107
10108 /** UpdateSettingsRequest settings. */
10109 public settings?: (google.logging.v2.ISettings|null);
10110
10111 /** UpdateSettingsRequest updateMask. */
10112 public updateMask?: (google.protobuf.IFieldMask|null);
10113
10114 /**
10115 * Creates a new UpdateSettingsRequest instance using the specified properties.
10116 * @param [properties] Properties to set
10117 * @returns UpdateSettingsRequest instance
10118 */
10119 public static create(properties?: google.logging.v2.IUpdateSettingsRequest): google.logging.v2.UpdateSettingsRequest;
10120
10121 /**
10122 * Encodes the specified UpdateSettingsRequest message. Does not implicitly {@link google.logging.v2.UpdateSettingsRequest.verify|verify} messages.
10123 * @param message UpdateSettingsRequest message or plain object to encode
10124 * @param [writer] Writer to encode to
10125 * @returns Writer
10126 */
10127 public static encode(message: google.logging.v2.IUpdateSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10128
10129 /**
10130 * Encodes the specified UpdateSettingsRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateSettingsRequest.verify|verify} messages.
10131 * @param message UpdateSettingsRequest message or plain object to encode
10132 * @param [writer] Writer to encode to
10133 * @returns Writer
10134 */
10135 public static encodeDelimited(message: google.logging.v2.IUpdateSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10136
10137 /**
10138 * Decodes an UpdateSettingsRequest message from the specified reader or buffer.
10139 * @param reader Reader or buffer to decode from
10140 * @param [length] Message length if known beforehand
10141 * @returns UpdateSettingsRequest
10142 * @throws {Error} If the payload is not a reader or valid buffer
10143 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10144 */
10145 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateSettingsRequest;
10146
10147 /**
10148 * Decodes an UpdateSettingsRequest message from the specified reader or buffer, length delimited.
10149 * @param reader Reader or buffer to decode from
10150 * @returns UpdateSettingsRequest
10151 * @throws {Error} If the payload is not a reader or valid buffer
10152 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10153 */
10154 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateSettingsRequest;
10155
10156 /**
10157 * Verifies an UpdateSettingsRequest message.
10158 * @param message Plain object to verify
10159 * @returns `null` if valid, otherwise the reason why it is not
10160 */
10161 public static verify(message: { [k: string]: any }): (string|null);
10162
10163 /**
10164 * Creates an UpdateSettingsRequest message from a plain object. Also converts values to their respective internal types.
10165 * @param object Plain object
10166 * @returns UpdateSettingsRequest
10167 */
10168 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateSettingsRequest;
10169
10170 /**
10171 * Creates a plain object from an UpdateSettingsRequest message. Also converts values to other types if specified.
10172 * @param message UpdateSettingsRequest
10173 * @param [options] Conversion options
10174 * @returns Plain object
10175 */
10176 public static toObject(message: google.logging.v2.UpdateSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10177
10178 /**
10179 * Converts this UpdateSettingsRequest to JSON.
10180 * @returns JSON object
10181 */
10182 public toJSON(): { [k: string]: any };
10183 }
10184
10185 /** Properties of a Settings. */
10186 interface ISettings {
10187
10188 /** Settings name */
10189 name?: (string|null);
10190
10191 /** Settings kmsKeyName */
10192 kmsKeyName?: (string|null);
10193
10194 /** Settings kmsServiceAccountId */
10195 kmsServiceAccountId?: (string|null);
10196
10197 /** Settings storageLocation */
10198 storageLocation?: (string|null);
10199
10200 /** Settings disableDefaultSink */
10201 disableDefaultSink?: (boolean|null);
10202 }
10203
10204 /** Represents a Settings. */
10205 class Settings implements ISettings {
10206
10207 /**
10208 * Constructs a new Settings.
10209 * @param [properties] Properties to set
10210 */
10211 constructor(properties?: google.logging.v2.ISettings);
10212
10213 /** Settings name. */
10214 public name: string;
10215
10216 /** Settings kmsKeyName. */
10217 public kmsKeyName: string;
10218
10219 /** Settings kmsServiceAccountId. */
10220 public kmsServiceAccountId: string;
10221
10222 /** Settings storageLocation. */
10223 public storageLocation: string;
10224
10225 /** Settings disableDefaultSink. */
10226 public disableDefaultSink: boolean;
10227
10228 /**
10229 * Creates a new Settings instance using the specified properties.
10230 * @param [properties] Properties to set
10231 * @returns Settings instance
10232 */
10233 public static create(properties?: google.logging.v2.ISettings): google.logging.v2.Settings;
10234
10235 /**
10236 * Encodes the specified Settings message. Does not implicitly {@link google.logging.v2.Settings.verify|verify} messages.
10237 * @param message Settings message or plain object to encode
10238 * @param [writer] Writer to encode to
10239 * @returns Writer
10240 */
10241 public static encode(message: google.logging.v2.ISettings, writer?: $protobuf.Writer): $protobuf.Writer;
10242
10243 /**
10244 * Encodes the specified Settings message, length delimited. Does not implicitly {@link google.logging.v2.Settings.verify|verify} messages.
10245 * @param message Settings message or plain object to encode
10246 * @param [writer] Writer to encode to
10247 * @returns Writer
10248 */
10249 public static encodeDelimited(message: google.logging.v2.ISettings, writer?: $protobuf.Writer): $protobuf.Writer;
10250
10251 /**
10252 * Decodes a Settings message from the specified reader or buffer.
10253 * @param reader Reader or buffer to decode from
10254 * @param [length] Message length if known beforehand
10255 * @returns Settings
10256 * @throws {Error} If the payload is not a reader or valid buffer
10257 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10258 */
10259 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.Settings;
10260
10261 /**
10262 * Decodes a Settings message from the specified reader or buffer, length delimited.
10263 * @param reader Reader or buffer to decode from
10264 * @returns Settings
10265 * @throws {Error} If the payload is not a reader or valid buffer
10266 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10267 */
10268 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.Settings;
10269
10270 /**
10271 * Verifies a Settings message.
10272 * @param message Plain object to verify
10273 * @returns `null` if valid, otherwise the reason why it is not
10274 */
10275 public static verify(message: { [k: string]: any }): (string|null);
10276
10277 /**
10278 * Creates a Settings message from a plain object. Also converts values to their respective internal types.
10279 * @param object Plain object
10280 * @returns Settings
10281 */
10282 public static fromObject(object: { [k: string]: any }): google.logging.v2.Settings;
10283
10284 /**
10285 * Creates a plain object from a Settings message. Also converts values to other types if specified.
10286 * @param message Settings
10287 * @param [options] Conversion options
10288 * @returns Plain object
10289 */
10290 public static toObject(message: google.logging.v2.Settings, options?: $protobuf.IConversionOptions): { [k: string]: any };
10291
10292 /**
10293 * Converts this Settings to JSON.
10294 * @returns JSON object
10295 */
10296 public toJSON(): { [k: string]: any };
10297 }
10298
10299 /** Properties of a CopyLogEntriesRequest. */
10300 interface ICopyLogEntriesRequest {
10301
10302 /** CopyLogEntriesRequest name */
10303 name?: (string|null);
10304
10305 /** CopyLogEntriesRequest filter */
10306 filter?: (string|null);
10307
10308 /** CopyLogEntriesRequest destination */
10309 destination?: (string|null);
10310 }
10311
10312 /** Represents a CopyLogEntriesRequest. */
10313 class CopyLogEntriesRequest implements ICopyLogEntriesRequest {
10314
10315 /**
10316 * Constructs a new CopyLogEntriesRequest.
10317 * @param [properties] Properties to set
10318 */
10319 constructor(properties?: google.logging.v2.ICopyLogEntriesRequest);
10320
10321 /** CopyLogEntriesRequest name. */
10322 public name: string;
10323
10324 /** CopyLogEntriesRequest filter. */
10325 public filter: string;
10326
10327 /** CopyLogEntriesRequest destination. */
10328 public destination: string;
10329
10330 /**
10331 * Creates a new CopyLogEntriesRequest instance using the specified properties.
10332 * @param [properties] Properties to set
10333 * @returns CopyLogEntriesRequest instance
10334 */
10335 public static create(properties?: google.logging.v2.ICopyLogEntriesRequest): google.logging.v2.CopyLogEntriesRequest;
10336
10337 /**
10338 * Encodes the specified CopyLogEntriesRequest message. Does not implicitly {@link google.logging.v2.CopyLogEntriesRequest.verify|verify} messages.
10339 * @param message CopyLogEntriesRequest message or plain object to encode
10340 * @param [writer] Writer to encode to
10341 * @returns Writer
10342 */
10343 public static encode(message: google.logging.v2.ICopyLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10344
10345 /**
10346 * Encodes the specified CopyLogEntriesRequest message, length delimited. Does not implicitly {@link google.logging.v2.CopyLogEntriesRequest.verify|verify} messages.
10347 * @param message CopyLogEntriesRequest message or plain object to encode
10348 * @param [writer] Writer to encode to
10349 * @returns Writer
10350 */
10351 public static encodeDelimited(message: google.logging.v2.ICopyLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10352
10353 /**
10354 * Decodes a CopyLogEntriesRequest message from the specified reader or buffer.
10355 * @param reader Reader or buffer to decode from
10356 * @param [length] Message length if known beforehand
10357 * @returns CopyLogEntriesRequest
10358 * @throws {Error} If the payload is not a reader or valid buffer
10359 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10360 */
10361 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CopyLogEntriesRequest;
10362
10363 /**
10364 * Decodes a CopyLogEntriesRequest message from the specified reader or buffer, length delimited.
10365 * @param reader Reader or buffer to decode from
10366 * @returns CopyLogEntriesRequest
10367 * @throws {Error} If the payload is not a reader or valid buffer
10368 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10369 */
10370 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CopyLogEntriesRequest;
10371
10372 /**
10373 * Verifies a CopyLogEntriesRequest message.
10374 * @param message Plain object to verify
10375 * @returns `null` if valid, otherwise the reason why it is not
10376 */
10377 public static verify(message: { [k: string]: any }): (string|null);
10378
10379 /**
10380 * Creates a CopyLogEntriesRequest message from a plain object. Also converts values to their respective internal types.
10381 * @param object Plain object
10382 * @returns CopyLogEntriesRequest
10383 */
10384 public static fromObject(object: { [k: string]: any }): google.logging.v2.CopyLogEntriesRequest;
10385
10386 /**
10387 * Creates a plain object from a CopyLogEntriesRequest message. Also converts values to other types if specified.
10388 * @param message CopyLogEntriesRequest
10389 * @param [options] Conversion options
10390 * @returns Plain object
10391 */
10392 public static toObject(message: google.logging.v2.CopyLogEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10393
10394 /**
10395 * Converts this CopyLogEntriesRequest to JSON.
10396 * @returns JSON object
10397 */
10398 public toJSON(): { [k: string]: any };
10399 }
10400
10401 /** Properties of a CopyLogEntriesMetadata. */
10402 interface ICopyLogEntriesMetadata {
10403
10404 /** CopyLogEntriesMetadata startTime */
10405 startTime?: (google.protobuf.ITimestamp|null);
10406
10407 /** CopyLogEntriesMetadata endTime */
10408 endTime?: (google.protobuf.ITimestamp|null);
10409
10410 /** CopyLogEntriesMetadata state */
10411 state?: (google.logging.v2.OperationState|keyof typeof google.logging.v2.OperationState|null);
10412
10413 /** CopyLogEntriesMetadata cancellationRequested */
10414 cancellationRequested?: (boolean|null);
10415
10416 /** CopyLogEntriesMetadata request */
10417 request?: (google.logging.v2.ICopyLogEntriesRequest|null);
10418
10419 /** CopyLogEntriesMetadata progress */
10420 progress?: (number|null);
10421
10422 /** CopyLogEntriesMetadata writerIdentity */
10423 writerIdentity?: (string|null);
10424 }
10425
10426 /** Represents a CopyLogEntriesMetadata. */
10427 class CopyLogEntriesMetadata implements ICopyLogEntriesMetadata {
10428
10429 /**
10430 * Constructs a new CopyLogEntriesMetadata.
10431 * @param [properties] Properties to set
10432 */
10433 constructor(properties?: google.logging.v2.ICopyLogEntriesMetadata);
10434
10435 /** CopyLogEntriesMetadata startTime. */
10436 public startTime?: (google.protobuf.ITimestamp|null);
10437
10438 /** CopyLogEntriesMetadata endTime. */
10439 public endTime?: (google.protobuf.ITimestamp|null);
10440
10441 /** CopyLogEntriesMetadata state. */
10442 public state: (google.logging.v2.OperationState|keyof typeof google.logging.v2.OperationState);
10443
10444 /** CopyLogEntriesMetadata cancellationRequested. */
10445 public cancellationRequested: boolean;
10446
10447 /** CopyLogEntriesMetadata request. */
10448 public request?: (google.logging.v2.ICopyLogEntriesRequest|null);
10449
10450 /** CopyLogEntriesMetadata progress. */
10451 public progress: number;
10452
10453 /** CopyLogEntriesMetadata writerIdentity. */
10454 public writerIdentity: string;
10455
10456 /**
10457 * Creates a new CopyLogEntriesMetadata instance using the specified properties.
10458 * @param [properties] Properties to set
10459 * @returns CopyLogEntriesMetadata instance
10460 */
10461 public static create(properties?: google.logging.v2.ICopyLogEntriesMetadata): google.logging.v2.CopyLogEntriesMetadata;
10462
10463 /**
10464 * Encodes the specified CopyLogEntriesMetadata message. Does not implicitly {@link google.logging.v2.CopyLogEntriesMetadata.verify|verify} messages.
10465 * @param message CopyLogEntriesMetadata message or plain object to encode
10466 * @param [writer] Writer to encode to
10467 * @returns Writer
10468 */
10469 public static encode(message: google.logging.v2.ICopyLogEntriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
10470
10471 /**
10472 * Encodes the specified CopyLogEntriesMetadata message, length delimited. Does not implicitly {@link google.logging.v2.CopyLogEntriesMetadata.verify|verify} messages.
10473 * @param message CopyLogEntriesMetadata message or plain object to encode
10474 * @param [writer] Writer to encode to
10475 * @returns Writer
10476 */
10477 public static encodeDelimited(message: google.logging.v2.ICopyLogEntriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
10478
10479 /**
10480 * Decodes a CopyLogEntriesMetadata message from the specified reader or buffer.
10481 * @param reader Reader or buffer to decode from
10482 * @param [length] Message length if known beforehand
10483 * @returns CopyLogEntriesMetadata
10484 * @throws {Error} If the payload is not a reader or valid buffer
10485 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10486 */
10487 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CopyLogEntriesMetadata;
10488
10489 /**
10490 * Decodes a CopyLogEntriesMetadata message from the specified reader or buffer, length delimited.
10491 * @param reader Reader or buffer to decode from
10492 * @returns CopyLogEntriesMetadata
10493 * @throws {Error} If the payload is not a reader or valid buffer
10494 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10495 */
10496 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CopyLogEntriesMetadata;
10497
10498 /**
10499 * Verifies a CopyLogEntriesMetadata message.
10500 * @param message Plain object to verify
10501 * @returns `null` if valid, otherwise the reason why it is not
10502 */
10503 public static verify(message: { [k: string]: any }): (string|null);
10504
10505 /**
10506 * Creates a CopyLogEntriesMetadata message from a plain object. Also converts values to their respective internal types.
10507 * @param object Plain object
10508 * @returns CopyLogEntriesMetadata
10509 */
10510 public static fromObject(object: { [k: string]: any }): google.logging.v2.CopyLogEntriesMetadata;
10511
10512 /**
10513 * Creates a plain object from a CopyLogEntriesMetadata message. Also converts values to other types if specified.
10514 * @param message CopyLogEntriesMetadata
10515 * @param [options] Conversion options
10516 * @returns Plain object
10517 */
10518 public static toObject(message: google.logging.v2.CopyLogEntriesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
10519
10520 /**
10521 * Converts this CopyLogEntriesMetadata to JSON.
10522 * @returns JSON object
10523 */
10524 public toJSON(): { [k: string]: any };
10525 }
10526
10527 /** Properties of a CopyLogEntriesResponse. */
10528 interface ICopyLogEntriesResponse {
10529
10530 /** CopyLogEntriesResponse logEntriesCopiedCount */
10531 logEntriesCopiedCount?: (number|Long|string|null);
10532 }
10533
10534 /** Represents a CopyLogEntriesResponse. */
10535 class CopyLogEntriesResponse implements ICopyLogEntriesResponse {
10536
10537 /**
10538 * Constructs a new CopyLogEntriesResponse.
10539 * @param [properties] Properties to set
10540 */
10541 constructor(properties?: google.logging.v2.ICopyLogEntriesResponse);
10542
10543 /** CopyLogEntriesResponse logEntriesCopiedCount. */
10544 public logEntriesCopiedCount: (number|Long|string);
10545
10546 /**
10547 * Creates a new CopyLogEntriesResponse instance using the specified properties.
10548 * @param [properties] Properties to set
10549 * @returns CopyLogEntriesResponse instance
10550 */
10551 public static create(properties?: google.logging.v2.ICopyLogEntriesResponse): google.logging.v2.CopyLogEntriesResponse;
10552
10553 /**
10554 * Encodes the specified CopyLogEntriesResponse message. Does not implicitly {@link google.logging.v2.CopyLogEntriesResponse.verify|verify} messages.
10555 * @param message CopyLogEntriesResponse message or plain object to encode
10556 * @param [writer] Writer to encode to
10557 * @returns Writer
10558 */
10559 public static encode(message: google.logging.v2.ICopyLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
10560
10561 /**
10562 * Encodes the specified CopyLogEntriesResponse message, length delimited. Does not implicitly {@link google.logging.v2.CopyLogEntriesResponse.verify|verify} messages.
10563 * @param message CopyLogEntriesResponse message or plain object to encode
10564 * @param [writer] Writer to encode to
10565 * @returns Writer
10566 */
10567 public static encodeDelimited(message: google.logging.v2.ICopyLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
10568
10569 /**
10570 * Decodes a CopyLogEntriesResponse message from the specified reader or buffer.
10571 * @param reader Reader or buffer to decode from
10572 * @param [length] Message length if known beforehand
10573 * @returns CopyLogEntriesResponse
10574 * @throws {Error} If the payload is not a reader or valid buffer
10575 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10576 */
10577 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CopyLogEntriesResponse;
10578
10579 /**
10580 * Decodes a CopyLogEntriesResponse message from the specified reader or buffer, length delimited.
10581 * @param reader Reader or buffer to decode from
10582 * @returns CopyLogEntriesResponse
10583 * @throws {Error} If the payload is not a reader or valid buffer
10584 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10585 */
10586 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CopyLogEntriesResponse;
10587
10588 /**
10589 * Verifies a CopyLogEntriesResponse message.
10590 * @param message Plain object to verify
10591 * @returns `null` if valid, otherwise the reason why it is not
10592 */
10593 public static verify(message: { [k: string]: any }): (string|null);
10594
10595 /**
10596 * Creates a CopyLogEntriesResponse message from a plain object. Also converts values to their respective internal types.
10597 * @param object Plain object
10598 * @returns CopyLogEntriesResponse
10599 */
10600 public static fromObject(object: { [k: string]: any }): google.logging.v2.CopyLogEntriesResponse;
10601
10602 /**
10603 * Creates a plain object from a CopyLogEntriesResponse message. Also converts values to other types if specified.
10604 * @param message CopyLogEntriesResponse
10605 * @param [options] Conversion options
10606 * @returns Plain object
10607 */
10608 public static toObject(message: google.logging.v2.CopyLogEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
10609
10610 /**
10611 * Converts this CopyLogEntriesResponse to JSON.
10612 * @returns JSON object
10613 */
10614 public toJSON(): { [k: string]: any };
10615 }
10616
10617 /** LifecycleState enum. */
10618 enum LifecycleState {
10619 LIFECYCLE_STATE_UNSPECIFIED = 0,
10620 ACTIVE = 1,
10621 DELETE_REQUESTED = 2
10622 }
10623
10624 /** OperationState enum. */
10625 enum OperationState {
10626 OPERATION_STATE_UNSPECIFIED = 0,
10627 OPERATION_STATE_SCHEDULED = 1,
10628 OPERATION_STATE_WAITING_FOR_PERMISSIONS = 2,
10629 OPERATION_STATE_RUNNING = 3,
10630 OPERATION_STATE_SUCCEEDED = 4,
10631 OPERATION_STATE_FAILED = 5,
10632 OPERATION_STATE_CANCELLED = 6
10633 }
10634
10635 /** Represents a MetricsServiceV2 */
10636 class MetricsServiceV2 extends $protobuf.rpc.Service {
10637
10638 /**
10639 * Constructs a new MetricsServiceV2 service.
10640 * @param rpcImpl RPC implementation
10641 * @param [requestDelimited=false] Whether requests are length-delimited
10642 * @param [responseDelimited=false] Whether responses are length-delimited
10643 */
10644 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
10645
10646 /**
10647 * Creates new MetricsServiceV2 service using the specified rpc implementation.
10648 * @param rpcImpl RPC implementation
10649 * @param [requestDelimited=false] Whether requests are length-delimited
10650 * @param [responseDelimited=false] Whether responses are length-delimited
10651 * @returns RPC service. Useful where requests and/or responses are streamed.
10652 */
10653 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): MetricsServiceV2;
10654
10655 /**
10656 * Calls ListLogMetrics.
10657 * @param request ListLogMetricsRequest message or plain object
10658 * @param callback Node-style callback called with the error, if any, and ListLogMetricsResponse
10659 */
10660 public listLogMetrics(request: google.logging.v2.IListLogMetricsRequest, callback: google.logging.v2.MetricsServiceV2.ListLogMetricsCallback): void;
10661
10662 /**
10663 * Calls ListLogMetrics.
10664 * @param request ListLogMetricsRequest message or plain object
10665 * @returns Promise
10666 */
10667 public listLogMetrics(request: google.logging.v2.IListLogMetricsRequest): Promise<google.logging.v2.ListLogMetricsResponse>;
10668
10669 /**
10670 * Calls GetLogMetric.
10671 * @param request GetLogMetricRequest message or plain object
10672 * @param callback Node-style callback called with the error, if any, and LogMetric
10673 */
10674 public getLogMetric(request: google.logging.v2.IGetLogMetricRequest, callback: google.logging.v2.MetricsServiceV2.GetLogMetricCallback): void;
10675
10676 /**
10677 * Calls GetLogMetric.
10678 * @param request GetLogMetricRequest message or plain object
10679 * @returns Promise
10680 */
10681 public getLogMetric(request: google.logging.v2.IGetLogMetricRequest): Promise<google.logging.v2.LogMetric>;
10682
10683 /**
10684 * Calls CreateLogMetric.
10685 * @param request CreateLogMetricRequest message or plain object
10686 * @param callback Node-style callback called with the error, if any, and LogMetric
10687 */
10688 public createLogMetric(request: google.logging.v2.ICreateLogMetricRequest, callback: google.logging.v2.MetricsServiceV2.CreateLogMetricCallback): void;
10689
10690 /**
10691 * Calls CreateLogMetric.
10692 * @param request CreateLogMetricRequest message or plain object
10693 * @returns Promise
10694 */
10695 public createLogMetric(request: google.logging.v2.ICreateLogMetricRequest): Promise<google.logging.v2.LogMetric>;
10696
10697 /**
10698 * Calls UpdateLogMetric.
10699 * @param request UpdateLogMetricRequest message or plain object
10700 * @param callback Node-style callback called with the error, if any, and LogMetric
10701 */
10702 public updateLogMetric(request: google.logging.v2.IUpdateLogMetricRequest, callback: google.logging.v2.MetricsServiceV2.UpdateLogMetricCallback): void;
10703
10704 /**
10705 * Calls UpdateLogMetric.
10706 * @param request UpdateLogMetricRequest message or plain object
10707 * @returns Promise
10708 */
10709 public updateLogMetric(request: google.logging.v2.IUpdateLogMetricRequest): Promise<google.logging.v2.LogMetric>;
10710
10711 /**
10712 * Calls DeleteLogMetric.
10713 * @param request DeleteLogMetricRequest message or plain object
10714 * @param callback Node-style callback called with the error, if any, and Empty
10715 */
10716 public deleteLogMetric(request: google.logging.v2.IDeleteLogMetricRequest, callback: google.logging.v2.MetricsServiceV2.DeleteLogMetricCallback): void;
10717
10718 /**
10719 * Calls DeleteLogMetric.
10720 * @param request DeleteLogMetricRequest message or plain object
10721 * @returns Promise
10722 */
10723 public deleteLogMetric(request: google.logging.v2.IDeleteLogMetricRequest): Promise<google.protobuf.Empty>;
10724 }
10725
10726 namespace MetricsServiceV2 {
10727
10728 /**
10729 * Callback as used by {@link google.logging.v2.MetricsServiceV2|listLogMetrics}.
10730 * @param error Error, if any
10731 * @param [response] ListLogMetricsResponse
10732 */
10733 type ListLogMetricsCallback = (error: (Error|null), response?: google.logging.v2.ListLogMetricsResponse) => void;
10734
10735 /**
10736 * Callback as used by {@link google.logging.v2.MetricsServiceV2|getLogMetric}.
10737 * @param error Error, if any
10738 * @param [response] LogMetric
10739 */
10740 type GetLogMetricCallback = (error: (Error|null), response?: google.logging.v2.LogMetric) => void;
10741
10742 /**
10743 * Callback as used by {@link google.logging.v2.MetricsServiceV2|createLogMetric}.
10744 * @param error Error, if any
10745 * @param [response] LogMetric
10746 */
10747 type CreateLogMetricCallback = (error: (Error|null), response?: google.logging.v2.LogMetric) => void;
10748
10749 /**
10750 * Callback as used by {@link google.logging.v2.MetricsServiceV2|updateLogMetric}.
10751 * @param error Error, if any
10752 * @param [response] LogMetric
10753 */
10754 type UpdateLogMetricCallback = (error: (Error|null), response?: google.logging.v2.LogMetric) => void;
10755
10756 /**
10757 * Callback as used by {@link google.logging.v2.MetricsServiceV2|deleteLogMetric}.
10758 * @param error Error, if any
10759 * @param [response] Empty
10760 */
10761 type DeleteLogMetricCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
10762 }
10763
10764 /** Properties of a LogMetric. */
10765 interface ILogMetric {
10766
10767 /** LogMetric name */
10768 name?: (string|null);
10769
10770 /** LogMetric description */
10771 description?: (string|null);
10772
10773 /** LogMetric filter */
10774 filter?: (string|null);
10775
10776 /** LogMetric disabled */
10777 disabled?: (boolean|null);
10778
10779 /** LogMetric metricDescriptor */
10780 metricDescriptor?: (google.api.IMetricDescriptor|null);
10781
10782 /** LogMetric valueExtractor */
10783 valueExtractor?: (string|null);
10784
10785 /** LogMetric labelExtractors */
10786 labelExtractors?: ({ [k: string]: string }|null);
10787
10788 /** LogMetric bucketOptions */
10789 bucketOptions?: (google.api.Distribution.IBucketOptions|null);
10790
10791 /** LogMetric createTime */
10792 createTime?: (google.protobuf.ITimestamp|null);
10793
10794 /** LogMetric updateTime */
10795 updateTime?: (google.protobuf.ITimestamp|null);
10796
10797 /** LogMetric version */
10798 version?: (google.logging.v2.LogMetric.ApiVersion|keyof typeof google.logging.v2.LogMetric.ApiVersion|null);
10799 }
10800
10801 /** Represents a LogMetric. */
10802 class LogMetric implements ILogMetric {
10803
10804 /**
10805 * Constructs a new LogMetric.
10806 * @param [properties] Properties to set
10807 */
10808 constructor(properties?: google.logging.v2.ILogMetric);
10809
10810 /** LogMetric name. */
10811 public name: string;
10812
10813 /** LogMetric description. */
10814 public description: string;
10815
10816 /** LogMetric filter. */
10817 public filter: string;
10818
10819 /** LogMetric disabled. */
10820 public disabled: boolean;
10821
10822 /** LogMetric metricDescriptor. */
10823 public metricDescriptor?: (google.api.IMetricDescriptor|null);
10824
10825 /** LogMetric valueExtractor. */
10826 public valueExtractor: string;
10827
10828 /** LogMetric labelExtractors. */
10829 public labelExtractors: { [k: string]: string };
10830
10831 /** LogMetric bucketOptions. */
10832 public bucketOptions?: (google.api.Distribution.IBucketOptions|null);
10833
10834 /** LogMetric createTime. */
10835 public createTime?: (google.protobuf.ITimestamp|null);
10836
10837 /** LogMetric updateTime. */
10838 public updateTime?: (google.protobuf.ITimestamp|null);
10839
10840 /** LogMetric version. */
10841 public version: (google.logging.v2.LogMetric.ApiVersion|keyof typeof google.logging.v2.LogMetric.ApiVersion);
10842
10843 /**
10844 * Creates a new LogMetric instance using the specified properties.
10845 * @param [properties] Properties to set
10846 * @returns LogMetric instance
10847 */
10848 public static create(properties?: google.logging.v2.ILogMetric): google.logging.v2.LogMetric;
10849
10850 /**
10851 * Encodes the specified LogMetric message. Does not implicitly {@link google.logging.v2.LogMetric.verify|verify} messages.
10852 * @param message LogMetric message or plain object to encode
10853 * @param [writer] Writer to encode to
10854 * @returns Writer
10855 */
10856 public static encode(message: google.logging.v2.ILogMetric, writer?: $protobuf.Writer): $protobuf.Writer;
10857
10858 /**
10859 * Encodes the specified LogMetric message, length delimited. Does not implicitly {@link google.logging.v2.LogMetric.verify|verify} messages.
10860 * @param message LogMetric message or plain object to encode
10861 * @param [writer] Writer to encode to
10862 * @returns Writer
10863 */
10864 public static encodeDelimited(message: google.logging.v2.ILogMetric, writer?: $protobuf.Writer): $protobuf.Writer;
10865
10866 /**
10867 * Decodes a LogMetric message from the specified reader or buffer.
10868 * @param reader Reader or buffer to decode from
10869 * @param [length] Message length if known beforehand
10870 * @returns LogMetric
10871 * @throws {Error} If the payload is not a reader or valid buffer
10872 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10873 */
10874 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogMetric;
10875
10876 /**
10877 * Decodes a LogMetric message from the specified reader or buffer, length delimited.
10878 * @param reader Reader or buffer to decode from
10879 * @returns LogMetric
10880 * @throws {Error} If the payload is not a reader or valid buffer
10881 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10882 */
10883 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogMetric;
10884
10885 /**
10886 * Verifies a LogMetric message.
10887 * @param message Plain object to verify
10888 * @returns `null` if valid, otherwise the reason why it is not
10889 */
10890 public static verify(message: { [k: string]: any }): (string|null);
10891
10892 /**
10893 * Creates a LogMetric message from a plain object. Also converts values to their respective internal types.
10894 * @param object Plain object
10895 * @returns LogMetric
10896 */
10897 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogMetric;
10898
10899 /**
10900 * Creates a plain object from a LogMetric message. Also converts values to other types if specified.
10901 * @param message LogMetric
10902 * @param [options] Conversion options
10903 * @returns Plain object
10904 */
10905 public static toObject(message: google.logging.v2.LogMetric, options?: $protobuf.IConversionOptions): { [k: string]: any };
10906
10907 /**
10908 * Converts this LogMetric to JSON.
10909 * @returns JSON object
10910 */
10911 public toJSON(): { [k: string]: any };
10912 }
10913
10914 namespace LogMetric {
10915
10916 /** ApiVersion enum. */
10917 enum ApiVersion {
10918 V2 = 0,
10919 V1 = 1
10920 }
10921 }
10922
10923 /** Properties of a ListLogMetricsRequest. */
10924 interface IListLogMetricsRequest {
10925
10926 /** ListLogMetricsRequest parent */
10927 parent?: (string|null);
10928
10929 /** ListLogMetricsRequest pageToken */
10930 pageToken?: (string|null);
10931
10932 /** ListLogMetricsRequest pageSize */
10933 pageSize?: (number|null);
10934 }
10935
10936 /** Represents a ListLogMetricsRequest. */
10937 class ListLogMetricsRequest implements IListLogMetricsRequest {
10938
10939 /**
10940 * Constructs a new ListLogMetricsRequest.
10941 * @param [properties] Properties to set
10942 */
10943 constructor(properties?: google.logging.v2.IListLogMetricsRequest);
10944
10945 /** ListLogMetricsRequest parent. */
10946 public parent: string;
10947
10948 /** ListLogMetricsRequest pageToken. */
10949 public pageToken: string;
10950
10951 /** ListLogMetricsRequest pageSize. */
10952 public pageSize: number;
10953
10954 /**
10955 * Creates a new ListLogMetricsRequest instance using the specified properties.
10956 * @param [properties] Properties to set
10957 * @returns ListLogMetricsRequest instance
10958 */
10959 public static create(properties?: google.logging.v2.IListLogMetricsRequest): google.logging.v2.ListLogMetricsRequest;
10960
10961 /**
10962 * Encodes the specified ListLogMetricsRequest message. Does not implicitly {@link google.logging.v2.ListLogMetricsRequest.verify|verify} messages.
10963 * @param message ListLogMetricsRequest message or plain object to encode
10964 * @param [writer] Writer to encode to
10965 * @returns Writer
10966 */
10967 public static encode(message: google.logging.v2.IListLogMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10968
10969 /**
10970 * Encodes the specified ListLogMetricsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListLogMetricsRequest.verify|verify} messages.
10971 * @param message ListLogMetricsRequest message or plain object to encode
10972 * @param [writer] Writer to encode to
10973 * @returns Writer
10974 */
10975 public static encodeDelimited(message: google.logging.v2.IListLogMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10976
10977 /**
10978 * Decodes a ListLogMetricsRequest message from the specified reader or buffer.
10979 * @param reader Reader or buffer to decode from
10980 * @param [length] Message length if known beforehand
10981 * @returns ListLogMetricsRequest
10982 * @throws {Error} If the payload is not a reader or valid buffer
10983 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10984 */
10985 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogMetricsRequest;
10986
10987 /**
10988 * Decodes a ListLogMetricsRequest message from the specified reader or buffer, length delimited.
10989 * @param reader Reader or buffer to decode from
10990 * @returns ListLogMetricsRequest
10991 * @throws {Error} If the payload is not a reader or valid buffer
10992 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10993 */
10994 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogMetricsRequest;
10995
10996 /**
10997 * Verifies a ListLogMetricsRequest message.
10998 * @param message Plain object to verify
10999 * @returns `null` if valid, otherwise the reason why it is not
11000 */
11001 public static verify(message: { [k: string]: any }): (string|null);
11002
11003 /**
11004 * Creates a ListLogMetricsRequest message from a plain object. Also converts values to their respective internal types.
11005 * @param object Plain object
11006 * @returns ListLogMetricsRequest
11007 */
11008 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogMetricsRequest;
11009
11010 /**
11011 * Creates a plain object from a ListLogMetricsRequest message. Also converts values to other types if specified.
11012 * @param message ListLogMetricsRequest
11013 * @param [options] Conversion options
11014 * @returns Plain object
11015 */
11016 public static toObject(message: google.logging.v2.ListLogMetricsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11017
11018 /**
11019 * Converts this ListLogMetricsRequest to JSON.
11020 * @returns JSON object
11021 */
11022 public toJSON(): { [k: string]: any };
11023 }
11024
11025 /** Properties of a ListLogMetricsResponse. */
11026 interface IListLogMetricsResponse {
11027
11028 /** ListLogMetricsResponse metrics */
11029 metrics?: (google.logging.v2.ILogMetric[]|null);
11030
11031 /** ListLogMetricsResponse nextPageToken */
11032 nextPageToken?: (string|null);
11033 }
11034
11035 /** Represents a ListLogMetricsResponse. */
11036 class ListLogMetricsResponse implements IListLogMetricsResponse {
11037
11038 /**
11039 * Constructs a new ListLogMetricsResponse.
11040 * @param [properties] Properties to set
11041 */
11042 constructor(properties?: google.logging.v2.IListLogMetricsResponse);
11043
11044 /** ListLogMetricsResponse metrics. */
11045 public metrics: google.logging.v2.ILogMetric[];
11046
11047 /** ListLogMetricsResponse nextPageToken. */
11048 public nextPageToken: string;
11049
11050 /**
11051 * Creates a new ListLogMetricsResponse instance using the specified properties.
11052 * @param [properties] Properties to set
11053 * @returns ListLogMetricsResponse instance
11054 */
11055 public static create(properties?: google.logging.v2.IListLogMetricsResponse): google.logging.v2.ListLogMetricsResponse;
11056
11057 /**
11058 * Encodes the specified ListLogMetricsResponse message. Does not implicitly {@link google.logging.v2.ListLogMetricsResponse.verify|verify} messages.
11059 * @param message ListLogMetricsResponse message or plain object to encode
11060 * @param [writer] Writer to encode to
11061 * @returns Writer
11062 */
11063 public static encode(message: google.logging.v2.IListLogMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
11064
11065 /**
11066 * Encodes the specified ListLogMetricsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListLogMetricsResponse.verify|verify} messages.
11067 * @param message ListLogMetricsResponse message or plain object to encode
11068 * @param [writer] Writer to encode to
11069 * @returns Writer
11070 */
11071 public static encodeDelimited(message: google.logging.v2.IListLogMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
11072
11073 /**
11074 * Decodes a ListLogMetricsResponse message from the specified reader or buffer.
11075 * @param reader Reader or buffer to decode from
11076 * @param [length] Message length if known beforehand
11077 * @returns ListLogMetricsResponse
11078 * @throws {Error} If the payload is not a reader or valid buffer
11079 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11080 */
11081 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogMetricsResponse;
11082
11083 /**
11084 * Decodes a ListLogMetricsResponse message from the specified reader or buffer, length delimited.
11085 * @param reader Reader or buffer to decode from
11086 * @returns ListLogMetricsResponse
11087 * @throws {Error} If the payload is not a reader or valid buffer
11088 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11089 */
11090 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogMetricsResponse;
11091
11092 /**
11093 * Verifies a ListLogMetricsResponse message.
11094 * @param message Plain object to verify
11095 * @returns `null` if valid, otherwise the reason why it is not
11096 */
11097 public static verify(message: { [k: string]: any }): (string|null);
11098
11099 /**
11100 * Creates a ListLogMetricsResponse message from a plain object. Also converts values to their respective internal types.
11101 * @param object Plain object
11102 * @returns ListLogMetricsResponse
11103 */
11104 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogMetricsResponse;
11105
11106 /**
11107 * Creates a plain object from a ListLogMetricsResponse message. Also converts values to other types if specified.
11108 * @param message ListLogMetricsResponse
11109 * @param [options] Conversion options
11110 * @returns Plain object
11111 */
11112 public static toObject(message: google.logging.v2.ListLogMetricsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
11113
11114 /**
11115 * Converts this ListLogMetricsResponse to JSON.
11116 * @returns JSON object
11117 */
11118 public toJSON(): { [k: string]: any };
11119 }
11120
11121 /** Properties of a GetLogMetricRequest. */
11122 interface IGetLogMetricRequest {
11123
11124 /** GetLogMetricRequest metricName */
11125 metricName?: (string|null);
11126 }
11127
11128 /** Represents a GetLogMetricRequest. */
11129 class GetLogMetricRequest implements IGetLogMetricRequest {
11130
11131 /**
11132 * Constructs a new GetLogMetricRequest.
11133 * @param [properties] Properties to set
11134 */
11135 constructor(properties?: google.logging.v2.IGetLogMetricRequest);
11136
11137 /** GetLogMetricRequest metricName. */
11138 public metricName: string;
11139
11140 /**
11141 * Creates a new GetLogMetricRequest instance using the specified properties.
11142 * @param [properties] Properties to set
11143 * @returns GetLogMetricRequest instance
11144 */
11145 public static create(properties?: google.logging.v2.IGetLogMetricRequest): google.logging.v2.GetLogMetricRequest;
11146
11147 /**
11148 * Encodes the specified GetLogMetricRequest message. Does not implicitly {@link google.logging.v2.GetLogMetricRequest.verify|verify} messages.
11149 * @param message GetLogMetricRequest message or plain object to encode
11150 * @param [writer] Writer to encode to
11151 * @returns Writer
11152 */
11153 public static encode(message: google.logging.v2.IGetLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11154
11155 /**
11156 * Encodes the specified GetLogMetricRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetLogMetricRequest.verify|verify} messages.
11157 * @param message GetLogMetricRequest message or plain object to encode
11158 * @param [writer] Writer to encode to
11159 * @returns Writer
11160 */
11161 public static encodeDelimited(message: google.logging.v2.IGetLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11162
11163 /**
11164 * Decodes a GetLogMetricRequest message from the specified reader or buffer.
11165 * @param reader Reader or buffer to decode from
11166 * @param [length] Message length if known beforehand
11167 * @returns GetLogMetricRequest
11168 * @throws {Error} If the payload is not a reader or valid buffer
11169 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11170 */
11171 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetLogMetricRequest;
11172
11173 /**
11174 * Decodes a GetLogMetricRequest message from the specified reader or buffer, length delimited.
11175 * @param reader Reader or buffer to decode from
11176 * @returns GetLogMetricRequest
11177 * @throws {Error} If the payload is not a reader or valid buffer
11178 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11179 */
11180 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetLogMetricRequest;
11181
11182 /**
11183 * Verifies a GetLogMetricRequest message.
11184 * @param message Plain object to verify
11185 * @returns `null` if valid, otherwise the reason why it is not
11186 */
11187 public static verify(message: { [k: string]: any }): (string|null);
11188
11189 /**
11190 * Creates a GetLogMetricRequest message from a plain object. Also converts values to their respective internal types.
11191 * @param object Plain object
11192 * @returns GetLogMetricRequest
11193 */
11194 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetLogMetricRequest;
11195
11196 /**
11197 * Creates a plain object from a GetLogMetricRequest message. Also converts values to other types if specified.
11198 * @param message GetLogMetricRequest
11199 * @param [options] Conversion options
11200 * @returns Plain object
11201 */
11202 public static toObject(message: google.logging.v2.GetLogMetricRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11203
11204 /**
11205 * Converts this GetLogMetricRequest to JSON.
11206 * @returns JSON object
11207 */
11208 public toJSON(): { [k: string]: any };
11209 }
11210
11211 /** Properties of a CreateLogMetricRequest. */
11212 interface ICreateLogMetricRequest {
11213
11214 /** CreateLogMetricRequest parent */
11215 parent?: (string|null);
11216
11217 /** CreateLogMetricRequest metric */
11218 metric?: (google.logging.v2.ILogMetric|null);
11219 }
11220
11221 /** Represents a CreateLogMetricRequest. */
11222 class CreateLogMetricRequest implements ICreateLogMetricRequest {
11223
11224 /**
11225 * Constructs a new CreateLogMetricRequest.
11226 * @param [properties] Properties to set
11227 */
11228 constructor(properties?: google.logging.v2.ICreateLogMetricRequest);
11229
11230 /** CreateLogMetricRequest parent. */
11231 public parent: string;
11232
11233 /** CreateLogMetricRequest metric. */
11234 public metric?: (google.logging.v2.ILogMetric|null);
11235
11236 /**
11237 * Creates a new CreateLogMetricRequest instance using the specified properties.
11238 * @param [properties] Properties to set
11239 * @returns CreateLogMetricRequest instance
11240 */
11241 public static create(properties?: google.logging.v2.ICreateLogMetricRequest): google.logging.v2.CreateLogMetricRequest;
11242
11243 /**
11244 * Encodes the specified CreateLogMetricRequest message. Does not implicitly {@link google.logging.v2.CreateLogMetricRequest.verify|verify} messages.
11245 * @param message CreateLogMetricRequest message or plain object to encode
11246 * @param [writer] Writer to encode to
11247 * @returns Writer
11248 */
11249 public static encode(message: google.logging.v2.ICreateLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11250
11251 /**
11252 * Encodes the specified CreateLogMetricRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateLogMetricRequest.verify|verify} messages.
11253 * @param message CreateLogMetricRequest message or plain object to encode
11254 * @param [writer] Writer to encode to
11255 * @returns Writer
11256 */
11257 public static encodeDelimited(message: google.logging.v2.ICreateLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11258
11259 /**
11260 * Decodes a CreateLogMetricRequest message from the specified reader or buffer.
11261 * @param reader Reader or buffer to decode from
11262 * @param [length] Message length if known beforehand
11263 * @returns CreateLogMetricRequest
11264 * @throws {Error} If the payload is not a reader or valid buffer
11265 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11266 */
11267 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateLogMetricRequest;
11268
11269 /**
11270 * Decodes a CreateLogMetricRequest message from the specified reader or buffer, length delimited.
11271 * @param reader Reader or buffer to decode from
11272 * @returns CreateLogMetricRequest
11273 * @throws {Error} If the payload is not a reader or valid buffer
11274 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11275 */
11276 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateLogMetricRequest;
11277
11278 /**
11279 * Verifies a CreateLogMetricRequest message.
11280 * @param message Plain object to verify
11281 * @returns `null` if valid, otherwise the reason why it is not
11282 */
11283 public static verify(message: { [k: string]: any }): (string|null);
11284
11285 /**
11286 * Creates a CreateLogMetricRequest message from a plain object. Also converts values to their respective internal types.
11287 * @param object Plain object
11288 * @returns CreateLogMetricRequest
11289 */
11290 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateLogMetricRequest;
11291
11292 /**
11293 * Creates a plain object from a CreateLogMetricRequest message. Also converts values to other types if specified.
11294 * @param message CreateLogMetricRequest
11295 * @param [options] Conversion options
11296 * @returns Plain object
11297 */
11298 public static toObject(message: google.logging.v2.CreateLogMetricRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11299
11300 /**
11301 * Converts this CreateLogMetricRequest to JSON.
11302 * @returns JSON object
11303 */
11304 public toJSON(): { [k: string]: any };
11305 }
11306
11307 /** Properties of an UpdateLogMetricRequest. */
11308 interface IUpdateLogMetricRequest {
11309
11310 /** UpdateLogMetricRequest metricName */
11311 metricName?: (string|null);
11312
11313 /** UpdateLogMetricRequest metric */
11314 metric?: (google.logging.v2.ILogMetric|null);
11315 }
11316
11317 /** Represents an UpdateLogMetricRequest. */
11318 class UpdateLogMetricRequest implements IUpdateLogMetricRequest {
11319
11320 /**
11321 * Constructs a new UpdateLogMetricRequest.
11322 * @param [properties] Properties to set
11323 */
11324 constructor(properties?: google.logging.v2.IUpdateLogMetricRequest);
11325
11326 /** UpdateLogMetricRequest metricName. */
11327 public metricName: string;
11328
11329 /** UpdateLogMetricRequest metric. */
11330 public metric?: (google.logging.v2.ILogMetric|null);
11331
11332 /**
11333 * Creates a new UpdateLogMetricRequest instance using the specified properties.
11334 * @param [properties] Properties to set
11335 * @returns UpdateLogMetricRequest instance
11336 */
11337 public static create(properties?: google.logging.v2.IUpdateLogMetricRequest): google.logging.v2.UpdateLogMetricRequest;
11338
11339 /**
11340 * Encodes the specified UpdateLogMetricRequest message. Does not implicitly {@link google.logging.v2.UpdateLogMetricRequest.verify|verify} messages.
11341 * @param message UpdateLogMetricRequest message or plain object to encode
11342 * @param [writer] Writer to encode to
11343 * @returns Writer
11344 */
11345 public static encode(message: google.logging.v2.IUpdateLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11346
11347 /**
11348 * Encodes the specified UpdateLogMetricRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateLogMetricRequest.verify|verify} messages.
11349 * @param message UpdateLogMetricRequest message or plain object to encode
11350 * @param [writer] Writer to encode to
11351 * @returns Writer
11352 */
11353 public static encodeDelimited(message: google.logging.v2.IUpdateLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11354
11355 /**
11356 * Decodes an UpdateLogMetricRequest message from the specified reader or buffer.
11357 * @param reader Reader or buffer to decode from
11358 * @param [length] Message length if known beforehand
11359 * @returns UpdateLogMetricRequest
11360 * @throws {Error} If the payload is not a reader or valid buffer
11361 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11362 */
11363 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateLogMetricRequest;
11364
11365 /**
11366 * Decodes an UpdateLogMetricRequest message from the specified reader or buffer, length delimited.
11367 * @param reader Reader or buffer to decode from
11368 * @returns UpdateLogMetricRequest
11369 * @throws {Error} If the payload is not a reader or valid buffer
11370 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11371 */
11372 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateLogMetricRequest;
11373
11374 /**
11375 * Verifies an UpdateLogMetricRequest message.
11376 * @param message Plain object to verify
11377 * @returns `null` if valid, otherwise the reason why it is not
11378 */
11379 public static verify(message: { [k: string]: any }): (string|null);
11380
11381 /**
11382 * Creates an UpdateLogMetricRequest message from a plain object. Also converts values to their respective internal types.
11383 * @param object Plain object
11384 * @returns UpdateLogMetricRequest
11385 */
11386 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateLogMetricRequest;
11387
11388 /**
11389 * Creates a plain object from an UpdateLogMetricRequest message. Also converts values to other types if specified.
11390 * @param message UpdateLogMetricRequest
11391 * @param [options] Conversion options
11392 * @returns Plain object
11393 */
11394 public static toObject(message: google.logging.v2.UpdateLogMetricRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11395
11396 /**
11397 * Converts this UpdateLogMetricRequest to JSON.
11398 * @returns JSON object
11399 */
11400 public toJSON(): { [k: string]: any };
11401 }
11402
11403 /** Properties of a DeleteLogMetricRequest. */
11404 interface IDeleteLogMetricRequest {
11405
11406 /** DeleteLogMetricRequest metricName */
11407 metricName?: (string|null);
11408 }
11409
11410 /** Represents a DeleteLogMetricRequest. */
11411 class DeleteLogMetricRequest implements IDeleteLogMetricRequest {
11412
11413 /**
11414 * Constructs a new DeleteLogMetricRequest.
11415 * @param [properties] Properties to set
11416 */
11417 constructor(properties?: google.logging.v2.IDeleteLogMetricRequest);
11418
11419 /** DeleteLogMetricRequest metricName. */
11420 public metricName: string;
11421
11422 /**
11423 * Creates a new DeleteLogMetricRequest instance using the specified properties.
11424 * @param [properties] Properties to set
11425 * @returns DeleteLogMetricRequest instance
11426 */
11427 public static create(properties?: google.logging.v2.IDeleteLogMetricRequest): google.logging.v2.DeleteLogMetricRequest;
11428
11429 /**
11430 * Encodes the specified DeleteLogMetricRequest message. Does not implicitly {@link google.logging.v2.DeleteLogMetricRequest.verify|verify} messages.
11431 * @param message DeleteLogMetricRequest message or plain object to encode
11432 * @param [writer] Writer to encode to
11433 * @returns Writer
11434 */
11435 public static encode(message: google.logging.v2.IDeleteLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11436
11437 /**
11438 * Encodes the specified DeleteLogMetricRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteLogMetricRequest.verify|verify} messages.
11439 * @param message DeleteLogMetricRequest message or plain object to encode
11440 * @param [writer] Writer to encode to
11441 * @returns Writer
11442 */
11443 public static encodeDelimited(message: google.logging.v2.IDeleteLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11444
11445 /**
11446 * Decodes a DeleteLogMetricRequest message from the specified reader or buffer.
11447 * @param reader Reader or buffer to decode from
11448 * @param [length] Message length if known beforehand
11449 * @returns DeleteLogMetricRequest
11450 * @throws {Error} If the payload is not a reader or valid buffer
11451 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11452 */
11453 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteLogMetricRequest;
11454
11455 /**
11456 * Decodes a DeleteLogMetricRequest message from the specified reader or buffer, length delimited.
11457 * @param reader Reader or buffer to decode from
11458 * @returns DeleteLogMetricRequest
11459 * @throws {Error} If the payload is not a reader or valid buffer
11460 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11461 */
11462 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteLogMetricRequest;
11463
11464 /**
11465 * Verifies a DeleteLogMetricRequest message.
11466 * @param message Plain object to verify
11467 * @returns `null` if valid, otherwise the reason why it is not
11468 */
11469 public static verify(message: { [k: string]: any }): (string|null);
11470
11471 /**
11472 * Creates a DeleteLogMetricRequest message from a plain object. Also converts values to their respective internal types.
11473 * @param object Plain object
11474 * @returns DeleteLogMetricRequest
11475 */
11476 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteLogMetricRequest;
11477
11478 /**
11479 * Creates a plain object from a DeleteLogMetricRequest message. Also converts values to other types if specified.
11480 * @param message DeleteLogMetricRequest
11481 * @param [options] Conversion options
11482 * @returns Plain object
11483 */
11484 public static toObject(message: google.logging.v2.DeleteLogMetricRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11485
11486 /**
11487 * Converts this DeleteLogMetricRequest to JSON.
11488 * @returns JSON object
11489 */
11490 public toJSON(): { [k: string]: any };
11491 }
11492 }
11493 }
11494
11495 /** Namespace api. */
11496 namespace api {
11497
11498 /** Properties of a Http. */
11499 interface IHttp {
11500
11501 /** Http rules */
11502 rules?: (google.api.IHttpRule[]|null);
11503
11504 /** Http fullyDecodeReservedExpansion */
11505 fullyDecodeReservedExpansion?: (boolean|null);
11506 }
11507
11508 /** Represents a Http. */
11509 class Http implements IHttp {
11510
11511 /**
11512 * Constructs a new Http.
11513 * @param [properties] Properties to set
11514 */
11515 constructor(properties?: google.api.IHttp);
11516
11517 /** Http rules. */
11518 public rules: google.api.IHttpRule[];
11519
11520 /** Http fullyDecodeReservedExpansion. */
11521 public fullyDecodeReservedExpansion: boolean;
11522
11523 /**
11524 * Creates a new Http instance using the specified properties.
11525 * @param [properties] Properties to set
11526 * @returns Http instance
11527 */
11528 public static create(properties?: google.api.IHttp): google.api.Http;
11529
11530 /**
11531 * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
11532 * @param message Http message or plain object to encode
11533 * @param [writer] Writer to encode to
11534 * @returns Writer
11535 */
11536 public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
11537
11538 /**
11539 * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
11540 * @param message Http message or plain object to encode
11541 * @param [writer] Writer to encode to
11542 * @returns Writer
11543 */
11544 public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
11545
11546 /**
11547 * Decodes a Http message from the specified reader or buffer.
11548 * @param reader Reader or buffer to decode from
11549 * @param [length] Message length if known beforehand
11550 * @returns Http
11551 * @throws {Error} If the payload is not a reader or valid buffer
11552 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11553 */
11554 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
11555
11556 /**
11557 * Decodes a Http message from the specified reader or buffer, length delimited.
11558 * @param reader Reader or buffer to decode from
11559 * @returns Http
11560 * @throws {Error} If the payload is not a reader or valid buffer
11561 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11562 */
11563 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
11564
11565 /**
11566 * Verifies a Http message.
11567 * @param message Plain object to verify
11568 * @returns `null` if valid, otherwise the reason why it is not
11569 */
11570 public static verify(message: { [k: string]: any }): (string|null);
11571
11572 /**
11573 * Creates a Http message from a plain object. Also converts values to their respective internal types.
11574 * @param object Plain object
11575 * @returns Http
11576 */
11577 public static fromObject(object: { [k: string]: any }): google.api.Http;
11578
11579 /**
11580 * Creates a plain object from a Http message. Also converts values to other types if specified.
11581 * @param message Http
11582 * @param [options] Conversion options
11583 * @returns Plain object
11584 */
11585 public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
11586
11587 /**
11588 * Converts this Http to JSON.
11589 * @returns JSON object
11590 */
11591 public toJSON(): { [k: string]: any };
11592 }
11593
11594 /** Properties of a HttpRule. */
11595 interface IHttpRule {
11596
11597 /** HttpRule selector */
11598 selector?: (string|null);
11599
11600 /** HttpRule get */
11601 get?: (string|null);
11602
11603 /** HttpRule put */
11604 put?: (string|null);
11605
11606 /** HttpRule post */
11607 post?: (string|null);
11608
11609 /** HttpRule delete */
11610 "delete"?: (string|null);
11611
11612 /** HttpRule patch */
11613 patch?: (string|null);
11614
11615 /** HttpRule custom */
11616 custom?: (google.api.ICustomHttpPattern|null);
11617
11618 /** HttpRule body */
11619 body?: (string|null);
11620
11621 /** HttpRule responseBody */
11622 responseBody?: (string|null);
11623
11624 /** HttpRule additionalBindings */
11625 additionalBindings?: (google.api.IHttpRule[]|null);
11626 }
11627
11628 /** Represents a HttpRule. */
11629 class HttpRule implements IHttpRule {
11630
11631 /**
11632 * Constructs a new HttpRule.
11633 * @param [properties] Properties to set
11634 */
11635 constructor(properties?: google.api.IHttpRule);
11636
11637 /** HttpRule selector. */
11638 public selector: string;
11639
11640 /** HttpRule get. */
11641 public get?: (string|null);
11642
11643 /** HttpRule put. */
11644 public put?: (string|null);
11645
11646 /** HttpRule post. */
11647 public post?: (string|null);
11648
11649 /** HttpRule delete. */
11650 public delete?: (string|null);
11651
11652 /** HttpRule patch. */
11653 public patch?: (string|null);
11654
11655 /** HttpRule custom. */
11656 public custom?: (google.api.ICustomHttpPattern|null);
11657
11658 /** HttpRule body. */
11659 public body: string;
11660
11661 /** HttpRule responseBody. */
11662 public responseBody: string;
11663
11664 /** HttpRule additionalBindings. */
11665 public additionalBindings: google.api.IHttpRule[];
11666
11667 /** HttpRule pattern. */
11668 public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
11669
11670 /**
11671 * Creates a new HttpRule instance using the specified properties.
11672 * @param [properties] Properties to set
11673 * @returns HttpRule instance
11674 */
11675 public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
11676
11677 /**
11678 * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
11679 * @param message HttpRule message or plain object to encode
11680 * @param [writer] Writer to encode to
11681 * @returns Writer
11682 */
11683 public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
11684
11685 /**
11686 * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
11687 * @param message HttpRule message or plain object to encode
11688 * @param [writer] Writer to encode to
11689 * @returns Writer
11690 */
11691 public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
11692
11693 /**
11694 * Decodes a HttpRule message from the specified reader or buffer.
11695 * @param reader Reader or buffer to decode from
11696 * @param [length] Message length if known beforehand
11697 * @returns HttpRule
11698 * @throws {Error} If the payload is not a reader or valid buffer
11699 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11700 */
11701 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
11702
11703 /**
11704 * Decodes a HttpRule message from the specified reader or buffer, length delimited.
11705 * @param reader Reader or buffer to decode from
11706 * @returns HttpRule
11707 * @throws {Error} If the payload is not a reader or valid buffer
11708 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11709 */
11710 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
11711
11712 /**
11713 * Verifies a HttpRule message.
11714 * @param message Plain object to verify
11715 * @returns `null` if valid, otherwise the reason why it is not
11716 */
11717 public static verify(message: { [k: string]: any }): (string|null);
11718
11719 /**
11720 * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
11721 * @param object Plain object
11722 * @returns HttpRule
11723 */
11724 public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
11725
11726 /**
11727 * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
11728 * @param message HttpRule
11729 * @param [options] Conversion options
11730 * @returns Plain object
11731 */
11732 public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
11733
11734 /**
11735 * Converts this HttpRule to JSON.
11736 * @returns JSON object
11737 */
11738 public toJSON(): { [k: string]: any };
11739 }
11740
11741 /** Properties of a CustomHttpPattern. */
11742 interface ICustomHttpPattern {
11743
11744 /** CustomHttpPattern kind */
11745 kind?: (string|null);
11746
11747 /** CustomHttpPattern path */
11748 path?: (string|null);
11749 }
11750
11751 /** Represents a CustomHttpPattern. */
11752 class CustomHttpPattern implements ICustomHttpPattern {
11753
11754 /**
11755 * Constructs a new CustomHttpPattern.
11756 * @param [properties] Properties to set
11757 */
11758 constructor(properties?: google.api.ICustomHttpPattern);
11759
11760 /** CustomHttpPattern kind. */
11761 public kind: string;
11762
11763 /** CustomHttpPattern path. */
11764 public path: string;
11765
11766 /**
11767 * Creates a new CustomHttpPattern instance using the specified properties.
11768 * @param [properties] Properties to set
11769 * @returns CustomHttpPattern instance
11770 */
11771 public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
11772
11773 /**
11774 * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
11775 * @param message CustomHttpPattern message or plain object to encode
11776 * @param [writer] Writer to encode to
11777 * @returns Writer
11778 */
11779 public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
11780
11781 /**
11782 * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
11783 * @param message CustomHttpPattern message or plain object to encode
11784 * @param [writer] Writer to encode to
11785 * @returns Writer
11786 */
11787 public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
11788
11789 /**
11790 * Decodes a CustomHttpPattern message from the specified reader or buffer.
11791 * @param reader Reader or buffer to decode from
11792 * @param [length] Message length if known beforehand
11793 * @returns CustomHttpPattern
11794 * @throws {Error} If the payload is not a reader or valid buffer
11795 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11796 */
11797 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
11798
11799 /**
11800 * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
11801 * @param reader Reader or buffer to decode from
11802 * @returns CustomHttpPattern
11803 * @throws {Error} If the payload is not a reader or valid buffer
11804 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11805 */
11806 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
11807
11808 /**
11809 * Verifies a CustomHttpPattern message.
11810 * @param message Plain object to verify
11811 * @returns `null` if valid, otherwise the reason why it is not
11812 */
11813 public static verify(message: { [k: string]: any }): (string|null);
11814
11815 /**
11816 * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
11817 * @param object Plain object
11818 * @returns CustomHttpPattern
11819 */
11820 public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
11821
11822 /**
11823 * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
11824 * @param message CustomHttpPattern
11825 * @param [options] Conversion options
11826 * @returns Plain object
11827 */
11828 public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
11829
11830 /**
11831 * Converts this CustomHttpPattern to JSON.
11832 * @returns JSON object
11833 */
11834 public toJSON(): { [k: string]: any };
11835 }
11836
11837 /** FieldBehavior enum. */
11838 enum FieldBehavior {
11839 FIELD_BEHAVIOR_UNSPECIFIED = 0,
11840 OPTIONAL = 1,
11841 REQUIRED = 2,
11842 OUTPUT_ONLY = 3,
11843 INPUT_ONLY = 4,
11844 IMMUTABLE = 5,
11845 UNORDERED_LIST = 6,
11846 NON_EMPTY_DEFAULT = 7
11847 }
11848
11849 /** Properties of a MonitoredResourceDescriptor. */
11850 interface IMonitoredResourceDescriptor {
11851
11852 /** MonitoredResourceDescriptor name */
11853 name?: (string|null);
11854
11855 /** MonitoredResourceDescriptor type */
11856 type?: (string|null);
11857
11858 /** MonitoredResourceDescriptor displayName */
11859 displayName?: (string|null);
11860
11861 /** MonitoredResourceDescriptor description */
11862 description?: (string|null);
11863
11864 /** MonitoredResourceDescriptor labels */
11865 labels?: (google.api.ILabelDescriptor[]|null);
11866
11867 /** MonitoredResourceDescriptor launchStage */
11868 launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
11869 }
11870
11871 /** Represents a MonitoredResourceDescriptor. */
11872 class MonitoredResourceDescriptor implements IMonitoredResourceDescriptor {
11873
11874 /**
11875 * Constructs a new MonitoredResourceDescriptor.
11876 * @param [properties] Properties to set
11877 */
11878 constructor(properties?: google.api.IMonitoredResourceDescriptor);
11879
11880 /** MonitoredResourceDescriptor name. */
11881 public name: string;
11882
11883 /** MonitoredResourceDescriptor type. */
11884 public type: string;
11885
11886 /** MonitoredResourceDescriptor displayName. */
11887 public displayName: string;
11888
11889 /** MonitoredResourceDescriptor description. */
11890 public description: string;
11891
11892 /** MonitoredResourceDescriptor labels. */
11893 public labels: google.api.ILabelDescriptor[];
11894
11895 /** MonitoredResourceDescriptor launchStage. */
11896 public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
11897
11898 /**
11899 * Creates a new MonitoredResourceDescriptor instance using the specified properties.
11900 * @param [properties] Properties to set
11901 * @returns MonitoredResourceDescriptor instance
11902 */
11903 public static create(properties?: google.api.IMonitoredResourceDescriptor): google.api.MonitoredResourceDescriptor;
11904
11905 /**
11906 * Encodes the specified MonitoredResourceDescriptor message. Does not implicitly {@link google.api.MonitoredResourceDescriptor.verify|verify} messages.
11907 * @param message MonitoredResourceDescriptor message or plain object to encode
11908 * @param [writer] Writer to encode to
11909 * @returns Writer
11910 */
11911 public static encode(message: google.api.IMonitoredResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
11912
11913 /**
11914 * Encodes the specified MonitoredResourceDescriptor message, length delimited. Does not implicitly {@link google.api.MonitoredResourceDescriptor.verify|verify} messages.
11915 * @param message MonitoredResourceDescriptor message or plain object to encode
11916 * @param [writer] Writer to encode to
11917 * @returns Writer
11918 */
11919 public static encodeDelimited(message: google.api.IMonitoredResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
11920
11921 /**
11922 * Decodes a MonitoredResourceDescriptor message from the specified reader or buffer.
11923 * @param reader Reader or buffer to decode from
11924 * @param [length] Message length if known beforehand
11925 * @returns MonitoredResourceDescriptor
11926 * @throws {Error} If the payload is not a reader or valid buffer
11927 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11928 */
11929 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MonitoredResourceDescriptor;
11930
11931 /**
11932 * Decodes a MonitoredResourceDescriptor message from the specified reader or buffer, length delimited.
11933 * @param reader Reader or buffer to decode from
11934 * @returns MonitoredResourceDescriptor
11935 * @throws {Error} If the payload is not a reader or valid buffer
11936 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11937 */
11938 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MonitoredResourceDescriptor;
11939
11940 /**
11941 * Verifies a MonitoredResourceDescriptor message.
11942 * @param message Plain object to verify
11943 * @returns `null` if valid, otherwise the reason why it is not
11944 */
11945 public static verify(message: { [k: string]: any }): (string|null);
11946
11947 /**
11948 * Creates a MonitoredResourceDescriptor message from a plain object. Also converts values to their respective internal types.
11949 * @param object Plain object
11950 * @returns MonitoredResourceDescriptor
11951 */
11952 public static fromObject(object: { [k: string]: any }): google.api.MonitoredResourceDescriptor;
11953
11954 /**
11955 * Creates a plain object from a MonitoredResourceDescriptor message. Also converts values to other types if specified.
11956 * @param message MonitoredResourceDescriptor
11957 * @param [options] Conversion options
11958 * @returns Plain object
11959 */
11960 public static toObject(message: google.api.MonitoredResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
11961
11962 /**
11963 * Converts this MonitoredResourceDescriptor to JSON.
11964 * @returns JSON object
11965 */
11966 public toJSON(): { [k: string]: any };
11967 }
11968
11969 /** Properties of a MonitoredResource. */
11970 interface IMonitoredResource {
11971
11972 /** MonitoredResource type */
11973 type?: (string|null);
11974
11975 /** MonitoredResource labels */
11976 labels?: ({ [k: string]: string }|null);
11977 }
11978
11979 /** Represents a MonitoredResource. */
11980 class MonitoredResource implements IMonitoredResource {
11981
11982 /**
11983 * Constructs a new MonitoredResource.
11984 * @param [properties] Properties to set
11985 */
11986 constructor(properties?: google.api.IMonitoredResource);
11987
11988 /** MonitoredResource type. */
11989 public type: string;
11990
11991 /** MonitoredResource labels. */
11992 public labels: { [k: string]: string };
11993
11994 /**
11995 * Creates a new MonitoredResource instance using the specified properties.
11996 * @param [properties] Properties to set
11997 * @returns MonitoredResource instance
11998 */
11999 public static create(properties?: google.api.IMonitoredResource): google.api.MonitoredResource;
12000
12001 /**
12002 * Encodes the specified MonitoredResource message. Does not implicitly {@link google.api.MonitoredResource.verify|verify} messages.
12003 * @param message MonitoredResource message or plain object to encode
12004 * @param [writer] Writer to encode to
12005 * @returns Writer
12006 */
12007 public static encode(message: google.api.IMonitoredResource, writer?: $protobuf.Writer): $protobuf.Writer;
12008
12009 /**
12010 * Encodes the specified MonitoredResource message, length delimited. Does not implicitly {@link google.api.MonitoredResource.verify|verify} messages.
12011 * @param message MonitoredResource message or plain object to encode
12012 * @param [writer] Writer to encode to
12013 * @returns Writer
12014 */
12015 public static encodeDelimited(message: google.api.IMonitoredResource, writer?: $protobuf.Writer): $protobuf.Writer;
12016
12017 /**
12018 * Decodes a MonitoredResource message from the specified reader or buffer.
12019 * @param reader Reader or buffer to decode from
12020 * @param [length] Message length if known beforehand
12021 * @returns MonitoredResource
12022 * @throws {Error} If the payload is not a reader or valid buffer
12023 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12024 */
12025 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MonitoredResource;
12026
12027 /**
12028 * Decodes a MonitoredResource message from the specified reader or buffer, length delimited.
12029 * @param reader Reader or buffer to decode from
12030 * @returns MonitoredResource
12031 * @throws {Error} If the payload is not a reader or valid buffer
12032 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12033 */
12034 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MonitoredResource;
12035
12036 /**
12037 * Verifies a MonitoredResource message.
12038 * @param message Plain object to verify
12039 * @returns `null` if valid, otherwise the reason why it is not
12040 */
12041 public static verify(message: { [k: string]: any }): (string|null);
12042
12043 /**
12044 * Creates a MonitoredResource message from a plain object. Also converts values to their respective internal types.
12045 * @param object Plain object
12046 * @returns MonitoredResource
12047 */
12048 public static fromObject(object: { [k: string]: any }): google.api.MonitoredResource;
12049
12050 /**
12051 * Creates a plain object from a MonitoredResource message. Also converts values to other types if specified.
12052 * @param message MonitoredResource
12053 * @param [options] Conversion options
12054 * @returns Plain object
12055 */
12056 public static toObject(message: google.api.MonitoredResource, options?: $protobuf.IConversionOptions): { [k: string]: any };
12057
12058 /**
12059 * Converts this MonitoredResource to JSON.
12060 * @returns JSON object
12061 */
12062 public toJSON(): { [k: string]: any };
12063 }
12064
12065 /** Properties of a MonitoredResourceMetadata. */
12066 interface IMonitoredResourceMetadata {
12067
12068 /** MonitoredResourceMetadata systemLabels */
12069 systemLabels?: (google.protobuf.IStruct|null);
12070
12071 /** MonitoredResourceMetadata userLabels */
12072 userLabels?: ({ [k: string]: string }|null);
12073 }
12074
12075 /** Represents a MonitoredResourceMetadata. */
12076 class MonitoredResourceMetadata implements IMonitoredResourceMetadata {
12077
12078 /**
12079 * Constructs a new MonitoredResourceMetadata.
12080 * @param [properties] Properties to set
12081 */
12082 constructor(properties?: google.api.IMonitoredResourceMetadata);
12083
12084 /** MonitoredResourceMetadata systemLabels. */
12085 public systemLabels?: (google.protobuf.IStruct|null);
12086
12087 /** MonitoredResourceMetadata userLabels. */
12088 public userLabels: { [k: string]: string };
12089
12090 /**
12091 * Creates a new MonitoredResourceMetadata instance using the specified properties.
12092 * @param [properties] Properties to set
12093 * @returns MonitoredResourceMetadata instance
12094 */
12095 public static create(properties?: google.api.IMonitoredResourceMetadata): google.api.MonitoredResourceMetadata;
12096
12097 /**
12098 * Encodes the specified MonitoredResourceMetadata message. Does not implicitly {@link google.api.MonitoredResourceMetadata.verify|verify} messages.
12099 * @param message MonitoredResourceMetadata message or plain object to encode
12100 * @param [writer] Writer to encode to
12101 * @returns Writer
12102 */
12103 public static encode(message: google.api.IMonitoredResourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
12104
12105 /**
12106 * Encodes the specified MonitoredResourceMetadata message, length delimited. Does not implicitly {@link google.api.MonitoredResourceMetadata.verify|verify} messages.
12107 * @param message MonitoredResourceMetadata message or plain object to encode
12108 * @param [writer] Writer to encode to
12109 * @returns Writer
12110 */
12111 public static encodeDelimited(message: google.api.IMonitoredResourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
12112
12113 /**
12114 * Decodes a MonitoredResourceMetadata message from the specified reader or buffer.
12115 * @param reader Reader or buffer to decode from
12116 * @param [length] Message length if known beforehand
12117 * @returns MonitoredResourceMetadata
12118 * @throws {Error} If the payload is not a reader or valid buffer
12119 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12120 */
12121 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MonitoredResourceMetadata;
12122
12123 /**
12124 * Decodes a MonitoredResourceMetadata message from the specified reader or buffer, length delimited.
12125 * @param reader Reader or buffer to decode from
12126 * @returns MonitoredResourceMetadata
12127 * @throws {Error} If the payload is not a reader or valid buffer
12128 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12129 */
12130 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MonitoredResourceMetadata;
12131
12132 /**
12133 * Verifies a MonitoredResourceMetadata message.
12134 * @param message Plain object to verify
12135 * @returns `null` if valid, otherwise the reason why it is not
12136 */
12137 public static verify(message: { [k: string]: any }): (string|null);
12138
12139 /**
12140 * Creates a MonitoredResourceMetadata message from a plain object. Also converts values to their respective internal types.
12141 * @param object Plain object
12142 * @returns MonitoredResourceMetadata
12143 */
12144 public static fromObject(object: { [k: string]: any }): google.api.MonitoredResourceMetadata;
12145
12146 /**
12147 * Creates a plain object from a MonitoredResourceMetadata message. Also converts values to other types if specified.
12148 * @param message MonitoredResourceMetadata
12149 * @param [options] Conversion options
12150 * @returns Plain object
12151 */
12152 public static toObject(message: google.api.MonitoredResourceMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
12153
12154 /**
12155 * Converts this MonitoredResourceMetadata to JSON.
12156 * @returns JSON object
12157 */
12158 public toJSON(): { [k: string]: any };
12159 }
12160
12161 /** Properties of a LabelDescriptor. */
12162 interface ILabelDescriptor {
12163
12164 /** LabelDescriptor key */
12165 key?: (string|null);
12166
12167 /** LabelDescriptor valueType */
12168 valueType?: (google.api.LabelDescriptor.ValueType|keyof typeof google.api.LabelDescriptor.ValueType|null);
12169
12170 /** LabelDescriptor description */
12171 description?: (string|null);
12172 }
12173
12174 /** Represents a LabelDescriptor. */
12175 class LabelDescriptor implements ILabelDescriptor {
12176
12177 /**
12178 * Constructs a new LabelDescriptor.
12179 * @param [properties] Properties to set
12180 */
12181 constructor(properties?: google.api.ILabelDescriptor);
12182
12183 /** LabelDescriptor key. */
12184 public key: string;
12185
12186 /** LabelDescriptor valueType. */
12187 public valueType: (google.api.LabelDescriptor.ValueType|keyof typeof google.api.LabelDescriptor.ValueType);
12188
12189 /** LabelDescriptor description. */
12190 public description: string;
12191
12192 /**
12193 * Creates a new LabelDescriptor instance using the specified properties.
12194 * @param [properties] Properties to set
12195 * @returns LabelDescriptor instance
12196 */
12197 public static create(properties?: google.api.ILabelDescriptor): google.api.LabelDescriptor;
12198
12199 /**
12200 * Encodes the specified LabelDescriptor message. Does not implicitly {@link google.api.LabelDescriptor.verify|verify} messages.
12201 * @param message LabelDescriptor message or plain object to encode
12202 * @param [writer] Writer to encode to
12203 * @returns Writer
12204 */
12205 public static encode(message: google.api.ILabelDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
12206
12207 /**
12208 * Encodes the specified LabelDescriptor message, length delimited. Does not implicitly {@link google.api.LabelDescriptor.verify|verify} messages.
12209 * @param message LabelDescriptor message or plain object to encode
12210 * @param [writer] Writer to encode to
12211 * @returns Writer
12212 */
12213 public static encodeDelimited(message: google.api.ILabelDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
12214
12215 /**
12216 * Decodes a LabelDescriptor message from the specified reader or buffer.
12217 * @param reader Reader or buffer to decode from
12218 * @param [length] Message length if known beforehand
12219 * @returns LabelDescriptor
12220 * @throws {Error} If the payload is not a reader or valid buffer
12221 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12222 */
12223 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.LabelDescriptor;
12224
12225 /**
12226 * Decodes a LabelDescriptor message from the specified reader or buffer, length delimited.
12227 * @param reader Reader or buffer to decode from
12228 * @returns LabelDescriptor
12229 * @throws {Error} If the payload is not a reader or valid buffer
12230 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12231 */
12232 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.LabelDescriptor;
12233
12234 /**
12235 * Verifies a LabelDescriptor message.
12236 * @param message Plain object to verify
12237 * @returns `null` if valid, otherwise the reason why it is not
12238 */
12239 public static verify(message: { [k: string]: any }): (string|null);
12240
12241 /**
12242 * Creates a LabelDescriptor message from a plain object. Also converts values to their respective internal types.
12243 * @param object Plain object
12244 * @returns LabelDescriptor
12245 */
12246 public static fromObject(object: { [k: string]: any }): google.api.LabelDescriptor;
12247
12248 /**
12249 * Creates a plain object from a LabelDescriptor message. Also converts values to other types if specified.
12250 * @param message LabelDescriptor
12251 * @param [options] Conversion options
12252 * @returns Plain object
12253 */
12254 public static toObject(message: google.api.LabelDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
12255
12256 /**
12257 * Converts this LabelDescriptor to JSON.
12258 * @returns JSON object
12259 */
12260 public toJSON(): { [k: string]: any };
12261 }
12262
12263 namespace LabelDescriptor {
12264
12265 /** ValueType enum. */
12266 enum ValueType {
12267 STRING = 0,
12268 BOOL = 1,
12269 INT64 = 2
12270 }
12271 }
12272
12273 /** LaunchStage enum. */
12274 enum LaunchStage {
12275 LAUNCH_STAGE_UNSPECIFIED = 0,
12276 UNIMPLEMENTED = 6,
12277 PRELAUNCH = 7,
12278 EARLY_ACCESS = 1,
12279 ALPHA = 2,
12280 BETA = 3,
12281 GA = 4,
12282 DEPRECATED = 5
12283 }
12284
12285 /** Properties of a ResourceDescriptor. */
12286 interface IResourceDescriptor {
12287
12288 /** ResourceDescriptor type */
12289 type?: (string|null);
12290
12291 /** ResourceDescriptor pattern */
12292 pattern?: (string[]|null);
12293
12294 /** ResourceDescriptor nameField */
12295 nameField?: (string|null);
12296
12297 /** ResourceDescriptor history */
12298 history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
12299
12300 /** ResourceDescriptor plural */
12301 plural?: (string|null);
12302
12303 /** ResourceDescriptor singular */
12304 singular?: (string|null);
12305
12306 /** ResourceDescriptor style */
12307 style?: (google.api.ResourceDescriptor.Style[]|null);
12308 }
12309
12310 /** Represents a ResourceDescriptor. */
12311 class ResourceDescriptor implements IResourceDescriptor {
12312
12313 /**
12314 * Constructs a new ResourceDescriptor.
12315 * @param [properties] Properties to set
12316 */
12317 constructor(properties?: google.api.IResourceDescriptor);
12318
12319 /** ResourceDescriptor type. */
12320 public type: string;
12321
12322 /** ResourceDescriptor pattern. */
12323 public pattern: string[];
12324
12325 /** ResourceDescriptor nameField. */
12326 public nameField: string;
12327
12328 /** ResourceDescriptor history. */
12329 public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
12330
12331 /** ResourceDescriptor plural. */
12332 public plural: string;
12333
12334 /** ResourceDescriptor singular. */
12335 public singular: string;
12336
12337 /** ResourceDescriptor style. */
12338 public style: google.api.ResourceDescriptor.Style[];
12339
12340 /**
12341 * Creates a new ResourceDescriptor instance using the specified properties.
12342 * @param [properties] Properties to set
12343 * @returns ResourceDescriptor instance
12344 */
12345 public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
12346
12347 /**
12348 * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
12349 * @param message ResourceDescriptor message or plain object to encode
12350 * @param [writer] Writer to encode to
12351 * @returns Writer
12352 */
12353 public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
12354
12355 /**
12356 * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
12357 * @param message ResourceDescriptor message or plain object to encode
12358 * @param [writer] Writer to encode to
12359 * @returns Writer
12360 */
12361 public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
12362
12363 /**
12364 * Decodes a ResourceDescriptor message from the specified reader or buffer.
12365 * @param reader Reader or buffer to decode from
12366 * @param [length] Message length if known beforehand
12367 * @returns ResourceDescriptor
12368 * @throws {Error} If the payload is not a reader or valid buffer
12369 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12370 */
12371 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
12372
12373 /**
12374 * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
12375 * @param reader Reader or buffer to decode from
12376 * @returns ResourceDescriptor
12377 * @throws {Error} If the payload is not a reader or valid buffer
12378 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12379 */
12380 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
12381
12382 /**
12383 * Verifies a ResourceDescriptor message.
12384 * @param message Plain object to verify
12385 * @returns `null` if valid, otherwise the reason why it is not
12386 */
12387 public static verify(message: { [k: string]: any }): (string|null);
12388
12389 /**
12390 * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
12391 * @param object Plain object
12392 * @returns ResourceDescriptor
12393 */
12394 public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
12395
12396 /**
12397 * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
12398 * @param message ResourceDescriptor
12399 * @param [options] Conversion options
12400 * @returns Plain object
12401 */
12402 public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
12403
12404 /**
12405 * Converts this ResourceDescriptor to JSON.
12406 * @returns JSON object
12407 */
12408 public toJSON(): { [k: string]: any };
12409 }
12410
12411 namespace ResourceDescriptor {
12412
12413 /** History enum. */
12414 enum History {
12415 HISTORY_UNSPECIFIED = 0,
12416 ORIGINALLY_SINGLE_PATTERN = 1,
12417 FUTURE_MULTI_PATTERN = 2
12418 }
12419
12420 /** Style enum. */
12421 enum Style {
12422 STYLE_UNSPECIFIED = 0,
12423 DECLARATIVE_FRIENDLY = 1
12424 }
12425 }
12426
12427 /** Properties of a ResourceReference. */
12428 interface IResourceReference {
12429
12430 /** ResourceReference type */
12431 type?: (string|null);
12432
12433 /** ResourceReference childType */
12434 childType?: (string|null);
12435 }
12436
12437 /** Represents a ResourceReference. */
12438 class ResourceReference implements IResourceReference {
12439
12440 /**
12441 * Constructs a new ResourceReference.
12442 * @param [properties] Properties to set
12443 */
12444 constructor(properties?: google.api.IResourceReference);
12445
12446 /** ResourceReference type. */
12447 public type: string;
12448
12449 /** ResourceReference childType. */
12450 public childType: string;
12451
12452 /**
12453 * Creates a new ResourceReference instance using the specified properties.
12454 * @param [properties] Properties to set
12455 * @returns ResourceReference instance
12456 */
12457 public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
12458
12459 /**
12460 * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
12461 * @param message ResourceReference message or plain object to encode
12462 * @param [writer] Writer to encode to
12463 * @returns Writer
12464 */
12465 public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
12466
12467 /**
12468 * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
12469 * @param message ResourceReference message or plain object to encode
12470 * @param [writer] Writer to encode to
12471 * @returns Writer
12472 */
12473 public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
12474
12475 /**
12476 * Decodes a ResourceReference message from the specified reader or buffer.
12477 * @param reader Reader or buffer to decode from
12478 * @param [length] Message length if known beforehand
12479 * @returns ResourceReference
12480 * @throws {Error} If the payload is not a reader or valid buffer
12481 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12482 */
12483 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
12484
12485 /**
12486 * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
12487 * @param reader Reader or buffer to decode from
12488 * @returns ResourceReference
12489 * @throws {Error} If the payload is not a reader or valid buffer
12490 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12491 */
12492 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
12493
12494 /**
12495 * Verifies a ResourceReference message.
12496 * @param message Plain object to verify
12497 * @returns `null` if valid, otherwise the reason why it is not
12498 */
12499 public static verify(message: { [k: string]: any }): (string|null);
12500
12501 /**
12502 * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
12503 * @param object Plain object
12504 * @returns ResourceReference
12505 */
12506 public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
12507
12508 /**
12509 * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
12510 * @param message ResourceReference
12511 * @param [options] Conversion options
12512 * @returns Plain object
12513 */
12514 public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
12515
12516 /**
12517 * Converts this ResourceReference to JSON.
12518 * @returns JSON object
12519 */
12520 public toJSON(): { [k: string]: any };
12521 }
12522
12523 /** Properties of a Distribution. */
12524 interface IDistribution {
12525
12526 /** Distribution count */
12527 count?: (number|Long|string|null);
12528
12529 /** Distribution mean */
12530 mean?: (number|null);
12531
12532 /** Distribution sumOfSquaredDeviation */
12533 sumOfSquaredDeviation?: (number|null);
12534
12535 /** Distribution range */
12536 range?: (google.api.Distribution.IRange|null);
12537
12538 /** Distribution bucketOptions */
12539 bucketOptions?: (google.api.Distribution.IBucketOptions|null);
12540
12541 /** Distribution bucketCounts */
12542 bucketCounts?: ((number|Long|string)[]|null);
12543
12544 /** Distribution exemplars */
12545 exemplars?: (google.api.Distribution.IExemplar[]|null);
12546 }
12547
12548 /** Represents a Distribution. */
12549 class Distribution implements IDistribution {
12550
12551 /**
12552 * Constructs a new Distribution.
12553 * @param [properties] Properties to set
12554 */
12555 constructor(properties?: google.api.IDistribution);
12556
12557 /** Distribution count. */
12558 public count: (number|Long|string);
12559
12560 /** Distribution mean. */
12561 public mean: number;
12562
12563 /** Distribution sumOfSquaredDeviation. */
12564 public sumOfSquaredDeviation: number;
12565
12566 /** Distribution range. */
12567 public range?: (google.api.Distribution.IRange|null);
12568
12569 /** Distribution bucketOptions. */
12570 public bucketOptions?: (google.api.Distribution.IBucketOptions|null);
12571
12572 /** Distribution bucketCounts. */
12573 public bucketCounts: (number|Long|string)[];
12574
12575 /** Distribution exemplars. */
12576 public exemplars: google.api.Distribution.IExemplar[];
12577
12578 /**
12579 * Creates a new Distribution instance using the specified properties.
12580 * @param [properties] Properties to set
12581 * @returns Distribution instance
12582 */
12583 public static create(properties?: google.api.IDistribution): google.api.Distribution;
12584
12585 /**
12586 * Encodes the specified Distribution message. Does not implicitly {@link google.api.Distribution.verify|verify} messages.
12587 * @param message Distribution message or plain object to encode
12588 * @param [writer] Writer to encode to
12589 * @returns Writer
12590 */
12591 public static encode(message: google.api.IDistribution, writer?: $protobuf.Writer): $protobuf.Writer;
12592
12593 /**
12594 * Encodes the specified Distribution message, length delimited. Does not implicitly {@link google.api.Distribution.verify|verify} messages.
12595 * @param message Distribution message or plain object to encode
12596 * @param [writer] Writer to encode to
12597 * @returns Writer
12598 */
12599 public static encodeDelimited(message: google.api.IDistribution, writer?: $protobuf.Writer): $protobuf.Writer;
12600
12601 /**
12602 * Decodes a Distribution message from the specified reader or buffer.
12603 * @param reader Reader or buffer to decode from
12604 * @param [length] Message length if known beforehand
12605 * @returns Distribution
12606 * @throws {Error} If the payload is not a reader or valid buffer
12607 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12608 */
12609 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution;
12610
12611 /**
12612 * Decodes a Distribution message from the specified reader or buffer, length delimited.
12613 * @param reader Reader or buffer to decode from
12614 * @returns Distribution
12615 * @throws {Error} If the payload is not a reader or valid buffer
12616 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12617 */
12618 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution;
12619
12620 /**
12621 * Verifies a Distribution message.
12622 * @param message Plain object to verify
12623 * @returns `null` if valid, otherwise the reason why it is not
12624 */
12625 public static verify(message: { [k: string]: any }): (string|null);
12626
12627 /**
12628 * Creates a Distribution message from a plain object. Also converts values to their respective internal types.
12629 * @param object Plain object
12630 * @returns Distribution
12631 */
12632 public static fromObject(object: { [k: string]: any }): google.api.Distribution;
12633
12634 /**
12635 * Creates a plain object from a Distribution message. Also converts values to other types if specified.
12636 * @param message Distribution
12637 * @param [options] Conversion options
12638 * @returns Plain object
12639 */
12640 public static toObject(message: google.api.Distribution, options?: $protobuf.IConversionOptions): { [k: string]: any };
12641
12642 /**
12643 * Converts this Distribution to JSON.
12644 * @returns JSON object
12645 */
12646 public toJSON(): { [k: string]: any };
12647 }
12648
12649 namespace Distribution {
12650
12651 /** Properties of a Range. */
12652 interface IRange {
12653
12654 /** Range min */
12655 min?: (number|null);
12656
12657 /** Range max */
12658 max?: (number|null);
12659 }
12660
12661 /** Represents a Range. */
12662 class Range implements IRange {
12663
12664 /**
12665 * Constructs a new Range.
12666 * @param [properties] Properties to set
12667 */
12668 constructor(properties?: google.api.Distribution.IRange);
12669
12670 /** Range min. */
12671 public min: number;
12672
12673 /** Range max. */
12674 public max: number;
12675
12676 /**
12677 * Creates a new Range instance using the specified properties.
12678 * @param [properties] Properties to set
12679 * @returns Range instance
12680 */
12681 public static create(properties?: google.api.Distribution.IRange): google.api.Distribution.Range;
12682
12683 /**
12684 * Encodes the specified Range message. Does not implicitly {@link google.api.Distribution.Range.verify|verify} messages.
12685 * @param message Range message or plain object to encode
12686 * @param [writer] Writer to encode to
12687 * @returns Writer
12688 */
12689 public static encode(message: google.api.Distribution.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
12690
12691 /**
12692 * Encodes the specified Range message, length delimited. Does not implicitly {@link google.api.Distribution.Range.verify|verify} messages.
12693 * @param message Range message or plain object to encode
12694 * @param [writer] Writer to encode to
12695 * @returns Writer
12696 */
12697 public static encodeDelimited(message: google.api.Distribution.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
12698
12699 /**
12700 * Decodes a Range message from the specified reader or buffer.
12701 * @param reader Reader or buffer to decode from
12702 * @param [length] Message length if known beforehand
12703 * @returns Range
12704 * @throws {Error} If the payload is not a reader or valid buffer
12705 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12706 */
12707 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.Range;
12708
12709 /**
12710 * Decodes a Range message from the specified reader or buffer, length delimited.
12711 * @param reader Reader or buffer to decode from
12712 * @returns Range
12713 * @throws {Error} If the payload is not a reader or valid buffer
12714 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12715 */
12716 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.Range;
12717
12718 /**
12719 * Verifies a Range message.
12720 * @param message Plain object to verify
12721 * @returns `null` if valid, otherwise the reason why it is not
12722 */
12723 public static verify(message: { [k: string]: any }): (string|null);
12724
12725 /**
12726 * Creates a Range message from a plain object. Also converts values to their respective internal types.
12727 * @param object Plain object
12728 * @returns Range
12729 */
12730 public static fromObject(object: { [k: string]: any }): google.api.Distribution.Range;
12731
12732 /**
12733 * Creates a plain object from a Range message. Also converts values to other types if specified.
12734 * @param message Range
12735 * @param [options] Conversion options
12736 * @returns Plain object
12737 */
12738 public static toObject(message: google.api.Distribution.Range, options?: $protobuf.IConversionOptions): { [k: string]: any };
12739
12740 /**
12741 * Converts this Range to JSON.
12742 * @returns JSON object
12743 */
12744 public toJSON(): { [k: string]: any };
12745 }
12746
12747 /** Properties of a BucketOptions. */
12748 interface IBucketOptions {
12749
12750 /** BucketOptions linearBuckets */
12751 linearBuckets?: (google.api.Distribution.BucketOptions.ILinear|null);
12752
12753 /** BucketOptions exponentialBuckets */
12754 exponentialBuckets?: (google.api.Distribution.BucketOptions.IExponential|null);
12755
12756 /** BucketOptions explicitBuckets */
12757 explicitBuckets?: (google.api.Distribution.BucketOptions.IExplicit|null);
12758 }
12759
12760 /** Represents a BucketOptions. */
12761 class BucketOptions implements IBucketOptions {
12762
12763 /**
12764 * Constructs a new BucketOptions.
12765 * @param [properties] Properties to set
12766 */
12767 constructor(properties?: google.api.Distribution.IBucketOptions);
12768
12769 /** BucketOptions linearBuckets. */
12770 public linearBuckets?: (google.api.Distribution.BucketOptions.ILinear|null);
12771
12772 /** BucketOptions exponentialBuckets. */
12773 public exponentialBuckets?: (google.api.Distribution.BucketOptions.IExponential|null);
12774
12775 /** BucketOptions explicitBuckets. */
12776 public explicitBuckets?: (google.api.Distribution.BucketOptions.IExplicit|null);
12777
12778 /** BucketOptions options. */
12779 public options?: ("linearBuckets"|"exponentialBuckets"|"explicitBuckets");
12780
12781 /**
12782 * Creates a new BucketOptions instance using the specified properties.
12783 * @param [properties] Properties to set
12784 * @returns BucketOptions instance
12785 */
12786 public static create(properties?: google.api.Distribution.IBucketOptions): google.api.Distribution.BucketOptions;
12787
12788 /**
12789 * Encodes the specified BucketOptions message. Does not implicitly {@link google.api.Distribution.BucketOptions.verify|verify} messages.
12790 * @param message BucketOptions message or plain object to encode
12791 * @param [writer] Writer to encode to
12792 * @returns Writer
12793 */
12794 public static encode(message: google.api.Distribution.IBucketOptions, writer?: $protobuf.Writer): $protobuf.Writer;
12795
12796 /**
12797 * Encodes the specified BucketOptions message, length delimited. Does not implicitly {@link google.api.Distribution.BucketOptions.verify|verify} messages.
12798 * @param message BucketOptions message or plain object to encode
12799 * @param [writer] Writer to encode to
12800 * @returns Writer
12801 */
12802 public static encodeDelimited(message: google.api.Distribution.IBucketOptions, writer?: $protobuf.Writer): $protobuf.Writer;
12803
12804 /**
12805 * Decodes a BucketOptions message from the specified reader or buffer.
12806 * @param reader Reader or buffer to decode from
12807 * @param [length] Message length if known beforehand
12808 * @returns BucketOptions
12809 * @throws {Error} If the payload is not a reader or valid buffer
12810 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12811 */
12812 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.BucketOptions;
12813
12814 /**
12815 * Decodes a BucketOptions message from the specified reader or buffer, length delimited.
12816 * @param reader Reader or buffer to decode from
12817 * @returns BucketOptions
12818 * @throws {Error} If the payload is not a reader or valid buffer
12819 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12820 */
12821 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.BucketOptions;
12822
12823 /**
12824 * Verifies a BucketOptions message.
12825 * @param message Plain object to verify
12826 * @returns `null` if valid, otherwise the reason why it is not
12827 */
12828 public static verify(message: { [k: string]: any }): (string|null);
12829
12830 /**
12831 * Creates a BucketOptions message from a plain object. Also converts values to their respective internal types.
12832 * @param object Plain object
12833 * @returns BucketOptions
12834 */
12835 public static fromObject(object: { [k: string]: any }): google.api.Distribution.BucketOptions;
12836
12837 /**
12838 * Creates a plain object from a BucketOptions message. Also converts values to other types if specified.
12839 * @param message BucketOptions
12840 * @param [options] Conversion options
12841 * @returns Plain object
12842 */
12843 public static toObject(message: google.api.Distribution.BucketOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
12844
12845 /**
12846 * Converts this BucketOptions to JSON.
12847 * @returns JSON object
12848 */
12849 public toJSON(): { [k: string]: any };
12850 }
12851
12852 namespace BucketOptions {
12853
12854 /** Properties of a Linear. */
12855 interface ILinear {
12856
12857 /** Linear numFiniteBuckets */
12858 numFiniteBuckets?: (number|null);
12859
12860 /** Linear width */
12861 width?: (number|null);
12862
12863 /** Linear offset */
12864 offset?: (number|null);
12865 }
12866
12867 /** Represents a Linear. */
12868 class Linear implements ILinear {
12869
12870 /**
12871 * Constructs a new Linear.
12872 * @param [properties] Properties to set
12873 */
12874 constructor(properties?: google.api.Distribution.BucketOptions.ILinear);
12875
12876 /** Linear numFiniteBuckets. */
12877 public numFiniteBuckets: number;
12878
12879 /** Linear width. */
12880 public width: number;
12881
12882 /** Linear offset. */
12883 public offset: number;
12884
12885 /**
12886 * Creates a new Linear instance using the specified properties.
12887 * @param [properties] Properties to set
12888 * @returns Linear instance
12889 */
12890 public static create(properties?: google.api.Distribution.BucketOptions.ILinear): google.api.Distribution.BucketOptions.Linear;
12891
12892 /**
12893 * Encodes the specified Linear message. Does not implicitly {@link google.api.Distribution.BucketOptions.Linear.verify|verify} messages.
12894 * @param message Linear message or plain object to encode
12895 * @param [writer] Writer to encode to
12896 * @returns Writer
12897 */
12898 public static encode(message: google.api.Distribution.BucketOptions.ILinear, writer?: $protobuf.Writer): $protobuf.Writer;
12899
12900 /**
12901 * Encodes the specified Linear message, length delimited. Does not implicitly {@link google.api.Distribution.BucketOptions.Linear.verify|verify} messages.
12902 * @param message Linear message or plain object to encode
12903 * @param [writer] Writer to encode to
12904 * @returns Writer
12905 */
12906 public static encodeDelimited(message: google.api.Distribution.BucketOptions.ILinear, writer?: $protobuf.Writer): $protobuf.Writer;
12907
12908 /**
12909 * Decodes a Linear message from the specified reader or buffer.
12910 * @param reader Reader or buffer to decode from
12911 * @param [length] Message length if known beforehand
12912 * @returns Linear
12913 * @throws {Error} If the payload is not a reader or valid buffer
12914 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12915 */
12916 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.BucketOptions.Linear;
12917
12918 /**
12919 * Decodes a Linear message from the specified reader or buffer, length delimited.
12920 * @param reader Reader or buffer to decode from
12921 * @returns Linear
12922 * @throws {Error} If the payload is not a reader or valid buffer
12923 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12924 */
12925 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.BucketOptions.Linear;
12926
12927 /**
12928 * Verifies a Linear message.
12929 * @param message Plain object to verify
12930 * @returns `null` if valid, otherwise the reason why it is not
12931 */
12932 public static verify(message: { [k: string]: any }): (string|null);
12933
12934 /**
12935 * Creates a Linear message from a plain object. Also converts values to their respective internal types.
12936 * @param object Plain object
12937 * @returns Linear
12938 */
12939 public static fromObject(object: { [k: string]: any }): google.api.Distribution.BucketOptions.Linear;
12940
12941 /**
12942 * Creates a plain object from a Linear message. Also converts values to other types if specified.
12943 * @param message Linear
12944 * @param [options] Conversion options
12945 * @returns Plain object
12946 */
12947 public static toObject(message: google.api.Distribution.BucketOptions.Linear, options?: $protobuf.IConversionOptions): { [k: string]: any };
12948
12949 /**
12950 * Converts this Linear to JSON.
12951 * @returns JSON object
12952 */
12953 public toJSON(): { [k: string]: any };
12954 }
12955
12956 /** Properties of an Exponential. */
12957 interface IExponential {
12958
12959 /** Exponential numFiniteBuckets */
12960 numFiniteBuckets?: (number|null);
12961
12962 /** Exponential growthFactor */
12963 growthFactor?: (number|null);
12964
12965 /** Exponential scale */
12966 scale?: (number|null);
12967 }
12968
12969 /** Represents an Exponential. */
12970 class Exponential implements IExponential {
12971
12972 /**
12973 * Constructs a new Exponential.
12974 * @param [properties] Properties to set
12975 */
12976 constructor(properties?: google.api.Distribution.BucketOptions.IExponential);
12977
12978 /** Exponential numFiniteBuckets. */
12979 public numFiniteBuckets: number;
12980
12981 /** Exponential growthFactor. */
12982 public growthFactor: number;
12983
12984 /** Exponential scale. */
12985 public scale: number;
12986
12987 /**
12988 * Creates a new Exponential instance using the specified properties.
12989 * @param [properties] Properties to set
12990 * @returns Exponential instance
12991 */
12992 public static create(properties?: google.api.Distribution.BucketOptions.IExponential): google.api.Distribution.BucketOptions.Exponential;
12993
12994 /**
12995 * Encodes the specified Exponential message. Does not implicitly {@link google.api.Distribution.BucketOptions.Exponential.verify|verify} messages.
12996 * @param message Exponential message or plain object to encode
12997 * @param [writer] Writer to encode to
12998 * @returns Writer
12999 */
13000 public static encode(message: google.api.Distribution.BucketOptions.IExponential, writer?: $protobuf.Writer): $protobuf.Writer;
13001
13002 /**
13003 * Encodes the specified Exponential message, length delimited. Does not implicitly {@link google.api.Distribution.BucketOptions.Exponential.verify|verify} messages.
13004 * @param message Exponential message or plain object to encode
13005 * @param [writer] Writer to encode to
13006 * @returns Writer
13007 */
13008 public static encodeDelimited(message: google.api.Distribution.BucketOptions.IExponential, writer?: $protobuf.Writer): $protobuf.Writer;
13009
13010 /**
13011 * Decodes an Exponential message from the specified reader or buffer.
13012 * @param reader Reader or buffer to decode from
13013 * @param [length] Message length if known beforehand
13014 * @returns Exponential
13015 * @throws {Error} If the payload is not a reader or valid buffer
13016 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13017 */
13018 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.BucketOptions.Exponential;
13019
13020 /**
13021 * Decodes an Exponential message from the specified reader or buffer, length delimited.
13022 * @param reader Reader or buffer to decode from
13023 * @returns Exponential
13024 * @throws {Error} If the payload is not a reader or valid buffer
13025 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13026 */
13027 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.BucketOptions.Exponential;
13028
13029 /**
13030 * Verifies an Exponential message.
13031 * @param message Plain object to verify
13032 * @returns `null` if valid, otherwise the reason why it is not
13033 */
13034 public static verify(message: { [k: string]: any }): (string|null);
13035
13036 /**
13037 * Creates an Exponential message from a plain object. Also converts values to their respective internal types.
13038 * @param object Plain object
13039 * @returns Exponential
13040 */
13041 public static fromObject(object: { [k: string]: any }): google.api.Distribution.BucketOptions.Exponential;
13042
13043 /**
13044 * Creates a plain object from an Exponential message. Also converts values to other types if specified.
13045 * @param message Exponential
13046 * @param [options] Conversion options
13047 * @returns Plain object
13048 */
13049 public static toObject(message: google.api.Distribution.BucketOptions.Exponential, options?: $protobuf.IConversionOptions): { [k: string]: any };
13050
13051 /**
13052 * Converts this Exponential to JSON.
13053 * @returns JSON object
13054 */
13055 public toJSON(): { [k: string]: any };
13056 }
13057
13058 /** Properties of an Explicit. */
13059 interface IExplicit {
13060
13061 /** Explicit bounds */
13062 bounds?: (number[]|null);
13063 }
13064
13065 /** Represents an Explicit. */
13066 class Explicit implements IExplicit {
13067
13068 /**
13069 * Constructs a new Explicit.
13070 * @param [properties] Properties to set
13071 */
13072 constructor(properties?: google.api.Distribution.BucketOptions.IExplicit);
13073
13074 /** Explicit bounds. */
13075 public bounds: number[];
13076
13077 /**
13078 * Creates a new Explicit instance using the specified properties.
13079 * @param [properties] Properties to set
13080 * @returns Explicit instance
13081 */
13082 public static create(properties?: google.api.Distribution.BucketOptions.IExplicit): google.api.Distribution.BucketOptions.Explicit;
13083
13084 /**
13085 * Encodes the specified Explicit message. Does not implicitly {@link google.api.Distribution.BucketOptions.Explicit.verify|verify} messages.
13086 * @param message Explicit message or plain object to encode
13087 * @param [writer] Writer to encode to
13088 * @returns Writer
13089 */
13090 public static encode(message: google.api.Distribution.BucketOptions.IExplicit, writer?: $protobuf.Writer): $protobuf.Writer;
13091
13092 /**
13093 * Encodes the specified Explicit message, length delimited. Does not implicitly {@link google.api.Distribution.BucketOptions.Explicit.verify|verify} messages.
13094 * @param message Explicit message or plain object to encode
13095 * @param [writer] Writer to encode to
13096 * @returns Writer
13097 */
13098 public static encodeDelimited(message: google.api.Distribution.BucketOptions.IExplicit, writer?: $protobuf.Writer): $protobuf.Writer;
13099
13100 /**
13101 * Decodes an Explicit message from the specified reader or buffer.
13102 * @param reader Reader or buffer to decode from
13103 * @param [length] Message length if known beforehand
13104 * @returns Explicit
13105 * @throws {Error} If the payload is not a reader or valid buffer
13106 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13107 */
13108 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.BucketOptions.Explicit;
13109
13110 /**
13111 * Decodes an Explicit message from the specified reader or buffer, length delimited.
13112 * @param reader Reader or buffer to decode from
13113 * @returns Explicit
13114 * @throws {Error} If the payload is not a reader or valid buffer
13115 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13116 */
13117 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.BucketOptions.Explicit;
13118
13119 /**
13120 * Verifies an Explicit message.
13121 * @param message Plain object to verify
13122 * @returns `null` if valid, otherwise the reason why it is not
13123 */
13124 public static verify(message: { [k: string]: any }): (string|null);
13125
13126 /**
13127 * Creates an Explicit message from a plain object. Also converts values to their respective internal types.
13128 * @param object Plain object
13129 * @returns Explicit
13130 */
13131 public static fromObject(object: { [k: string]: any }): google.api.Distribution.BucketOptions.Explicit;
13132
13133 /**
13134 * Creates a plain object from an Explicit message. Also converts values to other types if specified.
13135 * @param message Explicit
13136 * @param [options] Conversion options
13137 * @returns Plain object
13138 */
13139 public static toObject(message: google.api.Distribution.BucketOptions.Explicit, options?: $protobuf.IConversionOptions): { [k: string]: any };
13140
13141 /**
13142 * Converts this Explicit to JSON.
13143 * @returns JSON object
13144 */
13145 public toJSON(): { [k: string]: any };
13146 }
13147 }
13148
13149 /** Properties of an Exemplar. */
13150 interface IExemplar {
13151
13152 /** Exemplar value */
13153 value?: (number|null);
13154
13155 /** Exemplar timestamp */
13156 timestamp?: (google.protobuf.ITimestamp|null);
13157
13158 /** Exemplar attachments */
13159 attachments?: (google.protobuf.IAny[]|null);
13160 }
13161
13162 /** Represents an Exemplar. */
13163 class Exemplar implements IExemplar {
13164
13165 /**
13166 * Constructs a new Exemplar.
13167 * @param [properties] Properties to set
13168 */
13169 constructor(properties?: google.api.Distribution.IExemplar);
13170
13171 /** Exemplar value. */
13172 public value: number;
13173
13174 /** Exemplar timestamp. */
13175 public timestamp?: (google.protobuf.ITimestamp|null);
13176
13177 /** Exemplar attachments. */
13178 public attachments: google.protobuf.IAny[];
13179
13180 /**
13181 * Creates a new Exemplar instance using the specified properties.
13182 * @param [properties] Properties to set
13183 * @returns Exemplar instance
13184 */
13185 public static create(properties?: google.api.Distribution.IExemplar): google.api.Distribution.Exemplar;
13186
13187 /**
13188 * Encodes the specified Exemplar message. Does not implicitly {@link google.api.Distribution.Exemplar.verify|verify} messages.
13189 * @param message Exemplar message or plain object to encode
13190 * @param [writer] Writer to encode to
13191 * @returns Writer
13192 */
13193 public static encode(message: google.api.Distribution.IExemplar, writer?: $protobuf.Writer): $protobuf.Writer;
13194
13195 /**
13196 * Encodes the specified Exemplar message, length delimited. Does not implicitly {@link google.api.Distribution.Exemplar.verify|verify} messages.
13197 * @param message Exemplar message or plain object to encode
13198 * @param [writer] Writer to encode to
13199 * @returns Writer
13200 */
13201 public static encodeDelimited(message: google.api.Distribution.IExemplar, writer?: $protobuf.Writer): $protobuf.Writer;
13202
13203 /**
13204 * Decodes an Exemplar message from the specified reader or buffer.
13205 * @param reader Reader or buffer to decode from
13206 * @param [length] Message length if known beforehand
13207 * @returns Exemplar
13208 * @throws {Error} If the payload is not a reader or valid buffer
13209 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13210 */
13211 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.Exemplar;
13212
13213 /**
13214 * Decodes an Exemplar message from the specified reader or buffer, length delimited.
13215 * @param reader Reader or buffer to decode from
13216 * @returns Exemplar
13217 * @throws {Error} If the payload is not a reader or valid buffer
13218 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13219 */
13220 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.Exemplar;
13221
13222 /**
13223 * Verifies an Exemplar message.
13224 * @param message Plain object to verify
13225 * @returns `null` if valid, otherwise the reason why it is not
13226 */
13227 public static verify(message: { [k: string]: any }): (string|null);
13228
13229 /**
13230 * Creates an Exemplar message from a plain object. Also converts values to their respective internal types.
13231 * @param object Plain object
13232 * @returns Exemplar
13233 */
13234 public static fromObject(object: { [k: string]: any }): google.api.Distribution.Exemplar;
13235
13236 /**
13237 * Creates a plain object from an Exemplar message. Also converts values to other types if specified.
13238 * @param message Exemplar
13239 * @param [options] Conversion options
13240 * @returns Plain object
13241 */
13242 public static toObject(message: google.api.Distribution.Exemplar, options?: $protobuf.IConversionOptions): { [k: string]: any };
13243
13244 /**
13245 * Converts this Exemplar to JSON.
13246 * @returns JSON object
13247 */
13248 public toJSON(): { [k: string]: any };
13249 }
13250 }
13251
13252 /** Properties of a MetricDescriptor. */
13253 interface IMetricDescriptor {
13254
13255 /** MetricDescriptor name */
13256 name?: (string|null);
13257
13258 /** MetricDescriptor type */
13259 type?: (string|null);
13260
13261 /** MetricDescriptor labels */
13262 labels?: (google.api.ILabelDescriptor[]|null);
13263
13264 /** MetricDescriptor metricKind */
13265 metricKind?: (google.api.MetricDescriptor.MetricKind|keyof typeof google.api.MetricDescriptor.MetricKind|null);
13266
13267 /** MetricDescriptor valueType */
13268 valueType?: (google.api.MetricDescriptor.ValueType|keyof typeof google.api.MetricDescriptor.ValueType|null);
13269
13270 /** MetricDescriptor unit */
13271 unit?: (string|null);
13272
13273 /** MetricDescriptor description */
13274 description?: (string|null);
13275
13276 /** MetricDescriptor displayName */
13277 displayName?: (string|null);
13278
13279 /** MetricDescriptor metadata */
13280 metadata?: (google.api.MetricDescriptor.IMetricDescriptorMetadata|null);
13281
13282 /** MetricDescriptor launchStage */
13283 launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
13284
13285 /** MetricDescriptor monitoredResourceTypes */
13286 monitoredResourceTypes?: (string[]|null);
13287 }
13288
13289 /** Represents a MetricDescriptor. */
13290 class MetricDescriptor implements IMetricDescriptor {
13291
13292 /**
13293 * Constructs a new MetricDescriptor.
13294 * @param [properties] Properties to set
13295 */
13296 constructor(properties?: google.api.IMetricDescriptor);
13297
13298 /** MetricDescriptor name. */
13299 public name: string;
13300
13301 /** MetricDescriptor type. */
13302 public type: string;
13303
13304 /** MetricDescriptor labels. */
13305 public labels: google.api.ILabelDescriptor[];
13306
13307 /** MetricDescriptor metricKind. */
13308 public metricKind: (google.api.MetricDescriptor.MetricKind|keyof typeof google.api.MetricDescriptor.MetricKind);
13309
13310 /** MetricDescriptor valueType. */
13311 public valueType: (google.api.MetricDescriptor.ValueType|keyof typeof google.api.MetricDescriptor.ValueType);
13312
13313 /** MetricDescriptor unit. */
13314 public unit: string;
13315
13316 /** MetricDescriptor description. */
13317 public description: string;
13318
13319 /** MetricDescriptor displayName. */
13320 public displayName: string;
13321
13322 /** MetricDescriptor metadata. */
13323 public metadata?: (google.api.MetricDescriptor.IMetricDescriptorMetadata|null);
13324
13325 /** MetricDescriptor launchStage. */
13326 public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
13327
13328 /** MetricDescriptor monitoredResourceTypes. */
13329 public monitoredResourceTypes: string[];
13330
13331 /**
13332 * Creates a new MetricDescriptor instance using the specified properties.
13333 * @param [properties] Properties to set
13334 * @returns MetricDescriptor instance
13335 */
13336 public static create(properties?: google.api.IMetricDescriptor): google.api.MetricDescriptor;
13337
13338 /**
13339 * Encodes the specified MetricDescriptor message. Does not implicitly {@link google.api.MetricDescriptor.verify|verify} messages.
13340 * @param message MetricDescriptor message or plain object to encode
13341 * @param [writer] Writer to encode to
13342 * @returns Writer
13343 */
13344 public static encode(message: google.api.IMetricDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
13345
13346 /**
13347 * Encodes the specified MetricDescriptor message, length delimited. Does not implicitly {@link google.api.MetricDescriptor.verify|verify} messages.
13348 * @param message MetricDescriptor message or plain object to encode
13349 * @param [writer] Writer to encode to
13350 * @returns Writer
13351 */
13352 public static encodeDelimited(message: google.api.IMetricDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
13353
13354 /**
13355 * Decodes a MetricDescriptor message from the specified reader or buffer.
13356 * @param reader Reader or buffer to decode from
13357 * @param [length] Message length if known beforehand
13358 * @returns MetricDescriptor
13359 * @throws {Error} If the payload is not a reader or valid buffer
13360 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13361 */
13362 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MetricDescriptor;
13363
13364 /**
13365 * Decodes a MetricDescriptor message from the specified reader or buffer, length delimited.
13366 * @param reader Reader or buffer to decode from
13367 * @returns MetricDescriptor
13368 * @throws {Error} If the payload is not a reader or valid buffer
13369 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13370 */
13371 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MetricDescriptor;
13372
13373 /**
13374 * Verifies a MetricDescriptor message.
13375 * @param message Plain object to verify
13376 * @returns `null` if valid, otherwise the reason why it is not
13377 */
13378 public static verify(message: { [k: string]: any }): (string|null);
13379
13380 /**
13381 * Creates a MetricDescriptor message from a plain object. Also converts values to their respective internal types.
13382 * @param object Plain object
13383 * @returns MetricDescriptor
13384 */
13385 public static fromObject(object: { [k: string]: any }): google.api.MetricDescriptor;
13386
13387 /**
13388 * Creates a plain object from a MetricDescriptor message. Also converts values to other types if specified.
13389 * @param message MetricDescriptor
13390 * @param [options] Conversion options
13391 * @returns Plain object
13392 */
13393 public static toObject(message: google.api.MetricDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
13394
13395 /**
13396 * Converts this MetricDescriptor to JSON.
13397 * @returns JSON object
13398 */
13399 public toJSON(): { [k: string]: any };
13400 }
13401
13402 namespace MetricDescriptor {
13403
13404 /** Properties of a MetricDescriptorMetadata. */
13405 interface IMetricDescriptorMetadata {
13406
13407 /** MetricDescriptorMetadata launchStage */
13408 launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
13409
13410 /** MetricDescriptorMetadata samplePeriod */
13411 samplePeriod?: (google.protobuf.IDuration|null);
13412
13413 /** MetricDescriptorMetadata ingestDelay */
13414 ingestDelay?: (google.protobuf.IDuration|null);
13415 }
13416
13417 /** Represents a MetricDescriptorMetadata. */
13418 class MetricDescriptorMetadata implements IMetricDescriptorMetadata {
13419
13420 /**
13421 * Constructs a new MetricDescriptorMetadata.
13422 * @param [properties] Properties to set
13423 */
13424 constructor(properties?: google.api.MetricDescriptor.IMetricDescriptorMetadata);
13425
13426 /** MetricDescriptorMetadata launchStage. */
13427 public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
13428
13429 /** MetricDescriptorMetadata samplePeriod. */
13430 public samplePeriod?: (google.protobuf.IDuration|null);
13431
13432 /** MetricDescriptorMetadata ingestDelay. */
13433 public ingestDelay?: (google.protobuf.IDuration|null);
13434
13435 /**
13436 * Creates a new MetricDescriptorMetadata instance using the specified properties.
13437 * @param [properties] Properties to set
13438 * @returns MetricDescriptorMetadata instance
13439 */
13440 public static create(properties?: google.api.MetricDescriptor.IMetricDescriptorMetadata): google.api.MetricDescriptor.MetricDescriptorMetadata;
13441
13442 /**
13443 * Encodes the specified MetricDescriptorMetadata message. Does not implicitly {@link google.api.MetricDescriptor.MetricDescriptorMetadata.verify|verify} messages.
13444 * @param message MetricDescriptorMetadata message or plain object to encode
13445 * @param [writer] Writer to encode to
13446 * @returns Writer
13447 */
13448 public static encode(message: google.api.MetricDescriptor.IMetricDescriptorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13449
13450 /**
13451 * Encodes the specified MetricDescriptorMetadata message, length delimited. Does not implicitly {@link google.api.MetricDescriptor.MetricDescriptorMetadata.verify|verify} messages.
13452 * @param message MetricDescriptorMetadata message or plain object to encode
13453 * @param [writer] Writer to encode to
13454 * @returns Writer
13455 */
13456 public static encodeDelimited(message: google.api.MetricDescriptor.IMetricDescriptorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13457
13458 /**
13459 * Decodes a MetricDescriptorMetadata message from the specified reader or buffer.
13460 * @param reader Reader or buffer to decode from
13461 * @param [length] Message length if known beforehand
13462 * @returns MetricDescriptorMetadata
13463 * @throws {Error} If the payload is not a reader or valid buffer
13464 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13465 */
13466 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MetricDescriptor.MetricDescriptorMetadata;
13467
13468 /**
13469 * Decodes a MetricDescriptorMetadata message from the specified reader or buffer, length delimited.
13470 * @param reader Reader or buffer to decode from
13471 * @returns MetricDescriptorMetadata
13472 * @throws {Error} If the payload is not a reader or valid buffer
13473 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13474 */
13475 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MetricDescriptor.MetricDescriptorMetadata;
13476
13477 /**
13478 * Verifies a MetricDescriptorMetadata message.
13479 * @param message Plain object to verify
13480 * @returns `null` if valid, otherwise the reason why it is not
13481 */
13482 public static verify(message: { [k: string]: any }): (string|null);
13483
13484 /**
13485 * Creates a MetricDescriptorMetadata message from a plain object. Also converts values to their respective internal types.
13486 * @param object Plain object
13487 * @returns MetricDescriptorMetadata
13488 */
13489 public static fromObject(object: { [k: string]: any }): google.api.MetricDescriptor.MetricDescriptorMetadata;
13490
13491 /**
13492 * Creates a plain object from a MetricDescriptorMetadata message. Also converts values to other types if specified.
13493 * @param message MetricDescriptorMetadata
13494 * @param [options] Conversion options
13495 * @returns Plain object
13496 */
13497 public static toObject(message: google.api.MetricDescriptor.MetricDescriptorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
13498
13499 /**
13500 * Converts this MetricDescriptorMetadata to JSON.
13501 * @returns JSON object
13502 */
13503 public toJSON(): { [k: string]: any };
13504 }
13505
13506 /** MetricKind enum. */
13507 enum MetricKind {
13508 METRIC_KIND_UNSPECIFIED = 0,
13509 GAUGE = 1,
13510 DELTA = 2,
13511 CUMULATIVE = 3
13512 }
13513
13514 /** ValueType enum. */
13515 enum ValueType {
13516 VALUE_TYPE_UNSPECIFIED = 0,
13517 BOOL = 1,
13518 INT64 = 2,
13519 DOUBLE = 3,
13520 STRING = 4,
13521 DISTRIBUTION = 5,
13522 MONEY = 6
13523 }
13524 }
13525
13526 /** Properties of a Metric. */
13527 interface IMetric {
13528
13529 /** Metric type */
13530 type?: (string|null);
13531
13532 /** Metric labels */
13533 labels?: ({ [k: string]: string }|null);
13534 }
13535
13536 /** Represents a Metric. */
13537 class Metric implements IMetric {
13538
13539 /**
13540 * Constructs a new Metric.
13541 * @param [properties] Properties to set
13542 */
13543 constructor(properties?: google.api.IMetric);
13544
13545 /** Metric type. */
13546 public type: string;
13547
13548 /** Metric labels. */
13549 public labels: { [k: string]: string };
13550
13551 /**
13552 * Creates a new Metric instance using the specified properties.
13553 * @param [properties] Properties to set
13554 * @returns Metric instance
13555 */
13556 public static create(properties?: google.api.IMetric): google.api.Metric;
13557
13558 /**
13559 * Encodes the specified Metric message. Does not implicitly {@link google.api.Metric.verify|verify} messages.
13560 * @param message Metric message or plain object to encode
13561 * @param [writer] Writer to encode to
13562 * @returns Writer
13563 */
13564 public static encode(message: google.api.IMetric, writer?: $protobuf.Writer): $protobuf.Writer;
13565
13566 /**
13567 * Encodes the specified Metric message, length delimited. Does not implicitly {@link google.api.Metric.verify|verify} messages.
13568 * @param message Metric message or plain object to encode
13569 * @param [writer] Writer to encode to
13570 * @returns Writer
13571 */
13572 public static encodeDelimited(message: google.api.IMetric, writer?: $protobuf.Writer): $protobuf.Writer;
13573
13574 /**
13575 * Decodes a Metric message from the specified reader or buffer.
13576 * @param reader Reader or buffer to decode from
13577 * @param [length] Message length if known beforehand
13578 * @returns Metric
13579 * @throws {Error} If the payload is not a reader or valid buffer
13580 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13581 */
13582 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Metric;
13583
13584 /**
13585 * Decodes a Metric message from the specified reader or buffer, length delimited.
13586 * @param reader Reader or buffer to decode from
13587 * @returns Metric
13588 * @throws {Error} If the payload is not a reader or valid buffer
13589 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13590 */
13591 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Metric;
13592
13593 /**
13594 * Verifies a Metric message.
13595 * @param message Plain object to verify
13596 * @returns `null` if valid, otherwise the reason why it is not
13597 */
13598 public static verify(message: { [k: string]: any }): (string|null);
13599
13600 /**
13601 * Creates a Metric message from a plain object. Also converts values to their respective internal types.
13602 * @param object Plain object
13603 * @returns Metric
13604 */
13605 public static fromObject(object: { [k: string]: any }): google.api.Metric;
13606
13607 /**
13608 * Creates a plain object from a Metric message. Also converts values to other types if specified.
13609 * @param message Metric
13610 * @param [options] Conversion options
13611 * @returns Plain object
13612 */
13613 public static toObject(message: google.api.Metric, options?: $protobuf.IConversionOptions): { [k: string]: any };
13614
13615 /**
13616 * Converts this Metric to JSON.
13617 * @returns JSON object
13618 */
13619 public toJSON(): { [k: string]: any };
13620 }
13621 }
13622
13623 /** Namespace rpc. */
13624 namespace rpc {
13625
13626 /** Properties of a Status. */
13627 interface IStatus {
13628
13629 /** Status code */
13630 code?: (number|null);
13631
13632 /** Status message */
13633 message?: (string|null);
13634
13635 /** Status details */
13636 details?: (google.protobuf.IAny[]|null);
13637 }
13638
13639 /** Represents a Status. */
13640 class Status implements IStatus {
13641
13642 /**
13643 * Constructs a new Status.
13644 * @param [properties] Properties to set
13645 */
13646 constructor(properties?: google.rpc.IStatus);
13647
13648 /** Status code. */
13649 public code: number;
13650
13651 /** Status message. */
13652 public message: string;
13653
13654 /** Status details. */
13655 public details: google.protobuf.IAny[];
13656
13657 /**
13658 * Creates a new Status instance using the specified properties.
13659 * @param [properties] Properties to set
13660 * @returns Status instance
13661 */
13662 public static create(properties?: google.rpc.IStatus): google.rpc.Status;
13663
13664 /**
13665 * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
13666 * @param message Status message or plain object to encode
13667 * @param [writer] Writer to encode to
13668 * @returns Writer
13669 */
13670 public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
13671
13672 /**
13673 * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
13674 * @param message Status message or plain object to encode
13675 * @param [writer] Writer to encode to
13676 * @returns Writer
13677 */
13678 public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
13679
13680 /**
13681 * Decodes a Status message from the specified reader or buffer.
13682 * @param reader Reader or buffer to decode from
13683 * @param [length] Message length if known beforehand
13684 * @returns Status
13685 * @throws {Error} If the payload is not a reader or valid buffer
13686 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13687 */
13688 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
13689
13690 /**
13691 * Decodes a Status message from the specified reader or buffer, length delimited.
13692 * @param reader Reader or buffer to decode from
13693 * @returns Status
13694 * @throws {Error} If the payload is not a reader or valid buffer
13695 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13696 */
13697 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
13698
13699 /**
13700 * Verifies a Status message.
13701 * @param message Plain object to verify
13702 * @returns `null` if valid, otherwise the reason why it is not
13703 */
13704 public static verify(message: { [k: string]: any }): (string|null);
13705
13706 /**
13707 * Creates a Status message from a plain object. Also converts values to their respective internal types.
13708 * @param object Plain object
13709 * @returns Status
13710 */
13711 public static fromObject(object: { [k: string]: any }): google.rpc.Status;
13712
13713 /**
13714 * Creates a plain object from a Status message. Also converts values to other types if specified.
13715 * @param message Status
13716 * @param [options] Conversion options
13717 * @returns Plain object
13718 */
13719 public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
13720
13721 /**
13722 * Converts this Status to JSON.
13723 * @returns JSON object
13724 */
13725 public toJSON(): { [k: string]: any };
13726 }
13727 }
13728
13729 /** Namespace longrunning. */
13730 namespace longrunning {
13731
13732 /** Represents an Operations */
13733 class Operations extends $protobuf.rpc.Service {
13734
13735 /**
13736 * Constructs a new Operations service.
13737 * @param rpcImpl RPC implementation
13738 * @param [requestDelimited=false] Whether requests are length-delimited
13739 * @param [responseDelimited=false] Whether responses are length-delimited
13740 */
13741 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
13742
13743 /**
13744 * Creates new Operations service using the specified rpc implementation.
13745 * @param rpcImpl RPC implementation
13746 * @param [requestDelimited=false] Whether requests are length-delimited
13747 * @param [responseDelimited=false] Whether responses are length-delimited
13748 * @returns RPC service. Useful where requests and/or responses are streamed.
13749 */
13750 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
13751
13752 /**
13753 * Calls ListOperations.
13754 * @param request ListOperationsRequest message or plain object
13755 * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
13756 */
13757 public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
13758
13759 /**
13760 * Calls ListOperations.
13761 * @param request ListOperationsRequest message or plain object
13762 * @returns Promise
13763 */
13764 public listOperations(request: google.longrunning.IListOperationsRequest): Promise<google.longrunning.ListOperationsResponse>;
13765
13766 /**
13767 * Calls GetOperation.
13768 * @param request GetOperationRequest message or plain object
13769 * @param callback Node-style callback called with the error, if any, and Operation
13770 */
13771 public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
13772
13773 /**
13774 * Calls GetOperation.
13775 * @param request GetOperationRequest message or plain object
13776 * @returns Promise
13777 */
13778 public getOperation(request: google.longrunning.IGetOperationRequest): Promise<google.longrunning.Operation>;
13779
13780 /**
13781 * Calls DeleteOperation.
13782 * @param request DeleteOperationRequest message or plain object
13783 * @param callback Node-style callback called with the error, if any, and Empty
13784 */
13785 public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
13786
13787 /**
13788 * Calls DeleteOperation.
13789 * @param request DeleteOperationRequest message or plain object
13790 * @returns Promise
13791 */
13792 public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise<google.protobuf.Empty>;
13793
13794 /**
13795 * Calls CancelOperation.
13796 * @param request CancelOperationRequest message or plain object
13797 * @param callback Node-style callback called with the error, if any, and Empty
13798 */
13799 public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
13800
13801 /**
13802 * Calls CancelOperation.
13803 * @param request CancelOperationRequest message or plain object
13804 * @returns Promise
13805 */
13806 public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise<google.protobuf.Empty>;
13807
13808 /**
13809 * Calls WaitOperation.
13810 * @param request WaitOperationRequest message or plain object
13811 * @param callback Node-style callback called with the error, if any, and Operation
13812 */
13813 public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
13814
13815 /**
13816 * Calls WaitOperation.
13817 * @param request WaitOperationRequest message or plain object
13818 * @returns Promise
13819 */
13820 public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise<google.longrunning.Operation>;
13821 }
13822
13823 namespace Operations {
13824
13825 /**
13826 * Callback as used by {@link google.longrunning.Operations|listOperations}.
13827 * @param error Error, if any
13828 * @param [response] ListOperationsResponse
13829 */
13830 type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
13831
13832 /**
13833 * Callback as used by {@link google.longrunning.Operations|getOperation}.
13834 * @param error Error, if any
13835 * @param [response] Operation
13836 */
13837 type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
13838
13839 /**
13840 * Callback as used by {@link google.longrunning.Operations|deleteOperation}.
13841 * @param error Error, if any
13842 * @param [response] Empty
13843 */
13844 type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
13845
13846 /**
13847 * Callback as used by {@link google.longrunning.Operations|cancelOperation}.
13848 * @param error Error, if any
13849 * @param [response] Empty
13850 */
13851 type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
13852
13853 /**
13854 * Callback as used by {@link google.longrunning.Operations|waitOperation}.
13855 * @param error Error, if any
13856 * @param [response] Operation
13857 */
13858 type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
13859 }
13860
13861 /** Properties of an Operation. */
13862 interface IOperation {
13863
13864 /** Operation name */
13865 name?: (string|null);
13866
13867 /** Operation metadata */
13868 metadata?: (google.protobuf.IAny|null);
13869
13870 /** Operation done */
13871 done?: (boolean|null);
13872
13873 /** Operation error */
13874 error?: (google.rpc.IStatus|null);
13875
13876 /** Operation response */
13877 response?: (google.protobuf.IAny|null);
13878 }
13879
13880 /** Represents an Operation. */
13881 class Operation implements IOperation {
13882
13883 /**
13884 * Constructs a new Operation.
13885 * @param [properties] Properties to set
13886 */
13887 constructor(properties?: google.longrunning.IOperation);
13888
13889 /** Operation name. */
13890 public name: string;
13891
13892 /** Operation metadata. */
13893 public metadata?: (google.protobuf.IAny|null);
13894
13895 /** Operation done. */
13896 public done: boolean;
13897
13898 /** Operation error. */
13899 public error?: (google.rpc.IStatus|null);
13900
13901 /** Operation response. */
13902 public response?: (google.protobuf.IAny|null);
13903
13904 /** Operation result. */
13905 public result?: ("error"|"response");
13906
13907 /**
13908 * Creates a new Operation instance using the specified properties.
13909 * @param [properties] Properties to set
13910 * @returns Operation instance
13911 */
13912 public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
13913
13914 /**
13915 * Encodes the specified Operation message. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
13916 * @param message Operation message or plain object to encode
13917 * @param [writer] Writer to encode to
13918 * @returns Writer
13919 */
13920 public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
13921
13922 /**
13923 * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
13924 * @param message Operation message or plain object to encode
13925 * @param [writer] Writer to encode to
13926 * @returns Writer
13927 */
13928 public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
13929
13930 /**
13931 * Decodes an Operation message from the specified reader or buffer.
13932 * @param reader Reader or buffer to decode from
13933 * @param [length] Message length if known beforehand
13934 * @returns Operation
13935 * @throws {Error} If the payload is not a reader or valid buffer
13936 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13937 */
13938 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
13939
13940 /**
13941 * Decodes an Operation message from the specified reader or buffer, length delimited.
13942 * @param reader Reader or buffer to decode from
13943 * @returns Operation
13944 * @throws {Error} If the payload is not a reader or valid buffer
13945 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13946 */
13947 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
13948
13949 /**
13950 * Verifies an Operation message.
13951 * @param message Plain object to verify
13952 * @returns `null` if valid, otherwise the reason why it is not
13953 */
13954 public static verify(message: { [k: string]: any }): (string|null);
13955
13956 /**
13957 * Creates an Operation message from a plain object. Also converts values to their respective internal types.
13958 * @param object Plain object
13959 * @returns Operation
13960 */
13961 public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
13962
13963 /**
13964 * Creates a plain object from an Operation message. Also converts values to other types if specified.
13965 * @param message Operation
13966 * @param [options] Conversion options
13967 * @returns Plain object
13968 */
13969 public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
13970
13971 /**
13972 * Converts this Operation to JSON.
13973 * @returns JSON object
13974 */
13975 public toJSON(): { [k: string]: any };
13976 }
13977
13978 /** Properties of a GetOperationRequest. */
13979 interface IGetOperationRequest {
13980
13981 /** GetOperationRequest name */
13982 name?: (string|null);
13983 }
13984
13985 /** Represents a GetOperationRequest. */
13986 class GetOperationRequest implements IGetOperationRequest {
13987
13988 /**
13989 * Constructs a new GetOperationRequest.
13990 * @param [properties] Properties to set
13991 */
13992 constructor(properties?: google.longrunning.IGetOperationRequest);
13993
13994 /** GetOperationRequest name. */
13995 public name: string;
13996
13997 /**
13998 * Creates a new GetOperationRequest instance using the specified properties.
13999 * @param [properties] Properties to set
14000 * @returns GetOperationRequest instance
14001 */
14002 public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
14003
14004 /**
14005 * Encodes the specified GetOperationRequest message. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
14006 * @param message GetOperationRequest message or plain object to encode
14007 * @param [writer] Writer to encode to
14008 * @returns Writer
14009 */
14010 public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14011
14012 /**
14013 * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
14014 * @param message GetOperationRequest message or plain object to encode
14015 * @param [writer] Writer to encode to
14016 * @returns Writer
14017 */
14018 public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14019
14020 /**
14021 * Decodes a GetOperationRequest message from the specified reader or buffer.
14022 * @param reader Reader or buffer to decode from
14023 * @param [length] Message length if known beforehand
14024 * @returns GetOperationRequest
14025 * @throws {Error} If the payload is not a reader or valid buffer
14026 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14027 */
14028 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
14029
14030 /**
14031 * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
14032 * @param reader Reader or buffer to decode from
14033 * @returns GetOperationRequest
14034 * @throws {Error} If the payload is not a reader or valid buffer
14035 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14036 */
14037 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
14038
14039 /**
14040 * Verifies a GetOperationRequest message.
14041 * @param message Plain object to verify
14042 * @returns `null` if valid, otherwise the reason why it is not
14043 */
14044 public static verify(message: { [k: string]: any }): (string|null);
14045
14046 /**
14047 * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
14048 * @param object Plain object
14049 * @returns GetOperationRequest
14050 */
14051 public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
14052
14053 /**
14054 * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
14055 * @param message GetOperationRequest
14056 * @param [options] Conversion options
14057 * @returns Plain object
14058 */
14059 public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14060
14061 /**
14062 * Converts this GetOperationRequest to JSON.
14063 * @returns JSON object
14064 */
14065 public toJSON(): { [k: string]: any };
14066 }
14067
14068 /** Properties of a ListOperationsRequest. */
14069 interface IListOperationsRequest {
14070
14071 /** ListOperationsRequest name */
14072 name?: (string|null);
14073
14074 /** ListOperationsRequest filter */
14075 filter?: (string|null);
14076
14077 /** ListOperationsRequest pageSize */
14078 pageSize?: (number|null);
14079
14080 /** ListOperationsRequest pageToken */
14081 pageToken?: (string|null);
14082 }
14083
14084 /** Represents a ListOperationsRequest. */
14085 class ListOperationsRequest implements IListOperationsRequest {
14086
14087 /**
14088 * Constructs a new ListOperationsRequest.
14089 * @param [properties] Properties to set
14090 */
14091 constructor(properties?: google.longrunning.IListOperationsRequest);
14092
14093 /** ListOperationsRequest name. */
14094 public name: string;
14095
14096 /** ListOperationsRequest filter. */
14097 public filter: string;
14098
14099 /** ListOperationsRequest pageSize. */
14100 public pageSize: number;
14101
14102 /** ListOperationsRequest pageToken. */
14103 public pageToken: string;
14104
14105 /**
14106 * Creates a new ListOperationsRequest instance using the specified properties.
14107 * @param [properties] Properties to set
14108 * @returns ListOperationsRequest instance
14109 */
14110 public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
14111
14112 /**
14113 * Encodes the specified ListOperationsRequest message. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
14114 * @param message ListOperationsRequest message or plain object to encode
14115 * @param [writer] Writer to encode to
14116 * @returns Writer
14117 */
14118 public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14119
14120 /**
14121 * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
14122 * @param message ListOperationsRequest message or plain object to encode
14123 * @param [writer] Writer to encode to
14124 * @returns Writer
14125 */
14126 public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14127
14128 /**
14129 * Decodes a ListOperationsRequest message from the specified reader or buffer.
14130 * @param reader Reader or buffer to decode from
14131 * @param [length] Message length if known beforehand
14132 * @returns ListOperationsRequest
14133 * @throws {Error} If the payload is not a reader or valid buffer
14134 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14135 */
14136 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
14137
14138 /**
14139 * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
14140 * @param reader Reader or buffer to decode from
14141 * @returns ListOperationsRequest
14142 * @throws {Error} If the payload is not a reader or valid buffer
14143 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14144 */
14145 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
14146
14147 /**
14148 * Verifies a ListOperationsRequest message.
14149 * @param message Plain object to verify
14150 * @returns `null` if valid, otherwise the reason why it is not
14151 */
14152 public static verify(message: { [k: string]: any }): (string|null);
14153
14154 /**
14155 * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
14156 * @param object Plain object
14157 * @returns ListOperationsRequest
14158 */
14159 public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
14160
14161 /**
14162 * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
14163 * @param message ListOperationsRequest
14164 * @param [options] Conversion options
14165 * @returns Plain object
14166 */
14167 public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14168
14169 /**
14170 * Converts this ListOperationsRequest to JSON.
14171 * @returns JSON object
14172 */
14173 public toJSON(): { [k: string]: any };
14174 }
14175
14176 /** Properties of a ListOperationsResponse. */
14177 interface IListOperationsResponse {
14178
14179 /** ListOperationsResponse operations */
14180 operations?: (google.longrunning.IOperation[]|null);
14181
14182 /** ListOperationsResponse nextPageToken */
14183 nextPageToken?: (string|null);
14184 }
14185
14186 /** Represents a ListOperationsResponse. */
14187 class ListOperationsResponse implements IListOperationsResponse {
14188
14189 /**
14190 * Constructs a new ListOperationsResponse.
14191 * @param [properties] Properties to set
14192 */
14193 constructor(properties?: google.longrunning.IListOperationsResponse);
14194
14195 /** ListOperationsResponse operations. */
14196 public operations: google.longrunning.IOperation[];
14197
14198 /** ListOperationsResponse nextPageToken. */
14199 public nextPageToken: string;
14200
14201 /**
14202 * Creates a new ListOperationsResponse instance using the specified properties.
14203 * @param [properties] Properties to set
14204 * @returns ListOperationsResponse instance
14205 */
14206 public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
14207
14208 /**
14209 * Encodes the specified ListOperationsResponse message. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
14210 * @param message ListOperationsResponse message or plain object to encode
14211 * @param [writer] Writer to encode to
14212 * @returns Writer
14213 */
14214 public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
14215
14216 /**
14217 * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
14218 * @param message ListOperationsResponse message or plain object to encode
14219 * @param [writer] Writer to encode to
14220 * @returns Writer
14221 */
14222 public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
14223
14224 /**
14225 * Decodes a ListOperationsResponse message from the specified reader or buffer.
14226 * @param reader Reader or buffer to decode from
14227 * @param [length] Message length if known beforehand
14228 * @returns ListOperationsResponse
14229 * @throws {Error} If the payload is not a reader or valid buffer
14230 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14231 */
14232 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
14233
14234 /**
14235 * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
14236 * @param reader Reader or buffer to decode from
14237 * @returns ListOperationsResponse
14238 * @throws {Error} If the payload is not a reader or valid buffer
14239 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14240 */
14241 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
14242
14243 /**
14244 * Verifies a ListOperationsResponse message.
14245 * @param message Plain object to verify
14246 * @returns `null` if valid, otherwise the reason why it is not
14247 */
14248 public static verify(message: { [k: string]: any }): (string|null);
14249
14250 /**
14251 * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
14252 * @param object Plain object
14253 * @returns ListOperationsResponse
14254 */
14255 public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
14256
14257 /**
14258 * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
14259 * @param message ListOperationsResponse
14260 * @param [options] Conversion options
14261 * @returns Plain object
14262 */
14263 public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
14264
14265 /**
14266 * Converts this ListOperationsResponse to JSON.
14267 * @returns JSON object
14268 */
14269 public toJSON(): { [k: string]: any };
14270 }
14271
14272 /** Properties of a CancelOperationRequest. */
14273 interface ICancelOperationRequest {
14274
14275 /** CancelOperationRequest name */
14276 name?: (string|null);
14277 }
14278
14279 /** Represents a CancelOperationRequest. */
14280 class CancelOperationRequest implements ICancelOperationRequest {
14281
14282 /**
14283 * Constructs a new CancelOperationRequest.
14284 * @param [properties] Properties to set
14285 */
14286 constructor(properties?: google.longrunning.ICancelOperationRequest);
14287
14288 /** CancelOperationRequest name. */
14289 public name: string;
14290
14291 /**
14292 * Creates a new CancelOperationRequest instance using the specified properties.
14293 * @param [properties] Properties to set
14294 * @returns CancelOperationRequest instance
14295 */
14296 public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
14297
14298 /**
14299 * Encodes the specified CancelOperationRequest message. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
14300 * @param message CancelOperationRequest message or plain object to encode
14301 * @param [writer] Writer to encode to
14302 * @returns Writer
14303 */
14304 public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14305
14306 /**
14307 * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
14308 * @param message CancelOperationRequest message or plain object to encode
14309 * @param [writer] Writer to encode to
14310 * @returns Writer
14311 */
14312 public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14313
14314 /**
14315 * Decodes a CancelOperationRequest message from the specified reader or buffer.
14316 * @param reader Reader or buffer to decode from
14317 * @param [length] Message length if known beforehand
14318 * @returns CancelOperationRequest
14319 * @throws {Error} If the payload is not a reader or valid buffer
14320 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14321 */
14322 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
14323
14324 /**
14325 * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
14326 * @param reader Reader or buffer to decode from
14327 * @returns CancelOperationRequest
14328 * @throws {Error} If the payload is not a reader or valid buffer
14329 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14330 */
14331 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
14332
14333 /**
14334 * Verifies a CancelOperationRequest message.
14335 * @param message Plain object to verify
14336 * @returns `null` if valid, otherwise the reason why it is not
14337 */
14338 public static verify(message: { [k: string]: any }): (string|null);
14339
14340 /**
14341 * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
14342 * @param object Plain object
14343 * @returns CancelOperationRequest
14344 */
14345 public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
14346
14347 /**
14348 * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
14349 * @param message CancelOperationRequest
14350 * @param [options] Conversion options
14351 * @returns Plain object
14352 */
14353 public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14354
14355 /**
14356 * Converts this CancelOperationRequest to JSON.
14357 * @returns JSON object
14358 */
14359 public toJSON(): { [k: string]: any };
14360 }
14361
14362 /** Properties of a DeleteOperationRequest. */
14363 interface IDeleteOperationRequest {
14364
14365 /** DeleteOperationRequest name */
14366 name?: (string|null);
14367 }
14368
14369 /** Represents a DeleteOperationRequest. */
14370 class DeleteOperationRequest implements IDeleteOperationRequest {
14371
14372 /**
14373 * Constructs a new DeleteOperationRequest.
14374 * @param [properties] Properties to set
14375 */
14376 constructor(properties?: google.longrunning.IDeleteOperationRequest);
14377
14378 /** DeleteOperationRequest name. */
14379 public name: string;
14380
14381 /**
14382 * Creates a new DeleteOperationRequest instance using the specified properties.
14383 * @param [properties] Properties to set
14384 * @returns DeleteOperationRequest instance
14385 */
14386 public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
14387
14388 /**
14389 * Encodes the specified DeleteOperationRequest message. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
14390 * @param message DeleteOperationRequest message or plain object to encode
14391 * @param [writer] Writer to encode to
14392 * @returns Writer
14393 */
14394 public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14395
14396 /**
14397 * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
14398 * @param message DeleteOperationRequest message or plain object to encode
14399 * @param [writer] Writer to encode to
14400 * @returns Writer
14401 */
14402 public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14403
14404 /**
14405 * Decodes a DeleteOperationRequest message from the specified reader or buffer.
14406 * @param reader Reader or buffer to decode from
14407 * @param [length] Message length if known beforehand
14408 * @returns DeleteOperationRequest
14409 * @throws {Error} If the payload is not a reader or valid buffer
14410 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14411 */
14412 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
14413
14414 /**
14415 * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
14416 * @param reader Reader or buffer to decode from
14417 * @returns DeleteOperationRequest
14418 * @throws {Error} If the payload is not a reader or valid buffer
14419 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14420 */
14421 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
14422
14423 /**
14424 * Verifies a DeleteOperationRequest message.
14425 * @param message Plain object to verify
14426 * @returns `null` if valid, otherwise the reason why it is not
14427 */
14428 public static verify(message: { [k: string]: any }): (string|null);
14429
14430 /**
14431 * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
14432 * @param object Plain object
14433 * @returns DeleteOperationRequest
14434 */
14435 public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
14436
14437 /**
14438 * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
14439 * @param message DeleteOperationRequest
14440 * @param [options] Conversion options
14441 * @returns Plain object
14442 */
14443 public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14444
14445 /**
14446 * Converts this DeleteOperationRequest to JSON.
14447 * @returns JSON object
14448 */
14449 public toJSON(): { [k: string]: any };
14450 }
14451
14452 /** Properties of a WaitOperationRequest. */
14453 interface IWaitOperationRequest {
14454
14455 /** WaitOperationRequest name */
14456 name?: (string|null);
14457
14458 /** WaitOperationRequest timeout */
14459 timeout?: (google.protobuf.IDuration|null);
14460 }
14461
14462 /** Represents a WaitOperationRequest. */
14463 class WaitOperationRequest implements IWaitOperationRequest {
14464
14465 /**
14466 * Constructs a new WaitOperationRequest.
14467 * @param [properties] Properties to set
14468 */
14469 constructor(properties?: google.longrunning.IWaitOperationRequest);
14470
14471 /** WaitOperationRequest name. */
14472 public name: string;
14473
14474 /** WaitOperationRequest timeout. */
14475 public timeout?: (google.protobuf.IDuration|null);
14476
14477 /**
14478 * Creates a new WaitOperationRequest instance using the specified properties.
14479 * @param [properties] Properties to set
14480 * @returns WaitOperationRequest instance
14481 */
14482 public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
14483
14484 /**
14485 * Encodes the specified WaitOperationRequest message. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
14486 * @param message WaitOperationRequest message or plain object to encode
14487 * @param [writer] Writer to encode to
14488 * @returns Writer
14489 */
14490 public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14491
14492 /**
14493 * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
14494 * @param message WaitOperationRequest message or plain object to encode
14495 * @param [writer] Writer to encode to
14496 * @returns Writer
14497 */
14498 public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14499
14500 /**
14501 * Decodes a WaitOperationRequest message from the specified reader or buffer.
14502 * @param reader Reader or buffer to decode from
14503 * @param [length] Message length if known beforehand
14504 * @returns WaitOperationRequest
14505 * @throws {Error} If the payload is not a reader or valid buffer
14506 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14507 */
14508 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
14509
14510 /**
14511 * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
14512 * @param reader Reader or buffer to decode from
14513 * @returns WaitOperationRequest
14514 * @throws {Error} If the payload is not a reader or valid buffer
14515 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14516 */
14517 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
14518
14519 /**
14520 * Verifies a WaitOperationRequest message.
14521 * @param message Plain object to verify
14522 * @returns `null` if valid, otherwise the reason why it is not
14523 */
14524 public static verify(message: { [k: string]: any }): (string|null);
14525
14526 /**
14527 * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
14528 * @param object Plain object
14529 * @returns WaitOperationRequest
14530 */
14531 public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
14532
14533 /**
14534 * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
14535 * @param message WaitOperationRequest
14536 * @param [options] Conversion options
14537 * @returns Plain object
14538 */
14539 public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14540
14541 /**
14542 * Converts this WaitOperationRequest to JSON.
14543 * @returns JSON object
14544 */
14545 public toJSON(): { [k: string]: any };
14546 }
14547
14548 /** Properties of an OperationInfo. */
14549 interface IOperationInfo {
14550
14551 /** OperationInfo responseType */
14552 responseType?: (string|null);
14553
14554 /** OperationInfo metadataType */
14555 metadataType?: (string|null);
14556 }
14557
14558 /** Represents an OperationInfo. */
14559 class OperationInfo implements IOperationInfo {
14560
14561 /**
14562 * Constructs a new OperationInfo.
14563 * @param [properties] Properties to set
14564 */
14565 constructor(properties?: google.longrunning.IOperationInfo);
14566
14567 /** OperationInfo responseType. */
14568 public responseType: string;
14569
14570 /** OperationInfo metadataType. */
14571 public metadataType: string;
14572
14573 /**
14574 * Creates a new OperationInfo instance using the specified properties.
14575 * @param [properties] Properties to set
14576 * @returns OperationInfo instance
14577 */
14578 public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
14579
14580 /**
14581 * Encodes the specified OperationInfo message. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
14582 * @param message OperationInfo message or plain object to encode
14583 * @param [writer] Writer to encode to
14584 * @returns Writer
14585 */
14586 public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
14587
14588 /**
14589 * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
14590 * @param message OperationInfo message or plain object to encode
14591 * @param [writer] Writer to encode to
14592 * @returns Writer
14593 */
14594 public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
14595
14596 /**
14597 * Decodes an OperationInfo message from the specified reader or buffer.
14598 * @param reader Reader or buffer to decode from
14599 * @param [length] Message length if known beforehand
14600 * @returns OperationInfo
14601 * @throws {Error} If the payload is not a reader or valid buffer
14602 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14603 */
14604 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
14605
14606 /**
14607 * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
14608 * @param reader Reader or buffer to decode from
14609 * @returns OperationInfo
14610 * @throws {Error} If the payload is not a reader or valid buffer
14611 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14612 */
14613 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
14614
14615 /**
14616 * Verifies an OperationInfo message.
14617 * @param message Plain object to verify
14618 * @returns `null` if valid, otherwise the reason why it is not
14619 */
14620 public static verify(message: { [k: string]: any }): (string|null);
14621
14622 /**
14623 * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
14624 * @param object Plain object
14625 * @returns OperationInfo
14626 */
14627 public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
14628
14629 /**
14630 * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
14631 * @param message OperationInfo
14632 * @param [options] Conversion options
14633 * @returns Plain object
14634 */
14635 public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
14636
14637 /**
14638 * Converts this OperationInfo to JSON.
14639 * @returns JSON object
14640 */
14641 public toJSON(): { [k: string]: any };
14642 }
14643 }
14644}