UNPKG

904 kBTypeScriptView Raw
1// Copyright 2024 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 type {protobuf as $protobuf} from "google-gax";
16import Long = require("long");
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 * Gets the default type url for Duration
120 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
121 * @returns The default type url
122 */
123 public static getTypeUrl(typeUrlPrefix?: string): string;
124 }
125
126 /** Properties of a FileDescriptorSet. */
127 interface IFileDescriptorSet {
128
129 /** FileDescriptorSet file */
130 file?: (google.protobuf.IFileDescriptorProto[]|null);
131 }
132
133 /** Represents a FileDescriptorSet. */
134 class FileDescriptorSet implements IFileDescriptorSet {
135
136 /**
137 * Constructs a new FileDescriptorSet.
138 * @param [properties] Properties to set
139 */
140 constructor(properties?: google.protobuf.IFileDescriptorSet);
141
142 /** FileDescriptorSet file. */
143 public file: google.protobuf.IFileDescriptorProto[];
144
145 /**
146 * Creates a new FileDescriptorSet instance using the specified properties.
147 * @param [properties] Properties to set
148 * @returns FileDescriptorSet instance
149 */
150 public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
151
152 /**
153 * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
154 * @param message FileDescriptorSet message or plain object to encode
155 * @param [writer] Writer to encode to
156 * @returns Writer
157 */
158 public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
159
160 /**
161 * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
162 * @param message FileDescriptorSet message or plain object to encode
163 * @param [writer] Writer to encode to
164 * @returns Writer
165 */
166 public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
167
168 /**
169 * Decodes a FileDescriptorSet message from the specified reader or buffer.
170 * @param reader Reader or buffer to decode from
171 * @param [length] Message length if known beforehand
172 * @returns FileDescriptorSet
173 * @throws {Error} If the payload is not a reader or valid buffer
174 * @throws {$protobuf.util.ProtocolError} If required fields are missing
175 */
176 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
177
178 /**
179 * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
180 * @param reader Reader or buffer to decode from
181 * @returns FileDescriptorSet
182 * @throws {Error} If the payload is not a reader or valid buffer
183 * @throws {$protobuf.util.ProtocolError} If required fields are missing
184 */
185 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
186
187 /**
188 * Verifies a FileDescriptorSet message.
189 * @param message Plain object to verify
190 * @returns `null` if valid, otherwise the reason why it is not
191 */
192 public static verify(message: { [k: string]: any }): (string|null);
193
194 /**
195 * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
196 * @param object Plain object
197 * @returns FileDescriptorSet
198 */
199 public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
200
201 /**
202 * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
203 * @param message FileDescriptorSet
204 * @param [options] Conversion options
205 * @returns Plain object
206 */
207 public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
208
209 /**
210 * Converts this FileDescriptorSet to JSON.
211 * @returns JSON object
212 */
213 public toJSON(): { [k: string]: any };
214
215 /**
216 * Gets the default type url for FileDescriptorSet
217 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
218 * @returns The default type url
219 */
220 public static getTypeUrl(typeUrlPrefix?: string): string;
221 }
222
223 /** Edition enum. */
224 enum Edition {
225 EDITION_UNKNOWN = 0,
226 EDITION_PROTO2 = 998,
227 EDITION_PROTO3 = 999,
228 EDITION_2023 = 1000,
229 EDITION_2024 = 1001,
230 EDITION_1_TEST_ONLY = 1,
231 EDITION_2_TEST_ONLY = 2,
232 EDITION_99997_TEST_ONLY = 99997,
233 EDITION_99998_TEST_ONLY = 99998,
234 EDITION_99999_TEST_ONLY = 99999,
235 EDITION_MAX = 2147483647
236 }
237
238 /** Properties of a FileDescriptorProto. */
239 interface IFileDescriptorProto {
240
241 /** FileDescriptorProto name */
242 name?: (string|null);
243
244 /** FileDescriptorProto package */
245 "package"?: (string|null);
246
247 /** FileDescriptorProto dependency */
248 dependency?: (string[]|null);
249
250 /** FileDescriptorProto publicDependency */
251 publicDependency?: (number[]|null);
252
253 /** FileDescriptorProto weakDependency */
254 weakDependency?: (number[]|null);
255
256 /** FileDescriptorProto messageType */
257 messageType?: (google.protobuf.IDescriptorProto[]|null);
258
259 /** FileDescriptorProto enumType */
260 enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
261
262 /** FileDescriptorProto service */
263 service?: (google.protobuf.IServiceDescriptorProto[]|null);
264
265 /** FileDescriptorProto extension */
266 extension?: (google.protobuf.IFieldDescriptorProto[]|null);
267
268 /** FileDescriptorProto options */
269 options?: (google.protobuf.IFileOptions|null);
270
271 /** FileDescriptorProto sourceCodeInfo */
272 sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
273
274 /** FileDescriptorProto syntax */
275 syntax?: (string|null);
276
277 /** FileDescriptorProto edition */
278 edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
279 }
280
281 /** Represents a FileDescriptorProto. */
282 class FileDescriptorProto implements IFileDescriptorProto {
283
284 /**
285 * Constructs a new FileDescriptorProto.
286 * @param [properties] Properties to set
287 */
288 constructor(properties?: google.protobuf.IFileDescriptorProto);
289
290 /** FileDescriptorProto name. */
291 public name: string;
292
293 /** FileDescriptorProto package. */
294 public package: string;
295
296 /** FileDescriptorProto dependency. */
297 public dependency: string[];
298
299 /** FileDescriptorProto publicDependency. */
300 public publicDependency: number[];
301
302 /** FileDescriptorProto weakDependency. */
303 public weakDependency: number[];
304
305 /** FileDescriptorProto messageType. */
306 public messageType: google.protobuf.IDescriptorProto[];
307
308 /** FileDescriptorProto enumType. */
309 public enumType: google.protobuf.IEnumDescriptorProto[];
310
311 /** FileDescriptorProto service. */
312 public service: google.protobuf.IServiceDescriptorProto[];
313
314 /** FileDescriptorProto extension. */
315 public extension: google.protobuf.IFieldDescriptorProto[];
316
317 /** FileDescriptorProto options. */
318 public options?: (google.protobuf.IFileOptions|null);
319
320 /** FileDescriptorProto sourceCodeInfo. */
321 public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
322
323 /** FileDescriptorProto syntax. */
324 public syntax: string;
325
326 /** FileDescriptorProto edition. */
327 public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
328
329 /**
330 * Creates a new FileDescriptorProto instance using the specified properties.
331 * @param [properties] Properties to set
332 * @returns FileDescriptorProto instance
333 */
334 public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
335
336 /**
337 * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
338 * @param message FileDescriptorProto message or plain object to encode
339 * @param [writer] Writer to encode to
340 * @returns Writer
341 */
342 public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
343
344 /**
345 * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
346 * @param message FileDescriptorProto message or plain object to encode
347 * @param [writer] Writer to encode to
348 * @returns Writer
349 */
350 public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
351
352 /**
353 * Decodes a FileDescriptorProto message from the specified reader or buffer.
354 * @param reader Reader or buffer to decode from
355 * @param [length] Message length if known beforehand
356 * @returns FileDescriptorProto
357 * @throws {Error} If the payload is not a reader or valid buffer
358 * @throws {$protobuf.util.ProtocolError} If required fields are missing
359 */
360 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
361
362 /**
363 * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
364 * @param reader Reader or buffer to decode from
365 * @returns FileDescriptorProto
366 * @throws {Error} If the payload is not a reader or valid buffer
367 * @throws {$protobuf.util.ProtocolError} If required fields are missing
368 */
369 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
370
371 /**
372 * Verifies a FileDescriptorProto message.
373 * @param message Plain object to verify
374 * @returns `null` if valid, otherwise the reason why it is not
375 */
376 public static verify(message: { [k: string]: any }): (string|null);
377
378 /**
379 * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
380 * @param object Plain object
381 * @returns FileDescriptorProto
382 */
383 public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
384
385 /**
386 * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
387 * @param message FileDescriptorProto
388 * @param [options] Conversion options
389 * @returns Plain object
390 */
391 public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
392
393 /**
394 * Converts this FileDescriptorProto to JSON.
395 * @returns JSON object
396 */
397 public toJSON(): { [k: string]: any };
398
399 /**
400 * Gets the default type url for FileDescriptorProto
401 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
402 * @returns The default type url
403 */
404 public static getTypeUrl(typeUrlPrefix?: string): string;
405 }
406
407 /** Properties of a DescriptorProto. */
408 interface IDescriptorProto {
409
410 /** DescriptorProto name */
411 name?: (string|null);
412
413 /** DescriptorProto field */
414 field?: (google.protobuf.IFieldDescriptorProto[]|null);
415
416 /** DescriptorProto extension */
417 extension?: (google.protobuf.IFieldDescriptorProto[]|null);
418
419 /** DescriptorProto nestedType */
420 nestedType?: (google.protobuf.IDescriptorProto[]|null);
421
422 /** DescriptorProto enumType */
423 enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
424
425 /** DescriptorProto extensionRange */
426 extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
427
428 /** DescriptorProto oneofDecl */
429 oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
430
431 /** DescriptorProto options */
432 options?: (google.protobuf.IMessageOptions|null);
433
434 /** DescriptorProto reservedRange */
435 reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
436
437 /** DescriptorProto reservedName */
438 reservedName?: (string[]|null);
439 }
440
441 /** Represents a DescriptorProto. */
442 class DescriptorProto implements IDescriptorProto {
443
444 /**
445 * Constructs a new DescriptorProto.
446 * @param [properties] Properties to set
447 */
448 constructor(properties?: google.protobuf.IDescriptorProto);
449
450 /** DescriptorProto name. */
451 public name: string;
452
453 /** DescriptorProto field. */
454 public field: google.protobuf.IFieldDescriptorProto[];
455
456 /** DescriptorProto extension. */
457 public extension: google.protobuf.IFieldDescriptorProto[];
458
459 /** DescriptorProto nestedType. */
460 public nestedType: google.protobuf.IDescriptorProto[];
461
462 /** DescriptorProto enumType. */
463 public enumType: google.protobuf.IEnumDescriptorProto[];
464
465 /** DescriptorProto extensionRange. */
466 public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
467
468 /** DescriptorProto oneofDecl. */
469 public oneofDecl: google.protobuf.IOneofDescriptorProto[];
470
471 /** DescriptorProto options. */
472 public options?: (google.protobuf.IMessageOptions|null);
473
474 /** DescriptorProto reservedRange. */
475 public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
476
477 /** DescriptorProto reservedName. */
478 public reservedName: string[];
479
480 /**
481 * Creates a new DescriptorProto instance using the specified properties.
482 * @param [properties] Properties to set
483 * @returns DescriptorProto instance
484 */
485 public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
486
487 /**
488 * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
489 * @param message DescriptorProto message or plain object to encode
490 * @param [writer] Writer to encode to
491 * @returns Writer
492 */
493 public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
494
495 /**
496 * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
497 * @param message DescriptorProto message or plain object to encode
498 * @param [writer] Writer to encode to
499 * @returns Writer
500 */
501 public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
502
503 /**
504 * Decodes a DescriptorProto message from the specified reader or buffer.
505 * @param reader Reader or buffer to decode from
506 * @param [length] Message length if known beforehand
507 * @returns DescriptorProto
508 * @throws {Error} If the payload is not a reader or valid buffer
509 * @throws {$protobuf.util.ProtocolError} If required fields are missing
510 */
511 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
512
513 /**
514 * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
515 * @param reader Reader or buffer to decode from
516 * @returns DescriptorProto
517 * @throws {Error} If the payload is not a reader or valid buffer
518 * @throws {$protobuf.util.ProtocolError} If required fields are missing
519 */
520 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
521
522 /**
523 * Verifies a DescriptorProto message.
524 * @param message Plain object to verify
525 * @returns `null` if valid, otherwise the reason why it is not
526 */
527 public static verify(message: { [k: string]: any }): (string|null);
528
529 /**
530 * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
531 * @param object Plain object
532 * @returns DescriptorProto
533 */
534 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
535
536 /**
537 * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
538 * @param message DescriptorProto
539 * @param [options] Conversion options
540 * @returns Plain object
541 */
542 public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
543
544 /**
545 * Converts this DescriptorProto to JSON.
546 * @returns JSON object
547 */
548 public toJSON(): { [k: string]: any };
549
550 /**
551 * Gets the default type url for DescriptorProto
552 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
553 * @returns The default type url
554 */
555 public static getTypeUrl(typeUrlPrefix?: string): string;
556 }
557
558 namespace DescriptorProto {
559
560 /** Properties of an ExtensionRange. */
561 interface IExtensionRange {
562
563 /** ExtensionRange start */
564 start?: (number|null);
565
566 /** ExtensionRange end */
567 end?: (number|null);
568
569 /** ExtensionRange options */
570 options?: (google.protobuf.IExtensionRangeOptions|null);
571 }
572
573 /** Represents an ExtensionRange. */
574 class ExtensionRange implements IExtensionRange {
575
576 /**
577 * Constructs a new ExtensionRange.
578 * @param [properties] Properties to set
579 */
580 constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
581
582 /** ExtensionRange start. */
583 public start: number;
584
585 /** ExtensionRange end. */
586 public end: number;
587
588 /** ExtensionRange options. */
589 public options?: (google.protobuf.IExtensionRangeOptions|null);
590
591 /**
592 * Creates a new ExtensionRange instance using the specified properties.
593 * @param [properties] Properties to set
594 * @returns ExtensionRange instance
595 */
596 public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
597
598 /**
599 * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
600 * @param message ExtensionRange message or plain object to encode
601 * @param [writer] Writer to encode to
602 * @returns Writer
603 */
604 public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
605
606 /**
607 * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
608 * @param message ExtensionRange message or plain object to encode
609 * @param [writer] Writer to encode to
610 * @returns Writer
611 */
612 public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
613
614 /**
615 * Decodes an ExtensionRange message from the specified reader or buffer.
616 * @param reader Reader or buffer to decode from
617 * @param [length] Message length if known beforehand
618 * @returns ExtensionRange
619 * @throws {Error} If the payload is not a reader or valid buffer
620 * @throws {$protobuf.util.ProtocolError} If required fields are missing
621 */
622 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
623
624 /**
625 * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
626 * @param reader Reader or buffer to decode from
627 * @returns ExtensionRange
628 * @throws {Error} If the payload is not a reader or valid buffer
629 * @throws {$protobuf.util.ProtocolError} If required fields are missing
630 */
631 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
632
633 /**
634 * Verifies an ExtensionRange message.
635 * @param message Plain object to verify
636 * @returns `null` if valid, otherwise the reason why it is not
637 */
638 public static verify(message: { [k: string]: any }): (string|null);
639
640 /**
641 * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
642 * @param object Plain object
643 * @returns ExtensionRange
644 */
645 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
646
647 /**
648 * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
649 * @param message ExtensionRange
650 * @param [options] Conversion options
651 * @returns Plain object
652 */
653 public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
654
655 /**
656 * Converts this ExtensionRange to JSON.
657 * @returns JSON object
658 */
659 public toJSON(): { [k: string]: any };
660
661 /**
662 * Gets the default type url for ExtensionRange
663 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
664 * @returns The default type url
665 */
666 public static getTypeUrl(typeUrlPrefix?: string): string;
667 }
668
669 /** Properties of a ReservedRange. */
670 interface IReservedRange {
671
672 /** ReservedRange start */
673 start?: (number|null);
674
675 /** ReservedRange end */
676 end?: (number|null);
677 }
678
679 /** Represents a ReservedRange. */
680 class ReservedRange implements IReservedRange {
681
682 /**
683 * Constructs a new ReservedRange.
684 * @param [properties] Properties to set
685 */
686 constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
687
688 /** ReservedRange start. */
689 public start: number;
690
691 /** ReservedRange end. */
692 public end: number;
693
694 /**
695 * Creates a new ReservedRange instance using the specified properties.
696 * @param [properties] Properties to set
697 * @returns ReservedRange instance
698 */
699 public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
700
701 /**
702 * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
703 * @param message ReservedRange message or plain object to encode
704 * @param [writer] Writer to encode to
705 * @returns Writer
706 */
707 public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
708
709 /**
710 * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
711 * @param message ReservedRange message or plain object to encode
712 * @param [writer] Writer to encode to
713 * @returns Writer
714 */
715 public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
716
717 /**
718 * Decodes a ReservedRange message from the specified reader or buffer.
719 * @param reader Reader or buffer to decode from
720 * @param [length] Message length if known beforehand
721 * @returns ReservedRange
722 * @throws {Error} If the payload is not a reader or valid buffer
723 * @throws {$protobuf.util.ProtocolError} If required fields are missing
724 */
725 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
726
727 /**
728 * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
729 * @param reader Reader or buffer to decode from
730 * @returns ReservedRange
731 * @throws {Error} If the payload is not a reader or valid buffer
732 * @throws {$protobuf.util.ProtocolError} If required fields are missing
733 */
734 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
735
736 /**
737 * Verifies a ReservedRange message.
738 * @param message Plain object to verify
739 * @returns `null` if valid, otherwise the reason why it is not
740 */
741 public static verify(message: { [k: string]: any }): (string|null);
742
743 /**
744 * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
745 * @param object Plain object
746 * @returns ReservedRange
747 */
748 public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
749
750 /**
751 * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
752 * @param message ReservedRange
753 * @param [options] Conversion options
754 * @returns Plain object
755 */
756 public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
757
758 /**
759 * Converts this ReservedRange to JSON.
760 * @returns JSON object
761 */
762 public toJSON(): { [k: string]: any };
763
764 /**
765 * Gets the default type url for ReservedRange
766 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
767 * @returns The default type url
768 */
769 public static getTypeUrl(typeUrlPrefix?: string): string;
770 }
771 }
772
773 /** Properties of an ExtensionRangeOptions. */
774 interface IExtensionRangeOptions {
775
776 /** ExtensionRangeOptions uninterpretedOption */
777 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
778
779 /** ExtensionRangeOptions declaration */
780 declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
781
782 /** ExtensionRangeOptions features */
783 features?: (google.protobuf.IFeatureSet|null);
784
785 /** ExtensionRangeOptions verification */
786 verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null);
787 }
788
789 /** Represents an ExtensionRangeOptions. */
790 class ExtensionRangeOptions implements IExtensionRangeOptions {
791
792 /**
793 * Constructs a new ExtensionRangeOptions.
794 * @param [properties] Properties to set
795 */
796 constructor(properties?: google.protobuf.IExtensionRangeOptions);
797
798 /** ExtensionRangeOptions uninterpretedOption. */
799 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
800
801 /** ExtensionRangeOptions declaration. */
802 public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
803
804 /** ExtensionRangeOptions features. */
805 public features?: (google.protobuf.IFeatureSet|null);
806
807 /** ExtensionRangeOptions verification. */
808 public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState);
809
810 /**
811 * Creates a new ExtensionRangeOptions instance using the specified properties.
812 * @param [properties] Properties to set
813 * @returns ExtensionRangeOptions instance
814 */
815 public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
816
817 /**
818 * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
819 * @param message ExtensionRangeOptions message or plain object to encode
820 * @param [writer] Writer to encode to
821 * @returns Writer
822 */
823 public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
824
825 /**
826 * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
827 * @param message ExtensionRangeOptions message or plain object to encode
828 * @param [writer] Writer to encode to
829 * @returns Writer
830 */
831 public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
832
833 /**
834 * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
835 * @param reader Reader or buffer to decode from
836 * @param [length] Message length if known beforehand
837 * @returns ExtensionRangeOptions
838 * @throws {Error} If the payload is not a reader or valid buffer
839 * @throws {$protobuf.util.ProtocolError} If required fields are missing
840 */
841 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
842
843 /**
844 * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
845 * @param reader Reader or buffer to decode from
846 * @returns ExtensionRangeOptions
847 * @throws {Error} If the payload is not a reader or valid buffer
848 * @throws {$protobuf.util.ProtocolError} If required fields are missing
849 */
850 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
851
852 /**
853 * Verifies an ExtensionRangeOptions message.
854 * @param message Plain object to verify
855 * @returns `null` if valid, otherwise the reason why it is not
856 */
857 public static verify(message: { [k: string]: any }): (string|null);
858
859 /**
860 * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
861 * @param object Plain object
862 * @returns ExtensionRangeOptions
863 */
864 public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
865
866 /**
867 * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
868 * @param message ExtensionRangeOptions
869 * @param [options] Conversion options
870 * @returns Plain object
871 */
872 public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
873
874 /**
875 * Converts this ExtensionRangeOptions to JSON.
876 * @returns JSON object
877 */
878 public toJSON(): { [k: string]: any };
879
880 /**
881 * Gets the default type url for ExtensionRangeOptions
882 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
883 * @returns The default type url
884 */
885 public static getTypeUrl(typeUrlPrefix?: string): string;
886 }
887
888 namespace ExtensionRangeOptions {
889
890 /** Properties of a Declaration. */
891 interface IDeclaration {
892
893 /** Declaration number */
894 number?: (number|null);
895
896 /** Declaration fullName */
897 fullName?: (string|null);
898
899 /** Declaration type */
900 type?: (string|null);
901
902 /** Declaration reserved */
903 reserved?: (boolean|null);
904
905 /** Declaration repeated */
906 repeated?: (boolean|null);
907 }
908
909 /** Represents a Declaration. */
910 class Declaration implements IDeclaration {
911
912 /**
913 * Constructs a new Declaration.
914 * @param [properties] Properties to set
915 */
916 constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
917
918 /** Declaration number. */
919 public number: number;
920
921 /** Declaration fullName. */
922 public fullName: string;
923
924 /** Declaration type. */
925 public type: string;
926
927 /** Declaration reserved. */
928 public reserved: boolean;
929
930 /** Declaration repeated. */
931 public repeated: boolean;
932
933 /**
934 * Creates a new Declaration instance using the specified properties.
935 * @param [properties] Properties to set
936 * @returns Declaration instance
937 */
938 public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
939
940 /**
941 * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
942 * @param message Declaration message or plain object to encode
943 * @param [writer] Writer to encode to
944 * @returns Writer
945 */
946 public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
947
948 /**
949 * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
950 * @param message Declaration message or plain object to encode
951 * @param [writer] Writer to encode to
952 * @returns Writer
953 */
954 public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
955
956 /**
957 * Decodes a Declaration message from the specified reader or buffer.
958 * @param reader Reader or buffer to decode from
959 * @param [length] Message length if known beforehand
960 * @returns Declaration
961 * @throws {Error} If the payload is not a reader or valid buffer
962 * @throws {$protobuf.util.ProtocolError} If required fields are missing
963 */
964 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration;
965
966 /**
967 * Decodes a Declaration message from the specified reader or buffer, length delimited.
968 * @param reader Reader or buffer to decode from
969 * @returns Declaration
970 * @throws {Error} If the payload is not a reader or valid buffer
971 * @throws {$protobuf.util.ProtocolError} If required fields are missing
972 */
973 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration;
974
975 /**
976 * Verifies a Declaration message.
977 * @param message Plain object to verify
978 * @returns `null` if valid, otherwise the reason why it is not
979 */
980 public static verify(message: { [k: string]: any }): (string|null);
981
982 /**
983 * Creates a Declaration message from a plain object. Also converts values to their respective internal types.
984 * @param object Plain object
985 * @returns Declaration
986 */
987 public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
988
989 /**
990 * Creates a plain object from a Declaration message. Also converts values to other types if specified.
991 * @param message Declaration
992 * @param [options] Conversion options
993 * @returns Plain object
994 */
995 public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
996
997 /**
998 * Converts this Declaration to JSON.
999 * @returns JSON object
1000 */
1001 public toJSON(): { [k: string]: any };
1002
1003 /**
1004 * Gets the default type url for Declaration
1005 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1006 * @returns The default type url
1007 */
1008 public static getTypeUrl(typeUrlPrefix?: string): string;
1009 }
1010
1011 /** VerificationState enum. */
1012 enum VerificationState {
1013 DECLARATION = 0,
1014 UNVERIFIED = 1
1015 }
1016 }
1017
1018 /** Properties of a FieldDescriptorProto. */
1019 interface IFieldDescriptorProto {
1020
1021 /** FieldDescriptorProto name */
1022 name?: (string|null);
1023
1024 /** FieldDescriptorProto number */
1025 number?: (number|null);
1026
1027 /** FieldDescriptorProto label */
1028 label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
1029
1030 /** FieldDescriptorProto type */
1031 type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
1032
1033 /** FieldDescriptorProto typeName */
1034 typeName?: (string|null);
1035
1036 /** FieldDescriptorProto extendee */
1037 extendee?: (string|null);
1038
1039 /** FieldDescriptorProto defaultValue */
1040 defaultValue?: (string|null);
1041
1042 /** FieldDescriptorProto oneofIndex */
1043 oneofIndex?: (number|null);
1044
1045 /** FieldDescriptorProto jsonName */
1046 jsonName?: (string|null);
1047
1048 /** FieldDescriptorProto options */
1049 options?: (google.protobuf.IFieldOptions|null);
1050
1051 /** FieldDescriptorProto proto3Optional */
1052 proto3Optional?: (boolean|null);
1053 }
1054
1055 /** Represents a FieldDescriptorProto. */
1056 class FieldDescriptorProto implements IFieldDescriptorProto {
1057
1058 /**
1059 * Constructs a new FieldDescriptorProto.
1060 * @param [properties] Properties to set
1061 */
1062 constructor(properties?: google.protobuf.IFieldDescriptorProto);
1063
1064 /** FieldDescriptorProto name. */
1065 public name: string;
1066
1067 /** FieldDescriptorProto number. */
1068 public number: number;
1069
1070 /** FieldDescriptorProto label. */
1071 public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
1072
1073 /** FieldDescriptorProto type. */
1074 public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
1075
1076 /** FieldDescriptorProto typeName. */
1077 public typeName: string;
1078
1079 /** FieldDescriptorProto extendee. */
1080 public extendee: string;
1081
1082 /** FieldDescriptorProto defaultValue. */
1083 public defaultValue: string;
1084
1085 /** FieldDescriptorProto oneofIndex. */
1086 public oneofIndex: number;
1087
1088 /** FieldDescriptorProto jsonName. */
1089 public jsonName: string;
1090
1091 /** FieldDescriptorProto options. */
1092 public options?: (google.protobuf.IFieldOptions|null);
1093
1094 /** FieldDescriptorProto proto3Optional. */
1095 public proto3Optional: boolean;
1096
1097 /**
1098 * Creates a new FieldDescriptorProto instance using the specified properties.
1099 * @param [properties] Properties to set
1100 * @returns FieldDescriptorProto instance
1101 */
1102 public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
1103
1104 /**
1105 * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
1106 * @param message FieldDescriptorProto message or plain object to encode
1107 * @param [writer] Writer to encode to
1108 * @returns Writer
1109 */
1110 public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1111
1112 /**
1113 * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
1114 * @param message FieldDescriptorProto message or plain object to encode
1115 * @param [writer] Writer to encode to
1116 * @returns Writer
1117 */
1118 public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1119
1120 /**
1121 * Decodes a FieldDescriptorProto message from the specified reader or buffer.
1122 * @param reader Reader or buffer to decode from
1123 * @param [length] Message length if known beforehand
1124 * @returns FieldDescriptorProto
1125 * @throws {Error} If the payload is not a reader or valid buffer
1126 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1127 */
1128 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
1129
1130 /**
1131 * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
1132 * @param reader Reader or buffer to decode from
1133 * @returns FieldDescriptorProto
1134 * @throws {Error} If the payload is not a reader or valid buffer
1135 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1136 */
1137 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
1138
1139 /**
1140 * Verifies a FieldDescriptorProto message.
1141 * @param message Plain object to verify
1142 * @returns `null` if valid, otherwise the reason why it is not
1143 */
1144 public static verify(message: { [k: string]: any }): (string|null);
1145
1146 /**
1147 * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
1148 * @param object Plain object
1149 * @returns FieldDescriptorProto
1150 */
1151 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
1152
1153 /**
1154 * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
1155 * @param message FieldDescriptorProto
1156 * @param [options] Conversion options
1157 * @returns Plain object
1158 */
1159 public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1160
1161 /**
1162 * Converts this FieldDescriptorProto to JSON.
1163 * @returns JSON object
1164 */
1165 public toJSON(): { [k: string]: any };
1166
1167 /**
1168 * Gets the default type url for FieldDescriptorProto
1169 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1170 * @returns The default type url
1171 */
1172 public static getTypeUrl(typeUrlPrefix?: string): string;
1173 }
1174
1175 namespace FieldDescriptorProto {
1176
1177 /** Type enum. */
1178 enum Type {
1179 TYPE_DOUBLE = 1,
1180 TYPE_FLOAT = 2,
1181 TYPE_INT64 = 3,
1182 TYPE_UINT64 = 4,
1183 TYPE_INT32 = 5,
1184 TYPE_FIXED64 = 6,
1185 TYPE_FIXED32 = 7,
1186 TYPE_BOOL = 8,
1187 TYPE_STRING = 9,
1188 TYPE_GROUP = 10,
1189 TYPE_MESSAGE = 11,
1190 TYPE_BYTES = 12,
1191 TYPE_UINT32 = 13,
1192 TYPE_ENUM = 14,
1193 TYPE_SFIXED32 = 15,
1194 TYPE_SFIXED64 = 16,
1195 TYPE_SINT32 = 17,
1196 TYPE_SINT64 = 18
1197 }
1198
1199 /** Label enum. */
1200 enum Label {
1201 LABEL_OPTIONAL = 1,
1202 LABEL_REPEATED = 3,
1203 LABEL_REQUIRED = 2
1204 }
1205 }
1206
1207 /** Properties of an OneofDescriptorProto. */
1208 interface IOneofDescriptorProto {
1209
1210 /** OneofDescriptorProto name */
1211 name?: (string|null);
1212
1213 /** OneofDescriptorProto options */
1214 options?: (google.protobuf.IOneofOptions|null);
1215 }
1216
1217 /** Represents an OneofDescriptorProto. */
1218 class OneofDescriptorProto implements IOneofDescriptorProto {
1219
1220 /**
1221 * Constructs a new OneofDescriptorProto.
1222 * @param [properties] Properties to set
1223 */
1224 constructor(properties?: google.protobuf.IOneofDescriptorProto);
1225
1226 /** OneofDescriptorProto name. */
1227 public name: string;
1228
1229 /** OneofDescriptorProto options. */
1230 public options?: (google.protobuf.IOneofOptions|null);
1231
1232 /**
1233 * Creates a new OneofDescriptorProto instance using the specified properties.
1234 * @param [properties] Properties to set
1235 * @returns OneofDescriptorProto instance
1236 */
1237 public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
1238
1239 /**
1240 * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
1241 * @param message OneofDescriptorProto message or plain object to encode
1242 * @param [writer] Writer to encode to
1243 * @returns Writer
1244 */
1245 public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1246
1247 /**
1248 * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
1249 * @param message OneofDescriptorProto message or plain object to encode
1250 * @param [writer] Writer to encode to
1251 * @returns Writer
1252 */
1253 public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1254
1255 /**
1256 * Decodes an OneofDescriptorProto message from the specified reader or buffer.
1257 * @param reader Reader or buffer to decode from
1258 * @param [length] Message length if known beforehand
1259 * @returns OneofDescriptorProto
1260 * @throws {Error} If the payload is not a reader or valid buffer
1261 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1262 */
1263 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
1264
1265 /**
1266 * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
1267 * @param reader Reader or buffer to decode from
1268 * @returns OneofDescriptorProto
1269 * @throws {Error} If the payload is not a reader or valid buffer
1270 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1271 */
1272 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
1273
1274 /**
1275 * Verifies an OneofDescriptorProto message.
1276 * @param message Plain object to verify
1277 * @returns `null` if valid, otherwise the reason why it is not
1278 */
1279 public static verify(message: { [k: string]: any }): (string|null);
1280
1281 /**
1282 * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
1283 * @param object Plain object
1284 * @returns OneofDescriptorProto
1285 */
1286 public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
1287
1288 /**
1289 * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
1290 * @param message OneofDescriptorProto
1291 * @param [options] Conversion options
1292 * @returns Plain object
1293 */
1294 public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1295
1296 /**
1297 * Converts this OneofDescriptorProto to JSON.
1298 * @returns JSON object
1299 */
1300 public toJSON(): { [k: string]: any };
1301
1302 /**
1303 * Gets the default type url for OneofDescriptorProto
1304 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1305 * @returns The default type url
1306 */
1307 public static getTypeUrl(typeUrlPrefix?: string): string;
1308 }
1309
1310 /** Properties of an EnumDescriptorProto. */
1311 interface IEnumDescriptorProto {
1312
1313 /** EnumDescriptorProto name */
1314 name?: (string|null);
1315
1316 /** EnumDescriptorProto value */
1317 value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
1318
1319 /** EnumDescriptorProto options */
1320 options?: (google.protobuf.IEnumOptions|null);
1321
1322 /** EnumDescriptorProto reservedRange */
1323 reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
1324
1325 /** EnumDescriptorProto reservedName */
1326 reservedName?: (string[]|null);
1327 }
1328
1329 /** Represents an EnumDescriptorProto. */
1330 class EnumDescriptorProto implements IEnumDescriptorProto {
1331
1332 /**
1333 * Constructs a new EnumDescriptorProto.
1334 * @param [properties] Properties to set
1335 */
1336 constructor(properties?: google.protobuf.IEnumDescriptorProto);
1337
1338 /** EnumDescriptorProto name. */
1339 public name: string;
1340
1341 /** EnumDescriptorProto value. */
1342 public value: google.protobuf.IEnumValueDescriptorProto[];
1343
1344 /** EnumDescriptorProto options. */
1345 public options?: (google.protobuf.IEnumOptions|null);
1346
1347 /** EnumDescriptorProto reservedRange. */
1348 public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
1349
1350 /** EnumDescriptorProto reservedName. */
1351 public reservedName: string[];
1352
1353 /**
1354 * Creates a new EnumDescriptorProto instance using the specified properties.
1355 * @param [properties] Properties to set
1356 * @returns EnumDescriptorProto instance
1357 */
1358 public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
1359
1360 /**
1361 * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
1362 * @param message EnumDescriptorProto message or plain object to encode
1363 * @param [writer] Writer to encode to
1364 * @returns Writer
1365 */
1366 public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1367
1368 /**
1369 * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
1370 * @param message EnumDescriptorProto message or plain object to encode
1371 * @param [writer] Writer to encode to
1372 * @returns Writer
1373 */
1374 public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1375
1376 /**
1377 * Decodes an EnumDescriptorProto message from the specified reader or buffer.
1378 * @param reader Reader or buffer to decode from
1379 * @param [length] Message length if known beforehand
1380 * @returns EnumDescriptorProto
1381 * @throws {Error} If the payload is not a reader or valid buffer
1382 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1383 */
1384 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
1385
1386 /**
1387 * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
1388 * @param reader Reader or buffer to decode from
1389 * @returns EnumDescriptorProto
1390 * @throws {Error} If the payload is not a reader or valid buffer
1391 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1392 */
1393 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
1394
1395 /**
1396 * Verifies an EnumDescriptorProto message.
1397 * @param message Plain object to verify
1398 * @returns `null` if valid, otherwise the reason why it is not
1399 */
1400 public static verify(message: { [k: string]: any }): (string|null);
1401
1402 /**
1403 * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
1404 * @param object Plain object
1405 * @returns EnumDescriptorProto
1406 */
1407 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
1408
1409 /**
1410 * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
1411 * @param message EnumDescriptorProto
1412 * @param [options] Conversion options
1413 * @returns Plain object
1414 */
1415 public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1416
1417 /**
1418 * Converts this EnumDescriptorProto to JSON.
1419 * @returns JSON object
1420 */
1421 public toJSON(): { [k: string]: any };
1422
1423 /**
1424 * Gets the default type url for EnumDescriptorProto
1425 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1426 * @returns The default type url
1427 */
1428 public static getTypeUrl(typeUrlPrefix?: string): string;
1429 }
1430
1431 namespace EnumDescriptorProto {
1432
1433 /** Properties of an EnumReservedRange. */
1434 interface IEnumReservedRange {
1435
1436 /** EnumReservedRange start */
1437 start?: (number|null);
1438
1439 /** EnumReservedRange end */
1440 end?: (number|null);
1441 }
1442
1443 /** Represents an EnumReservedRange. */
1444 class EnumReservedRange implements IEnumReservedRange {
1445
1446 /**
1447 * Constructs a new EnumReservedRange.
1448 * @param [properties] Properties to set
1449 */
1450 constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
1451
1452 /** EnumReservedRange start. */
1453 public start: number;
1454
1455 /** EnumReservedRange end. */
1456 public end: number;
1457
1458 /**
1459 * Creates a new EnumReservedRange instance using the specified properties.
1460 * @param [properties] Properties to set
1461 * @returns EnumReservedRange instance
1462 */
1463 public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1464
1465 /**
1466 * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
1467 * @param message EnumReservedRange message or plain object to encode
1468 * @param [writer] Writer to encode to
1469 * @returns Writer
1470 */
1471 public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1472
1473 /**
1474 * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
1475 * @param message EnumReservedRange message or plain object to encode
1476 * @param [writer] Writer to encode to
1477 * @returns Writer
1478 */
1479 public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
1480
1481 /**
1482 * Decodes an EnumReservedRange message from the specified reader or buffer.
1483 * @param reader Reader or buffer to decode from
1484 * @param [length] Message length if known beforehand
1485 * @returns EnumReservedRange
1486 * @throws {Error} If the payload is not a reader or valid buffer
1487 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1488 */
1489 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1490
1491 /**
1492 * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
1493 * @param reader Reader or buffer to decode from
1494 * @returns EnumReservedRange
1495 * @throws {Error} If the payload is not a reader or valid buffer
1496 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1497 */
1498 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1499
1500 /**
1501 * Verifies an EnumReservedRange message.
1502 * @param message Plain object to verify
1503 * @returns `null` if valid, otherwise the reason why it is not
1504 */
1505 public static verify(message: { [k: string]: any }): (string|null);
1506
1507 /**
1508 * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
1509 * @param object Plain object
1510 * @returns EnumReservedRange
1511 */
1512 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
1513
1514 /**
1515 * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
1516 * @param message EnumReservedRange
1517 * @param [options] Conversion options
1518 * @returns Plain object
1519 */
1520 public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
1521
1522 /**
1523 * Converts this EnumReservedRange to JSON.
1524 * @returns JSON object
1525 */
1526 public toJSON(): { [k: string]: any };
1527
1528 /**
1529 * Gets the default type url for EnumReservedRange
1530 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1531 * @returns The default type url
1532 */
1533 public static getTypeUrl(typeUrlPrefix?: string): string;
1534 }
1535 }
1536
1537 /** Properties of an EnumValueDescriptorProto. */
1538 interface IEnumValueDescriptorProto {
1539
1540 /** EnumValueDescriptorProto name */
1541 name?: (string|null);
1542
1543 /** EnumValueDescriptorProto number */
1544 number?: (number|null);
1545
1546 /** EnumValueDescriptorProto options */
1547 options?: (google.protobuf.IEnumValueOptions|null);
1548 }
1549
1550 /** Represents an EnumValueDescriptorProto. */
1551 class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
1552
1553 /**
1554 * Constructs a new EnumValueDescriptorProto.
1555 * @param [properties] Properties to set
1556 */
1557 constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
1558
1559 /** EnumValueDescriptorProto name. */
1560 public name: string;
1561
1562 /** EnumValueDescriptorProto number. */
1563 public number: number;
1564
1565 /** EnumValueDescriptorProto options. */
1566 public options?: (google.protobuf.IEnumValueOptions|null);
1567
1568 /**
1569 * Creates a new EnumValueDescriptorProto instance using the specified properties.
1570 * @param [properties] Properties to set
1571 * @returns EnumValueDescriptorProto instance
1572 */
1573 public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
1574
1575 /**
1576 * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
1577 * @param message EnumValueDescriptorProto message or plain object to encode
1578 * @param [writer] Writer to encode to
1579 * @returns Writer
1580 */
1581 public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1582
1583 /**
1584 * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
1585 * @param message EnumValueDescriptorProto message or plain object to encode
1586 * @param [writer] Writer to encode to
1587 * @returns Writer
1588 */
1589 public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1590
1591 /**
1592 * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
1593 * @param reader Reader or buffer to decode from
1594 * @param [length] Message length if known beforehand
1595 * @returns EnumValueDescriptorProto
1596 * @throws {Error} If the payload is not a reader or valid buffer
1597 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1598 */
1599 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
1600
1601 /**
1602 * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
1603 * @param reader Reader or buffer to decode from
1604 * @returns EnumValueDescriptorProto
1605 * @throws {Error} If the payload is not a reader or valid buffer
1606 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1607 */
1608 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
1609
1610 /**
1611 * Verifies an EnumValueDescriptorProto message.
1612 * @param message Plain object to verify
1613 * @returns `null` if valid, otherwise the reason why it is not
1614 */
1615 public static verify(message: { [k: string]: any }): (string|null);
1616
1617 /**
1618 * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
1619 * @param object Plain object
1620 * @returns EnumValueDescriptorProto
1621 */
1622 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
1623
1624 /**
1625 * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
1626 * @param message EnumValueDescriptorProto
1627 * @param [options] Conversion options
1628 * @returns Plain object
1629 */
1630 public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1631
1632 /**
1633 * Converts this EnumValueDescriptorProto to JSON.
1634 * @returns JSON object
1635 */
1636 public toJSON(): { [k: string]: any };
1637
1638 /**
1639 * Gets the default type url for EnumValueDescriptorProto
1640 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1641 * @returns The default type url
1642 */
1643 public static getTypeUrl(typeUrlPrefix?: string): string;
1644 }
1645
1646 /** Properties of a ServiceDescriptorProto. */
1647 interface IServiceDescriptorProto {
1648
1649 /** ServiceDescriptorProto name */
1650 name?: (string|null);
1651
1652 /** ServiceDescriptorProto method */
1653 method?: (google.protobuf.IMethodDescriptorProto[]|null);
1654
1655 /** ServiceDescriptorProto options */
1656 options?: (google.protobuf.IServiceOptions|null);
1657 }
1658
1659 /** Represents a ServiceDescriptorProto. */
1660 class ServiceDescriptorProto implements IServiceDescriptorProto {
1661
1662 /**
1663 * Constructs a new ServiceDescriptorProto.
1664 * @param [properties] Properties to set
1665 */
1666 constructor(properties?: google.protobuf.IServiceDescriptorProto);
1667
1668 /** ServiceDescriptorProto name. */
1669 public name: string;
1670
1671 /** ServiceDescriptorProto method. */
1672 public method: google.protobuf.IMethodDescriptorProto[];
1673
1674 /** ServiceDescriptorProto options. */
1675 public options?: (google.protobuf.IServiceOptions|null);
1676
1677 /**
1678 * Creates a new ServiceDescriptorProto instance using the specified properties.
1679 * @param [properties] Properties to set
1680 * @returns ServiceDescriptorProto instance
1681 */
1682 public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
1683
1684 /**
1685 * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
1686 * @param message ServiceDescriptorProto message or plain object to encode
1687 * @param [writer] Writer to encode to
1688 * @returns Writer
1689 */
1690 public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1691
1692 /**
1693 * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
1694 * @param message ServiceDescriptorProto message or plain object to encode
1695 * @param [writer] Writer to encode to
1696 * @returns Writer
1697 */
1698 public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1699
1700 /**
1701 * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
1702 * @param reader Reader or buffer to decode from
1703 * @param [length] Message length if known beforehand
1704 * @returns ServiceDescriptorProto
1705 * @throws {Error} If the payload is not a reader or valid buffer
1706 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1707 */
1708 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
1709
1710 /**
1711 * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
1712 * @param reader Reader or buffer to decode from
1713 * @returns ServiceDescriptorProto
1714 * @throws {Error} If the payload is not a reader or valid buffer
1715 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1716 */
1717 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
1718
1719 /**
1720 * Verifies a ServiceDescriptorProto message.
1721 * @param message Plain object to verify
1722 * @returns `null` if valid, otherwise the reason why it is not
1723 */
1724 public static verify(message: { [k: string]: any }): (string|null);
1725
1726 /**
1727 * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
1728 * @param object Plain object
1729 * @returns ServiceDescriptorProto
1730 */
1731 public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
1732
1733 /**
1734 * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
1735 * @param message ServiceDescriptorProto
1736 * @param [options] Conversion options
1737 * @returns Plain object
1738 */
1739 public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1740
1741 /**
1742 * Converts this ServiceDescriptorProto to JSON.
1743 * @returns JSON object
1744 */
1745 public toJSON(): { [k: string]: any };
1746
1747 /**
1748 * Gets the default type url for ServiceDescriptorProto
1749 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1750 * @returns The default type url
1751 */
1752 public static getTypeUrl(typeUrlPrefix?: string): string;
1753 }
1754
1755 /** Properties of a MethodDescriptorProto. */
1756 interface IMethodDescriptorProto {
1757
1758 /** MethodDescriptorProto name */
1759 name?: (string|null);
1760
1761 /** MethodDescriptorProto inputType */
1762 inputType?: (string|null);
1763
1764 /** MethodDescriptorProto outputType */
1765 outputType?: (string|null);
1766
1767 /** MethodDescriptorProto options */
1768 options?: (google.protobuf.IMethodOptions|null);
1769
1770 /** MethodDescriptorProto clientStreaming */
1771 clientStreaming?: (boolean|null);
1772
1773 /** MethodDescriptorProto serverStreaming */
1774 serverStreaming?: (boolean|null);
1775 }
1776
1777 /** Represents a MethodDescriptorProto. */
1778 class MethodDescriptorProto implements IMethodDescriptorProto {
1779
1780 /**
1781 * Constructs a new MethodDescriptorProto.
1782 * @param [properties] Properties to set
1783 */
1784 constructor(properties?: google.protobuf.IMethodDescriptorProto);
1785
1786 /** MethodDescriptorProto name. */
1787 public name: string;
1788
1789 /** MethodDescriptorProto inputType. */
1790 public inputType: string;
1791
1792 /** MethodDescriptorProto outputType. */
1793 public outputType: string;
1794
1795 /** MethodDescriptorProto options. */
1796 public options?: (google.protobuf.IMethodOptions|null);
1797
1798 /** MethodDescriptorProto clientStreaming. */
1799 public clientStreaming: boolean;
1800
1801 /** MethodDescriptorProto serverStreaming. */
1802 public serverStreaming: boolean;
1803
1804 /**
1805 * Creates a new MethodDescriptorProto instance using the specified properties.
1806 * @param [properties] Properties to set
1807 * @returns MethodDescriptorProto instance
1808 */
1809 public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
1810
1811 /**
1812 * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
1813 * @param message MethodDescriptorProto message or plain object to encode
1814 * @param [writer] Writer to encode to
1815 * @returns Writer
1816 */
1817 public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1818
1819 /**
1820 * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
1821 * @param message MethodDescriptorProto message or plain object to encode
1822 * @param [writer] Writer to encode to
1823 * @returns Writer
1824 */
1825 public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
1826
1827 /**
1828 * Decodes a MethodDescriptorProto message from the specified reader or buffer.
1829 * @param reader Reader or buffer to decode from
1830 * @param [length] Message length if known beforehand
1831 * @returns MethodDescriptorProto
1832 * @throws {Error} If the payload is not a reader or valid buffer
1833 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1834 */
1835 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
1836
1837 /**
1838 * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
1839 * @param reader Reader or buffer to decode from
1840 * @returns MethodDescriptorProto
1841 * @throws {Error} If the payload is not a reader or valid buffer
1842 * @throws {$protobuf.util.ProtocolError} If required fields are missing
1843 */
1844 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
1845
1846 /**
1847 * Verifies a MethodDescriptorProto message.
1848 * @param message Plain object to verify
1849 * @returns `null` if valid, otherwise the reason why it is not
1850 */
1851 public static verify(message: { [k: string]: any }): (string|null);
1852
1853 /**
1854 * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
1855 * @param object Plain object
1856 * @returns MethodDescriptorProto
1857 */
1858 public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
1859
1860 /**
1861 * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
1862 * @param message MethodDescriptorProto
1863 * @param [options] Conversion options
1864 * @returns Plain object
1865 */
1866 public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
1867
1868 /**
1869 * Converts this MethodDescriptorProto to JSON.
1870 * @returns JSON object
1871 */
1872 public toJSON(): { [k: string]: any };
1873
1874 /**
1875 * Gets the default type url for MethodDescriptorProto
1876 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
1877 * @returns The default type url
1878 */
1879 public static getTypeUrl(typeUrlPrefix?: string): string;
1880 }
1881
1882 /** Properties of a FileOptions. */
1883 interface IFileOptions {
1884
1885 /** FileOptions javaPackage */
1886 javaPackage?: (string|null);
1887
1888 /** FileOptions javaOuterClassname */
1889 javaOuterClassname?: (string|null);
1890
1891 /** FileOptions javaMultipleFiles */
1892 javaMultipleFiles?: (boolean|null);
1893
1894 /** FileOptions javaGenerateEqualsAndHash */
1895 javaGenerateEqualsAndHash?: (boolean|null);
1896
1897 /** FileOptions javaStringCheckUtf8 */
1898 javaStringCheckUtf8?: (boolean|null);
1899
1900 /** FileOptions optimizeFor */
1901 optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
1902
1903 /** FileOptions goPackage */
1904 goPackage?: (string|null);
1905
1906 /** FileOptions ccGenericServices */
1907 ccGenericServices?: (boolean|null);
1908
1909 /** FileOptions javaGenericServices */
1910 javaGenericServices?: (boolean|null);
1911
1912 /** FileOptions pyGenericServices */
1913 pyGenericServices?: (boolean|null);
1914
1915 /** FileOptions deprecated */
1916 deprecated?: (boolean|null);
1917
1918 /** FileOptions ccEnableArenas */
1919 ccEnableArenas?: (boolean|null);
1920
1921 /** FileOptions objcClassPrefix */
1922 objcClassPrefix?: (string|null);
1923
1924 /** FileOptions csharpNamespace */
1925 csharpNamespace?: (string|null);
1926
1927 /** FileOptions swiftPrefix */
1928 swiftPrefix?: (string|null);
1929
1930 /** FileOptions phpClassPrefix */
1931 phpClassPrefix?: (string|null);
1932
1933 /** FileOptions phpNamespace */
1934 phpNamespace?: (string|null);
1935
1936 /** FileOptions phpMetadataNamespace */
1937 phpMetadataNamespace?: (string|null);
1938
1939 /** FileOptions rubyPackage */
1940 rubyPackage?: (string|null);
1941
1942 /** FileOptions features */
1943 features?: (google.protobuf.IFeatureSet|null);
1944
1945 /** FileOptions uninterpretedOption */
1946 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
1947
1948 /** FileOptions .google.api.resourceDefinition */
1949 ".google.api.resourceDefinition"?: (google.api.IResourceDescriptor[]|null);
1950 }
1951
1952 /** Represents a FileOptions. */
1953 class FileOptions implements IFileOptions {
1954
1955 /**
1956 * Constructs a new FileOptions.
1957 * @param [properties] Properties to set
1958 */
1959 constructor(properties?: google.protobuf.IFileOptions);
1960
1961 /** FileOptions javaPackage. */
1962 public javaPackage: string;
1963
1964 /** FileOptions javaOuterClassname. */
1965 public javaOuterClassname: string;
1966
1967 /** FileOptions javaMultipleFiles. */
1968 public javaMultipleFiles: boolean;
1969
1970 /** FileOptions javaGenerateEqualsAndHash. */
1971 public javaGenerateEqualsAndHash: boolean;
1972
1973 /** FileOptions javaStringCheckUtf8. */
1974 public javaStringCheckUtf8: boolean;
1975
1976 /** FileOptions optimizeFor. */
1977 public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
1978
1979 /** FileOptions goPackage. */
1980 public goPackage: string;
1981
1982 /** FileOptions ccGenericServices. */
1983 public ccGenericServices: boolean;
1984
1985 /** FileOptions javaGenericServices. */
1986 public javaGenericServices: boolean;
1987
1988 /** FileOptions pyGenericServices. */
1989 public pyGenericServices: boolean;
1990
1991 /** FileOptions deprecated. */
1992 public deprecated: boolean;
1993
1994 /** FileOptions ccEnableArenas. */
1995 public ccEnableArenas: boolean;
1996
1997 /** FileOptions objcClassPrefix. */
1998 public objcClassPrefix: string;
1999
2000 /** FileOptions csharpNamespace. */
2001 public csharpNamespace: string;
2002
2003 /** FileOptions swiftPrefix. */
2004 public swiftPrefix: string;
2005
2006 /** FileOptions phpClassPrefix. */
2007 public phpClassPrefix: string;
2008
2009 /** FileOptions phpNamespace. */
2010 public phpNamespace: string;
2011
2012 /** FileOptions phpMetadataNamespace. */
2013 public phpMetadataNamespace: string;
2014
2015 /** FileOptions rubyPackage. */
2016 public rubyPackage: string;
2017
2018 /** FileOptions features. */
2019 public features?: (google.protobuf.IFeatureSet|null);
2020
2021 /** FileOptions uninterpretedOption. */
2022 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2023
2024 /**
2025 * Creates a new FileOptions instance using the specified properties.
2026 * @param [properties] Properties to set
2027 * @returns FileOptions instance
2028 */
2029 public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
2030
2031 /**
2032 * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
2033 * @param message FileOptions message or plain object to encode
2034 * @param [writer] Writer to encode to
2035 * @returns Writer
2036 */
2037 public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2038
2039 /**
2040 * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
2041 * @param message FileOptions message or plain object to encode
2042 * @param [writer] Writer to encode to
2043 * @returns Writer
2044 */
2045 public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2046
2047 /**
2048 * Decodes a FileOptions message from the specified reader or buffer.
2049 * @param reader Reader or buffer to decode from
2050 * @param [length] Message length if known beforehand
2051 * @returns FileOptions
2052 * @throws {Error} If the payload is not a reader or valid buffer
2053 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2054 */
2055 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
2056
2057 /**
2058 * Decodes a FileOptions message from the specified reader or buffer, length delimited.
2059 * @param reader Reader or buffer to decode from
2060 * @returns FileOptions
2061 * @throws {Error} If the payload is not a reader or valid buffer
2062 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2063 */
2064 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
2065
2066 /**
2067 * Verifies a FileOptions message.
2068 * @param message Plain object to verify
2069 * @returns `null` if valid, otherwise the reason why it is not
2070 */
2071 public static verify(message: { [k: string]: any }): (string|null);
2072
2073 /**
2074 * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
2075 * @param object Plain object
2076 * @returns FileOptions
2077 */
2078 public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
2079
2080 /**
2081 * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
2082 * @param message FileOptions
2083 * @param [options] Conversion options
2084 * @returns Plain object
2085 */
2086 public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2087
2088 /**
2089 * Converts this FileOptions to JSON.
2090 * @returns JSON object
2091 */
2092 public toJSON(): { [k: string]: any };
2093
2094 /**
2095 * Gets the default type url for FileOptions
2096 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2097 * @returns The default type url
2098 */
2099 public static getTypeUrl(typeUrlPrefix?: string): string;
2100 }
2101
2102 namespace FileOptions {
2103
2104 /** OptimizeMode enum. */
2105 enum OptimizeMode {
2106 SPEED = 1,
2107 CODE_SIZE = 2,
2108 LITE_RUNTIME = 3
2109 }
2110 }
2111
2112 /** Properties of a MessageOptions. */
2113 interface IMessageOptions {
2114
2115 /** MessageOptions messageSetWireFormat */
2116 messageSetWireFormat?: (boolean|null);
2117
2118 /** MessageOptions noStandardDescriptorAccessor */
2119 noStandardDescriptorAccessor?: (boolean|null);
2120
2121 /** MessageOptions deprecated */
2122 deprecated?: (boolean|null);
2123
2124 /** MessageOptions mapEntry */
2125 mapEntry?: (boolean|null);
2126
2127 /** MessageOptions deprecatedLegacyJsonFieldConflicts */
2128 deprecatedLegacyJsonFieldConflicts?: (boolean|null);
2129
2130 /** MessageOptions features */
2131 features?: (google.protobuf.IFeatureSet|null);
2132
2133 /** MessageOptions uninterpretedOption */
2134 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2135
2136 /** MessageOptions .google.api.resource */
2137 ".google.api.resource"?: (google.api.IResourceDescriptor|null);
2138 }
2139
2140 /** Represents a MessageOptions. */
2141 class MessageOptions implements IMessageOptions {
2142
2143 /**
2144 * Constructs a new MessageOptions.
2145 * @param [properties] Properties to set
2146 */
2147 constructor(properties?: google.protobuf.IMessageOptions);
2148
2149 /** MessageOptions messageSetWireFormat. */
2150 public messageSetWireFormat: boolean;
2151
2152 /** MessageOptions noStandardDescriptorAccessor. */
2153 public noStandardDescriptorAccessor: boolean;
2154
2155 /** MessageOptions deprecated. */
2156 public deprecated: boolean;
2157
2158 /** MessageOptions mapEntry. */
2159 public mapEntry: boolean;
2160
2161 /** MessageOptions deprecatedLegacyJsonFieldConflicts. */
2162 public deprecatedLegacyJsonFieldConflicts: boolean;
2163
2164 /** MessageOptions features. */
2165 public features?: (google.protobuf.IFeatureSet|null);
2166
2167 /** MessageOptions uninterpretedOption. */
2168 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2169
2170 /**
2171 * Creates a new MessageOptions instance using the specified properties.
2172 * @param [properties] Properties to set
2173 * @returns MessageOptions instance
2174 */
2175 public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
2176
2177 /**
2178 * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
2179 * @param message MessageOptions message or plain object to encode
2180 * @param [writer] Writer to encode to
2181 * @returns Writer
2182 */
2183 public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2184
2185 /**
2186 * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
2187 * @param message MessageOptions message or plain object to encode
2188 * @param [writer] Writer to encode to
2189 * @returns Writer
2190 */
2191 public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2192
2193 /**
2194 * Decodes a MessageOptions message from the specified reader or buffer.
2195 * @param reader Reader or buffer to decode from
2196 * @param [length] Message length if known beforehand
2197 * @returns MessageOptions
2198 * @throws {Error} If the payload is not a reader or valid buffer
2199 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2200 */
2201 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
2202
2203 /**
2204 * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
2205 * @param reader Reader or buffer to decode from
2206 * @returns MessageOptions
2207 * @throws {Error} If the payload is not a reader or valid buffer
2208 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2209 */
2210 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
2211
2212 /**
2213 * Verifies a MessageOptions message.
2214 * @param message Plain object to verify
2215 * @returns `null` if valid, otherwise the reason why it is not
2216 */
2217 public static verify(message: { [k: string]: any }): (string|null);
2218
2219 /**
2220 * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
2221 * @param object Plain object
2222 * @returns MessageOptions
2223 */
2224 public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
2225
2226 /**
2227 * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
2228 * @param message MessageOptions
2229 * @param [options] Conversion options
2230 * @returns Plain object
2231 */
2232 public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2233
2234 /**
2235 * Converts this MessageOptions to JSON.
2236 * @returns JSON object
2237 */
2238 public toJSON(): { [k: string]: any };
2239
2240 /**
2241 * Gets the default type url for MessageOptions
2242 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2243 * @returns The default type url
2244 */
2245 public static getTypeUrl(typeUrlPrefix?: string): string;
2246 }
2247
2248 /** Properties of a FieldOptions. */
2249 interface IFieldOptions {
2250
2251 /** FieldOptions ctype */
2252 ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
2253
2254 /** FieldOptions packed */
2255 packed?: (boolean|null);
2256
2257 /** FieldOptions jstype */
2258 jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
2259
2260 /** FieldOptions lazy */
2261 lazy?: (boolean|null);
2262
2263 /** FieldOptions unverifiedLazy */
2264 unverifiedLazy?: (boolean|null);
2265
2266 /** FieldOptions deprecated */
2267 deprecated?: (boolean|null);
2268
2269 /** FieldOptions weak */
2270 weak?: (boolean|null);
2271
2272 /** FieldOptions debugRedact */
2273 debugRedact?: (boolean|null);
2274
2275 /** FieldOptions retention */
2276 retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
2277
2278 /** FieldOptions targets */
2279 targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
2280
2281 /** FieldOptions editionDefaults */
2282 editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
2283
2284 /** FieldOptions features */
2285 features?: (google.protobuf.IFeatureSet|null);
2286
2287 /** FieldOptions uninterpretedOption */
2288 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2289
2290 /** FieldOptions .google.api.fieldBehavior */
2291 ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
2292
2293 /** FieldOptions .google.api.resourceReference */
2294 ".google.api.resourceReference"?: (google.api.IResourceReference|null);
2295 }
2296
2297 /** Represents a FieldOptions. */
2298 class FieldOptions implements IFieldOptions {
2299
2300 /**
2301 * Constructs a new FieldOptions.
2302 * @param [properties] Properties to set
2303 */
2304 constructor(properties?: google.protobuf.IFieldOptions);
2305
2306 /** FieldOptions ctype. */
2307 public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
2308
2309 /** FieldOptions packed. */
2310 public packed: boolean;
2311
2312 /** FieldOptions jstype. */
2313 public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
2314
2315 /** FieldOptions lazy. */
2316 public lazy: boolean;
2317
2318 /** FieldOptions unverifiedLazy. */
2319 public unverifiedLazy: boolean;
2320
2321 /** FieldOptions deprecated. */
2322 public deprecated: boolean;
2323
2324 /** FieldOptions weak. */
2325 public weak: boolean;
2326
2327 /** FieldOptions debugRedact. */
2328 public debugRedact: boolean;
2329
2330 /** FieldOptions retention. */
2331 public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
2332
2333 /** FieldOptions targets. */
2334 public targets: google.protobuf.FieldOptions.OptionTargetType[];
2335
2336 /** FieldOptions editionDefaults. */
2337 public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
2338
2339 /** FieldOptions features. */
2340 public features?: (google.protobuf.IFeatureSet|null);
2341
2342 /** FieldOptions uninterpretedOption. */
2343 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2344
2345 /**
2346 * Creates a new FieldOptions instance using the specified properties.
2347 * @param [properties] Properties to set
2348 * @returns FieldOptions instance
2349 */
2350 public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
2351
2352 /**
2353 * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
2354 * @param message FieldOptions message or plain object to encode
2355 * @param [writer] Writer to encode to
2356 * @returns Writer
2357 */
2358 public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2359
2360 /**
2361 * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
2362 * @param message FieldOptions message or plain object to encode
2363 * @param [writer] Writer to encode to
2364 * @returns Writer
2365 */
2366 public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2367
2368 /**
2369 * Decodes a FieldOptions message from the specified reader or buffer.
2370 * @param reader Reader or buffer to decode from
2371 * @param [length] Message length if known beforehand
2372 * @returns FieldOptions
2373 * @throws {Error} If the payload is not a reader or valid buffer
2374 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2375 */
2376 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
2377
2378 /**
2379 * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
2380 * @param reader Reader or buffer to decode from
2381 * @returns FieldOptions
2382 * @throws {Error} If the payload is not a reader or valid buffer
2383 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2384 */
2385 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
2386
2387 /**
2388 * Verifies a FieldOptions message.
2389 * @param message Plain object to verify
2390 * @returns `null` if valid, otherwise the reason why it is not
2391 */
2392 public static verify(message: { [k: string]: any }): (string|null);
2393
2394 /**
2395 * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
2396 * @param object Plain object
2397 * @returns FieldOptions
2398 */
2399 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
2400
2401 /**
2402 * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
2403 * @param message FieldOptions
2404 * @param [options] Conversion options
2405 * @returns Plain object
2406 */
2407 public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2408
2409 /**
2410 * Converts this FieldOptions to JSON.
2411 * @returns JSON object
2412 */
2413 public toJSON(): { [k: string]: any };
2414
2415 /**
2416 * Gets the default type url for FieldOptions
2417 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2418 * @returns The default type url
2419 */
2420 public static getTypeUrl(typeUrlPrefix?: string): string;
2421 }
2422
2423 namespace FieldOptions {
2424
2425 /** CType enum. */
2426 enum CType {
2427 STRING = 0,
2428 CORD = 1,
2429 STRING_PIECE = 2
2430 }
2431
2432 /** JSType enum. */
2433 enum JSType {
2434 JS_NORMAL = 0,
2435 JS_STRING = 1,
2436 JS_NUMBER = 2
2437 }
2438
2439 /** OptionRetention enum. */
2440 enum OptionRetention {
2441 RETENTION_UNKNOWN = 0,
2442 RETENTION_RUNTIME = 1,
2443 RETENTION_SOURCE = 2
2444 }
2445
2446 /** OptionTargetType enum. */
2447 enum OptionTargetType {
2448 TARGET_TYPE_UNKNOWN = 0,
2449 TARGET_TYPE_FILE = 1,
2450 TARGET_TYPE_EXTENSION_RANGE = 2,
2451 TARGET_TYPE_MESSAGE = 3,
2452 TARGET_TYPE_FIELD = 4,
2453 TARGET_TYPE_ONEOF = 5,
2454 TARGET_TYPE_ENUM = 6,
2455 TARGET_TYPE_ENUM_ENTRY = 7,
2456 TARGET_TYPE_SERVICE = 8,
2457 TARGET_TYPE_METHOD = 9
2458 }
2459
2460 /** Properties of an EditionDefault. */
2461 interface IEditionDefault {
2462
2463 /** EditionDefault edition */
2464 edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
2465
2466 /** EditionDefault value */
2467 value?: (string|null);
2468 }
2469
2470 /** Represents an EditionDefault. */
2471 class EditionDefault implements IEditionDefault {
2472
2473 /**
2474 * Constructs a new EditionDefault.
2475 * @param [properties] Properties to set
2476 */
2477 constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
2478
2479 /** EditionDefault edition. */
2480 public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
2481
2482 /** EditionDefault value. */
2483 public value: string;
2484
2485 /**
2486 * Creates a new EditionDefault instance using the specified properties.
2487 * @param [properties] Properties to set
2488 * @returns EditionDefault instance
2489 */
2490 public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
2491
2492 /**
2493 * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
2494 * @param message EditionDefault message or plain object to encode
2495 * @param [writer] Writer to encode to
2496 * @returns Writer
2497 */
2498 public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
2499
2500 /**
2501 * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
2502 * @param message EditionDefault message or plain object to encode
2503 * @param [writer] Writer to encode to
2504 * @returns Writer
2505 */
2506 public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
2507
2508 /**
2509 * Decodes an EditionDefault message from the specified reader or buffer.
2510 * @param reader Reader or buffer to decode from
2511 * @param [length] Message length if known beforehand
2512 * @returns EditionDefault
2513 * @throws {Error} If the payload is not a reader or valid buffer
2514 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2515 */
2516 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault;
2517
2518 /**
2519 * Decodes an EditionDefault message from the specified reader or buffer, length delimited.
2520 * @param reader Reader or buffer to decode from
2521 * @returns EditionDefault
2522 * @throws {Error} If the payload is not a reader or valid buffer
2523 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2524 */
2525 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault;
2526
2527 /**
2528 * Verifies an EditionDefault message.
2529 * @param message Plain object to verify
2530 * @returns `null` if valid, otherwise the reason why it is not
2531 */
2532 public static verify(message: { [k: string]: any }): (string|null);
2533
2534 /**
2535 * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
2536 * @param object Plain object
2537 * @returns EditionDefault
2538 */
2539 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
2540
2541 /**
2542 * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
2543 * @param message EditionDefault
2544 * @param [options] Conversion options
2545 * @returns Plain object
2546 */
2547 public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
2548
2549 /**
2550 * Converts this EditionDefault to JSON.
2551 * @returns JSON object
2552 */
2553 public toJSON(): { [k: string]: any };
2554
2555 /**
2556 * Gets the default type url for EditionDefault
2557 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2558 * @returns The default type url
2559 */
2560 public static getTypeUrl(typeUrlPrefix?: string): string;
2561 }
2562 }
2563
2564 /** Properties of an OneofOptions. */
2565 interface IOneofOptions {
2566
2567 /** OneofOptions features */
2568 features?: (google.protobuf.IFeatureSet|null);
2569
2570 /** OneofOptions uninterpretedOption */
2571 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2572 }
2573
2574 /** Represents an OneofOptions. */
2575 class OneofOptions implements IOneofOptions {
2576
2577 /**
2578 * Constructs a new OneofOptions.
2579 * @param [properties] Properties to set
2580 */
2581 constructor(properties?: google.protobuf.IOneofOptions);
2582
2583 /** OneofOptions features. */
2584 public features?: (google.protobuf.IFeatureSet|null);
2585
2586 /** OneofOptions uninterpretedOption. */
2587 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2588
2589 /**
2590 * Creates a new OneofOptions instance using the specified properties.
2591 * @param [properties] Properties to set
2592 * @returns OneofOptions instance
2593 */
2594 public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
2595
2596 /**
2597 * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
2598 * @param message OneofOptions message or plain object to encode
2599 * @param [writer] Writer to encode to
2600 * @returns Writer
2601 */
2602 public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2603
2604 /**
2605 * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
2606 * @param message OneofOptions message or plain object to encode
2607 * @param [writer] Writer to encode to
2608 * @returns Writer
2609 */
2610 public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2611
2612 /**
2613 * Decodes an OneofOptions message from the specified reader or buffer.
2614 * @param reader Reader or buffer to decode from
2615 * @param [length] Message length if known beforehand
2616 * @returns OneofOptions
2617 * @throws {Error} If the payload is not a reader or valid buffer
2618 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2619 */
2620 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
2621
2622 /**
2623 * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
2624 * @param reader Reader or buffer to decode from
2625 * @returns OneofOptions
2626 * @throws {Error} If the payload is not a reader or valid buffer
2627 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2628 */
2629 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
2630
2631 /**
2632 * Verifies an OneofOptions message.
2633 * @param message Plain object to verify
2634 * @returns `null` if valid, otherwise the reason why it is not
2635 */
2636 public static verify(message: { [k: string]: any }): (string|null);
2637
2638 /**
2639 * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
2640 * @param object Plain object
2641 * @returns OneofOptions
2642 */
2643 public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
2644
2645 /**
2646 * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
2647 * @param message OneofOptions
2648 * @param [options] Conversion options
2649 * @returns Plain object
2650 */
2651 public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2652
2653 /**
2654 * Converts this OneofOptions to JSON.
2655 * @returns JSON object
2656 */
2657 public toJSON(): { [k: string]: any };
2658
2659 /**
2660 * Gets the default type url for OneofOptions
2661 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2662 * @returns The default type url
2663 */
2664 public static getTypeUrl(typeUrlPrefix?: string): string;
2665 }
2666
2667 /** Properties of an EnumOptions. */
2668 interface IEnumOptions {
2669
2670 /** EnumOptions allowAlias */
2671 allowAlias?: (boolean|null);
2672
2673 /** EnumOptions deprecated */
2674 deprecated?: (boolean|null);
2675
2676 /** EnumOptions deprecatedLegacyJsonFieldConflicts */
2677 deprecatedLegacyJsonFieldConflicts?: (boolean|null);
2678
2679 /** EnumOptions features */
2680 features?: (google.protobuf.IFeatureSet|null);
2681
2682 /** EnumOptions uninterpretedOption */
2683 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2684 }
2685
2686 /** Represents an EnumOptions. */
2687 class EnumOptions implements IEnumOptions {
2688
2689 /**
2690 * Constructs a new EnumOptions.
2691 * @param [properties] Properties to set
2692 */
2693 constructor(properties?: google.protobuf.IEnumOptions);
2694
2695 /** EnumOptions allowAlias. */
2696 public allowAlias: boolean;
2697
2698 /** EnumOptions deprecated. */
2699 public deprecated: boolean;
2700
2701 /** EnumOptions deprecatedLegacyJsonFieldConflicts. */
2702 public deprecatedLegacyJsonFieldConflicts: boolean;
2703
2704 /** EnumOptions features. */
2705 public features?: (google.protobuf.IFeatureSet|null);
2706
2707 /** EnumOptions uninterpretedOption. */
2708 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2709
2710 /**
2711 * Creates a new EnumOptions instance using the specified properties.
2712 * @param [properties] Properties to set
2713 * @returns EnumOptions instance
2714 */
2715 public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
2716
2717 /**
2718 * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
2719 * @param message EnumOptions message or plain object to encode
2720 * @param [writer] Writer to encode to
2721 * @returns Writer
2722 */
2723 public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2724
2725 /**
2726 * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
2727 * @param message EnumOptions message or plain object to encode
2728 * @param [writer] Writer to encode to
2729 * @returns Writer
2730 */
2731 public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2732
2733 /**
2734 * Decodes an EnumOptions message from the specified reader or buffer.
2735 * @param reader Reader or buffer to decode from
2736 * @param [length] Message length if known beforehand
2737 * @returns EnumOptions
2738 * @throws {Error} If the payload is not a reader or valid buffer
2739 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2740 */
2741 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
2742
2743 /**
2744 * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
2745 * @param reader Reader or buffer to decode from
2746 * @returns EnumOptions
2747 * @throws {Error} If the payload is not a reader or valid buffer
2748 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2749 */
2750 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
2751
2752 /**
2753 * Verifies an EnumOptions message.
2754 * @param message Plain object to verify
2755 * @returns `null` if valid, otherwise the reason why it is not
2756 */
2757 public static verify(message: { [k: string]: any }): (string|null);
2758
2759 /**
2760 * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
2761 * @param object Plain object
2762 * @returns EnumOptions
2763 */
2764 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
2765
2766 /**
2767 * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
2768 * @param message EnumOptions
2769 * @param [options] Conversion options
2770 * @returns Plain object
2771 */
2772 public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2773
2774 /**
2775 * Converts this EnumOptions to JSON.
2776 * @returns JSON object
2777 */
2778 public toJSON(): { [k: string]: any };
2779
2780 /**
2781 * Gets the default type url for EnumOptions
2782 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2783 * @returns The default type url
2784 */
2785 public static getTypeUrl(typeUrlPrefix?: string): string;
2786 }
2787
2788 /** Properties of an EnumValueOptions. */
2789 interface IEnumValueOptions {
2790
2791 /** EnumValueOptions deprecated */
2792 deprecated?: (boolean|null);
2793
2794 /** EnumValueOptions features */
2795 features?: (google.protobuf.IFeatureSet|null);
2796
2797 /** EnumValueOptions debugRedact */
2798 debugRedact?: (boolean|null);
2799
2800 /** EnumValueOptions uninterpretedOption */
2801 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2802 }
2803
2804 /** Represents an EnumValueOptions. */
2805 class EnumValueOptions implements IEnumValueOptions {
2806
2807 /**
2808 * Constructs a new EnumValueOptions.
2809 * @param [properties] Properties to set
2810 */
2811 constructor(properties?: google.protobuf.IEnumValueOptions);
2812
2813 /** EnumValueOptions deprecated. */
2814 public deprecated: boolean;
2815
2816 /** EnumValueOptions features. */
2817 public features?: (google.protobuf.IFeatureSet|null);
2818
2819 /** EnumValueOptions debugRedact. */
2820 public debugRedact: boolean;
2821
2822 /** EnumValueOptions uninterpretedOption. */
2823 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2824
2825 /**
2826 * Creates a new EnumValueOptions instance using the specified properties.
2827 * @param [properties] Properties to set
2828 * @returns EnumValueOptions instance
2829 */
2830 public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
2831
2832 /**
2833 * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
2834 * @param message EnumValueOptions message or plain object to encode
2835 * @param [writer] Writer to encode to
2836 * @returns Writer
2837 */
2838 public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2839
2840 /**
2841 * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
2842 * @param message EnumValueOptions message or plain object to encode
2843 * @param [writer] Writer to encode to
2844 * @returns Writer
2845 */
2846 public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2847
2848 /**
2849 * Decodes an EnumValueOptions message from the specified reader or buffer.
2850 * @param reader Reader or buffer to decode from
2851 * @param [length] Message length if known beforehand
2852 * @returns EnumValueOptions
2853 * @throws {Error} If the payload is not a reader or valid buffer
2854 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2855 */
2856 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
2857
2858 /**
2859 * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
2860 * @param reader Reader or buffer to decode from
2861 * @returns EnumValueOptions
2862 * @throws {Error} If the payload is not a reader or valid buffer
2863 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2864 */
2865 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
2866
2867 /**
2868 * Verifies an EnumValueOptions message.
2869 * @param message Plain object to verify
2870 * @returns `null` if valid, otherwise the reason why it is not
2871 */
2872 public static verify(message: { [k: string]: any }): (string|null);
2873
2874 /**
2875 * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
2876 * @param object Plain object
2877 * @returns EnumValueOptions
2878 */
2879 public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
2880
2881 /**
2882 * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
2883 * @param message EnumValueOptions
2884 * @param [options] Conversion options
2885 * @returns Plain object
2886 */
2887 public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
2888
2889 /**
2890 * Converts this EnumValueOptions to JSON.
2891 * @returns JSON object
2892 */
2893 public toJSON(): { [k: string]: any };
2894
2895 /**
2896 * Gets the default type url for EnumValueOptions
2897 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
2898 * @returns The default type url
2899 */
2900 public static getTypeUrl(typeUrlPrefix?: string): string;
2901 }
2902
2903 /** Properties of a ServiceOptions. */
2904 interface IServiceOptions {
2905
2906 /** ServiceOptions features */
2907 features?: (google.protobuf.IFeatureSet|null);
2908
2909 /** ServiceOptions deprecated */
2910 deprecated?: (boolean|null);
2911
2912 /** ServiceOptions uninterpretedOption */
2913 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
2914
2915 /** ServiceOptions .google.api.defaultHost */
2916 ".google.api.defaultHost"?: (string|null);
2917
2918 /** ServiceOptions .google.api.oauthScopes */
2919 ".google.api.oauthScopes"?: (string|null);
2920
2921 /** ServiceOptions .google.api.apiVersion */
2922 ".google.api.apiVersion"?: (string|null);
2923 }
2924
2925 /** Represents a ServiceOptions. */
2926 class ServiceOptions implements IServiceOptions {
2927
2928 /**
2929 * Constructs a new ServiceOptions.
2930 * @param [properties] Properties to set
2931 */
2932 constructor(properties?: google.protobuf.IServiceOptions);
2933
2934 /** ServiceOptions features. */
2935 public features?: (google.protobuf.IFeatureSet|null);
2936
2937 /** ServiceOptions deprecated. */
2938 public deprecated: boolean;
2939
2940 /** ServiceOptions uninterpretedOption. */
2941 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
2942
2943 /**
2944 * Creates a new ServiceOptions instance using the specified properties.
2945 * @param [properties] Properties to set
2946 * @returns ServiceOptions instance
2947 */
2948 public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
2949
2950 /**
2951 * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
2952 * @param message ServiceOptions message or plain object to encode
2953 * @param [writer] Writer to encode to
2954 * @returns Writer
2955 */
2956 public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2957
2958 /**
2959 * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
2960 * @param message ServiceOptions message or plain object to encode
2961 * @param [writer] Writer to encode to
2962 * @returns Writer
2963 */
2964 public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
2965
2966 /**
2967 * Decodes a ServiceOptions message from the specified reader or buffer.
2968 * @param reader Reader or buffer to decode from
2969 * @param [length] Message length if known beforehand
2970 * @returns ServiceOptions
2971 * @throws {Error} If the payload is not a reader or valid buffer
2972 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2973 */
2974 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
2975
2976 /**
2977 * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
2978 * @param reader Reader or buffer to decode from
2979 * @returns ServiceOptions
2980 * @throws {Error} If the payload is not a reader or valid buffer
2981 * @throws {$protobuf.util.ProtocolError} If required fields are missing
2982 */
2983 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
2984
2985 /**
2986 * Verifies a ServiceOptions message.
2987 * @param message Plain object to verify
2988 * @returns `null` if valid, otherwise the reason why it is not
2989 */
2990 public static verify(message: { [k: string]: any }): (string|null);
2991
2992 /**
2993 * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
2994 * @param object Plain object
2995 * @returns ServiceOptions
2996 */
2997 public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
2998
2999 /**
3000 * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
3001 * @param message ServiceOptions
3002 * @param [options] Conversion options
3003 * @returns Plain object
3004 */
3005 public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3006
3007 /**
3008 * Converts this ServiceOptions to JSON.
3009 * @returns JSON object
3010 */
3011 public toJSON(): { [k: string]: any };
3012
3013 /**
3014 * Gets the default type url for ServiceOptions
3015 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3016 * @returns The default type url
3017 */
3018 public static getTypeUrl(typeUrlPrefix?: string): string;
3019 }
3020
3021 /** Properties of a MethodOptions. */
3022 interface IMethodOptions {
3023
3024 /** MethodOptions deprecated */
3025 deprecated?: (boolean|null);
3026
3027 /** MethodOptions idempotencyLevel */
3028 idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
3029
3030 /** MethodOptions features */
3031 features?: (google.protobuf.IFeatureSet|null);
3032
3033 /** MethodOptions uninterpretedOption */
3034 uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
3035
3036 /** MethodOptions .google.api.http */
3037 ".google.api.http"?: (google.api.IHttpRule|null);
3038
3039 /** MethodOptions .google.api.methodSignature */
3040 ".google.api.methodSignature"?: (string[]|null);
3041
3042 /** MethodOptions .google.longrunning.operationInfo */
3043 ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null);
3044 }
3045
3046 /** Represents a MethodOptions. */
3047 class MethodOptions implements IMethodOptions {
3048
3049 /**
3050 * Constructs a new MethodOptions.
3051 * @param [properties] Properties to set
3052 */
3053 constructor(properties?: google.protobuf.IMethodOptions);
3054
3055 /** MethodOptions deprecated. */
3056 public deprecated: boolean;
3057
3058 /** MethodOptions idempotencyLevel. */
3059 public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
3060
3061 /** MethodOptions features. */
3062 public features?: (google.protobuf.IFeatureSet|null);
3063
3064 /** MethodOptions uninterpretedOption. */
3065 public uninterpretedOption: google.protobuf.IUninterpretedOption[];
3066
3067 /**
3068 * Creates a new MethodOptions instance using the specified properties.
3069 * @param [properties] Properties to set
3070 * @returns MethodOptions instance
3071 */
3072 public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
3073
3074 /**
3075 * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
3076 * @param message MethodOptions message or plain object to encode
3077 * @param [writer] Writer to encode to
3078 * @returns Writer
3079 */
3080 public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3081
3082 /**
3083 * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
3084 * @param message MethodOptions message or plain object to encode
3085 * @param [writer] Writer to encode to
3086 * @returns Writer
3087 */
3088 public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
3089
3090 /**
3091 * Decodes a MethodOptions message from the specified reader or buffer.
3092 * @param reader Reader or buffer to decode from
3093 * @param [length] Message length if known beforehand
3094 * @returns MethodOptions
3095 * @throws {Error} If the payload is not a reader or valid buffer
3096 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3097 */
3098 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
3099
3100 /**
3101 * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
3102 * @param reader Reader or buffer to decode from
3103 * @returns MethodOptions
3104 * @throws {Error} If the payload is not a reader or valid buffer
3105 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3106 */
3107 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
3108
3109 /**
3110 * Verifies a MethodOptions message.
3111 * @param message Plain object to verify
3112 * @returns `null` if valid, otherwise the reason why it is not
3113 */
3114 public static verify(message: { [k: string]: any }): (string|null);
3115
3116 /**
3117 * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
3118 * @param object Plain object
3119 * @returns MethodOptions
3120 */
3121 public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
3122
3123 /**
3124 * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
3125 * @param message MethodOptions
3126 * @param [options] Conversion options
3127 * @returns Plain object
3128 */
3129 public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
3130
3131 /**
3132 * Converts this MethodOptions to JSON.
3133 * @returns JSON object
3134 */
3135 public toJSON(): { [k: string]: any };
3136
3137 /**
3138 * Gets the default type url for MethodOptions
3139 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3140 * @returns The default type url
3141 */
3142 public static getTypeUrl(typeUrlPrefix?: string): string;
3143 }
3144
3145 namespace MethodOptions {
3146
3147 /** IdempotencyLevel enum. */
3148 enum IdempotencyLevel {
3149 IDEMPOTENCY_UNKNOWN = 0,
3150 NO_SIDE_EFFECTS = 1,
3151 IDEMPOTENT = 2
3152 }
3153 }
3154
3155 /** Properties of an UninterpretedOption. */
3156 interface IUninterpretedOption {
3157
3158 /** UninterpretedOption name */
3159 name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
3160
3161 /** UninterpretedOption identifierValue */
3162 identifierValue?: (string|null);
3163
3164 /** UninterpretedOption positiveIntValue */
3165 positiveIntValue?: (number|Long|string|null);
3166
3167 /** UninterpretedOption negativeIntValue */
3168 negativeIntValue?: (number|Long|string|null);
3169
3170 /** UninterpretedOption doubleValue */
3171 doubleValue?: (number|null);
3172
3173 /** UninterpretedOption stringValue */
3174 stringValue?: (Uint8Array|string|null);
3175
3176 /** UninterpretedOption aggregateValue */
3177 aggregateValue?: (string|null);
3178 }
3179
3180 /** Represents an UninterpretedOption. */
3181 class UninterpretedOption implements IUninterpretedOption {
3182
3183 /**
3184 * Constructs a new UninterpretedOption.
3185 * @param [properties] Properties to set
3186 */
3187 constructor(properties?: google.protobuf.IUninterpretedOption);
3188
3189 /** UninterpretedOption name. */
3190 public name: google.protobuf.UninterpretedOption.INamePart[];
3191
3192 /** UninterpretedOption identifierValue. */
3193 public identifierValue: string;
3194
3195 /** UninterpretedOption positiveIntValue. */
3196 public positiveIntValue: (number|Long|string);
3197
3198 /** UninterpretedOption negativeIntValue. */
3199 public negativeIntValue: (number|Long|string);
3200
3201 /** UninterpretedOption doubleValue. */
3202 public doubleValue: number;
3203
3204 /** UninterpretedOption stringValue. */
3205 public stringValue: (Uint8Array|string);
3206
3207 /** UninterpretedOption aggregateValue. */
3208 public aggregateValue: string;
3209
3210 /**
3211 * Creates a new UninterpretedOption instance using the specified properties.
3212 * @param [properties] Properties to set
3213 * @returns UninterpretedOption instance
3214 */
3215 public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
3216
3217 /**
3218 * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
3219 * @param message UninterpretedOption message or plain object to encode
3220 * @param [writer] Writer to encode to
3221 * @returns Writer
3222 */
3223 public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
3224
3225 /**
3226 * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
3227 * @param message UninterpretedOption message or plain object to encode
3228 * @param [writer] Writer to encode to
3229 * @returns Writer
3230 */
3231 public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
3232
3233 /**
3234 * Decodes an UninterpretedOption message from the specified reader or buffer.
3235 * @param reader Reader or buffer to decode from
3236 * @param [length] Message length if known beforehand
3237 * @returns UninterpretedOption
3238 * @throws {Error} If the payload is not a reader or valid buffer
3239 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3240 */
3241 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
3242
3243 /**
3244 * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
3245 * @param reader Reader or buffer to decode from
3246 * @returns UninterpretedOption
3247 * @throws {Error} If the payload is not a reader or valid buffer
3248 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3249 */
3250 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
3251
3252 /**
3253 * Verifies an UninterpretedOption message.
3254 * @param message Plain object to verify
3255 * @returns `null` if valid, otherwise the reason why it is not
3256 */
3257 public static verify(message: { [k: string]: any }): (string|null);
3258
3259 /**
3260 * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
3261 * @param object Plain object
3262 * @returns UninterpretedOption
3263 */
3264 public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
3265
3266 /**
3267 * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
3268 * @param message UninterpretedOption
3269 * @param [options] Conversion options
3270 * @returns Plain object
3271 */
3272 public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
3273
3274 /**
3275 * Converts this UninterpretedOption to JSON.
3276 * @returns JSON object
3277 */
3278 public toJSON(): { [k: string]: any };
3279
3280 /**
3281 * Gets the default type url for UninterpretedOption
3282 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3283 * @returns The default type url
3284 */
3285 public static getTypeUrl(typeUrlPrefix?: string): string;
3286 }
3287
3288 namespace UninterpretedOption {
3289
3290 /** Properties of a NamePart. */
3291 interface INamePart {
3292
3293 /** NamePart namePart */
3294 namePart: string;
3295
3296 /** NamePart isExtension */
3297 isExtension: boolean;
3298 }
3299
3300 /** Represents a NamePart. */
3301 class NamePart implements INamePart {
3302
3303 /**
3304 * Constructs a new NamePart.
3305 * @param [properties] Properties to set
3306 */
3307 constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
3308
3309 /** NamePart namePart. */
3310 public namePart: string;
3311
3312 /** NamePart isExtension. */
3313 public isExtension: boolean;
3314
3315 /**
3316 * Creates a new NamePart instance using the specified properties.
3317 * @param [properties] Properties to set
3318 * @returns NamePart instance
3319 */
3320 public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
3321
3322 /**
3323 * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
3324 * @param message NamePart message or plain object to encode
3325 * @param [writer] Writer to encode to
3326 * @returns Writer
3327 */
3328 public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
3329
3330 /**
3331 * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
3332 * @param message NamePart message or plain object to encode
3333 * @param [writer] Writer to encode to
3334 * @returns Writer
3335 */
3336 public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
3337
3338 /**
3339 * Decodes a NamePart message from the specified reader or buffer.
3340 * @param reader Reader or buffer to decode from
3341 * @param [length] Message length if known beforehand
3342 * @returns NamePart
3343 * @throws {Error} If the payload is not a reader or valid buffer
3344 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3345 */
3346 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
3347
3348 /**
3349 * Decodes a NamePart message from the specified reader or buffer, length delimited.
3350 * @param reader Reader or buffer to decode from
3351 * @returns NamePart
3352 * @throws {Error} If the payload is not a reader or valid buffer
3353 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3354 */
3355 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
3356
3357 /**
3358 * Verifies a NamePart message.
3359 * @param message Plain object to verify
3360 * @returns `null` if valid, otherwise the reason why it is not
3361 */
3362 public static verify(message: { [k: string]: any }): (string|null);
3363
3364 /**
3365 * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
3366 * @param object Plain object
3367 * @returns NamePart
3368 */
3369 public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
3370
3371 /**
3372 * Creates a plain object from a NamePart message. Also converts values to other types if specified.
3373 * @param message NamePart
3374 * @param [options] Conversion options
3375 * @returns Plain object
3376 */
3377 public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
3378
3379 /**
3380 * Converts this NamePart to JSON.
3381 * @returns JSON object
3382 */
3383 public toJSON(): { [k: string]: any };
3384
3385 /**
3386 * Gets the default type url for NamePart
3387 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3388 * @returns The default type url
3389 */
3390 public static getTypeUrl(typeUrlPrefix?: string): string;
3391 }
3392 }
3393
3394 /** Properties of a FeatureSet. */
3395 interface IFeatureSet {
3396
3397 /** FeatureSet fieldPresence */
3398 fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null);
3399
3400 /** FeatureSet enumType */
3401 enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null);
3402
3403 /** FeatureSet repeatedFieldEncoding */
3404 repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
3405
3406 /** FeatureSet utf8Validation */
3407 utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation|null);
3408
3409 /** FeatureSet messageEncoding */
3410 messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
3411
3412 /** FeatureSet jsonFormat */
3413 jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
3414 }
3415
3416 /** Represents a FeatureSet. */
3417 class FeatureSet implements IFeatureSet {
3418
3419 /**
3420 * Constructs a new FeatureSet.
3421 * @param [properties] Properties to set
3422 */
3423 constructor(properties?: google.protobuf.IFeatureSet);
3424
3425 /** FeatureSet fieldPresence. */
3426 public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence);
3427
3428 /** FeatureSet enumType. */
3429 public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType);
3430
3431 /** FeatureSet repeatedFieldEncoding. */
3432 public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
3433
3434 /** FeatureSet utf8Validation. */
3435 public utf8Validation: (google.protobuf.FeatureSet.Utf8Validation|keyof typeof google.protobuf.FeatureSet.Utf8Validation);
3436
3437 /** FeatureSet messageEncoding. */
3438 public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
3439
3440 /** FeatureSet jsonFormat. */
3441 public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
3442
3443 /**
3444 * Creates a new FeatureSet instance using the specified properties.
3445 * @param [properties] Properties to set
3446 * @returns FeatureSet instance
3447 */
3448 public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet;
3449
3450 /**
3451 * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
3452 * @param message FeatureSet message or plain object to encode
3453 * @param [writer] Writer to encode to
3454 * @returns Writer
3455 */
3456 public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
3457
3458 /**
3459 * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
3460 * @param message FeatureSet message or plain object to encode
3461 * @param [writer] Writer to encode to
3462 * @returns Writer
3463 */
3464 public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
3465
3466 /**
3467 * Decodes a FeatureSet message from the specified reader or buffer.
3468 * @param reader Reader or buffer to decode from
3469 * @param [length] Message length if known beforehand
3470 * @returns FeatureSet
3471 * @throws {Error} If the payload is not a reader or valid buffer
3472 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3473 */
3474 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet;
3475
3476 /**
3477 * Decodes a FeatureSet message from the specified reader or buffer, length delimited.
3478 * @param reader Reader or buffer to decode from
3479 * @returns FeatureSet
3480 * @throws {Error} If the payload is not a reader or valid buffer
3481 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3482 */
3483 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet;
3484
3485 /**
3486 * Verifies a FeatureSet message.
3487 * @param message Plain object to verify
3488 * @returns `null` if valid, otherwise the reason why it is not
3489 */
3490 public static verify(message: { [k: string]: any }): (string|null);
3491
3492 /**
3493 * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
3494 * @param object Plain object
3495 * @returns FeatureSet
3496 */
3497 public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet;
3498
3499 /**
3500 * Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
3501 * @param message FeatureSet
3502 * @param [options] Conversion options
3503 * @returns Plain object
3504 */
3505 public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
3506
3507 /**
3508 * Converts this FeatureSet to JSON.
3509 * @returns JSON object
3510 */
3511 public toJSON(): { [k: string]: any };
3512
3513 /**
3514 * Gets the default type url for FeatureSet
3515 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3516 * @returns The default type url
3517 */
3518 public static getTypeUrl(typeUrlPrefix?: string): string;
3519 }
3520
3521 namespace FeatureSet {
3522
3523 /** FieldPresence enum. */
3524 enum FieldPresence {
3525 FIELD_PRESENCE_UNKNOWN = 0,
3526 EXPLICIT = 1,
3527 IMPLICIT = 2,
3528 LEGACY_REQUIRED = 3
3529 }
3530
3531 /** EnumType enum. */
3532 enum EnumType {
3533 ENUM_TYPE_UNKNOWN = 0,
3534 OPEN = 1,
3535 CLOSED = 2
3536 }
3537
3538 /** RepeatedFieldEncoding enum. */
3539 enum RepeatedFieldEncoding {
3540 REPEATED_FIELD_ENCODING_UNKNOWN = 0,
3541 PACKED = 1,
3542 EXPANDED = 2
3543 }
3544
3545 /** Utf8Validation enum. */
3546 enum Utf8Validation {
3547 UTF8_VALIDATION_UNKNOWN = 0,
3548 VERIFY = 2,
3549 NONE = 3
3550 }
3551
3552 /** MessageEncoding enum. */
3553 enum MessageEncoding {
3554 MESSAGE_ENCODING_UNKNOWN = 0,
3555 LENGTH_PREFIXED = 1,
3556 DELIMITED = 2
3557 }
3558
3559 /** JsonFormat enum. */
3560 enum JsonFormat {
3561 JSON_FORMAT_UNKNOWN = 0,
3562 ALLOW = 1,
3563 LEGACY_BEST_EFFORT = 2
3564 }
3565 }
3566
3567 /** Properties of a FeatureSetDefaults. */
3568 interface IFeatureSetDefaults {
3569
3570 /** FeatureSetDefaults defaults */
3571 defaults?: (google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[]|null);
3572
3573 /** FeatureSetDefaults minimumEdition */
3574 minimumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3575
3576 /** FeatureSetDefaults maximumEdition */
3577 maximumEdition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3578 }
3579
3580 /** Represents a FeatureSetDefaults. */
3581 class FeatureSetDefaults implements IFeatureSetDefaults {
3582
3583 /**
3584 * Constructs a new FeatureSetDefaults.
3585 * @param [properties] Properties to set
3586 */
3587 constructor(properties?: google.protobuf.IFeatureSetDefaults);
3588
3589 /** FeatureSetDefaults defaults. */
3590 public defaults: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault[];
3591
3592 /** FeatureSetDefaults minimumEdition. */
3593 public minimumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3594
3595 /** FeatureSetDefaults maximumEdition. */
3596 public maximumEdition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3597
3598 /**
3599 * Creates a new FeatureSetDefaults instance using the specified properties.
3600 * @param [properties] Properties to set
3601 * @returns FeatureSetDefaults instance
3602 */
3603 public static create(properties?: google.protobuf.IFeatureSetDefaults): google.protobuf.FeatureSetDefaults;
3604
3605 /**
3606 * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
3607 * @param message FeatureSetDefaults message or plain object to encode
3608 * @param [writer] Writer to encode to
3609 * @returns Writer
3610 */
3611 public static encode(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
3612
3613 /**
3614 * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
3615 * @param message FeatureSetDefaults message or plain object to encode
3616 * @param [writer] Writer to encode to
3617 * @returns Writer
3618 */
3619 public static encodeDelimited(message: google.protobuf.IFeatureSetDefaults, writer?: $protobuf.Writer): $protobuf.Writer;
3620
3621 /**
3622 * Decodes a FeatureSetDefaults message from the specified reader or buffer.
3623 * @param reader Reader or buffer to decode from
3624 * @param [length] Message length if known beforehand
3625 * @returns FeatureSetDefaults
3626 * @throws {Error} If the payload is not a reader or valid buffer
3627 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3628 */
3629 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults;
3630
3631 /**
3632 * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
3633 * @param reader Reader or buffer to decode from
3634 * @returns FeatureSetDefaults
3635 * @throws {Error} If the payload is not a reader or valid buffer
3636 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3637 */
3638 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults;
3639
3640 /**
3641 * Verifies a FeatureSetDefaults message.
3642 * @param message Plain object to verify
3643 * @returns `null` if valid, otherwise the reason why it is not
3644 */
3645 public static verify(message: { [k: string]: any }): (string|null);
3646
3647 /**
3648 * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
3649 * @param object Plain object
3650 * @returns FeatureSetDefaults
3651 */
3652 public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults;
3653
3654 /**
3655 * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
3656 * @param message FeatureSetDefaults
3657 * @param [options] Conversion options
3658 * @returns Plain object
3659 */
3660 public static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any };
3661
3662 /**
3663 * Converts this FeatureSetDefaults to JSON.
3664 * @returns JSON object
3665 */
3666 public toJSON(): { [k: string]: any };
3667
3668 /**
3669 * Gets the default type url for FeatureSetDefaults
3670 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3671 * @returns The default type url
3672 */
3673 public static getTypeUrl(typeUrlPrefix?: string): string;
3674 }
3675
3676 namespace FeatureSetDefaults {
3677
3678 /** Properties of a FeatureSetEditionDefault. */
3679 interface IFeatureSetEditionDefault {
3680
3681 /** FeatureSetEditionDefault edition */
3682 edition?: (google.protobuf.Edition|keyof typeof google.protobuf.Edition|null);
3683
3684 /** FeatureSetEditionDefault features */
3685 features?: (google.protobuf.IFeatureSet|null);
3686 }
3687
3688 /** Represents a FeatureSetEditionDefault. */
3689 class FeatureSetEditionDefault implements IFeatureSetEditionDefault {
3690
3691 /**
3692 * Constructs a new FeatureSetEditionDefault.
3693 * @param [properties] Properties to set
3694 */
3695 constructor(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault);
3696
3697 /** FeatureSetEditionDefault edition. */
3698 public edition: (google.protobuf.Edition|keyof typeof google.protobuf.Edition);
3699
3700 /** FeatureSetEditionDefault features. */
3701 public features?: (google.protobuf.IFeatureSet|null);
3702
3703 /**
3704 * Creates a new FeatureSetEditionDefault instance using the specified properties.
3705 * @param [properties] Properties to set
3706 * @returns FeatureSetEditionDefault instance
3707 */
3708 public static create(properties?: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
3709
3710 /**
3711 * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
3712 * @param message FeatureSetEditionDefault message or plain object to encode
3713 * @param [writer] Writer to encode to
3714 * @returns Writer
3715 */
3716 public static encode(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
3717
3718 /**
3719 * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
3720 * @param message FeatureSetEditionDefault message or plain object to encode
3721 * @param [writer] Writer to encode to
3722 * @returns Writer
3723 */
3724 public static encodeDelimited(message: google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
3725
3726 /**
3727 * Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
3728 * @param reader Reader or buffer to decode from
3729 * @param [length] Message length if known beforehand
3730 * @returns FeatureSetEditionDefault
3731 * @throws {Error} If the payload is not a reader or valid buffer
3732 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3733 */
3734 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
3735
3736 /**
3737 * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
3738 * @param reader Reader or buffer to decode from
3739 * @returns FeatureSetEditionDefault
3740 * @throws {Error} If the payload is not a reader or valid buffer
3741 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3742 */
3743 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
3744
3745 /**
3746 * Verifies a FeatureSetEditionDefault message.
3747 * @param message Plain object to verify
3748 * @returns `null` if valid, otherwise the reason why it is not
3749 */
3750 public static verify(message: { [k: string]: any }): (string|null);
3751
3752 /**
3753 * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
3754 * @param object Plain object
3755 * @returns FeatureSetEditionDefault
3756 */
3757 public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault;
3758
3759 /**
3760 * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
3761 * @param message FeatureSetEditionDefault
3762 * @param [options] Conversion options
3763 * @returns Plain object
3764 */
3765 public static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
3766
3767 /**
3768 * Converts this FeatureSetEditionDefault to JSON.
3769 * @returns JSON object
3770 */
3771 public toJSON(): { [k: string]: any };
3772
3773 /**
3774 * Gets the default type url for FeatureSetEditionDefault
3775 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3776 * @returns The default type url
3777 */
3778 public static getTypeUrl(typeUrlPrefix?: string): string;
3779 }
3780 }
3781
3782 /** Properties of a SourceCodeInfo. */
3783 interface ISourceCodeInfo {
3784
3785 /** SourceCodeInfo location */
3786 location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
3787 }
3788
3789 /** Represents a SourceCodeInfo. */
3790 class SourceCodeInfo implements ISourceCodeInfo {
3791
3792 /**
3793 * Constructs a new SourceCodeInfo.
3794 * @param [properties] Properties to set
3795 */
3796 constructor(properties?: google.protobuf.ISourceCodeInfo);
3797
3798 /** SourceCodeInfo location. */
3799 public location: google.protobuf.SourceCodeInfo.ILocation[];
3800
3801 /**
3802 * Creates a new SourceCodeInfo instance using the specified properties.
3803 * @param [properties] Properties to set
3804 * @returns SourceCodeInfo instance
3805 */
3806 public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
3807
3808 /**
3809 * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
3810 * @param message SourceCodeInfo message or plain object to encode
3811 * @param [writer] Writer to encode to
3812 * @returns Writer
3813 */
3814 public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3815
3816 /**
3817 * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
3818 * @param message SourceCodeInfo message or plain object to encode
3819 * @param [writer] Writer to encode to
3820 * @returns Writer
3821 */
3822 public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
3823
3824 /**
3825 * Decodes a SourceCodeInfo message from the specified reader or buffer.
3826 * @param reader Reader or buffer to decode from
3827 * @param [length] Message length if known beforehand
3828 * @returns SourceCodeInfo
3829 * @throws {Error} If the payload is not a reader or valid buffer
3830 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3831 */
3832 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
3833
3834 /**
3835 * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
3836 * @param reader Reader or buffer to decode from
3837 * @returns SourceCodeInfo
3838 * @throws {Error} If the payload is not a reader or valid buffer
3839 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3840 */
3841 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
3842
3843 /**
3844 * Verifies a SourceCodeInfo message.
3845 * @param message Plain object to verify
3846 * @returns `null` if valid, otherwise the reason why it is not
3847 */
3848 public static verify(message: { [k: string]: any }): (string|null);
3849
3850 /**
3851 * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
3852 * @param object Plain object
3853 * @returns SourceCodeInfo
3854 */
3855 public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
3856
3857 /**
3858 * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
3859 * @param message SourceCodeInfo
3860 * @param [options] Conversion options
3861 * @returns Plain object
3862 */
3863 public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
3864
3865 /**
3866 * Converts this SourceCodeInfo to JSON.
3867 * @returns JSON object
3868 */
3869 public toJSON(): { [k: string]: any };
3870
3871 /**
3872 * Gets the default type url for SourceCodeInfo
3873 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3874 * @returns The default type url
3875 */
3876 public static getTypeUrl(typeUrlPrefix?: string): string;
3877 }
3878
3879 namespace SourceCodeInfo {
3880
3881 /** Properties of a Location. */
3882 interface ILocation {
3883
3884 /** Location path */
3885 path?: (number[]|null);
3886
3887 /** Location span */
3888 span?: (number[]|null);
3889
3890 /** Location leadingComments */
3891 leadingComments?: (string|null);
3892
3893 /** Location trailingComments */
3894 trailingComments?: (string|null);
3895
3896 /** Location leadingDetachedComments */
3897 leadingDetachedComments?: (string[]|null);
3898 }
3899
3900 /** Represents a Location. */
3901 class Location implements ILocation {
3902
3903 /**
3904 * Constructs a new Location.
3905 * @param [properties] Properties to set
3906 */
3907 constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
3908
3909 /** Location path. */
3910 public path: number[];
3911
3912 /** Location span. */
3913 public span: number[];
3914
3915 /** Location leadingComments. */
3916 public leadingComments: string;
3917
3918 /** Location trailingComments. */
3919 public trailingComments: string;
3920
3921 /** Location leadingDetachedComments. */
3922 public leadingDetachedComments: string[];
3923
3924 /**
3925 * Creates a new Location instance using the specified properties.
3926 * @param [properties] Properties to set
3927 * @returns Location instance
3928 */
3929 public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
3930
3931 /**
3932 * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
3933 * @param message Location message or plain object to encode
3934 * @param [writer] Writer to encode to
3935 * @returns Writer
3936 */
3937 public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
3938
3939 /**
3940 * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
3941 * @param message Location message or plain object to encode
3942 * @param [writer] Writer to encode to
3943 * @returns Writer
3944 */
3945 public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
3946
3947 /**
3948 * Decodes a Location message from the specified reader or buffer.
3949 * @param reader Reader or buffer to decode from
3950 * @param [length] Message length if known beforehand
3951 * @returns Location
3952 * @throws {Error} If the payload is not a reader or valid buffer
3953 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3954 */
3955 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
3956
3957 /**
3958 * Decodes a Location message from the specified reader or buffer, length delimited.
3959 * @param reader Reader or buffer to decode from
3960 * @returns Location
3961 * @throws {Error} If the payload is not a reader or valid buffer
3962 * @throws {$protobuf.util.ProtocolError} If required fields are missing
3963 */
3964 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
3965
3966 /**
3967 * Verifies a Location message.
3968 * @param message Plain object to verify
3969 * @returns `null` if valid, otherwise the reason why it is not
3970 */
3971 public static verify(message: { [k: string]: any }): (string|null);
3972
3973 /**
3974 * Creates a Location message from a plain object. Also converts values to their respective internal types.
3975 * @param object Plain object
3976 * @returns Location
3977 */
3978 public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
3979
3980 /**
3981 * Creates a plain object from a Location message. Also converts values to other types if specified.
3982 * @param message Location
3983 * @param [options] Conversion options
3984 * @returns Plain object
3985 */
3986 public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
3987
3988 /**
3989 * Converts this Location to JSON.
3990 * @returns JSON object
3991 */
3992 public toJSON(): { [k: string]: any };
3993
3994 /**
3995 * Gets the default type url for Location
3996 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
3997 * @returns The default type url
3998 */
3999 public static getTypeUrl(typeUrlPrefix?: string): string;
4000 }
4001 }
4002
4003 /** Properties of a GeneratedCodeInfo. */
4004 interface IGeneratedCodeInfo {
4005
4006 /** GeneratedCodeInfo annotation */
4007 annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
4008 }
4009
4010 /** Represents a GeneratedCodeInfo. */
4011 class GeneratedCodeInfo implements IGeneratedCodeInfo {
4012
4013 /**
4014 * Constructs a new GeneratedCodeInfo.
4015 * @param [properties] Properties to set
4016 */
4017 constructor(properties?: google.protobuf.IGeneratedCodeInfo);
4018
4019 /** GeneratedCodeInfo annotation. */
4020 public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
4021
4022 /**
4023 * Creates a new GeneratedCodeInfo instance using the specified properties.
4024 * @param [properties] Properties to set
4025 * @returns GeneratedCodeInfo instance
4026 */
4027 public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
4028
4029 /**
4030 * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
4031 * @param message GeneratedCodeInfo message or plain object to encode
4032 * @param [writer] Writer to encode to
4033 * @returns Writer
4034 */
4035 public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
4036
4037 /**
4038 * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
4039 * @param message GeneratedCodeInfo message or plain object to encode
4040 * @param [writer] Writer to encode to
4041 * @returns Writer
4042 */
4043 public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
4044
4045 /**
4046 * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
4047 * @param reader Reader or buffer to decode from
4048 * @param [length] Message length if known beforehand
4049 * @returns GeneratedCodeInfo
4050 * @throws {Error} If the payload is not a reader or valid buffer
4051 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4052 */
4053 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
4054
4055 /**
4056 * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
4057 * @param reader Reader or buffer to decode from
4058 * @returns GeneratedCodeInfo
4059 * @throws {Error} If the payload is not a reader or valid buffer
4060 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4061 */
4062 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
4063
4064 /**
4065 * Verifies a GeneratedCodeInfo message.
4066 * @param message Plain object to verify
4067 * @returns `null` if valid, otherwise the reason why it is not
4068 */
4069 public static verify(message: { [k: string]: any }): (string|null);
4070
4071 /**
4072 * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
4073 * @param object Plain object
4074 * @returns GeneratedCodeInfo
4075 */
4076 public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
4077
4078 /**
4079 * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
4080 * @param message GeneratedCodeInfo
4081 * @param [options] Conversion options
4082 * @returns Plain object
4083 */
4084 public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
4085
4086 /**
4087 * Converts this GeneratedCodeInfo to JSON.
4088 * @returns JSON object
4089 */
4090 public toJSON(): { [k: string]: any };
4091
4092 /**
4093 * Gets the default type url for GeneratedCodeInfo
4094 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4095 * @returns The default type url
4096 */
4097 public static getTypeUrl(typeUrlPrefix?: string): string;
4098 }
4099
4100 namespace GeneratedCodeInfo {
4101
4102 /** Properties of an Annotation. */
4103 interface IAnnotation {
4104
4105 /** Annotation path */
4106 path?: (number[]|null);
4107
4108 /** Annotation sourceFile */
4109 sourceFile?: (string|null);
4110
4111 /** Annotation begin */
4112 begin?: (number|null);
4113
4114 /** Annotation end */
4115 end?: (number|null);
4116
4117 /** Annotation semantic */
4118 semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
4119 }
4120
4121 /** Represents an Annotation. */
4122 class Annotation implements IAnnotation {
4123
4124 /**
4125 * Constructs a new Annotation.
4126 * @param [properties] Properties to set
4127 */
4128 constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
4129
4130 /** Annotation path. */
4131 public path: number[];
4132
4133 /** Annotation sourceFile. */
4134 public sourceFile: string;
4135
4136 /** Annotation begin. */
4137 public begin: number;
4138
4139 /** Annotation end. */
4140 public end: number;
4141
4142 /** Annotation semantic. */
4143 public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
4144
4145 /**
4146 * Creates a new Annotation instance using the specified properties.
4147 * @param [properties] Properties to set
4148 * @returns Annotation instance
4149 */
4150 public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
4151
4152 /**
4153 * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
4154 * @param message Annotation message or plain object to encode
4155 * @param [writer] Writer to encode to
4156 * @returns Writer
4157 */
4158 public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
4159
4160 /**
4161 * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
4162 * @param message Annotation message or plain object to encode
4163 * @param [writer] Writer to encode to
4164 * @returns Writer
4165 */
4166 public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
4167
4168 /**
4169 * Decodes an Annotation message from the specified reader or buffer.
4170 * @param reader Reader or buffer to decode from
4171 * @param [length] Message length if known beforehand
4172 * @returns Annotation
4173 * @throws {Error} If the payload is not a reader or valid buffer
4174 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4175 */
4176 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
4177
4178 /**
4179 * Decodes an Annotation message from the specified reader or buffer, length delimited.
4180 * @param reader Reader or buffer to decode from
4181 * @returns Annotation
4182 * @throws {Error} If the payload is not a reader or valid buffer
4183 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4184 */
4185 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
4186
4187 /**
4188 * Verifies an Annotation message.
4189 * @param message Plain object to verify
4190 * @returns `null` if valid, otherwise the reason why it is not
4191 */
4192 public static verify(message: { [k: string]: any }): (string|null);
4193
4194 /**
4195 * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
4196 * @param object Plain object
4197 * @returns Annotation
4198 */
4199 public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
4200
4201 /**
4202 * Creates a plain object from an Annotation message. Also converts values to other types if specified.
4203 * @param message Annotation
4204 * @param [options] Conversion options
4205 * @returns Plain object
4206 */
4207 public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
4208
4209 /**
4210 * Converts this Annotation to JSON.
4211 * @returns JSON object
4212 */
4213 public toJSON(): { [k: string]: any };
4214
4215 /**
4216 * Gets the default type url for Annotation
4217 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4218 * @returns The default type url
4219 */
4220 public static getTypeUrl(typeUrlPrefix?: string): string;
4221 }
4222
4223 namespace Annotation {
4224
4225 /** Semantic enum. */
4226 enum Semantic {
4227 NONE = 0,
4228 SET = 1,
4229 ALIAS = 2
4230 }
4231 }
4232 }
4233
4234 /** Properties of a Struct. */
4235 interface IStruct {
4236
4237 /** Struct fields */
4238 fields?: ({ [k: string]: google.protobuf.IValue }|null);
4239 }
4240
4241 /** Represents a Struct. */
4242 class Struct implements IStruct {
4243
4244 /**
4245 * Constructs a new Struct.
4246 * @param [properties] Properties to set
4247 */
4248 constructor(properties?: google.protobuf.IStruct);
4249
4250 /** Struct fields. */
4251 public fields: { [k: string]: google.protobuf.IValue };
4252
4253 /**
4254 * Creates a new Struct instance using the specified properties.
4255 * @param [properties] Properties to set
4256 * @returns Struct instance
4257 */
4258 public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
4259
4260 /**
4261 * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
4262 * @param message Struct message or plain object to encode
4263 * @param [writer] Writer to encode to
4264 * @returns Writer
4265 */
4266 public static encode(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
4267
4268 /**
4269 * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
4270 * @param message Struct message or plain object to encode
4271 * @param [writer] Writer to encode to
4272 * @returns Writer
4273 */
4274 public static encodeDelimited(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
4275
4276 /**
4277 * Decodes a Struct message from the specified reader or buffer.
4278 * @param reader Reader or buffer to decode from
4279 * @param [length] Message length if known beforehand
4280 * @returns Struct
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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct;
4285
4286 /**
4287 * Decodes a Struct message from the specified reader or buffer, length delimited.
4288 * @param reader Reader or buffer to decode from
4289 * @returns Struct
4290 * @throws {Error} If the payload is not a reader or valid buffer
4291 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4292 */
4293 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct;
4294
4295 /**
4296 * Verifies a Struct message.
4297 * @param message Plain object to verify
4298 * @returns `null` if valid, otherwise the reason why it is not
4299 */
4300 public static verify(message: { [k: string]: any }): (string|null);
4301
4302 /**
4303 * Creates a Struct message from a plain object. Also converts values to their respective internal types.
4304 * @param object Plain object
4305 * @returns Struct
4306 */
4307 public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
4308
4309 /**
4310 * Creates a plain object from a Struct message. Also converts values to other types if specified.
4311 * @param message Struct
4312 * @param [options] Conversion options
4313 * @returns Plain object
4314 */
4315 public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
4316
4317 /**
4318 * Converts this Struct to JSON.
4319 * @returns JSON object
4320 */
4321 public toJSON(): { [k: string]: any };
4322
4323 /**
4324 * Gets the default type url for Struct
4325 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4326 * @returns The default type url
4327 */
4328 public static getTypeUrl(typeUrlPrefix?: string): string;
4329 }
4330
4331 /** Properties of a Value. */
4332 interface IValue {
4333
4334 /** Value nullValue */
4335 nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
4336
4337 /** Value numberValue */
4338 numberValue?: (number|null);
4339
4340 /** Value stringValue */
4341 stringValue?: (string|null);
4342
4343 /** Value boolValue */
4344 boolValue?: (boolean|null);
4345
4346 /** Value structValue */
4347 structValue?: (google.protobuf.IStruct|null);
4348
4349 /** Value listValue */
4350 listValue?: (google.protobuf.IListValue|null);
4351 }
4352
4353 /** Represents a Value. */
4354 class Value implements IValue {
4355
4356 /**
4357 * Constructs a new Value.
4358 * @param [properties] Properties to set
4359 */
4360 constructor(properties?: google.protobuf.IValue);
4361
4362 /** Value nullValue. */
4363 public nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
4364
4365 /** Value numberValue. */
4366 public numberValue?: (number|null);
4367
4368 /** Value stringValue. */
4369 public stringValue?: (string|null);
4370
4371 /** Value boolValue. */
4372 public boolValue?: (boolean|null);
4373
4374 /** Value structValue. */
4375 public structValue?: (google.protobuf.IStruct|null);
4376
4377 /** Value listValue. */
4378 public listValue?: (google.protobuf.IListValue|null);
4379
4380 /** Value kind. */
4381 public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue");
4382
4383 /**
4384 * Creates a new Value instance using the specified properties.
4385 * @param [properties] Properties to set
4386 * @returns Value instance
4387 */
4388 public static create(properties?: google.protobuf.IValue): google.protobuf.Value;
4389
4390 /**
4391 * Encodes the specified Value message. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
4392 * @param message Value message or plain object to encode
4393 * @param [writer] Writer to encode to
4394 * @returns Writer
4395 */
4396 public static encode(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
4397
4398 /**
4399 * Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
4400 * @param message Value message or plain object to encode
4401 * @param [writer] Writer to encode to
4402 * @returns Writer
4403 */
4404 public static encodeDelimited(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
4405
4406 /**
4407 * Decodes a Value message from the specified reader or buffer.
4408 * @param reader Reader or buffer to decode from
4409 * @param [length] Message length if known beforehand
4410 * @returns Value
4411 * @throws {Error} If the payload is not a reader or valid buffer
4412 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4413 */
4414 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Value;
4415
4416 /**
4417 * Decodes a Value message from the specified reader or buffer, length delimited.
4418 * @param reader Reader or buffer to decode from
4419 * @returns Value
4420 * @throws {Error} If the payload is not a reader or valid buffer
4421 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4422 */
4423 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Value;
4424
4425 /**
4426 * Verifies a Value message.
4427 * @param message Plain object to verify
4428 * @returns `null` if valid, otherwise the reason why it is not
4429 */
4430 public static verify(message: { [k: string]: any }): (string|null);
4431
4432 /**
4433 * Creates a Value message from a plain object. Also converts values to their respective internal types.
4434 * @param object Plain object
4435 * @returns Value
4436 */
4437 public static fromObject(object: { [k: string]: any }): google.protobuf.Value;
4438
4439 /**
4440 * Creates a plain object from a Value message. Also converts values to other types if specified.
4441 * @param message Value
4442 * @param [options] Conversion options
4443 * @returns Plain object
4444 */
4445 public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
4446
4447 /**
4448 * Converts this Value to JSON.
4449 * @returns JSON object
4450 */
4451 public toJSON(): { [k: string]: any };
4452
4453 /**
4454 * Gets the default type url for Value
4455 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4456 * @returns The default type url
4457 */
4458 public static getTypeUrl(typeUrlPrefix?: string): string;
4459 }
4460
4461 /** NullValue enum. */
4462 enum NullValue {
4463 NULL_VALUE = 0
4464 }
4465
4466 /** Properties of a ListValue. */
4467 interface IListValue {
4468
4469 /** ListValue values */
4470 values?: (google.protobuf.IValue[]|null);
4471 }
4472
4473 /** Represents a ListValue. */
4474 class ListValue implements IListValue {
4475
4476 /**
4477 * Constructs a new ListValue.
4478 * @param [properties] Properties to set
4479 */
4480 constructor(properties?: google.protobuf.IListValue);
4481
4482 /** ListValue values. */
4483 public values: google.protobuf.IValue[];
4484
4485 /**
4486 * Creates a new ListValue instance using the specified properties.
4487 * @param [properties] Properties to set
4488 * @returns ListValue instance
4489 */
4490 public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue;
4491
4492 /**
4493 * Encodes the specified ListValue message. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
4494 * @param message ListValue message or plain object to encode
4495 * @param [writer] Writer to encode to
4496 * @returns Writer
4497 */
4498 public static encode(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
4499
4500 /**
4501 * Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
4502 * @param message ListValue message or plain object to encode
4503 * @param [writer] Writer to encode to
4504 * @returns Writer
4505 */
4506 public static encodeDelimited(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
4507
4508 /**
4509 * Decodes a ListValue message from the specified reader or buffer.
4510 * @param reader Reader or buffer to decode from
4511 * @param [length] Message length if known beforehand
4512 * @returns ListValue
4513 * @throws {Error} If the payload is not a reader or valid buffer
4514 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4515 */
4516 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ListValue;
4517
4518 /**
4519 * Decodes a ListValue message from the specified reader or buffer, length delimited.
4520 * @param reader Reader or buffer to decode from
4521 * @returns ListValue
4522 * @throws {Error} If the payload is not a reader or valid buffer
4523 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4524 */
4525 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ListValue;
4526
4527 /**
4528 * Verifies a ListValue message.
4529 * @param message Plain object to verify
4530 * @returns `null` if valid, otherwise the reason why it is not
4531 */
4532 public static verify(message: { [k: string]: any }): (string|null);
4533
4534 /**
4535 * Creates a ListValue message from a plain object. Also converts values to their respective internal types.
4536 * @param object Plain object
4537 * @returns ListValue
4538 */
4539 public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue;
4540
4541 /**
4542 * Creates a plain object from a ListValue message. Also converts values to other types if specified.
4543 * @param message ListValue
4544 * @param [options] Conversion options
4545 * @returns Plain object
4546 */
4547 public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
4548
4549 /**
4550 * Converts this ListValue to JSON.
4551 * @returns JSON object
4552 */
4553 public toJSON(): { [k: string]: any };
4554
4555 /**
4556 * Gets the default type url for ListValue
4557 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4558 * @returns The default type url
4559 */
4560 public static getTypeUrl(typeUrlPrefix?: string): string;
4561 }
4562
4563 /** Properties of an Any. */
4564 interface IAny {
4565
4566 /** Any type_url */
4567 type_url?: (string|null);
4568
4569 /** Any value */
4570 value?: (Uint8Array|string|null);
4571 }
4572
4573 /** Represents an Any. */
4574 class Any implements IAny {
4575
4576 /**
4577 * Constructs a new Any.
4578 * @param [properties] Properties to set
4579 */
4580 constructor(properties?: google.protobuf.IAny);
4581
4582 /** Any type_url. */
4583 public type_url: string;
4584
4585 /** Any value. */
4586 public value: (Uint8Array|string);
4587
4588 /**
4589 * Creates a new Any instance using the specified properties.
4590 * @param [properties] Properties to set
4591 * @returns Any instance
4592 */
4593 public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
4594
4595 /**
4596 * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
4597 * @param message Any message or plain object to encode
4598 * @param [writer] Writer to encode to
4599 * @returns Writer
4600 */
4601 public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
4602
4603 /**
4604 * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
4605 * @param message Any message or plain object to encode
4606 * @param [writer] Writer to encode to
4607 * @returns Writer
4608 */
4609 public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
4610
4611 /**
4612 * Decodes an Any message from the specified reader or buffer.
4613 * @param reader Reader or buffer to decode from
4614 * @param [length] Message length if known beforehand
4615 * @returns Any
4616 * @throws {Error} If the payload is not a reader or valid buffer
4617 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4618 */
4619 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
4620
4621 /**
4622 * Decodes an Any message from the specified reader or buffer, length delimited.
4623 * @param reader Reader or buffer to decode from
4624 * @returns Any
4625 * @throws {Error} If the payload is not a reader or valid buffer
4626 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4627 */
4628 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
4629
4630 /**
4631 * Verifies an Any message.
4632 * @param message Plain object to verify
4633 * @returns `null` if valid, otherwise the reason why it is not
4634 */
4635 public static verify(message: { [k: string]: any }): (string|null);
4636
4637 /**
4638 * Creates an Any message from a plain object. Also converts values to their respective internal types.
4639 * @param object Plain object
4640 * @returns Any
4641 */
4642 public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
4643
4644 /**
4645 * Creates a plain object from an Any message. Also converts values to other types if specified.
4646 * @param message Any
4647 * @param [options] Conversion options
4648 * @returns Plain object
4649 */
4650 public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
4651
4652 /**
4653 * Converts this Any to JSON.
4654 * @returns JSON object
4655 */
4656 public toJSON(): { [k: string]: any };
4657
4658 /**
4659 * Gets the default type url for Any
4660 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4661 * @returns The default type url
4662 */
4663 public static getTypeUrl(typeUrlPrefix?: string): string;
4664 }
4665
4666 /** Properties of a Timestamp. */
4667 interface ITimestamp {
4668
4669 /** Timestamp seconds */
4670 seconds?: (number|Long|string|null);
4671
4672 /** Timestamp nanos */
4673 nanos?: (number|null);
4674 }
4675
4676 /** Represents a Timestamp. */
4677 class Timestamp implements ITimestamp {
4678
4679 /**
4680 * Constructs a new Timestamp.
4681 * @param [properties] Properties to set
4682 */
4683 constructor(properties?: google.protobuf.ITimestamp);
4684
4685 /** Timestamp seconds. */
4686 public seconds: (number|Long|string);
4687
4688 /** Timestamp nanos. */
4689 public nanos: number;
4690
4691 /**
4692 * Creates a new Timestamp instance using the specified properties.
4693 * @param [properties] Properties to set
4694 * @returns Timestamp instance
4695 */
4696 public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
4697
4698 /**
4699 * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
4700 * @param message Timestamp message or plain object to encode
4701 * @param [writer] Writer to encode to
4702 * @returns Writer
4703 */
4704 public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
4705
4706 /**
4707 * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
4708 * @param message Timestamp message or plain object to encode
4709 * @param [writer] Writer to encode to
4710 * @returns Writer
4711 */
4712 public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
4713
4714 /**
4715 * Decodes a Timestamp message from the specified reader or buffer.
4716 * @param reader Reader or buffer to decode from
4717 * @param [length] Message length if known beforehand
4718 * @returns Timestamp
4719 * @throws {Error} If the payload is not a reader or valid buffer
4720 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4721 */
4722 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
4723
4724 /**
4725 * Decodes a Timestamp message from the specified reader or buffer, length delimited.
4726 * @param reader Reader or buffer to decode from
4727 * @returns Timestamp
4728 * @throws {Error} If the payload is not a reader or valid buffer
4729 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4730 */
4731 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
4732
4733 /**
4734 * Verifies a Timestamp message.
4735 * @param message Plain object to verify
4736 * @returns `null` if valid, otherwise the reason why it is not
4737 */
4738 public static verify(message: { [k: string]: any }): (string|null);
4739
4740 /**
4741 * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
4742 * @param object Plain object
4743 * @returns Timestamp
4744 */
4745 public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
4746
4747 /**
4748 * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
4749 * @param message Timestamp
4750 * @param [options] Conversion options
4751 * @returns Plain object
4752 */
4753 public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
4754
4755 /**
4756 * Converts this Timestamp to JSON.
4757 * @returns JSON object
4758 */
4759 public toJSON(): { [k: string]: any };
4760
4761 /**
4762 * Gets the default type url for Timestamp
4763 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4764 * @returns The default type url
4765 */
4766 public static getTypeUrl(typeUrlPrefix?: string): string;
4767 }
4768
4769 /** Properties of an Empty. */
4770 interface IEmpty {
4771 }
4772
4773 /** Represents an Empty. */
4774 class Empty implements IEmpty {
4775
4776 /**
4777 * Constructs a new Empty.
4778 * @param [properties] Properties to set
4779 */
4780 constructor(properties?: google.protobuf.IEmpty);
4781
4782 /**
4783 * Creates a new Empty instance using the specified properties.
4784 * @param [properties] Properties to set
4785 * @returns Empty instance
4786 */
4787 public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
4788
4789 /**
4790 * Encodes the specified Empty message. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
4791 * @param message Empty message or plain object to encode
4792 * @param [writer] Writer to encode to
4793 * @returns Writer
4794 */
4795 public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
4796
4797 /**
4798 * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
4799 * @param message Empty message or plain object to encode
4800 * @param [writer] Writer to encode to
4801 * @returns Writer
4802 */
4803 public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
4804
4805 /**
4806 * Decodes an Empty message from the specified reader or buffer.
4807 * @param reader Reader or buffer to decode from
4808 * @param [length] Message length if known beforehand
4809 * @returns Empty
4810 * @throws {Error} If the payload is not a reader or valid buffer
4811 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4812 */
4813 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
4814
4815 /**
4816 * Decodes an Empty message from the specified reader or buffer, length delimited.
4817 * @param reader Reader or buffer to decode from
4818 * @returns Empty
4819 * @throws {Error} If the payload is not a reader or valid buffer
4820 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4821 */
4822 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
4823
4824 /**
4825 * Verifies an Empty message.
4826 * @param message Plain object to verify
4827 * @returns `null` if valid, otherwise the reason why it is not
4828 */
4829 public static verify(message: { [k: string]: any }): (string|null);
4830
4831 /**
4832 * Creates an Empty message from a plain object. Also converts values to their respective internal types.
4833 * @param object Plain object
4834 * @returns Empty
4835 */
4836 public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
4837
4838 /**
4839 * Creates a plain object from an Empty message. Also converts values to other types if specified.
4840 * @param message Empty
4841 * @param [options] Conversion options
4842 * @returns Plain object
4843 */
4844 public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
4845
4846 /**
4847 * Converts this Empty to JSON.
4848 * @returns JSON object
4849 */
4850 public toJSON(): { [k: string]: any };
4851
4852 /**
4853 * Gets the default type url for Empty
4854 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4855 * @returns The default type url
4856 */
4857 public static getTypeUrl(typeUrlPrefix?: string): string;
4858 }
4859
4860 /** Properties of a FieldMask. */
4861 interface IFieldMask {
4862
4863 /** FieldMask paths */
4864 paths?: (string[]|null);
4865 }
4866
4867 /** Represents a FieldMask. */
4868 class FieldMask implements IFieldMask {
4869
4870 /**
4871 * Constructs a new FieldMask.
4872 * @param [properties] Properties to set
4873 */
4874 constructor(properties?: google.protobuf.IFieldMask);
4875
4876 /** FieldMask paths. */
4877 public paths: string[];
4878
4879 /**
4880 * Creates a new FieldMask instance using the specified properties.
4881 * @param [properties] Properties to set
4882 * @returns FieldMask instance
4883 */
4884 public static create(properties?: google.protobuf.IFieldMask): google.protobuf.FieldMask;
4885
4886 /**
4887 * Encodes the specified FieldMask message. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
4888 * @param message FieldMask message or plain object to encode
4889 * @param [writer] Writer to encode to
4890 * @returns Writer
4891 */
4892 public static encode(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
4893
4894 /**
4895 * Encodes the specified FieldMask message, length delimited. Does not implicitly {@link google.protobuf.FieldMask.verify|verify} messages.
4896 * @param message FieldMask message or plain object to encode
4897 * @param [writer] Writer to encode to
4898 * @returns Writer
4899 */
4900 public static encodeDelimited(message: google.protobuf.IFieldMask, writer?: $protobuf.Writer): $protobuf.Writer;
4901
4902 /**
4903 * Decodes a FieldMask message from the specified reader or buffer.
4904 * @param reader Reader or buffer to decode from
4905 * @param [length] Message length if known beforehand
4906 * @returns FieldMask
4907 * @throws {Error} If the payload is not a reader or valid buffer
4908 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4909 */
4910 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldMask;
4911
4912 /**
4913 * Decodes a FieldMask message from the specified reader or buffer, length delimited.
4914 * @param reader Reader or buffer to decode from
4915 * @returns FieldMask
4916 * @throws {Error} If the payload is not a reader or valid buffer
4917 * @throws {$protobuf.util.ProtocolError} If required fields are missing
4918 */
4919 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldMask;
4920
4921 /**
4922 * Verifies a FieldMask message.
4923 * @param message Plain object to verify
4924 * @returns `null` if valid, otherwise the reason why it is not
4925 */
4926 public static verify(message: { [k: string]: any }): (string|null);
4927
4928 /**
4929 * Creates a FieldMask message from a plain object. Also converts values to their respective internal types.
4930 * @param object Plain object
4931 * @returns FieldMask
4932 */
4933 public static fromObject(object: { [k: string]: any }): google.protobuf.FieldMask;
4934
4935 /**
4936 * Creates a plain object from a FieldMask message. Also converts values to other types if specified.
4937 * @param message FieldMask
4938 * @param [options] Conversion options
4939 * @returns Plain object
4940 */
4941 public static toObject(message: google.protobuf.FieldMask, options?: $protobuf.IConversionOptions): { [k: string]: any };
4942
4943 /**
4944 * Converts this FieldMask to JSON.
4945 * @returns JSON object
4946 */
4947 public toJSON(): { [k: string]: any };
4948
4949 /**
4950 * Gets the default type url for FieldMask
4951 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
4952 * @returns The default type url
4953 */
4954 public static getTypeUrl(typeUrlPrefix?: string): string;
4955 }
4956 }
4957
4958 /** Namespace logging. */
4959 namespace logging {
4960
4961 /** Namespace type. */
4962 namespace type {
4963
4964 /** Properties of a HttpRequest. */
4965 interface IHttpRequest {
4966
4967 /** HttpRequest requestMethod */
4968 requestMethod?: (string|null);
4969
4970 /** HttpRequest requestUrl */
4971 requestUrl?: (string|null);
4972
4973 /** HttpRequest requestSize */
4974 requestSize?: (number|Long|string|null);
4975
4976 /** HttpRequest status */
4977 status?: (number|null);
4978
4979 /** HttpRequest responseSize */
4980 responseSize?: (number|Long|string|null);
4981
4982 /** HttpRequest userAgent */
4983 userAgent?: (string|null);
4984
4985 /** HttpRequest remoteIp */
4986 remoteIp?: (string|null);
4987
4988 /** HttpRequest serverIp */
4989 serverIp?: (string|null);
4990
4991 /** HttpRequest referer */
4992 referer?: (string|null);
4993
4994 /** HttpRequest latency */
4995 latency?: (google.protobuf.IDuration|null);
4996
4997 /** HttpRequest cacheLookup */
4998 cacheLookup?: (boolean|null);
4999
5000 /** HttpRequest cacheHit */
5001 cacheHit?: (boolean|null);
5002
5003 /** HttpRequest cacheValidatedWithOriginServer */
5004 cacheValidatedWithOriginServer?: (boolean|null);
5005
5006 /** HttpRequest cacheFillBytes */
5007 cacheFillBytes?: (number|Long|string|null);
5008
5009 /** HttpRequest protocol */
5010 protocol?: (string|null);
5011 }
5012
5013 /** Represents a HttpRequest. */
5014 class HttpRequest implements IHttpRequest {
5015
5016 /**
5017 * Constructs a new HttpRequest.
5018 * @param [properties] Properties to set
5019 */
5020 constructor(properties?: google.logging.type.IHttpRequest);
5021
5022 /** HttpRequest requestMethod. */
5023 public requestMethod: string;
5024
5025 /** HttpRequest requestUrl. */
5026 public requestUrl: string;
5027
5028 /** HttpRequest requestSize. */
5029 public requestSize: (number|Long|string);
5030
5031 /** HttpRequest status. */
5032 public status: number;
5033
5034 /** HttpRequest responseSize. */
5035 public responseSize: (number|Long|string);
5036
5037 /** HttpRequest userAgent. */
5038 public userAgent: string;
5039
5040 /** HttpRequest remoteIp. */
5041 public remoteIp: string;
5042
5043 /** HttpRequest serverIp. */
5044 public serverIp: string;
5045
5046 /** HttpRequest referer. */
5047 public referer: string;
5048
5049 /** HttpRequest latency. */
5050 public latency?: (google.protobuf.IDuration|null);
5051
5052 /** HttpRequest cacheLookup. */
5053 public cacheLookup: boolean;
5054
5055 /** HttpRequest cacheHit. */
5056 public cacheHit: boolean;
5057
5058 /** HttpRequest cacheValidatedWithOriginServer. */
5059 public cacheValidatedWithOriginServer: boolean;
5060
5061 /** HttpRequest cacheFillBytes. */
5062 public cacheFillBytes: (number|Long|string);
5063
5064 /** HttpRequest protocol. */
5065 public protocol: string;
5066
5067 /**
5068 * Creates a new HttpRequest instance using the specified properties.
5069 * @param [properties] Properties to set
5070 * @returns HttpRequest instance
5071 */
5072 public static create(properties?: google.logging.type.IHttpRequest): google.logging.type.HttpRequest;
5073
5074 /**
5075 * Encodes the specified HttpRequest message. Does not implicitly {@link google.logging.type.HttpRequest.verify|verify} messages.
5076 * @param message HttpRequest message or plain object to encode
5077 * @param [writer] Writer to encode to
5078 * @returns Writer
5079 */
5080 public static encode(message: google.logging.type.IHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5081
5082 /**
5083 * Encodes the specified HttpRequest message, length delimited. Does not implicitly {@link google.logging.type.HttpRequest.verify|verify} messages.
5084 * @param message HttpRequest message or plain object to encode
5085 * @param [writer] Writer to encode to
5086 * @returns Writer
5087 */
5088 public static encodeDelimited(message: google.logging.type.IHttpRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5089
5090 /**
5091 * Decodes a HttpRequest message from the specified reader or buffer.
5092 * @param reader Reader or buffer to decode from
5093 * @param [length] Message length if known beforehand
5094 * @returns HttpRequest
5095 * @throws {Error} If the payload is not a reader or valid buffer
5096 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5097 */
5098 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.type.HttpRequest;
5099
5100 /**
5101 * Decodes a HttpRequest message from the specified reader or buffer, length delimited.
5102 * @param reader Reader or buffer to decode from
5103 * @returns HttpRequest
5104 * @throws {Error} If the payload is not a reader or valid buffer
5105 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5106 */
5107 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.type.HttpRequest;
5108
5109 /**
5110 * Verifies a HttpRequest message.
5111 * @param message Plain object to verify
5112 * @returns `null` if valid, otherwise the reason why it is not
5113 */
5114 public static verify(message: { [k: string]: any }): (string|null);
5115
5116 /**
5117 * Creates a HttpRequest message from a plain object. Also converts values to their respective internal types.
5118 * @param object Plain object
5119 * @returns HttpRequest
5120 */
5121 public static fromObject(object: { [k: string]: any }): google.logging.type.HttpRequest;
5122
5123 /**
5124 * Creates a plain object from a HttpRequest message. Also converts values to other types if specified.
5125 * @param message HttpRequest
5126 * @param [options] Conversion options
5127 * @returns Plain object
5128 */
5129 public static toObject(message: google.logging.type.HttpRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
5130
5131 /**
5132 * Converts this HttpRequest to JSON.
5133 * @returns JSON object
5134 */
5135 public toJSON(): { [k: string]: any };
5136
5137 /**
5138 * Gets the default type url for HttpRequest
5139 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5140 * @returns The default type url
5141 */
5142 public static getTypeUrl(typeUrlPrefix?: string): string;
5143 }
5144
5145 /** LogSeverity enum. */
5146 enum LogSeverity {
5147 DEFAULT = 0,
5148 DEBUG = 100,
5149 INFO = 200,
5150 NOTICE = 300,
5151 WARNING = 400,
5152 ERROR = 500,
5153 CRITICAL = 600,
5154 ALERT = 700,
5155 EMERGENCY = 800
5156 }
5157 }
5158
5159 /** Namespace v2. */
5160 namespace v2 {
5161
5162 /** Properties of a LogEntry. */
5163 interface ILogEntry {
5164
5165 /** LogEntry logName */
5166 logName?: (string|null);
5167
5168 /** LogEntry resource */
5169 resource?: (google.api.IMonitoredResource|null);
5170
5171 /** LogEntry protoPayload */
5172 protoPayload?: (google.protobuf.IAny|null);
5173
5174 /** LogEntry textPayload */
5175 textPayload?: (string|null);
5176
5177 /** LogEntry jsonPayload */
5178 jsonPayload?: (google.protobuf.IStruct|null);
5179
5180 /** LogEntry timestamp */
5181 timestamp?: (google.protobuf.ITimestamp|null);
5182
5183 /** LogEntry receiveTimestamp */
5184 receiveTimestamp?: (google.protobuf.ITimestamp|null);
5185
5186 /** LogEntry severity */
5187 severity?: (google.logging.type.LogSeverity|keyof typeof google.logging.type.LogSeverity|null);
5188
5189 /** LogEntry insertId */
5190 insertId?: (string|null);
5191
5192 /** LogEntry httpRequest */
5193 httpRequest?: (google.logging.type.IHttpRequest|null);
5194
5195 /** LogEntry labels */
5196 labels?: ({ [k: string]: string }|null);
5197
5198 /** LogEntry operation */
5199 operation?: (google.logging.v2.ILogEntryOperation|null);
5200
5201 /** LogEntry trace */
5202 trace?: (string|null);
5203
5204 /** LogEntry spanId */
5205 spanId?: (string|null);
5206
5207 /** LogEntry traceSampled */
5208 traceSampled?: (boolean|null);
5209
5210 /** LogEntry sourceLocation */
5211 sourceLocation?: (google.logging.v2.ILogEntrySourceLocation|null);
5212
5213 /** LogEntry split */
5214 split?: (google.logging.v2.ILogSplit|null);
5215 }
5216
5217 /** Represents a LogEntry. */
5218 class LogEntry implements ILogEntry {
5219
5220 /**
5221 * Constructs a new LogEntry.
5222 * @param [properties] Properties to set
5223 */
5224 constructor(properties?: google.logging.v2.ILogEntry);
5225
5226 /** LogEntry logName. */
5227 public logName: string;
5228
5229 /** LogEntry resource. */
5230 public resource?: (google.api.IMonitoredResource|null);
5231
5232 /** LogEntry protoPayload. */
5233 public protoPayload?: (google.protobuf.IAny|null);
5234
5235 /** LogEntry textPayload. */
5236 public textPayload?: (string|null);
5237
5238 /** LogEntry jsonPayload. */
5239 public jsonPayload?: (google.protobuf.IStruct|null);
5240
5241 /** LogEntry timestamp. */
5242 public timestamp?: (google.protobuf.ITimestamp|null);
5243
5244 /** LogEntry receiveTimestamp. */
5245 public receiveTimestamp?: (google.protobuf.ITimestamp|null);
5246
5247 /** LogEntry severity. */
5248 public severity: (google.logging.type.LogSeverity|keyof typeof google.logging.type.LogSeverity);
5249
5250 /** LogEntry insertId. */
5251 public insertId: string;
5252
5253 /** LogEntry httpRequest. */
5254 public httpRequest?: (google.logging.type.IHttpRequest|null);
5255
5256 /** LogEntry labels. */
5257 public labels: { [k: string]: string };
5258
5259 /** LogEntry operation. */
5260 public operation?: (google.logging.v2.ILogEntryOperation|null);
5261
5262 /** LogEntry trace. */
5263 public trace: string;
5264
5265 /** LogEntry spanId. */
5266 public spanId: string;
5267
5268 /** LogEntry traceSampled. */
5269 public traceSampled: boolean;
5270
5271 /** LogEntry sourceLocation. */
5272 public sourceLocation?: (google.logging.v2.ILogEntrySourceLocation|null);
5273
5274 /** LogEntry split. */
5275 public split?: (google.logging.v2.ILogSplit|null);
5276
5277 /** LogEntry payload. */
5278 public payload?: ("protoPayload"|"textPayload"|"jsonPayload");
5279
5280 /**
5281 * Creates a new LogEntry instance using the specified properties.
5282 * @param [properties] Properties to set
5283 * @returns LogEntry instance
5284 */
5285 public static create(properties?: google.logging.v2.ILogEntry): google.logging.v2.LogEntry;
5286
5287 /**
5288 * Encodes the specified LogEntry message. Does not implicitly {@link google.logging.v2.LogEntry.verify|verify} messages.
5289 * @param message LogEntry message or plain object to encode
5290 * @param [writer] Writer to encode to
5291 * @returns Writer
5292 */
5293 public static encode(message: google.logging.v2.ILogEntry, writer?: $protobuf.Writer): $protobuf.Writer;
5294
5295 /**
5296 * Encodes the specified LogEntry message, length delimited. Does not implicitly {@link google.logging.v2.LogEntry.verify|verify} messages.
5297 * @param message LogEntry message or plain object to encode
5298 * @param [writer] Writer to encode to
5299 * @returns Writer
5300 */
5301 public static encodeDelimited(message: google.logging.v2.ILogEntry, writer?: $protobuf.Writer): $protobuf.Writer;
5302
5303 /**
5304 * Decodes a LogEntry message from the specified reader or buffer.
5305 * @param reader Reader or buffer to decode from
5306 * @param [length] Message length if known beforehand
5307 * @returns LogEntry
5308 * @throws {Error} If the payload is not a reader or valid buffer
5309 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5310 */
5311 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogEntry;
5312
5313 /**
5314 * Decodes a LogEntry message from the specified reader or buffer, length delimited.
5315 * @param reader Reader or buffer to decode from
5316 * @returns LogEntry
5317 * @throws {Error} If the payload is not a reader or valid buffer
5318 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5319 */
5320 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogEntry;
5321
5322 /**
5323 * Verifies a LogEntry message.
5324 * @param message Plain object to verify
5325 * @returns `null` if valid, otherwise the reason why it is not
5326 */
5327 public static verify(message: { [k: string]: any }): (string|null);
5328
5329 /**
5330 * Creates a LogEntry message from a plain object. Also converts values to their respective internal types.
5331 * @param object Plain object
5332 * @returns LogEntry
5333 */
5334 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogEntry;
5335
5336 /**
5337 * Creates a plain object from a LogEntry message. Also converts values to other types if specified.
5338 * @param message LogEntry
5339 * @param [options] Conversion options
5340 * @returns Plain object
5341 */
5342 public static toObject(message: google.logging.v2.LogEntry, options?: $protobuf.IConversionOptions): { [k: string]: any };
5343
5344 /**
5345 * Converts this LogEntry to JSON.
5346 * @returns JSON object
5347 */
5348 public toJSON(): { [k: string]: any };
5349
5350 /**
5351 * Gets the default type url for LogEntry
5352 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5353 * @returns The default type url
5354 */
5355 public static getTypeUrl(typeUrlPrefix?: string): string;
5356 }
5357
5358 /** Properties of a LogEntryOperation. */
5359 interface ILogEntryOperation {
5360
5361 /** LogEntryOperation id */
5362 id?: (string|null);
5363
5364 /** LogEntryOperation producer */
5365 producer?: (string|null);
5366
5367 /** LogEntryOperation first */
5368 first?: (boolean|null);
5369
5370 /** LogEntryOperation last */
5371 last?: (boolean|null);
5372 }
5373
5374 /** Represents a LogEntryOperation. */
5375 class LogEntryOperation implements ILogEntryOperation {
5376
5377 /**
5378 * Constructs a new LogEntryOperation.
5379 * @param [properties] Properties to set
5380 */
5381 constructor(properties?: google.logging.v2.ILogEntryOperation);
5382
5383 /** LogEntryOperation id. */
5384 public id: string;
5385
5386 /** LogEntryOperation producer. */
5387 public producer: string;
5388
5389 /** LogEntryOperation first. */
5390 public first: boolean;
5391
5392 /** LogEntryOperation last. */
5393 public last: boolean;
5394
5395 /**
5396 * Creates a new LogEntryOperation instance using the specified properties.
5397 * @param [properties] Properties to set
5398 * @returns LogEntryOperation instance
5399 */
5400 public static create(properties?: google.logging.v2.ILogEntryOperation): google.logging.v2.LogEntryOperation;
5401
5402 /**
5403 * Encodes the specified LogEntryOperation message. Does not implicitly {@link google.logging.v2.LogEntryOperation.verify|verify} messages.
5404 * @param message LogEntryOperation message or plain object to encode
5405 * @param [writer] Writer to encode to
5406 * @returns Writer
5407 */
5408 public static encode(message: google.logging.v2.ILogEntryOperation, writer?: $protobuf.Writer): $protobuf.Writer;
5409
5410 /**
5411 * Encodes the specified LogEntryOperation message, length delimited. Does not implicitly {@link google.logging.v2.LogEntryOperation.verify|verify} messages.
5412 * @param message LogEntryOperation message or plain object to encode
5413 * @param [writer] Writer to encode to
5414 * @returns Writer
5415 */
5416 public static encodeDelimited(message: google.logging.v2.ILogEntryOperation, writer?: $protobuf.Writer): $protobuf.Writer;
5417
5418 /**
5419 * Decodes a LogEntryOperation message from the specified reader or buffer.
5420 * @param reader Reader or buffer to decode from
5421 * @param [length] Message length if known beforehand
5422 * @returns LogEntryOperation
5423 * @throws {Error} If the payload is not a reader or valid buffer
5424 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5425 */
5426 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogEntryOperation;
5427
5428 /**
5429 * Decodes a LogEntryOperation message from the specified reader or buffer, length delimited.
5430 * @param reader Reader or buffer to decode from
5431 * @returns LogEntryOperation
5432 * @throws {Error} If the payload is not a reader or valid buffer
5433 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5434 */
5435 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogEntryOperation;
5436
5437 /**
5438 * Verifies a LogEntryOperation message.
5439 * @param message Plain object to verify
5440 * @returns `null` if valid, otherwise the reason why it is not
5441 */
5442 public static verify(message: { [k: string]: any }): (string|null);
5443
5444 /**
5445 * Creates a LogEntryOperation message from a plain object. Also converts values to their respective internal types.
5446 * @param object Plain object
5447 * @returns LogEntryOperation
5448 */
5449 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogEntryOperation;
5450
5451 /**
5452 * Creates a plain object from a LogEntryOperation message. Also converts values to other types if specified.
5453 * @param message LogEntryOperation
5454 * @param [options] Conversion options
5455 * @returns Plain object
5456 */
5457 public static toObject(message: google.logging.v2.LogEntryOperation, options?: $protobuf.IConversionOptions): { [k: string]: any };
5458
5459 /**
5460 * Converts this LogEntryOperation to JSON.
5461 * @returns JSON object
5462 */
5463 public toJSON(): { [k: string]: any };
5464
5465 /**
5466 * Gets the default type url for LogEntryOperation
5467 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5468 * @returns The default type url
5469 */
5470 public static getTypeUrl(typeUrlPrefix?: string): string;
5471 }
5472
5473 /** Properties of a LogEntrySourceLocation. */
5474 interface ILogEntrySourceLocation {
5475
5476 /** LogEntrySourceLocation file */
5477 file?: (string|null);
5478
5479 /** LogEntrySourceLocation line */
5480 line?: (number|Long|string|null);
5481
5482 /** LogEntrySourceLocation function */
5483 "function"?: (string|null);
5484 }
5485
5486 /** Represents a LogEntrySourceLocation. */
5487 class LogEntrySourceLocation implements ILogEntrySourceLocation {
5488
5489 /**
5490 * Constructs a new LogEntrySourceLocation.
5491 * @param [properties] Properties to set
5492 */
5493 constructor(properties?: google.logging.v2.ILogEntrySourceLocation);
5494
5495 /** LogEntrySourceLocation file. */
5496 public file: string;
5497
5498 /** LogEntrySourceLocation line. */
5499 public line: (number|Long|string);
5500
5501 /** LogEntrySourceLocation function. */
5502 public function: string;
5503
5504 /**
5505 * Creates a new LogEntrySourceLocation instance using the specified properties.
5506 * @param [properties] Properties to set
5507 * @returns LogEntrySourceLocation instance
5508 */
5509 public static create(properties?: google.logging.v2.ILogEntrySourceLocation): google.logging.v2.LogEntrySourceLocation;
5510
5511 /**
5512 * Encodes the specified LogEntrySourceLocation message. Does not implicitly {@link google.logging.v2.LogEntrySourceLocation.verify|verify} messages.
5513 * @param message LogEntrySourceLocation message or plain object to encode
5514 * @param [writer] Writer to encode to
5515 * @returns Writer
5516 */
5517 public static encode(message: google.logging.v2.ILogEntrySourceLocation, writer?: $protobuf.Writer): $protobuf.Writer;
5518
5519 /**
5520 * Encodes the specified LogEntrySourceLocation message, length delimited. Does not implicitly {@link google.logging.v2.LogEntrySourceLocation.verify|verify} messages.
5521 * @param message LogEntrySourceLocation message or plain object to encode
5522 * @param [writer] Writer to encode to
5523 * @returns Writer
5524 */
5525 public static encodeDelimited(message: google.logging.v2.ILogEntrySourceLocation, writer?: $protobuf.Writer): $protobuf.Writer;
5526
5527 /**
5528 * Decodes a LogEntrySourceLocation message from the specified reader or buffer.
5529 * @param reader Reader or buffer to decode from
5530 * @param [length] Message length if known beforehand
5531 * @returns LogEntrySourceLocation
5532 * @throws {Error} If the payload is not a reader or valid buffer
5533 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5534 */
5535 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogEntrySourceLocation;
5536
5537 /**
5538 * Decodes a LogEntrySourceLocation message from the specified reader or buffer, length delimited.
5539 * @param reader Reader or buffer to decode from
5540 * @returns LogEntrySourceLocation
5541 * @throws {Error} If the payload is not a reader or valid buffer
5542 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5543 */
5544 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogEntrySourceLocation;
5545
5546 /**
5547 * Verifies a LogEntrySourceLocation message.
5548 * @param message Plain object to verify
5549 * @returns `null` if valid, otherwise the reason why it is not
5550 */
5551 public static verify(message: { [k: string]: any }): (string|null);
5552
5553 /**
5554 * Creates a LogEntrySourceLocation message from a plain object. Also converts values to their respective internal types.
5555 * @param object Plain object
5556 * @returns LogEntrySourceLocation
5557 */
5558 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogEntrySourceLocation;
5559
5560 /**
5561 * Creates a plain object from a LogEntrySourceLocation message. Also converts values to other types if specified.
5562 * @param message LogEntrySourceLocation
5563 * @param [options] Conversion options
5564 * @returns Plain object
5565 */
5566 public static toObject(message: google.logging.v2.LogEntrySourceLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
5567
5568 /**
5569 * Converts this LogEntrySourceLocation to JSON.
5570 * @returns JSON object
5571 */
5572 public toJSON(): { [k: string]: any };
5573
5574 /**
5575 * Gets the default type url for LogEntrySourceLocation
5576 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5577 * @returns The default type url
5578 */
5579 public static getTypeUrl(typeUrlPrefix?: string): string;
5580 }
5581
5582 /** Properties of a LogSplit. */
5583 interface ILogSplit {
5584
5585 /** LogSplit uid */
5586 uid?: (string|null);
5587
5588 /** LogSplit index */
5589 index?: (number|null);
5590
5591 /** LogSplit totalSplits */
5592 totalSplits?: (number|null);
5593 }
5594
5595 /** Represents a LogSplit. */
5596 class LogSplit implements ILogSplit {
5597
5598 /**
5599 * Constructs a new LogSplit.
5600 * @param [properties] Properties to set
5601 */
5602 constructor(properties?: google.logging.v2.ILogSplit);
5603
5604 /** LogSplit uid. */
5605 public uid: string;
5606
5607 /** LogSplit index. */
5608 public index: number;
5609
5610 /** LogSplit totalSplits. */
5611 public totalSplits: number;
5612
5613 /**
5614 * Creates a new LogSplit instance using the specified properties.
5615 * @param [properties] Properties to set
5616 * @returns LogSplit instance
5617 */
5618 public static create(properties?: google.logging.v2.ILogSplit): google.logging.v2.LogSplit;
5619
5620 /**
5621 * Encodes the specified LogSplit message. Does not implicitly {@link google.logging.v2.LogSplit.verify|verify} messages.
5622 * @param message LogSplit message or plain object to encode
5623 * @param [writer] Writer to encode to
5624 * @returns Writer
5625 */
5626 public static encode(message: google.logging.v2.ILogSplit, writer?: $protobuf.Writer): $protobuf.Writer;
5627
5628 /**
5629 * Encodes the specified LogSplit message, length delimited. Does not implicitly {@link google.logging.v2.LogSplit.verify|verify} messages.
5630 * @param message LogSplit message or plain object to encode
5631 * @param [writer] Writer to encode to
5632 * @returns Writer
5633 */
5634 public static encodeDelimited(message: google.logging.v2.ILogSplit, writer?: $protobuf.Writer): $protobuf.Writer;
5635
5636 /**
5637 * Decodes a LogSplit message from the specified reader or buffer.
5638 * @param reader Reader or buffer to decode from
5639 * @param [length] Message length if known beforehand
5640 * @returns LogSplit
5641 * @throws {Error} If the payload is not a reader or valid buffer
5642 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5643 */
5644 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogSplit;
5645
5646 /**
5647 * Decodes a LogSplit message from the specified reader or buffer, length delimited.
5648 * @param reader Reader or buffer to decode from
5649 * @returns LogSplit
5650 * @throws {Error} If the payload is not a reader or valid buffer
5651 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5652 */
5653 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogSplit;
5654
5655 /**
5656 * Verifies a LogSplit message.
5657 * @param message Plain object to verify
5658 * @returns `null` if valid, otherwise the reason why it is not
5659 */
5660 public static verify(message: { [k: string]: any }): (string|null);
5661
5662 /**
5663 * Creates a LogSplit message from a plain object. Also converts values to their respective internal types.
5664 * @param object Plain object
5665 * @returns LogSplit
5666 */
5667 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogSplit;
5668
5669 /**
5670 * Creates a plain object from a LogSplit message. Also converts values to other types if specified.
5671 * @param message LogSplit
5672 * @param [options] Conversion options
5673 * @returns Plain object
5674 */
5675 public static toObject(message: google.logging.v2.LogSplit, options?: $protobuf.IConversionOptions): { [k: string]: any };
5676
5677 /**
5678 * Converts this LogSplit to JSON.
5679 * @returns JSON object
5680 */
5681 public toJSON(): { [k: string]: any };
5682
5683 /**
5684 * Gets the default type url for LogSplit
5685 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5686 * @returns The default type url
5687 */
5688 public static getTypeUrl(typeUrlPrefix?: string): string;
5689 }
5690
5691 /** Represents a LoggingServiceV2 */
5692 class LoggingServiceV2 extends $protobuf.rpc.Service {
5693
5694 /**
5695 * Constructs a new LoggingServiceV2 service.
5696 * @param rpcImpl RPC implementation
5697 * @param [requestDelimited=false] Whether requests are length-delimited
5698 * @param [responseDelimited=false] Whether responses are length-delimited
5699 */
5700 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
5701
5702 /**
5703 * Creates new LoggingServiceV2 service using the specified rpc implementation.
5704 * @param rpcImpl RPC implementation
5705 * @param [requestDelimited=false] Whether requests are length-delimited
5706 * @param [responseDelimited=false] Whether responses are length-delimited
5707 * @returns RPC service. Useful where requests and/or responses are streamed.
5708 */
5709 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): LoggingServiceV2;
5710
5711 /**
5712 * Calls DeleteLog.
5713 * @param request DeleteLogRequest message or plain object
5714 * @param callback Node-style callback called with the error, if any, and Empty
5715 */
5716 public deleteLog(request: google.logging.v2.IDeleteLogRequest, callback: google.logging.v2.LoggingServiceV2.DeleteLogCallback): void;
5717
5718 /**
5719 * Calls DeleteLog.
5720 * @param request DeleteLogRequest message or plain object
5721 * @returns Promise
5722 */
5723 public deleteLog(request: google.logging.v2.IDeleteLogRequest): Promise<google.protobuf.Empty>;
5724
5725 /**
5726 * Calls WriteLogEntries.
5727 * @param request WriteLogEntriesRequest message or plain object
5728 * @param callback Node-style callback called with the error, if any, and WriteLogEntriesResponse
5729 */
5730 public writeLogEntries(request: google.logging.v2.IWriteLogEntriesRequest, callback: google.logging.v2.LoggingServiceV2.WriteLogEntriesCallback): void;
5731
5732 /**
5733 * Calls WriteLogEntries.
5734 * @param request WriteLogEntriesRequest message or plain object
5735 * @returns Promise
5736 */
5737 public writeLogEntries(request: google.logging.v2.IWriteLogEntriesRequest): Promise<google.logging.v2.WriteLogEntriesResponse>;
5738
5739 /**
5740 * Calls ListLogEntries.
5741 * @param request ListLogEntriesRequest message or plain object
5742 * @param callback Node-style callback called with the error, if any, and ListLogEntriesResponse
5743 */
5744 public listLogEntries(request: google.logging.v2.IListLogEntriesRequest, callback: google.logging.v2.LoggingServiceV2.ListLogEntriesCallback): void;
5745
5746 /**
5747 * Calls ListLogEntries.
5748 * @param request ListLogEntriesRequest message or plain object
5749 * @returns Promise
5750 */
5751 public listLogEntries(request: google.logging.v2.IListLogEntriesRequest): Promise<google.logging.v2.ListLogEntriesResponse>;
5752
5753 /**
5754 * Calls ListMonitoredResourceDescriptors.
5755 * @param request ListMonitoredResourceDescriptorsRequest message or plain object
5756 * @param callback Node-style callback called with the error, if any, and ListMonitoredResourceDescriptorsResponse
5757 */
5758 public listMonitoredResourceDescriptors(request: google.logging.v2.IListMonitoredResourceDescriptorsRequest, callback: google.logging.v2.LoggingServiceV2.ListMonitoredResourceDescriptorsCallback): void;
5759
5760 /**
5761 * Calls ListMonitoredResourceDescriptors.
5762 * @param request ListMonitoredResourceDescriptorsRequest message or plain object
5763 * @returns Promise
5764 */
5765 public listMonitoredResourceDescriptors(request: google.logging.v2.IListMonitoredResourceDescriptorsRequest): Promise<google.logging.v2.ListMonitoredResourceDescriptorsResponse>;
5766
5767 /**
5768 * Calls ListLogs.
5769 * @param request ListLogsRequest message or plain object
5770 * @param callback Node-style callback called with the error, if any, and ListLogsResponse
5771 */
5772 public listLogs(request: google.logging.v2.IListLogsRequest, callback: google.logging.v2.LoggingServiceV2.ListLogsCallback): void;
5773
5774 /**
5775 * Calls ListLogs.
5776 * @param request ListLogsRequest message or plain object
5777 * @returns Promise
5778 */
5779 public listLogs(request: google.logging.v2.IListLogsRequest): Promise<google.logging.v2.ListLogsResponse>;
5780
5781 /**
5782 * Calls TailLogEntries.
5783 * @param request TailLogEntriesRequest message or plain object
5784 * @param callback Node-style callback called with the error, if any, and TailLogEntriesResponse
5785 */
5786 public tailLogEntries(request: google.logging.v2.ITailLogEntriesRequest, callback: google.logging.v2.LoggingServiceV2.TailLogEntriesCallback): void;
5787
5788 /**
5789 * Calls TailLogEntries.
5790 * @param request TailLogEntriesRequest message or plain object
5791 * @returns Promise
5792 */
5793 public tailLogEntries(request: google.logging.v2.ITailLogEntriesRequest): Promise<google.logging.v2.TailLogEntriesResponse>;
5794 }
5795
5796 namespace LoggingServiceV2 {
5797
5798 /**
5799 * Callback as used by {@link google.logging.v2.LoggingServiceV2|deleteLog}.
5800 * @param error Error, if any
5801 * @param [response] Empty
5802 */
5803 type DeleteLogCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
5804
5805 /**
5806 * Callback as used by {@link google.logging.v2.LoggingServiceV2|writeLogEntries}.
5807 * @param error Error, if any
5808 * @param [response] WriteLogEntriesResponse
5809 */
5810 type WriteLogEntriesCallback = (error: (Error|null), response?: google.logging.v2.WriteLogEntriesResponse) => void;
5811
5812 /**
5813 * Callback as used by {@link google.logging.v2.LoggingServiceV2|listLogEntries}.
5814 * @param error Error, if any
5815 * @param [response] ListLogEntriesResponse
5816 */
5817 type ListLogEntriesCallback = (error: (Error|null), response?: google.logging.v2.ListLogEntriesResponse) => void;
5818
5819 /**
5820 * Callback as used by {@link google.logging.v2.LoggingServiceV2|listMonitoredResourceDescriptors}.
5821 * @param error Error, if any
5822 * @param [response] ListMonitoredResourceDescriptorsResponse
5823 */
5824 type ListMonitoredResourceDescriptorsCallback = (error: (Error|null), response?: google.logging.v2.ListMonitoredResourceDescriptorsResponse) => void;
5825
5826 /**
5827 * Callback as used by {@link google.logging.v2.LoggingServiceV2|listLogs}.
5828 * @param error Error, if any
5829 * @param [response] ListLogsResponse
5830 */
5831 type ListLogsCallback = (error: (Error|null), response?: google.logging.v2.ListLogsResponse) => void;
5832
5833 /**
5834 * Callback as used by {@link google.logging.v2.LoggingServiceV2|tailLogEntries}.
5835 * @param error Error, if any
5836 * @param [response] TailLogEntriesResponse
5837 */
5838 type TailLogEntriesCallback = (error: (Error|null), response?: google.logging.v2.TailLogEntriesResponse) => void;
5839 }
5840
5841 /** Properties of a DeleteLogRequest. */
5842 interface IDeleteLogRequest {
5843
5844 /** DeleteLogRequest logName */
5845 logName?: (string|null);
5846 }
5847
5848 /** Represents a DeleteLogRequest. */
5849 class DeleteLogRequest implements IDeleteLogRequest {
5850
5851 /**
5852 * Constructs a new DeleteLogRequest.
5853 * @param [properties] Properties to set
5854 */
5855 constructor(properties?: google.logging.v2.IDeleteLogRequest);
5856
5857 /** DeleteLogRequest logName. */
5858 public logName: string;
5859
5860 /**
5861 * Creates a new DeleteLogRequest instance using the specified properties.
5862 * @param [properties] Properties to set
5863 * @returns DeleteLogRequest instance
5864 */
5865 public static create(properties?: google.logging.v2.IDeleteLogRequest): google.logging.v2.DeleteLogRequest;
5866
5867 /**
5868 * Encodes the specified DeleteLogRequest message. Does not implicitly {@link google.logging.v2.DeleteLogRequest.verify|verify} messages.
5869 * @param message DeleteLogRequest message or plain object to encode
5870 * @param [writer] Writer to encode to
5871 * @returns Writer
5872 */
5873 public static encode(message: google.logging.v2.IDeleteLogRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5874
5875 /**
5876 * Encodes the specified DeleteLogRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteLogRequest.verify|verify} messages.
5877 * @param message DeleteLogRequest message or plain object to encode
5878 * @param [writer] Writer to encode to
5879 * @returns Writer
5880 */
5881 public static encodeDelimited(message: google.logging.v2.IDeleteLogRequest, writer?: $protobuf.Writer): $protobuf.Writer;
5882
5883 /**
5884 * Decodes a DeleteLogRequest message from the specified reader or buffer.
5885 * @param reader Reader or buffer to decode from
5886 * @param [length] Message length if known beforehand
5887 * @returns DeleteLogRequest
5888 * @throws {Error} If the payload is not a reader or valid buffer
5889 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5890 */
5891 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteLogRequest;
5892
5893 /**
5894 * Decodes a DeleteLogRequest message from the specified reader or buffer, length delimited.
5895 * @param reader Reader or buffer to decode from
5896 * @returns DeleteLogRequest
5897 * @throws {Error} If the payload is not a reader or valid buffer
5898 * @throws {$protobuf.util.ProtocolError} If required fields are missing
5899 */
5900 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteLogRequest;
5901
5902 /**
5903 * Verifies a DeleteLogRequest message.
5904 * @param message Plain object to verify
5905 * @returns `null` if valid, otherwise the reason why it is not
5906 */
5907 public static verify(message: { [k: string]: any }): (string|null);
5908
5909 /**
5910 * Creates a DeleteLogRequest message from a plain object. Also converts values to their respective internal types.
5911 * @param object Plain object
5912 * @returns DeleteLogRequest
5913 */
5914 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteLogRequest;
5915
5916 /**
5917 * Creates a plain object from a DeleteLogRequest message. Also converts values to other types if specified.
5918 * @param message DeleteLogRequest
5919 * @param [options] Conversion options
5920 * @returns Plain object
5921 */
5922 public static toObject(message: google.logging.v2.DeleteLogRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
5923
5924 /**
5925 * Converts this DeleteLogRequest to JSON.
5926 * @returns JSON object
5927 */
5928 public toJSON(): { [k: string]: any };
5929
5930 /**
5931 * Gets the default type url for DeleteLogRequest
5932 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
5933 * @returns The default type url
5934 */
5935 public static getTypeUrl(typeUrlPrefix?: string): string;
5936 }
5937
5938 /** Properties of a WriteLogEntriesRequest. */
5939 interface IWriteLogEntriesRequest {
5940
5941 /** WriteLogEntriesRequest logName */
5942 logName?: (string|null);
5943
5944 /** WriteLogEntriesRequest resource */
5945 resource?: (google.api.IMonitoredResource|null);
5946
5947 /** WriteLogEntriesRequest labels */
5948 labels?: ({ [k: string]: string }|null);
5949
5950 /** WriteLogEntriesRequest entries */
5951 entries?: (google.logging.v2.ILogEntry[]|null);
5952
5953 /** WriteLogEntriesRequest partialSuccess */
5954 partialSuccess?: (boolean|null);
5955
5956 /** WriteLogEntriesRequest dryRun */
5957 dryRun?: (boolean|null);
5958 }
5959
5960 /** Represents a WriteLogEntriesRequest. */
5961 class WriteLogEntriesRequest implements IWriteLogEntriesRequest {
5962
5963 /**
5964 * Constructs a new WriteLogEntriesRequest.
5965 * @param [properties] Properties to set
5966 */
5967 constructor(properties?: google.logging.v2.IWriteLogEntriesRequest);
5968
5969 /** WriteLogEntriesRequest logName. */
5970 public logName: string;
5971
5972 /** WriteLogEntriesRequest resource. */
5973 public resource?: (google.api.IMonitoredResource|null);
5974
5975 /** WriteLogEntriesRequest labels. */
5976 public labels: { [k: string]: string };
5977
5978 /** WriteLogEntriesRequest entries. */
5979 public entries: google.logging.v2.ILogEntry[];
5980
5981 /** WriteLogEntriesRequest partialSuccess. */
5982 public partialSuccess: boolean;
5983
5984 /** WriteLogEntriesRequest dryRun. */
5985 public dryRun: boolean;
5986
5987 /**
5988 * Creates a new WriteLogEntriesRequest instance using the specified properties.
5989 * @param [properties] Properties to set
5990 * @returns WriteLogEntriesRequest instance
5991 */
5992 public static create(properties?: google.logging.v2.IWriteLogEntriesRequest): google.logging.v2.WriteLogEntriesRequest;
5993
5994 /**
5995 * Encodes the specified WriteLogEntriesRequest message. Does not implicitly {@link google.logging.v2.WriteLogEntriesRequest.verify|verify} messages.
5996 * @param message WriteLogEntriesRequest message or plain object to encode
5997 * @param [writer] Writer to encode to
5998 * @returns Writer
5999 */
6000 public static encode(message: google.logging.v2.IWriteLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6001
6002 /**
6003 * Encodes the specified WriteLogEntriesRequest message, length delimited. Does not implicitly {@link google.logging.v2.WriteLogEntriesRequest.verify|verify} messages.
6004 * @param message WriteLogEntriesRequest message or plain object to encode
6005 * @param [writer] Writer to encode to
6006 * @returns Writer
6007 */
6008 public static encodeDelimited(message: google.logging.v2.IWriteLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6009
6010 /**
6011 * Decodes a WriteLogEntriesRequest message from the specified reader or buffer.
6012 * @param reader Reader or buffer to decode from
6013 * @param [length] Message length if known beforehand
6014 * @returns WriteLogEntriesRequest
6015 * @throws {Error} If the payload is not a reader or valid buffer
6016 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6017 */
6018 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.WriteLogEntriesRequest;
6019
6020 /**
6021 * Decodes a WriteLogEntriesRequest message from the specified reader or buffer, length delimited.
6022 * @param reader Reader or buffer to decode from
6023 * @returns WriteLogEntriesRequest
6024 * @throws {Error} If the payload is not a reader or valid buffer
6025 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6026 */
6027 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.WriteLogEntriesRequest;
6028
6029 /**
6030 * Verifies a WriteLogEntriesRequest message.
6031 * @param message Plain object to verify
6032 * @returns `null` if valid, otherwise the reason why it is not
6033 */
6034 public static verify(message: { [k: string]: any }): (string|null);
6035
6036 /**
6037 * Creates a WriteLogEntriesRequest message from a plain object. Also converts values to their respective internal types.
6038 * @param object Plain object
6039 * @returns WriteLogEntriesRequest
6040 */
6041 public static fromObject(object: { [k: string]: any }): google.logging.v2.WriteLogEntriesRequest;
6042
6043 /**
6044 * Creates a plain object from a WriteLogEntriesRequest message. Also converts values to other types if specified.
6045 * @param message WriteLogEntriesRequest
6046 * @param [options] Conversion options
6047 * @returns Plain object
6048 */
6049 public static toObject(message: google.logging.v2.WriteLogEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6050
6051 /**
6052 * Converts this WriteLogEntriesRequest to JSON.
6053 * @returns JSON object
6054 */
6055 public toJSON(): { [k: string]: any };
6056
6057 /**
6058 * Gets the default type url for WriteLogEntriesRequest
6059 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6060 * @returns The default type url
6061 */
6062 public static getTypeUrl(typeUrlPrefix?: string): string;
6063 }
6064
6065 /** Properties of a WriteLogEntriesResponse. */
6066 interface IWriteLogEntriesResponse {
6067 }
6068
6069 /** Represents a WriteLogEntriesResponse. */
6070 class WriteLogEntriesResponse implements IWriteLogEntriesResponse {
6071
6072 /**
6073 * Constructs a new WriteLogEntriesResponse.
6074 * @param [properties] Properties to set
6075 */
6076 constructor(properties?: google.logging.v2.IWriteLogEntriesResponse);
6077
6078 /**
6079 * Creates a new WriteLogEntriesResponse instance using the specified properties.
6080 * @param [properties] Properties to set
6081 * @returns WriteLogEntriesResponse instance
6082 */
6083 public static create(properties?: google.logging.v2.IWriteLogEntriesResponse): google.logging.v2.WriteLogEntriesResponse;
6084
6085 /**
6086 * Encodes the specified WriteLogEntriesResponse message. Does not implicitly {@link google.logging.v2.WriteLogEntriesResponse.verify|verify} messages.
6087 * @param message WriteLogEntriesResponse message or plain object to encode
6088 * @param [writer] Writer to encode to
6089 * @returns Writer
6090 */
6091 public static encode(message: google.logging.v2.IWriteLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6092
6093 /**
6094 * Encodes the specified WriteLogEntriesResponse message, length delimited. Does not implicitly {@link google.logging.v2.WriteLogEntriesResponse.verify|verify} messages.
6095 * @param message WriteLogEntriesResponse message or plain object to encode
6096 * @param [writer] Writer to encode to
6097 * @returns Writer
6098 */
6099 public static encodeDelimited(message: google.logging.v2.IWriteLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6100
6101 /**
6102 * Decodes a WriteLogEntriesResponse message from the specified reader or buffer.
6103 * @param reader Reader or buffer to decode from
6104 * @param [length] Message length if known beforehand
6105 * @returns WriteLogEntriesResponse
6106 * @throws {Error} If the payload is not a reader or valid buffer
6107 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6108 */
6109 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.WriteLogEntriesResponse;
6110
6111 /**
6112 * Decodes a WriteLogEntriesResponse message from the specified reader or buffer, length delimited.
6113 * @param reader Reader or buffer to decode from
6114 * @returns WriteLogEntriesResponse
6115 * @throws {Error} If the payload is not a reader or valid buffer
6116 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6117 */
6118 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.WriteLogEntriesResponse;
6119
6120 /**
6121 * Verifies a WriteLogEntriesResponse message.
6122 * @param message Plain object to verify
6123 * @returns `null` if valid, otherwise the reason why it is not
6124 */
6125 public static verify(message: { [k: string]: any }): (string|null);
6126
6127 /**
6128 * Creates a WriteLogEntriesResponse message from a plain object. Also converts values to their respective internal types.
6129 * @param object Plain object
6130 * @returns WriteLogEntriesResponse
6131 */
6132 public static fromObject(object: { [k: string]: any }): google.logging.v2.WriteLogEntriesResponse;
6133
6134 /**
6135 * Creates a plain object from a WriteLogEntriesResponse message. Also converts values to other types if specified.
6136 * @param message WriteLogEntriesResponse
6137 * @param [options] Conversion options
6138 * @returns Plain object
6139 */
6140 public static toObject(message: google.logging.v2.WriteLogEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
6141
6142 /**
6143 * Converts this WriteLogEntriesResponse to JSON.
6144 * @returns JSON object
6145 */
6146 public toJSON(): { [k: string]: any };
6147
6148 /**
6149 * Gets the default type url for WriteLogEntriesResponse
6150 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6151 * @returns The default type url
6152 */
6153 public static getTypeUrl(typeUrlPrefix?: string): string;
6154 }
6155
6156 /** Properties of a WriteLogEntriesPartialErrors. */
6157 interface IWriteLogEntriesPartialErrors {
6158
6159 /** WriteLogEntriesPartialErrors logEntryErrors */
6160 logEntryErrors?: ({ [k: string]: google.rpc.IStatus }|null);
6161 }
6162
6163 /** Represents a WriteLogEntriesPartialErrors. */
6164 class WriteLogEntriesPartialErrors implements IWriteLogEntriesPartialErrors {
6165
6166 /**
6167 * Constructs a new WriteLogEntriesPartialErrors.
6168 * @param [properties] Properties to set
6169 */
6170 constructor(properties?: google.logging.v2.IWriteLogEntriesPartialErrors);
6171
6172 /** WriteLogEntriesPartialErrors logEntryErrors. */
6173 public logEntryErrors: { [k: string]: google.rpc.IStatus };
6174
6175 /**
6176 * Creates a new WriteLogEntriesPartialErrors instance using the specified properties.
6177 * @param [properties] Properties to set
6178 * @returns WriteLogEntriesPartialErrors instance
6179 */
6180 public static create(properties?: google.logging.v2.IWriteLogEntriesPartialErrors): google.logging.v2.WriteLogEntriesPartialErrors;
6181
6182 /**
6183 * Encodes the specified WriteLogEntriesPartialErrors message. Does not implicitly {@link google.logging.v2.WriteLogEntriesPartialErrors.verify|verify} messages.
6184 * @param message WriteLogEntriesPartialErrors message or plain object to encode
6185 * @param [writer] Writer to encode to
6186 * @returns Writer
6187 */
6188 public static encode(message: google.logging.v2.IWriteLogEntriesPartialErrors, writer?: $protobuf.Writer): $protobuf.Writer;
6189
6190 /**
6191 * Encodes the specified WriteLogEntriesPartialErrors message, length delimited. Does not implicitly {@link google.logging.v2.WriteLogEntriesPartialErrors.verify|verify} messages.
6192 * @param message WriteLogEntriesPartialErrors message or plain object to encode
6193 * @param [writer] Writer to encode to
6194 * @returns Writer
6195 */
6196 public static encodeDelimited(message: google.logging.v2.IWriteLogEntriesPartialErrors, writer?: $protobuf.Writer): $protobuf.Writer;
6197
6198 /**
6199 * Decodes a WriteLogEntriesPartialErrors message from the specified reader or buffer.
6200 * @param reader Reader or buffer to decode from
6201 * @param [length] Message length if known beforehand
6202 * @returns WriteLogEntriesPartialErrors
6203 * @throws {Error} If the payload is not a reader or valid buffer
6204 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6205 */
6206 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.WriteLogEntriesPartialErrors;
6207
6208 /**
6209 * Decodes a WriteLogEntriesPartialErrors message from the specified reader or buffer, length delimited.
6210 * @param reader Reader or buffer to decode from
6211 * @returns WriteLogEntriesPartialErrors
6212 * @throws {Error} If the payload is not a reader or valid buffer
6213 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6214 */
6215 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.WriteLogEntriesPartialErrors;
6216
6217 /**
6218 * Verifies a WriteLogEntriesPartialErrors message.
6219 * @param message Plain object to verify
6220 * @returns `null` if valid, otherwise the reason why it is not
6221 */
6222 public static verify(message: { [k: string]: any }): (string|null);
6223
6224 /**
6225 * Creates a WriteLogEntriesPartialErrors message from a plain object. Also converts values to their respective internal types.
6226 * @param object Plain object
6227 * @returns WriteLogEntriesPartialErrors
6228 */
6229 public static fromObject(object: { [k: string]: any }): google.logging.v2.WriteLogEntriesPartialErrors;
6230
6231 /**
6232 * Creates a plain object from a WriteLogEntriesPartialErrors message. Also converts values to other types if specified.
6233 * @param message WriteLogEntriesPartialErrors
6234 * @param [options] Conversion options
6235 * @returns Plain object
6236 */
6237 public static toObject(message: google.logging.v2.WriteLogEntriesPartialErrors, options?: $protobuf.IConversionOptions): { [k: string]: any };
6238
6239 /**
6240 * Converts this WriteLogEntriesPartialErrors to JSON.
6241 * @returns JSON object
6242 */
6243 public toJSON(): { [k: string]: any };
6244
6245 /**
6246 * Gets the default type url for WriteLogEntriesPartialErrors
6247 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6248 * @returns The default type url
6249 */
6250 public static getTypeUrl(typeUrlPrefix?: string): string;
6251 }
6252
6253 /** Properties of a ListLogEntriesRequest. */
6254 interface IListLogEntriesRequest {
6255
6256 /** ListLogEntriesRequest resourceNames */
6257 resourceNames?: (string[]|null);
6258
6259 /** ListLogEntriesRequest filter */
6260 filter?: (string|null);
6261
6262 /** ListLogEntriesRequest orderBy */
6263 orderBy?: (string|null);
6264
6265 /** ListLogEntriesRequest pageSize */
6266 pageSize?: (number|null);
6267
6268 /** ListLogEntriesRequest pageToken */
6269 pageToken?: (string|null);
6270 }
6271
6272 /** Represents a ListLogEntriesRequest. */
6273 class ListLogEntriesRequest implements IListLogEntriesRequest {
6274
6275 /**
6276 * Constructs a new ListLogEntriesRequest.
6277 * @param [properties] Properties to set
6278 */
6279 constructor(properties?: google.logging.v2.IListLogEntriesRequest);
6280
6281 /** ListLogEntriesRequest resourceNames. */
6282 public resourceNames: string[];
6283
6284 /** ListLogEntriesRequest filter. */
6285 public filter: string;
6286
6287 /** ListLogEntriesRequest orderBy. */
6288 public orderBy: string;
6289
6290 /** ListLogEntriesRequest pageSize. */
6291 public pageSize: number;
6292
6293 /** ListLogEntriesRequest pageToken. */
6294 public pageToken: string;
6295
6296 /**
6297 * Creates a new ListLogEntriesRequest instance using the specified properties.
6298 * @param [properties] Properties to set
6299 * @returns ListLogEntriesRequest instance
6300 */
6301 public static create(properties?: google.logging.v2.IListLogEntriesRequest): google.logging.v2.ListLogEntriesRequest;
6302
6303 /**
6304 * Encodes the specified ListLogEntriesRequest message. Does not implicitly {@link google.logging.v2.ListLogEntriesRequest.verify|verify} messages.
6305 * @param message ListLogEntriesRequest message or plain object to encode
6306 * @param [writer] Writer to encode to
6307 * @returns Writer
6308 */
6309 public static encode(message: google.logging.v2.IListLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6310
6311 /**
6312 * Encodes the specified ListLogEntriesRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListLogEntriesRequest.verify|verify} messages.
6313 * @param message ListLogEntriesRequest message or plain object to encode
6314 * @param [writer] Writer to encode to
6315 * @returns Writer
6316 */
6317 public static encodeDelimited(message: google.logging.v2.IListLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6318
6319 /**
6320 * Decodes a ListLogEntriesRequest message from the specified reader or buffer.
6321 * @param reader Reader or buffer to decode from
6322 * @param [length] Message length if known beforehand
6323 * @returns ListLogEntriesRequest
6324 * @throws {Error} If the payload is not a reader or valid buffer
6325 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6326 */
6327 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogEntriesRequest;
6328
6329 /**
6330 * Decodes a ListLogEntriesRequest message from the specified reader or buffer, length delimited.
6331 * @param reader Reader or buffer to decode from
6332 * @returns ListLogEntriesRequest
6333 * @throws {Error} If the payload is not a reader or valid buffer
6334 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6335 */
6336 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogEntriesRequest;
6337
6338 /**
6339 * Verifies a ListLogEntriesRequest message.
6340 * @param message Plain object to verify
6341 * @returns `null` if valid, otherwise the reason why it is not
6342 */
6343 public static verify(message: { [k: string]: any }): (string|null);
6344
6345 /**
6346 * Creates a ListLogEntriesRequest message from a plain object. Also converts values to their respective internal types.
6347 * @param object Plain object
6348 * @returns ListLogEntriesRequest
6349 */
6350 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogEntriesRequest;
6351
6352 /**
6353 * Creates a plain object from a ListLogEntriesRequest message. Also converts values to other types if specified.
6354 * @param message ListLogEntriesRequest
6355 * @param [options] Conversion options
6356 * @returns Plain object
6357 */
6358 public static toObject(message: google.logging.v2.ListLogEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6359
6360 /**
6361 * Converts this ListLogEntriesRequest to JSON.
6362 * @returns JSON object
6363 */
6364 public toJSON(): { [k: string]: any };
6365
6366 /**
6367 * Gets the default type url for ListLogEntriesRequest
6368 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6369 * @returns The default type url
6370 */
6371 public static getTypeUrl(typeUrlPrefix?: string): string;
6372 }
6373
6374 /** Properties of a ListLogEntriesResponse. */
6375 interface IListLogEntriesResponse {
6376
6377 /** ListLogEntriesResponse entries */
6378 entries?: (google.logging.v2.ILogEntry[]|null);
6379
6380 /** ListLogEntriesResponse nextPageToken */
6381 nextPageToken?: (string|null);
6382 }
6383
6384 /** Represents a ListLogEntriesResponse. */
6385 class ListLogEntriesResponse implements IListLogEntriesResponse {
6386
6387 /**
6388 * Constructs a new ListLogEntriesResponse.
6389 * @param [properties] Properties to set
6390 */
6391 constructor(properties?: google.logging.v2.IListLogEntriesResponse);
6392
6393 /** ListLogEntriesResponse entries. */
6394 public entries: google.logging.v2.ILogEntry[];
6395
6396 /** ListLogEntriesResponse nextPageToken. */
6397 public nextPageToken: string;
6398
6399 /**
6400 * Creates a new ListLogEntriesResponse instance using the specified properties.
6401 * @param [properties] Properties to set
6402 * @returns ListLogEntriesResponse instance
6403 */
6404 public static create(properties?: google.logging.v2.IListLogEntriesResponse): google.logging.v2.ListLogEntriesResponse;
6405
6406 /**
6407 * Encodes the specified ListLogEntriesResponse message. Does not implicitly {@link google.logging.v2.ListLogEntriesResponse.verify|verify} messages.
6408 * @param message ListLogEntriesResponse message or plain object to encode
6409 * @param [writer] Writer to encode to
6410 * @returns Writer
6411 */
6412 public static encode(message: google.logging.v2.IListLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6413
6414 /**
6415 * Encodes the specified ListLogEntriesResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListLogEntriesResponse.verify|verify} messages.
6416 * @param message ListLogEntriesResponse message or plain object to encode
6417 * @param [writer] Writer to encode to
6418 * @returns Writer
6419 */
6420 public static encodeDelimited(message: google.logging.v2.IListLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6421
6422 /**
6423 * Decodes a ListLogEntriesResponse message from the specified reader or buffer.
6424 * @param reader Reader or buffer to decode from
6425 * @param [length] Message length if known beforehand
6426 * @returns ListLogEntriesResponse
6427 * @throws {Error} If the payload is not a reader or valid buffer
6428 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6429 */
6430 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogEntriesResponse;
6431
6432 /**
6433 * Decodes a ListLogEntriesResponse message from the specified reader or buffer, length delimited.
6434 * @param reader Reader or buffer to decode from
6435 * @returns ListLogEntriesResponse
6436 * @throws {Error} If the payload is not a reader or valid buffer
6437 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6438 */
6439 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogEntriesResponse;
6440
6441 /**
6442 * Verifies a ListLogEntriesResponse message.
6443 * @param message Plain object to verify
6444 * @returns `null` if valid, otherwise the reason why it is not
6445 */
6446 public static verify(message: { [k: string]: any }): (string|null);
6447
6448 /**
6449 * Creates a ListLogEntriesResponse message from a plain object. Also converts values to their respective internal types.
6450 * @param object Plain object
6451 * @returns ListLogEntriesResponse
6452 */
6453 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogEntriesResponse;
6454
6455 /**
6456 * Creates a plain object from a ListLogEntriesResponse message. Also converts values to other types if specified.
6457 * @param message ListLogEntriesResponse
6458 * @param [options] Conversion options
6459 * @returns Plain object
6460 */
6461 public static toObject(message: google.logging.v2.ListLogEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
6462
6463 /**
6464 * Converts this ListLogEntriesResponse to JSON.
6465 * @returns JSON object
6466 */
6467 public toJSON(): { [k: string]: any };
6468
6469 /**
6470 * Gets the default type url for ListLogEntriesResponse
6471 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6472 * @returns The default type url
6473 */
6474 public static getTypeUrl(typeUrlPrefix?: string): string;
6475 }
6476
6477 /** Properties of a ListMonitoredResourceDescriptorsRequest. */
6478 interface IListMonitoredResourceDescriptorsRequest {
6479
6480 /** ListMonitoredResourceDescriptorsRequest pageSize */
6481 pageSize?: (number|null);
6482
6483 /** ListMonitoredResourceDescriptorsRequest pageToken */
6484 pageToken?: (string|null);
6485 }
6486
6487 /** Represents a ListMonitoredResourceDescriptorsRequest. */
6488 class ListMonitoredResourceDescriptorsRequest implements IListMonitoredResourceDescriptorsRequest {
6489
6490 /**
6491 * Constructs a new ListMonitoredResourceDescriptorsRequest.
6492 * @param [properties] Properties to set
6493 */
6494 constructor(properties?: google.logging.v2.IListMonitoredResourceDescriptorsRequest);
6495
6496 /** ListMonitoredResourceDescriptorsRequest pageSize. */
6497 public pageSize: number;
6498
6499 /** ListMonitoredResourceDescriptorsRequest pageToken. */
6500 public pageToken: string;
6501
6502 /**
6503 * Creates a new ListMonitoredResourceDescriptorsRequest instance using the specified properties.
6504 * @param [properties] Properties to set
6505 * @returns ListMonitoredResourceDescriptorsRequest instance
6506 */
6507 public static create(properties?: google.logging.v2.IListMonitoredResourceDescriptorsRequest): google.logging.v2.ListMonitoredResourceDescriptorsRequest;
6508
6509 /**
6510 * Encodes the specified ListMonitoredResourceDescriptorsRequest message. Does not implicitly {@link google.logging.v2.ListMonitoredResourceDescriptorsRequest.verify|verify} messages.
6511 * @param message ListMonitoredResourceDescriptorsRequest message or plain object to encode
6512 * @param [writer] Writer to encode to
6513 * @returns Writer
6514 */
6515 public static encode(message: google.logging.v2.IListMonitoredResourceDescriptorsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6516
6517 /**
6518 * Encodes the specified ListMonitoredResourceDescriptorsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListMonitoredResourceDescriptorsRequest.verify|verify} messages.
6519 * @param message ListMonitoredResourceDescriptorsRequest message or plain object to encode
6520 * @param [writer] Writer to encode to
6521 * @returns Writer
6522 */
6523 public static encodeDelimited(message: google.logging.v2.IListMonitoredResourceDescriptorsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6524
6525 /**
6526 * Decodes a ListMonitoredResourceDescriptorsRequest message from the specified reader or buffer.
6527 * @param reader Reader or buffer to decode from
6528 * @param [length] Message length if known beforehand
6529 * @returns ListMonitoredResourceDescriptorsRequest
6530 * @throws {Error} If the payload is not a reader or valid buffer
6531 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6532 */
6533 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListMonitoredResourceDescriptorsRequest;
6534
6535 /**
6536 * Decodes a ListMonitoredResourceDescriptorsRequest message from the specified reader or buffer, length delimited.
6537 * @param reader Reader or buffer to decode from
6538 * @returns ListMonitoredResourceDescriptorsRequest
6539 * @throws {Error} If the payload is not a reader or valid buffer
6540 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6541 */
6542 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListMonitoredResourceDescriptorsRequest;
6543
6544 /**
6545 * Verifies a ListMonitoredResourceDescriptorsRequest message.
6546 * @param message Plain object to verify
6547 * @returns `null` if valid, otherwise the reason why it is not
6548 */
6549 public static verify(message: { [k: string]: any }): (string|null);
6550
6551 /**
6552 * Creates a ListMonitoredResourceDescriptorsRequest message from a plain object. Also converts values to their respective internal types.
6553 * @param object Plain object
6554 * @returns ListMonitoredResourceDescriptorsRequest
6555 */
6556 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListMonitoredResourceDescriptorsRequest;
6557
6558 /**
6559 * Creates a plain object from a ListMonitoredResourceDescriptorsRequest message. Also converts values to other types if specified.
6560 * @param message ListMonitoredResourceDescriptorsRequest
6561 * @param [options] Conversion options
6562 * @returns Plain object
6563 */
6564 public static toObject(message: google.logging.v2.ListMonitoredResourceDescriptorsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6565
6566 /**
6567 * Converts this ListMonitoredResourceDescriptorsRequest to JSON.
6568 * @returns JSON object
6569 */
6570 public toJSON(): { [k: string]: any };
6571
6572 /**
6573 * Gets the default type url for ListMonitoredResourceDescriptorsRequest
6574 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6575 * @returns The default type url
6576 */
6577 public static getTypeUrl(typeUrlPrefix?: string): string;
6578 }
6579
6580 /** Properties of a ListMonitoredResourceDescriptorsResponse. */
6581 interface IListMonitoredResourceDescriptorsResponse {
6582
6583 /** ListMonitoredResourceDescriptorsResponse resourceDescriptors */
6584 resourceDescriptors?: (google.api.IMonitoredResourceDescriptor[]|null);
6585
6586 /** ListMonitoredResourceDescriptorsResponse nextPageToken */
6587 nextPageToken?: (string|null);
6588 }
6589
6590 /** Represents a ListMonitoredResourceDescriptorsResponse. */
6591 class ListMonitoredResourceDescriptorsResponse implements IListMonitoredResourceDescriptorsResponse {
6592
6593 /**
6594 * Constructs a new ListMonitoredResourceDescriptorsResponse.
6595 * @param [properties] Properties to set
6596 */
6597 constructor(properties?: google.logging.v2.IListMonitoredResourceDescriptorsResponse);
6598
6599 /** ListMonitoredResourceDescriptorsResponse resourceDescriptors. */
6600 public resourceDescriptors: google.api.IMonitoredResourceDescriptor[];
6601
6602 /** ListMonitoredResourceDescriptorsResponse nextPageToken. */
6603 public nextPageToken: string;
6604
6605 /**
6606 * Creates a new ListMonitoredResourceDescriptorsResponse instance using the specified properties.
6607 * @param [properties] Properties to set
6608 * @returns ListMonitoredResourceDescriptorsResponse instance
6609 */
6610 public static create(properties?: google.logging.v2.IListMonitoredResourceDescriptorsResponse): google.logging.v2.ListMonitoredResourceDescriptorsResponse;
6611
6612 /**
6613 * Encodes the specified ListMonitoredResourceDescriptorsResponse message. Does not implicitly {@link google.logging.v2.ListMonitoredResourceDescriptorsResponse.verify|verify} messages.
6614 * @param message ListMonitoredResourceDescriptorsResponse message or plain object to encode
6615 * @param [writer] Writer to encode to
6616 * @returns Writer
6617 */
6618 public static encode(message: google.logging.v2.IListMonitoredResourceDescriptorsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6619
6620 /**
6621 * Encodes the specified ListMonitoredResourceDescriptorsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListMonitoredResourceDescriptorsResponse.verify|verify} messages.
6622 * @param message ListMonitoredResourceDescriptorsResponse message or plain object to encode
6623 * @param [writer] Writer to encode to
6624 * @returns Writer
6625 */
6626 public static encodeDelimited(message: google.logging.v2.IListMonitoredResourceDescriptorsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6627
6628 /**
6629 * Decodes a ListMonitoredResourceDescriptorsResponse message from the specified reader or buffer.
6630 * @param reader Reader or buffer to decode from
6631 * @param [length] Message length if known beforehand
6632 * @returns ListMonitoredResourceDescriptorsResponse
6633 * @throws {Error} If the payload is not a reader or valid buffer
6634 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6635 */
6636 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListMonitoredResourceDescriptorsResponse;
6637
6638 /**
6639 * Decodes a ListMonitoredResourceDescriptorsResponse message from the specified reader or buffer, length delimited.
6640 * @param reader Reader or buffer to decode from
6641 * @returns ListMonitoredResourceDescriptorsResponse
6642 * @throws {Error} If the payload is not a reader or valid buffer
6643 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6644 */
6645 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListMonitoredResourceDescriptorsResponse;
6646
6647 /**
6648 * Verifies a ListMonitoredResourceDescriptorsResponse message.
6649 * @param message Plain object to verify
6650 * @returns `null` if valid, otherwise the reason why it is not
6651 */
6652 public static verify(message: { [k: string]: any }): (string|null);
6653
6654 /**
6655 * Creates a ListMonitoredResourceDescriptorsResponse message from a plain object. Also converts values to their respective internal types.
6656 * @param object Plain object
6657 * @returns ListMonitoredResourceDescriptorsResponse
6658 */
6659 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListMonitoredResourceDescriptorsResponse;
6660
6661 /**
6662 * Creates a plain object from a ListMonitoredResourceDescriptorsResponse message. Also converts values to other types if specified.
6663 * @param message ListMonitoredResourceDescriptorsResponse
6664 * @param [options] Conversion options
6665 * @returns Plain object
6666 */
6667 public static toObject(message: google.logging.v2.ListMonitoredResourceDescriptorsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
6668
6669 /**
6670 * Converts this ListMonitoredResourceDescriptorsResponse to JSON.
6671 * @returns JSON object
6672 */
6673 public toJSON(): { [k: string]: any };
6674
6675 /**
6676 * Gets the default type url for ListMonitoredResourceDescriptorsResponse
6677 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6678 * @returns The default type url
6679 */
6680 public static getTypeUrl(typeUrlPrefix?: string): string;
6681 }
6682
6683 /** Properties of a ListLogsRequest. */
6684 interface IListLogsRequest {
6685
6686 /** ListLogsRequest parent */
6687 parent?: (string|null);
6688
6689 /** ListLogsRequest resourceNames */
6690 resourceNames?: (string[]|null);
6691
6692 /** ListLogsRequest pageSize */
6693 pageSize?: (number|null);
6694
6695 /** ListLogsRequest pageToken */
6696 pageToken?: (string|null);
6697 }
6698
6699 /** Represents a ListLogsRequest. */
6700 class ListLogsRequest implements IListLogsRequest {
6701
6702 /**
6703 * Constructs a new ListLogsRequest.
6704 * @param [properties] Properties to set
6705 */
6706 constructor(properties?: google.logging.v2.IListLogsRequest);
6707
6708 /** ListLogsRequest parent. */
6709 public parent: string;
6710
6711 /** ListLogsRequest resourceNames. */
6712 public resourceNames: string[];
6713
6714 /** ListLogsRequest pageSize. */
6715 public pageSize: number;
6716
6717 /** ListLogsRequest pageToken. */
6718 public pageToken: string;
6719
6720 /**
6721 * Creates a new ListLogsRequest instance using the specified properties.
6722 * @param [properties] Properties to set
6723 * @returns ListLogsRequest instance
6724 */
6725 public static create(properties?: google.logging.v2.IListLogsRequest): google.logging.v2.ListLogsRequest;
6726
6727 /**
6728 * Encodes the specified ListLogsRequest message. Does not implicitly {@link google.logging.v2.ListLogsRequest.verify|verify} messages.
6729 * @param message ListLogsRequest message or plain object to encode
6730 * @param [writer] Writer to encode to
6731 * @returns Writer
6732 */
6733 public static encode(message: google.logging.v2.IListLogsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6734
6735 /**
6736 * Encodes the specified ListLogsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListLogsRequest.verify|verify} messages.
6737 * @param message ListLogsRequest message or plain object to encode
6738 * @param [writer] Writer to encode to
6739 * @returns Writer
6740 */
6741 public static encodeDelimited(message: google.logging.v2.IListLogsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6742
6743 /**
6744 * Decodes a ListLogsRequest message from the specified reader or buffer.
6745 * @param reader Reader or buffer to decode from
6746 * @param [length] Message length if known beforehand
6747 * @returns ListLogsRequest
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 decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogsRequest;
6752
6753 /**
6754 * Decodes a ListLogsRequest message from the specified reader or buffer, length delimited.
6755 * @param reader Reader or buffer to decode from
6756 * @returns ListLogsRequest
6757 * @throws {Error} If the payload is not a reader or valid buffer
6758 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6759 */
6760 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogsRequest;
6761
6762 /**
6763 * Verifies a ListLogsRequest message.
6764 * @param message Plain object to verify
6765 * @returns `null` if valid, otherwise the reason why it is not
6766 */
6767 public static verify(message: { [k: string]: any }): (string|null);
6768
6769 /**
6770 * Creates a ListLogsRequest message from a plain object. Also converts values to their respective internal types.
6771 * @param object Plain object
6772 * @returns ListLogsRequest
6773 */
6774 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogsRequest;
6775
6776 /**
6777 * Creates a plain object from a ListLogsRequest message. Also converts values to other types if specified.
6778 * @param message ListLogsRequest
6779 * @param [options] Conversion options
6780 * @returns Plain object
6781 */
6782 public static toObject(message: google.logging.v2.ListLogsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6783
6784 /**
6785 * Converts this ListLogsRequest to JSON.
6786 * @returns JSON object
6787 */
6788 public toJSON(): { [k: string]: any };
6789
6790 /**
6791 * Gets the default type url for ListLogsRequest
6792 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6793 * @returns The default type url
6794 */
6795 public static getTypeUrl(typeUrlPrefix?: string): string;
6796 }
6797
6798 /** Properties of a ListLogsResponse. */
6799 interface IListLogsResponse {
6800
6801 /** ListLogsResponse logNames */
6802 logNames?: (string[]|null);
6803
6804 /** ListLogsResponse nextPageToken */
6805 nextPageToken?: (string|null);
6806 }
6807
6808 /** Represents a ListLogsResponse. */
6809 class ListLogsResponse implements IListLogsResponse {
6810
6811 /**
6812 * Constructs a new ListLogsResponse.
6813 * @param [properties] Properties to set
6814 */
6815 constructor(properties?: google.logging.v2.IListLogsResponse);
6816
6817 /** ListLogsResponse logNames. */
6818 public logNames: string[];
6819
6820 /** ListLogsResponse nextPageToken. */
6821 public nextPageToken: string;
6822
6823 /**
6824 * Creates a new ListLogsResponse instance using the specified properties.
6825 * @param [properties] Properties to set
6826 * @returns ListLogsResponse instance
6827 */
6828 public static create(properties?: google.logging.v2.IListLogsResponse): google.logging.v2.ListLogsResponse;
6829
6830 /**
6831 * Encodes the specified ListLogsResponse message. Does not implicitly {@link google.logging.v2.ListLogsResponse.verify|verify} messages.
6832 * @param message ListLogsResponse message or plain object to encode
6833 * @param [writer] Writer to encode to
6834 * @returns Writer
6835 */
6836 public static encode(message: google.logging.v2.IListLogsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6837
6838 /**
6839 * Encodes the specified ListLogsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListLogsResponse.verify|verify} messages.
6840 * @param message ListLogsResponse message or plain object to encode
6841 * @param [writer] Writer to encode to
6842 * @returns Writer
6843 */
6844 public static encodeDelimited(message: google.logging.v2.IListLogsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
6845
6846 /**
6847 * Decodes a ListLogsResponse message from the specified reader or buffer.
6848 * @param reader Reader or buffer to decode from
6849 * @param [length] Message length if known beforehand
6850 * @returns ListLogsResponse
6851 * @throws {Error} If the payload is not a reader or valid buffer
6852 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6853 */
6854 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogsResponse;
6855
6856 /**
6857 * Decodes a ListLogsResponse message from the specified reader or buffer, length delimited.
6858 * @param reader Reader or buffer to decode from
6859 * @returns ListLogsResponse
6860 * @throws {Error} If the payload is not a reader or valid buffer
6861 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6862 */
6863 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogsResponse;
6864
6865 /**
6866 * Verifies a ListLogsResponse message.
6867 * @param message Plain object to verify
6868 * @returns `null` if valid, otherwise the reason why it is not
6869 */
6870 public static verify(message: { [k: string]: any }): (string|null);
6871
6872 /**
6873 * Creates a ListLogsResponse message from a plain object. Also converts values to their respective internal types.
6874 * @param object Plain object
6875 * @returns ListLogsResponse
6876 */
6877 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogsResponse;
6878
6879 /**
6880 * Creates a plain object from a ListLogsResponse message. Also converts values to other types if specified.
6881 * @param message ListLogsResponse
6882 * @param [options] Conversion options
6883 * @returns Plain object
6884 */
6885 public static toObject(message: google.logging.v2.ListLogsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
6886
6887 /**
6888 * Converts this ListLogsResponse to JSON.
6889 * @returns JSON object
6890 */
6891 public toJSON(): { [k: string]: any };
6892
6893 /**
6894 * Gets the default type url for ListLogsResponse
6895 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
6896 * @returns The default type url
6897 */
6898 public static getTypeUrl(typeUrlPrefix?: string): string;
6899 }
6900
6901 /** Properties of a TailLogEntriesRequest. */
6902 interface ITailLogEntriesRequest {
6903
6904 /** TailLogEntriesRequest resourceNames */
6905 resourceNames?: (string[]|null);
6906
6907 /** TailLogEntriesRequest filter */
6908 filter?: (string|null);
6909
6910 /** TailLogEntriesRequest bufferWindow */
6911 bufferWindow?: (google.protobuf.IDuration|null);
6912 }
6913
6914 /** Represents a TailLogEntriesRequest. */
6915 class TailLogEntriesRequest implements ITailLogEntriesRequest {
6916
6917 /**
6918 * Constructs a new TailLogEntriesRequest.
6919 * @param [properties] Properties to set
6920 */
6921 constructor(properties?: google.logging.v2.ITailLogEntriesRequest);
6922
6923 /** TailLogEntriesRequest resourceNames. */
6924 public resourceNames: string[];
6925
6926 /** TailLogEntriesRequest filter. */
6927 public filter: string;
6928
6929 /** TailLogEntriesRequest bufferWindow. */
6930 public bufferWindow?: (google.protobuf.IDuration|null);
6931
6932 /**
6933 * Creates a new TailLogEntriesRequest instance using the specified properties.
6934 * @param [properties] Properties to set
6935 * @returns TailLogEntriesRequest instance
6936 */
6937 public static create(properties?: google.logging.v2.ITailLogEntriesRequest): google.logging.v2.TailLogEntriesRequest;
6938
6939 /**
6940 * Encodes the specified TailLogEntriesRequest message. Does not implicitly {@link google.logging.v2.TailLogEntriesRequest.verify|verify} messages.
6941 * @param message TailLogEntriesRequest message or plain object to encode
6942 * @param [writer] Writer to encode to
6943 * @returns Writer
6944 */
6945 public static encode(message: google.logging.v2.ITailLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6946
6947 /**
6948 * Encodes the specified TailLogEntriesRequest message, length delimited. Does not implicitly {@link google.logging.v2.TailLogEntriesRequest.verify|verify} messages.
6949 * @param message TailLogEntriesRequest message or plain object to encode
6950 * @param [writer] Writer to encode to
6951 * @returns Writer
6952 */
6953 public static encodeDelimited(message: google.logging.v2.ITailLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
6954
6955 /**
6956 * Decodes a TailLogEntriesRequest message from the specified reader or buffer.
6957 * @param reader Reader or buffer to decode from
6958 * @param [length] Message length if known beforehand
6959 * @returns TailLogEntriesRequest
6960 * @throws {Error} If the payload is not a reader or valid buffer
6961 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6962 */
6963 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.TailLogEntriesRequest;
6964
6965 /**
6966 * Decodes a TailLogEntriesRequest message from the specified reader or buffer, length delimited.
6967 * @param reader Reader or buffer to decode from
6968 * @returns TailLogEntriesRequest
6969 * @throws {Error} If the payload is not a reader or valid buffer
6970 * @throws {$protobuf.util.ProtocolError} If required fields are missing
6971 */
6972 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.TailLogEntriesRequest;
6973
6974 /**
6975 * Verifies a TailLogEntriesRequest message.
6976 * @param message Plain object to verify
6977 * @returns `null` if valid, otherwise the reason why it is not
6978 */
6979 public static verify(message: { [k: string]: any }): (string|null);
6980
6981 /**
6982 * Creates a TailLogEntriesRequest message from a plain object. Also converts values to their respective internal types.
6983 * @param object Plain object
6984 * @returns TailLogEntriesRequest
6985 */
6986 public static fromObject(object: { [k: string]: any }): google.logging.v2.TailLogEntriesRequest;
6987
6988 /**
6989 * Creates a plain object from a TailLogEntriesRequest message. Also converts values to other types if specified.
6990 * @param message TailLogEntriesRequest
6991 * @param [options] Conversion options
6992 * @returns Plain object
6993 */
6994 public static toObject(message: google.logging.v2.TailLogEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
6995
6996 /**
6997 * Converts this TailLogEntriesRequest to JSON.
6998 * @returns JSON object
6999 */
7000 public toJSON(): { [k: string]: any };
7001
7002 /**
7003 * Gets the default type url for TailLogEntriesRequest
7004 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7005 * @returns The default type url
7006 */
7007 public static getTypeUrl(typeUrlPrefix?: string): string;
7008 }
7009
7010 /** Properties of a TailLogEntriesResponse. */
7011 interface ITailLogEntriesResponse {
7012
7013 /** TailLogEntriesResponse entries */
7014 entries?: (google.logging.v2.ILogEntry[]|null);
7015
7016 /** TailLogEntriesResponse suppressionInfo */
7017 suppressionInfo?: (google.logging.v2.TailLogEntriesResponse.ISuppressionInfo[]|null);
7018 }
7019
7020 /** Represents a TailLogEntriesResponse. */
7021 class TailLogEntriesResponse implements ITailLogEntriesResponse {
7022
7023 /**
7024 * Constructs a new TailLogEntriesResponse.
7025 * @param [properties] Properties to set
7026 */
7027 constructor(properties?: google.logging.v2.ITailLogEntriesResponse);
7028
7029 /** TailLogEntriesResponse entries. */
7030 public entries: google.logging.v2.ILogEntry[];
7031
7032 /** TailLogEntriesResponse suppressionInfo. */
7033 public suppressionInfo: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo[];
7034
7035 /**
7036 * Creates a new TailLogEntriesResponse instance using the specified properties.
7037 * @param [properties] Properties to set
7038 * @returns TailLogEntriesResponse instance
7039 */
7040 public static create(properties?: google.logging.v2.ITailLogEntriesResponse): google.logging.v2.TailLogEntriesResponse;
7041
7042 /**
7043 * Encodes the specified TailLogEntriesResponse message. Does not implicitly {@link google.logging.v2.TailLogEntriesResponse.verify|verify} messages.
7044 * @param message TailLogEntriesResponse message or plain object to encode
7045 * @param [writer] Writer to encode to
7046 * @returns Writer
7047 */
7048 public static encode(message: google.logging.v2.ITailLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7049
7050 /**
7051 * Encodes the specified TailLogEntriesResponse message, length delimited. Does not implicitly {@link google.logging.v2.TailLogEntriesResponse.verify|verify} messages.
7052 * @param message TailLogEntriesResponse message or plain object to encode
7053 * @param [writer] Writer to encode to
7054 * @returns Writer
7055 */
7056 public static encodeDelimited(message: google.logging.v2.ITailLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
7057
7058 /**
7059 * Decodes a TailLogEntriesResponse message from the specified reader or buffer.
7060 * @param reader Reader or buffer to decode from
7061 * @param [length] Message length if known beforehand
7062 * @returns TailLogEntriesResponse
7063 * @throws {Error} If the payload is not a reader or valid buffer
7064 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7065 */
7066 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.TailLogEntriesResponse;
7067
7068 /**
7069 * Decodes a TailLogEntriesResponse message from the specified reader or buffer, length delimited.
7070 * @param reader Reader or buffer to decode from
7071 * @returns TailLogEntriesResponse
7072 * @throws {Error} If the payload is not a reader or valid buffer
7073 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7074 */
7075 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.TailLogEntriesResponse;
7076
7077 /**
7078 * Verifies a TailLogEntriesResponse message.
7079 * @param message Plain object to verify
7080 * @returns `null` if valid, otherwise the reason why it is not
7081 */
7082 public static verify(message: { [k: string]: any }): (string|null);
7083
7084 /**
7085 * Creates a TailLogEntriesResponse message from a plain object. Also converts values to their respective internal types.
7086 * @param object Plain object
7087 * @returns TailLogEntriesResponse
7088 */
7089 public static fromObject(object: { [k: string]: any }): google.logging.v2.TailLogEntriesResponse;
7090
7091 /**
7092 * Creates a plain object from a TailLogEntriesResponse message. Also converts values to other types if specified.
7093 * @param message TailLogEntriesResponse
7094 * @param [options] Conversion options
7095 * @returns Plain object
7096 */
7097 public static toObject(message: google.logging.v2.TailLogEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
7098
7099 /**
7100 * Converts this TailLogEntriesResponse to JSON.
7101 * @returns JSON object
7102 */
7103 public toJSON(): { [k: string]: any };
7104
7105 /**
7106 * Gets the default type url for TailLogEntriesResponse
7107 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7108 * @returns The default type url
7109 */
7110 public static getTypeUrl(typeUrlPrefix?: string): string;
7111 }
7112
7113 namespace TailLogEntriesResponse {
7114
7115 /** Properties of a SuppressionInfo. */
7116 interface ISuppressionInfo {
7117
7118 /** SuppressionInfo reason */
7119 reason?: (google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason|keyof typeof google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason|null);
7120
7121 /** SuppressionInfo suppressedCount */
7122 suppressedCount?: (number|null);
7123 }
7124
7125 /** Represents a SuppressionInfo. */
7126 class SuppressionInfo implements ISuppressionInfo {
7127
7128 /**
7129 * Constructs a new SuppressionInfo.
7130 * @param [properties] Properties to set
7131 */
7132 constructor(properties?: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo);
7133
7134 /** SuppressionInfo reason. */
7135 public reason: (google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason|keyof typeof google.logging.v2.TailLogEntriesResponse.SuppressionInfo.Reason);
7136
7137 /** SuppressionInfo suppressedCount. */
7138 public suppressedCount: number;
7139
7140 /**
7141 * Creates a new SuppressionInfo instance using the specified properties.
7142 * @param [properties] Properties to set
7143 * @returns SuppressionInfo instance
7144 */
7145 public static create(properties?: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo): google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
7146
7147 /**
7148 * Encodes the specified SuppressionInfo message. Does not implicitly {@link google.logging.v2.TailLogEntriesResponse.SuppressionInfo.verify|verify} messages.
7149 * @param message SuppressionInfo message or plain object to encode
7150 * @param [writer] Writer to encode to
7151 * @returns Writer
7152 */
7153 public static encode(message: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
7154
7155 /**
7156 * Encodes the specified SuppressionInfo message, length delimited. Does not implicitly {@link google.logging.v2.TailLogEntriesResponse.SuppressionInfo.verify|verify} messages.
7157 * @param message SuppressionInfo message or plain object to encode
7158 * @param [writer] Writer to encode to
7159 * @returns Writer
7160 */
7161 public static encodeDelimited(message: google.logging.v2.TailLogEntriesResponse.ISuppressionInfo, writer?: $protobuf.Writer): $protobuf.Writer;
7162
7163 /**
7164 * Decodes a SuppressionInfo message from the specified reader or buffer.
7165 * @param reader Reader or buffer to decode from
7166 * @param [length] Message length if known beforehand
7167 * @returns SuppressionInfo
7168 * @throws {Error} If the payload is not a reader or valid buffer
7169 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7170 */
7171 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
7172
7173 /**
7174 * Decodes a SuppressionInfo message from the specified reader or buffer, length delimited.
7175 * @param reader Reader or buffer to decode from
7176 * @returns SuppressionInfo
7177 * @throws {Error} If the payload is not a reader or valid buffer
7178 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7179 */
7180 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
7181
7182 /**
7183 * Verifies a SuppressionInfo message.
7184 * @param message Plain object to verify
7185 * @returns `null` if valid, otherwise the reason why it is not
7186 */
7187 public static verify(message: { [k: string]: any }): (string|null);
7188
7189 /**
7190 * Creates a SuppressionInfo message from a plain object. Also converts values to their respective internal types.
7191 * @param object Plain object
7192 * @returns SuppressionInfo
7193 */
7194 public static fromObject(object: { [k: string]: any }): google.logging.v2.TailLogEntriesResponse.SuppressionInfo;
7195
7196 /**
7197 * Creates a plain object from a SuppressionInfo message. Also converts values to other types if specified.
7198 * @param message SuppressionInfo
7199 * @param [options] Conversion options
7200 * @returns Plain object
7201 */
7202 public static toObject(message: google.logging.v2.TailLogEntriesResponse.SuppressionInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
7203
7204 /**
7205 * Converts this SuppressionInfo to JSON.
7206 * @returns JSON object
7207 */
7208 public toJSON(): { [k: string]: any };
7209
7210 /**
7211 * Gets the default type url for SuppressionInfo
7212 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
7213 * @returns The default type url
7214 */
7215 public static getTypeUrl(typeUrlPrefix?: string): string;
7216 }
7217
7218 namespace SuppressionInfo {
7219
7220 /** Reason enum. */
7221 enum Reason {
7222 REASON_UNSPECIFIED = 0,
7223 RATE_LIMIT = 1,
7224 NOT_CONSUMED = 2
7225 }
7226 }
7227 }
7228
7229 /** Represents a ConfigServiceV2 */
7230 class ConfigServiceV2 extends $protobuf.rpc.Service {
7231
7232 /**
7233 * Constructs a new ConfigServiceV2 service.
7234 * @param rpcImpl RPC implementation
7235 * @param [requestDelimited=false] Whether requests are length-delimited
7236 * @param [responseDelimited=false] Whether responses are length-delimited
7237 */
7238 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
7239
7240 /**
7241 * Creates new ConfigServiceV2 service using the specified rpc implementation.
7242 * @param rpcImpl RPC implementation
7243 * @param [requestDelimited=false] Whether requests are length-delimited
7244 * @param [responseDelimited=false] Whether responses are length-delimited
7245 * @returns RPC service. Useful where requests and/or responses are streamed.
7246 */
7247 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): ConfigServiceV2;
7248
7249 /**
7250 * Calls ListBuckets.
7251 * @param request ListBucketsRequest message or plain object
7252 * @param callback Node-style callback called with the error, if any, and ListBucketsResponse
7253 */
7254 public listBuckets(request: google.logging.v2.IListBucketsRequest, callback: google.logging.v2.ConfigServiceV2.ListBucketsCallback): void;
7255
7256 /**
7257 * Calls ListBuckets.
7258 * @param request ListBucketsRequest message or plain object
7259 * @returns Promise
7260 */
7261 public listBuckets(request: google.logging.v2.IListBucketsRequest): Promise<google.logging.v2.ListBucketsResponse>;
7262
7263 /**
7264 * Calls GetBucket.
7265 * @param request GetBucketRequest message or plain object
7266 * @param callback Node-style callback called with the error, if any, and LogBucket
7267 */
7268 public getBucket(request: google.logging.v2.IGetBucketRequest, callback: google.logging.v2.ConfigServiceV2.GetBucketCallback): void;
7269
7270 /**
7271 * Calls GetBucket.
7272 * @param request GetBucketRequest message or plain object
7273 * @returns Promise
7274 */
7275 public getBucket(request: google.logging.v2.IGetBucketRequest): Promise<google.logging.v2.LogBucket>;
7276
7277 /**
7278 * Calls CreateBucketAsync.
7279 * @param request CreateBucketRequest message or plain object
7280 * @param callback Node-style callback called with the error, if any, and Operation
7281 */
7282 public createBucketAsync(request: google.logging.v2.ICreateBucketRequest, callback: google.logging.v2.ConfigServiceV2.CreateBucketAsyncCallback): void;
7283
7284 /**
7285 * Calls CreateBucketAsync.
7286 * @param request CreateBucketRequest message or plain object
7287 * @returns Promise
7288 */
7289 public createBucketAsync(request: google.logging.v2.ICreateBucketRequest): Promise<google.longrunning.Operation>;
7290
7291 /**
7292 * Calls UpdateBucketAsync.
7293 * @param request UpdateBucketRequest message or plain object
7294 * @param callback Node-style callback called with the error, if any, and Operation
7295 */
7296 public updateBucketAsync(request: google.logging.v2.IUpdateBucketRequest, callback: google.logging.v2.ConfigServiceV2.UpdateBucketAsyncCallback): void;
7297
7298 /**
7299 * Calls UpdateBucketAsync.
7300 * @param request UpdateBucketRequest message or plain object
7301 * @returns Promise
7302 */
7303 public updateBucketAsync(request: google.logging.v2.IUpdateBucketRequest): Promise<google.longrunning.Operation>;
7304
7305 /**
7306 * Calls CreateBucket.
7307 * @param request CreateBucketRequest message or plain object
7308 * @param callback Node-style callback called with the error, if any, and LogBucket
7309 */
7310 public createBucket(request: google.logging.v2.ICreateBucketRequest, callback: google.logging.v2.ConfigServiceV2.CreateBucketCallback): void;
7311
7312 /**
7313 * Calls CreateBucket.
7314 * @param request CreateBucketRequest message or plain object
7315 * @returns Promise
7316 */
7317 public createBucket(request: google.logging.v2.ICreateBucketRequest): Promise<google.logging.v2.LogBucket>;
7318
7319 /**
7320 * Calls UpdateBucket.
7321 * @param request UpdateBucketRequest message or plain object
7322 * @param callback Node-style callback called with the error, if any, and LogBucket
7323 */
7324 public updateBucket(request: google.logging.v2.IUpdateBucketRequest, callback: google.logging.v2.ConfigServiceV2.UpdateBucketCallback): void;
7325
7326 /**
7327 * Calls UpdateBucket.
7328 * @param request UpdateBucketRequest message or plain object
7329 * @returns Promise
7330 */
7331 public updateBucket(request: google.logging.v2.IUpdateBucketRequest): Promise<google.logging.v2.LogBucket>;
7332
7333 /**
7334 * Calls DeleteBucket.
7335 * @param request DeleteBucketRequest message or plain object
7336 * @param callback Node-style callback called with the error, if any, and Empty
7337 */
7338 public deleteBucket(request: google.logging.v2.IDeleteBucketRequest, callback: google.logging.v2.ConfigServiceV2.DeleteBucketCallback): void;
7339
7340 /**
7341 * Calls DeleteBucket.
7342 * @param request DeleteBucketRequest message or plain object
7343 * @returns Promise
7344 */
7345 public deleteBucket(request: google.logging.v2.IDeleteBucketRequest): Promise<google.protobuf.Empty>;
7346
7347 /**
7348 * Calls UndeleteBucket.
7349 * @param request UndeleteBucketRequest message or plain object
7350 * @param callback Node-style callback called with the error, if any, and Empty
7351 */
7352 public undeleteBucket(request: google.logging.v2.IUndeleteBucketRequest, callback: google.logging.v2.ConfigServiceV2.UndeleteBucketCallback): void;
7353
7354 /**
7355 * Calls UndeleteBucket.
7356 * @param request UndeleteBucketRequest message or plain object
7357 * @returns Promise
7358 */
7359 public undeleteBucket(request: google.logging.v2.IUndeleteBucketRequest): Promise<google.protobuf.Empty>;
7360
7361 /**
7362 * Calls ListViews.
7363 * @param request ListViewsRequest message or plain object
7364 * @param callback Node-style callback called with the error, if any, and ListViewsResponse
7365 */
7366 public listViews(request: google.logging.v2.IListViewsRequest, callback: google.logging.v2.ConfigServiceV2.ListViewsCallback): void;
7367
7368 /**
7369 * Calls ListViews.
7370 * @param request ListViewsRequest message or plain object
7371 * @returns Promise
7372 */
7373 public listViews(request: google.logging.v2.IListViewsRequest): Promise<google.logging.v2.ListViewsResponse>;
7374
7375 /**
7376 * Calls GetView.
7377 * @param request GetViewRequest message or plain object
7378 * @param callback Node-style callback called with the error, if any, and LogView
7379 */
7380 public getView(request: google.logging.v2.IGetViewRequest, callback: google.logging.v2.ConfigServiceV2.GetViewCallback): void;
7381
7382 /**
7383 * Calls GetView.
7384 * @param request GetViewRequest message or plain object
7385 * @returns Promise
7386 */
7387 public getView(request: google.logging.v2.IGetViewRequest): Promise<google.logging.v2.LogView>;
7388
7389 /**
7390 * Calls CreateView.
7391 * @param request CreateViewRequest message or plain object
7392 * @param callback Node-style callback called with the error, if any, and LogView
7393 */
7394 public createView(request: google.logging.v2.ICreateViewRequest, callback: google.logging.v2.ConfigServiceV2.CreateViewCallback): void;
7395
7396 /**
7397 * Calls CreateView.
7398 * @param request CreateViewRequest message or plain object
7399 * @returns Promise
7400 */
7401 public createView(request: google.logging.v2.ICreateViewRequest): Promise<google.logging.v2.LogView>;
7402
7403 /**
7404 * Calls UpdateView.
7405 * @param request UpdateViewRequest message or plain object
7406 * @param callback Node-style callback called with the error, if any, and LogView
7407 */
7408 public updateView(request: google.logging.v2.IUpdateViewRequest, callback: google.logging.v2.ConfigServiceV2.UpdateViewCallback): void;
7409
7410 /**
7411 * Calls UpdateView.
7412 * @param request UpdateViewRequest message or plain object
7413 * @returns Promise
7414 */
7415 public updateView(request: google.logging.v2.IUpdateViewRequest): Promise<google.logging.v2.LogView>;
7416
7417 /**
7418 * Calls DeleteView.
7419 * @param request DeleteViewRequest message or plain object
7420 * @param callback Node-style callback called with the error, if any, and Empty
7421 */
7422 public deleteView(request: google.logging.v2.IDeleteViewRequest, callback: google.logging.v2.ConfigServiceV2.DeleteViewCallback): void;
7423
7424 /**
7425 * Calls DeleteView.
7426 * @param request DeleteViewRequest message or plain object
7427 * @returns Promise
7428 */
7429 public deleteView(request: google.logging.v2.IDeleteViewRequest): Promise<google.protobuf.Empty>;
7430
7431 /**
7432 * Calls ListSinks.
7433 * @param request ListSinksRequest message or plain object
7434 * @param callback Node-style callback called with the error, if any, and ListSinksResponse
7435 */
7436 public listSinks(request: google.logging.v2.IListSinksRequest, callback: google.logging.v2.ConfigServiceV2.ListSinksCallback): void;
7437
7438 /**
7439 * Calls ListSinks.
7440 * @param request ListSinksRequest message or plain object
7441 * @returns Promise
7442 */
7443 public listSinks(request: google.logging.v2.IListSinksRequest): Promise<google.logging.v2.ListSinksResponse>;
7444
7445 /**
7446 * Calls GetSink.
7447 * @param request GetSinkRequest message or plain object
7448 * @param callback Node-style callback called with the error, if any, and LogSink
7449 */
7450 public getSink(request: google.logging.v2.IGetSinkRequest, callback: google.logging.v2.ConfigServiceV2.GetSinkCallback): void;
7451
7452 /**
7453 * Calls GetSink.
7454 * @param request GetSinkRequest message or plain object
7455 * @returns Promise
7456 */
7457 public getSink(request: google.logging.v2.IGetSinkRequest): Promise<google.logging.v2.LogSink>;
7458
7459 /**
7460 * Calls CreateSink.
7461 * @param request CreateSinkRequest message or plain object
7462 * @param callback Node-style callback called with the error, if any, and LogSink
7463 */
7464 public createSink(request: google.logging.v2.ICreateSinkRequest, callback: google.logging.v2.ConfigServiceV2.CreateSinkCallback): void;
7465
7466 /**
7467 * Calls CreateSink.
7468 * @param request CreateSinkRequest message or plain object
7469 * @returns Promise
7470 */
7471 public createSink(request: google.logging.v2.ICreateSinkRequest): Promise<google.logging.v2.LogSink>;
7472
7473 /**
7474 * Calls UpdateSink.
7475 * @param request UpdateSinkRequest message or plain object
7476 * @param callback Node-style callback called with the error, if any, and LogSink
7477 */
7478 public updateSink(request: google.logging.v2.IUpdateSinkRequest, callback: google.logging.v2.ConfigServiceV2.UpdateSinkCallback): void;
7479
7480 /**
7481 * Calls UpdateSink.
7482 * @param request UpdateSinkRequest message or plain object
7483 * @returns Promise
7484 */
7485 public updateSink(request: google.logging.v2.IUpdateSinkRequest): Promise<google.logging.v2.LogSink>;
7486
7487 /**
7488 * Calls DeleteSink.
7489 * @param request DeleteSinkRequest message or plain object
7490 * @param callback Node-style callback called with the error, if any, and Empty
7491 */
7492 public deleteSink(request: google.logging.v2.IDeleteSinkRequest, callback: google.logging.v2.ConfigServiceV2.DeleteSinkCallback): void;
7493
7494 /**
7495 * Calls DeleteSink.
7496 * @param request DeleteSinkRequest message or plain object
7497 * @returns Promise
7498 */
7499 public deleteSink(request: google.logging.v2.IDeleteSinkRequest): Promise<google.protobuf.Empty>;
7500
7501 /**
7502 * Calls CreateLink.
7503 * @param request CreateLinkRequest message or plain object
7504 * @param callback Node-style callback called with the error, if any, and Operation
7505 */
7506 public createLink(request: google.logging.v2.ICreateLinkRequest, callback: google.logging.v2.ConfigServiceV2.CreateLinkCallback): void;
7507
7508 /**
7509 * Calls CreateLink.
7510 * @param request CreateLinkRequest message or plain object
7511 * @returns Promise
7512 */
7513 public createLink(request: google.logging.v2.ICreateLinkRequest): Promise<google.longrunning.Operation>;
7514
7515 /**
7516 * Calls DeleteLink.
7517 * @param request DeleteLinkRequest message or plain object
7518 * @param callback Node-style callback called with the error, if any, and Operation
7519 */
7520 public deleteLink(request: google.logging.v2.IDeleteLinkRequest, callback: google.logging.v2.ConfigServiceV2.DeleteLinkCallback): void;
7521
7522 /**
7523 * Calls DeleteLink.
7524 * @param request DeleteLinkRequest message or plain object
7525 * @returns Promise
7526 */
7527 public deleteLink(request: google.logging.v2.IDeleteLinkRequest): Promise<google.longrunning.Operation>;
7528
7529 /**
7530 * Calls ListLinks.
7531 * @param request ListLinksRequest message or plain object
7532 * @param callback Node-style callback called with the error, if any, and ListLinksResponse
7533 */
7534 public listLinks(request: google.logging.v2.IListLinksRequest, callback: google.logging.v2.ConfigServiceV2.ListLinksCallback): void;
7535
7536 /**
7537 * Calls ListLinks.
7538 * @param request ListLinksRequest message or plain object
7539 * @returns Promise
7540 */
7541 public listLinks(request: google.logging.v2.IListLinksRequest): Promise<google.logging.v2.ListLinksResponse>;
7542
7543 /**
7544 * Calls GetLink.
7545 * @param request GetLinkRequest message or plain object
7546 * @param callback Node-style callback called with the error, if any, and Link
7547 */
7548 public getLink(request: google.logging.v2.IGetLinkRequest, callback: google.logging.v2.ConfigServiceV2.GetLinkCallback): void;
7549
7550 /**
7551 * Calls GetLink.
7552 * @param request GetLinkRequest message or plain object
7553 * @returns Promise
7554 */
7555 public getLink(request: google.logging.v2.IGetLinkRequest): Promise<google.logging.v2.Link>;
7556
7557 /**
7558 * Calls ListExclusions.
7559 * @param request ListExclusionsRequest message or plain object
7560 * @param callback Node-style callback called with the error, if any, and ListExclusionsResponse
7561 */
7562 public listExclusions(request: google.logging.v2.IListExclusionsRequest, callback: google.logging.v2.ConfigServiceV2.ListExclusionsCallback): void;
7563
7564 /**
7565 * Calls ListExclusions.
7566 * @param request ListExclusionsRequest message or plain object
7567 * @returns Promise
7568 */
7569 public listExclusions(request: google.logging.v2.IListExclusionsRequest): Promise<google.logging.v2.ListExclusionsResponse>;
7570
7571 /**
7572 * Calls GetExclusion.
7573 * @param request GetExclusionRequest message or plain object
7574 * @param callback Node-style callback called with the error, if any, and LogExclusion
7575 */
7576 public getExclusion(request: google.logging.v2.IGetExclusionRequest, callback: google.logging.v2.ConfigServiceV2.GetExclusionCallback): void;
7577
7578 /**
7579 * Calls GetExclusion.
7580 * @param request GetExclusionRequest message or plain object
7581 * @returns Promise
7582 */
7583 public getExclusion(request: google.logging.v2.IGetExclusionRequest): Promise<google.logging.v2.LogExclusion>;
7584
7585 /**
7586 * Calls CreateExclusion.
7587 * @param request CreateExclusionRequest message or plain object
7588 * @param callback Node-style callback called with the error, if any, and LogExclusion
7589 */
7590 public createExclusion(request: google.logging.v2.ICreateExclusionRequest, callback: google.logging.v2.ConfigServiceV2.CreateExclusionCallback): void;
7591
7592 /**
7593 * Calls CreateExclusion.
7594 * @param request CreateExclusionRequest message or plain object
7595 * @returns Promise
7596 */
7597 public createExclusion(request: google.logging.v2.ICreateExclusionRequest): Promise<google.logging.v2.LogExclusion>;
7598
7599 /**
7600 * Calls UpdateExclusion.
7601 * @param request UpdateExclusionRequest message or plain object
7602 * @param callback Node-style callback called with the error, if any, and LogExclusion
7603 */
7604 public updateExclusion(request: google.logging.v2.IUpdateExclusionRequest, callback: google.logging.v2.ConfigServiceV2.UpdateExclusionCallback): void;
7605
7606 /**
7607 * Calls UpdateExclusion.
7608 * @param request UpdateExclusionRequest message or plain object
7609 * @returns Promise
7610 */
7611 public updateExclusion(request: google.logging.v2.IUpdateExclusionRequest): Promise<google.logging.v2.LogExclusion>;
7612
7613 /**
7614 * Calls DeleteExclusion.
7615 * @param request DeleteExclusionRequest message or plain object
7616 * @param callback Node-style callback called with the error, if any, and Empty
7617 */
7618 public deleteExclusion(request: google.logging.v2.IDeleteExclusionRequest, callback: google.logging.v2.ConfigServiceV2.DeleteExclusionCallback): void;
7619
7620 /**
7621 * Calls DeleteExclusion.
7622 * @param request DeleteExclusionRequest message or plain object
7623 * @returns Promise
7624 */
7625 public deleteExclusion(request: google.logging.v2.IDeleteExclusionRequest): Promise<google.protobuf.Empty>;
7626
7627 /**
7628 * Calls GetCmekSettings.
7629 * @param request GetCmekSettingsRequest message or plain object
7630 * @param callback Node-style callback called with the error, if any, and CmekSettings
7631 */
7632 public getCmekSettings(request: google.logging.v2.IGetCmekSettingsRequest, callback: google.logging.v2.ConfigServiceV2.GetCmekSettingsCallback): void;
7633
7634 /**
7635 * Calls GetCmekSettings.
7636 * @param request GetCmekSettingsRequest message or plain object
7637 * @returns Promise
7638 */
7639 public getCmekSettings(request: google.logging.v2.IGetCmekSettingsRequest): Promise<google.logging.v2.CmekSettings>;
7640
7641 /**
7642 * Calls UpdateCmekSettings.
7643 * @param request UpdateCmekSettingsRequest message or plain object
7644 * @param callback Node-style callback called with the error, if any, and CmekSettings
7645 */
7646 public updateCmekSettings(request: google.logging.v2.IUpdateCmekSettingsRequest, callback: google.logging.v2.ConfigServiceV2.UpdateCmekSettingsCallback): void;
7647
7648 /**
7649 * Calls UpdateCmekSettings.
7650 * @param request UpdateCmekSettingsRequest message or plain object
7651 * @returns Promise
7652 */
7653 public updateCmekSettings(request: google.logging.v2.IUpdateCmekSettingsRequest): Promise<google.logging.v2.CmekSettings>;
7654
7655 /**
7656 * Calls GetSettings.
7657 * @param request GetSettingsRequest message or plain object
7658 * @param callback Node-style callback called with the error, if any, and Settings
7659 */
7660 public getSettings(request: google.logging.v2.IGetSettingsRequest, callback: google.logging.v2.ConfigServiceV2.GetSettingsCallback): void;
7661
7662 /**
7663 * Calls GetSettings.
7664 * @param request GetSettingsRequest message or plain object
7665 * @returns Promise
7666 */
7667 public getSettings(request: google.logging.v2.IGetSettingsRequest): Promise<google.logging.v2.Settings>;
7668
7669 /**
7670 * Calls UpdateSettings.
7671 * @param request UpdateSettingsRequest message or plain object
7672 * @param callback Node-style callback called with the error, if any, and Settings
7673 */
7674 public updateSettings(request: google.logging.v2.IUpdateSettingsRequest, callback: google.logging.v2.ConfigServiceV2.UpdateSettingsCallback): void;
7675
7676 /**
7677 * Calls UpdateSettings.
7678 * @param request UpdateSettingsRequest message or plain object
7679 * @returns Promise
7680 */
7681 public updateSettings(request: google.logging.v2.IUpdateSettingsRequest): Promise<google.logging.v2.Settings>;
7682
7683 /**
7684 * Calls CopyLogEntries.
7685 * @param request CopyLogEntriesRequest message or plain object
7686 * @param callback Node-style callback called with the error, if any, and Operation
7687 */
7688 public copyLogEntries(request: google.logging.v2.ICopyLogEntriesRequest, callback: google.logging.v2.ConfigServiceV2.CopyLogEntriesCallback): void;
7689
7690 /**
7691 * Calls CopyLogEntries.
7692 * @param request CopyLogEntriesRequest message or plain object
7693 * @returns Promise
7694 */
7695 public copyLogEntries(request: google.logging.v2.ICopyLogEntriesRequest): Promise<google.longrunning.Operation>;
7696 }
7697
7698 namespace ConfigServiceV2 {
7699
7700 /**
7701 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listBuckets}.
7702 * @param error Error, if any
7703 * @param [response] ListBucketsResponse
7704 */
7705 type ListBucketsCallback = (error: (Error|null), response?: google.logging.v2.ListBucketsResponse) => void;
7706
7707 /**
7708 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getBucket}.
7709 * @param error Error, if any
7710 * @param [response] LogBucket
7711 */
7712 type GetBucketCallback = (error: (Error|null), response?: google.logging.v2.LogBucket) => void;
7713
7714 /**
7715 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createBucketAsync}.
7716 * @param error Error, if any
7717 * @param [response] Operation
7718 */
7719 type CreateBucketAsyncCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7720
7721 /**
7722 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateBucketAsync}.
7723 * @param error Error, if any
7724 * @param [response] Operation
7725 */
7726 type UpdateBucketAsyncCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7727
7728 /**
7729 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createBucket}.
7730 * @param error Error, if any
7731 * @param [response] LogBucket
7732 */
7733 type CreateBucketCallback = (error: (Error|null), response?: google.logging.v2.LogBucket) => void;
7734
7735 /**
7736 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateBucket}.
7737 * @param error Error, if any
7738 * @param [response] LogBucket
7739 */
7740 type UpdateBucketCallback = (error: (Error|null), response?: google.logging.v2.LogBucket) => void;
7741
7742 /**
7743 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteBucket}.
7744 * @param error Error, if any
7745 * @param [response] Empty
7746 */
7747 type DeleteBucketCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
7748
7749 /**
7750 * Callback as used by {@link google.logging.v2.ConfigServiceV2|undeleteBucket}.
7751 * @param error Error, if any
7752 * @param [response] Empty
7753 */
7754 type UndeleteBucketCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
7755
7756 /**
7757 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listViews}.
7758 * @param error Error, if any
7759 * @param [response] ListViewsResponse
7760 */
7761 type ListViewsCallback = (error: (Error|null), response?: google.logging.v2.ListViewsResponse) => void;
7762
7763 /**
7764 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getView}.
7765 * @param error Error, if any
7766 * @param [response] LogView
7767 */
7768 type GetViewCallback = (error: (Error|null), response?: google.logging.v2.LogView) => void;
7769
7770 /**
7771 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createView}.
7772 * @param error Error, if any
7773 * @param [response] LogView
7774 */
7775 type CreateViewCallback = (error: (Error|null), response?: google.logging.v2.LogView) => void;
7776
7777 /**
7778 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateView}.
7779 * @param error Error, if any
7780 * @param [response] LogView
7781 */
7782 type UpdateViewCallback = (error: (Error|null), response?: google.logging.v2.LogView) => void;
7783
7784 /**
7785 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteView}.
7786 * @param error Error, if any
7787 * @param [response] Empty
7788 */
7789 type DeleteViewCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
7790
7791 /**
7792 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listSinks}.
7793 * @param error Error, if any
7794 * @param [response] ListSinksResponse
7795 */
7796 type ListSinksCallback = (error: (Error|null), response?: google.logging.v2.ListSinksResponse) => void;
7797
7798 /**
7799 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getSink}.
7800 * @param error Error, if any
7801 * @param [response] LogSink
7802 */
7803 type GetSinkCallback = (error: (Error|null), response?: google.logging.v2.LogSink) => void;
7804
7805 /**
7806 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createSink}.
7807 * @param error Error, if any
7808 * @param [response] LogSink
7809 */
7810 type CreateSinkCallback = (error: (Error|null), response?: google.logging.v2.LogSink) => void;
7811
7812 /**
7813 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateSink}.
7814 * @param error Error, if any
7815 * @param [response] LogSink
7816 */
7817 type UpdateSinkCallback = (error: (Error|null), response?: google.logging.v2.LogSink) => void;
7818
7819 /**
7820 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteSink}.
7821 * @param error Error, if any
7822 * @param [response] Empty
7823 */
7824 type DeleteSinkCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
7825
7826 /**
7827 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createLink}.
7828 * @param error Error, if any
7829 * @param [response] Operation
7830 */
7831 type CreateLinkCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7832
7833 /**
7834 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteLink}.
7835 * @param error Error, if any
7836 * @param [response] Operation
7837 */
7838 type DeleteLinkCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7839
7840 /**
7841 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listLinks}.
7842 * @param error Error, if any
7843 * @param [response] ListLinksResponse
7844 */
7845 type ListLinksCallback = (error: (Error|null), response?: google.logging.v2.ListLinksResponse) => void;
7846
7847 /**
7848 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getLink}.
7849 * @param error Error, if any
7850 * @param [response] Link
7851 */
7852 type GetLinkCallback = (error: (Error|null), response?: google.logging.v2.Link) => void;
7853
7854 /**
7855 * Callback as used by {@link google.logging.v2.ConfigServiceV2|listExclusions}.
7856 * @param error Error, if any
7857 * @param [response] ListExclusionsResponse
7858 */
7859 type ListExclusionsCallback = (error: (Error|null), response?: google.logging.v2.ListExclusionsResponse) => void;
7860
7861 /**
7862 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getExclusion}.
7863 * @param error Error, if any
7864 * @param [response] LogExclusion
7865 */
7866 type GetExclusionCallback = (error: (Error|null), response?: google.logging.v2.LogExclusion) => void;
7867
7868 /**
7869 * Callback as used by {@link google.logging.v2.ConfigServiceV2|createExclusion}.
7870 * @param error Error, if any
7871 * @param [response] LogExclusion
7872 */
7873 type CreateExclusionCallback = (error: (Error|null), response?: google.logging.v2.LogExclusion) => void;
7874
7875 /**
7876 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateExclusion}.
7877 * @param error Error, if any
7878 * @param [response] LogExclusion
7879 */
7880 type UpdateExclusionCallback = (error: (Error|null), response?: google.logging.v2.LogExclusion) => void;
7881
7882 /**
7883 * Callback as used by {@link google.logging.v2.ConfigServiceV2|deleteExclusion}.
7884 * @param error Error, if any
7885 * @param [response] Empty
7886 */
7887 type DeleteExclusionCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
7888
7889 /**
7890 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getCmekSettings}.
7891 * @param error Error, if any
7892 * @param [response] CmekSettings
7893 */
7894 type GetCmekSettingsCallback = (error: (Error|null), response?: google.logging.v2.CmekSettings) => void;
7895
7896 /**
7897 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateCmekSettings}.
7898 * @param error Error, if any
7899 * @param [response] CmekSettings
7900 */
7901 type UpdateCmekSettingsCallback = (error: (Error|null), response?: google.logging.v2.CmekSettings) => void;
7902
7903 /**
7904 * Callback as used by {@link google.logging.v2.ConfigServiceV2|getSettings}.
7905 * @param error Error, if any
7906 * @param [response] Settings
7907 */
7908 type GetSettingsCallback = (error: (Error|null), response?: google.logging.v2.Settings) => void;
7909
7910 /**
7911 * Callback as used by {@link google.logging.v2.ConfigServiceV2|updateSettings}.
7912 * @param error Error, if any
7913 * @param [response] Settings
7914 */
7915 type UpdateSettingsCallback = (error: (Error|null), response?: google.logging.v2.Settings) => void;
7916
7917 /**
7918 * Callback as used by {@link google.logging.v2.ConfigServiceV2|copyLogEntries}.
7919 * @param error Error, if any
7920 * @param [response] Operation
7921 */
7922 type CopyLogEntriesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
7923 }
7924
7925 /** Properties of an IndexConfig. */
7926 interface IIndexConfig {
7927
7928 /** IndexConfig fieldPath */
7929 fieldPath?: (string|null);
7930
7931 /** IndexConfig type */
7932 type?: (google.logging.v2.IndexType|keyof typeof google.logging.v2.IndexType|null);
7933
7934 /** IndexConfig createTime */
7935 createTime?: (google.protobuf.ITimestamp|null);
7936 }
7937
7938 /** Represents an IndexConfig. */
7939 class IndexConfig implements IIndexConfig {
7940
7941 /**
7942 * Constructs a new IndexConfig.
7943 * @param [properties] Properties to set
7944 */
7945 constructor(properties?: google.logging.v2.IIndexConfig);
7946
7947 /** IndexConfig fieldPath. */
7948 public fieldPath: string;
7949
7950 /** IndexConfig type. */
7951 public type: (google.logging.v2.IndexType|keyof typeof google.logging.v2.IndexType);
7952
7953 /** IndexConfig createTime. */
7954 public createTime?: (google.protobuf.ITimestamp|null);
7955
7956 /**
7957 * Creates a new IndexConfig instance using the specified properties.
7958 * @param [properties] Properties to set
7959 * @returns IndexConfig instance
7960 */
7961 public static create(properties?: google.logging.v2.IIndexConfig): google.logging.v2.IndexConfig;
7962
7963 /**
7964 * Encodes the specified IndexConfig message. Does not implicitly {@link google.logging.v2.IndexConfig.verify|verify} messages.
7965 * @param message IndexConfig message or plain object to encode
7966 * @param [writer] Writer to encode to
7967 * @returns Writer
7968 */
7969 public static encode(message: google.logging.v2.IIndexConfig, writer?: $protobuf.Writer): $protobuf.Writer;
7970
7971 /**
7972 * Encodes the specified IndexConfig message, length delimited. Does not implicitly {@link google.logging.v2.IndexConfig.verify|verify} messages.
7973 * @param message IndexConfig message or plain object to encode
7974 * @param [writer] Writer to encode to
7975 * @returns Writer
7976 */
7977 public static encodeDelimited(message: google.logging.v2.IIndexConfig, writer?: $protobuf.Writer): $protobuf.Writer;
7978
7979 /**
7980 * Decodes an IndexConfig message from the specified reader or buffer.
7981 * @param reader Reader or buffer to decode from
7982 * @param [length] Message length if known beforehand
7983 * @returns IndexConfig
7984 * @throws {Error} If the payload is not a reader or valid buffer
7985 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7986 */
7987 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.IndexConfig;
7988
7989 /**
7990 * Decodes an IndexConfig message from the specified reader or buffer, length delimited.
7991 * @param reader Reader or buffer to decode from
7992 * @returns IndexConfig
7993 * @throws {Error} If the payload is not a reader or valid buffer
7994 * @throws {$protobuf.util.ProtocolError} If required fields are missing
7995 */
7996 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.IndexConfig;
7997
7998 /**
7999 * Verifies an IndexConfig message.
8000 * @param message Plain object to verify
8001 * @returns `null` if valid, otherwise the reason why it is not
8002 */
8003 public static verify(message: { [k: string]: any }): (string|null);
8004
8005 /**
8006 * Creates an IndexConfig message from a plain object. Also converts values to their respective internal types.
8007 * @param object Plain object
8008 * @returns IndexConfig
8009 */
8010 public static fromObject(object: { [k: string]: any }): google.logging.v2.IndexConfig;
8011
8012 /**
8013 * Creates a plain object from an IndexConfig message. Also converts values to other types if specified.
8014 * @param message IndexConfig
8015 * @param [options] Conversion options
8016 * @returns Plain object
8017 */
8018 public static toObject(message: google.logging.v2.IndexConfig, options?: $protobuf.IConversionOptions): { [k: string]: any };
8019
8020 /**
8021 * Converts this IndexConfig to JSON.
8022 * @returns JSON object
8023 */
8024 public toJSON(): { [k: string]: any };
8025
8026 /**
8027 * Gets the default type url for IndexConfig
8028 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8029 * @returns The default type url
8030 */
8031 public static getTypeUrl(typeUrlPrefix?: string): string;
8032 }
8033
8034 /** Properties of a LogBucket. */
8035 interface ILogBucket {
8036
8037 /** LogBucket name */
8038 name?: (string|null);
8039
8040 /** LogBucket description */
8041 description?: (string|null);
8042
8043 /** LogBucket createTime */
8044 createTime?: (google.protobuf.ITimestamp|null);
8045
8046 /** LogBucket updateTime */
8047 updateTime?: (google.protobuf.ITimestamp|null);
8048
8049 /** LogBucket retentionDays */
8050 retentionDays?: (number|null);
8051
8052 /** LogBucket locked */
8053 locked?: (boolean|null);
8054
8055 /** LogBucket lifecycleState */
8056 lifecycleState?: (google.logging.v2.LifecycleState|keyof typeof google.logging.v2.LifecycleState|null);
8057
8058 /** LogBucket analyticsEnabled */
8059 analyticsEnabled?: (boolean|null);
8060
8061 /** LogBucket restrictedFields */
8062 restrictedFields?: (string[]|null);
8063
8064 /** LogBucket indexConfigs */
8065 indexConfigs?: (google.logging.v2.IIndexConfig[]|null);
8066
8067 /** LogBucket cmekSettings */
8068 cmekSettings?: (google.logging.v2.ICmekSettings|null);
8069 }
8070
8071 /** Represents a LogBucket. */
8072 class LogBucket implements ILogBucket {
8073
8074 /**
8075 * Constructs a new LogBucket.
8076 * @param [properties] Properties to set
8077 */
8078 constructor(properties?: google.logging.v2.ILogBucket);
8079
8080 /** LogBucket name. */
8081 public name: string;
8082
8083 /** LogBucket description. */
8084 public description: string;
8085
8086 /** LogBucket createTime. */
8087 public createTime?: (google.protobuf.ITimestamp|null);
8088
8089 /** LogBucket updateTime. */
8090 public updateTime?: (google.protobuf.ITimestamp|null);
8091
8092 /** LogBucket retentionDays. */
8093 public retentionDays: number;
8094
8095 /** LogBucket locked. */
8096 public locked: boolean;
8097
8098 /** LogBucket lifecycleState. */
8099 public lifecycleState: (google.logging.v2.LifecycleState|keyof typeof google.logging.v2.LifecycleState);
8100
8101 /** LogBucket analyticsEnabled. */
8102 public analyticsEnabled: boolean;
8103
8104 /** LogBucket restrictedFields. */
8105 public restrictedFields: string[];
8106
8107 /** LogBucket indexConfigs. */
8108 public indexConfigs: google.logging.v2.IIndexConfig[];
8109
8110 /** LogBucket cmekSettings. */
8111 public cmekSettings?: (google.logging.v2.ICmekSettings|null);
8112
8113 /**
8114 * Creates a new LogBucket instance using the specified properties.
8115 * @param [properties] Properties to set
8116 * @returns LogBucket instance
8117 */
8118 public static create(properties?: google.logging.v2.ILogBucket): google.logging.v2.LogBucket;
8119
8120 /**
8121 * Encodes the specified LogBucket message. Does not implicitly {@link google.logging.v2.LogBucket.verify|verify} messages.
8122 * @param message LogBucket message or plain object to encode
8123 * @param [writer] Writer to encode to
8124 * @returns Writer
8125 */
8126 public static encode(message: google.logging.v2.ILogBucket, writer?: $protobuf.Writer): $protobuf.Writer;
8127
8128 /**
8129 * Encodes the specified LogBucket message, length delimited. Does not implicitly {@link google.logging.v2.LogBucket.verify|verify} messages.
8130 * @param message LogBucket message or plain object to encode
8131 * @param [writer] Writer to encode to
8132 * @returns Writer
8133 */
8134 public static encodeDelimited(message: google.logging.v2.ILogBucket, writer?: $protobuf.Writer): $protobuf.Writer;
8135
8136 /**
8137 * Decodes a LogBucket message from the specified reader or buffer.
8138 * @param reader Reader or buffer to decode from
8139 * @param [length] Message length if known beforehand
8140 * @returns LogBucket
8141 * @throws {Error} If the payload is not a reader or valid buffer
8142 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8143 */
8144 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogBucket;
8145
8146 /**
8147 * Decodes a LogBucket message from the specified reader or buffer, length delimited.
8148 * @param reader Reader or buffer to decode from
8149 * @returns LogBucket
8150 * @throws {Error} If the payload is not a reader or valid buffer
8151 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8152 */
8153 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogBucket;
8154
8155 /**
8156 * Verifies a LogBucket message.
8157 * @param message Plain object to verify
8158 * @returns `null` if valid, otherwise the reason why it is not
8159 */
8160 public static verify(message: { [k: string]: any }): (string|null);
8161
8162 /**
8163 * Creates a LogBucket message from a plain object. Also converts values to their respective internal types.
8164 * @param object Plain object
8165 * @returns LogBucket
8166 */
8167 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogBucket;
8168
8169 /**
8170 * Creates a plain object from a LogBucket message. Also converts values to other types if specified.
8171 * @param message LogBucket
8172 * @param [options] Conversion options
8173 * @returns Plain object
8174 */
8175 public static toObject(message: google.logging.v2.LogBucket, options?: $protobuf.IConversionOptions): { [k: string]: any };
8176
8177 /**
8178 * Converts this LogBucket to JSON.
8179 * @returns JSON object
8180 */
8181 public toJSON(): { [k: string]: any };
8182
8183 /**
8184 * Gets the default type url for LogBucket
8185 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8186 * @returns The default type url
8187 */
8188 public static getTypeUrl(typeUrlPrefix?: string): string;
8189 }
8190
8191 /** Properties of a LogView. */
8192 interface ILogView {
8193
8194 /** LogView name */
8195 name?: (string|null);
8196
8197 /** LogView description */
8198 description?: (string|null);
8199
8200 /** LogView createTime */
8201 createTime?: (google.protobuf.ITimestamp|null);
8202
8203 /** LogView updateTime */
8204 updateTime?: (google.protobuf.ITimestamp|null);
8205
8206 /** LogView filter */
8207 filter?: (string|null);
8208 }
8209
8210 /** Represents a LogView. */
8211 class LogView implements ILogView {
8212
8213 /**
8214 * Constructs a new LogView.
8215 * @param [properties] Properties to set
8216 */
8217 constructor(properties?: google.logging.v2.ILogView);
8218
8219 /** LogView name. */
8220 public name: string;
8221
8222 /** LogView description. */
8223 public description: string;
8224
8225 /** LogView createTime. */
8226 public createTime?: (google.protobuf.ITimestamp|null);
8227
8228 /** LogView updateTime. */
8229 public updateTime?: (google.protobuf.ITimestamp|null);
8230
8231 /** LogView filter. */
8232 public filter: string;
8233
8234 /**
8235 * Creates a new LogView instance using the specified properties.
8236 * @param [properties] Properties to set
8237 * @returns LogView instance
8238 */
8239 public static create(properties?: google.logging.v2.ILogView): google.logging.v2.LogView;
8240
8241 /**
8242 * Encodes the specified LogView message. Does not implicitly {@link google.logging.v2.LogView.verify|verify} messages.
8243 * @param message LogView message or plain object to encode
8244 * @param [writer] Writer to encode to
8245 * @returns Writer
8246 */
8247 public static encode(message: google.logging.v2.ILogView, writer?: $protobuf.Writer): $protobuf.Writer;
8248
8249 /**
8250 * Encodes the specified LogView message, length delimited. Does not implicitly {@link google.logging.v2.LogView.verify|verify} messages.
8251 * @param message LogView message or plain object to encode
8252 * @param [writer] Writer to encode to
8253 * @returns Writer
8254 */
8255 public static encodeDelimited(message: google.logging.v2.ILogView, writer?: $protobuf.Writer): $protobuf.Writer;
8256
8257 /**
8258 * Decodes a LogView message from the specified reader or buffer.
8259 * @param reader Reader or buffer to decode from
8260 * @param [length] Message length if known beforehand
8261 * @returns LogView
8262 * @throws {Error} If the payload is not a reader or valid buffer
8263 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8264 */
8265 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogView;
8266
8267 /**
8268 * Decodes a LogView message from the specified reader or buffer, length delimited.
8269 * @param reader Reader or buffer to decode from
8270 * @returns LogView
8271 * @throws {Error} If the payload is not a reader or valid buffer
8272 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8273 */
8274 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogView;
8275
8276 /**
8277 * Verifies a LogView message.
8278 * @param message Plain object to verify
8279 * @returns `null` if valid, otherwise the reason why it is not
8280 */
8281 public static verify(message: { [k: string]: any }): (string|null);
8282
8283 /**
8284 * Creates a LogView message from a plain object. Also converts values to their respective internal types.
8285 * @param object Plain object
8286 * @returns LogView
8287 */
8288 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogView;
8289
8290 /**
8291 * Creates a plain object from a LogView message. Also converts values to other types if specified.
8292 * @param message LogView
8293 * @param [options] Conversion options
8294 * @returns Plain object
8295 */
8296 public static toObject(message: google.logging.v2.LogView, options?: $protobuf.IConversionOptions): { [k: string]: any };
8297
8298 /**
8299 * Converts this LogView to JSON.
8300 * @returns JSON object
8301 */
8302 public toJSON(): { [k: string]: any };
8303
8304 /**
8305 * Gets the default type url for LogView
8306 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8307 * @returns The default type url
8308 */
8309 public static getTypeUrl(typeUrlPrefix?: string): string;
8310 }
8311
8312 /** Properties of a LogSink. */
8313 interface ILogSink {
8314
8315 /** LogSink name */
8316 name?: (string|null);
8317
8318 /** LogSink destination */
8319 destination?: (string|null);
8320
8321 /** LogSink filter */
8322 filter?: (string|null);
8323
8324 /** LogSink description */
8325 description?: (string|null);
8326
8327 /** LogSink disabled */
8328 disabled?: (boolean|null);
8329
8330 /** LogSink exclusions */
8331 exclusions?: (google.logging.v2.ILogExclusion[]|null);
8332
8333 /** LogSink outputVersionFormat */
8334 outputVersionFormat?: (google.logging.v2.LogSink.VersionFormat|keyof typeof google.logging.v2.LogSink.VersionFormat|null);
8335
8336 /** LogSink writerIdentity */
8337 writerIdentity?: (string|null);
8338
8339 /** LogSink includeChildren */
8340 includeChildren?: (boolean|null);
8341
8342 /** LogSink bigqueryOptions */
8343 bigqueryOptions?: (google.logging.v2.IBigQueryOptions|null);
8344
8345 /** LogSink createTime */
8346 createTime?: (google.protobuf.ITimestamp|null);
8347
8348 /** LogSink updateTime */
8349 updateTime?: (google.protobuf.ITimestamp|null);
8350 }
8351
8352 /** Represents a LogSink. */
8353 class LogSink implements ILogSink {
8354
8355 /**
8356 * Constructs a new LogSink.
8357 * @param [properties] Properties to set
8358 */
8359 constructor(properties?: google.logging.v2.ILogSink);
8360
8361 /** LogSink name. */
8362 public name: string;
8363
8364 /** LogSink destination. */
8365 public destination: string;
8366
8367 /** LogSink filter. */
8368 public filter: string;
8369
8370 /** LogSink description. */
8371 public description: string;
8372
8373 /** LogSink disabled. */
8374 public disabled: boolean;
8375
8376 /** LogSink exclusions. */
8377 public exclusions: google.logging.v2.ILogExclusion[];
8378
8379 /** LogSink outputVersionFormat. */
8380 public outputVersionFormat: (google.logging.v2.LogSink.VersionFormat|keyof typeof google.logging.v2.LogSink.VersionFormat);
8381
8382 /** LogSink writerIdentity. */
8383 public writerIdentity: string;
8384
8385 /** LogSink includeChildren. */
8386 public includeChildren: boolean;
8387
8388 /** LogSink bigqueryOptions. */
8389 public bigqueryOptions?: (google.logging.v2.IBigQueryOptions|null);
8390
8391 /** LogSink createTime. */
8392 public createTime?: (google.protobuf.ITimestamp|null);
8393
8394 /** LogSink updateTime. */
8395 public updateTime?: (google.protobuf.ITimestamp|null);
8396
8397 /** LogSink options. */
8398 public options?: "bigqueryOptions";
8399
8400 /**
8401 * Creates a new LogSink instance using the specified properties.
8402 * @param [properties] Properties to set
8403 * @returns LogSink instance
8404 */
8405 public static create(properties?: google.logging.v2.ILogSink): google.logging.v2.LogSink;
8406
8407 /**
8408 * Encodes the specified LogSink message. Does not implicitly {@link google.logging.v2.LogSink.verify|verify} messages.
8409 * @param message LogSink message or plain object to encode
8410 * @param [writer] Writer to encode to
8411 * @returns Writer
8412 */
8413 public static encode(message: google.logging.v2.ILogSink, writer?: $protobuf.Writer): $protobuf.Writer;
8414
8415 /**
8416 * Encodes the specified LogSink message, length delimited. Does not implicitly {@link google.logging.v2.LogSink.verify|verify} messages.
8417 * @param message LogSink message or plain object to encode
8418 * @param [writer] Writer to encode to
8419 * @returns Writer
8420 */
8421 public static encodeDelimited(message: google.logging.v2.ILogSink, writer?: $protobuf.Writer): $protobuf.Writer;
8422
8423 /**
8424 * Decodes a LogSink message from the specified reader or buffer.
8425 * @param reader Reader or buffer to decode from
8426 * @param [length] Message length if known beforehand
8427 * @returns LogSink
8428 * @throws {Error} If the payload is not a reader or valid buffer
8429 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8430 */
8431 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogSink;
8432
8433 /**
8434 * Decodes a LogSink message from the specified reader or buffer, length delimited.
8435 * @param reader Reader or buffer to decode from
8436 * @returns LogSink
8437 * @throws {Error} If the payload is not a reader or valid buffer
8438 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8439 */
8440 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogSink;
8441
8442 /**
8443 * Verifies a LogSink message.
8444 * @param message Plain object to verify
8445 * @returns `null` if valid, otherwise the reason why it is not
8446 */
8447 public static verify(message: { [k: string]: any }): (string|null);
8448
8449 /**
8450 * Creates a LogSink message from a plain object. Also converts values to their respective internal types.
8451 * @param object Plain object
8452 * @returns LogSink
8453 */
8454 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogSink;
8455
8456 /**
8457 * Creates a plain object from a LogSink message. Also converts values to other types if specified.
8458 * @param message LogSink
8459 * @param [options] Conversion options
8460 * @returns Plain object
8461 */
8462 public static toObject(message: google.logging.v2.LogSink, options?: $protobuf.IConversionOptions): { [k: string]: any };
8463
8464 /**
8465 * Converts this LogSink to JSON.
8466 * @returns JSON object
8467 */
8468 public toJSON(): { [k: string]: any };
8469
8470 /**
8471 * Gets the default type url for LogSink
8472 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8473 * @returns The default type url
8474 */
8475 public static getTypeUrl(typeUrlPrefix?: string): string;
8476 }
8477
8478 namespace LogSink {
8479
8480 /** VersionFormat enum. */
8481 enum VersionFormat {
8482 VERSION_FORMAT_UNSPECIFIED = 0,
8483 V2 = 1,
8484 V1 = 2
8485 }
8486 }
8487
8488 /** Properties of a BigQueryDataset. */
8489 interface IBigQueryDataset {
8490
8491 /** BigQueryDataset datasetId */
8492 datasetId?: (string|null);
8493 }
8494
8495 /** Represents a BigQueryDataset. */
8496 class BigQueryDataset implements IBigQueryDataset {
8497
8498 /**
8499 * Constructs a new BigQueryDataset.
8500 * @param [properties] Properties to set
8501 */
8502 constructor(properties?: google.logging.v2.IBigQueryDataset);
8503
8504 /** BigQueryDataset datasetId. */
8505 public datasetId: string;
8506
8507 /**
8508 * Creates a new BigQueryDataset instance using the specified properties.
8509 * @param [properties] Properties to set
8510 * @returns BigQueryDataset instance
8511 */
8512 public static create(properties?: google.logging.v2.IBigQueryDataset): google.logging.v2.BigQueryDataset;
8513
8514 /**
8515 * Encodes the specified BigQueryDataset message. Does not implicitly {@link google.logging.v2.BigQueryDataset.verify|verify} messages.
8516 * @param message BigQueryDataset message or plain object to encode
8517 * @param [writer] Writer to encode to
8518 * @returns Writer
8519 */
8520 public static encode(message: google.logging.v2.IBigQueryDataset, writer?: $protobuf.Writer): $protobuf.Writer;
8521
8522 /**
8523 * Encodes the specified BigQueryDataset message, length delimited. Does not implicitly {@link google.logging.v2.BigQueryDataset.verify|verify} messages.
8524 * @param message BigQueryDataset message or plain object to encode
8525 * @param [writer] Writer to encode to
8526 * @returns Writer
8527 */
8528 public static encodeDelimited(message: google.logging.v2.IBigQueryDataset, writer?: $protobuf.Writer): $protobuf.Writer;
8529
8530 /**
8531 * Decodes a BigQueryDataset message from the specified reader or buffer.
8532 * @param reader Reader or buffer to decode from
8533 * @param [length] Message length if known beforehand
8534 * @returns BigQueryDataset
8535 * @throws {Error} If the payload is not a reader or valid buffer
8536 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8537 */
8538 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.BigQueryDataset;
8539
8540 /**
8541 * Decodes a BigQueryDataset message from the specified reader or buffer, length delimited.
8542 * @param reader Reader or buffer to decode from
8543 * @returns BigQueryDataset
8544 * @throws {Error} If the payload is not a reader or valid buffer
8545 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8546 */
8547 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.BigQueryDataset;
8548
8549 /**
8550 * Verifies a BigQueryDataset message.
8551 * @param message Plain object to verify
8552 * @returns `null` if valid, otherwise the reason why it is not
8553 */
8554 public static verify(message: { [k: string]: any }): (string|null);
8555
8556 /**
8557 * Creates a BigQueryDataset message from a plain object. Also converts values to their respective internal types.
8558 * @param object Plain object
8559 * @returns BigQueryDataset
8560 */
8561 public static fromObject(object: { [k: string]: any }): google.logging.v2.BigQueryDataset;
8562
8563 /**
8564 * Creates a plain object from a BigQueryDataset message. Also converts values to other types if specified.
8565 * @param message BigQueryDataset
8566 * @param [options] Conversion options
8567 * @returns Plain object
8568 */
8569 public static toObject(message: google.logging.v2.BigQueryDataset, options?: $protobuf.IConversionOptions): { [k: string]: any };
8570
8571 /**
8572 * Converts this BigQueryDataset to JSON.
8573 * @returns JSON object
8574 */
8575 public toJSON(): { [k: string]: any };
8576
8577 /**
8578 * Gets the default type url for BigQueryDataset
8579 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8580 * @returns The default type url
8581 */
8582 public static getTypeUrl(typeUrlPrefix?: string): string;
8583 }
8584
8585 /** Properties of a Link. */
8586 interface ILink {
8587
8588 /** Link name */
8589 name?: (string|null);
8590
8591 /** Link description */
8592 description?: (string|null);
8593
8594 /** Link createTime */
8595 createTime?: (google.protobuf.ITimestamp|null);
8596
8597 /** Link lifecycleState */
8598 lifecycleState?: (google.logging.v2.LifecycleState|keyof typeof google.logging.v2.LifecycleState|null);
8599
8600 /** Link bigqueryDataset */
8601 bigqueryDataset?: (google.logging.v2.IBigQueryDataset|null);
8602 }
8603
8604 /** Represents a Link. */
8605 class Link implements ILink {
8606
8607 /**
8608 * Constructs a new Link.
8609 * @param [properties] Properties to set
8610 */
8611 constructor(properties?: google.logging.v2.ILink);
8612
8613 /** Link name. */
8614 public name: string;
8615
8616 /** Link description. */
8617 public description: string;
8618
8619 /** Link createTime. */
8620 public createTime?: (google.protobuf.ITimestamp|null);
8621
8622 /** Link lifecycleState. */
8623 public lifecycleState: (google.logging.v2.LifecycleState|keyof typeof google.logging.v2.LifecycleState);
8624
8625 /** Link bigqueryDataset. */
8626 public bigqueryDataset?: (google.logging.v2.IBigQueryDataset|null);
8627
8628 /**
8629 * Creates a new Link instance using the specified properties.
8630 * @param [properties] Properties to set
8631 * @returns Link instance
8632 */
8633 public static create(properties?: google.logging.v2.ILink): google.logging.v2.Link;
8634
8635 /**
8636 * Encodes the specified Link message. Does not implicitly {@link google.logging.v2.Link.verify|verify} messages.
8637 * @param message Link message or plain object to encode
8638 * @param [writer] Writer to encode to
8639 * @returns Writer
8640 */
8641 public static encode(message: google.logging.v2.ILink, writer?: $protobuf.Writer): $protobuf.Writer;
8642
8643 /**
8644 * Encodes the specified Link message, length delimited. Does not implicitly {@link google.logging.v2.Link.verify|verify} messages.
8645 * @param message Link message or plain object to encode
8646 * @param [writer] Writer to encode to
8647 * @returns Writer
8648 */
8649 public static encodeDelimited(message: google.logging.v2.ILink, writer?: $protobuf.Writer): $protobuf.Writer;
8650
8651 /**
8652 * Decodes a Link message from the specified reader or buffer.
8653 * @param reader Reader or buffer to decode from
8654 * @param [length] Message length if known beforehand
8655 * @returns Link
8656 * @throws {Error} If the payload is not a reader or valid buffer
8657 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8658 */
8659 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.Link;
8660
8661 /**
8662 * Decodes a Link message from the specified reader or buffer, length delimited.
8663 * @param reader Reader or buffer to decode from
8664 * @returns Link
8665 * @throws {Error} If the payload is not a reader or valid buffer
8666 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8667 */
8668 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.Link;
8669
8670 /**
8671 * Verifies a Link message.
8672 * @param message Plain object to verify
8673 * @returns `null` if valid, otherwise the reason why it is not
8674 */
8675 public static verify(message: { [k: string]: any }): (string|null);
8676
8677 /**
8678 * Creates a Link message from a plain object. Also converts values to their respective internal types.
8679 * @param object Plain object
8680 * @returns Link
8681 */
8682 public static fromObject(object: { [k: string]: any }): google.logging.v2.Link;
8683
8684 /**
8685 * Creates a plain object from a Link message. Also converts values to other types if specified.
8686 * @param message Link
8687 * @param [options] Conversion options
8688 * @returns Plain object
8689 */
8690 public static toObject(message: google.logging.v2.Link, options?: $protobuf.IConversionOptions): { [k: string]: any };
8691
8692 /**
8693 * Converts this Link to JSON.
8694 * @returns JSON object
8695 */
8696 public toJSON(): { [k: string]: any };
8697
8698 /**
8699 * Gets the default type url for Link
8700 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8701 * @returns The default type url
8702 */
8703 public static getTypeUrl(typeUrlPrefix?: string): string;
8704 }
8705
8706 /** Properties of a BigQueryOptions. */
8707 interface IBigQueryOptions {
8708
8709 /** BigQueryOptions usePartitionedTables */
8710 usePartitionedTables?: (boolean|null);
8711
8712 /** BigQueryOptions usesTimestampColumnPartitioning */
8713 usesTimestampColumnPartitioning?: (boolean|null);
8714 }
8715
8716 /** Represents a BigQueryOptions. */
8717 class BigQueryOptions implements IBigQueryOptions {
8718
8719 /**
8720 * Constructs a new BigQueryOptions.
8721 * @param [properties] Properties to set
8722 */
8723 constructor(properties?: google.logging.v2.IBigQueryOptions);
8724
8725 /** BigQueryOptions usePartitionedTables. */
8726 public usePartitionedTables: boolean;
8727
8728 /** BigQueryOptions usesTimestampColumnPartitioning. */
8729 public usesTimestampColumnPartitioning: boolean;
8730
8731 /**
8732 * Creates a new BigQueryOptions instance using the specified properties.
8733 * @param [properties] Properties to set
8734 * @returns BigQueryOptions instance
8735 */
8736 public static create(properties?: google.logging.v2.IBigQueryOptions): google.logging.v2.BigQueryOptions;
8737
8738 /**
8739 * Encodes the specified BigQueryOptions message. Does not implicitly {@link google.logging.v2.BigQueryOptions.verify|verify} messages.
8740 * @param message BigQueryOptions message or plain object to encode
8741 * @param [writer] Writer to encode to
8742 * @returns Writer
8743 */
8744 public static encode(message: google.logging.v2.IBigQueryOptions, writer?: $protobuf.Writer): $protobuf.Writer;
8745
8746 /**
8747 * Encodes the specified BigQueryOptions message, length delimited. Does not implicitly {@link google.logging.v2.BigQueryOptions.verify|verify} messages.
8748 * @param message BigQueryOptions message or plain object to encode
8749 * @param [writer] Writer to encode to
8750 * @returns Writer
8751 */
8752 public static encodeDelimited(message: google.logging.v2.IBigQueryOptions, writer?: $protobuf.Writer): $protobuf.Writer;
8753
8754 /**
8755 * Decodes a BigQueryOptions message from the specified reader or buffer.
8756 * @param reader Reader or buffer to decode from
8757 * @param [length] Message length if known beforehand
8758 * @returns BigQueryOptions
8759 * @throws {Error} If the payload is not a reader or valid buffer
8760 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8761 */
8762 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.BigQueryOptions;
8763
8764 /**
8765 * Decodes a BigQueryOptions message from the specified reader or buffer, length delimited.
8766 * @param reader Reader or buffer to decode from
8767 * @returns BigQueryOptions
8768 * @throws {Error} If the payload is not a reader or valid buffer
8769 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8770 */
8771 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.BigQueryOptions;
8772
8773 /**
8774 * Verifies a BigQueryOptions message.
8775 * @param message Plain object to verify
8776 * @returns `null` if valid, otherwise the reason why it is not
8777 */
8778 public static verify(message: { [k: string]: any }): (string|null);
8779
8780 /**
8781 * Creates a BigQueryOptions message from a plain object. Also converts values to their respective internal types.
8782 * @param object Plain object
8783 * @returns BigQueryOptions
8784 */
8785 public static fromObject(object: { [k: string]: any }): google.logging.v2.BigQueryOptions;
8786
8787 /**
8788 * Creates a plain object from a BigQueryOptions message. Also converts values to other types if specified.
8789 * @param message BigQueryOptions
8790 * @param [options] Conversion options
8791 * @returns Plain object
8792 */
8793 public static toObject(message: google.logging.v2.BigQueryOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
8794
8795 /**
8796 * Converts this BigQueryOptions to JSON.
8797 * @returns JSON object
8798 */
8799 public toJSON(): { [k: string]: any };
8800
8801 /**
8802 * Gets the default type url for BigQueryOptions
8803 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8804 * @returns The default type url
8805 */
8806 public static getTypeUrl(typeUrlPrefix?: string): string;
8807 }
8808
8809 /** Properties of a ListBucketsRequest. */
8810 interface IListBucketsRequest {
8811
8812 /** ListBucketsRequest parent */
8813 parent?: (string|null);
8814
8815 /** ListBucketsRequest pageToken */
8816 pageToken?: (string|null);
8817
8818 /** ListBucketsRequest pageSize */
8819 pageSize?: (number|null);
8820 }
8821
8822 /** Represents a ListBucketsRequest. */
8823 class ListBucketsRequest implements IListBucketsRequest {
8824
8825 /**
8826 * Constructs a new ListBucketsRequest.
8827 * @param [properties] Properties to set
8828 */
8829 constructor(properties?: google.logging.v2.IListBucketsRequest);
8830
8831 /** ListBucketsRequest parent. */
8832 public parent: string;
8833
8834 /** ListBucketsRequest pageToken. */
8835 public pageToken: string;
8836
8837 /** ListBucketsRequest pageSize. */
8838 public pageSize: number;
8839
8840 /**
8841 * Creates a new ListBucketsRequest instance using the specified properties.
8842 * @param [properties] Properties to set
8843 * @returns ListBucketsRequest instance
8844 */
8845 public static create(properties?: google.logging.v2.IListBucketsRequest): google.logging.v2.ListBucketsRequest;
8846
8847 /**
8848 * Encodes the specified ListBucketsRequest message. Does not implicitly {@link google.logging.v2.ListBucketsRequest.verify|verify} messages.
8849 * @param message ListBucketsRequest message or plain object to encode
8850 * @param [writer] Writer to encode to
8851 * @returns Writer
8852 */
8853 public static encode(message: google.logging.v2.IListBucketsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8854
8855 /**
8856 * Encodes the specified ListBucketsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListBucketsRequest.verify|verify} messages.
8857 * @param message ListBucketsRequest message or plain object to encode
8858 * @param [writer] Writer to encode to
8859 * @returns Writer
8860 */
8861 public static encodeDelimited(message: google.logging.v2.IListBucketsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
8862
8863 /**
8864 * Decodes a ListBucketsRequest message from the specified reader or buffer.
8865 * @param reader Reader or buffer to decode from
8866 * @param [length] Message length if known beforehand
8867 * @returns ListBucketsRequest
8868 * @throws {Error} If the payload is not a reader or valid buffer
8869 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8870 */
8871 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListBucketsRequest;
8872
8873 /**
8874 * Decodes a ListBucketsRequest message from the specified reader or buffer, length delimited.
8875 * @param reader Reader or buffer to decode from
8876 * @returns ListBucketsRequest
8877 * @throws {Error} If the payload is not a reader or valid buffer
8878 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8879 */
8880 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListBucketsRequest;
8881
8882 /**
8883 * Verifies a ListBucketsRequest message.
8884 * @param message Plain object to verify
8885 * @returns `null` if valid, otherwise the reason why it is not
8886 */
8887 public static verify(message: { [k: string]: any }): (string|null);
8888
8889 /**
8890 * Creates a ListBucketsRequest message from a plain object. Also converts values to their respective internal types.
8891 * @param object Plain object
8892 * @returns ListBucketsRequest
8893 */
8894 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListBucketsRequest;
8895
8896 /**
8897 * Creates a plain object from a ListBucketsRequest message. Also converts values to other types if specified.
8898 * @param message ListBucketsRequest
8899 * @param [options] Conversion options
8900 * @returns Plain object
8901 */
8902 public static toObject(message: google.logging.v2.ListBucketsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
8903
8904 /**
8905 * Converts this ListBucketsRequest to JSON.
8906 * @returns JSON object
8907 */
8908 public toJSON(): { [k: string]: any };
8909
8910 /**
8911 * Gets the default type url for ListBucketsRequest
8912 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
8913 * @returns The default type url
8914 */
8915 public static getTypeUrl(typeUrlPrefix?: string): string;
8916 }
8917
8918 /** Properties of a ListBucketsResponse. */
8919 interface IListBucketsResponse {
8920
8921 /** ListBucketsResponse buckets */
8922 buckets?: (google.logging.v2.ILogBucket[]|null);
8923
8924 /** ListBucketsResponse nextPageToken */
8925 nextPageToken?: (string|null);
8926 }
8927
8928 /** Represents a ListBucketsResponse. */
8929 class ListBucketsResponse implements IListBucketsResponse {
8930
8931 /**
8932 * Constructs a new ListBucketsResponse.
8933 * @param [properties] Properties to set
8934 */
8935 constructor(properties?: google.logging.v2.IListBucketsResponse);
8936
8937 /** ListBucketsResponse buckets. */
8938 public buckets: google.logging.v2.ILogBucket[];
8939
8940 /** ListBucketsResponse nextPageToken. */
8941 public nextPageToken: string;
8942
8943 /**
8944 * Creates a new ListBucketsResponse instance using the specified properties.
8945 * @param [properties] Properties to set
8946 * @returns ListBucketsResponse instance
8947 */
8948 public static create(properties?: google.logging.v2.IListBucketsResponse): google.logging.v2.ListBucketsResponse;
8949
8950 /**
8951 * Encodes the specified ListBucketsResponse message. Does not implicitly {@link google.logging.v2.ListBucketsResponse.verify|verify} messages.
8952 * @param message ListBucketsResponse message or plain object to encode
8953 * @param [writer] Writer to encode to
8954 * @returns Writer
8955 */
8956 public static encode(message: google.logging.v2.IListBucketsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
8957
8958 /**
8959 * Encodes the specified ListBucketsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListBucketsResponse.verify|verify} messages.
8960 * @param message ListBucketsResponse message or plain object to encode
8961 * @param [writer] Writer to encode to
8962 * @returns Writer
8963 */
8964 public static encodeDelimited(message: google.logging.v2.IListBucketsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
8965
8966 /**
8967 * Decodes a ListBucketsResponse message from the specified reader or buffer.
8968 * @param reader Reader or buffer to decode from
8969 * @param [length] Message length if known beforehand
8970 * @returns ListBucketsResponse
8971 * @throws {Error} If the payload is not a reader or valid buffer
8972 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8973 */
8974 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListBucketsResponse;
8975
8976 /**
8977 * Decodes a ListBucketsResponse message from the specified reader or buffer, length delimited.
8978 * @param reader Reader or buffer to decode from
8979 * @returns ListBucketsResponse
8980 * @throws {Error} If the payload is not a reader or valid buffer
8981 * @throws {$protobuf.util.ProtocolError} If required fields are missing
8982 */
8983 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListBucketsResponse;
8984
8985 /**
8986 * Verifies a ListBucketsResponse message.
8987 * @param message Plain object to verify
8988 * @returns `null` if valid, otherwise the reason why it is not
8989 */
8990 public static verify(message: { [k: string]: any }): (string|null);
8991
8992 /**
8993 * Creates a ListBucketsResponse message from a plain object. Also converts values to their respective internal types.
8994 * @param object Plain object
8995 * @returns ListBucketsResponse
8996 */
8997 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListBucketsResponse;
8998
8999 /**
9000 * Creates a plain object from a ListBucketsResponse message. Also converts values to other types if specified.
9001 * @param message ListBucketsResponse
9002 * @param [options] Conversion options
9003 * @returns Plain object
9004 */
9005 public static toObject(message: google.logging.v2.ListBucketsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
9006
9007 /**
9008 * Converts this ListBucketsResponse to JSON.
9009 * @returns JSON object
9010 */
9011 public toJSON(): { [k: string]: any };
9012
9013 /**
9014 * Gets the default type url for ListBucketsResponse
9015 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9016 * @returns The default type url
9017 */
9018 public static getTypeUrl(typeUrlPrefix?: string): string;
9019 }
9020
9021 /** Properties of a CreateBucketRequest. */
9022 interface ICreateBucketRequest {
9023
9024 /** CreateBucketRequest parent */
9025 parent?: (string|null);
9026
9027 /** CreateBucketRequest bucketId */
9028 bucketId?: (string|null);
9029
9030 /** CreateBucketRequest bucket */
9031 bucket?: (google.logging.v2.ILogBucket|null);
9032 }
9033
9034 /** Represents a CreateBucketRequest. */
9035 class CreateBucketRequest implements ICreateBucketRequest {
9036
9037 /**
9038 * Constructs a new CreateBucketRequest.
9039 * @param [properties] Properties to set
9040 */
9041 constructor(properties?: google.logging.v2.ICreateBucketRequest);
9042
9043 /** CreateBucketRequest parent. */
9044 public parent: string;
9045
9046 /** CreateBucketRequest bucketId. */
9047 public bucketId: string;
9048
9049 /** CreateBucketRequest bucket. */
9050 public bucket?: (google.logging.v2.ILogBucket|null);
9051
9052 /**
9053 * Creates a new CreateBucketRequest instance using the specified properties.
9054 * @param [properties] Properties to set
9055 * @returns CreateBucketRequest instance
9056 */
9057 public static create(properties?: google.logging.v2.ICreateBucketRequest): google.logging.v2.CreateBucketRequest;
9058
9059 /**
9060 * Encodes the specified CreateBucketRequest message. Does not implicitly {@link google.logging.v2.CreateBucketRequest.verify|verify} messages.
9061 * @param message CreateBucketRequest 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.ICreateBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9066
9067 /**
9068 * Encodes the specified CreateBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateBucketRequest.verify|verify} messages.
9069 * @param message CreateBucketRequest 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.ICreateBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9074
9075 /**
9076 * Decodes a CreateBucketRequest 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 CreateBucketRequest
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.CreateBucketRequest;
9084
9085 /**
9086 * Decodes a CreateBucketRequest message from the specified reader or buffer, length delimited.
9087 * @param reader Reader or buffer to decode from
9088 * @returns CreateBucketRequest
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.CreateBucketRequest;
9093
9094 /**
9095 * Verifies a CreateBucketRequest 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 CreateBucketRequest message from a plain object. Also converts values to their respective internal types.
9103 * @param object Plain object
9104 * @returns CreateBucketRequest
9105 */
9106 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateBucketRequest;
9107
9108 /**
9109 * Creates a plain object from a CreateBucketRequest message. Also converts values to other types if specified.
9110 * @param message CreateBucketRequest
9111 * @param [options] Conversion options
9112 * @returns Plain object
9113 */
9114 public static toObject(message: google.logging.v2.CreateBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9115
9116 /**
9117 * Converts this CreateBucketRequest to JSON.
9118 * @returns JSON object
9119 */
9120 public toJSON(): { [k: string]: any };
9121
9122 /**
9123 * Gets the default type url for CreateBucketRequest
9124 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9125 * @returns The default type url
9126 */
9127 public static getTypeUrl(typeUrlPrefix?: string): string;
9128 }
9129
9130 /** Properties of an UpdateBucketRequest. */
9131 interface IUpdateBucketRequest {
9132
9133 /** UpdateBucketRequest name */
9134 name?: (string|null);
9135
9136 /** UpdateBucketRequest bucket */
9137 bucket?: (google.logging.v2.ILogBucket|null);
9138
9139 /** UpdateBucketRequest updateMask */
9140 updateMask?: (google.protobuf.IFieldMask|null);
9141 }
9142
9143 /** Represents an UpdateBucketRequest. */
9144 class UpdateBucketRequest implements IUpdateBucketRequest {
9145
9146 /**
9147 * Constructs a new UpdateBucketRequest.
9148 * @param [properties] Properties to set
9149 */
9150 constructor(properties?: google.logging.v2.IUpdateBucketRequest);
9151
9152 /** UpdateBucketRequest name. */
9153 public name: string;
9154
9155 /** UpdateBucketRequest bucket. */
9156 public bucket?: (google.logging.v2.ILogBucket|null);
9157
9158 /** UpdateBucketRequest updateMask. */
9159 public updateMask?: (google.protobuf.IFieldMask|null);
9160
9161 /**
9162 * Creates a new UpdateBucketRequest instance using the specified properties.
9163 * @param [properties] Properties to set
9164 * @returns UpdateBucketRequest instance
9165 */
9166 public static create(properties?: google.logging.v2.IUpdateBucketRequest): google.logging.v2.UpdateBucketRequest;
9167
9168 /**
9169 * Encodes the specified UpdateBucketRequest message. Does not implicitly {@link google.logging.v2.UpdateBucketRequest.verify|verify} messages.
9170 * @param message UpdateBucketRequest message or plain object to encode
9171 * @param [writer] Writer to encode to
9172 * @returns Writer
9173 */
9174 public static encode(message: google.logging.v2.IUpdateBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9175
9176 /**
9177 * Encodes the specified UpdateBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateBucketRequest.verify|verify} messages.
9178 * @param message UpdateBucketRequest message or plain object to encode
9179 * @param [writer] Writer to encode to
9180 * @returns Writer
9181 */
9182 public static encodeDelimited(message: google.logging.v2.IUpdateBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9183
9184 /**
9185 * Decodes an UpdateBucketRequest message from the specified reader or buffer.
9186 * @param reader Reader or buffer to decode from
9187 * @param [length] Message length if known beforehand
9188 * @returns UpdateBucketRequest
9189 * @throws {Error} If the payload is not a reader or valid buffer
9190 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9191 */
9192 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateBucketRequest;
9193
9194 /**
9195 * Decodes an UpdateBucketRequest message from the specified reader or buffer, length delimited.
9196 * @param reader Reader or buffer to decode from
9197 * @returns UpdateBucketRequest
9198 * @throws {Error} If the payload is not a reader or valid buffer
9199 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9200 */
9201 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateBucketRequest;
9202
9203 /**
9204 * Verifies an UpdateBucketRequest message.
9205 * @param message Plain object to verify
9206 * @returns `null` if valid, otherwise the reason why it is not
9207 */
9208 public static verify(message: { [k: string]: any }): (string|null);
9209
9210 /**
9211 * Creates an UpdateBucketRequest message from a plain object. Also converts values to their respective internal types.
9212 * @param object Plain object
9213 * @returns UpdateBucketRequest
9214 */
9215 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateBucketRequest;
9216
9217 /**
9218 * Creates a plain object from an UpdateBucketRequest message. Also converts values to other types if specified.
9219 * @param message UpdateBucketRequest
9220 * @param [options] Conversion options
9221 * @returns Plain object
9222 */
9223 public static toObject(message: google.logging.v2.UpdateBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9224
9225 /**
9226 * Converts this UpdateBucketRequest to JSON.
9227 * @returns JSON object
9228 */
9229 public toJSON(): { [k: string]: any };
9230
9231 /**
9232 * Gets the default type url for UpdateBucketRequest
9233 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9234 * @returns The default type url
9235 */
9236 public static getTypeUrl(typeUrlPrefix?: string): string;
9237 }
9238
9239 /** Properties of a GetBucketRequest. */
9240 interface IGetBucketRequest {
9241
9242 /** GetBucketRequest name */
9243 name?: (string|null);
9244 }
9245
9246 /** Represents a GetBucketRequest. */
9247 class GetBucketRequest implements IGetBucketRequest {
9248
9249 /**
9250 * Constructs a new GetBucketRequest.
9251 * @param [properties] Properties to set
9252 */
9253 constructor(properties?: google.logging.v2.IGetBucketRequest);
9254
9255 /** GetBucketRequest name. */
9256 public name: string;
9257
9258 /**
9259 * Creates a new GetBucketRequest instance using the specified properties.
9260 * @param [properties] Properties to set
9261 * @returns GetBucketRequest instance
9262 */
9263 public static create(properties?: google.logging.v2.IGetBucketRequest): google.logging.v2.GetBucketRequest;
9264
9265 /**
9266 * Encodes the specified GetBucketRequest message. Does not implicitly {@link google.logging.v2.GetBucketRequest.verify|verify} messages.
9267 * @param message GetBucketRequest message or plain object to encode
9268 * @param [writer] Writer to encode to
9269 * @returns Writer
9270 */
9271 public static encode(message: google.logging.v2.IGetBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9272
9273 /**
9274 * Encodes the specified GetBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetBucketRequest.verify|verify} messages.
9275 * @param message GetBucketRequest message or plain object to encode
9276 * @param [writer] Writer to encode to
9277 * @returns Writer
9278 */
9279 public static encodeDelimited(message: google.logging.v2.IGetBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9280
9281 /**
9282 * Decodes a GetBucketRequest message from the specified reader or buffer.
9283 * @param reader Reader or buffer to decode from
9284 * @param [length] Message length if known beforehand
9285 * @returns GetBucketRequest
9286 * @throws {Error} If the payload is not a reader or valid buffer
9287 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9288 */
9289 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetBucketRequest;
9290
9291 /**
9292 * Decodes a GetBucketRequest message from the specified reader or buffer, length delimited.
9293 * @param reader Reader or buffer to decode from
9294 * @returns GetBucketRequest
9295 * @throws {Error} If the payload is not a reader or valid buffer
9296 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9297 */
9298 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetBucketRequest;
9299
9300 /**
9301 * Verifies a GetBucketRequest message.
9302 * @param message Plain object to verify
9303 * @returns `null` if valid, otherwise the reason why it is not
9304 */
9305 public static verify(message: { [k: string]: any }): (string|null);
9306
9307 /**
9308 * Creates a GetBucketRequest message from a plain object. Also converts values to their respective internal types.
9309 * @param object Plain object
9310 * @returns GetBucketRequest
9311 */
9312 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetBucketRequest;
9313
9314 /**
9315 * Creates a plain object from a GetBucketRequest message. Also converts values to other types if specified.
9316 * @param message GetBucketRequest
9317 * @param [options] Conversion options
9318 * @returns Plain object
9319 */
9320 public static toObject(message: google.logging.v2.GetBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9321
9322 /**
9323 * Converts this GetBucketRequest to JSON.
9324 * @returns JSON object
9325 */
9326 public toJSON(): { [k: string]: any };
9327
9328 /**
9329 * Gets the default type url for GetBucketRequest
9330 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9331 * @returns The default type url
9332 */
9333 public static getTypeUrl(typeUrlPrefix?: string): string;
9334 }
9335
9336 /** Properties of a DeleteBucketRequest. */
9337 interface IDeleteBucketRequest {
9338
9339 /** DeleteBucketRequest name */
9340 name?: (string|null);
9341 }
9342
9343 /** Represents a DeleteBucketRequest. */
9344 class DeleteBucketRequest implements IDeleteBucketRequest {
9345
9346 /**
9347 * Constructs a new DeleteBucketRequest.
9348 * @param [properties] Properties to set
9349 */
9350 constructor(properties?: google.logging.v2.IDeleteBucketRequest);
9351
9352 /** DeleteBucketRequest name. */
9353 public name: string;
9354
9355 /**
9356 * Creates a new DeleteBucketRequest instance using the specified properties.
9357 * @param [properties] Properties to set
9358 * @returns DeleteBucketRequest instance
9359 */
9360 public static create(properties?: google.logging.v2.IDeleteBucketRequest): google.logging.v2.DeleteBucketRequest;
9361
9362 /**
9363 * Encodes the specified DeleteBucketRequest message. Does not implicitly {@link google.logging.v2.DeleteBucketRequest.verify|verify} messages.
9364 * @param message DeleteBucketRequest message or plain object to encode
9365 * @param [writer] Writer to encode to
9366 * @returns Writer
9367 */
9368 public static encode(message: google.logging.v2.IDeleteBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9369
9370 /**
9371 * Encodes the specified DeleteBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteBucketRequest.verify|verify} messages.
9372 * @param message DeleteBucketRequest message or plain object to encode
9373 * @param [writer] Writer to encode to
9374 * @returns Writer
9375 */
9376 public static encodeDelimited(message: google.logging.v2.IDeleteBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9377
9378 /**
9379 * Decodes a DeleteBucketRequest message from the specified reader or buffer.
9380 * @param reader Reader or buffer to decode from
9381 * @param [length] Message length if known beforehand
9382 * @returns DeleteBucketRequest
9383 * @throws {Error} If the payload is not a reader or valid buffer
9384 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9385 */
9386 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteBucketRequest;
9387
9388 /**
9389 * Decodes a DeleteBucketRequest message from the specified reader or buffer, length delimited.
9390 * @param reader Reader or buffer to decode from
9391 * @returns DeleteBucketRequest
9392 * @throws {Error} If the payload is not a reader or valid buffer
9393 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9394 */
9395 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteBucketRequest;
9396
9397 /**
9398 * Verifies a DeleteBucketRequest message.
9399 * @param message Plain object to verify
9400 * @returns `null` if valid, otherwise the reason why it is not
9401 */
9402 public static verify(message: { [k: string]: any }): (string|null);
9403
9404 /**
9405 * Creates a DeleteBucketRequest message from a plain object. Also converts values to their respective internal types.
9406 * @param object Plain object
9407 * @returns DeleteBucketRequest
9408 */
9409 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteBucketRequest;
9410
9411 /**
9412 * Creates a plain object from a DeleteBucketRequest message. Also converts values to other types if specified.
9413 * @param message DeleteBucketRequest
9414 * @param [options] Conversion options
9415 * @returns Plain object
9416 */
9417 public static toObject(message: google.logging.v2.DeleteBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9418
9419 /**
9420 * Converts this DeleteBucketRequest to JSON.
9421 * @returns JSON object
9422 */
9423 public toJSON(): { [k: string]: any };
9424
9425 /**
9426 * Gets the default type url for DeleteBucketRequest
9427 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9428 * @returns The default type url
9429 */
9430 public static getTypeUrl(typeUrlPrefix?: string): string;
9431 }
9432
9433 /** Properties of an UndeleteBucketRequest. */
9434 interface IUndeleteBucketRequest {
9435
9436 /** UndeleteBucketRequest name */
9437 name?: (string|null);
9438 }
9439
9440 /** Represents an UndeleteBucketRequest. */
9441 class UndeleteBucketRequest implements IUndeleteBucketRequest {
9442
9443 /**
9444 * Constructs a new UndeleteBucketRequest.
9445 * @param [properties] Properties to set
9446 */
9447 constructor(properties?: google.logging.v2.IUndeleteBucketRequest);
9448
9449 /** UndeleteBucketRequest name. */
9450 public name: string;
9451
9452 /**
9453 * Creates a new UndeleteBucketRequest instance using the specified properties.
9454 * @param [properties] Properties to set
9455 * @returns UndeleteBucketRequest instance
9456 */
9457 public static create(properties?: google.logging.v2.IUndeleteBucketRequest): google.logging.v2.UndeleteBucketRequest;
9458
9459 /**
9460 * Encodes the specified UndeleteBucketRequest message. Does not implicitly {@link google.logging.v2.UndeleteBucketRequest.verify|verify} messages.
9461 * @param message UndeleteBucketRequest message or plain object to encode
9462 * @param [writer] Writer to encode to
9463 * @returns Writer
9464 */
9465 public static encode(message: google.logging.v2.IUndeleteBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9466
9467 /**
9468 * Encodes the specified UndeleteBucketRequest message, length delimited. Does not implicitly {@link google.logging.v2.UndeleteBucketRequest.verify|verify} messages.
9469 * @param message UndeleteBucketRequest message or plain object to encode
9470 * @param [writer] Writer to encode to
9471 * @returns Writer
9472 */
9473 public static encodeDelimited(message: google.logging.v2.IUndeleteBucketRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9474
9475 /**
9476 * Decodes an UndeleteBucketRequest message from the specified reader or buffer.
9477 * @param reader Reader or buffer to decode from
9478 * @param [length] Message length if known beforehand
9479 * @returns UndeleteBucketRequest
9480 * @throws {Error} If the payload is not a reader or valid buffer
9481 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9482 */
9483 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UndeleteBucketRequest;
9484
9485 /**
9486 * Decodes an UndeleteBucketRequest message from the specified reader or buffer, length delimited.
9487 * @param reader Reader or buffer to decode from
9488 * @returns UndeleteBucketRequest
9489 * @throws {Error} If the payload is not a reader or valid buffer
9490 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9491 */
9492 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UndeleteBucketRequest;
9493
9494 /**
9495 * Verifies an UndeleteBucketRequest message.
9496 * @param message Plain object to verify
9497 * @returns `null` if valid, otherwise the reason why it is not
9498 */
9499 public static verify(message: { [k: string]: any }): (string|null);
9500
9501 /**
9502 * Creates an UndeleteBucketRequest message from a plain object. Also converts values to their respective internal types.
9503 * @param object Plain object
9504 * @returns UndeleteBucketRequest
9505 */
9506 public static fromObject(object: { [k: string]: any }): google.logging.v2.UndeleteBucketRequest;
9507
9508 /**
9509 * Creates a plain object from an UndeleteBucketRequest message. Also converts values to other types if specified.
9510 * @param message UndeleteBucketRequest
9511 * @param [options] Conversion options
9512 * @returns Plain object
9513 */
9514 public static toObject(message: google.logging.v2.UndeleteBucketRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9515
9516 /**
9517 * Converts this UndeleteBucketRequest to JSON.
9518 * @returns JSON object
9519 */
9520 public toJSON(): { [k: string]: any };
9521
9522 /**
9523 * Gets the default type url for UndeleteBucketRequest
9524 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9525 * @returns The default type url
9526 */
9527 public static getTypeUrl(typeUrlPrefix?: string): string;
9528 }
9529
9530 /** Properties of a ListViewsRequest. */
9531 interface IListViewsRequest {
9532
9533 /** ListViewsRequest parent */
9534 parent?: (string|null);
9535
9536 /** ListViewsRequest pageToken */
9537 pageToken?: (string|null);
9538
9539 /** ListViewsRequest pageSize */
9540 pageSize?: (number|null);
9541 }
9542
9543 /** Represents a ListViewsRequest. */
9544 class ListViewsRequest implements IListViewsRequest {
9545
9546 /**
9547 * Constructs a new ListViewsRequest.
9548 * @param [properties] Properties to set
9549 */
9550 constructor(properties?: google.logging.v2.IListViewsRequest);
9551
9552 /** ListViewsRequest parent. */
9553 public parent: string;
9554
9555 /** ListViewsRequest pageToken. */
9556 public pageToken: string;
9557
9558 /** ListViewsRequest pageSize. */
9559 public pageSize: number;
9560
9561 /**
9562 * Creates a new ListViewsRequest instance using the specified properties.
9563 * @param [properties] Properties to set
9564 * @returns ListViewsRequest instance
9565 */
9566 public static create(properties?: google.logging.v2.IListViewsRequest): google.logging.v2.ListViewsRequest;
9567
9568 /**
9569 * Encodes the specified ListViewsRequest message. Does not implicitly {@link google.logging.v2.ListViewsRequest.verify|verify} messages.
9570 * @param message ListViewsRequest message or plain object to encode
9571 * @param [writer] Writer to encode to
9572 * @returns Writer
9573 */
9574 public static encode(message: google.logging.v2.IListViewsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9575
9576 /**
9577 * Encodes the specified ListViewsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListViewsRequest.verify|verify} messages.
9578 * @param message ListViewsRequest message or plain object to encode
9579 * @param [writer] Writer to encode to
9580 * @returns Writer
9581 */
9582 public static encodeDelimited(message: google.logging.v2.IListViewsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9583
9584 /**
9585 * Decodes a ListViewsRequest message from the specified reader or buffer.
9586 * @param reader Reader or buffer to decode from
9587 * @param [length] Message length if known beforehand
9588 * @returns ListViewsRequest
9589 * @throws {Error} If the payload is not a reader or valid buffer
9590 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9591 */
9592 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListViewsRequest;
9593
9594 /**
9595 * Decodes a ListViewsRequest message from the specified reader or buffer, length delimited.
9596 * @param reader Reader or buffer to decode from
9597 * @returns ListViewsRequest
9598 * @throws {Error} If the payload is not a reader or valid buffer
9599 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9600 */
9601 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListViewsRequest;
9602
9603 /**
9604 * Verifies a ListViewsRequest message.
9605 * @param message Plain object to verify
9606 * @returns `null` if valid, otherwise the reason why it is not
9607 */
9608 public static verify(message: { [k: string]: any }): (string|null);
9609
9610 /**
9611 * Creates a ListViewsRequest message from a plain object. Also converts values to their respective internal types.
9612 * @param object Plain object
9613 * @returns ListViewsRequest
9614 */
9615 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListViewsRequest;
9616
9617 /**
9618 * Creates a plain object from a ListViewsRequest message. Also converts values to other types if specified.
9619 * @param message ListViewsRequest
9620 * @param [options] Conversion options
9621 * @returns Plain object
9622 */
9623 public static toObject(message: google.logging.v2.ListViewsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9624
9625 /**
9626 * Converts this ListViewsRequest to JSON.
9627 * @returns JSON object
9628 */
9629 public toJSON(): { [k: string]: any };
9630
9631 /**
9632 * Gets the default type url for ListViewsRequest
9633 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9634 * @returns The default type url
9635 */
9636 public static getTypeUrl(typeUrlPrefix?: string): string;
9637 }
9638
9639 /** Properties of a ListViewsResponse. */
9640 interface IListViewsResponse {
9641
9642 /** ListViewsResponse views */
9643 views?: (google.logging.v2.ILogView[]|null);
9644
9645 /** ListViewsResponse nextPageToken */
9646 nextPageToken?: (string|null);
9647 }
9648
9649 /** Represents a ListViewsResponse. */
9650 class ListViewsResponse implements IListViewsResponse {
9651
9652 /**
9653 * Constructs a new ListViewsResponse.
9654 * @param [properties] Properties to set
9655 */
9656 constructor(properties?: google.logging.v2.IListViewsResponse);
9657
9658 /** ListViewsResponse views. */
9659 public views: google.logging.v2.ILogView[];
9660
9661 /** ListViewsResponse nextPageToken. */
9662 public nextPageToken: string;
9663
9664 /**
9665 * Creates a new ListViewsResponse instance using the specified properties.
9666 * @param [properties] Properties to set
9667 * @returns ListViewsResponse instance
9668 */
9669 public static create(properties?: google.logging.v2.IListViewsResponse): google.logging.v2.ListViewsResponse;
9670
9671 /**
9672 * Encodes the specified ListViewsResponse message. Does not implicitly {@link google.logging.v2.ListViewsResponse.verify|verify} messages.
9673 * @param message ListViewsResponse message or plain object to encode
9674 * @param [writer] Writer to encode to
9675 * @returns Writer
9676 */
9677 public static encode(message: google.logging.v2.IListViewsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
9678
9679 /**
9680 * Encodes the specified ListViewsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListViewsResponse.verify|verify} messages.
9681 * @param message ListViewsResponse message or plain object to encode
9682 * @param [writer] Writer to encode to
9683 * @returns Writer
9684 */
9685 public static encodeDelimited(message: google.logging.v2.IListViewsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
9686
9687 /**
9688 * Decodes a ListViewsResponse message from the specified reader or buffer.
9689 * @param reader Reader or buffer to decode from
9690 * @param [length] Message length if known beforehand
9691 * @returns ListViewsResponse
9692 * @throws {Error} If the payload is not a reader or valid buffer
9693 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9694 */
9695 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListViewsResponse;
9696
9697 /**
9698 * Decodes a ListViewsResponse message from the specified reader or buffer, length delimited.
9699 * @param reader Reader or buffer to decode from
9700 * @returns ListViewsResponse
9701 * @throws {Error} If the payload is not a reader or valid buffer
9702 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9703 */
9704 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListViewsResponse;
9705
9706 /**
9707 * Verifies a ListViewsResponse message.
9708 * @param message Plain object to verify
9709 * @returns `null` if valid, otherwise the reason why it is not
9710 */
9711 public static verify(message: { [k: string]: any }): (string|null);
9712
9713 /**
9714 * Creates a ListViewsResponse message from a plain object. Also converts values to their respective internal types.
9715 * @param object Plain object
9716 * @returns ListViewsResponse
9717 */
9718 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListViewsResponse;
9719
9720 /**
9721 * Creates a plain object from a ListViewsResponse message. Also converts values to other types if specified.
9722 * @param message ListViewsResponse
9723 * @param [options] Conversion options
9724 * @returns Plain object
9725 */
9726 public static toObject(message: google.logging.v2.ListViewsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
9727
9728 /**
9729 * Converts this ListViewsResponse to JSON.
9730 * @returns JSON object
9731 */
9732 public toJSON(): { [k: string]: any };
9733
9734 /**
9735 * Gets the default type url for ListViewsResponse
9736 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9737 * @returns The default type url
9738 */
9739 public static getTypeUrl(typeUrlPrefix?: string): string;
9740 }
9741
9742 /** Properties of a CreateViewRequest. */
9743 interface ICreateViewRequest {
9744
9745 /** CreateViewRequest parent */
9746 parent?: (string|null);
9747
9748 /** CreateViewRequest viewId */
9749 viewId?: (string|null);
9750
9751 /** CreateViewRequest view */
9752 view?: (google.logging.v2.ILogView|null);
9753 }
9754
9755 /** Represents a CreateViewRequest. */
9756 class CreateViewRequest implements ICreateViewRequest {
9757
9758 /**
9759 * Constructs a new CreateViewRequest.
9760 * @param [properties] Properties to set
9761 */
9762 constructor(properties?: google.logging.v2.ICreateViewRequest);
9763
9764 /** CreateViewRequest parent. */
9765 public parent: string;
9766
9767 /** CreateViewRequest viewId. */
9768 public viewId: string;
9769
9770 /** CreateViewRequest view. */
9771 public view?: (google.logging.v2.ILogView|null);
9772
9773 /**
9774 * Creates a new CreateViewRequest instance using the specified properties.
9775 * @param [properties] Properties to set
9776 * @returns CreateViewRequest instance
9777 */
9778 public static create(properties?: google.logging.v2.ICreateViewRequest): google.logging.v2.CreateViewRequest;
9779
9780 /**
9781 * Encodes the specified CreateViewRequest message. Does not implicitly {@link google.logging.v2.CreateViewRequest.verify|verify} messages.
9782 * @param message CreateViewRequest message or plain object to encode
9783 * @param [writer] Writer to encode to
9784 * @returns Writer
9785 */
9786 public static encode(message: google.logging.v2.ICreateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9787
9788 /**
9789 * Encodes the specified CreateViewRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateViewRequest.verify|verify} messages.
9790 * @param message CreateViewRequest message or plain object to encode
9791 * @param [writer] Writer to encode to
9792 * @returns Writer
9793 */
9794 public static encodeDelimited(message: google.logging.v2.ICreateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9795
9796 /**
9797 * Decodes a CreateViewRequest message from the specified reader or buffer.
9798 * @param reader Reader or buffer to decode from
9799 * @param [length] Message length if known beforehand
9800 * @returns CreateViewRequest
9801 * @throws {Error} If the payload is not a reader or valid buffer
9802 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9803 */
9804 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateViewRequest;
9805
9806 /**
9807 * Decodes a CreateViewRequest message from the specified reader or buffer, length delimited.
9808 * @param reader Reader or buffer to decode from
9809 * @returns CreateViewRequest
9810 * @throws {Error} If the payload is not a reader or valid buffer
9811 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9812 */
9813 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateViewRequest;
9814
9815 /**
9816 * Verifies a CreateViewRequest message.
9817 * @param message Plain object to verify
9818 * @returns `null` if valid, otherwise the reason why it is not
9819 */
9820 public static verify(message: { [k: string]: any }): (string|null);
9821
9822 /**
9823 * Creates a CreateViewRequest message from a plain object. Also converts values to their respective internal types.
9824 * @param object Plain object
9825 * @returns CreateViewRequest
9826 */
9827 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateViewRequest;
9828
9829 /**
9830 * Creates a plain object from a CreateViewRequest message. Also converts values to other types if specified.
9831 * @param message CreateViewRequest
9832 * @param [options] Conversion options
9833 * @returns Plain object
9834 */
9835 public static toObject(message: google.logging.v2.CreateViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9836
9837 /**
9838 * Converts this CreateViewRequest to JSON.
9839 * @returns JSON object
9840 */
9841 public toJSON(): { [k: string]: any };
9842
9843 /**
9844 * Gets the default type url for CreateViewRequest
9845 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9846 * @returns The default type url
9847 */
9848 public static getTypeUrl(typeUrlPrefix?: string): string;
9849 }
9850
9851 /** Properties of an UpdateViewRequest. */
9852 interface IUpdateViewRequest {
9853
9854 /** UpdateViewRequest name */
9855 name?: (string|null);
9856
9857 /** UpdateViewRequest view */
9858 view?: (google.logging.v2.ILogView|null);
9859
9860 /** UpdateViewRequest updateMask */
9861 updateMask?: (google.protobuf.IFieldMask|null);
9862 }
9863
9864 /** Represents an UpdateViewRequest. */
9865 class UpdateViewRequest implements IUpdateViewRequest {
9866
9867 /**
9868 * Constructs a new UpdateViewRequest.
9869 * @param [properties] Properties to set
9870 */
9871 constructor(properties?: google.logging.v2.IUpdateViewRequest);
9872
9873 /** UpdateViewRequest name. */
9874 public name: string;
9875
9876 /** UpdateViewRequest view. */
9877 public view?: (google.logging.v2.ILogView|null);
9878
9879 /** UpdateViewRequest updateMask. */
9880 public updateMask?: (google.protobuf.IFieldMask|null);
9881
9882 /**
9883 * Creates a new UpdateViewRequest instance using the specified properties.
9884 * @param [properties] Properties to set
9885 * @returns UpdateViewRequest instance
9886 */
9887 public static create(properties?: google.logging.v2.IUpdateViewRequest): google.logging.v2.UpdateViewRequest;
9888
9889 /**
9890 * Encodes the specified UpdateViewRequest message. Does not implicitly {@link google.logging.v2.UpdateViewRequest.verify|verify} messages.
9891 * @param message UpdateViewRequest message or plain object to encode
9892 * @param [writer] Writer to encode to
9893 * @returns Writer
9894 */
9895 public static encode(message: google.logging.v2.IUpdateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9896
9897 /**
9898 * Encodes the specified UpdateViewRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateViewRequest.verify|verify} messages.
9899 * @param message UpdateViewRequest message or plain object to encode
9900 * @param [writer] Writer to encode to
9901 * @returns Writer
9902 */
9903 public static encodeDelimited(message: google.logging.v2.IUpdateViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9904
9905 /**
9906 * Decodes an UpdateViewRequest message from the specified reader or buffer.
9907 * @param reader Reader or buffer to decode from
9908 * @param [length] Message length if known beforehand
9909 * @returns UpdateViewRequest
9910 * @throws {Error} If the payload is not a reader or valid buffer
9911 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9912 */
9913 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateViewRequest;
9914
9915 /**
9916 * Decodes an UpdateViewRequest message from the specified reader or buffer, length delimited.
9917 * @param reader Reader or buffer to decode from
9918 * @returns UpdateViewRequest
9919 * @throws {Error} If the payload is not a reader or valid buffer
9920 * @throws {$protobuf.util.ProtocolError} If required fields are missing
9921 */
9922 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateViewRequest;
9923
9924 /**
9925 * Verifies an UpdateViewRequest message.
9926 * @param message Plain object to verify
9927 * @returns `null` if valid, otherwise the reason why it is not
9928 */
9929 public static verify(message: { [k: string]: any }): (string|null);
9930
9931 /**
9932 * Creates an UpdateViewRequest message from a plain object. Also converts values to their respective internal types.
9933 * @param object Plain object
9934 * @returns UpdateViewRequest
9935 */
9936 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateViewRequest;
9937
9938 /**
9939 * Creates a plain object from an UpdateViewRequest message. Also converts values to other types if specified.
9940 * @param message UpdateViewRequest
9941 * @param [options] Conversion options
9942 * @returns Plain object
9943 */
9944 public static toObject(message: google.logging.v2.UpdateViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
9945
9946 /**
9947 * Converts this UpdateViewRequest to JSON.
9948 * @returns JSON object
9949 */
9950 public toJSON(): { [k: string]: any };
9951
9952 /**
9953 * Gets the default type url for UpdateViewRequest
9954 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9955 * @returns The default type url
9956 */
9957 public static getTypeUrl(typeUrlPrefix?: string): string;
9958 }
9959
9960 /** Properties of a GetViewRequest. */
9961 interface IGetViewRequest {
9962
9963 /** GetViewRequest name */
9964 name?: (string|null);
9965 }
9966
9967 /** Represents a GetViewRequest. */
9968 class GetViewRequest implements IGetViewRequest {
9969
9970 /**
9971 * Constructs a new GetViewRequest.
9972 * @param [properties] Properties to set
9973 */
9974 constructor(properties?: google.logging.v2.IGetViewRequest);
9975
9976 /** GetViewRequest name. */
9977 public name: string;
9978
9979 /**
9980 * Creates a new GetViewRequest instance using the specified properties.
9981 * @param [properties] Properties to set
9982 * @returns GetViewRequest instance
9983 */
9984 public static create(properties?: google.logging.v2.IGetViewRequest): google.logging.v2.GetViewRequest;
9985
9986 /**
9987 * Encodes the specified GetViewRequest message. Does not implicitly {@link google.logging.v2.GetViewRequest.verify|verify} messages.
9988 * @param message GetViewRequest message or plain object to encode
9989 * @param [writer] Writer to encode to
9990 * @returns Writer
9991 */
9992 public static encode(message: google.logging.v2.IGetViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
9993
9994 /**
9995 * Encodes the specified GetViewRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetViewRequest.verify|verify} messages.
9996 * @param message GetViewRequest message or plain object to encode
9997 * @param [writer] Writer to encode to
9998 * @returns Writer
9999 */
10000 public static encodeDelimited(message: google.logging.v2.IGetViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10001
10002 /**
10003 * Decodes a GetViewRequest message from the specified reader or buffer.
10004 * @param reader Reader or buffer to decode from
10005 * @param [length] Message length if known beforehand
10006 * @returns GetViewRequest
10007 * @throws {Error} If the payload is not a reader or valid buffer
10008 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10009 */
10010 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetViewRequest;
10011
10012 /**
10013 * Decodes a GetViewRequest message from the specified reader or buffer, length delimited.
10014 * @param reader Reader or buffer to decode from
10015 * @returns GetViewRequest
10016 * @throws {Error} If the payload is not a reader or valid buffer
10017 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10018 */
10019 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetViewRequest;
10020
10021 /**
10022 * Verifies a GetViewRequest message.
10023 * @param message Plain object to verify
10024 * @returns `null` if valid, otherwise the reason why it is not
10025 */
10026 public static verify(message: { [k: string]: any }): (string|null);
10027
10028 /**
10029 * Creates a GetViewRequest message from a plain object. Also converts values to their respective internal types.
10030 * @param object Plain object
10031 * @returns GetViewRequest
10032 */
10033 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetViewRequest;
10034
10035 /**
10036 * Creates a plain object from a GetViewRequest message. Also converts values to other types if specified.
10037 * @param message GetViewRequest
10038 * @param [options] Conversion options
10039 * @returns Plain object
10040 */
10041 public static toObject(message: google.logging.v2.GetViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10042
10043 /**
10044 * Converts this GetViewRequest to JSON.
10045 * @returns JSON object
10046 */
10047 public toJSON(): { [k: string]: any };
10048
10049 /**
10050 * Gets the default type url for GetViewRequest
10051 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10052 * @returns The default type url
10053 */
10054 public static getTypeUrl(typeUrlPrefix?: string): string;
10055 }
10056
10057 /** Properties of a DeleteViewRequest. */
10058 interface IDeleteViewRequest {
10059
10060 /** DeleteViewRequest name */
10061 name?: (string|null);
10062 }
10063
10064 /** Represents a DeleteViewRequest. */
10065 class DeleteViewRequest implements IDeleteViewRequest {
10066
10067 /**
10068 * Constructs a new DeleteViewRequest.
10069 * @param [properties] Properties to set
10070 */
10071 constructor(properties?: google.logging.v2.IDeleteViewRequest);
10072
10073 /** DeleteViewRequest name. */
10074 public name: string;
10075
10076 /**
10077 * Creates a new DeleteViewRequest instance using the specified properties.
10078 * @param [properties] Properties to set
10079 * @returns DeleteViewRequest instance
10080 */
10081 public static create(properties?: google.logging.v2.IDeleteViewRequest): google.logging.v2.DeleteViewRequest;
10082
10083 /**
10084 * Encodes the specified DeleteViewRequest message. Does not implicitly {@link google.logging.v2.DeleteViewRequest.verify|verify} messages.
10085 * @param message DeleteViewRequest message or plain object to encode
10086 * @param [writer] Writer to encode to
10087 * @returns Writer
10088 */
10089 public static encode(message: google.logging.v2.IDeleteViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10090
10091 /**
10092 * Encodes the specified DeleteViewRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteViewRequest.verify|verify} messages.
10093 * @param message DeleteViewRequest message or plain object to encode
10094 * @param [writer] Writer to encode to
10095 * @returns Writer
10096 */
10097 public static encodeDelimited(message: google.logging.v2.IDeleteViewRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10098
10099 /**
10100 * Decodes a DeleteViewRequest message from the specified reader or buffer.
10101 * @param reader Reader or buffer to decode from
10102 * @param [length] Message length if known beforehand
10103 * @returns DeleteViewRequest
10104 * @throws {Error} If the payload is not a reader or valid buffer
10105 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10106 */
10107 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteViewRequest;
10108
10109 /**
10110 * Decodes a DeleteViewRequest message from the specified reader or buffer, length delimited.
10111 * @param reader Reader or buffer to decode from
10112 * @returns DeleteViewRequest
10113 * @throws {Error} If the payload is not a reader or valid buffer
10114 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10115 */
10116 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteViewRequest;
10117
10118 /**
10119 * Verifies a DeleteViewRequest message.
10120 * @param message Plain object to verify
10121 * @returns `null` if valid, otherwise the reason why it is not
10122 */
10123 public static verify(message: { [k: string]: any }): (string|null);
10124
10125 /**
10126 * Creates a DeleteViewRequest message from a plain object. Also converts values to their respective internal types.
10127 * @param object Plain object
10128 * @returns DeleteViewRequest
10129 */
10130 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteViewRequest;
10131
10132 /**
10133 * Creates a plain object from a DeleteViewRequest message. Also converts values to other types if specified.
10134 * @param message DeleteViewRequest
10135 * @param [options] Conversion options
10136 * @returns Plain object
10137 */
10138 public static toObject(message: google.logging.v2.DeleteViewRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10139
10140 /**
10141 * Converts this DeleteViewRequest to JSON.
10142 * @returns JSON object
10143 */
10144 public toJSON(): { [k: string]: any };
10145
10146 /**
10147 * Gets the default type url for DeleteViewRequest
10148 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10149 * @returns The default type url
10150 */
10151 public static getTypeUrl(typeUrlPrefix?: string): string;
10152 }
10153
10154 /** Properties of a ListSinksRequest. */
10155 interface IListSinksRequest {
10156
10157 /** ListSinksRequest parent */
10158 parent?: (string|null);
10159
10160 /** ListSinksRequest pageToken */
10161 pageToken?: (string|null);
10162
10163 /** ListSinksRequest pageSize */
10164 pageSize?: (number|null);
10165 }
10166
10167 /** Represents a ListSinksRequest. */
10168 class ListSinksRequest implements IListSinksRequest {
10169
10170 /**
10171 * Constructs a new ListSinksRequest.
10172 * @param [properties] Properties to set
10173 */
10174 constructor(properties?: google.logging.v2.IListSinksRequest);
10175
10176 /** ListSinksRequest parent. */
10177 public parent: string;
10178
10179 /** ListSinksRequest pageToken. */
10180 public pageToken: string;
10181
10182 /** ListSinksRequest pageSize. */
10183 public pageSize: number;
10184
10185 /**
10186 * Creates a new ListSinksRequest instance using the specified properties.
10187 * @param [properties] Properties to set
10188 * @returns ListSinksRequest instance
10189 */
10190 public static create(properties?: google.logging.v2.IListSinksRequest): google.logging.v2.ListSinksRequest;
10191
10192 /**
10193 * Encodes the specified ListSinksRequest message. Does not implicitly {@link google.logging.v2.ListSinksRequest.verify|verify} messages.
10194 * @param message ListSinksRequest message or plain object to encode
10195 * @param [writer] Writer to encode to
10196 * @returns Writer
10197 */
10198 public static encode(message: google.logging.v2.IListSinksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10199
10200 /**
10201 * Encodes the specified ListSinksRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListSinksRequest.verify|verify} messages.
10202 * @param message ListSinksRequest message or plain object to encode
10203 * @param [writer] Writer to encode to
10204 * @returns Writer
10205 */
10206 public static encodeDelimited(message: google.logging.v2.IListSinksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10207
10208 /**
10209 * Decodes a ListSinksRequest message from the specified reader or buffer.
10210 * @param reader Reader or buffer to decode from
10211 * @param [length] Message length if known beforehand
10212 * @returns ListSinksRequest
10213 * @throws {Error} If the payload is not a reader or valid buffer
10214 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10215 */
10216 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListSinksRequest;
10217
10218 /**
10219 * Decodes a ListSinksRequest message from the specified reader or buffer, length delimited.
10220 * @param reader Reader or buffer to decode from
10221 * @returns ListSinksRequest
10222 * @throws {Error} If the payload is not a reader or valid buffer
10223 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10224 */
10225 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListSinksRequest;
10226
10227 /**
10228 * Verifies a ListSinksRequest message.
10229 * @param message Plain object to verify
10230 * @returns `null` if valid, otherwise the reason why it is not
10231 */
10232 public static verify(message: { [k: string]: any }): (string|null);
10233
10234 /**
10235 * Creates a ListSinksRequest message from a plain object. Also converts values to their respective internal types.
10236 * @param object Plain object
10237 * @returns ListSinksRequest
10238 */
10239 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListSinksRequest;
10240
10241 /**
10242 * Creates a plain object from a ListSinksRequest message. Also converts values to other types if specified.
10243 * @param message ListSinksRequest
10244 * @param [options] Conversion options
10245 * @returns Plain object
10246 */
10247 public static toObject(message: google.logging.v2.ListSinksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10248
10249 /**
10250 * Converts this ListSinksRequest to JSON.
10251 * @returns JSON object
10252 */
10253 public toJSON(): { [k: string]: any };
10254
10255 /**
10256 * Gets the default type url for ListSinksRequest
10257 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10258 * @returns The default type url
10259 */
10260 public static getTypeUrl(typeUrlPrefix?: string): string;
10261 }
10262
10263 /** Properties of a ListSinksResponse. */
10264 interface IListSinksResponse {
10265
10266 /** ListSinksResponse sinks */
10267 sinks?: (google.logging.v2.ILogSink[]|null);
10268
10269 /** ListSinksResponse nextPageToken */
10270 nextPageToken?: (string|null);
10271 }
10272
10273 /** Represents a ListSinksResponse. */
10274 class ListSinksResponse implements IListSinksResponse {
10275
10276 /**
10277 * Constructs a new ListSinksResponse.
10278 * @param [properties] Properties to set
10279 */
10280 constructor(properties?: google.logging.v2.IListSinksResponse);
10281
10282 /** ListSinksResponse sinks. */
10283 public sinks: google.logging.v2.ILogSink[];
10284
10285 /** ListSinksResponse nextPageToken. */
10286 public nextPageToken: string;
10287
10288 /**
10289 * Creates a new ListSinksResponse instance using the specified properties.
10290 * @param [properties] Properties to set
10291 * @returns ListSinksResponse instance
10292 */
10293 public static create(properties?: google.logging.v2.IListSinksResponse): google.logging.v2.ListSinksResponse;
10294
10295 /**
10296 * Encodes the specified ListSinksResponse message. Does not implicitly {@link google.logging.v2.ListSinksResponse.verify|verify} messages.
10297 * @param message ListSinksResponse message or plain object to encode
10298 * @param [writer] Writer to encode to
10299 * @returns Writer
10300 */
10301 public static encode(message: google.logging.v2.IListSinksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
10302
10303 /**
10304 * Encodes the specified ListSinksResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListSinksResponse.verify|verify} messages.
10305 * @param message ListSinksResponse message or plain object to encode
10306 * @param [writer] Writer to encode to
10307 * @returns Writer
10308 */
10309 public static encodeDelimited(message: google.logging.v2.IListSinksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
10310
10311 /**
10312 * Decodes a ListSinksResponse message from the specified reader or buffer.
10313 * @param reader Reader or buffer to decode from
10314 * @param [length] Message length if known beforehand
10315 * @returns ListSinksResponse
10316 * @throws {Error} If the payload is not a reader or valid buffer
10317 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10318 */
10319 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListSinksResponse;
10320
10321 /**
10322 * Decodes a ListSinksResponse message from the specified reader or buffer, length delimited.
10323 * @param reader Reader or buffer to decode from
10324 * @returns ListSinksResponse
10325 * @throws {Error} If the payload is not a reader or valid buffer
10326 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10327 */
10328 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListSinksResponse;
10329
10330 /**
10331 * Verifies a ListSinksResponse message.
10332 * @param message Plain object to verify
10333 * @returns `null` if valid, otherwise the reason why it is not
10334 */
10335 public static verify(message: { [k: string]: any }): (string|null);
10336
10337 /**
10338 * Creates a ListSinksResponse message from a plain object. Also converts values to their respective internal types.
10339 * @param object Plain object
10340 * @returns ListSinksResponse
10341 */
10342 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListSinksResponse;
10343
10344 /**
10345 * Creates a plain object from a ListSinksResponse message. Also converts values to other types if specified.
10346 * @param message ListSinksResponse
10347 * @param [options] Conversion options
10348 * @returns Plain object
10349 */
10350 public static toObject(message: google.logging.v2.ListSinksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
10351
10352 /**
10353 * Converts this ListSinksResponse to JSON.
10354 * @returns JSON object
10355 */
10356 public toJSON(): { [k: string]: any };
10357
10358 /**
10359 * Gets the default type url for ListSinksResponse
10360 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10361 * @returns The default type url
10362 */
10363 public static getTypeUrl(typeUrlPrefix?: string): string;
10364 }
10365
10366 /** Properties of a GetSinkRequest. */
10367 interface IGetSinkRequest {
10368
10369 /** GetSinkRequest sinkName */
10370 sinkName?: (string|null);
10371 }
10372
10373 /** Represents a GetSinkRequest. */
10374 class GetSinkRequest implements IGetSinkRequest {
10375
10376 /**
10377 * Constructs a new GetSinkRequest.
10378 * @param [properties] Properties to set
10379 */
10380 constructor(properties?: google.logging.v2.IGetSinkRequest);
10381
10382 /** GetSinkRequest sinkName. */
10383 public sinkName: string;
10384
10385 /**
10386 * Creates a new GetSinkRequest instance using the specified properties.
10387 * @param [properties] Properties to set
10388 * @returns GetSinkRequest instance
10389 */
10390 public static create(properties?: google.logging.v2.IGetSinkRequest): google.logging.v2.GetSinkRequest;
10391
10392 /**
10393 * Encodes the specified GetSinkRequest message. Does not implicitly {@link google.logging.v2.GetSinkRequest.verify|verify} messages.
10394 * @param message GetSinkRequest message or plain object to encode
10395 * @param [writer] Writer to encode to
10396 * @returns Writer
10397 */
10398 public static encode(message: google.logging.v2.IGetSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10399
10400 /**
10401 * Encodes the specified GetSinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetSinkRequest.verify|verify} messages.
10402 * @param message GetSinkRequest message or plain object to encode
10403 * @param [writer] Writer to encode to
10404 * @returns Writer
10405 */
10406 public static encodeDelimited(message: google.logging.v2.IGetSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10407
10408 /**
10409 * Decodes a GetSinkRequest message from the specified reader or buffer.
10410 * @param reader Reader or buffer to decode from
10411 * @param [length] Message length if known beforehand
10412 * @returns GetSinkRequest
10413 * @throws {Error} If the payload is not a reader or valid buffer
10414 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10415 */
10416 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetSinkRequest;
10417
10418 /**
10419 * Decodes a GetSinkRequest message from the specified reader or buffer, length delimited.
10420 * @param reader Reader or buffer to decode from
10421 * @returns GetSinkRequest
10422 * @throws {Error} If the payload is not a reader or valid buffer
10423 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10424 */
10425 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetSinkRequest;
10426
10427 /**
10428 * Verifies a GetSinkRequest message.
10429 * @param message Plain object to verify
10430 * @returns `null` if valid, otherwise the reason why it is not
10431 */
10432 public static verify(message: { [k: string]: any }): (string|null);
10433
10434 /**
10435 * Creates a GetSinkRequest message from a plain object. Also converts values to their respective internal types.
10436 * @param object Plain object
10437 * @returns GetSinkRequest
10438 */
10439 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetSinkRequest;
10440
10441 /**
10442 * Creates a plain object from a GetSinkRequest message. Also converts values to other types if specified.
10443 * @param message GetSinkRequest
10444 * @param [options] Conversion options
10445 * @returns Plain object
10446 */
10447 public static toObject(message: google.logging.v2.GetSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10448
10449 /**
10450 * Converts this GetSinkRequest to JSON.
10451 * @returns JSON object
10452 */
10453 public toJSON(): { [k: string]: any };
10454
10455 /**
10456 * Gets the default type url for GetSinkRequest
10457 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10458 * @returns The default type url
10459 */
10460 public static getTypeUrl(typeUrlPrefix?: string): string;
10461 }
10462
10463 /** Properties of a CreateSinkRequest. */
10464 interface ICreateSinkRequest {
10465
10466 /** CreateSinkRequest parent */
10467 parent?: (string|null);
10468
10469 /** CreateSinkRequest sink */
10470 sink?: (google.logging.v2.ILogSink|null);
10471
10472 /** CreateSinkRequest uniqueWriterIdentity */
10473 uniqueWriterIdentity?: (boolean|null);
10474 }
10475
10476 /** Represents a CreateSinkRequest. */
10477 class CreateSinkRequest implements ICreateSinkRequest {
10478
10479 /**
10480 * Constructs a new CreateSinkRequest.
10481 * @param [properties] Properties to set
10482 */
10483 constructor(properties?: google.logging.v2.ICreateSinkRequest);
10484
10485 /** CreateSinkRequest parent. */
10486 public parent: string;
10487
10488 /** CreateSinkRequest sink. */
10489 public sink?: (google.logging.v2.ILogSink|null);
10490
10491 /** CreateSinkRequest uniqueWriterIdentity. */
10492 public uniqueWriterIdentity: boolean;
10493
10494 /**
10495 * Creates a new CreateSinkRequest instance using the specified properties.
10496 * @param [properties] Properties to set
10497 * @returns CreateSinkRequest instance
10498 */
10499 public static create(properties?: google.logging.v2.ICreateSinkRequest): google.logging.v2.CreateSinkRequest;
10500
10501 /**
10502 * Encodes the specified CreateSinkRequest message. Does not implicitly {@link google.logging.v2.CreateSinkRequest.verify|verify} messages.
10503 * @param message CreateSinkRequest message or plain object to encode
10504 * @param [writer] Writer to encode to
10505 * @returns Writer
10506 */
10507 public static encode(message: google.logging.v2.ICreateSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10508
10509 /**
10510 * Encodes the specified CreateSinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateSinkRequest.verify|verify} messages.
10511 * @param message CreateSinkRequest message or plain object to encode
10512 * @param [writer] Writer to encode to
10513 * @returns Writer
10514 */
10515 public static encodeDelimited(message: google.logging.v2.ICreateSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10516
10517 /**
10518 * Decodes a CreateSinkRequest message from the specified reader or buffer.
10519 * @param reader Reader or buffer to decode from
10520 * @param [length] Message length if known beforehand
10521 * @returns CreateSinkRequest
10522 * @throws {Error} If the payload is not a reader or valid buffer
10523 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10524 */
10525 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateSinkRequest;
10526
10527 /**
10528 * Decodes a CreateSinkRequest message from the specified reader or buffer, length delimited.
10529 * @param reader Reader or buffer to decode from
10530 * @returns CreateSinkRequest
10531 * @throws {Error} If the payload is not a reader or valid buffer
10532 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10533 */
10534 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateSinkRequest;
10535
10536 /**
10537 * Verifies a CreateSinkRequest message.
10538 * @param message Plain object to verify
10539 * @returns `null` if valid, otherwise the reason why it is not
10540 */
10541 public static verify(message: { [k: string]: any }): (string|null);
10542
10543 /**
10544 * Creates a CreateSinkRequest message from a plain object. Also converts values to their respective internal types.
10545 * @param object Plain object
10546 * @returns CreateSinkRequest
10547 */
10548 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateSinkRequest;
10549
10550 /**
10551 * Creates a plain object from a CreateSinkRequest message. Also converts values to other types if specified.
10552 * @param message CreateSinkRequest
10553 * @param [options] Conversion options
10554 * @returns Plain object
10555 */
10556 public static toObject(message: google.logging.v2.CreateSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10557
10558 /**
10559 * Converts this CreateSinkRequest to JSON.
10560 * @returns JSON object
10561 */
10562 public toJSON(): { [k: string]: any };
10563
10564 /**
10565 * Gets the default type url for CreateSinkRequest
10566 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10567 * @returns The default type url
10568 */
10569 public static getTypeUrl(typeUrlPrefix?: string): string;
10570 }
10571
10572 /** Properties of an UpdateSinkRequest. */
10573 interface IUpdateSinkRequest {
10574
10575 /** UpdateSinkRequest sinkName */
10576 sinkName?: (string|null);
10577
10578 /** UpdateSinkRequest sink */
10579 sink?: (google.logging.v2.ILogSink|null);
10580
10581 /** UpdateSinkRequest uniqueWriterIdentity */
10582 uniqueWriterIdentity?: (boolean|null);
10583
10584 /** UpdateSinkRequest updateMask */
10585 updateMask?: (google.protobuf.IFieldMask|null);
10586 }
10587
10588 /** Represents an UpdateSinkRequest. */
10589 class UpdateSinkRequest implements IUpdateSinkRequest {
10590
10591 /**
10592 * Constructs a new UpdateSinkRequest.
10593 * @param [properties] Properties to set
10594 */
10595 constructor(properties?: google.logging.v2.IUpdateSinkRequest);
10596
10597 /** UpdateSinkRequest sinkName. */
10598 public sinkName: string;
10599
10600 /** UpdateSinkRequest sink. */
10601 public sink?: (google.logging.v2.ILogSink|null);
10602
10603 /** UpdateSinkRequest uniqueWriterIdentity. */
10604 public uniqueWriterIdentity: boolean;
10605
10606 /** UpdateSinkRequest updateMask. */
10607 public updateMask?: (google.protobuf.IFieldMask|null);
10608
10609 /**
10610 * Creates a new UpdateSinkRequest instance using the specified properties.
10611 * @param [properties] Properties to set
10612 * @returns UpdateSinkRequest instance
10613 */
10614 public static create(properties?: google.logging.v2.IUpdateSinkRequest): google.logging.v2.UpdateSinkRequest;
10615
10616 /**
10617 * Encodes the specified UpdateSinkRequest message. Does not implicitly {@link google.logging.v2.UpdateSinkRequest.verify|verify} messages.
10618 * @param message UpdateSinkRequest message or plain object to encode
10619 * @param [writer] Writer to encode to
10620 * @returns Writer
10621 */
10622 public static encode(message: google.logging.v2.IUpdateSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10623
10624 /**
10625 * Encodes the specified UpdateSinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateSinkRequest.verify|verify} messages.
10626 * @param message UpdateSinkRequest message or plain object to encode
10627 * @param [writer] Writer to encode to
10628 * @returns Writer
10629 */
10630 public static encodeDelimited(message: google.logging.v2.IUpdateSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10631
10632 /**
10633 * Decodes an UpdateSinkRequest message from the specified reader or buffer.
10634 * @param reader Reader or buffer to decode from
10635 * @param [length] Message length if known beforehand
10636 * @returns UpdateSinkRequest
10637 * @throws {Error} If the payload is not a reader or valid buffer
10638 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10639 */
10640 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateSinkRequest;
10641
10642 /**
10643 * Decodes an UpdateSinkRequest message from the specified reader or buffer, length delimited.
10644 * @param reader Reader or buffer to decode from
10645 * @returns UpdateSinkRequest
10646 * @throws {Error} If the payload is not a reader or valid buffer
10647 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10648 */
10649 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateSinkRequest;
10650
10651 /**
10652 * Verifies an UpdateSinkRequest message.
10653 * @param message Plain object to verify
10654 * @returns `null` if valid, otherwise the reason why it is not
10655 */
10656 public static verify(message: { [k: string]: any }): (string|null);
10657
10658 /**
10659 * Creates an UpdateSinkRequest message from a plain object. Also converts values to their respective internal types.
10660 * @param object Plain object
10661 * @returns UpdateSinkRequest
10662 */
10663 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateSinkRequest;
10664
10665 /**
10666 * Creates a plain object from an UpdateSinkRequest message. Also converts values to other types if specified.
10667 * @param message UpdateSinkRequest
10668 * @param [options] Conversion options
10669 * @returns Plain object
10670 */
10671 public static toObject(message: google.logging.v2.UpdateSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10672
10673 /**
10674 * Converts this UpdateSinkRequest to JSON.
10675 * @returns JSON object
10676 */
10677 public toJSON(): { [k: string]: any };
10678
10679 /**
10680 * Gets the default type url for UpdateSinkRequest
10681 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10682 * @returns The default type url
10683 */
10684 public static getTypeUrl(typeUrlPrefix?: string): string;
10685 }
10686
10687 /** Properties of a DeleteSinkRequest. */
10688 interface IDeleteSinkRequest {
10689
10690 /** DeleteSinkRequest sinkName */
10691 sinkName?: (string|null);
10692 }
10693
10694 /** Represents a DeleteSinkRequest. */
10695 class DeleteSinkRequest implements IDeleteSinkRequest {
10696
10697 /**
10698 * Constructs a new DeleteSinkRequest.
10699 * @param [properties] Properties to set
10700 */
10701 constructor(properties?: google.logging.v2.IDeleteSinkRequest);
10702
10703 /** DeleteSinkRequest sinkName. */
10704 public sinkName: string;
10705
10706 /**
10707 * Creates a new DeleteSinkRequest instance using the specified properties.
10708 * @param [properties] Properties to set
10709 * @returns DeleteSinkRequest instance
10710 */
10711 public static create(properties?: google.logging.v2.IDeleteSinkRequest): google.logging.v2.DeleteSinkRequest;
10712
10713 /**
10714 * Encodes the specified DeleteSinkRequest message. Does not implicitly {@link google.logging.v2.DeleteSinkRequest.verify|verify} messages.
10715 * @param message DeleteSinkRequest message or plain object to encode
10716 * @param [writer] Writer to encode to
10717 * @returns Writer
10718 */
10719 public static encode(message: google.logging.v2.IDeleteSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10720
10721 /**
10722 * Encodes the specified DeleteSinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteSinkRequest.verify|verify} messages.
10723 * @param message DeleteSinkRequest message or plain object to encode
10724 * @param [writer] Writer to encode to
10725 * @returns Writer
10726 */
10727 public static encodeDelimited(message: google.logging.v2.IDeleteSinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10728
10729 /**
10730 * Decodes a DeleteSinkRequest message from the specified reader or buffer.
10731 * @param reader Reader or buffer to decode from
10732 * @param [length] Message length if known beforehand
10733 * @returns DeleteSinkRequest
10734 * @throws {Error} If the payload is not a reader or valid buffer
10735 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10736 */
10737 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteSinkRequest;
10738
10739 /**
10740 * Decodes a DeleteSinkRequest message from the specified reader or buffer, length delimited.
10741 * @param reader Reader or buffer to decode from
10742 * @returns DeleteSinkRequest
10743 * @throws {Error} If the payload is not a reader or valid buffer
10744 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10745 */
10746 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteSinkRequest;
10747
10748 /**
10749 * Verifies a DeleteSinkRequest message.
10750 * @param message Plain object to verify
10751 * @returns `null` if valid, otherwise the reason why it is not
10752 */
10753 public static verify(message: { [k: string]: any }): (string|null);
10754
10755 /**
10756 * Creates a DeleteSinkRequest message from a plain object. Also converts values to their respective internal types.
10757 * @param object Plain object
10758 * @returns DeleteSinkRequest
10759 */
10760 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteSinkRequest;
10761
10762 /**
10763 * Creates a plain object from a DeleteSinkRequest message. Also converts values to other types if specified.
10764 * @param message DeleteSinkRequest
10765 * @param [options] Conversion options
10766 * @returns Plain object
10767 */
10768 public static toObject(message: google.logging.v2.DeleteSinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10769
10770 /**
10771 * Converts this DeleteSinkRequest to JSON.
10772 * @returns JSON object
10773 */
10774 public toJSON(): { [k: string]: any };
10775
10776 /**
10777 * Gets the default type url for DeleteSinkRequest
10778 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10779 * @returns The default type url
10780 */
10781 public static getTypeUrl(typeUrlPrefix?: string): string;
10782 }
10783
10784 /** Properties of a CreateLinkRequest. */
10785 interface ICreateLinkRequest {
10786
10787 /** CreateLinkRequest parent */
10788 parent?: (string|null);
10789
10790 /** CreateLinkRequest link */
10791 link?: (google.logging.v2.ILink|null);
10792
10793 /** CreateLinkRequest linkId */
10794 linkId?: (string|null);
10795 }
10796
10797 /** Represents a CreateLinkRequest. */
10798 class CreateLinkRequest implements ICreateLinkRequest {
10799
10800 /**
10801 * Constructs a new CreateLinkRequest.
10802 * @param [properties] Properties to set
10803 */
10804 constructor(properties?: google.logging.v2.ICreateLinkRequest);
10805
10806 /** CreateLinkRequest parent. */
10807 public parent: string;
10808
10809 /** CreateLinkRequest link. */
10810 public link?: (google.logging.v2.ILink|null);
10811
10812 /** CreateLinkRequest linkId. */
10813 public linkId: string;
10814
10815 /**
10816 * Creates a new CreateLinkRequest instance using the specified properties.
10817 * @param [properties] Properties to set
10818 * @returns CreateLinkRequest instance
10819 */
10820 public static create(properties?: google.logging.v2.ICreateLinkRequest): google.logging.v2.CreateLinkRequest;
10821
10822 /**
10823 * Encodes the specified CreateLinkRequest message. Does not implicitly {@link google.logging.v2.CreateLinkRequest.verify|verify} messages.
10824 * @param message CreateLinkRequest message or plain object to encode
10825 * @param [writer] Writer to encode to
10826 * @returns Writer
10827 */
10828 public static encode(message: google.logging.v2.ICreateLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10829
10830 /**
10831 * Encodes the specified CreateLinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateLinkRequest.verify|verify} messages.
10832 * @param message CreateLinkRequest message or plain object to encode
10833 * @param [writer] Writer to encode to
10834 * @returns Writer
10835 */
10836 public static encodeDelimited(message: google.logging.v2.ICreateLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10837
10838 /**
10839 * Decodes a CreateLinkRequest message from the specified reader or buffer.
10840 * @param reader Reader or buffer to decode from
10841 * @param [length] Message length if known beforehand
10842 * @returns CreateLinkRequest
10843 * @throws {Error} If the payload is not a reader or valid buffer
10844 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10845 */
10846 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateLinkRequest;
10847
10848 /**
10849 * Decodes a CreateLinkRequest message from the specified reader or buffer, length delimited.
10850 * @param reader Reader or buffer to decode from
10851 * @returns CreateLinkRequest
10852 * @throws {Error} If the payload is not a reader or valid buffer
10853 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10854 */
10855 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateLinkRequest;
10856
10857 /**
10858 * Verifies a CreateLinkRequest message.
10859 * @param message Plain object to verify
10860 * @returns `null` if valid, otherwise the reason why it is not
10861 */
10862 public static verify(message: { [k: string]: any }): (string|null);
10863
10864 /**
10865 * Creates a CreateLinkRequest message from a plain object. Also converts values to their respective internal types.
10866 * @param object Plain object
10867 * @returns CreateLinkRequest
10868 */
10869 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateLinkRequest;
10870
10871 /**
10872 * Creates a plain object from a CreateLinkRequest message. Also converts values to other types if specified.
10873 * @param message CreateLinkRequest
10874 * @param [options] Conversion options
10875 * @returns Plain object
10876 */
10877 public static toObject(message: google.logging.v2.CreateLinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10878
10879 /**
10880 * Converts this CreateLinkRequest to JSON.
10881 * @returns JSON object
10882 */
10883 public toJSON(): { [k: string]: any };
10884
10885 /**
10886 * Gets the default type url for CreateLinkRequest
10887 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10888 * @returns The default type url
10889 */
10890 public static getTypeUrl(typeUrlPrefix?: string): string;
10891 }
10892
10893 /** Properties of a DeleteLinkRequest. */
10894 interface IDeleteLinkRequest {
10895
10896 /** DeleteLinkRequest name */
10897 name?: (string|null);
10898 }
10899
10900 /** Represents a DeleteLinkRequest. */
10901 class DeleteLinkRequest implements IDeleteLinkRequest {
10902
10903 /**
10904 * Constructs a new DeleteLinkRequest.
10905 * @param [properties] Properties to set
10906 */
10907 constructor(properties?: google.logging.v2.IDeleteLinkRequest);
10908
10909 /** DeleteLinkRequest name. */
10910 public name: string;
10911
10912 /**
10913 * Creates a new DeleteLinkRequest instance using the specified properties.
10914 * @param [properties] Properties to set
10915 * @returns DeleteLinkRequest instance
10916 */
10917 public static create(properties?: google.logging.v2.IDeleteLinkRequest): google.logging.v2.DeleteLinkRequest;
10918
10919 /**
10920 * Encodes the specified DeleteLinkRequest message. Does not implicitly {@link google.logging.v2.DeleteLinkRequest.verify|verify} messages.
10921 * @param message DeleteLinkRequest message or plain object to encode
10922 * @param [writer] Writer to encode to
10923 * @returns Writer
10924 */
10925 public static encode(message: google.logging.v2.IDeleteLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10926
10927 /**
10928 * Encodes the specified DeleteLinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteLinkRequest.verify|verify} messages.
10929 * @param message DeleteLinkRequest message or plain object to encode
10930 * @param [writer] Writer to encode to
10931 * @returns Writer
10932 */
10933 public static encodeDelimited(message: google.logging.v2.IDeleteLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
10934
10935 /**
10936 * Decodes a DeleteLinkRequest message from the specified reader or buffer.
10937 * @param reader Reader or buffer to decode from
10938 * @param [length] Message length if known beforehand
10939 * @returns DeleteLinkRequest
10940 * @throws {Error} If the payload is not a reader or valid buffer
10941 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10942 */
10943 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteLinkRequest;
10944
10945 /**
10946 * Decodes a DeleteLinkRequest message from the specified reader or buffer, length delimited.
10947 * @param reader Reader or buffer to decode from
10948 * @returns DeleteLinkRequest
10949 * @throws {Error} If the payload is not a reader or valid buffer
10950 * @throws {$protobuf.util.ProtocolError} If required fields are missing
10951 */
10952 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteLinkRequest;
10953
10954 /**
10955 * Verifies a DeleteLinkRequest message.
10956 * @param message Plain object to verify
10957 * @returns `null` if valid, otherwise the reason why it is not
10958 */
10959 public static verify(message: { [k: string]: any }): (string|null);
10960
10961 /**
10962 * Creates a DeleteLinkRequest message from a plain object. Also converts values to their respective internal types.
10963 * @param object Plain object
10964 * @returns DeleteLinkRequest
10965 */
10966 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteLinkRequest;
10967
10968 /**
10969 * Creates a plain object from a DeleteLinkRequest message. Also converts values to other types if specified.
10970 * @param message DeleteLinkRequest
10971 * @param [options] Conversion options
10972 * @returns Plain object
10973 */
10974 public static toObject(message: google.logging.v2.DeleteLinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
10975
10976 /**
10977 * Converts this DeleteLinkRequest to JSON.
10978 * @returns JSON object
10979 */
10980 public toJSON(): { [k: string]: any };
10981
10982 /**
10983 * Gets the default type url for DeleteLinkRequest
10984 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
10985 * @returns The default type url
10986 */
10987 public static getTypeUrl(typeUrlPrefix?: string): string;
10988 }
10989
10990 /** Properties of a ListLinksRequest. */
10991 interface IListLinksRequest {
10992
10993 /** ListLinksRequest parent */
10994 parent?: (string|null);
10995
10996 /** ListLinksRequest pageToken */
10997 pageToken?: (string|null);
10998
10999 /** ListLinksRequest pageSize */
11000 pageSize?: (number|null);
11001 }
11002
11003 /** Represents a ListLinksRequest. */
11004 class ListLinksRequest implements IListLinksRequest {
11005
11006 /**
11007 * Constructs a new ListLinksRequest.
11008 * @param [properties] Properties to set
11009 */
11010 constructor(properties?: google.logging.v2.IListLinksRequest);
11011
11012 /** ListLinksRequest parent. */
11013 public parent: string;
11014
11015 /** ListLinksRequest pageToken. */
11016 public pageToken: string;
11017
11018 /** ListLinksRequest pageSize. */
11019 public pageSize: number;
11020
11021 /**
11022 * Creates a new ListLinksRequest instance using the specified properties.
11023 * @param [properties] Properties to set
11024 * @returns ListLinksRequest instance
11025 */
11026 public static create(properties?: google.logging.v2.IListLinksRequest): google.logging.v2.ListLinksRequest;
11027
11028 /**
11029 * Encodes the specified ListLinksRequest message. Does not implicitly {@link google.logging.v2.ListLinksRequest.verify|verify} messages.
11030 * @param message ListLinksRequest message or plain object to encode
11031 * @param [writer] Writer to encode to
11032 * @returns Writer
11033 */
11034 public static encode(message: google.logging.v2.IListLinksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11035
11036 /**
11037 * Encodes the specified ListLinksRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListLinksRequest.verify|verify} messages.
11038 * @param message ListLinksRequest message or plain object to encode
11039 * @param [writer] Writer to encode to
11040 * @returns Writer
11041 */
11042 public static encodeDelimited(message: google.logging.v2.IListLinksRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11043
11044 /**
11045 * Decodes a ListLinksRequest message from the specified reader or buffer.
11046 * @param reader Reader or buffer to decode from
11047 * @param [length] Message length if known beforehand
11048 * @returns ListLinksRequest
11049 * @throws {Error} If the payload is not a reader or valid buffer
11050 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11051 */
11052 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLinksRequest;
11053
11054 /**
11055 * Decodes a ListLinksRequest message from the specified reader or buffer, length delimited.
11056 * @param reader Reader or buffer to decode from
11057 * @returns ListLinksRequest
11058 * @throws {Error} If the payload is not a reader or valid buffer
11059 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11060 */
11061 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLinksRequest;
11062
11063 /**
11064 * Verifies a ListLinksRequest message.
11065 * @param message Plain object to verify
11066 * @returns `null` if valid, otherwise the reason why it is not
11067 */
11068 public static verify(message: { [k: string]: any }): (string|null);
11069
11070 /**
11071 * Creates a ListLinksRequest message from a plain object. Also converts values to their respective internal types.
11072 * @param object Plain object
11073 * @returns ListLinksRequest
11074 */
11075 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLinksRequest;
11076
11077 /**
11078 * Creates a plain object from a ListLinksRequest message. Also converts values to other types if specified.
11079 * @param message ListLinksRequest
11080 * @param [options] Conversion options
11081 * @returns Plain object
11082 */
11083 public static toObject(message: google.logging.v2.ListLinksRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11084
11085 /**
11086 * Converts this ListLinksRequest to JSON.
11087 * @returns JSON object
11088 */
11089 public toJSON(): { [k: string]: any };
11090
11091 /**
11092 * Gets the default type url for ListLinksRequest
11093 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11094 * @returns The default type url
11095 */
11096 public static getTypeUrl(typeUrlPrefix?: string): string;
11097 }
11098
11099 /** Properties of a ListLinksResponse. */
11100 interface IListLinksResponse {
11101
11102 /** ListLinksResponse links */
11103 links?: (google.logging.v2.ILink[]|null);
11104
11105 /** ListLinksResponse nextPageToken */
11106 nextPageToken?: (string|null);
11107 }
11108
11109 /** Represents a ListLinksResponse. */
11110 class ListLinksResponse implements IListLinksResponse {
11111
11112 /**
11113 * Constructs a new ListLinksResponse.
11114 * @param [properties] Properties to set
11115 */
11116 constructor(properties?: google.logging.v2.IListLinksResponse);
11117
11118 /** ListLinksResponse links. */
11119 public links: google.logging.v2.ILink[];
11120
11121 /** ListLinksResponse nextPageToken. */
11122 public nextPageToken: string;
11123
11124 /**
11125 * Creates a new ListLinksResponse instance using the specified properties.
11126 * @param [properties] Properties to set
11127 * @returns ListLinksResponse instance
11128 */
11129 public static create(properties?: google.logging.v2.IListLinksResponse): google.logging.v2.ListLinksResponse;
11130
11131 /**
11132 * Encodes the specified ListLinksResponse message. Does not implicitly {@link google.logging.v2.ListLinksResponse.verify|verify} messages.
11133 * @param message ListLinksResponse message or plain object to encode
11134 * @param [writer] Writer to encode to
11135 * @returns Writer
11136 */
11137 public static encode(message: google.logging.v2.IListLinksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
11138
11139 /**
11140 * Encodes the specified ListLinksResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListLinksResponse.verify|verify} messages.
11141 * @param message ListLinksResponse message or plain object to encode
11142 * @param [writer] Writer to encode to
11143 * @returns Writer
11144 */
11145 public static encodeDelimited(message: google.logging.v2.IListLinksResponse, writer?: $protobuf.Writer): $protobuf.Writer;
11146
11147 /**
11148 * Decodes a ListLinksResponse message from the specified reader or buffer.
11149 * @param reader Reader or buffer to decode from
11150 * @param [length] Message length if known beforehand
11151 * @returns ListLinksResponse
11152 * @throws {Error} If the payload is not a reader or valid buffer
11153 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11154 */
11155 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLinksResponse;
11156
11157 /**
11158 * Decodes a ListLinksResponse message from the specified reader or buffer, length delimited.
11159 * @param reader Reader or buffer to decode from
11160 * @returns ListLinksResponse
11161 * @throws {Error} If the payload is not a reader or valid buffer
11162 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11163 */
11164 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLinksResponse;
11165
11166 /**
11167 * Verifies a ListLinksResponse message.
11168 * @param message Plain object to verify
11169 * @returns `null` if valid, otherwise the reason why it is not
11170 */
11171 public static verify(message: { [k: string]: any }): (string|null);
11172
11173 /**
11174 * Creates a ListLinksResponse message from a plain object. Also converts values to their respective internal types.
11175 * @param object Plain object
11176 * @returns ListLinksResponse
11177 */
11178 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLinksResponse;
11179
11180 /**
11181 * Creates a plain object from a ListLinksResponse message. Also converts values to other types if specified.
11182 * @param message ListLinksResponse
11183 * @param [options] Conversion options
11184 * @returns Plain object
11185 */
11186 public static toObject(message: google.logging.v2.ListLinksResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
11187
11188 /**
11189 * Converts this ListLinksResponse to JSON.
11190 * @returns JSON object
11191 */
11192 public toJSON(): { [k: string]: any };
11193
11194 /**
11195 * Gets the default type url for ListLinksResponse
11196 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11197 * @returns The default type url
11198 */
11199 public static getTypeUrl(typeUrlPrefix?: string): string;
11200 }
11201
11202 /** Properties of a GetLinkRequest. */
11203 interface IGetLinkRequest {
11204
11205 /** GetLinkRequest name */
11206 name?: (string|null);
11207 }
11208
11209 /** Represents a GetLinkRequest. */
11210 class GetLinkRequest implements IGetLinkRequest {
11211
11212 /**
11213 * Constructs a new GetLinkRequest.
11214 * @param [properties] Properties to set
11215 */
11216 constructor(properties?: google.logging.v2.IGetLinkRequest);
11217
11218 /** GetLinkRequest name. */
11219 public name: string;
11220
11221 /**
11222 * Creates a new GetLinkRequest instance using the specified properties.
11223 * @param [properties] Properties to set
11224 * @returns GetLinkRequest instance
11225 */
11226 public static create(properties?: google.logging.v2.IGetLinkRequest): google.logging.v2.GetLinkRequest;
11227
11228 /**
11229 * Encodes the specified GetLinkRequest message. Does not implicitly {@link google.logging.v2.GetLinkRequest.verify|verify} messages.
11230 * @param message GetLinkRequest message or plain object to encode
11231 * @param [writer] Writer to encode to
11232 * @returns Writer
11233 */
11234 public static encode(message: google.logging.v2.IGetLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11235
11236 /**
11237 * Encodes the specified GetLinkRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetLinkRequest.verify|verify} messages.
11238 * @param message GetLinkRequest message or plain object to encode
11239 * @param [writer] Writer to encode to
11240 * @returns Writer
11241 */
11242 public static encodeDelimited(message: google.logging.v2.IGetLinkRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11243
11244 /**
11245 * Decodes a GetLinkRequest message from the specified reader or buffer.
11246 * @param reader Reader or buffer to decode from
11247 * @param [length] Message length if known beforehand
11248 * @returns GetLinkRequest
11249 * @throws {Error} If the payload is not a reader or valid buffer
11250 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11251 */
11252 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetLinkRequest;
11253
11254 /**
11255 * Decodes a GetLinkRequest message from the specified reader or buffer, length delimited.
11256 * @param reader Reader or buffer to decode from
11257 * @returns GetLinkRequest
11258 * @throws {Error} If the payload is not a reader or valid buffer
11259 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11260 */
11261 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetLinkRequest;
11262
11263 /**
11264 * Verifies a GetLinkRequest message.
11265 * @param message Plain object to verify
11266 * @returns `null` if valid, otherwise the reason why it is not
11267 */
11268 public static verify(message: { [k: string]: any }): (string|null);
11269
11270 /**
11271 * Creates a GetLinkRequest message from a plain object. Also converts values to their respective internal types.
11272 * @param object Plain object
11273 * @returns GetLinkRequest
11274 */
11275 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetLinkRequest;
11276
11277 /**
11278 * Creates a plain object from a GetLinkRequest message. Also converts values to other types if specified.
11279 * @param message GetLinkRequest
11280 * @param [options] Conversion options
11281 * @returns Plain object
11282 */
11283 public static toObject(message: google.logging.v2.GetLinkRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11284
11285 /**
11286 * Converts this GetLinkRequest to JSON.
11287 * @returns JSON object
11288 */
11289 public toJSON(): { [k: string]: any };
11290
11291 /**
11292 * Gets the default type url for GetLinkRequest
11293 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11294 * @returns The default type url
11295 */
11296 public static getTypeUrl(typeUrlPrefix?: string): string;
11297 }
11298
11299 /** Properties of a LogExclusion. */
11300 interface ILogExclusion {
11301
11302 /** LogExclusion name */
11303 name?: (string|null);
11304
11305 /** LogExclusion description */
11306 description?: (string|null);
11307
11308 /** LogExclusion filter */
11309 filter?: (string|null);
11310
11311 /** LogExclusion disabled */
11312 disabled?: (boolean|null);
11313
11314 /** LogExclusion createTime */
11315 createTime?: (google.protobuf.ITimestamp|null);
11316
11317 /** LogExclusion updateTime */
11318 updateTime?: (google.protobuf.ITimestamp|null);
11319 }
11320
11321 /** Represents a LogExclusion. */
11322 class LogExclusion implements ILogExclusion {
11323
11324 /**
11325 * Constructs a new LogExclusion.
11326 * @param [properties] Properties to set
11327 */
11328 constructor(properties?: google.logging.v2.ILogExclusion);
11329
11330 /** LogExclusion name. */
11331 public name: string;
11332
11333 /** LogExclusion description. */
11334 public description: string;
11335
11336 /** LogExclusion filter. */
11337 public filter: string;
11338
11339 /** LogExclusion disabled. */
11340 public disabled: boolean;
11341
11342 /** LogExclusion createTime. */
11343 public createTime?: (google.protobuf.ITimestamp|null);
11344
11345 /** LogExclusion updateTime. */
11346 public updateTime?: (google.protobuf.ITimestamp|null);
11347
11348 /**
11349 * Creates a new LogExclusion instance using the specified properties.
11350 * @param [properties] Properties to set
11351 * @returns LogExclusion instance
11352 */
11353 public static create(properties?: google.logging.v2.ILogExclusion): google.logging.v2.LogExclusion;
11354
11355 /**
11356 * Encodes the specified LogExclusion message. Does not implicitly {@link google.logging.v2.LogExclusion.verify|verify} messages.
11357 * @param message LogExclusion message or plain object to encode
11358 * @param [writer] Writer to encode to
11359 * @returns Writer
11360 */
11361 public static encode(message: google.logging.v2.ILogExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
11362
11363 /**
11364 * Encodes the specified LogExclusion message, length delimited. Does not implicitly {@link google.logging.v2.LogExclusion.verify|verify} messages.
11365 * @param message LogExclusion message or plain object to encode
11366 * @param [writer] Writer to encode to
11367 * @returns Writer
11368 */
11369 public static encodeDelimited(message: google.logging.v2.ILogExclusion, writer?: $protobuf.Writer): $protobuf.Writer;
11370
11371 /**
11372 * Decodes a LogExclusion message from the specified reader or buffer.
11373 * @param reader Reader or buffer to decode from
11374 * @param [length] Message length if known beforehand
11375 * @returns LogExclusion
11376 * @throws {Error} If the payload is not a reader or valid buffer
11377 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11378 */
11379 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogExclusion;
11380
11381 /**
11382 * Decodes a LogExclusion message from the specified reader or buffer, length delimited.
11383 * @param reader Reader or buffer to decode from
11384 * @returns LogExclusion
11385 * @throws {Error} If the payload is not a reader or valid buffer
11386 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11387 */
11388 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogExclusion;
11389
11390 /**
11391 * Verifies a LogExclusion message.
11392 * @param message Plain object to verify
11393 * @returns `null` if valid, otherwise the reason why it is not
11394 */
11395 public static verify(message: { [k: string]: any }): (string|null);
11396
11397 /**
11398 * Creates a LogExclusion message from a plain object. Also converts values to their respective internal types.
11399 * @param object Plain object
11400 * @returns LogExclusion
11401 */
11402 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogExclusion;
11403
11404 /**
11405 * Creates a plain object from a LogExclusion message. Also converts values to other types if specified.
11406 * @param message LogExclusion
11407 * @param [options] Conversion options
11408 * @returns Plain object
11409 */
11410 public static toObject(message: google.logging.v2.LogExclusion, options?: $protobuf.IConversionOptions): { [k: string]: any };
11411
11412 /**
11413 * Converts this LogExclusion to JSON.
11414 * @returns JSON object
11415 */
11416 public toJSON(): { [k: string]: any };
11417
11418 /**
11419 * Gets the default type url for LogExclusion
11420 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11421 * @returns The default type url
11422 */
11423 public static getTypeUrl(typeUrlPrefix?: string): string;
11424 }
11425
11426 /** Properties of a ListExclusionsRequest. */
11427 interface IListExclusionsRequest {
11428
11429 /** ListExclusionsRequest parent */
11430 parent?: (string|null);
11431
11432 /** ListExclusionsRequest pageToken */
11433 pageToken?: (string|null);
11434
11435 /** ListExclusionsRequest pageSize */
11436 pageSize?: (number|null);
11437 }
11438
11439 /** Represents a ListExclusionsRequest. */
11440 class ListExclusionsRequest implements IListExclusionsRequest {
11441
11442 /**
11443 * Constructs a new ListExclusionsRequest.
11444 * @param [properties] Properties to set
11445 */
11446 constructor(properties?: google.logging.v2.IListExclusionsRequest);
11447
11448 /** ListExclusionsRequest parent. */
11449 public parent: string;
11450
11451 /** ListExclusionsRequest pageToken. */
11452 public pageToken: string;
11453
11454 /** ListExclusionsRequest pageSize. */
11455 public pageSize: number;
11456
11457 /**
11458 * Creates a new ListExclusionsRequest instance using the specified properties.
11459 * @param [properties] Properties to set
11460 * @returns ListExclusionsRequest instance
11461 */
11462 public static create(properties?: google.logging.v2.IListExclusionsRequest): google.logging.v2.ListExclusionsRequest;
11463
11464 /**
11465 * Encodes the specified ListExclusionsRequest message. Does not implicitly {@link google.logging.v2.ListExclusionsRequest.verify|verify} messages.
11466 * @param message ListExclusionsRequest message or plain object to encode
11467 * @param [writer] Writer to encode to
11468 * @returns Writer
11469 */
11470 public static encode(message: google.logging.v2.IListExclusionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11471
11472 /**
11473 * Encodes the specified ListExclusionsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListExclusionsRequest.verify|verify} messages.
11474 * @param message ListExclusionsRequest message or plain object to encode
11475 * @param [writer] Writer to encode to
11476 * @returns Writer
11477 */
11478 public static encodeDelimited(message: google.logging.v2.IListExclusionsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11479
11480 /**
11481 * Decodes a ListExclusionsRequest message from the specified reader or buffer.
11482 * @param reader Reader or buffer to decode from
11483 * @param [length] Message length if known beforehand
11484 * @returns ListExclusionsRequest
11485 * @throws {Error} If the payload is not a reader or valid buffer
11486 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11487 */
11488 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListExclusionsRequest;
11489
11490 /**
11491 * Decodes a ListExclusionsRequest message from the specified reader or buffer, length delimited.
11492 * @param reader Reader or buffer to decode from
11493 * @returns ListExclusionsRequest
11494 * @throws {Error} If the payload is not a reader or valid buffer
11495 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11496 */
11497 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListExclusionsRequest;
11498
11499 /**
11500 * Verifies a ListExclusionsRequest message.
11501 * @param message Plain object to verify
11502 * @returns `null` if valid, otherwise the reason why it is not
11503 */
11504 public static verify(message: { [k: string]: any }): (string|null);
11505
11506 /**
11507 * Creates a ListExclusionsRequest message from a plain object. Also converts values to their respective internal types.
11508 * @param object Plain object
11509 * @returns ListExclusionsRequest
11510 */
11511 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListExclusionsRequest;
11512
11513 /**
11514 * Creates a plain object from a ListExclusionsRequest message. Also converts values to other types if specified.
11515 * @param message ListExclusionsRequest
11516 * @param [options] Conversion options
11517 * @returns Plain object
11518 */
11519 public static toObject(message: google.logging.v2.ListExclusionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11520
11521 /**
11522 * Converts this ListExclusionsRequest to JSON.
11523 * @returns JSON object
11524 */
11525 public toJSON(): { [k: string]: any };
11526
11527 /**
11528 * Gets the default type url for ListExclusionsRequest
11529 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11530 * @returns The default type url
11531 */
11532 public static getTypeUrl(typeUrlPrefix?: string): string;
11533 }
11534
11535 /** Properties of a ListExclusionsResponse. */
11536 interface IListExclusionsResponse {
11537
11538 /** ListExclusionsResponse exclusions */
11539 exclusions?: (google.logging.v2.ILogExclusion[]|null);
11540
11541 /** ListExclusionsResponse nextPageToken */
11542 nextPageToken?: (string|null);
11543 }
11544
11545 /** Represents a ListExclusionsResponse. */
11546 class ListExclusionsResponse implements IListExclusionsResponse {
11547
11548 /**
11549 * Constructs a new ListExclusionsResponse.
11550 * @param [properties] Properties to set
11551 */
11552 constructor(properties?: google.logging.v2.IListExclusionsResponse);
11553
11554 /** ListExclusionsResponse exclusions. */
11555 public exclusions: google.logging.v2.ILogExclusion[];
11556
11557 /** ListExclusionsResponse nextPageToken. */
11558 public nextPageToken: string;
11559
11560 /**
11561 * Creates a new ListExclusionsResponse instance using the specified properties.
11562 * @param [properties] Properties to set
11563 * @returns ListExclusionsResponse instance
11564 */
11565 public static create(properties?: google.logging.v2.IListExclusionsResponse): google.logging.v2.ListExclusionsResponse;
11566
11567 /**
11568 * Encodes the specified ListExclusionsResponse message. Does not implicitly {@link google.logging.v2.ListExclusionsResponse.verify|verify} messages.
11569 * @param message ListExclusionsResponse message or plain object to encode
11570 * @param [writer] Writer to encode to
11571 * @returns Writer
11572 */
11573 public static encode(message: google.logging.v2.IListExclusionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
11574
11575 /**
11576 * Encodes the specified ListExclusionsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListExclusionsResponse.verify|verify} messages.
11577 * @param message ListExclusionsResponse message or plain object to encode
11578 * @param [writer] Writer to encode to
11579 * @returns Writer
11580 */
11581 public static encodeDelimited(message: google.logging.v2.IListExclusionsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
11582
11583 /**
11584 * Decodes a ListExclusionsResponse message from the specified reader or buffer.
11585 * @param reader Reader or buffer to decode from
11586 * @param [length] Message length if known beforehand
11587 * @returns ListExclusionsResponse
11588 * @throws {Error} If the payload is not a reader or valid buffer
11589 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11590 */
11591 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListExclusionsResponse;
11592
11593 /**
11594 * Decodes a ListExclusionsResponse message from the specified reader or buffer, length delimited.
11595 * @param reader Reader or buffer to decode from
11596 * @returns ListExclusionsResponse
11597 * @throws {Error} If the payload is not a reader or valid buffer
11598 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11599 */
11600 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListExclusionsResponse;
11601
11602 /**
11603 * Verifies a ListExclusionsResponse message.
11604 * @param message Plain object to verify
11605 * @returns `null` if valid, otherwise the reason why it is not
11606 */
11607 public static verify(message: { [k: string]: any }): (string|null);
11608
11609 /**
11610 * Creates a ListExclusionsResponse message from a plain object. Also converts values to their respective internal types.
11611 * @param object Plain object
11612 * @returns ListExclusionsResponse
11613 */
11614 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListExclusionsResponse;
11615
11616 /**
11617 * Creates a plain object from a ListExclusionsResponse message. Also converts values to other types if specified.
11618 * @param message ListExclusionsResponse
11619 * @param [options] Conversion options
11620 * @returns Plain object
11621 */
11622 public static toObject(message: google.logging.v2.ListExclusionsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
11623
11624 /**
11625 * Converts this ListExclusionsResponse to JSON.
11626 * @returns JSON object
11627 */
11628 public toJSON(): { [k: string]: any };
11629
11630 /**
11631 * Gets the default type url for ListExclusionsResponse
11632 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11633 * @returns The default type url
11634 */
11635 public static getTypeUrl(typeUrlPrefix?: string): string;
11636 }
11637
11638 /** Properties of a GetExclusionRequest. */
11639 interface IGetExclusionRequest {
11640
11641 /** GetExclusionRequest name */
11642 name?: (string|null);
11643 }
11644
11645 /** Represents a GetExclusionRequest. */
11646 class GetExclusionRequest implements IGetExclusionRequest {
11647
11648 /**
11649 * Constructs a new GetExclusionRequest.
11650 * @param [properties] Properties to set
11651 */
11652 constructor(properties?: google.logging.v2.IGetExclusionRequest);
11653
11654 /** GetExclusionRequest name. */
11655 public name: string;
11656
11657 /**
11658 * Creates a new GetExclusionRequest instance using the specified properties.
11659 * @param [properties] Properties to set
11660 * @returns GetExclusionRequest instance
11661 */
11662 public static create(properties?: google.logging.v2.IGetExclusionRequest): google.logging.v2.GetExclusionRequest;
11663
11664 /**
11665 * Encodes the specified GetExclusionRequest message. Does not implicitly {@link google.logging.v2.GetExclusionRequest.verify|verify} messages.
11666 * @param message GetExclusionRequest message or plain object to encode
11667 * @param [writer] Writer to encode to
11668 * @returns Writer
11669 */
11670 public static encode(message: google.logging.v2.IGetExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11671
11672 /**
11673 * Encodes the specified GetExclusionRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetExclusionRequest.verify|verify} messages.
11674 * @param message GetExclusionRequest message or plain object to encode
11675 * @param [writer] Writer to encode to
11676 * @returns Writer
11677 */
11678 public static encodeDelimited(message: google.logging.v2.IGetExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11679
11680 /**
11681 * Decodes a GetExclusionRequest message from the specified reader or buffer.
11682 * @param reader Reader or buffer to decode from
11683 * @param [length] Message length if known beforehand
11684 * @returns GetExclusionRequest
11685 * @throws {Error} If the payload is not a reader or valid buffer
11686 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11687 */
11688 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetExclusionRequest;
11689
11690 /**
11691 * Decodes a GetExclusionRequest message from the specified reader or buffer, length delimited.
11692 * @param reader Reader or buffer to decode from
11693 * @returns GetExclusionRequest
11694 * @throws {Error} If the payload is not a reader or valid buffer
11695 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11696 */
11697 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetExclusionRequest;
11698
11699 /**
11700 * Verifies a GetExclusionRequest message.
11701 * @param message Plain object to verify
11702 * @returns `null` if valid, otherwise the reason why it is not
11703 */
11704 public static verify(message: { [k: string]: any }): (string|null);
11705
11706 /**
11707 * Creates a GetExclusionRequest message from a plain object. Also converts values to their respective internal types.
11708 * @param object Plain object
11709 * @returns GetExclusionRequest
11710 */
11711 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetExclusionRequest;
11712
11713 /**
11714 * Creates a plain object from a GetExclusionRequest message. Also converts values to other types if specified.
11715 * @param message GetExclusionRequest
11716 * @param [options] Conversion options
11717 * @returns Plain object
11718 */
11719 public static toObject(message: google.logging.v2.GetExclusionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11720
11721 /**
11722 * Converts this GetExclusionRequest to JSON.
11723 * @returns JSON object
11724 */
11725 public toJSON(): { [k: string]: any };
11726
11727 /**
11728 * Gets the default type url for GetExclusionRequest
11729 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11730 * @returns The default type url
11731 */
11732 public static getTypeUrl(typeUrlPrefix?: string): string;
11733 }
11734
11735 /** Properties of a CreateExclusionRequest. */
11736 interface ICreateExclusionRequest {
11737
11738 /** CreateExclusionRequest parent */
11739 parent?: (string|null);
11740
11741 /** CreateExclusionRequest exclusion */
11742 exclusion?: (google.logging.v2.ILogExclusion|null);
11743 }
11744
11745 /** Represents a CreateExclusionRequest. */
11746 class CreateExclusionRequest implements ICreateExclusionRequest {
11747
11748 /**
11749 * Constructs a new CreateExclusionRequest.
11750 * @param [properties] Properties to set
11751 */
11752 constructor(properties?: google.logging.v2.ICreateExclusionRequest);
11753
11754 /** CreateExclusionRequest parent. */
11755 public parent: string;
11756
11757 /** CreateExclusionRequest exclusion. */
11758 public exclusion?: (google.logging.v2.ILogExclusion|null);
11759
11760 /**
11761 * Creates a new CreateExclusionRequest instance using the specified properties.
11762 * @param [properties] Properties to set
11763 * @returns CreateExclusionRequest instance
11764 */
11765 public static create(properties?: google.logging.v2.ICreateExclusionRequest): google.logging.v2.CreateExclusionRequest;
11766
11767 /**
11768 * Encodes the specified CreateExclusionRequest message. Does not implicitly {@link google.logging.v2.CreateExclusionRequest.verify|verify} messages.
11769 * @param message CreateExclusionRequest message or plain object to encode
11770 * @param [writer] Writer to encode to
11771 * @returns Writer
11772 */
11773 public static encode(message: google.logging.v2.ICreateExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11774
11775 /**
11776 * Encodes the specified CreateExclusionRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateExclusionRequest.verify|verify} messages.
11777 * @param message CreateExclusionRequest message or plain object to encode
11778 * @param [writer] Writer to encode to
11779 * @returns Writer
11780 */
11781 public static encodeDelimited(message: google.logging.v2.ICreateExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11782
11783 /**
11784 * Decodes a CreateExclusionRequest message from the specified reader or buffer.
11785 * @param reader Reader or buffer to decode from
11786 * @param [length] Message length if known beforehand
11787 * @returns CreateExclusionRequest
11788 * @throws {Error} If the payload is not a reader or valid buffer
11789 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11790 */
11791 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateExclusionRequest;
11792
11793 /**
11794 * Decodes a CreateExclusionRequest message from the specified reader or buffer, length delimited.
11795 * @param reader Reader or buffer to decode from
11796 * @returns CreateExclusionRequest
11797 * @throws {Error} If the payload is not a reader or valid buffer
11798 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11799 */
11800 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateExclusionRequest;
11801
11802 /**
11803 * Verifies a CreateExclusionRequest message.
11804 * @param message Plain object to verify
11805 * @returns `null` if valid, otherwise the reason why it is not
11806 */
11807 public static verify(message: { [k: string]: any }): (string|null);
11808
11809 /**
11810 * Creates a CreateExclusionRequest message from a plain object. Also converts values to their respective internal types.
11811 * @param object Plain object
11812 * @returns CreateExclusionRequest
11813 */
11814 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateExclusionRequest;
11815
11816 /**
11817 * Creates a plain object from a CreateExclusionRequest message. Also converts values to other types if specified.
11818 * @param message CreateExclusionRequest
11819 * @param [options] Conversion options
11820 * @returns Plain object
11821 */
11822 public static toObject(message: google.logging.v2.CreateExclusionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11823
11824 /**
11825 * Converts this CreateExclusionRequest to JSON.
11826 * @returns JSON object
11827 */
11828 public toJSON(): { [k: string]: any };
11829
11830 /**
11831 * Gets the default type url for CreateExclusionRequest
11832 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11833 * @returns The default type url
11834 */
11835 public static getTypeUrl(typeUrlPrefix?: string): string;
11836 }
11837
11838 /** Properties of an UpdateExclusionRequest. */
11839 interface IUpdateExclusionRequest {
11840
11841 /** UpdateExclusionRequest name */
11842 name?: (string|null);
11843
11844 /** UpdateExclusionRequest exclusion */
11845 exclusion?: (google.logging.v2.ILogExclusion|null);
11846
11847 /** UpdateExclusionRequest updateMask */
11848 updateMask?: (google.protobuf.IFieldMask|null);
11849 }
11850
11851 /** Represents an UpdateExclusionRequest. */
11852 class UpdateExclusionRequest implements IUpdateExclusionRequest {
11853
11854 /**
11855 * Constructs a new UpdateExclusionRequest.
11856 * @param [properties] Properties to set
11857 */
11858 constructor(properties?: google.logging.v2.IUpdateExclusionRequest);
11859
11860 /** UpdateExclusionRequest name. */
11861 public name: string;
11862
11863 /** UpdateExclusionRequest exclusion. */
11864 public exclusion?: (google.logging.v2.ILogExclusion|null);
11865
11866 /** UpdateExclusionRequest updateMask. */
11867 public updateMask?: (google.protobuf.IFieldMask|null);
11868
11869 /**
11870 * Creates a new UpdateExclusionRequest instance using the specified properties.
11871 * @param [properties] Properties to set
11872 * @returns UpdateExclusionRequest instance
11873 */
11874 public static create(properties?: google.logging.v2.IUpdateExclusionRequest): google.logging.v2.UpdateExclusionRequest;
11875
11876 /**
11877 * Encodes the specified UpdateExclusionRequest message. Does not implicitly {@link google.logging.v2.UpdateExclusionRequest.verify|verify} messages.
11878 * @param message UpdateExclusionRequest message or plain object to encode
11879 * @param [writer] Writer to encode to
11880 * @returns Writer
11881 */
11882 public static encode(message: google.logging.v2.IUpdateExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11883
11884 /**
11885 * Encodes the specified UpdateExclusionRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateExclusionRequest.verify|verify} messages.
11886 * @param message UpdateExclusionRequest message or plain object to encode
11887 * @param [writer] Writer to encode to
11888 * @returns Writer
11889 */
11890 public static encodeDelimited(message: google.logging.v2.IUpdateExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11891
11892 /**
11893 * Decodes an UpdateExclusionRequest message from the specified reader or buffer.
11894 * @param reader Reader or buffer to decode from
11895 * @param [length] Message length if known beforehand
11896 * @returns UpdateExclusionRequest
11897 * @throws {Error} If the payload is not a reader or valid buffer
11898 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11899 */
11900 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateExclusionRequest;
11901
11902 /**
11903 * Decodes an UpdateExclusionRequest message from the specified reader or buffer, length delimited.
11904 * @param reader Reader or buffer to decode from
11905 * @returns UpdateExclusionRequest
11906 * @throws {Error} If the payload is not a reader or valid buffer
11907 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11908 */
11909 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateExclusionRequest;
11910
11911 /**
11912 * Verifies an UpdateExclusionRequest message.
11913 * @param message Plain object to verify
11914 * @returns `null` if valid, otherwise the reason why it is not
11915 */
11916 public static verify(message: { [k: string]: any }): (string|null);
11917
11918 /**
11919 * Creates an UpdateExclusionRequest message from a plain object. Also converts values to their respective internal types.
11920 * @param object Plain object
11921 * @returns UpdateExclusionRequest
11922 */
11923 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateExclusionRequest;
11924
11925 /**
11926 * Creates a plain object from an UpdateExclusionRequest message. Also converts values to other types if specified.
11927 * @param message UpdateExclusionRequest
11928 * @param [options] Conversion options
11929 * @returns Plain object
11930 */
11931 public static toObject(message: google.logging.v2.UpdateExclusionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
11932
11933 /**
11934 * Converts this UpdateExclusionRequest to JSON.
11935 * @returns JSON object
11936 */
11937 public toJSON(): { [k: string]: any };
11938
11939 /**
11940 * Gets the default type url for UpdateExclusionRequest
11941 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
11942 * @returns The default type url
11943 */
11944 public static getTypeUrl(typeUrlPrefix?: string): string;
11945 }
11946
11947 /** Properties of a DeleteExclusionRequest. */
11948 interface IDeleteExclusionRequest {
11949
11950 /** DeleteExclusionRequest name */
11951 name?: (string|null);
11952 }
11953
11954 /** Represents a DeleteExclusionRequest. */
11955 class DeleteExclusionRequest implements IDeleteExclusionRequest {
11956
11957 /**
11958 * Constructs a new DeleteExclusionRequest.
11959 * @param [properties] Properties to set
11960 */
11961 constructor(properties?: google.logging.v2.IDeleteExclusionRequest);
11962
11963 /** DeleteExclusionRequest name. */
11964 public name: string;
11965
11966 /**
11967 * Creates a new DeleteExclusionRequest instance using the specified properties.
11968 * @param [properties] Properties to set
11969 * @returns DeleteExclusionRequest instance
11970 */
11971 public static create(properties?: google.logging.v2.IDeleteExclusionRequest): google.logging.v2.DeleteExclusionRequest;
11972
11973 /**
11974 * Encodes the specified DeleteExclusionRequest message. Does not implicitly {@link google.logging.v2.DeleteExclusionRequest.verify|verify} messages.
11975 * @param message DeleteExclusionRequest message or plain object to encode
11976 * @param [writer] Writer to encode to
11977 * @returns Writer
11978 */
11979 public static encode(message: google.logging.v2.IDeleteExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11980
11981 /**
11982 * Encodes the specified DeleteExclusionRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteExclusionRequest.verify|verify} messages.
11983 * @param message DeleteExclusionRequest message or plain object to encode
11984 * @param [writer] Writer to encode to
11985 * @returns Writer
11986 */
11987 public static encodeDelimited(message: google.logging.v2.IDeleteExclusionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
11988
11989 /**
11990 * Decodes a DeleteExclusionRequest message from the specified reader or buffer.
11991 * @param reader Reader or buffer to decode from
11992 * @param [length] Message length if known beforehand
11993 * @returns DeleteExclusionRequest
11994 * @throws {Error} If the payload is not a reader or valid buffer
11995 * @throws {$protobuf.util.ProtocolError} If required fields are missing
11996 */
11997 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteExclusionRequest;
11998
11999 /**
12000 * Decodes a DeleteExclusionRequest message from the specified reader or buffer, length delimited.
12001 * @param reader Reader or buffer to decode from
12002 * @returns DeleteExclusionRequest
12003 * @throws {Error} If the payload is not a reader or valid buffer
12004 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12005 */
12006 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteExclusionRequest;
12007
12008 /**
12009 * Verifies a DeleteExclusionRequest message.
12010 * @param message Plain object to verify
12011 * @returns `null` if valid, otherwise the reason why it is not
12012 */
12013 public static verify(message: { [k: string]: any }): (string|null);
12014
12015 /**
12016 * Creates a DeleteExclusionRequest message from a plain object. Also converts values to their respective internal types.
12017 * @param object Plain object
12018 * @returns DeleteExclusionRequest
12019 */
12020 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteExclusionRequest;
12021
12022 /**
12023 * Creates a plain object from a DeleteExclusionRequest message. Also converts values to other types if specified.
12024 * @param message DeleteExclusionRequest
12025 * @param [options] Conversion options
12026 * @returns Plain object
12027 */
12028 public static toObject(message: google.logging.v2.DeleteExclusionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12029
12030 /**
12031 * Converts this DeleteExclusionRequest to JSON.
12032 * @returns JSON object
12033 */
12034 public toJSON(): { [k: string]: any };
12035
12036 /**
12037 * Gets the default type url for DeleteExclusionRequest
12038 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12039 * @returns The default type url
12040 */
12041 public static getTypeUrl(typeUrlPrefix?: string): string;
12042 }
12043
12044 /** Properties of a GetCmekSettingsRequest. */
12045 interface IGetCmekSettingsRequest {
12046
12047 /** GetCmekSettingsRequest name */
12048 name?: (string|null);
12049 }
12050
12051 /** Represents a GetCmekSettingsRequest. */
12052 class GetCmekSettingsRequest implements IGetCmekSettingsRequest {
12053
12054 /**
12055 * Constructs a new GetCmekSettingsRequest.
12056 * @param [properties] Properties to set
12057 */
12058 constructor(properties?: google.logging.v2.IGetCmekSettingsRequest);
12059
12060 /** GetCmekSettingsRequest name. */
12061 public name: string;
12062
12063 /**
12064 * Creates a new GetCmekSettingsRequest instance using the specified properties.
12065 * @param [properties] Properties to set
12066 * @returns GetCmekSettingsRequest instance
12067 */
12068 public static create(properties?: google.logging.v2.IGetCmekSettingsRequest): google.logging.v2.GetCmekSettingsRequest;
12069
12070 /**
12071 * Encodes the specified GetCmekSettingsRequest message. Does not implicitly {@link google.logging.v2.GetCmekSettingsRequest.verify|verify} messages.
12072 * @param message GetCmekSettingsRequest message or plain object to encode
12073 * @param [writer] Writer to encode to
12074 * @returns Writer
12075 */
12076 public static encode(message: google.logging.v2.IGetCmekSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12077
12078 /**
12079 * Encodes the specified GetCmekSettingsRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetCmekSettingsRequest.verify|verify} messages.
12080 * @param message GetCmekSettingsRequest message or plain object to encode
12081 * @param [writer] Writer to encode to
12082 * @returns Writer
12083 */
12084 public static encodeDelimited(message: google.logging.v2.IGetCmekSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12085
12086 /**
12087 * Decodes a GetCmekSettingsRequest message from the specified reader or buffer.
12088 * @param reader Reader or buffer to decode from
12089 * @param [length] Message length if known beforehand
12090 * @returns GetCmekSettingsRequest
12091 * @throws {Error} If the payload is not a reader or valid buffer
12092 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12093 */
12094 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetCmekSettingsRequest;
12095
12096 /**
12097 * Decodes a GetCmekSettingsRequest message from the specified reader or buffer, length delimited.
12098 * @param reader Reader or buffer to decode from
12099 * @returns GetCmekSettingsRequest
12100 * @throws {Error} If the payload is not a reader or valid buffer
12101 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12102 */
12103 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetCmekSettingsRequest;
12104
12105 /**
12106 * Verifies a GetCmekSettingsRequest message.
12107 * @param message Plain object to verify
12108 * @returns `null` if valid, otherwise the reason why it is not
12109 */
12110 public static verify(message: { [k: string]: any }): (string|null);
12111
12112 /**
12113 * Creates a GetCmekSettingsRequest message from a plain object. Also converts values to their respective internal types.
12114 * @param object Plain object
12115 * @returns GetCmekSettingsRequest
12116 */
12117 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetCmekSettingsRequest;
12118
12119 /**
12120 * Creates a plain object from a GetCmekSettingsRequest message. Also converts values to other types if specified.
12121 * @param message GetCmekSettingsRequest
12122 * @param [options] Conversion options
12123 * @returns Plain object
12124 */
12125 public static toObject(message: google.logging.v2.GetCmekSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12126
12127 /**
12128 * Converts this GetCmekSettingsRequest to JSON.
12129 * @returns JSON object
12130 */
12131 public toJSON(): { [k: string]: any };
12132
12133 /**
12134 * Gets the default type url for GetCmekSettingsRequest
12135 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12136 * @returns The default type url
12137 */
12138 public static getTypeUrl(typeUrlPrefix?: string): string;
12139 }
12140
12141 /** Properties of an UpdateCmekSettingsRequest. */
12142 interface IUpdateCmekSettingsRequest {
12143
12144 /** UpdateCmekSettingsRequest name */
12145 name?: (string|null);
12146
12147 /** UpdateCmekSettingsRequest cmekSettings */
12148 cmekSettings?: (google.logging.v2.ICmekSettings|null);
12149
12150 /** UpdateCmekSettingsRequest updateMask */
12151 updateMask?: (google.protobuf.IFieldMask|null);
12152 }
12153
12154 /** Represents an UpdateCmekSettingsRequest. */
12155 class UpdateCmekSettingsRequest implements IUpdateCmekSettingsRequest {
12156
12157 /**
12158 * Constructs a new UpdateCmekSettingsRequest.
12159 * @param [properties] Properties to set
12160 */
12161 constructor(properties?: google.logging.v2.IUpdateCmekSettingsRequest);
12162
12163 /** UpdateCmekSettingsRequest name. */
12164 public name: string;
12165
12166 /** UpdateCmekSettingsRequest cmekSettings. */
12167 public cmekSettings?: (google.logging.v2.ICmekSettings|null);
12168
12169 /** UpdateCmekSettingsRequest updateMask. */
12170 public updateMask?: (google.protobuf.IFieldMask|null);
12171
12172 /**
12173 * Creates a new UpdateCmekSettingsRequest instance using the specified properties.
12174 * @param [properties] Properties to set
12175 * @returns UpdateCmekSettingsRequest instance
12176 */
12177 public static create(properties?: google.logging.v2.IUpdateCmekSettingsRequest): google.logging.v2.UpdateCmekSettingsRequest;
12178
12179 /**
12180 * Encodes the specified UpdateCmekSettingsRequest message. Does not implicitly {@link google.logging.v2.UpdateCmekSettingsRequest.verify|verify} messages.
12181 * @param message UpdateCmekSettingsRequest message or plain object to encode
12182 * @param [writer] Writer to encode to
12183 * @returns Writer
12184 */
12185 public static encode(message: google.logging.v2.IUpdateCmekSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12186
12187 /**
12188 * Encodes the specified UpdateCmekSettingsRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateCmekSettingsRequest.verify|verify} messages.
12189 * @param message UpdateCmekSettingsRequest message or plain object to encode
12190 * @param [writer] Writer to encode to
12191 * @returns Writer
12192 */
12193 public static encodeDelimited(message: google.logging.v2.IUpdateCmekSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12194
12195 /**
12196 * Decodes an UpdateCmekSettingsRequest message from the specified reader or buffer.
12197 * @param reader Reader or buffer to decode from
12198 * @param [length] Message length if known beforehand
12199 * @returns UpdateCmekSettingsRequest
12200 * @throws {Error} If the payload is not a reader or valid buffer
12201 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12202 */
12203 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateCmekSettingsRequest;
12204
12205 /**
12206 * Decodes an UpdateCmekSettingsRequest message from the specified reader or buffer, length delimited.
12207 * @param reader Reader or buffer to decode from
12208 * @returns UpdateCmekSettingsRequest
12209 * @throws {Error} If the payload is not a reader or valid buffer
12210 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12211 */
12212 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateCmekSettingsRequest;
12213
12214 /**
12215 * Verifies an UpdateCmekSettingsRequest message.
12216 * @param message Plain object to verify
12217 * @returns `null` if valid, otherwise the reason why it is not
12218 */
12219 public static verify(message: { [k: string]: any }): (string|null);
12220
12221 /**
12222 * Creates an UpdateCmekSettingsRequest message from a plain object. Also converts values to their respective internal types.
12223 * @param object Plain object
12224 * @returns UpdateCmekSettingsRequest
12225 */
12226 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateCmekSettingsRequest;
12227
12228 /**
12229 * Creates a plain object from an UpdateCmekSettingsRequest message. Also converts values to other types if specified.
12230 * @param message UpdateCmekSettingsRequest
12231 * @param [options] Conversion options
12232 * @returns Plain object
12233 */
12234 public static toObject(message: google.logging.v2.UpdateCmekSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12235
12236 /**
12237 * Converts this UpdateCmekSettingsRequest to JSON.
12238 * @returns JSON object
12239 */
12240 public toJSON(): { [k: string]: any };
12241
12242 /**
12243 * Gets the default type url for UpdateCmekSettingsRequest
12244 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12245 * @returns The default type url
12246 */
12247 public static getTypeUrl(typeUrlPrefix?: string): string;
12248 }
12249
12250 /** Properties of a CmekSettings. */
12251 interface ICmekSettings {
12252
12253 /** CmekSettings name */
12254 name?: (string|null);
12255
12256 /** CmekSettings kmsKeyName */
12257 kmsKeyName?: (string|null);
12258
12259 /** CmekSettings kmsKeyVersionName */
12260 kmsKeyVersionName?: (string|null);
12261
12262 /** CmekSettings serviceAccountId */
12263 serviceAccountId?: (string|null);
12264 }
12265
12266 /** Represents a CmekSettings. */
12267 class CmekSettings implements ICmekSettings {
12268
12269 /**
12270 * Constructs a new CmekSettings.
12271 * @param [properties] Properties to set
12272 */
12273 constructor(properties?: google.logging.v2.ICmekSettings);
12274
12275 /** CmekSettings name. */
12276 public name: string;
12277
12278 /** CmekSettings kmsKeyName. */
12279 public kmsKeyName: string;
12280
12281 /** CmekSettings kmsKeyVersionName. */
12282 public kmsKeyVersionName: string;
12283
12284 /** CmekSettings serviceAccountId. */
12285 public serviceAccountId: string;
12286
12287 /**
12288 * Creates a new CmekSettings instance using the specified properties.
12289 * @param [properties] Properties to set
12290 * @returns CmekSettings instance
12291 */
12292 public static create(properties?: google.logging.v2.ICmekSettings): google.logging.v2.CmekSettings;
12293
12294 /**
12295 * Encodes the specified CmekSettings message. Does not implicitly {@link google.logging.v2.CmekSettings.verify|verify} messages.
12296 * @param message CmekSettings message or plain object to encode
12297 * @param [writer] Writer to encode to
12298 * @returns Writer
12299 */
12300 public static encode(message: google.logging.v2.ICmekSettings, writer?: $protobuf.Writer): $protobuf.Writer;
12301
12302 /**
12303 * Encodes the specified CmekSettings message, length delimited. Does not implicitly {@link google.logging.v2.CmekSettings.verify|verify} messages.
12304 * @param message CmekSettings message or plain object to encode
12305 * @param [writer] Writer to encode to
12306 * @returns Writer
12307 */
12308 public static encodeDelimited(message: google.logging.v2.ICmekSettings, writer?: $protobuf.Writer): $protobuf.Writer;
12309
12310 /**
12311 * Decodes a CmekSettings message from the specified reader or buffer.
12312 * @param reader Reader or buffer to decode from
12313 * @param [length] Message length if known beforehand
12314 * @returns CmekSettings
12315 * @throws {Error} If the payload is not a reader or valid buffer
12316 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12317 */
12318 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CmekSettings;
12319
12320 /**
12321 * Decodes a CmekSettings message from the specified reader or buffer, length delimited.
12322 * @param reader Reader or buffer to decode from
12323 * @returns CmekSettings
12324 * @throws {Error} If the payload is not a reader or valid buffer
12325 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12326 */
12327 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CmekSettings;
12328
12329 /**
12330 * Verifies a CmekSettings message.
12331 * @param message Plain object to verify
12332 * @returns `null` if valid, otherwise the reason why it is not
12333 */
12334 public static verify(message: { [k: string]: any }): (string|null);
12335
12336 /**
12337 * Creates a CmekSettings message from a plain object. Also converts values to their respective internal types.
12338 * @param object Plain object
12339 * @returns CmekSettings
12340 */
12341 public static fromObject(object: { [k: string]: any }): google.logging.v2.CmekSettings;
12342
12343 /**
12344 * Creates a plain object from a CmekSettings message. Also converts values to other types if specified.
12345 * @param message CmekSettings
12346 * @param [options] Conversion options
12347 * @returns Plain object
12348 */
12349 public static toObject(message: google.logging.v2.CmekSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
12350
12351 /**
12352 * Converts this CmekSettings to JSON.
12353 * @returns JSON object
12354 */
12355 public toJSON(): { [k: string]: any };
12356
12357 /**
12358 * Gets the default type url for CmekSettings
12359 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12360 * @returns The default type url
12361 */
12362 public static getTypeUrl(typeUrlPrefix?: string): string;
12363 }
12364
12365 /** Properties of a GetSettingsRequest. */
12366 interface IGetSettingsRequest {
12367
12368 /** GetSettingsRequest name */
12369 name?: (string|null);
12370 }
12371
12372 /** Represents a GetSettingsRequest. */
12373 class GetSettingsRequest implements IGetSettingsRequest {
12374
12375 /**
12376 * Constructs a new GetSettingsRequest.
12377 * @param [properties] Properties to set
12378 */
12379 constructor(properties?: google.logging.v2.IGetSettingsRequest);
12380
12381 /** GetSettingsRequest name. */
12382 public name: string;
12383
12384 /**
12385 * Creates a new GetSettingsRequest instance using the specified properties.
12386 * @param [properties] Properties to set
12387 * @returns GetSettingsRequest instance
12388 */
12389 public static create(properties?: google.logging.v2.IGetSettingsRequest): google.logging.v2.GetSettingsRequest;
12390
12391 /**
12392 * Encodes the specified GetSettingsRequest message. Does not implicitly {@link google.logging.v2.GetSettingsRequest.verify|verify} messages.
12393 * @param message GetSettingsRequest message or plain object to encode
12394 * @param [writer] Writer to encode to
12395 * @returns Writer
12396 */
12397 public static encode(message: google.logging.v2.IGetSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12398
12399 /**
12400 * Encodes the specified GetSettingsRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetSettingsRequest.verify|verify} messages.
12401 * @param message GetSettingsRequest message or plain object to encode
12402 * @param [writer] Writer to encode to
12403 * @returns Writer
12404 */
12405 public static encodeDelimited(message: google.logging.v2.IGetSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12406
12407 /**
12408 * Decodes a GetSettingsRequest message from the specified reader or buffer.
12409 * @param reader Reader or buffer to decode from
12410 * @param [length] Message length if known beforehand
12411 * @returns GetSettingsRequest
12412 * @throws {Error} If the payload is not a reader or valid buffer
12413 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12414 */
12415 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetSettingsRequest;
12416
12417 /**
12418 * Decodes a GetSettingsRequest message from the specified reader or buffer, length delimited.
12419 * @param reader Reader or buffer to decode from
12420 * @returns GetSettingsRequest
12421 * @throws {Error} If the payload is not a reader or valid buffer
12422 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12423 */
12424 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetSettingsRequest;
12425
12426 /**
12427 * Verifies a GetSettingsRequest message.
12428 * @param message Plain object to verify
12429 * @returns `null` if valid, otherwise the reason why it is not
12430 */
12431 public static verify(message: { [k: string]: any }): (string|null);
12432
12433 /**
12434 * Creates a GetSettingsRequest message from a plain object. Also converts values to their respective internal types.
12435 * @param object Plain object
12436 * @returns GetSettingsRequest
12437 */
12438 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetSettingsRequest;
12439
12440 /**
12441 * Creates a plain object from a GetSettingsRequest message. Also converts values to other types if specified.
12442 * @param message GetSettingsRequest
12443 * @param [options] Conversion options
12444 * @returns Plain object
12445 */
12446 public static toObject(message: google.logging.v2.GetSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12447
12448 /**
12449 * Converts this GetSettingsRequest to JSON.
12450 * @returns JSON object
12451 */
12452 public toJSON(): { [k: string]: any };
12453
12454 /**
12455 * Gets the default type url for GetSettingsRequest
12456 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12457 * @returns The default type url
12458 */
12459 public static getTypeUrl(typeUrlPrefix?: string): string;
12460 }
12461
12462 /** Properties of an UpdateSettingsRequest. */
12463 interface IUpdateSettingsRequest {
12464
12465 /** UpdateSettingsRequest name */
12466 name?: (string|null);
12467
12468 /** UpdateSettingsRequest settings */
12469 settings?: (google.logging.v2.ISettings|null);
12470
12471 /** UpdateSettingsRequest updateMask */
12472 updateMask?: (google.protobuf.IFieldMask|null);
12473 }
12474
12475 /** Represents an UpdateSettingsRequest. */
12476 class UpdateSettingsRequest implements IUpdateSettingsRequest {
12477
12478 /**
12479 * Constructs a new UpdateSettingsRequest.
12480 * @param [properties] Properties to set
12481 */
12482 constructor(properties?: google.logging.v2.IUpdateSettingsRequest);
12483
12484 /** UpdateSettingsRequest name. */
12485 public name: string;
12486
12487 /** UpdateSettingsRequest settings. */
12488 public settings?: (google.logging.v2.ISettings|null);
12489
12490 /** UpdateSettingsRequest updateMask. */
12491 public updateMask?: (google.protobuf.IFieldMask|null);
12492
12493 /**
12494 * Creates a new UpdateSettingsRequest instance using the specified properties.
12495 * @param [properties] Properties to set
12496 * @returns UpdateSettingsRequest instance
12497 */
12498 public static create(properties?: google.logging.v2.IUpdateSettingsRequest): google.logging.v2.UpdateSettingsRequest;
12499
12500 /**
12501 * Encodes the specified UpdateSettingsRequest message. Does not implicitly {@link google.logging.v2.UpdateSettingsRequest.verify|verify} messages.
12502 * @param message UpdateSettingsRequest message or plain object to encode
12503 * @param [writer] Writer to encode to
12504 * @returns Writer
12505 */
12506 public static encode(message: google.logging.v2.IUpdateSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12507
12508 /**
12509 * Encodes the specified UpdateSettingsRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateSettingsRequest.verify|verify} messages.
12510 * @param message UpdateSettingsRequest message or plain object to encode
12511 * @param [writer] Writer to encode to
12512 * @returns Writer
12513 */
12514 public static encodeDelimited(message: google.logging.v2.IUpdateSettingsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12515
12516 /**
12517 * Decodes an UpdateSettingsRequest message from the specified reader or buffer.
12518 * @param reader Reader or buffer to decode from
12519 * @param [length] Message length if known beforehand
12520 * @returns UpdateSettingsRequest
12521 * @throws {Error} If the payload is not a reader or valid buffer
12522 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12523 */
12524 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateSettingsRequest;
12525
12526 /**
12527 * Decodes an UpdateSettingsRequest message from the specified reader or buffer, length delimited.
12528 * @param reader Reader or buffer to decode from
12529 * @returns UpdateSettingsRequest
12530 * @throws {Error} If the payload is not a reader or valid buffer
12531 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12532 */
12533 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateSettingsRequest;
12534
12535 /**
12536 * Verifies an UpdateSettingsRequest message.
12537 * @param message Plain object to verify
12538 * @returns `null` if valid, otherwise the reason why it is not
12539 */
12540 public static verify(message: { [k: string]: any }): (string|null);
12541
12542 /**
12543 * Creates an UpdateSettingsRequest message from a plain object. Also converts values to their respective internal types.
12544 * @param object Plain object
12545 * @returns UpdateSettingsRequest
12546 */
12547 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateSettingsRequest;
12548
12549 /**
12550 * Creates a plain object from an UpdateSettingsRequest message. Also converts values to other types if specified.
12551 * @param message UpdateSettingsRequest
12552 * @param [options] Conversion options
12553 * @returns Plain object
12554 */
12555 public static toObject(message: google.logging.v2.UpdateSettingsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12556
12557 /**
12558 * Converts this UpdateSettingsRequest to JSON.
12559 * @returns JSON object
12560 */
12561 public toJSON(): { [k: string]: any };
12562
12563 /**
12564 * Gets the default type url for UpdateSettingsRequest
12565 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12566 * @returns The default type url
12567 */
12568 public static getTypeUrl(typeUrlPrefix?: string): string;
12569 }
12570
12571 /** Properties of a Settings. */
12572 interface ISettings {
12573
12574 /** Settings name */
12575 name?: (string|null);
12576
12577 /** Settings kmsKeyName */
12578 kmsKeyName?: (string|null);
12579
12580 /** Settings kmsServiceAccountId */
12581 kmsServiceAccountId?: (string|null);
12582
12583 /** Settings storageLocation */
12584 storageLocation?: (string|null);
12585
12586 /** Settings disableDefaultSink */
12587 disableDefaultSink?: (boolean|null);
12588 }
12589
12590 /** Represents a Settings. */
12591 class Settings implements ISettings {
12592
12593 /**
12594 * Constructs a new Settings.
12595 * @param [properties] Properties to set
12596 */
12597 constructor(properties?: google.logging.v2.ISettings);
12598
12599 /** Settings name. */
12600 public name: string;
12601
12602 /** Settings kmsKeyName. */
12603 public kmsKeyName: string;
12604
12605 /** Settings kmsServiceAccountId. */
12606 public kmsServiceAccountId: string;
12607
12608 /** Settings storageLocation. */
12609 public storageLocation: string;
12610
12611 /** Settings disableDefaultSink. */
12612 public disableDefaultSink: boolean;
12613
12614 /**
12615 * Creates a new Settings instance using the specified properties.
12616 * @param [properties] Properties to set
12617 * @returns Settings instance
12618 */
12619 public static create(properties?: google.logging.v2.ISettings): google.logging.v2.Settings;
12620
12621 /**
12622 * Encodes the specified Settings message. Does not implicitly {@link google.logging.v2.Settings.verify|verify} messages.
12623 * @param message Settings message or plain object to encode
12624 * @param [writer] Writer to encode to
12625 * @returns Writer
12626 */
12627 public static encode(message: google.logging.v2.ISettings, writer?: $protobuf.Writer): $protobuf.Writer;
12628
12629 /**
12630 * Encodes the specified Settings message, length delimited. Does not implicitly {@link google.logging.v2.Settings.verify|verify} messages.
12631 * @param message Settings message or plain object to encode
12632 * @param [writer] Writer to encode to
12633 * @returns Writer
12634 */
12635 public static encodeDelimited(message: google.logging.v2.ISettings, writer?: $protobuf.Writer): $protobuf.Writer;
12636
12637 /**
12638 * Decodes a Settings message from the specified reader or buffer.
12639 * @param reader Reader or buffer to decode from
12640 * @param [length] Message length if known beforehand
12641 * @returns Settings
12642 * @throws {Error} If the payload is not a reader or valid buffer
12643 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12644 */
12645 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.Settings;
12646
12647 /**
12648 * Decodes a Settings message from the specified reader or buffer, length delimited.
12649 * @param reader Reader or buffer to decode from
12650 * @returns Settings
12651 * @throws {Error} If the payload is not a reader or valid buffer
12652 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12653 */
12654 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.Settings;
12655
12656 /**
12657 * Verifies a Settings message.
12658 * @param message Plain object to verify
12659 * @returns `null` if valid, otherwise the reason why it is not
12660 */
12661 public static verify(message: { [k: string]: any }): (string|null);
12662
12663 /**
12664 * Creates a Settings message from a plain object. Also converts values to their respective internal types.
12665 * @param object Plain object
12666 * @returns Settings
12667 */
12668 public static fromObject(object: { [k: string]: any }): google.logging.v2.Settings;
12669
12670 /**
12671 * Creates a plain object from a Settings message. Also converts values to other types if specified.
12672 * @param message Settings
12673 * @param [options] Conversion options
12674 * @returns Plain object
12675 */
12676 public static toObject(message: google.logging.v2.Settings, options?: $protobuf.IConversionOptions): { [k: string]: any };
12677
12678 /**
12679 * Converts this Settings to JSON.
12680 * @returns JSON object
12681 */
12682 public toJSON(): { [k: string]: any };
12683
12684 /**
12685 * Gets the default type url for Settings
12686 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12687 * @returns The default type url
12688 */
12689 public static getTypeUrl(typeUrlPrefix?: string): string;
12690 }
12691
12692 /** Properties of a CopyLogEntriesRequest. */
12693 interface ICopyLogEntriesRequest {
12694
12695 /** CopyLogEntriesRequest name */
12696 name?: (string|null);
12697
12698 /** CopyLogEntriesRequest filter */
12699 filter?: (string|null);
12700
12701 /** CopyLogEntriesRequest destination */
12702 destination?: (string|null);
12703 }
12704
12705 /** Represents a CopyLogEntriesRequest. */
12706 class CopyLogEntriesRequest implements ICopyLogEntriesRequest {
12707
12708 /**
12709 * Constructs a new CopyLogEntriesRequest.
12710 * @param [properties] Properties to set
12711 */
12712 constructor(properties?: google.logging.v2.ICopyLogEntriesRequest);
12713
12714 /** CopyLogEntriesRequest name. */
12715 public name: string;
12716
12717 /** CopyLogEntriesRequest filter. */
12718 public filter: string;
12719
12720 /** CopyLogEntriesRequest destination. */
12721 public destination: string;
12722
12723 /**
12724 * Creates a new CopyLogEntriesRequest instance using the specified properties.
12725 * @param [properties] Properties to set
12726 * @returns CopyLogEntriesRequest instance
12727 */
12728 public static create(properties?: google.logging.v2.ICopyLogEntriesRequest): google.logging.v2.CopyLogEntriesRequest;
12729
12730 /**
12731 * Encodes the specified CopyLogEntriesRequest message. Does not implicitly {@link google.logging.v2.CopyLogEntriesRequest.verify|verify} messages.
12732 * @param message CopyLogEntriesRequest message or plain object to encode
12733 * @param [writer] Writer to encode to
12734 * @returns Writer
12735 */
12736 public static encode(message: google.logging.v2.ICopyLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12737
12738 /**
12739 * Encodes the specified CopyLogEntriesRequest message, length delimited. Does not implicitly {@link google.logging.v2.CopyLogEntriesRequest.verify|verify} messages.
12740 * @param message CopyLogEntriesRequest message or plain object to encode
12741 * @param [writer] Writer to encode to
12742 * @returns Writer
12743 */
12744 public static encodeDelimited(message: google.logging.v2.ICopyLogEntriesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
12745
12746 /**
12747 * Decodes a CopyLogEntriesRequest message from the specified reader or buffer.
12748 * @param reader Reader or buffer to decode from
12749 * @param [length] Message length if known beforehand
12750 * @returns CopyLogEntriesRequest
12751 * @throws {Error} If the payload is not a reader or valid buffer
12752 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12753 */
12754 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CopyLogEntriesRequest;
12755
12756 /**
12757 * Decodes a CopyLogEntriesRequest message from the specified reader or buffer, length delimited.
12758 * @param reader Reader or buffer to decode from
12759 * @returns CopyLogEntriesRequest
12760 * @throws {Error} If the payload is not a reader or valid buffer
12761 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12762 */
12763 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CopyLogEntriesRequest;
12764
12765 /**
12766 * Verifies a CopyLogEntriesRequest message.
12767 * @param message Plain object to verify
12768 * @returns `null` if valid, otherwise the reason why it is not
12769 */
12770 public static verify(message: { [k: string]: any }): (string|null);
12771
12772 /**
12773 * Creates a CopyLogEntriesRequest message from a plain object. Also converts values to their respective internal types.
12774 * @param object Plain object
12775 * @returns CopyLogEntriesRequest
12776 */
12777 public static fromObject(object: { [k: string]: any }): google.logging.v2.CopyLogEntriesRequest;
12778
12779 /**
12780 * Creates a plain object from a CopyLogEntriesRequest message. Also converts values to other types if specified.
12781 * @param message CopyLogEntriesRequest
12782 * @param [options] Conversion options
12783 * @returns Plain object
12784 */
12785 public static toObject(message: google.logging.v2.CopyLogEntriesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
12786
12787 /**
12788 * Converts this CopyLogEntriesRequest to JSON.
12789 * @returns JSON object
12790 */
12791 public toJSON(): { [k: string]: any };
12792
12793 /**
12794 * Gets the default type url for CopyLogEntriesRequest
12795 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12796 * @returns The default type url
12797 */
12798 public static getTypeUrl(typeUrlPrefix?: string): string;
12799 }
12800
12801 /** Properties of a CopyLogEntriesMetadata. */
12802 interface ICopyLogEntriesMetadata {
12803
12804 /** CopyLogEntriesMetadata startTime */
12805 startTime?: (google.protobuf.ITimestamp|null);
12806
12807 /** CopyLogEntriesMetadata endTime */
12808 endTime?: (google.protobuf.ITimestamp|null);
12809
12810 /** CopyLogEntriesMetadata state */
12811 state?: (google.logging.v2.OperationState|keyof typeof google.logging.v2.OperationState|null);
12812
12813 /** CopyLogEntriesMetadata cancellationRequested */
12814 cancellationRequested?: (boolean|null);
12815
12816 /** CopyLogEntriesMetadata request */
12817 request?: (google.logging.v2.ICopyLogEntriesRequest|null);
12818
12819 /** CopyLogEntriesMetadata progress */
12820 progress?: (number|null);
12821
12822 /** CopyLogEntriesMetadata writerIdentity */
12823 writerIdentity?: (string|null);
12824 }
12825
12826 /** Represents a CopyLogEntriesMetadata. */
12827 class CopyLogEntriesMetadata implements ICopyLogEntriesMetadata {
12828
12829 /**
12830 * Constructs a new CopyLogEntriesMetadata.
12831 * @param [properties] Properties to set
12832 */
12833 constructor(properties?: google.logging.v2.ICopyLogEntriesMetadata);
12834
12835 /** CopyLogEntriesMetadata startTime. */
12836 public startTime?: (google.protobuf.ITimestamp|null);
12837
12838 /** CopyLogEntriesMetadata endTime. */
12839 public endTime?: (google.protobuf.ITimestamp|null);
12840
12841 /** CopyLogEntriesMetadata state. */
12842 public state: (google.logging.v2.OperationState|keyof typeof google.logging.v2.OperationState);
12843
12844 /** CopyLogEntriesMetadata cancellationRequested. */
12845 public cancellationRequested: boolean;
12846
12847 /** CopyLogEntriesMetadata request. */
12848 public request?: (google.logging.v2.ICopyLogEntriesRequest|null);
12849
12850 /** CopyLogEntriesMetadata progress. */
12851 public progress: number;
12852
12853 /** CopyLogEntriesMetadata writerIdentity. */
12854 public writerIdentity: string;
12855
12856 /**
12857 * Creates a new CopyLogEntriesMetadata instance using the specified properties.
12858 * @param [properties] Properties to set
12859 * @returns CopyLogEntriesMetadata instance
12860 */
12861 public static create(properties?: google.logging.v2.ICopyLogEntriesMetadata): google.logging.v2.CopyLogEntriesMetadata;
12862
12863 /**
12864 * Encodes the specified CopyLogEntriesMetadata message. Does not implicitly {@link google.logging.v2.CopyLogEntriesMetadata.verify|verify} messages.
12865 * @param message CopyLogEntriesMetadata message or plain object to encode
12866 * @param [writer] Writer to encode to
12867 * @returns Writer
12868 */
12869 public static encode(message: google.logging.v2.ICopyLogEntriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
12870
12871 /**
12872 * Encodes the specified CopyLogEntriesMetadata message, length delimited. Does not implicitly {@link google.logging.v2.CopyLogEntriesMetadata.verify|verify} messages.
12873 * @param message CopyLogEntriesMetadata message or plain object to encode
12874 * @param [writer] Writer to encode to
12875 * @returns Writer
12876 */
12877 public static encodeDelimited(message: google.logging.v2.ICopyLogEntriesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
12878
12879 /**
12880 * Decodes a CopyLogEntriesMetadata message from the specified reader or buffer.
12881 * @param reader Reader or buffer to decode from
12882 * @param [length] Message length if known beforehand
12883 * @returns CopyLogEntriesMetadata
12884 * @throws {Error} If the payload is not a reader or valid buffer
12885 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12886 */
12887 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CopyLogEntriesMetadata;
12888
12889 /**
12890 * Decodes a CopyLogEntriesMetadata message from the specified reader or buffer, length delimited.
12891 * @param reader Reader or buffer to decode from
12892 * @returns CopyLogEntriesMetadata
12893 * @throws {Error} If the payload is not a reader or valid buffer
12894 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12895 */
12896 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CopyLogEntriesMetadata;
12897
12898 /**
12899 * Verifies a CopyLogEntriesMetadata message.
12900 * @param message Plain object to verify
12901 * @returns `null` if valid, otherwise the reason why it is not
12902 */
12903 public static verify(message: { [k: string]: any }): (string|null);
12904
12905 /**
12906 * Creates a CopyLogEntriesMetadata message from a plain object. Also converts values to their respective internal types.
12907 * @param object Plain object
12908 * @returns CopyLogEntriesMetadata
12909 */
12910 public static fromObject(object: { [k: string]: any }): google.logging.v2.CopyLogEntriesMetadata;
12911
12912 /**
12913 * Creates a plain object from a CopyLogEntriesMetadata message. Also converts values to other types if specified.
12914 * @param message CopyLogEntriesMetadata
12915 * @param [options] Conversion options
12916 * @returns Plain object
12917 */
12918 public static toObject(message: google.logging.v2.CopyLogEntriesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
12919
12920 /**
12921 * Converts this CopyLogEntriesMetadata to JSON.
12922 * @returns JSON object
12923 */
12924 public toJSON(): { [k: string]: any };
12925
12926 /**
12927 * Gets the default type url for CopyLogEntriesMetadata
12928 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
12929 * @returns The default type url
12930 */
12931 public static getTypeUrl(typeUrlPrefix?: string): string;
12932 }
12933
12934 /** Properties of a CopyLogEntriesResponse. */
12935 interface ICopyLogEntriesResponse {
12936
12937 /** CopyLogEntriesResponse logEntriesCopiedCount */
12938 logEntriesCopiedCount?: (number|Long|string|null);
12939 }
12940
12941 /** Represents a CopyLogEntriesResponse. */
12942 class CopyLogEntriesResponse implements ICopyLogEntriesResponse {
12943
12944 /**
12945 * Constructs a new CopyLogEntriesResponse.
12946 * @param [properties] Properties to set
12947 */
12948 constructor(properties?: google.logging.v2.ICopyLogEntriesResponse);
12949
12950 /** CopyLogEntriesResponse logEntriesCopiedCount. */
12951 public logEntriesCopiedCount: (number|Long|string);
12952
12953 /**
12954 * Creates a new CopyLogEntriesResponse instance using the specified properties.
12955 * @param [properties] Properties to set
12956 * @returns CopyLogEntriesResponse instance
12957 */
12958 public static create(properties?: google.logging.v2.ICopyLogEntriesResponse): google.logging.v2.CopyLogEntriesResponse;
12959
12960 /**
12961 * Encodes the specified CopyLogEntriesResponse message. Does not implicitly {@link google.logging.v2.CopyLogEntriesResponse.verify|verify} messages.
12962 * @param message CopyLogEntriesResponse message or plain object to encode
12963 * @param [writer] Writer to encode to
12964 * @returns Writer
12965 */
12966 public static encode(message: google.logging.v2.ICopyLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
12967
12968 /**
12969 * Encodes the specified CopyLogEntriesResponse message, length delimited. Does not implicitly {@link google.logging.v2.CopyLogEntriesResponse.verify|verify} messages.
12970 * @param message CopyLogEntriesResponse message or plain object to encode
12971 * @param [writer] Writer to encode to
12972 * @returns Writer
12973 */
12974 public static encodeDelimited(message: google.logging.v2.ICopyLogEntriesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
12975
12976 /**
12977 * Decodes a CopyLogEntriesResponse message from the specified reader or buffer.
12978 * @param reader Reader or buffer to decode from
12979 * @param [length] Message length if known beforehand
12980 * @returns CopyLogEntriesResponse
12981 * @throws {Error} If the payload is not a reader or valid buffer
12982 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12983 */
12984 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CopyLogEntriesResponse;
12985
12986 /**
12987 * Decodes a CopyLogEntriesResponse message from the specified reader or buffer, length delimited.
12988 * @param reader Reader or buffer to decode from
12989 * @returns CopyLogEntriesResponse
12990 * @throws {Error} If the payload is not a reader or valid buffer
12991 * @throws {$protobuf.util.ProtocolError} If required fields are missing
12992 */
12993 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CopyLogEntriesResponse;
12994
12995 /**
12996 * Verifies a CopyLogEntriesResponse message.
12997 * @param message Plain object to verify
12998 * @returns `null` if valid, otherwise the reason why it is not
12999 */
13000 public static verify(message: { [k: string]: any }): (string|null);
13001
13002 /**
13003 * Creates a CopyLogEntriesResponse message from a plain object. Also converts values to their respective internal types.
13004 * @param object Plain object
13005 * @returns CopyLogEntriesResponse
13006 */
13007 public static fromObject(object: { [k: string]: any }): google.logging.v2.CopyLogEntriesResponse;
13008
13009 /**
13010 * Creates a plain object from a CopyLogEntriesResponse message. Also converts values to other types if specified.
13011 * @param message CopyLogEntriesResponse
13012 * @param [options] Conversion options
13013 * @returns Plain object
13014 */
13015 public static toObject(message: google.logging.v2.CopyLogEntriesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
13016
13017 /**
13018 * Converts this CopyLogEntriesResponse to JSON.
13019 * @returns JSON object
13020 */
13021 public toJSON(): { [k: string]: any };
13022
13023 /**
13024 * Gets the default type url for CopyLogEntriesResponse
13025 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13026 * @returns The default type url
13027 */
13028 public static getTypeUrl(typeUrlPrefix?: string): string;
13029 }
13030
13031 /** Properties of a BucketMetadata. */
13032 interface IBucketMetadata {
13033
13034 /** BucketMetadata startTime */
13035 startTime?: (google.protobuf.ITimestamp|null);
13036
13037 /** BucketMetadata endTime */
13038 endTime?: (google.protobuf.ITimestamp|null);
13039
13040 /** BucketMetadata state */
13041 state?: (google.logging.v2.OperationState|keyof typeof google.logging.v2.OperationState|null);
13042
13043 /** BucketMetadata createBucketRequest */
13044 createBucketRequest?: (google.logging.v2.ICreateBucketRequest|null);
13045
13046 /** BucketMetadata updateBucketRequest */
13047 updateBucketRequest?: (google.logging.v2.IUpdateBucketRequest|null);
13048 }
13049
13050 /** Represents a BucketMetadata. */
13051 class BucketMetadata implements IBucketMetadata {
13052
13053 /**
13054 * Constructs a new BucketMetadata.
13055 * @param [properties] Properties to set
13056 */
13057 constructor(properties?: google.logging.v2.IBucketMetadata);
13058
13059 /** BucketMetadata startTime. */
13060 public startTime?: (google.protobuf.ITimestamp|null);
13061
13062 /** BucketMetadata endTime. */
13063 public endTime?: (google.protobuf.ITimestamp|null);
13064
13065 /** BucketMetadata state. */
13066 public state: (google.logging.v2.OperationState|keyof typeof google.logging.v2.OperationState);
13067
13068 /** BucketMetadata createBucketRequest. */
13069 public createBucketRequest?: (google.logging.v2.ICreateBucketRequest|null);
13070
13071 /** BucketMetadata updateBucketRequest. */
13072 public updateBucketRequest?: (google.logging.v2.IUpdateBucketRequest|null);
13073
13074 /** BucketMetadata request. */
13075 public request?: ("createBucketRequest"|"updateBucketRequest");
13076
13077 /**
13078 * Creates a new BucketMetadata instance using the specified properties.
13079 * @param [properties] Properties to set
13080 * @returns BucketMetadata instance
13081 */
13082 public static create(properties?: google.logging.v2.IBucketMetadata): google.logging.v2.BucketMetadata;
13083
13084 /**
13085 * Encodes the specified BucketMetadata message. Does not implicitly {@link google.logging.v2.BucketMetadata.verify|verify} messages.
13086 * @param message BucketMetadata message or plain object to encode
13087 * @param [writer] Writer to encode to
13088 * @returns Writer
13089 */
13090 public static encode(message: google.logging.v2.IBucketMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13091
13092 /**
13093 * Encodes the specified BucketMetadata message, length delimited. Does not implicitly {@link google.logging.v2.BucketMetadata.verify|verify} messages.
13094 * @param message BucketMetadata message or plain object to encode
13095 * @param [writer] Writer to encode to
13096 * @returns Writer
13097 */
13098 public static encodeDelimited(message: google.logging.v2.IBucketMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13099
13100 /**
13101 * Decodes a BucketMetadata 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 BucketMetadata
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.logging.v2.BucketMetadata;
13109
13110 /**
13111 * Decodes a BucketMetadata message from the specified reader or buffer, length delimited.
13112 * @param reader Reader or buffer to decode from
13113 * @returns BucketMetadata
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.logging.v2.BucketMetadata;
13118
13119 /**
13120 * Verifies a BucketMetadata 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 a BucketMetadata message from a plain object. Also converts values to their respective internal types.
13128 * @param object Plain object
13129 * @returns BucketMetadata
13130 */
13131 public static fromObject(object: { [k: string]: any }): google.logging.v2.BucketMetadata;
13132
13133 /**
13134 * Creates a plain object from a BucketMetadata message. Also converts values to other types if specified.
13135 * @param message BucketMetadata
13136 * @param [options] Conversion options
13137 * @returns Plain object
13138 */
13139 public static toObject(message: google.logging.v2.BucketMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
13140
13141 /**
13142 * Converts this BucketMetadata to JSON.
13143 * @returns JSON object
13144 */
13145 public toJSON(): { [k: string]: any };
13146
13147 /**
13148 * Gets the default type url for BucketMetadata
13149 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13150 * @returns The default type url
13151 */
13152 public static getTypeUrl(typeUrlPrefix?: string): string;
13153 }
13154
13155 /** Properties of a LinkMetadata. */
13156 interface ILinkMetadata {
13157
13158 /** LinkMetadata startTime */
13159 startTime?: (google.protobuf.ITimestamp|null);
13160
13161 /** LinkMetadata endTime */
13162 endTime?: (google.protobuf.ITimestamp|null);
13163
13164 /** LinkMetadata state */
13165 state?: (google.logging.v2.OperationState|keyof typeof google.logging.v2.OperationState|null);
13166
13167 /** LinkMetadata createLinkRequest */
13168 createLinkRequest?: (google.logging.v2.ICreateLinkRequest|null);
13169
13170 /** LinkMetadata deleteLinkRequest */
13171 deleteLinkRequest?: (google.logging.v2.IDeleteLinkRequest|null);
13172 }
13173
13174 /** Represents a LinkMetadata. */
13175 class LinkMetadata implements ILinkMetadata {
13176
13177 /**
13178 * Constructs a new LinkMetadata.
13179 * @param [properties] Properties to set
13180 */
13181 constructor(properties?: google.logging.v2.ILinkMetadata);
13182
13183 /** LinkMetadata startTime. */
13184 public startTime?: (google.protobuf.ITimestamp|null);
13185
13186 /** LinkMetadata endTime. */
13187 public endTime?: (google.protobuf.ITimestamp|null);
13188
13189 /** LinkMetadata state. */
13190 public state: (google.logging.v2.OperationState|keyof typeof google.logging.v2.OperationState);
13191
13192 /** LinkMetadata createLinkRequest. */
13193 public createLinkRequest?: (google.logging.v2.ICreateLinkRequest|null);
13194
13195 /** LinkMetadata deleteLinkRequest. */
13196 public deleteLinkRequest?: (google.logging.v2.IDeleteLinkRequest|null);
13197
13198 /** LinkMetadata request. */
13199 public request?: ("createLinkRequest"|"deleteLinkRequest");
13200
13201 /**
13202 * Creates a new LinkMetadata instance using the specified properties.
13203 * @param [properties] Properties to set
13204 * @returns LinkMetadata instance
13205 */
13206 public static create(properties?: google.logging.v2.ILinkMetadata): google.logging.v2.LinkMetadata;
13207
13208 /**
13209 * Encodes the specified LinkMetadata message. Does not implicitly {@link google.logging.v2.LinkMetadata.verify|verify} messages.
13210 * @param message LinkMetadata message or plain object to encode
13211 * @param [writer] Writer to encode to
13212 * @returns Writer
13213 */
13214 public static encode(message: google.logging.v2.ILinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13215
13216 /**
13217 * Encodes the specified LinkMetadata message, length delimited. Does not implicitly {@link google.logging.v2.LinkMetadata.verify|verify} messages.
13218 * @param message LinkMetadata message or plain object to encode
13219 * @param [writer] Writer to encode to
13220 * @returns Writer
13221 */
13222 public static encodeDelimited(message: google.logging.v2.ILinkMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13223
13224 /**
13225 * Decodes a LinkMetadata message from the specified reader or buffer.
13226 * @param reader Reader or buffer to decode from
13227 * @param [length] Message length if known beforehand
13228 * @returns LinkMetadata
13229 * @throws {Error} If the payload is not a reader or valid buffer
13230 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13231 */
13232 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LinkMetadata;
13233
13234 /**
13235 * Decodes a LinkMetadata message from the specified reader or buffer, length delimited.
13236 * @param reader Reader or buffer to decode from
13237 * @returns LinkMetadata
13238 * @throws {Error} If the payload is not a reader or valid buffer
13239 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13240 */
13241 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LinkMetadata;
13242
13243 /**
13244 * Verifies a LinkMetadata message.
13245 * @param message Plain object to verify
13246 * @returns `null` if valid, otherwise the reason why it is not
13247 */
13248 public static verify(message: { [k: string]: any }): (string|null);
13249
13250 /**
13251 * Creates a LinkMetadata message from a plain object. Also converts values to their respective internal types.
13252 * @param object Plain object
13253 * @returns LinkMetadata
13254 */
13255 public static fromObject(object: { [k: string]: any }): google.logging.v2.LinkMetadata;
13256
13257 /**
13258 * Creates a plain object from a LinkMetadata message. Also converts values to other types if specified.
13259 * @param message LinkMetadata
13260 * @param [options] Conversion options
13261 * @returns Plain object
13262 */
13263 public static toObject(message: google.logging.v2.LinkMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
13264
13265 /**
13266 * Converts this LinkMetadata to JSON.
13267 * @returns JSON object
13268 */
13269 public toJSON(): { [k: string]: any };
13270
13271 /**
13272 * Gets the default type url for LinkMetadata
13273 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13274 * @returns The default type url
13275 */
13276 public static getTypeUrl(typeUrlPrefix?: string): string;
13277 }
13278
13279 /** OperationState enum. */
13280 enum OperationState {
13281 OPERATION_STATE_UNSPECIFIED = 0,
13282 OPERATION_STATE_SCHEDULED = 1,
13283 OPERATION_STATE_WAITING_FOR_PERMISSIONS = 2,
13284 OPERATION_STATE_RUNNING = 3,
13285 OPERATION_STATE_SUCCEEDED = 4,
13286 OPERATION_STATE_FAILED = 5,
13287 OPERATION_STATE_CANCELLED = 6
13288 }
13289
13290 /** LifecycleState enum. */
13291 enum LifecycleState {
13292 LIFECYCLE_STATE_UNSPECIFIED = 0,
13293 ACTIVE = 1,
13294 DELETE_REQUESTED = 2,
13295 UPDATING = 3,
13296 CREATING = 4,
13297 FAILED = 5
13298 }
13299
13300 /** IndexType enum. */
13301 enum IndexType {
13302 INDEX_TYPE_UNSPECIFIED = 0,
13303 INDEX_TYPE_STRING = 1,
13304 INDEX_TYPE_INTEGER = 2
13305 }
13306
13307 /** Properties of a LocationMetadata. */
13308 interface ILocationMetadata {
13309
13310 /** LocationMetadata logAnalyticsEnabled */
13311 logAnalyticsEnabled?: (boolean|null);
13312 }
13313
13314 /** Represents a LocationMetadata. */
13315 class LocationMetadata implements ILocationMetadata {
13316
13317 /**
13318 * Constructs a new LocationMetadata.
13319 * @param [properties] Properties to set
13320 */
13321 constructor(properties?: google.logging.v2.ILocationMetadata);
13322
13323 /** LocationMetadata logAnalyticsEnabled. */
13324 public logAnalyticsEnabled: boolean;
13325
13326 /**
13327 * Creates a new LocationMetadata instance using the specified properties.
13328 * @param [properties] Properties to set
13329 * @returns LocationMetadata instance
13330 */
13331 public static create(properties?: google.logging.v2.ILocationMetadata): google.logging.v2.LocationMetadata;
13332
13333 /**
13334 * Encodes the specified LocationMetadata message. Does not implicitly {@link google.logging.v2.LocationMetadata.verify|verify} messages.
13335 * @param message LocationMetadata message or plain object to encode
13336 * @param [writer] Writer to encode to
13337 * @returns Writer
13338 */
13339 public static encode(message: google.logging.v2.ILocationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13340
13341 /**
13342 * Encodes the specified LocationMetadata message, length delimited. Does not implicitly {@link google.logging.v2.LocationMetadata.verify|verify} messages.
13343 * @param message LocationMetadata message or plain object to encode
13344 * @param [writer] Writer to encode to
13345 * @returns Writer
13346 */
13347 public static encodeDelimited(message: google.logging.v2.ILocationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
13348
13349 /**
13350 * Decodes a LocationMetadata message from the specified reader or buffer.
13351 * @param reader Reader or buffer to decode from
13352 * @param [length] Message length if known beforehand
13353 * @returns LocationMetadata
13354 * @throws {Error} If the payload is not a reader or valid buffer
13355 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13356 */
13357 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LocationMetadata;
13358
13359 /**
13360 * Decodes a LocationMetadata message from the specified reader or buffer, length delimited.
13361 * @param reader Reader or buffer to decode from
13362 * @returns LocationMetadata
13363 * @throws {Error} If the payload is not a reader or valid buffer
13364 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13365 */
13366 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LocationMetadata;
13367
13368 /**
13369 * Verifies a LocationMetadata message.
13370 * @param message Plain object to verify
13371 * @returns `null` if valid, otherwise the reason why it is not
13372 */
13373 public static verify(message: { [k: string]: any }): (string|null);
13374
13375 /**
13376 * Creates a LocationMetadata message from a plain object. Also converts values to their respective internal types.
13377 * @param object Plain object
13378 * @returns LocationMetadata
13379 */
13380 public static fromObject(object: { [k: string]: any }): google.logging.v2.LocationMetadata;
13381
13382 /**
13383 * Creates a plain object from a LocationMetadata message. Also converts values to other types if specified.
13384 * @param message LocationMetadata
13385 * @param [options] Conversion options
13386 * @returns Plain object
13387 */
13388 public static toObject(message: google.logging.v2.LocationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
13389
13390 /**
13391 * Converts this LocationMetadata to JSON.
13392 * @returns JSON object
13393 */
13394 public toJSON(): { [k: string]: any };
13395
13396 /**
13397 * Gets the default type url for LocationMetadata
13398 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13399 * @returns The default type url
13400 */
13401 public static getTypeUrl(typeUrlPrefix?: string): string;
13402 }
13403
13404 /** Represents a MetricsServiceV2 */
13405 class MetricsServiceV2 extends $protobuf.rpc.Service {
13406
13407 /**
13408 * Constructs a new MetricsServiceV2 service.
13409 * @param rpcImpl RPC implementation
13410 * @param [requestDelimited=false] Whether requests are length-delimited
13411 * @param [responseDelimited=false] Whether responses are length-delimited
13412 */
13413 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
13414
13415 /**
13416 * Creates new MetricsServiceV2 service using the specified rpc implementation.
13417 * @param rpcImpl RPC implementation
13418 * @param [requestDelimited=false] Whether requests are length-delimited
13419 * @param [responseDelimited=false] Whether responses are length-delimited
13420 * @returns RPC service. Useful where requests and/or responses are streamed.
13421 */
13422 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): MetricsServiceV2;
13423
13424 /**
13425 * Calls ListLogMetrics.
13426 * @param request ListLogMetricsRequest message or plain object
13427 * @param callback Node-style callback called with the error, if any, and ListLogMetricsResponse
13428 */
13429 public listLogMetrics(request: google.logging.v2.IListLogMetricsRequest, callback: google.logging.v2.MetricsServiceV2.ListLogMetricsCallback): void;
13430
13431 /**
13432 * Calls ListLogMetrics.
13433 * @param request ListLogMetricsRequest message or plain object
13434 * @returns Promise
13435 */
13436 public listLogMetrics(request: google.logging.v2.IListLogMetricsRequest): Promise<google.logging.v2.ListLogMetricsResponse>;
13437
13438 /**
13439 * Calls GetLogMetric.
13440 * @param request GetLogMetricRequest message or plain object
13441 * @param callback Node-style callback called with the error, if any, and LogMetric
13442 */
13443 public getLogMetric(request: google.logging.v2.IGetLogMetricRequest, callback: google.logging.v2.MetricsServiceV2.GetLogMetricCallback): void;
13444
13445 /**
13446 * Calls GetLogMetric.
13447 * @param request GetLogMetricRequest message or plain object
13448 * @returns Promise
13449 */
13450 public getLogMetric(request: google.logging.v2.IGetLogMetricRequest): Promise<google.logging.v2.LogMetric>;
13451
13452 /**
13453 * Calls CreateLogMetric.
13454 * @param request CreateLogMetricRequest message or plain object
13455 * @param callback Node-style callback called with the error, if any, and LogMetric
13456 */
13457 public createLogMetric(request: google.logging.v2.ICreateLogMetricRequest, callback: google.logging.v2.MetricsServiceV2.CreateLogMetricCallback): void;
13458
13459 /**
13460 * Calls CreateLogMetric.
13461 * @param request CreateLogMetricRequest message or plain object
13462 * @returns Promise
13463 */
13464 public createLogMetric(request: google.logging.v2.ICreateLogMetricRequest): Promise<google.logging.v2.LogMetric>;
13465
13466 /**
13467 * Calls UpdateLogMetric.
13468 * @param request UpdateLogMetricRequest message or plain object
13469 * @param callback Node-style callback called with the error, if any, and LogMetric
13470 */
13471 public updateLogMetric(request: google.logging.v2.IUpdateLogMetricRequest, callback: google.logging.v2.MetricsServiceV2.UpdateLogMetricCallback): void;
13472
13473 /**
13474 * Calls UpdateLogMetric.
13475 * @param request UpdateLogMetricRequest message or plain object
13476 * @returns Promise
13477 */
13478 public updateLogMetric(request: google.logging.v2.IUpdateLogMetricRequest): Promise<google.logging.v2.LogMetric>;
13479
13480 /**
13481 * Calls DeleteLogMetric.
13482 * @param request DeleteLogMetricRequest message or plain object
13483 * @param callback Node-style callback called with the error, if any, and Empty
13484 */
13485 public deleteLogMetric(request: google.logging.v2.IDeleteLogMetricRequest, callback: google.logging.v2.MetricsServiceV2.DeleteLogMetricCallback): void;
13486
13487 /**
13488 * Calls DeleteLogMetric.
13489 * @param request DeleteLogMetricRequest message or plain object
13490 * @returns Promise
13491 */
13492 public deleteLogMetric(request: google.logging.v2.IDeleteLogMetricRequest): Promise<google.protobuf.Empty>;
13493 }
13494
13495 namespace MetricsServiceV2 {
13496
13497 /**
13498 * Callback as used by {@link google.logging.v2.MetricsServiceV2|listLogMetrics}.
13499 * @param error Error, if any
13500 * @param [response] ListLogMetricsResponse
13501 */
13502 type ListLogMetricsCallback = (error: (Error|null), response?: google.logging.v2.ListLogMetricsResponse) => void;
13503
13504 /**
13505 * Callback as used by {@link google.logging.v2.MetricsServiceV2|getLogMetric}.
13506 * @param error Error, if any
13507 * @param [response] LogMetric
13508 */
13509 type GetLogMetricCallback = (error: (Error|null), response?: google.logging.v2.LogMetric) => void;
13510
13511 /**
13512 * Callback as used by {@link google.logging.v2.MetricsServiceV2|createLogMetric}.
13513 * @param error Error, if any
13514 * @param [response] LogMetric
13515 */
13516 type CreateLogMetricCallback = (error: (Error|null), response?: google.logging.v2.LogMetric) => void;
13517
13518 /**
13519 * Callback as used by {@link google.logging.v2.MetricsServiceV2|updateLogMetric}.
13520 * @param error Error, if any
13521 * @param [response] LogMetric
13522 */
13523 type UpdateLogMetricCallback = (error: (Error|null), response?: google.logging.v2.LogMetric) => void;
13524
13525 /**
13526 * Callback as used by {@link google.logging.v2.MetricsServiceV2|deleteLogMetric}.
13527 * @param error Error, if any
13528 * @param [response] Empty
13529 */
13530 type DeleteLogMetricCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
13531 }
13532
13533 /** Properties of a LogMetric. */
13534 interface ILogMetric {
13535
13536 /** LogMetric name */
13537 name?: (string|null);
13538
13539 /** LogMetric description */
13540 description?: (string|null);
13541
13542 /** LogMetric filter */
13543 filter?: (string|null);
13544
13545 /** LogMetric bucketName */
13546 bucketName?: (string|null);
13547
13548 /** LogMetric disabled */
13549 disabled?: (boolean|null);
13550
13551 /** LogMetric metricDescriptor */
13552 metricDescriptor?: (google.api.IMetricDescriptor|null);
13553
13554 /** LogMetric valueExtractor */
13555 valueExtractor?: (string|null);
13556
13557 /** LogMetric labelExtractors */
13558 labelExtractors?: ({ [k: string]: string }|null);
13559
13560 /** LogMetric bucketOptions */
13561 bucketOptions?: (google.api.Distribution.IBucketOptions|null);
13562
13563 /** LogMetric createTime */
13564 createTime?: (google.protobuf.ITimestamp|null);
13565
13566 /** LogMetric updateTime */
13567 updateTime?: (google.protobuf.ITimestamp|null);
13568
13569 /** LogMetric version */
13570 version?: (google.logging.v2.LogMetric.ApiVersion|keyof typeof google.logging.v2.LogMetric.ApiVersion|null);
13571 }
13572
13573 /** Represents a LogMetric. */
13574 class LogMetric implements ILogMetric {
13575
13576 /**
13577 * Constructs a new LogMetric.
13578 * @param [properties] Properties to set
13579 */
13580 constructor(properties?: google.logging.v2.ILogMetric);
13581
13582 /** LogMetric name. */
13583 public name: string;
13584
13585 /** LogMetric description. */
13586 public description: string;
13587
13588 /** LogMetric filter. */
13589 public filter: string;
13590
13591 /** LogMetric bucketName. */
13592 public bucketName: string;
13593
13594 /** LogMetric disabled. */
13595 public disabled: boolean;
13596
13597 /** LogMetric metricDescriptor. */
13598 public metricDescriptor?: (google.api.IMetricDescriptor|null);
13599
13600 /** LogMetric valueExtractor. */
13601 public valueExtractor: string;
13602
13603 /** LogMetric labelExtractors. */
13604 public labelExtractors: { [k: string]: string };
13605
13606 /** LogMetric bucketOptions. */
13607 public bucketOptions?: (google.api.Distribution.IBucketOptions|null);
13608
13609 /** LogMetric createTime. */
13610 public createTime?: (google.protobuf.ITimestamp|null);
13611
13612 /** LogMetric updateTime. */
13613 public updateTime?: (google.protobuf.ITimestamp|null);
13614
13615 /** LogMetric version. */
13616 public version: (google.logging.v2.LogMetric.ApiVersion|keyof typeof google.logging.v2.LogMetric.ApiVersion);
13617
13618 /**
13619 * Creates a new LogMetric instance using the specified properties.
13620 * @param [properties] Properties to set
13621 * @returns LogMetric instance
13622 */
13623 public static create(properties?: google.logging.v2.ILogMetric): google.logging.v2.LogMetric;
13624
13625 /**
13626 * Encodes the specified LogMetric message. Does not implicitly {@link google.logging.v2.LogMetric.verify|verify} messages.
13627 * @param message LogMetric message or plain object to encode
13628 * @param [writer] Writer to encode to
13629 * @returns Writer
13630 */
13631 public static encode(message: google.logging.v2.ILogMetric, writer?: $protobuf.Writer): $protobuf.Writer;
13632
13633 /**
13634 * Encodes the specified LogMetric message, length delimited. Does not implicitly {@link google.logging.v2.LogMetric.verify|verify} messages.
13635 * @param message LogMetric message or plain object to encode
13636 * @param [writer] Writer to encode to
13637 * @returns Writer
13638 */
13639 public static encodeDelimited(message: google.logging.v2.ILogMetric, writer?: $protobuf.Writer): $protobuf.Writer;
13640
13641 /**
13642 * Decodes a LogMetric message from the specified reader or buffer.
13643 * @param reader Reader or buffer to decode from
13644 * @param [length] Message length if known beforehand
13645 * @returns LogMetric
13646 * @throws {Error} If the payload is not a reader or valid buffer
13647 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13648 */
13649 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.LogMetric;
13650
13651 /**
13652 * Decodes a LogMetric message from the specified reader or buffer, length delimited.
13653 * @param reader Reader or buffer to decode from
13654 * @returns LogMetric
13655 * @throws {Error} If the payload is not a reader or valid buffer
13656 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13657 */
13658 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.LogMetric;
13659
13660 /**
13661 * Verifies a LogMetric message.
13662 * @param message Plain object to verify
13663 * @returns `null` if valid, otherwise the reason why it is not
13664 */
13665 public static verify(message: { [k: string]: any }): (string|null);
13666
13667 /**
13668 * Creates a LogMetric message from a plain object. Also converts values to their respective internal types.
13669 * @param object Plain object
13670 * @returns LogMetric
13671 */
13672 public static fromObject(object: { [k: string]: any }): google.logging.v2.LogMetric;
13673
13674 /**
13675 * Creates a plain object from a LogMetric message. Also converts values to other types if specified.
13676 * @param message LogMetric
13677 * @param [options] Conversion options
13678 * @returns Plain object
13679 */
13680 public static toObject(message: google.logging.v2.LogMetric, options?: $protobuf.IConversionOptions): { [k: string]: any };
13681
13682 /**
13683 * Converts this LogMetric to JSON.
13684 * @returns JSON object
13685 */
13686 public toJSON(): { [k: string]: any };
13687
13688 /**
13689 * Gets the default type url for LogMetric
13690 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13691 * @returns The default type url
13692 */
13693 public static getTypeUrl(typeUrlPrefix?: string): string;
13694 }
13695
13696 namespace LogMetric {
13697
13698 /** ApiVersion enum. */
13699 enum ApiVersion {
13700 V2 = 0,
13701 V1 = 1
13702 }
13703 }
13704
13705 /** Properties of a ListLogMetricsRequest. */
13706 interface IListLogMetricsRequest {
13707
13708 /** ListLogMetricsRequest parent */
13709 parent?: (string|null);
13710
13711 /** ListLogMetricsRequest pageToken */
13712 pageToken?: (string|null);
13713
13714 /** ListLogMetricsRequest pageSize */
13715 pageSize?: (number|null);
13716 }
13717
13718 /** Represents a ListLogMetricsRequest. */
13719 class ListLogMetricsRequest implements IListLogMetricsRequest {
13720
13721 /**
13722 * Constructs a new ListLogMetricsRequest.
13723 * @param [properties] Properties to set
13724 */
13725 constructor(properties?: google.logging.v2.IListLogMetricsRequest);
13726
13727 /** ListLogMetricsRequest parent. */
13728 public parent: string;
13729
13730 /** ListLogMetricsRequest pageToken. */
13731 public pageToken: string;
13732
13733 /** ListLogMetricsRequest pageSize. */
13734 public pageSize: number;
13735
13736 /**
13737 * Creates a new ListLogMetricsRequest instance using the specified properties.
13738 * @param [properties] Properties to set
13739 * @returns ListLogMetricsRequest instance
13740 */
13741 public static create(properties?: google.logging.v2.IListLogMetricsRequest): google.logging.v2.ListLogMetricsRequest;
13742
13743 /**
13744 * Encodes the specified ListLogMetricsRequest message. Does not implicitly {@link google.logging.v2.ListLogMetricsRequest.verify|verify} messages.
13745 * @param message ListLogMetricsRequest message or plain object to encode
13746 * @param [writer] Writer to encode to
13747 * @returns Writer
13748 */
13749 public static encode(message: google.logging.v2.IListLogMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13750
13751 /**
13752 * Encodes the specified ListLogMetricsRequest message, length delimited. Does not implicitly {@link google.logging.v2.ListLogMetricsRequest.verify|verify} messages.
13753 * @param message ListLogMetricsRequest message or plain object to encode
13754 * @param [writer] Writer to encode to
13755 * @returns Writer
13756 */
13757 public static encodeDelimited(message: google.logging.v2.IListLogMetricsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13758
13759 /**
13760 * Decodes a ListLogMetricsRequest message from the specified reader or buffer.
13761 * @param reader Reader or buffer to decode from
13762 * @param [length] Message length if known beforehand
13763 * @returns ListLogMetricsRequest
13764 * @throws {Error} If the payload is not a reader or valid buffer
13765 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13766 */
13767 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogMetricsRequest;
13768
13769 /**
13770 * Decodes a ListLogMetricsRequest message from the specified reader or buffer, length delimited.
13771 * @param reader Reader or buffer to decode from
13772 * @returns ListLogMetricsRequest
13773 * @throws {Error} If the payload is not a reader or valid buffer
13774 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13775 */
13776 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogMetricsRequest;
13777
13778 /**
13779 * Verifies a ListLogMetricsRequest message.
13780 * @param message Plain object to verify
13781 * @returns `null` if valid, otherwise the reason why it is not
13782 */
13783 public static verify(message: { [k: string]: any }): (string|null);
13784
13785 /**
13786 * Creates a ListLogMetricsRequest message from a plain object. Also converts values to their respective internal types.
13787 * @param object Plain object
13788 * @returns ListLogMetricsRequest
13789 */
13790 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogMetricsRequest;
13791
13792 /**
13793 * Creates a plain object from a ListLogMetricsRequest message. Also converts values to other types if specified.
13794 * @param message ListLogMetricsRequest
13795 * @param [options] Conversion options
13796 * @returns Plain object
13797 */
13798 public static toObject(message: google.logging.v2.ListLogMetricsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
13799
13800 /**
13801 * Converts this ListLogMetricsRequest to JSON.
13802 * @returns JSON object
13803 */
13804 public toJSON(): { [k: string]: any };
13805
13806 /**
13807 * Gets the default type url for ListLogMetricsRequest
13808 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13809 * @returns The default type url
13810 */
13811 public static getTypeUrl(typeUrlPrefix?: string): string;
13812 }
13813
13814 /** Properties of a ListLogMetricsResponse. */
13815 interface IListLogMetricsResponse {
13816
13817 /** ListLogMetricsResponse metrics */
13818 metrics?: (google.logging.v2.ILogMetric[]|null);
13819
13820 /** ListLogMetricsResponse nextPageToken */
13821 nextPageToken?: (string|null);
13822 }
13823
13824 /** Represents a ListLogMetricsResponse. */
13825 class ListLogMetricsResponse implements IListLogMetricsResponse {
13826
13827 /**
13828 * Constructs a new ListLogMetricsResponse.
13829 * @param [properties] Properties to set
13830 */
13831 constructor(properties?: google.logging.v2.IListLogMetricsResponse);
13832
13833 /** ListLogMetricsResponse metrics. */
13834 public metrics: google.logging.v2.ILogMetric[];
13835
13836 /** ListLogMetricsResponse nextPageToken. */
13837 public nextPageToken: string;
13838
13839 /**
13840 * Creates a new ListLogMetricsResponse instance using the specified properties.
13841 * @param [properties] Properties to set
13842 * @returns ListLogMetricsResponse instance
13843 */
13844 public static create(properties?: google.logging.v2.IListLogMetricsResponse): google.logging.v2.ListLogMetricsResponse;
13845
13846 /**
13847 * Encodes the specified ListLogMetricsResponse message. Does not implicitly {@link google.logging.v2.ListLogMetricsResponse.verify|verify} messages.
13848 * @param message ListLogMetricsResponse message or plain object to encode
13849 * @param [writer] Writer to encode to
13850 * @returns Writer
13851 */
13852 public static encode(message: google.logging.v2.IListLogMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
13853
13854 /**
13855 * Encodes the specified ListLogMetricsResponse message, length delimited. Does not implicitly {@link google.logging.v2.ListLogMetricsResponse.verify|verify} messages.
13856 * @param message ListLogMetricsResponse message or plain object to encode
13857 * @param [writer] Writer to encode to
13858 * @returns Writer
13859 */
13860 public static encodeDelimited(message: google.logging.v2.IListLogMetricsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
13861
13862 /**
13863 * Decodes a ListLogMetricsResponse message from the specified reader or buffer.
13864 * @param reader Reader or buffer to decode from
13865 * @param [length] Message length if known beforehand
13866 * @returns ListLogMetricsResponse
13867 * @throws {Error} If the payload is not a reader or valid buffer
13868 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13869 */
13870 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.ListLogMetricsResponse;
13871
13872 /**
13873 * Decodes a ListLogMetricsResponse message from the specified reader or buffer, length delimited.
13874 * @param reader Reader or buffer to decode from
13875 * @returns ListLogMetricsResponse
13876 * @throws {Error} If the payload is not a reader or valid buffer
13877 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13878 */
13879 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.ListLogMetricsResponse;
13880
13881 /**
13882 * Verifies a ListLogMetricsResponse message.
13883 * @param message Plain object to verify
13884 * @returns `null` if valid, otherwise the reason why it is not
13885 */
13886 public static verify(message: { [k: string]: any }): (string|null);
13887
13888 /**
13889 * Creates a ListLogMetricsResponse message from a plain object. Also converts values to their respective internal types.
13890 * @param object Plain object
13891 * @returns ListLogMetricsResponse
13892 */
13893 public static fromObject(object: { [k: string]: any }): google.logging.v2.ListLogMetricsResponse;
13894
13895 /**
13896 * Creates a plain object from a ListLogMetricsResponse message. Also converts values to other types if specified.
13897 * @param message ListLogMetricsResponse
13898 * @param [options] Conversion options
13899 * @returns Plain object
13900 */
13901 public static toObject(message: google.logging.v2.ListLogMetricsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
13902
13903 /**
13904 * Converts this ListLogMetricsResponse to JSON.
13905 * @returns JSON object
13906 */
13907 public toJSON(): { [k: string]: any };
13908
13909 /**
13910 * Gets the default type url for ListLogMetricsResponse
13911 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13912 * @returns The default type url
13913 */
13914 public static getTypeUrl(typeUrlPrefix?: string): string;
13915 }
13916
13917 /** Properties of a GetLogMetricRequest. */
13918 interface IGetLogMetricRequest {
13919
13920 /** GetLogMetricRequest metricName */
13921 metricName?: (string|null);
13922 }
13923
13924 /** Represents a GetLogMetricRequest. */
13925 class GetLogMetricRequest implements IGetLogMetricRequest {
13926
13927 /**
13928 * Constructs a new GetLogMetricRequest.
13929 * @param [properties] Properties to set
13930 */
13931 constructor(properties?: google.logging.v2.IGetLogMetricRequest);
13932
13933 /** GetLogMetricRequest metricName. */
13934 public metricName: string;
13935
13936 /**
13937 * Creates a new GetLogMetricRequest instance using the specified properties.
13938 * @param [properties] Properties to set
13939 * @returns GetLogMetricRequest instance
13940 */
13941 public static create(properties?: google.logging.v2.IGetLogMetricRequest): google.logging.v2.GetLogMetricRequest;
13942
13943 /**
13944 * Encodes the specified GetLogMetricRequest message. Does not implicitly {@link google.logging.v2.GetLogMetricRequest.verify|verify} messages.
13945 * @param message GetLogMetricRequest message or plain object to encode
13946 * @param [writer] Writer to encode to
13947 * @returns Writer
13948 */
13949 public static encode(message: google.logging.v2.IGetLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13950
13951 /**
13952 * Encodes the specified GetLogMetricRequest message, length delimited. Does not implicitly {@link google.logging.v2.GetLogMetricRequest.verify|verify} messages.
13953 * @param message GetLogMetricRequest message or plain object to encode
13954 * @param [writer] Writer to encode to
13955 * @returns Writer
13956 */
13957 public static encodeDelimited(message: google.logging.v2.IGetLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
13958
13959 /**
13960 * Decodes a GetLogMetricRequest message from the specified reader or buffer.
13961 * @param reader Reader or buffer to decode from
13962 * @param [length] Message length if known beforehand
13963 * @returns GetLogMetricRequest
13964 * @throws {Error} If the payload is not a reader or valid buffer
13965 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13966 */
13967 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.GetLogMetricRequest;
13968
13969 /**
13970 * Decodes a GetLogMetricRequest message from the specified reader or buffer, length delimited.
13971 * @param reader Reader or buffer to decode from
13972 * @returns GetLogMetricRequest
13973 * @throws {Error} If the payload is not a reader or valid buffer
13974 * @throws {$protobuf.util.ProtocolError} If required fields are missing
13975 */
13976 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.GetLogMetricRequest;
13977
13978 /**
13979 * Verifies a GetLogMetricRequest message.
13980 * @param message Plain object to verify
13981 * @returns `null` if valid, otherwise the reason why it is not
13982 */
13983 public static verify(message: { [k: string]: any }): (string|null);
13984
13985 /**
13986 * Creates a GetLogMetricRequest message from a plain object. Also converts values to their respective internal types.
13987 * @param object Plain object
13988 * @returns GetLogMetricRequest
13989 */
13990 public static fromObject(object: { [k: string]: any }): google.logging.v2.GetLogMetricRequest;
13991
13992 /**
13993 * Creates a plain object from a GetLogMetricRequest message. Also converts values to other types if specified.
13994 * @param message GetLogMetricRequest
13995 * @param [options] Conversion options
13996 * @returns Plain object
13997 */
13998 public static toObject(message: google.logging.v2.GetLogMetricRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
13999
14000 /**
14001 * Converts this GetLogMetricRequest to JSON.
14002 * @returns JSON object
14003 */
14004 public toJSON(): { [k: string]: any };
14005
14006 /**
14007 * Gets the default type url for GetLogMetricRequest
14008 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14009 * @returns The default type url
14010 */
14011 public static getTypeUrl(typeUrlPrefix?: string): string;
14012 }
14013
14014 /** Properties of a CreateLogMetricRequest. */
14015 interface ICreateLogMetricRequest {
14016
14017 /** CreateLogMetricRequest parent */
14018 parent?: (string|null);
14019
14020 /** CreateLogMetricRequest metric */
14021 metric?: (google.logging.v2.ILogMetric|null);
14022 }
14023
14024 /** Represents a CreateLogMetricRequest. */
14025 class CreateLogMetricRequest implements ICreateLogMetricRequest {
14026
14027 /**
14028 * Constructs a new CreateLogMetricRequest.
14029 * @param [properties] Properties to set
14030 */
14031 constructor(properties?: google.logging.v2.ICreateLogMetricRequest);
14032
14033 /** CreateLogMetricRequest parent. */
14034 public parent: string;
14035
14036 /** CreateLogMetricRequest metric. */
14037 public metric?: (google.logging.v2.ILogMetric|null);
14038
14039 /**
14040 * Creates a new CreateLogMetricRequest instance using the specified properties.
14041 * @param [properties] Properties to set
14042 * @returns CreateLogMetricRequest instance
14043 */
14044 public static create(properties?: google.logging.v2.ICreateLogMetricRequest): google.logging.v2.CreateLogMetricRequest;
14045
14046 /**
14047 * Encodes the specified CreateLogMetricRequest message. Does not implicitly {@link google.logging.v2.CreateLogMetricRequest.verify|verify} messages.
14048 * @param message CreateLogMetricRequest message or plain object to encode
14049 * @param [writer] Writer to encode to
14050 * @returns Writer
14051 */
14052 public static encode(message: google.logging.v2.ICreateLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14053
14054 /**
14055 * Encodes the specified CreateLogMetricRequest message, length delimited. Does not implicitly {@link google.logging.v2.CreateLogMetricRequest.verify|verify} messages.
14056 * @param message CreateLogMetricRequest message or plain object to encode
14057 * @param [writer] Writer to encode to
14058 * @returns Writer
14059 */
14060 public static encodeDelimited(message: google.logging.v2.ICreateLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14061
14062 /**
14063 * Decodes a CreateLogMetricRequest message from the specified reader or buffer.
14064 * @param reader Reader or buffer to decode from
14065 * @param [length] Message length if known beforehand
14066 * @returns CreateLogMetricRequest
14067 * @throws {Error} If the payload is not a reader or valid buffer
14068 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14069 */
14070 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.CreateLogMetricRequest;
14071
14072 /**
14073 * Decodes a CreateLogMetricRequest message from the specified reader or buffer, length delimited.
14074 * @param reader Reader or buffer to decode from
14075 * @returns CreateLogMetricRequest
14076 * @throws {Error} If the payload is not a reader or valid buffer
14077 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14078 */
14079 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.CreateLogMetricRequest;
14080
14081 /**
14082 * Verifies a CreateLogMetricRequest message.
14083 * @param message Plain object to verify
14084 * @returns `null` if valid, otherwise the reason why it is not
14085 */
14086 public static verify(message: { [k: string]: any }): (string|null);
14087
14088 /**
14089 * Creates a CreateLogMetricRequest message from a plain object. Also converts values to their respective internal types.
14090 * @param object Plain object
14091 * @returns CreateLogMetricRequest
14092 */
14093 public static fromObject(object: { [k: string]: any }): google.logging.v2.CreateLogMetricRequest;
14094
14095 /**
14096 * Creates a plain object from a CreateLogMetricRequest message. Also converts values to other types if specified.
14097 * @param message CreateLogMetricRequest
14098 * @param [options] Conversion options
14099 * @returns Plain object
14100 */
14101 public static toObject(message: google.logging.v2.CreateLogMetricRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14102
14103 /**
14104 * Converts this CreateLogMetricRequest to JSON.
14105 * @returns JSON object
14106 */
14107 public toJSON(): { [k: string]: any };
14108
14109 /**
14110 * Gets the default type url for CreateLogMetricRequest
14111 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14112 * @returns The default type url
14113 */
14114 public static getTypeUrl(typeUrlPrefix?: string): string;
14115 }
14116
14117 /** Properties of an UpdateLogMetricRequest. */
14118 interface IUpdateLogMetricRequest {
14119
14120 /** UpdateLogMetricRequest metricName */
14121 metricName?: (string|null);
14122
14123 /** UpdateLogMetricRequest metric */
14124 metric?: (google.logging.v2.ILogMetric|null);
14125 }
14126
14127 /** Represents an UpdateLogMetricRequest. */
14128 class UpdateLogMetricRequest implements IUpdateLogMetricRequest {
14129
14130 /**
14131 * Constructs a new UpdateLogMetricRequest.
14132 * @param [properties] Properties to set
14133 */
14134 constructor(properties?: google.logging.v2.IUpdateLogMetricRequest);
14135
14136 /** UpdateLogMetricRequest metricName. */
14137 public metricName: string;
14138
14139 /** UpdateLogMetricRequest metric. */
14140 public metric?: (google.logging.v2.ILogMetric|null);
14141
14142 /**
14143 * Creates a new UpdateLogMetricRequest instance using the specified properties.
14144 * @param [properties] Properties to set
14145 * @returns UpdateLogMetricRequest instance
14146 */
14147 public static create(properties?: google.logging.v2.IUpdateLogMetricRequest): google.logging.v2.UpdateLogMetricRequest;
14148
14149 /**
14150 * Encodes the specified UpdateLogMetricRequest message. Does not implicitly {@link google.logging.v2.UpdateLogMetricRequest.verify|verify} messages.
14151 * @param message UpdateLogMetricRequest message or plain object to encode
14152 * @param [writer] Writer to encode to
14153 * @returns Writer
14154 */
14155 public static encode(message: google.logging.v2.IUpdateLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14156
14157 /**
14158 * Encodes the specified UpdateLogMetricRequest message, length delimited. Does not implicitly {@link google.logging.v2.UpdateLogMetricRequest.verify|verify} messages.
14159 * @param message UpdateLogMetricRequest message or plain object to encode
14160 * @param [writer] Writer to encode to
14161 * @returns Writer
14162 */
14163 public static encodeDelimited(message: google.logging.v2.IUpdateLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14164
14165 /**
14166 * Decodes an UpdateLogMetricRequest message from the specified reader or buffer.
14167 * @param reader Reader or buffer to decode from
14168 * @param [length] Message length if known beforehand
14169 * @returns UpdateLogMetricRequest
14170 * @throws {Error} If the payload is not a reader or valid buffer
14171 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14172 */
14173 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.UpdateLogMetricRequest;
14174
14175 /**
14176 * Decodes an UpdateLogMetricRequest message from the specified reader or buffer, length delimited.
14177 * @param reader Reader or buffer to decode from
14178 * @returns UpdateLogMetricRequest
14179 * @throws {Error} If the payload is not a reader or valid buffer
14180 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14181 */
14182 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.UpdateLogMetricRequest;
14183
14184 /**
14185 * Verifies an UpdateLogMetricRequest message.
14186 * @param message Plain object to verify
14187 * @returns `null` if valid, otherwise the reason why it is not
14188 */
14189 public static verify(message: { [k: string]: any }): (string|null);
14190
14191 /**
14192 * Creates an UpdateLogMetricRequest message from a plain object. Also converts values to their respective internal types.
14193 * @param object Plain object
14194 * @returns UpdateLogMetricRequest
14195 */
14196 public static fromObject(object: { [k: string]: any }): google.logging.v2.UpdateLogMetricRequest;
14197
14198 /**
14199 * Creates a plain object from an UpdateLogMetricRequest message. Also converts values to other types if specified.
14200 * @param message UpdateLogMetricRequest
14201 * @param [options] Conversion options
14202 * @returns Plain object
14203 */
14204 public static toObject(message: google.logging.v2.UpdateLogMetricRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14205
14206 /**
14207 * Converts this UpdateLogMetricRequest to JSON.
14208 * @returns JSON object
14209 */
14210 public toJSON(): { [k: string]: any };
14211
14212 /**
14213 * Gets the default type url for UpdateLogMetricRequest
14214 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14215 * @returns The default type url
14216 */
14217 public static getTypeUrl(typeUrlPrefix?: string): string;
14218 }
14219
14220 /** Properties of a DeleteLogMetricRequest. */
14221 interface IDeleteLogMetricRequest {
14222
14223 /** DeleteLogMetricRequest metricName */
14224 metricName?: (string|null);
14225 }
14226
14227 /** Represents a DeleteLogMetricRequest. */
14228 class DeleteLogMetricRequest implements IDeleteLogMetricRequest {
14229
14230 /**
14231 * Constructs a new DeleteLogMetricRequest.
14232 * @param [properties] Properties to set
14233 */
14234 constructor(properties?: google.logging.v2.IDeleteLogMetricRequest);
14235
14236 /** DeleteLogMetricRequest metricName. */
14237 public metricName: string;
14238
14239 /**
14240 * Creates a new DeleteLogMetricRequest instance using the specified properties.
14241 * @param [properties] Properties to set
14242 * @returns DeleteLogMetricRequest instance
14243 */
14244 public static create(properties?: google.logging.v2.IDeleteLogMetricRequest): google.logging.v2.DeleteLogMetricRequest;
14245
14246 /**
14247 * Encodes the specified DeleteLogMetricRequest message. Does not implicitly {@link google.logging.v2.DeleteLogMetricRequest.verify|verify} messages.
14248 * @param message DeleteLogMetricRequest message or plain object to encode
14249 * @param [writer] Writer to encode to
14250 * @returns Writer
14251 */
14252 public static encode(message: google.logging.v2.IDeleteLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14253
14254 /**
14255 * Encodes the specified DeleteLogMetricRequest message, length delimited. Does not implicitly {@link google.logging.v2.DeleteLogMetricRequest.verify|verify} messages.
14256 * @param message DeleteLogMetricRequest message or plain object to encode
14257 * @param [writer] Writer to encode to
14258 * @returns Writer
14259 */
14260 public static encodeDelimited(message: google.logging.v2.IDeleteLogMetricRequest, writer?: $protobuf.Writer): $protobuf.Writer;
14261
14262 /**
14263 * Decodes a DeleteLogMetricRequest message from the specified reader or buffer.
14264 * @param reader Reader or buffer to decode from
14265 * @param [length] Message length if known beforehand
14266 * @returns DeleteLogMetricRequest
14267 * @throws {Error} If the payload is not a reader or valid buffer
14268 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14269 */
14270 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.logging.v2.DeleteLogMetricRequest;
14271
14272 /**
14273 * Decodes a DeleteLogMetricRequest message from the specified reader or buffer, length delimited.
14274 * @param reader Reader or buffer to decode from
14275 * @returns DeleteLogMetricRequest
14276 * @throws {Error} If the payload is not a reader or valid buffer
14277 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14278 */
14279 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.logging.v2.DeleteLogMetricRequest;
14280
14281 /**
14282 * Verifies a DeleteLogMetricRequest message.
14283 * @param message Plain object to verify
14284 * @returns `null` if valid, otherwise the reason why it is not
14285 */
14286 public static verify(message: { [k: string]: any }): (string|null);
14287
14288 /**
14289 * Creates a DeleteLogMetricRequest message from a plain object. Also converts values to their respective internal types.
14290 * @param object Plain object
14291 * @returns DeleteLogMetricRequest
14292 */
14293 public static fromObject(object: { [k: string]: any }): google.logging.v2.DeleteLogMetricRequest;
14294
14295 /**
14296 * Creates a plain object from a DeleteLogMetricRequest message. Also converts values to other types if specified.
14297 * @param message DeleteLogMetricRequest
14298 * @param [options] Conversion options
14299 * @returns Plain object
14300 */
14301 public static toObject(message: google.logging.v2.DeleteLogMetricRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
14302
14303 /**
14304 * Converts this DeleteLogMetricRequest to JSON.
14305 * @returns JSON object
14306 */
14307 public toJSON(): { [k: string]: any };
14308
14309 /**
14310 * Gets the default type url for DeleteLogMetricRequest
14311 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14312 * @returns The default type url
14313 */
14314 public static getTypeUrl(typeUrlPrefix?: string): string;
14315 }
14316 }
14317 }
14318
14319 /** Namespace api. */
14320 namespace api {
14321
14322 /** FieldBehavior enum. */
14323 enum FieldBehavior {
14324 FIELD_BEHAVIOR_UNSPECIFIED = 0,
14325 OPTIONAL = 1,
14326 REQUIRED = 2,
14327 OUTPUT_ONLY = 3,
14328 INPUT_ONLY = 4,
14329 IMMUTABLE = 5,
14330 UNORDERED_LIST = 6,
14331 NON_EMPTY_DEFAULT = 7,
14332 IDENTIFIER = 8
14333 }
14334
14335 /** Properties of a MonitoredResourceDescriptor. */
14336 interface IMonitoredResourceDescriptor {
14337
14338 /** MonitoredResourceDescriptor name */
14339 name?: (string|null);
14340
14341 /** MonitoredResourceDescriptor type */
14342 type?: (string|null);
14343
14344 /** MonitoredResourceDescriptor displayName */
14345 displayName?: (string|null);
14346
14347 /** MonitoredResourceDescriptor description */
14348 description?: (string|null);
14349
14350 /** MonitoredResourceDescriptor labels */
14351 labels?: (google.api.ILabelDescriptor[]|null);
14352
14353 /** MonitoredResourceDescriptor launchStage */
14354 launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
14355 }
14356
14357 /** Represents a MonitoredResourceDescriptor. */
14358 class MonitoredResourceDescriptor implements IMonitoredResourceDescriptor {
14359
14360 /**
14361 * Constructs a new MonitoredResourceDescriptor.
14362 * @param [properties] Properties to set
14363 */
14364 constructor(properties?: google.api.IMonitoredResourceDescriptor);
14365
14366 /** MonitoredResourceDescriptor name. */
14367 public name: string;
14368
14369 /** MonitoredResourceDescriptor type. */
14370 public type: string;
14371
14372 /** MonitoredResourceDescriptor displayName. */
14373 public displayName: string;
14374
14375 /** MonitoredResourceDescriptor description. */
14376 public description: string;
14377
14378 /** MonitoredResourceDescriptor labels. */
14379 public labels: google.api.ILabelDescriptor[];
14380
14381 /** MonitoredResourceDescriptor launchStage. */
14382 public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
14383
14384 /**
14385 * Creates a new MonitoredResourceDescriptor instance using the specified properties.
14386 * @param [properties] Properties to set
14387 * @returns MonitoredResourceDescriptor instance
14388 */
14389 public static create(properties?: google.api.IMonitoredResourceDescriptor): google.api.MonitoredResourceDescriptor;
14390
14391 /**
14392 * Encodes the specified MonitoredResourceDescriptor message. Does not implicitly {@link google.api.MonitoredResourceDescriptor.verify|verify} messages.
14393 * @param message MonitoredResourceDescriptor message or plain object to encode
14394 * @param [writer] Writer to encode to
14395 * @returns Writer
14396 */
14397 public static encode(message: google.api.IMonitoredResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
14398
14399 /**
14400 * Encodes the specified MonitoredResourceDescriptor message, length delimited. Does not implicitly {@link google.api.MonitoredResourceDescriptor.verify|verify} messages.
14401 * @param message MonitoredResourceDescriptor message or plain object to encode
14402 * @param [writer] Writer to encode to
14403 * @returns Writer
14404 */
14405 public static encodeDelimited(message: google.api.IMonitoredResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
14406
14407 /**
14408 * Decodes a MonitoredResourceDescriptor message from the specified reader or buffer.
14409 * @param reader Reader or buffer to decode from
14410 * @param [length] Message length if known beforehand
14411 * @returns MonitoredResourceDescriptor
14412 * @throws {Error} If the payload is not a reader or valid buffer
14413 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14414 */
14415 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MonitoredResourceDescriptor;
14416
14417 /**
14418 * Decodes a MonitoredResourceDescriptor message from the specified reader or buffer, length delimited.
14419 * @param reader Reader or buffer to decode from
14420 * @returns MonitoredResourceDescriptor
14421 * @throws {Error} If the payload is not a reader or valid buffer
14422 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14423 */
14424 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MonitoredResourceDescriptor;
14425
14426 /**
14427 * Verifies a MonitoredResourceDescriptor message.
14428 * @param message Plain object to verify
14429 * @returns `null` if valid, otherwise the reason why it is not
14430 */
14431 public static verify(message: { [k: string]: any }): (string|null);
14432
14433 /**
14434 * Creates a MonitoredResourceDescriptor message from a plain object. Also converts values to their respective internal types.
14435 * @param object Plain object
14436 * @returns MonitoredResourceDescriptor
14437 */
14438 public static fromObject(object: { [k: string]: any }): google.api.MonitoredResourceDescriptor;
14439
14440 /**
14441 * Creates a plain object from a MonitoredResourceDescriptor message. Also converts values to other types if specified.
14442 * @param message MonitoredResourceDescriptor
14443 * @param [options] Conversion options
14444 * @returns Plain object
14445 */
14446 public static toObject(message: google.api.MonitoredResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
14447
14448 /**
14449 * Converts this MonitoredResourceDescriptor to JSON.
14450 * @returns JSON object
14451 */
14452 public toJSON(): { [k: string]: any };
14453
14454 /**
14455 * Gets the default type url for MonitoredResourceDescriptor
14456 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14457 * @returns The default type url
14458 */
14459 public static getTypeUrl(typeUrlPrefix?: string): string;
14460 }
14461
14462 /** Properties of a MonitoredResource. */
14463 interface IMonitoredResource {
14464
14465 /** MonitoredResource type */
14466 type?: (string|null);
14467
14468 /** MonitoredResource labels */
14469 labels?: ({ [k: string]: string }|null);
14470 }
14471
14472 /** Represents a MonitoredResource. */
14473 class MonitoredResource implements IMonitoredResource {
14474
14475 /**
14476 * Constructs a new MonitoredResource.
14477 * @param [properties] Properties to set
14478 */
14479 constructor(properties?: google.api.IMonitoredResource);
14480
14481 /** MonitoredResource type. */
14482 public type: string;
14483
14484 /** MonitoredResource labels. */
14485 public labels: { [k: string]: string };
14486
14487 /**
14488 * Creates a new MonitoredResource instance using the specified properties.
14489 * @param [properties] Properties to set
14490 * @returns MonitoredResource instance
14491 */
14492 public static create(properties?: google.api.IMonitoredResource): google.api.MonitoredResource;
14493
14494 /**
14495 * Encodes the specified MonitoredResource message. Does not implicitly {@link google.api.MonitoredResource.verify|verify} messages.
14496 * @param message MonitoredResource message or plain object to encode
14497 * @param [writer] Writer to encode to
14498 * @returns Writer
14499 */
14500 public static encode(message: google.api.IMonitoredResource, writer?: $protobuf.Writer): $protobuf.Writer;
14501
14502 /**
14503 * Encodes the specified MonitoredResource message, length delimited. Does not implicitly {@link google.api.MonitoredResource.verify|verify} messages.
14504 * @param message MonitoredResource message or plain object to encode
14505 * @param [writer] Writer to encode to
14506 * @returns Writer
14507 */
14508 public static encodeDelimited(message: google.api.IMonitoredResource, writer?: $protobuf.Writer): $protobuf.Writer;
14509
14510 /**
14511 * Decodes a MonitoredResource message from the specified reader or buffer.
14512 * @param reader Reader or buffer to decode from
14513 * @param [length] Message length if known beforehand
14514 * @returns MonitoredResource
14515 * @throws {Error} If the payload is not a reader or valid buffer
14516 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14517 */
14518 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MonitoredResource;
14519
14520 /**
14521 * Decodes a MonitoredResource message from the specified reader or buffer, length delimited.
14522 * @param reader Reader or buffer to decode from
14523 * @returns MonitoredResource
14524 * @throws {Error} If the payload is not a reader or valid buffer
14525 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14526 */
14527 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MonitoredResource;
14528
14529 /**
14530 * Verifies a MonitoredResource message.
14531 * @param message Plain object to verify
14532 * @returns `null` if valid, otherwise the reason why it is not
14533 */
14534 public static verify(message: { [k: string]: any }): (string|null);
14535
14536 /**
14537 * Creates a MonitoredResource message from a plain object. Also converts values to their respective internal types.
14538 * @param object Plain object
14539 * @returns MonitoredResource
14540 */
14541 public static fromObject(object: { [k: string]: any }): google.api.MonitoredResource;
14542
14543 /**
14544 * Creates a plain object from a MonitoredResource message. Also converts values to other types if specified.
14545 * @param message MonitoredResource
14546 * @param [options] Conversion options
14547 * @returns Plain object
14548 */
14549 public static toObject(message: google.api.MonitoredResource, options?: $protobuf.IConversionOptions): { [k: string]: any };
14550
14551 /**
14552 * Converts this MonitoredResource to JSON.
14553 * @returns JSON object
14554 */
14555 public toJSON(): { [k: string]: any };
14556
14557 /**
14558 * Gets the default type url for MonitoredResource
14559 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14560 * @returns The default type url
14561 */
14562 public static getTypeUrl(typeUrlPrefix?: string): string;
14563 }
14564
14565 /** Properties of a MonitoredResourceMetadata. */
14566 interface IMonitoredResourceMetadata {
14567
14568 /** MonitoredResourceMetadata systemLabels */
14569 systemLabels?: (google.protobuf.IStruct|null);
14570
14571 /** MonitoredResourceMetadata userLabels */
14572 userLabels?: ({ [k: string]: string }|null);
14573 }
14574
14575 /** Represents a MonitoredResourceMetadata. */
14576 class MonitoredResourceMetadata implements IMonitoredResourceMetadata {
14577
14578 /**
14579 * Constructs a new MonitoredResourceMetadata.
14580 * @param [properties] Properties to set
14581 */
14582 constructor(properties?: google.api.IMonitoredResourceMetadata);
14583
14584 /** MonitoredResourceMetadata systemLabels. */
14585 public systemLabels?: (google.protobuf.IStruct|null);
14586
14587 /** MonitoredResourceMetadata userLabels. */
14588 public userLabels: { [k: string]: string };
14589
14590 /**
14591 * Creates a new MonitoredResourceMetadata instance using the specified properties.
14592 * @param [properties] Properties to set
14593 * @returns MonitoredResourceMetadata instance
14594 */
14595 public static create(properties?: google.api.IMonitoredResourceMetadata): google.api.MonitoredResourceMetadata;
14596
14597 /**
14598 * Encodes the specified MonitoredResourceMetadata message. Does not implicitly {@link google.api.MonitoredResourceMetadata.verify|verify} messages.
14599 * @param message MonitoredResourceMetadata message or plain object to encode
14600 * @param [writer] Writer to encode to
14601 * @returns Writer
14602 */
14603 public static encode(message: google.api.IMonitoredResourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
14604
14605 /**
14606 * Encodes the specified MonitoredResourceMetadata message, length delimited. Does not implicitly {@link google.api.MonitoredResourceMetadata.verify|verify} messages.
14607 * @param message MonitoredResourceMetadata message or plain object to encode
14608 * @param [writer] Writer to encode to
14609 * @returns Writer
14610 */
14611 public static encodeDelimited(message: google.api.IMonitoredResourceMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
14612
14613 /**
14614 * Decodes a MonitoredResourceMetadata message from the specified reader or buffer.
14615 * @param reader Reader or buffer to decode from
14616 * @param [length] Message length if known beforehand
14617 * @returns MonitoredResourceMetadata
14618 * @throws {Error} If the payload is not a reader or valid buffer
14619 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14620 */
14621 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MonitoredResourceMetadata;
14622
14623 /**
14624 * Decodes a MonitoredResourceMetadata message from the specified reader or buffer, length delimited.
14625 * @param reader Reader or buffer to decode from
14626 * @returns MonitoredResourceMetadata
14627 * @throws {Error} If the payload is not a reader or valid buffer
14628 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14629 */
14630 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MonitoredResourceMetadata;
14631
14632 /**
14633 * Verifies a MonitoredResourceMetadata message.
14634 * @param message Plain object to verify
14635 * @returns `null` if valid, otherwise the reason why it is not
14636 */
14637 public static verify(message: { [k: string]: any }): (string|null);
14638
14639 /**
14640 * Creates a MonitoredResourceMetadata message from a plain object. Also converts values to their respective internal types.
14641 * @param object Plain object
14642 * @returns MonitoredResourceMetadata
14643 */
14644 public static fromObject(object: { [k: string]: any }): google.api.MonitoredResourceMetadata;
14645
14646 /**
14647 * Creates a plain object from a MonitoredResourceMetadata message. Also converts values to other types if specified.
14648 * @param message MonitoredResourceMetadata
14649 * @param [options] Conversion options
14650 * @returns Plain object
14651 */
14652 public static toObject(message: google.api.MonitoredResourceMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
14653
14654 /**
14655 * Converts this MonitoredResourceMetadata to JSON.
14656 * @returns JSON object
14657 */
14658 public toJSON(): { [k: string]: any };
14659
14660 /**
14661 * Gets the default type url for MonitoredResourceMetadata
14662 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14663 * @returns The default type url
14664 */
14665 public static getTypeUrl(typeUrlPrefix?: string): string;
14666 }
14667
14668 /** Properties of a LabelDescriptor. */
14669 interface ILabelDescriptor {
14670
14671 /** LabelDescriptor key */
14672 key?: (string|null);
14673
14674 /** LabelDescriptor valueType */
14675 valueType?: (google.api.LabelDescriptor.ValueType|keyof typeof google.api.LabelDescriptor.ValueType|null);
14676
14677 /** LabelDescriptor description */
14678 description?: (string|null);
14679 }
14680
14681 /** Represents a LabelDescriptor. */
14682 class LabelDescriptor implements ILabelDescriptor {
14683
14684 /**
14685 * Constructs a new LabelDescriptor.
14686 * @param [properties] Properties to set
14687 */
14688 constructor(properties?: google.api.ILabelDescriptor);
14689
14690 /** LabelDescriptor key. */
14691 public key: string;
14692
14693 /** LabelDescriptor valueType. */
14694 public valueType: (google.api.LabelDescriptor.ValueType|keyof typeof google.api.LabelDescriptor.ValueType);
14695
14696 /** LabelDescriptor description. */
14697 public description: string;
14698
14699 /**
14700 * Creates a new LabelDescriptor instance using the specified properties.
14701 * @param [properties] Properties to set
14702 * @returns LabelDescriptor instance
14703 */
14704 public static create(properties?: google.api.ILabelDescriptor): google.api.LabelDescriptor;
14705
14706 /**
14707 * Encodes the specified LabelDescriptor message. Does not implicitly {@link google.api.LabelDescriptor.verify|verify} messages.
14708 * @param message LabelDescriptor message or plain object to encode
14709 * @param [writer] Writer to encode to
14710 * @returns Writer
14711 */
14712 public static encode(message: google.api.ILabelDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
14713
14714 /**
14715 * Encodes the specified LabelDescriptor message, length delimited. Does not implicitly {@link google.api.LabelDescriptor.verify|verify} messages.
14716 * @param message LabelDescriptor message or plain object to encode
14717 * @param [writer] Writer to encode to
14718 * @returns Writer
14719 */
14720 public static encodeDelimited(message: google.api.ILabelDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
14721
14722 /**
14723 * Decodes a LabelDescriptor message from the specified reader or buffer.
14724 * @param reader Reader or buffer to decode from
14725 * @param [length] Message length if known beforehand
14726 * @returns LabelDescriptor
14727 * @throws {Error} If the payload is not a reader or valid buffer
14728 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14729 */
14730 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.LabelDescriptor;
14731
14732 /**
14733 * Decodes a LabelDescriptor message from the specified reader or buffer, length delimited.
14734 * @param reader Reader or buffer to decode from
14735 * @returns LabelDescriptor
14736 * @throws {Error} If the payload is not a reader or valid buffer
14737 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14738 */
14739 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.LabelDescriptor;
14740
14741 /**
14742 * Verifies a LabelDescriptor message.
14743 * @param message Plain object to verify
14744 * @returns `null` if valid, otherwise the reason why it is not
14745 */
14746 public static verify(message: { [k: string]: any }): (string|null);
14747
14748 /**
14749 * Creates a LabelDescriptor message from a plain object. Also converts values to their respective internal types.
14750 * @param object Plain object
14751 * @returns LabelDescriptor
14752 */
14753 public static fromObject(object: { [k: string]: any }): google.api.LabelDescriptor;
14754
14755 /**
14756 * Creates a plain object from a LabelDescriptor message. Also converts values to other types if specified.
14757 * @param message LabelDescriptor
14758 * @param [options] Conversion options
14759 * @returns Plain object
14760 */
14761 public static toObject(message: google.api.LabelDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
14762
14763 /**
14764 * Converts this LabelDescriptor to JSON.
14765 * @returns JSON object
14766 */
14767 public toJSON(): { [k: string]: any };
14768
14769 /**
14770 * Gets the default type url for LabelDescriptor
14771 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14772 * @returns The default type url
14773 */
14774 public static getTypeUrl(typeUrlPrefix?: string): string;
14775 }
14776
14777 namespace LabelDescriptor {
14778
14779 /** ValueType enum. */
14780 enum ValueType {
14781 STRING = 0,
14782 BOOL = 1,
14783 INT64 = 2
14784 }
14785 }
14786
14787 /** LaunchStage enum. */
14788 enum LaunchStage {
14789 LAUNCH_STAGE_UNSPECIFIED = 0,
14790 UNIMPLEMENTED = 6,
14791 PRELAUNCH = 7,
14792 EARLY_ACCESS = 1,
14793 ALPHA = 2,
14794 BETA = 3,
14795 GA = 4,
14796 DEPRECATED = 5
14797 }
14798
14799 /** Properties of a ResourceDescriptor. */
14800 interface IResourceDescriptor {
14801
14802 /** ResourceDescriptor type */
14803 type?: (string|null);
14804
14805 /** ResourceDescriptor pattern */
14806 pattern?: (string[]|null);
14807
14808 /** ResourceDescriptor nameField */
14809 nameField?: (string|null);
14810
14811 /** ResourceDescriptor history */
14812 history?: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History|null);
14813
14814 /** ResourceDescriptor plural */
14815 plural?: (string|null);
14816
14817 /** ResourceDescriptor singular */
14818 singular?: (string|null);
14819
14820 /** ResourceDescriptor style */
14821 style?: (google.api.ResourceDescriptor.Style[]|null);
14822 }
14823
14824 /** Represents a ResourceDescriptor. */
14825 class ResourceDescriptor implements IResourceDescriptor {
14826
14827 /**
14828 * Constructs a new ResourceDescriptor.
14829 * @param [properties] Properties to set
14830 */
14831 constructor(properties?: google.api.IResourceDescriptor);
14832
14833 /** ResourceDescriptor type. */
14834 public type: string;
14835
14836 /** ResourceDescriptor pattern. */
14837 public pattern: string[];
14838
14839 /** ResourceDescriptor nameField. */
14840 public nameField: string;
14841
14842 /** ResourceDescriptor history. */
14843 public history: (google.api.ResourceDescriptor.History|keyof typeof google.api.ResourceDescriptor.History);
14844
14845 /** ResourceDescriptor plural. */
14846 public plural: string;
14847
14848 /** ResourceDescriptor singular. */
14849 public singular: string;
14850
14851 /** ResourceDescriptor style. */
14852 public style: google.api.ResourceDescriptor.Style[];
14853
14854 /**
14855 * Creates a new ResourceDescriptor instance using the specified properties.
14856 * @param [properties] Properties to set
14857 * @returns ResourceDescriptor instance
14858 */
14859 public static create(properties?: google.api.IResourceDescriptor): google.api.ResourceDescriptor;
14860
14861 /**
14862 * Encodes the specified ResourceDescriptor message. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
14863 * @param message ResourceDescriptor message or plain object to encode
14864 * @param [writer] Writer to encode to
14865 * @returns Writer
14866 */
14867 public static encode(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
14868
14869 /**
14870 * Encodes the specified ResourceDescriptor message, length delimited. Does not implicitly {@link google.api.ResourceDescriptor.verify|verify} messages.
14871 * @param message ResourceDescriptor message or plain object to encode
14872 * @param [writer] Writer to encode to
14873 * @returns Writer
14874 */
14875 public static encodeDelimited(message: google.api.IResourceDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
14876
14877 /**
14878 * Decodes a ResourceDescriptor message from the specified reader or buffer.
14879 * @param reader Reader or buffer to decode from
14880 * @param [length] Message length if known beforehand
14881 * @returns ResourceDescriptor
14882 * @throws {Error} If the payload is not a reader or valid buffer
14883 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14884 */
14885 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceDescriptor;
14886
14887 /**
14888 * Decodes a ResourceDescriptor message from the specified reader or buffer, length delimited.
14889 * @param reader Reader or buffer to decode from
14890 * @returns ResourceDescriptor
14891 * @throws {Error} If the payload is not a reader or valid buffer
14892 * @throws {$protobuf.util.ProtocolError} If required fields are missing
14893 */
14894 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceDescriptor;
14895
14896 /**
14897 * Verifies a ResourceDescriptor message.
14898 * @param message Plain object to verify
14899 * @returns `null` if valid, otherwise the reason why it is not
14900 */
14901 public static verify(message: { [k: string]: any }): (string|null);
14902
14903 /**
14904 * Creates a ResourceDescriptor message from a plain object. Also converts values to their respective internal types.
14905 * @param object Plain object
14906 * @returns ResourceDescriptor
14907 */
14908 public static fromObject(object: { [k: string]: any }): google.api.ResourceDescriptor;
14909
14910 /**
14911 * Creates a plain object from a ResourceDescriptor message. Also converts values to other types if specified.
14912 * @param message ResourceDescriptor
14913 * @param [options] Conversion options
14914 * @returns Plain object
14915 */
14916 public static toObject(message: google.api.ResourceDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
14917
14918 /**
14919 * Converts this ResourceDescriptor to JSON.
14920 * @returns JSON object
14921 */
14922 public toJSON(): { [k: string]: any };
14923
14924 /**
14925 * Gets the default type url for ResourceDescriptor
14926 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
14927 * @returns The default type url
14928 */
14929 public static getTypeUrl(typeUrlPrefix?: string): string;
14930 }
14931
14932 namespace ResourceDescriptor {
14933
14934 /** History enum. */
14935 enum History {
14936 HISTORY_UNSPECIFIED = 0,
14937 ORIGINALLY_SINGLE_PATTERN = 1,
14938 FUTURE_MULTI_PATTERN = 2
14939 }
14940
14941 /** Style enum. */
14942 enum Style {
14943 STYLE_UNSPECIFIED = 0,
14944 DECLARATIVE_FRIENDLY = 1
14945 }
14946 }
14947
14948 /** Properties of a ResourceReference. */
14949 interface IResourceReference {
14950
14951 /** ResourceReference type */
14952 type?: (string|null);
14953
14954 /** ResourceReference childType */
14955 childType?: (string|null);
14956 }
14957
14958 /** Represents a ResourceReference. */
14959 class ResourceReference implements IResourceReference {
14960
14961 /**
14962 * Constructs a new ResourceReference.
14963 * @param [properties] Properties to set
14964 */
14965 constructor(properties?: google.api.IResourceReference);
14966
14967 /** ResourceReference type. */
14968 public type: string;
14969
14970 /** ResourceReference childType. */
14971 public childType: string;
14972
14973 /**
14974 * Creates a new ResourceReference instance using the specified properties.
14975 * @param [properties] Properties to set
14976 * @returns ResourceReference instance
14977 */
14978 public static create(properties?: google.api.IResourceReference): google.api.ResourceReference;
14979
14980 /**
14981 * Encodes the specified ResourceReference message. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
14982 * @param message ResourceReference message or plain object to encode
14983 * @param [writer] Writer to encode to
14984 * @returns Writer
14985 */
14986 public static encode(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
14987
14988 /**
14989 * Encodes the specified ResourceReference message, length delimited. Does not implicitly {@link google.api.ResourceReference.verify|verify} messages.
14990 * @param message ResourceReference message or plain object to encode
14991 * @param [writer] Writer to encode to
14992 * @returns Writer
14993 */
14994 public static encodeDelimited(message: google.api.IResourceReference, writer?: $protobuf.Writer): $protobuf.Writer;
14995
14996 /**
14997 * Decodes a ResourceReference message from the specified reader or buffer.
14998 * @param reader Reader or buffer to decode from
14999 * @param [length] Message length if known beforehand
15000 * @returns ResourceReference
15001 * @throws {Error} If the payload is not a reader or valid buffer
15002 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15003 */
15004 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ResourceReference;
15005
15006 /**
15007 * Decodes a ResourceReference message from the specified reader or buffer, length delimited.
15008 * @param reader Reader or buffer to decode from
15009 * @returns ResourceReference
15010 * @throws {Error} If the payload is not a reader or valid buffer
15011 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15012 */
15013 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ResourceReference;
15014
15015 /**
15016 * Verifies a ResourceReference message.
15017 * @param message Plain object to verify
15018 * @returns `null` if valid, otherwise the reason why it is not
15019 */
15020 public static verify(message: { [k: string]: any }): (string|null);
15021
15022 /**
15023 * Creates a ResourceReference message from a plain object. Also converts values to their respective internal types.
15024 * @param object Plain object
15025 * @returns ResourceReference
15026 */
15027 public static fromObject(object: { [k: string]: any }): google.api.ResourceReference;
15028
15029 /**
15030 * Creates a plain object from a ResourceReference message. Also converts values to other types if specified.
15031 * @param message ResourceReference
15032 * @param [options] Conversion options
15033 * @returns Plain object
15034 */
15035 public static toObject(message: google.api.ResourceReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
15036
15037 /**
15038 * Converts this ResourceReference to JSON.
15039 * @returns JSON object
15040 */
15041 public toJSON(): { [k: string]: any };
15042
15043 /**
15044 * Gets the default type url for ResourceReference
15045 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15046 * @returns The default type url
15047 */
15048 public static getTypeUrl(typeUrlPrefix?: string): string;
15049 }
15050
15051 /** Properties of a Http. */
15052 interface IHttp {
15053
15054 /** Http rules */
15055 rules?: (google.api.IHttpRule[]|null);
15056
15057 /** Http fullyDecodeReservedExpansion */
15058 fullyDecodeReservedExpansion?: (boolean|null);
15059 }
15060
15061 /** Represents a Http. */
15062 class Http implements IHttp {
15063
15064 /**
15065 * Constructs a new Http.
15066 * @param [properties] Properties to set
15067 */
15068 constructor(properties?: google.api.IHttp);
15069
15070 /** Http rules. */
15071 public rules: google.api.IHttpRule[];
15072
15073 /** Http fullyDecodeReservedExpansion. */
15074 public fullyDecodeReservedExpansion: boolean;
15075
15076 /**
15077 * Creates a new Http instance using the specified properties.
15078 * @param [properties] Properties to set
15079 * @returns Http instance
15080 */
15081 public static create(properties?: google.api.IHttp): google.api.Http;
15082
15083 /**
15084 * Encodes the specified Http message. Does not implicitly {@link google.api.Http.verify|verify} messages.
15085 * @param message Http message or plain object to encode
15086 * @param [writer] Writer to encode to
15087 * @returns Writer
15088 */
15089 public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
15090
15091 /**
15092 * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
15093 * @param message Http message or plain object to encode
15094 * @param [writer] Writer to encode to
15095 * @returns Writer
15096 */
15097 public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
15098
15099 /**
15100 * Decodes a Http message from the specified reader or buffer.
15101 * @param reader Reader or buffer to decode from
15102 * @param [length] Message length if known beforehand
15103 * @returns Http
15104 * @throws {Error} If the payload is not a reader or valid buffer
15105 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15106 */
15107 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
15108
15109 /**
15110 * Decodes a Http message from the specified reader or buffer, length delimited.
15111 * @param reader Reader or buffer to decode from
15112 * @returns Http
15113 * @throws {Error} If the payload is not a reader or valid buffer
15114 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15115 */
15116 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
15117
15118 /**
15119 * Verifies a Http message.
15120 * @param message Plain object to verify
15121 * @returns `null` if valid, otherwise the reason why it is not
15122 */
15123 public static verify(message: { [k: string]: any }): (string|null);
15124
15125 /**
15126 * Creates a Http message from a plain object. Also converts values to their respective internal types.
15127 * @param object Plain object
15128 * @returns Http
15129 */
15130 public static fromObject(object: { [k: string]: any }): google.api.Http;
15131
15132 /**
15133 * Creates a plain object from a Http message. Also converts values to other types if specified.
15134 * @param message Http
15135 * @param [options] Conversion options
15136 * @returns Plain object
15137 */
15138 public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
15139
15140 /**
15141 * Converts this Http to JSON.
15142 * @returns JSON object
15143 */
15144 public toJSON(): { [k: string]: any };
15145
15146 /**
15147 * Gets the default type url for Http
15148 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15149 * @returns The default type url
15150 */
15151 public static getTypeUrl(typeUrlPrefix?: string): string;
15152 }
15153
15154 /** Properties of a HttpRule. */
15155 interface IHttpRule {
15156
15157 /** HttpRule selector */
15158 selector?: (string|null);
15159
15160 /** HttpRule get */
15161 get?: (string|null);
15162
15163 /** HttpRule put */
15164 put?: (string|null);
15165
15166 /** HttpRule post */
15167 post?: (string|null);
15168
15169 /** HttpRule delete */
15170 "delete"?: (string|null);
15171
15172 /** HttpRule patch */
15173 patch?: (string|null);
15174
15175 /** HttpRule custom */
15176 custom?: (google.api.ICustomHttpPattern|null);
15177
15178 /** HttpRule body */
15179 body?: (string|null);
15180
15181 /** HttpRule responseBody */
15182 responseBody?: (string|null);
15183
15184 /** HttpRule additionalBindings */
15185 additionalBindings?: (google.api.IHttpRule[]|null);
15186 }
15187
15188 /** Represents a HttpRule. */
15189 class HttpRule implements IHttpRule {
15190
15191 /**
15192 * Constructs a new HttpRule.
15193 * @param [properties] Properties to set
15194 */
15195 constructor(properties?: google.api.IHttpRule);
15196
15197 /** HttpRule selector. */
15198 public selector: string;
15199
15200 /** HttpRule get. */
15201 public get?: (string|null);
15202
15203 /** HttpRule put. */
15204 public put?: (string|null);
15205
15206 /** HttpRule post. */
15207 public post?: (string|null);
15208
15209 /** HttpRule delete. */
15210 public delete?: (string|null);
15211
15212 /** HttpRule patch. */
15213 public patch?: (string|null);
15214
15215 /** HttpRule custom. */
15216 public custom?: (google.api.ICustomHttpPattern|null);
15217
15218 /** HttpRule body. */
15219 public body: string;
15220
15221 /** HttpRule responseBody. */
15222 public responseBody: string;
15223
15224 /** HttpRule additionalBindings. */
15225 public additionalBindings: google.api.IHttpRule[];
15226
15227 /** HttpRule pattern. */
15228 public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
15229
15230 /**
15231 * Creates a new HttpRule instance using the specified properties.
15232 * @param [properties] Properties to set
15233 * @returns HttpRule instance
15234 */
15235 public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
15236
15237 /**
15238 * Encodes the specified HttpRule message. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
15239 * @param message HttpRule message or plain object to encode
15240 * @param [writer] Writer to encode to
15241 * @returns Writer
15242 */
15243 public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
15244
15245 /**
15246 * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
15247 * @param message HttpRule message or plain object to encode
15248 * @param [writer] Writer to encode to
15249 * @returns Writer
15250 */
15251 public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
15252
15253 /**
15254 * Decodes a HttpRule message from the specified reader or buffer.
15255 * @param reader Reader or buffer to decode from
15256 * @param [length] Message length if known beforehand
15257 * @returns HttpRule
15258 * @throws {Error} If the payload is not a reader or valid buffer
15259 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15260 */
15261 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
15262
15263 /**
15264 * Decodes a HttpRule message from the specified reader or buffer, length delimited.
15265 * @param reader Reader or buffer to decode from
15266 * @returns HttpRule
15267 * @throws {Error} If the payload is not a reader or valid buffer
15268 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15269 */
15270 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
15271
15272 /**
15273 * Verifies a HttpRule message.
15274 * @param message Plain object to verify
15275 * @returns `null` if valid, otherwise the reason why it is not
15276 */
15277 public static verify(message: { [k: string]: any }): (string|null);
15278
15279 /**
15280 * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
15281 * @param object Plain object
15282 * @returns HttpRule
15283 */
15284 public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
15285
15286 /**
15287 * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
15288 * @param message HttpRule
15289 * @param [options] Conversion options
15290 * @returns Plain object
15291 */
15292 public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
15293
15294 /**
15295 * Converts this HttpRule to JSON.
15296 * @returns JSON object
15297 */
15298 public toJSON(): { [k: string]: any };
15299
15300 /**
15301 * Gets the default type url for HttpRule
15302 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15303 * @returns The default type url
15304 */
15305 public static getTypeUrl(typeUrlPrefix?: string): string;
15306 }
15307
15308 /** Properties of a CustomHttpPattern. */
15309 interface ICustomHttpPattern {
15310
15311 /** CustomHttpPattern kind */
15312 kind?: (string|null);
15313
15314 /** CustomHttpPattern path */
15315 path?: (string|null);
15316 }
15317
15318 /** Represents a CustomHttpPattern. */
15319 class CustomHttpPattern implements ICustomHttpPattern {
15320
15321 /**
15322 * Constructs a new CustomHttpPattern.
15323 * @param [properties] Properties to set
15324 */
15325 constructor(properties?: google.api.ICustomHttpPattern);
15326
15327 /** CustomHttpPattern kind. */
15328 public kind: string;
15329
15330 /** CustomHttpPattern path. */
15331 public path: string;
15332
15333 /**
15334 * Creates a new CustomHttpPattern instance using the specified properties.
15335 * @param [properties] Properties to set
15336 * @returns CustomHttpPattern instance
15337 */
15338 public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
15339
15340 /**
15341 * Encodes the specified CustomHttpPattern message. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
15342 * @param message CustomHttpPattern message or plain object to encode
15343 * @param [writer] Writer to encode to
15344 * @returns Writer
15345 */
15346 public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
15347
15348 /**
15349 * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
15350 * @param message CustomHttpPattern message or plain object to encode
15351 * @param [writer] Writer to encode to
15352 * @returns Writer
15353 */
15354 public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
15355
15356 /**
15357 * Decodes a CustomHttpPattern message from the specified reader or buffer.
15358 * @param reader Reader or buffer to decode from
15359 * @param [length] Message length if known beforehand
15360 * @returns CustomHttpPattern
15361 * @throws {Error} If the payload is not a reader or valid buffer
15362 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15363 */
15364 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
15365
15366 /**
15367 * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
15368 * @param reader Reader or buffer to decode from
15369 * @returns CustomHttpPattern
15370 * @throws {Error} If the payload is not a reader or valid buffer
15371 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15372 */
15373 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
15374
15375 /**
15376 * Verifies a CustomHttpPattern message.
15377 * @param message Plain object to verify
15378 * @returns `null` if valid, otherwise the reason why it is not
15379 */
15380 public static verify(message: { [k: string]: any }): (string|null);
15381
15382 /**
15383 * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
15384 * @param object Plain object
15385 * @returns CustomHttpPattern
15386 */
15387 public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
15388
15389 /**
15390 * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
15391 * @param message CustomHttpPattern
15392 * @param [options] Conversion options
15393 * @returns Plain object
15394 */
15395 public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
15396
15397 /**
15398 * Converts this CustomHttpPattern to JSON.
15399 * @returns JSON object
15400 */
15401 public toJSON(): { [k: string]: any };
15402
15403 /**
15404 * Gets the default type url for CustomHttpPattern
15405 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15406 * @returns The default type url
15407 */
15408 public static getTypeUrl(typeUrlPrefix?: string): string;
15409 }
15410
15411 /** Properties of a CommonLanguageSettings. */
15412 interface ICommonLanguageSettings {
15413
15414 /** CommonLanguageSettings referenceDocsUri */
15415 referenceDocsUri?: (string|null);
15416
15417 /** CommonLanguageSettings destinations */
15418 destinations?: (google.api.ClientLibraryDestination[]|null);
15419 }
15420
15421 /** Represents a CommonLanguageSettings. */
15422 class CommonLanguageSettings implements ICommonLanguageSettings {
15423
15424 /**
15425 * Constructs a new CommonLanguageSettings.
15426 * @param [properties] Properties to set
15427 */
15428 constructor(properties?: google.api.ICommonLanguageSettings);
15429
15430 /** CommonLanguageSettings referenceDocsUri. */
15431 public referenceDocsUri: string;
15432
15433 /** CommonLanguageSettings destinations. */
15434 public destinations: google.api.ClientLibraryDestination[];
15435
15436 /**
15437 * Creates a new CommonLanguageSettings instance using the specified properties.
15438 * @param [properties] Properties to set
15439 * @returns CommonLanguageSettings instance
15440 */
15441 public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings;
15442
15443 /**
15444 * Encodes the specified CommonLanguageSettings message. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
15445 * @param message CommonLanguageSettings message or plain object to encode
15446 * @param [writer] Writer to encode to
15447 * @returns Writer
15448 */
15449 public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
15450
15451 /**
15452 * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
15453 * @param message CommonLanguageSettings message or plain object to encode
15454 * @param [writer] Writer to encode to
15455 * @returns Writer
15456 */
15457 public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
15458
15459 /**
15460 * Decodes a CommonLanguageSettings message from the specified reader or buffer.
15461 * @param reader Reader or buffer to decode from
15462 * @param [length] Message length if known beforehand
15463 * @returns CommonLanguageSettings
15464 * @throws {Error} If the payload is not a reader or valid buffer
15465 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15466 */
15467 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings;
15468
15469 /**
15470 * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited.
15471 * @param reader Reader or buffer to decode from
15472 * @returns CommonLanguageSettings
15473 * @throws {Error} If the payload is not a reader or valid buffer
15474 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15475 */
15476 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings;
15477
15478 /**
15479 * Verifies a CommonLanguageSettings message.
15480 * @param message Plain object to verify
15481 * @returns `null` if valid, otherwise the reason why it is not
15482 */
15483 public static verify(message: { [k: string]: any }): (string|null);
15484
15485 /**
15486 * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types.
15487 * @param object Plain object
15488 * @returns CommonLanguageSettings
15489 */
15490 public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings;
15491
15492 /**
15493 * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified.
15494 * @param message CommonLanguageSettings
15495 * @param [options] Conversion options
15496 * @returns Plain object
15497 */
15498 public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
15499
15500 /**
15501 * Converts this CommonLanguageSettings to JSON.
15502 * @returns JSON object
15503 */
15504 public toJSON(): { [k: string]: any };
15505
15506 /**
15507 * Gets the default type url for CommonLanguageSettings
15508 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15509 * @returns The default type url
15510 */
15511 public static getTypeUrl(typeUrlPrefix?: string): string;
15512 }
15513
15514 /** Properties of a ClientLibrarySettings. */
15515 interface IClientLibrarySettings {
15516
15517 /** ClientLibrarySettings version */
15518 version?: (string|null);
15519
15520 /** ClientLibrarySettings launchStage */
15521 launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
15522
15523 /** ClientLibrarySettings restNumericEnums */
15524 restNumericEnums?: (boolean|null);
15525
15526 /** ClientLibrarySettings javaSettings */
15527 javaSettings?: (google.api.IJavaSettings|null);
15528
15529 /** ClientLibrarySettings cppSettings */
15530 cppSettings?: (google.api.ICppSettings|null);
15531
15532 /** ClientLibrarySettings phpSettings */
15533 phpSettings?: (google.api.IPhpSettings|null);
15534
15535 /** ClientLibrarySettings pythonSettings */
15536 pythonSettings?: (google.api.IPythonSettings|null);
15537
15538 /** ClientLibrarySettings nodeSettings */
15539 nodeSettings?: (google.api.INodeSettings|null);
15540
15541 /** ClientLibrarySettings dotnetSettings */
15542 dotnetSettings?: (google.api.IDotnetSettings|null);
15543
15544 /** ClientLibrarySettings rubySettings */
15545 rubySettings?: (google.api.IRubySettings|null);
15546
15547 /** ClientLibrarySettings goSettings */
15548 goSettings?: (google.api.IGoSettings|null);
15549 }
15550
15551 /** Represents a ClientLibrarySettings. */
15552 class ClientLibrarySettings implements IClientLibrarySettings {
15553
15554 /**
15555 * Constructs a new ClientLibrarySettings.
15556 * @param [properties] Properties to set
15557 */
15558 constructor(properties?: google.api.IClientLibrarySettings);
15559
15560 /** ClientLibrarySettings version. */
15561 public version: string;
15562
15563 /** ClientLibrarySettings launchStage. */
15564 public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
15565
15566 /** ClientLibrarySettings restNumericEnums. */
15567 public restNumericEnums: boolean;
15568
15569 /** ClientLibrarySettings javaSettings. */
15570 public javaSettings?: (google.api.IJavaSettings|null);
15571
15572 /** ClientLibrarySettings cppSettings. */
15573 public cppSettings?: (google.api.ICppSettings|null);
15574
15575 /** ClientLibrarySettings phpSettings. */
15576 public phpSettings?: (google.api.IPhpSettings|null);
15577
15578 /** ClientLibrarySettings pythonSettings. */
15579 public pythonSettings?: (google.api.IPythonSettings|null);
15580
15581 /** ClientLibrarySettings nodeSettings. */
15582 public nodeSettings?: (google.api.INodeSettings|null);
15583
15584 /** ClientLibrarySettings dotnetSettings. */
15585 public dotnetSettings?: (google.api.IDotnetSettings|null);
15586
15587 /** ClientLibrarySettings rubySettings. */
15588 public rubySettings?: (google.api.IRubySettings|null);
15589
15590 /** ClientLibrarySettings goSettings. */
15591 public goSettings?: (google.api.IGoSettings|null);
15592
15593 /**
15594 * Creates a new ClientLibrarySettings instance using the specified properties.
15595 * @param [properties] Properties to set
15596 * @returns ClientLibrarySettings instance
15597 */
15598 public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings;
15599
15600 /**
15601 * Encodes the specified ClientLibrarySettings message. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
15602 * @param message ClientLibrarySettings message or plain object to encode
15603 * @param [writer] Writer to encode to
15604 * @returns Writer
15605 */
15606 public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
15607
15608 /**
15609 * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
15610 * @param message ClientLibrarySettings message or plain object to encode
15611 * @param [writer] Writer to encode to
15612 * @returns Writer
15613 */
15614 public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
15615
15616 /**
15617 * Decodes a ClientLibrarySettings message from the specified reader or buffer.
15618 * @param reader Reader or buffer to decode from
15619 * @param [length] Message length if known beforehand
15620 * @returns ClientLibrarySettings
15621 * @throws {Error} If the payload is not a reader or valid buffer
15622 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15623 */
15624 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings;
15625
15626 /**
15627 * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited.
15628 * @param reader Reader or buffer to decode from
15629 * @returns ClientLibrarySettings
15630 * @throws {Error} If the payload is not a reader or valid buffer
15631 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15632 */
15633 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings;
15634
15635 /**
15636 * Verifies a ClientLibrarySettings message.
15637 * @param message Plain object to verify
15638 * @returns `null` if valid, otherwise the reason why it is not
15639 */
15640 public static verify(message: { [k: string]: any }): (string|null);
15641
15642 /**
15643 * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types.
15644 * @param object Plain object
15645 * @returns ClientLibrarySettings
15646 */
15647 public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings;
15648
15649 /**
15650 * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified.
15651 * @param message ClientLibrarySettings
15652 * @param [options] Conversion options
15653 * @returns Plain object
15654 */
15655 public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
15656
15657 /**
15658 * Converts this ClientLibrarySettings to JSON.
15659 * @returns JSON object
15660 */
15661 public toJSON(): { [k: string]: any };
15662
15663 /**
15664 * Gets the default type url for ClientLibrarySettings
15665 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15666 * @returns The default type url
15667 */
15668 public static getTypeUrl(typeUrlPrefix?: string): string;
15669 }
15670
15671 /** Properties of a Publishing. */
15672 interface IPublishing {
15673
15674 /** Publishing methodSettings */
15675 methodSettings?: (google.api.IMethodSettings[]|null);
15676
15677 /** Publishing newIssueUri */
15678 newIssueUri?: (string|null);
15679
15680 /** Publishing documentationUri */
15681 documentationUri?: (string|null);
15682
15683 /** Publishing apiShortName */
15684 apiShortName?: (string|null);
15685
15686 /** Publishing githubLabel */
15687 githubLabel?: (string|null);
15688
15689 /** Publishing codeownerGithubTeams */
15690 codeownerGithubTeams?: (string[]|null);
15691
15692 /** Publishing docTagPrefix */
15693 docTagPrefix?: (string|null);
15694
15695 /** Publishing organization */
15696 organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null);
15697
15698 /** Publishing librarySettings */
15699 librarySettings?: (google.api.IClientLibrarySettings[]|null);
15700
15701 /** Publishing protoReferenceDocumentationUri */
15702 protoReferenceDocumentationUri?: (string|null);
15703
15704 /** Publishing restReferenceDocumentationUri */
15705 restReferenceDocumentationUri?: (string|null);
15706 }
15707
15708 /** Represents a Publishing. */
15709 class Publishing implements IPublishing {
15710
15711 /**
15712 * Constructs a new Publishing.
15713 * @param [properties] Properties to set
15714 */
15715 constructor(properties?: google.api.IPublishing);
15716
15717 /** Publishing methodSettings. */
15718 public methodSettings: google.api.IMethodSettings[];
15719
15720 /** Publishing newIssueUri. */
15721 public newIssueUri: string;
15722
15723 /** Publishing documentationUri. */
15724 public documentationUri: string;
15725
15726 /** Publishing apiShortName. */
15727 public apiShortName: string;
15728
15729 /** Publishing githubLabel. */
15730 public githubLabel: string;
15731
15732 /** Publishing codeownerGithubTeams. */
15733 public codeownerGithubTeams: string[];
15734
15735 /** Publishing docTagPrefix. */
15736 public docTagPrefix: string;
15737
15738 /** Publishing organization. */
15739 public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization);
15740
15741 /** Publishing librarySettings. */
15742 public librarySettings: google.api.IClientLibrarySettings[];
15743
15744 /** Publishing protoReferenceDocumentationUri. */
15745 public protoReferenceDocumentationUri: string;
15746
15747 /** Publishing restReferenceDocumentationUri. */
15748 public restReferenceDocumentationUri: string;
15749
15750 /**
15751 * Creates a new Publishing instance using the specified properties.
15752 * @param [properties] Properties to set
15753 * @returns Publishing instance
15754 */
15755 public static create(properties?: google.api.IPublishing): google.api.Publishing;
15756
15757 /**
15758 * Encodes the specified Publishing message. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
15759 * @param message Publishing message or plain object to encode
15760 * @param [writer] Writer to encode to
15761 * @returns Writer
15762 */
15763 public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
15764
15765 /**
15766 * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
15767 * @param message Publishing message or plain object to encode
15768 * @param [writer] Writer to encode to
15769 * @returns Writer
15770 */
15771 public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
15772
15773 /**
15774 * Decodes a Publishing message from the specified reader or buffer.
15775 * @param reader Reader or buffer to decode from
15776 * @param [length] Message length if known beforehand
15777 * @returns Publishing
15778 * @throws {Error} If the payload is not a reader or valid buffer
15779 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15780 */
15781 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing;
15782
15783 /**
15784 * Decodes a Publishing message from the specified reader or buffer, length delimited.
15785 * @param reader Reader or buffer to decode from
15786 * @returns Publishing
15787 * @throws {Error} If the payload is not a reader or valid buffer
15788 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15789 */
15790 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing;
15791
15792 /**
15793 * Verifies a Publishing message.
15794 * @param message Plain object to verify
15795 * @returns `null` if valid, otherwise the reason why it is not
15796 */
15797 public static verify(message: { [k: string]: any }): (string|null);
15798
15799 /**
15800 * Creates a Publishing message from a plain object. Also converts values to their respective internal types.
15801 * @param object Plain object
15802 * @returns Publishing
15803 */
15804 public static fromObject(object: { [k: string]: any }): google.api.Publishing;
15805
15806 /**
15807 * Creates a plain object from a Publishing message. Also converts values to other types if specified.
15808 * @param message Publishing
15809 * @param [options] Conversion options
15810 * @returns Plain object
15811 */
15812 public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any };
15813
15814 /**
15815 * Converts this Publishing to JSON.
15816 * @returns JSON object
15817 */
15818 public toJSON(): { [k: string]: any };
15819
15820 /**
15821 * Gets the default type url for Publishing
15822 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15823 * @returns The default type url
15824 */
15825 public static getTypeUrl(typeUrlPrefix?: string): string;
15826 }
15827
15828 /** Properties of a JavaSettings. */
15829 interface IJavaSettings {
15830
15831 /** JavaSettings libraryPackage */
15832 libraryPackage?: (string|null);
15833
15834 /** JavaSettings serviceClassNames */
15835 serviceClassNames?: ({ [k: string]: string }|null);
15836
15837 /** JavaSettings common */
15838 common?: (google.api.ICommonLanguageSettings|null);
15839 }
15840
15841 /** Represents a JavaSettings. */
15842 class JavaSettings implements IJavaSettings {
15843
15844 /**
15845 * Constructs a new JavaSettings.
15846 * @param [properties] Properties to set
15847 */
15848 constructor(properties?: google.api.IJavaSettings);
15849
15850 /** JavaSettings libraryPackage. */
15851 public libraryPackage: string;
15852
15853 /** JavaSettings serviceClassNames. */
15854 public serviceClassNames: { [k: string]: string };
15855
15856 /** JavaSettings common. */
15857 public common?: (google.api.ICommonLanguageSettings|null);
15858
15859 /**
15860 * Creates a new JavaSettings instance using the specified properties.
15861 * @param [properties] Properties to set
15862 * @returns JavaSettings instance
15863 */
15864 public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings;
15865
15866 /**
15867 * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
15868 * @param message JavaSettings message or plain object to encode
15869 * @param [writer] Writer to encode to
15870 * @returns Writer
15871 */
15872 public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
15873
15874 /**
15875 * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
15876 * @param message JavaSettings message or plain object to encode
15877 * @param [writer] Writer to encode to
15878 * @returns Writer
15879 */
15880 public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
15881
15882 /**
15883 * Decodes a JavaSettings message from the specified reader or buffer.
15884 * @param reader Reader or buffer to decode from
15885 * @param [length] Message length if known beforehand
15886 * @returns JavaSettings
15887 * @throws {Error} If the payload is not a reader or valid buffer
15888 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15889 */
15890 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings;
15891
15892 /**
15893 * Decodes a JavaSettings message from the specified reader or buffer, length delimited.
15894 * @param reader Reader or buffer to decode from
15895 * @returns JavaSettings
15896 * @throws {Error} If the payload is not a reader or valid buffer
15897 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15898 */
15899 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings;
15900
15901 /**
15902 * Verifies a JavaSettings message.
15903 * @param message Plain object to verify
15904 * @returns `null` if valid, otherwise the reason why it is not
15905 */
15906 public static verify(message: { [k: string]: any }): (string|null);
15907
15908 /**
15909 * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types.
15910 * @param object Plain object
15911 * @returns JavaSettings
15912 */
15913 public static fromObject(object: { [k: string]: any }): google.api.JavaSettings;
15914
15915 /**
15916 * Creates a plain object from a JavaSettings message. Also converts values to other types if specified.
15917 * @param message JavaSettings
15918 * @param [options] Conversion options
15919 * @returns Plain object
15920 */
15921 public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
15922
15923 /**
15924 * Converts this JavaSettings to JSON.
15925 * @returns JSON object
15926 */
15927 public toJSON(): { [k: string]: any };
15928
15929 /**
15930 * Gets the default type url for JavaSettings
15931 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
15932 * @returns The default type url
15933 */
15934 public static getTypeUrl(typeUrlPrefix?: string): string;
15935 }
15936
15937 /** Properties of a CppSettings. */
15938 interface ICppSettings {
15939
15940 /** CppSettings common */
15941 common?: (google.api.ICommonLanguageSettings|null);
15942 }
15943
15944 /** Represents a CppSettings. */
15945 class CppSettings implements ICppSettings {
15946
15947 /**
15948 * Constructs a new CppSettings.
15949 * @param [properties] Properties to set
15950 */
15951 constructor(properties?: google.api.ICppSettings);
15952
15953 /** CppSettings common. */
15954 public common?: (google.api.ICommonLanguageSettings|null);
15955
15956 /**
15957 * Creates a new CppSettings instance using the specified properties.
15958 * @param [properties] Properties to set
15959 * @returns CppSettings instance
15960 */
15961 public static create(properties?: google.api.ICppSettings): google.api.CppSettings;
15962
15963 /**
15964 * Encodes the specified CppSettings message. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
15965 * @param message CppSettings message or plain object to encode
15966 * @param [writer] Writer to encode to
15967 * @returns Writer
15968 */
15969 public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
15970
15971 /**
15972 * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
15973 * @param message CppSettings message or plain object to encode
15974 * @param [writer] Writer to encode to
15975 * @returns Writer
15976 */
15977 public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
15978
15979 /**
15980 * Decodes a CppSettings message from the specified reader or buffer.
15981 * @param reader Reader or buffer to decode from
15982 * @param [length] Message length if known beforehand
15983 * @returns CppSettings
15984 * @throws {Error} If the payload is not a reader or valid buffer
15985 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15986 */
15987 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings;
15988
15989 /**
15990 * Decodes a CppSettings message from the specified reader or buffer, length delimited.
15991 * @param reader Reader or buffer to decode from
15992 * @returns CppSettings
15993 * @throws {Error} If the payload is not a reader or valid buffer
15994 * @throws {$protobuf.util.ProtocolError} If required fields are missing
15995 */
15996 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings;
15997
15998 /**
15999 * Verifies a CppSettings message.
16000 * @param message Plain object to verify
16001 * @returns `null` if valid, otherwise the reason why it is not
16002 */
16003 public static verify(message: { [k: string]: any }): (string|null);
16004
16005 /**
16006 * Creates a CppSettings message from a plain object. Also converts values to their respective internal types.
16007 * @param object Plain object
16008 * @returns CppSettings
16009 */
16010 public static fromObject(object: { [k: string]: any }): google.api.CppSettings;
16011
16012 /**
16013 * Creates a plain object from a CppSettings message. Also converts values to other types if specified.
16014 * @param message CppSettings
16015 * @param [options] Conversion options
16016 * @returns Plain object
16017 */
16018 public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
16019
16020 /**
16021 * Converts this CppSettings to JSON.
16022 * @returns JSON object
16023 */
16024 public toJSON(): { [k: string]: any };
16025
16026 /**
16027 * Gets the default type url for CppSettings
16028 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16029 * @returns The default type url
16030 */
16031 public static getTypeUrl(typeUrlPrefix?: string): string;
16032 }
16033
16034 /** Properties of a PhpSettings. */
16035 interface IPhpSettings {
16036
16037 /** PhpSettings common */
16038 common?: (google.api.ICommonLanguageSettings|null);
16039 }
16040
16041 /** Represents a PhpSettings. */
16042 class PhpSettings implements IPhpSettings {
16043
16044 /**
16045 * Constructs a new PhpSettings.
16046 * @param [properties] Properties to set
16047 */
16048 constructor(properties?: google.api.IPhpSettings);
16049
16050 /** PhpSettings common. */
16051 public common?: (google.api.ICommonLanguageSettings|null);
16052
16053 /**
16054 * Creates a new PhpSettings instance using the specified properties.
16055 * @param [properties] Properties to set
16056 * @returns PhpSettings instance
16057 */
16058 public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings;
16059
16060 /**
16061 * Encodes the specified PhpSettings message. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
16062 * @param message PhpSettings message or plain object to encode
16063 * @param [writer] Writer to encode to
16064 * @returns Writer
16065 */
16066 public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16067
16068 /**
16069 * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
16070 * @param message PhpSettings message or plain object to encode
16071 * @param [writer] Writer to encode to
16072 * @returns Writer
16073 */
16074 public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16075
16076 /**
16077 * Decodes a PhpSettings message from the specified reader or buffer.
16078 * @param reader Reader or buffer to decode from
16079 * @param [length] Message length if known beforehand
16080 * @returns PhpSettings
16081 * @throws {Error} If the payload is not a reader or valid buffer
16082 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16083 */
16084 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings;
16085
16086 /**
16087 * Decodes a PhpSettings message from the specified reader or buffer, length delimited.
16088 * @param reader Reader or buffer to decode from
16089 * @returns PhpSettings
16090 * @throws {Error} If the payload is not a reader or valid buffer
16091 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16092 */
16093 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings;
16094
16095 /**
16096 * Verifies a PhpSettings message.
16097 * @param message Plain object to verify
16098 * @returns `null` if valid, otherwise the reason why it is not
16099 */
16100 public static verify(message: { [k: string]: any }): (string|null);
16101
16102 /**
16103 * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types.
16104 * @param object Plain object
16105 * @returns PhpSettings
16106 */
16107 public static fromObject(object: { [k: string]: any }): google.api.PhpSettings;
16108
16109 /**
16110 * Creates a plain object from a PhpSettings message. Also converts values to other types if specified.
16111 * @param message PhpSettings
16112 * @param [options] Conversion options
16113 * @returns Plain object
16114 */
16115 public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
16116
16117 /**
16118 * Converts this PhpSettings to JSON.
16119 * @returns JSON object
16120 */
16121 public toJSON(): { [k: string]: any };
16122
16123 /**
16124 * Gets the default type url for PhpSettings
16125 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16126 * @returns The default type url
16127 */
16128 public static getTypeUrl(typeUrlPrefix?: string): string;
16129 }
16130
16131 /** Properties of a PythonSettings. */
16132 interface IPythonSettings {
16133
16134 /** PythonSettings common */
16135 common?: (google.api.ICommonLanguageSettings|null);
16136 }
16137
16138 /** Represents a PythonSettings. */
16139 class PythonSettings implements IPythonSettings {
16140
16141 /**
16142 * Constructs a new PythonSettings.
16143 * @param [properties] Properties to set
16144 */
16145 constructor(properties?: google.api.IPythonSettings);
16146
16147 /** PythonSettings common. */
16148 public common?: (google.api.ICommonLanguageSettings|null);
16149
16150 /**
16151 * Creates a new PythonSettings instance using the specified properties.
16152 * @param [properties] Properties to set
16153 * @returns PythonSettings instance
16154 */
16155 public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings;
16156
16157 /**
16158 * Encodes the specified PythonSettings message. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
16159 * @param message PythonSettings message or plain object to encode
16160 * @param [writer] Writer to encode to
16161 * @returns Writer
16162 */
16163 public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16164
16165 /**
16166 * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
16167 * @param message PythonSettings message or plain object to encode
16168 * @param [writer] Writer to encode to
16169 * @returns Writer
16170 */
16171 public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16172
16173 /**
16174 * Decodes a PythonSettings message from the specified reader or buffer.
16175 * @param reader Reader or buffer to decode from
16176 * @param [length] Message length if known beforehand
16177 * @returns PythonSettings
16178 * @throws {Error} If the payload is not a reader or valid buffer
16179 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16180 */
16181 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings;
16182
16183 /**
16184 * Decodes a PythonSettings message from the specified reader or buffer, length delimited.
16185 * @param reader Reader or buffer to decode from
16186 * @returns PythonSettings
16187 * @throws {Error} If the payload is not a reader or valid buffer
16188 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16189 */
16190 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings;
16191
16192 /**
16193 * Verifies a PythonSettings message.
16194 * @param message Plain object to verify
16195 * @returns `null` if valid, otherwise the reason why it is not
16196 */
16197 public static verify(message: { [k: string]: any }): (string|null);
16198
16199 /**
16200 * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types.
16201 * @param object Plain object
16202 * @returns PythonSettings
16203 */
16204 public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
16205
16206 /**
16207 * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
16208 * @param message PythonSettings
16209 * @param [options] Conversion options
16210 * @returns Plain object
16211 */
16212 public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
16213
16214 /**
16215 * Converts this PythonSettings to JSON.
16216 * @returns JSON object
16217 */
16218 public toJSON(): { [k: string]: any };
16219
16220 /**
16221 * Gets the default type url for PythonSettings
16222 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16223 * @returns The default type url
16224 */
16225 public static getTypeUrl(typeUrlPrefix?: string): string;
16226 }
16227
16228 /** Properties of a NodeSettings. */
16229 interface INodeSettings {
16230
16231 /** NodeSettings common */
16232 common?: (google.api.ICommonLanguageSettings|null);
16233 }
16234
16235 /** Represents a NodeSettings. */
16236 class NodeSettings implements INodeSettings {
16237
16238 /**
16239 * Constructs a new NodeSettings.
16240 * @param [properties] Properties to set
16241 */
16242 constructor(properties?: google.api.INodeSettings);
16243
16244 /** NodeSettings common. */
16245 public common?: (google.api.ICommonLanguageSettings|null);
16246
16247 /**
16248 * Creates a new NodeSettings instance using the specified properties.
16249 * @param [properties] Properties to set
16250 * @returns NodeSettings instance
16251 */
16252 public static create(properties?: google.api.INodeSettings): google.api.NodeSettings;
16253
16254 /**
16255 * Encodes the specified NodeSettings message. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
16256 * @param message NodeSettings message or plain object to encode
16257 * @param [writer] Writer to encode to
16258 * @returns Writer
16259 */
16260 public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16261
16262 /**
16263 * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
16264 * @param message NodeSettings message or plain object to encode
16265 * @param [writer] Writer to encode to
16266 * @returns Writer
16267 */
16268 public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16269
16270 /**
16271 * Decodes a NodeSettings message from the specified reader or buffer.
16272 * @param reader Reader or buffer to decode from
16273 * @param [length] Message length if known beforehand
16274 * @returns NodeSettings
16275 * @throws {Error} If the payload is not a reader or valid buffer
16276 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16277 */
16278 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings;
16279
16280 /**
16281 * Decodes a NodeSettings message from the specified reader or buffer, length delimited.
16282 * @param reader Reader or buffer to decode from
16283 * @returns NodeSettings
16284 * @throws {Error} If the payload is not a reader or valid buffer
16285 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16286 */
16287 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings;
16288
16289 /**
16290 * Verifies a NodeSettings message.
16291 * @param message Plain object to verify
16292 * @returns `null` if valid, otherwise the reason why it is not
16293 */
16294 public static verify(message: { [k: string]: any }): (string|null);
16295
16296 /**
16297 * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types.
16298 * @param object Plain object
16299 * @returns NodeSettings
16300 */
16301 public static fromObject(object: { [k: string]: any }): google.api.NodeSettings;
16302
16303 /**
16304 * Creates a plain object from a NodeSettings message. Also converts values to other types if specified.
16305 * @param message NodeSettings
16306 * @param [options] Conversion options
16307 * @returns Plain object
16308 */
16309 public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
16310
16311 /**
16312 * Converts this NodeSettings to JSON.
16313 * @returns JSON object
16314 */
16315 public toJSON(): { [k: string]: any };
16316
16317 /**
16318 * Gets the default type url for NodeSettings
16319 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16320 * @returns The default type url
16321 */
16322 public static getTypeUrl(typeUrlPrefix?: string): string;
16323 }
16324
16325 /** Properties of a DotnetSettings. */
16326 interface IDotnetSettings {
16327
16328 /** DotnetSettings common */
16329 common?: (google.api.ICommonLanguageSettings|null);
16330
16331 /** DotnetSettings renamedServices */
16332 renamedServices?: ({ [k: string]: string }|null);
16333
16334 /** DotnetSettings renamedResources */
16335 renamedResources?: ({ [k: string]: string }|null);
16336
16337 /** DotnetSettings ignoredResources */
16338 ignoredResources?: (string[]|null);
16339
16340 /** DotnetSettings forcedNamespaceAliases */
16341 forcedNamespaceAliases?: (string[]|null);
16342
16343 /** DotnetSettings handwrittenSignatures */
16344 handwrittenSignatures?: (string[]|null);
16345 }
16346
16347 /** Represents a DotnetSettings. */
16348 class DotnetSettings implements IDotnetSettings {
16349
16350 /**
16351 * Constructs a new DotnetSettings.
16352 * @param [properties] Properties to set
16353 */
16354 constructor(properties?: google.api.IDotnetSettings);
16355
16356 /** DotnetSettings common. */
16357 public common?: (google.api.ICommonLanguageSettings|null);
16358
16359 /** DotnetSettings renamedServices. */
16360 public renamedServices: { [k: string]: string };
16361
16362 /** DotnetSettings renamedResources. */
16363 public renamedResources: { [k: string]: string };
16364
16365 /** DotnetSettings ignoredResources. */
16366 public ignoredResources: string[];
16367
16368 /** DotnetSettings forcedNamespaceAliases. */
16369 public forcedNamespaceAliases: string[];
16370
16371 /** DotnetSettings handwrittenSignatures. */
16372 public handwrittenSignatures: string[];
16373
16374 /**
16375 * Creates a new DotnetSettings instance using the specified properties.
16376 * @param [properties] Properties to set
16377 * @returns DotnetSettings instance
16378 */
16379 public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings;
16380
16381 /**
16382 * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
16383 * @param message DotnetSettings message or plain object to encode
16384 * @param [writer] Writer to encode to
16385 * @returns Writer
16386 */
16387 public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16388
16389 /**
16390 * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
16391 * @param message DotnetSettings message or plain object to encode
16392 * @param [writer] Writer to encode to
16393 * @returns Writer
16394 */
16395 public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16396
16397 /**
16398 * Decodes a DotnetSettings message from the specified reader or buffer.
16399 * @param reader Reader or buffer to decode from
16400 * @param [length] Message length if known beforehand
16401 * @returns DotnetSettings
16402 * @throws {Error} If the payload is not a reader or valid buffer
16403 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16404 */
16405 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings;
16406
16407 /**
16408 * Decodes a DotnetSettings message from the specified reader or buffer, length delimited.
16409 * @param reader Reader or buffer to decode from
16410 * @returns DotnetSettings
16411 * @throws {Error} If the payload is not a reader or valid buffer
16412 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16413 */
16414 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings;
16415
16416 /**
16417 * Verifies a DotnetSettings message.
16418 * @param message Plain object to verify
16419 * @returns `null` if valid, otherwise the reason why it is not
16420 */
16421 public static verify(message: { [k: string]: any }): (string|null);
16422
16423 /**
16424 * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
16425 * @param object Plain object
16426 * @returns DotnetSettings
16427 */
16428 public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings;
16429
16430 /**
16431 * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified.
16432 * @param message DotnetSettings
16433 * @param [options] Conversion options
16434 * @returns Plain object
16435 */
16436 public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
16437
16438 /**
16439 * Converts this DotnetSettings to JSON.
16440 * @returns JSON object
16441 */
16442 public toJSON(): { [k: string]: any };
16443
16444 /**
16445 * Gets the default type url for DotnetSettings
16446 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16447 * @returns The default type url
16448 */
16449 public static getTypeUrl(typeUrlPrefix?: string): string;
16450 }
16451
16452 /** Properties of a RubySettings. */
16453 interface IRubySettings {
16454
16455 /** RubySettings common */
16456 common?: (google.api.ICommonLanguageSettings|null);
16457 }
16458
16459 /** Represents a RubySettings. */
16460 class RubySettings implements IRubySettings {
16461
16462 /**
16463 * Constructs a new RubySettings.
16464 * @param [properties] Properties to set
16465 */
16466 constructor(properties?: google.api.IRubySettings);
16467
16468 /** RubySettings common. */
16469 public common?: (google.api.ICommonLanguageSettings|null);
16470
16471 /**
16472 * Creates a new RubySettings instance using the specified properties.
16473 * @param [properties] Properties to set
16474 * @returns RubySettings instance
16475 */
16476 public static create(properties?: google.api.IRubySettings): google.api.RubySettings;
16477
16478 /**
16479 * Encodes the specified RubySettings message. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
16480 * @param message RubySettings message or plain object to encode
16481 * @param [writer] Writer to encode to
16482 * @returns Writer
16483 */
16484 public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
16485
16486 /**
16487 * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
16488 * @param message RubySettings message or plain object to encode
16489 * @param [writer] Writer to encode to
16490 * @returns Writer
16491 */
16492 public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
16493
16494 /**
16495 * Decodes a RubySettings message from the specified reader or buffer.
16496 * @param reader Reader or buffer to decode from
16497 * @param [length] Message length if known beforehand
16498 * @returns RubySettings
16499 * @throws {Error} If the payload is not a reader or valid buffer
16500 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16501 */
16502 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings;
16503
16504 /**
16505 * Decodes a RubySettings message from the specified reader or buffer, length delimited.
16506 * @param reader Reader or buffer to decode from
16507 * @returns RubySettings
16508 * @throws {Error} If the payload is not a reader or valid buffer
16509 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16510 */
16511 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings;
16512
16513 /**
16514 * Verifies a RubySettings message.
16515 * @param message Plain object to verify
16516 * @returns `null` if valid, otherwise the reason why it is not
16517 */
16518 public static verify(message: { [k: string]: any }): (string|null);
16519
16520 /**
16521 * Creates a RubySettings message from a plain object. Also converts values to their respective internal types.
16522 * @param object Plain object
16523 * @returns RubySettings
16524 */
16525 public static fromObject(object: { [k: string]: any }): google.api.RubySettings;
16526
16527 /**
16528 * Creates a plain object from a RubySettings message. Also converts values to other types if specified.
16529 * @param message RubySettings
16530 * @param [options] Conversion options
16531 * @returns Plain object
16532 */
16533 public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
16534
16535 /**
16536 * Converts this RubySettings to JSON.
16537 * @returns JSON object
16538 */
16539 public toJSON(): { [k: string]: any };
16540
16541 /**
16542 * Gets the default type url for RubySettings
16543 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16544 * @returns The default type url
16545 */
16546 public static getTypeUrl(typeUrlPrefix?: string): string;
16547 }
16548
16549 /** Properties of a GoSettings. */
16550 interface IGoSettings {
16551
16552 /** GoSettings common */
16553 common?: (google.api.ICommonLanguageSettings|null);
16554 }
16555
16556 /** Represents a GoSettings. */
16557 class GoSettings implements IGoSettings {
16558
16559 /**
16560 * Constructs a new GoSettings.
16561 * @param [properties] Properties to set
16562 */
16563 constructor(properties?: google.api.IGoSettings);
16564
16565 /** GoSettings common. */
16566 public common?: (google.api.ICommonLanguageSettings|null);
16567
16568 /**
16569 * Creates a new GoSettings instance using the specified properties.
16570 * @param [properties] Properties to set
16571 * @returns GoSettings instance
16572 */
16573 public static create(properties?: google.api.IGoSettings): google.api.GoSettings;
16574
16575 /**
16576 * Encodes the specified GoSettings message. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
16577 * @param message GoSettings message or plain object to encode
16578 * @param [writer] Writer to encode to
16579 * @returns Writer
16580 */
16581 public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16582
16583 /**
16584 * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
16585 * @param message GoSettings message or plain object to encode
16586 * @param [writer] Writer to encode to
16587 * @returns Writer
16588 */
16589 public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16590
16591 /**
16592 * Decodes a GoSettings message from the specified reader or buffer.
16593 * @param reader Reader or buffer to decode from
16594 * @param [length] Message length if known beforehand
16595 * @returns GoSettings
16596 * @throws {Error} If the payload is not a reader or valid buffer
16597 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16598 */
16599 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings;
16600
16601 /**
16602 * Decodes a GoSettings message from the specified reader or buffer, length delimited.
16603 * @param reader Reader or buffer to decode from
16604 * @returns GoSettings
16605 * @throws {Error} If the payload is not a reader or valid buffer
16606 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16607 */
16608 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings;
16609
16610 /**
16611 * Verifies a GoSettings message.
16612 * @param message Plain object to verify
16613 * @returns `null` if valid, otherwise the reason why it is not
16614 */
16615 public static verify(message: { [k: string]: any }): (string|null);
16616
16617 /**
16618 * Creates a GoSettings message from a plain object. Also converts values to their respective internal types.
16619 * @param object Plain object
16620 * @returns GoSettings
16621 */
16622 public static fromObject(object: { [k: string]: any }): google.api.GoSettings;
16623
16624 /**
16625 * Creates a plain object from a GoSettings message. Also converts values to other types if specified.
16626 * @param message GoSettings
16627 * @param [options] Conversion options
16628 * @returns Plain object
16629 */
16630 public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
16631
16632 /**
16633 * Converts this GoSettings to JSON.
16634 * @returns JSON object
16635 */
16636 public toJSON(): { [k: string]: any };
16637
16638 /**
16639 * Gets the default type url for GoSettings
16640 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16641 * @returns The default type url
16642 */
16643 public static getTypeUrl(typeUrlPrefix?: string): string;
16644 }
16645
16646 /** Properties of a MethodSettings. */
16647 interface IMethodSettings {
16648
16649 /** MethodSettings selector */
16650 selector?: (string|null);
16651
16652 /** MethodSettings longRunning */
16653 longRunning?: (google.api.MethodSettings.ILongRunning|null);
16654
16655 /** MethodSettings autoPopulatedFields */
16656 autoPopulatedFields?: (string[]|null);
16657 }
16658
16659 /** Represents a MethodSettings. */
16660 class MethodSettings implements IMethodSettings {
16661
16662 /**
16663 * Constructs a new MethodSettings.
16664 * @param [properties] Properties to set
16665 */
16666 constructor(properties?: google.api.IMethodSettings);
16667
16668 /** MethodSettings selector. */
16669 public selector: string;
16670
16671 /** MethodSettings longRunning. */
16672 public longRunning?: (google.api.MethodSettings.ILongRunning|null);
16673
16674 /** MethodSettings autoPopulatedFields. */
16675 public autoPopulatedFields: string[];
16676
16677 /**
16678 * Creates a new MethodSettings instance using the specified properties.
16679 * @param [properties] Properties to set
16680 * @returns MethodSettings instance
16681 */
16682 public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings;
16683
16684 /**
16685 * Encodes the specified MethodSettings message. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
16686 * @param message MethodSettings message or plain object to encode
16687 * @param [writer] Writer to encode to
16688 * @returns Writer
16689 */
16690 public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16691
16692 /**
16693 * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
16694 * @param message MethodSettings message or plain object to encode
16695 * @param [writer] Writer to encode to
16696 * @returns Writer
16697 */
16698 public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
16699
16700 /**
16701 * Decodes a MethodSettings message from the specified reader or buffer.
16702 * @param reader Reader or buffer to decode from
16703 * @param [length] Message length if known beforehand
16704 * @returns MethodSettings
16705 * @throws {Error} If the payload is not a reader or valid buffer
16706 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16707 */
16708 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings;
16709
16710 /**
16711 * Decodes a MethodSettings message from the specified reader or buffer, length delimited.
16712 * @param reader Reader or buffer to decode from
16713 * @returns MethodSettings
16714 * @throws {Error} If the payload is not a reader or valid buffer
16715 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16716 */
16717 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings;
16718
16719 /**
16720 * Verifies a MethodSettings message.
16721 * @param message Plain object to verify
16722 * @returns `null` if valid, otherwise the reason why it is not
16723 */
16724 public static verify(message: { [k: string]: any }): (string|null);
16725
16726 /**
16727 * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types.
16728 * @param object Plain object
16729 * @returns MethodSettings
16730 */
16731 public static fromObject(object: { [k: string]: any }): google.api.MethodSettings;
16732
16733 /**
16734 * Creates a plain object from a MethodSettings message. Also converts values to other types if specified.
16735 * @param message MethodSettings
16736 * @param [options] Conversion options
16737 * @returns Plain object
16738 */
16739 public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
16740
16741 /**
16742 * Converts this MethodSettings to JSON.
16743 * @returns JSON object
16744 */
16745 public toJSON(): { [k: string]: any };
16746
16747 /**
16748 * Gets the default type url for MethodSettings
16749 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16750 * @returns The default type url
16751 */
16752 public static getTypeUrl(typeUrlPrefix?: string): string;
16753 }
16754
16755 namespace MethodSettings {
16756
16757 /** Properties of a LongRunning. */
16758 interface ILongRunning {
16759
16760 /** LongRunning initialPollDelay */
16761 initialPollDelay?: (google.protobuf.IDuration|null);
16762
16763 /** LongRunning pollDelayMultiplier */
16764 pollDelayMultiplier?: (number|null);
16765
16766 /** LongRunning maxPollDelay */
16767 maxPollDelay?: (google.protobuf.IDuration|null);
16768
16769 /** LongRunning totalPollTimeout */
16770 totalPollTimeout?: (google.protobuf.IDuration|null);
16771 }
16772
16773 /** Represents a LongRunning. */
16774 class LongRunning implements ILongRunning {
16775
16776 /**
16777 * Constructs a new LongRunning.
16778 * @param [properties] Properties to set
16779 */
16780 constructor(properties?: google.api.MethodSettings.ILongRunning);
16781
16782 /** LongRunning initialPollDelay. */
16783 public initialPollDelay?: (google.protobuf.IDuration|null);
16784
16785 /** LongRunning pollDelayMultiplier. */
16786 public pollDelayMultiplier: number;
16787
16788 /** LongRunning maxPollDelay. */
16789 public maxPollDelay?: (google.protobuf.IDuration|null);
16790
16791 /** LongRunning totalPollTimeout. */
16792 public totalPollTimeout?: (google.protobuf.IDuration|null);
16793
16794 /**
16795 * Creates a new LongRunning instance using the specified properties.
16796 * @param [properties] Properties to set
16797 * @returns LongRunning instance
16798 */
16799 public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning;
16800
16801 /**
16802 * Encodes the specified LongRunning message. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
16803 * @param message LongRunning message or plain object to encode
16804 * @param [writer] Writer to encode to
16805 * @returns Writer
16806 */
16807 public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
16808
16809 /**
16810 * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
16811 * @param message LongRunning message or plain object to encode
16812 * @param [writer] Writer to encode to
16813 * @returns Writer
16814 */
16815 public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
16816
16817 /**
16818 * Decodes a LongRunning message from the specified reader or buffer.
16819 * @param reader Reader or buffer to decode from
16820 * @param [length] Message length if known beforehand
16821 * @returns LongRunning
16822 * @throws {Error} If the payload is not a reader or valid buffer
16823 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16824 */
16825 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning;
16826
16827 /**
16828 * Decodes a LongRunning message from the specified reader or buffer, length delimited.
16829 * @param reader Reader or buffer to decode from
16830 * @returns LongRunning
16831 * @throws {Error} If the payload is not a reader or valid buffer
16832 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16833 */
16834 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning;
16835
16836 /**
16837 * Verifies a LongRunning message.
16838 * @param message Plain object to verify
16839 * @returns `null` if valid, otherwise the reason why it is not
16840 */
16841 public static verify(message: { [k: string]: any }): (string|null);
16842
16843 /**
16844 * Creates a LongRunning message from a plain object. Also converts values to their respective internal types.
16845 * @param object Plain object
16846 * @returns LongRunning
16847 */
16848 public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning;
16849
16850 /**
16851 * Creates a plain object from a LongRunning message. Also converts values to other types if specified.
16852 * @param message LongRunning
16853 * @param [options] Conversion options
16854 * @returns Plain object
16855 */
16856 public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any };
16857
16858 /**
16859 * Converts this LongRunning to JSON.
16860 * @returns JSON object
16861 */
16862 public toJSON(): { [k: string]: any };
16863
16864 /**
16865 * Gets the default type url for LongRunning
16866 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
16867 * @returns The default type url
16868 */
16869 public static getTypeUrl(typeUrlPrefix?: string): string;
16870 }
16871 }
16872
16873 /** ClientLibraryOrganization enum. */
16874 enum ClientLibraryOrganization {
16875 CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
16876 CLOUD = 1,
16877 ADS = 2,
16878 PHOTOS = 3,
16879 STREET_VIEW = 4,
16880 SHOPPING = 5,
16881 GEO = 6,
16882 GENERATIVE_AI = 7
16883 }
16884
16885 /** ClientLibraryDestination enum. */
16886 enum ClientLibraryDestination {
16887 CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
16888 GITHUB = 10,
16889 PACKAGE_MANAGER = 20
16890 }
16891
16892 /** Properties of a Distribution. */
16893 interface IDistribution {
16894
16895 /** Distribution count */
16896 count?: (number|Long|string|null);
16897
16898 /** Distribution mean */
16899 mean?: (number|null);
16900
16901 /** Distribution sumOfSquaredDeviation */
16902 sumOfSquaredDeviation?: (number|null);
16903
16904 /** Distribution range */
16905 range?: (google.api.Distribution.IRange|null);
16906
16907 /** Distribution bucketOptions */
16908 bucketOptions?: (google.api.Distribution.IBucketOptions|null);
16909
16910 /** Distribution bucketCounts */
16911 bucketCounts?: ((number|Long|string)[]|null);
16912
16913 /** Distribution exemplars */
16914 exemplars?: (google.api.Distribution.IExemplar[]|null);
16915 }
16916
16917 /** Represents a Distribution. */
16918 class Distribution implements IDistribution {
16919
16920 /**
16921 * Constructs a new Distribution.
16922 * @param [properties] Properties to set
16923 */
16924 constructor(properties?: google.api.IDistribution);
16925
16926 /** Distribution count. */
16927 public count: (number|Long|string);
16928
16929 /** Distribution mean. */
16930 public mean: number;
16931
16932 /** Distribution sumOfSquaredDeviation. */
16933 public sumOfSquaredDeviation: number;
16934
16935 /** Distribution range. */
16936 public range?: (google.api.Distribution.IRange|null);
16937
16938 /** Distribution bucketOptions. */
16939 public bucketOptions?: (google.api.Distribution.IBucketOptions|null);
16940
16941 /** Distribution bucketCounts. */
16942 public bucketCounts: (number|Long|string)[];
16943
16944 /** Distribution exemplars. */
16945 public exemplars: google.api.Distribution.IExemplar[];
16946
16947 /**
16948 * Creates a new Distribution instance using the specified properties.
16949 * @param [properties] Properties to set
16950 * @returns Distribution instance
16951 */
16952 public static create(properties?: google.api.IDistribution): google.api.Distribution;
16953
16954 /**
16955 * Encodes the specified Distribution message. Does not implicitly {@link google.api.Distribution.verify|verify} messages.
16956 * @param message Distribution message or plain object to encode
16957 * @param [writer] Writer to encode to
16958 * @returns Writer
16959 */
16960 public static encode(message: google.api.IDistribution, writer?: $protobuf.Writer): $protobuf.Writer;
16961
16962 /**
16963 * Encodes the specified Distribution message, length delimited. Does not implicitly {@link google.api.Distribution.verify|verify} messages.
16964 * @param message Distribution message or plain object to encode
16965 * @param [writer] Writer to encode to
16966 * @returns Writer
16967 */
16968 public static encodeDelimited(message: google.api.IDistribution, writer?: $protobuf.Writer): $protobuf.Writer;
16969
16970 /**
16971 * Decodes a Distribution message from the specified reader or buffer.
16972 * @param reader Reader or buffer to decode from
16973 * @param [length] Message length if known beforehand
16974 * @returns Distribution
16975 * @throws {Error} If the payload is not a reader or valid buffer
16976 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16977 */
16978 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution;
16979
16980 /**
16981 * Decodes a Distribution message from the specified reader or buffer, length delimited.
16982 * @param reader Reader or buffer to decode from
16983 * @returns Distribution
16984 * @throws {Error} If the payload is not a reader or valid buffer
16985 * @throws {$protobuf.util.ProtocolError} If required fields are missing
16986 */
16987 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution;
16988
16989 /**
16990 * Verifies a Distribution message.
16991 * @param message Plain object to verify
16992 * @returns `null` if valid, otherwise the reason why it is not
16993 */
16994 public static verify(message: { [k: string]: any }): (string|null);
16995
16996 /**
16997 * Creates a Distribution message from a plain object. Also converts values to their respective internal types.
16998 * @param object Plain object
16999 * @returns Distribution
17000 */
17001 public static fromObject(object: { [k: string]: any }): google.api.Distribution;
17002
17003 /**
17004 * Creates a plain object from a Distribution message. Also converts values to other types if specified.
17005 * @param message Distribution
17006 * @param [options] Conversion options
17007 * @returns Plain object
17008 */
17009 public static toObject(message: google.api.Distribution, options?: $protobuf.IConversionOptions): { [k: string]: any };
17010
17011 /**
17012 * Converts this Distribution to JSON.
17013 * @returns JSON object
17014 */
17015 public toJSON(): { [k: string]: any };
17016
17017 /**
17018 * Gets the default type url for Distribution
17019 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17020 * @returns The default type url
17021 */
17022 public static getTypeUrl(typeUrlPrefix?: string): string;
17023 }
17024
17025 namespace Distribution {
17026
17027 /** Properties of a Range. */
17028 interface IRange {
17029
17030 /** Range min */
17031 min?: (number|null);
17032
17033 /** Range max */
17034 max?: (number|null);
17035 }
17036
17037 /** Represents a Range. */
17038 class Range implements IRange {
17039
17040 /**
17041 * Constructs a new Range.
17042 * @param [properties] Properties to set
17043 */
17044 constructor(properties?: google.api.Distribution.IRange);
17045
17046 /** Range min. */
17047 public min: number;
17048
17049 /** Range max. */
17050 public max: number;
17051
17052 /**
17053 * Creates a new Range instance using the specified properties.
17054 * @param [properties] Properties to set
17055 * @returns Range instance
17056 */
17057 public static create(properties?: google.api.Distribution.IRange): google.api.Distribution.Range;
17058
17059 /**
17060 * Encodes the specified Range message. Does not implicitly {@link google.api.Distribution.Range.verify|verify} messages.
17061 * @param message Range message or plain object to encode
17062 * @param [writer] Writer to encode to
17063 * @returns Writer
17064 */
17065 public static encode(message: google.api.Distribution.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
17066
17067 /**
17068 * Encodes the specified Range message, length delimited. Does not implicitly {@link google.api.Distribution.Range.verify|verify} messages.
17069 * @param message Range message or plain object to encode
17070 * @param [writer] Writer to encode to
17071 * @returns Writer
17072 */
17073 public static encodeDelimited(message: google.api.Distribution.IRange, writer?: $protobuf.Writer): $protobuf.Writer;
17074
17075 /**
17076 * Decodes a Range message from the specified reader or buffer.
17077 * @param reader Reader or buffer to decode from
17078 * @param [length] Message length if known beforehand
17079 * @returns Range
17080 * @throws {Error} If the payload is not a reader or valid buffer
17081 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17082 */
17083 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.Range;
17084
17085 /**
17086 * Decodes a Range message from the specified reader or buffer, length delimited.
17087 * @param reader Reader or buffer to decode from
17088 * @returns Range
17089 * @throws {Error} If the payload is not a reader or valid buffer
17090 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17091 */
17092 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.Range;
17093
17094 /**
17095 * Verifies a Range message.
17096 * @param message Plain object to verify
17097 * @returns `null` if valid, otherwise the reason why it is not
17098 */
17099 public static verify(message: { [k: string]: any }): (string|null);
17100
17101 /**
17102 * Creates a Range message from a plain object. Also converts values to their respective internal types.
17103 * @param object Plain object
17104 * @returns Range
17105 */
17106 public static fromObject(object: { [k: string]: any }): google.api.Distribution.Range;
17107
17108 /**
17109 * Creates a plain object from a Range message. Also converts values to other types if specified.
17110 * @param message Range
17111 * @param [options] Conversion options
17112 * @returns Plain object
17113 */
17114 public static toObject(message: google.api.Distribution.Range, options?: $protobuf.IConversionOptions): { [k: string]: any };
17115
17116 /**
17117 * Converts this Range to JSON.
17118 * @returns JSON object
17119 */
17120 public toJSON(): { [k: string]: any };
17121
17122 /**
17123 * Gets the default type url for Range
17124 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17125 * @returns The default type url
17126 */
17127 public static getTypeUrl(typeUrlPrefix?: string): string;
17128 }
17129
17130 /** Properties of a BucketOptions. */
17131 interface IBucketOptions {
17132
17133 /** BucketOptions linearBuckets */
17134 linearBuckets?: (google.api.Distribution.BucketOptions.ILinear|null);
17135
17136 /** BucketOptions exponentialBuckets */
17137 exponentialBuckets?: (google.api.Distribution.BucketOptions.IExponential|null);
17138
17139 /** BucketOptions explicitBuckets */
17140 explicitBuckets?: (google.api.Distribution.BucketOptions.IExplicit|null);
17141 }
17142
17143 /** Represents a BucketOptions. */
17144 class BucketOptions implements IBucketOptions {
17145
17146 /**
17147 * Constructs a new BucketOptions.
17148 * @param [properties] Properties to set
17149 */
17150 constructor(properties?: google.api.Distribution.IBucketOptions);
17151
17152 /** BucketOptions linearBuckets. */
17153 public linearBuckets?: (google.api.Distribution.BucketOptions.ILinear|null);
17154
17155 /** BucketOptions exponentialBuckets. */
17156 public exponentialBuckets?: (google.api.Distribution.BucketOptions.IExponential|null);
17157
17158 /** BucketOptions explicitBuckets. */
17159 public explicitBuckets?: (google.api.Distribution.BucketOptions.IExplicit|null);
17160
17161 /** BucketOptions options. */
17162 public options?: ("linearBuckets"|"exponentialBuckets"|"explicitBuckets");
17163
17164 /**
17165 * Creates a new BucketOptions instance using the specified properties.
17166 * @param [properties] Properties to set
17167 * @returns BucketOptions instance
17168 */
17169 public static create(properties?: google.api.Distribution.IBucketOptions): google.api.Distribution.BucketOptions;
17170
17171 /**
17172 * Encodes the specified BucketOptions message. Does not implicitly {@link google.api.Distribution.BucketOptions.verify|verify} messages.
17173 * @param message BucketOptions message or plain object to encode
17174 * @param [writer] Writer to encode to
17175 * @returns Writer
17176 */
17177 public static encode(message: google.api.Distribution.IBucketOptions, writer?: $protobuf.Writer): $protobuf.Writer;
17178
17179 /**
17180 * Encodes the specified BucketOptions message, length delimited. Does not implicitly {@link google.api.Distribution.BucketOptions.verify|verify} messages.
17181 * @param message BucketOptions message or plain object to encode
17182 * @param [writer] Writer to encode to
17183 * @returns Writer
17184 */
17185 public static encodeDelimited(message: google.api.Distribution.IBucketOptions, writer?: $protobuf.Writer): $protobuf.Writer;
17186
17187 /**
17188 * Decodes a BucketOptions message from the specified reader or buffer.
17189 * @param reader Reader or buffer to decode from
17190 * @param [length] Message length if known beforehand
17191 * @returns BucketOptions
17192 * @throws {Error} If the payload is not a reader or valid buffer
17193 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17194 */
17195 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.BucketOptions;
17196
17197 /**
17198 * Decodes a BucketOptions message from the specified reader or buffer, length delimited.
17199 * @param reader Reader or buffer to decode from
17200 * @returns BucketOptions
17201 * @throws {Error} If the payload is not a reader or valid buffer
17202 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17203 */
17204 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.BucketOptions;
17205
17206 /**
17207 * Verifies a BucketOptions message.
17208 * @param message Plain object to verify
17209 * @returns `null` if valid, otherwise the reason why it is not
17210 */
17211 public static verify(message: { [k: string]: any }): (string|null);
17212
17213 /**
17214 * Creates a BucketOptions message from a plain object. Also converts values to their respective internal types.
17215 * @param object Plain object
17216 * @returns BucketOptions
17217 */
17218 public static fromObject(object: { [k: string]: any }): google.api.Distribution.BucketOptions;
17219
17220 /**
17221 * Creates a plain object from a BucketOptions message. Also converts values to other types if specified.
17222 * @param message BucketOptions
17223 * @param [options] Conversion options
17224 * @returns Plain object
17225 */
17226 public static toObject(message: google.api.Distribution.BucketOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
17227
17228 /**
17229 * Converts this BucketOptions to JSON.
17230 * @returns JSON object
17231 */
17232 public toJSON(): { [k: string]: any };
17233
17234 /**
17235 * Gets the default type url for BucketOptions
17236 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17237 * @returns The default type url
17238 */
17239 public static getTypeUrl(typeUrlPrefix?: string): string;
17240 }
17241
17242 namespace BucketOptions {
17243
17244 /** Properties of a Linear. */
17245 interface ILinear {
17246
17247 /** Linear numFiniteBuckets */
17248 numFiniteBuckets?: (number|null);
17249
17250 /** Linear width */
17251 width?: (number|null);
17252
17253 /** Linear offset */
17254 offset?: (number|null);
17255 }
17256
17257 /** Represents a Linear. */
17258 class Linear implements ILinear {
17259
17260 /**
17261 * Constructs a new Linear.
17262 * @param [properties] Properties to set
17263 */
17264 constructor(properties?: google.api.Distribution.BucketOptions.ILinear);
17265
17266 /** Linear numFiniteBuckets. */
17267 public numFiniteBuckets: number;
17268
17269 /** Linear width. */
17270 public width: number;
17271
17272 /** Linear offset. */
17273 public offset: number;
17274
17275 /**
17276 * Creates a new Linear instance using the specified properties.
17277 * @param [properties] Properties to set
17278 * @returns Linear instance
17279 */
17280 public static create(properties?: google.api.Distribution.BucketOptions.ILinear): google.api.Distribution.BucketOptions.Linear;
17281
17282 /**
17283 * Encodes the specified Linear message. Does not implicitly {@link google.api.Distribution.BucketOptions.Linear.verify|verify} messages.
17284 * @param message Linear message or plain object to encode
17285 * @param [writer] Writer to encode to
17286 * @returns Writer
17287 */
17288 public static encode(message: google.api.Distribution.BucketOptions.ILinear, writer?: $protobuf.Writer): $protobuf.Writer;
17289
17290 /**
17291 * Encodes the specified Linear message, length delimited. Does not implicitly {@link google.api.Distribution.BucketOptions.Linear.verify|verify} messages.
17292 * @param message Linear message or plain object to encode
17293 * @param [writer] Writer to encode to
17294 * @returns Writer
17295 */
17296 public static encodeDelimited(message: google.api.Distribution.BucketOptions.ILinear, writer?: $protobuf.Writer): $protobuf.Writer;
17297
17298 /**
17299 * Decodes a Linear message from the specified reader or buffer.
17300 * @param reader Reader or buffer to decode from
17301 * @param [length] Message length if known beforehand
17302 * @returns Linear
17303 * @throws {Error} If the payload is not a reader or valid buffer
17304 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17305 */
17306 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.BucketOptions.Linear;
17307
17308 /**
17309 * Decodes a Linear message from the specified reader or buffer, length delimited.
17310 * @param reader Reader or buffer to decode from
17311 * @returns Linear
17312 * @throws {Error} If the payload is not a reader or valid buffer
17313 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17314 */
17315 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.BucketOptions.Linear;
17316
17317 /**
17318 * Verifies a Linear message.
17319 * @param message Plain object to verify
17320 * @returns `null` if valid, otherwise the reason why it is not
17321 */
17322 public static verify(message: { [k: string]: any }): (string|null);
17323
17324 /**
17325 * Creates a Linear message from a plain object. Also converts values to their respective internal types.
17326 * @param object Plain object
17327 * @returns Linear
17328 */
17329 public static fromObject(object: { [k: string]: any }): google.api.Distribution.BucketOptions.Linear;
17330
17331 /**
17332 * Creates a plain object from a Linear message. Also converts values to other types if specified.
17333 * @param message Linear
17334 * @param [options] Conversion options
17335 * @returns Plain object
17336 */
17337 public static toObject(message: google.api.Distribution.BucketOptions.Linear, options?: $protobuf.IConversionOptions): { [k: string]: any };
17338
17339 /**
17340 * Converts this Linear to JSON.
17341 * @returns JSON object
17342 */
17343 public toJSON(): { [k: string]: any };
17344
17345 /**
17346 * Gets the default type url for Linear
17347 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17348 * @returns The default type url
17349 */
17350 public static getTypeUrl(typeUrlPrefix?: string): string;
17351 }
17352
17353 /** Properties of an Exponential. */
17354 interface IExponential {
17355
17356 /** Exponential numFiniteBuckets */
17357 numFiniteBuckets?: (number|null);
17358
17359 /** Exponential growthFactor */
17360 growthFactor?: (number|null);
17361
17362 /** Exponential scale */
17363 scale?: (number|null);
17364 }
17365
17366 /** Represents an Exponential. */
17367 class Exponential implements IExponential {
17368
17369 /**
17370 * Constructs a new Exponential.
17371 * @param [properties] Properties to set
17372 */
17373 constructor(properties?: google.api.Distribution.BucketOptions.IExponential);
17374
17375 /** Exponential numFiniteBuckets. */
17376 public numFiniteBuckets: number;
17377
17378 /** Exponential growthFactor. */
17379 public growthFactor: number;
17380
17381 /** Exponential scale. */
17382 public scale: number;
17383
17384 /**
17385 * Creates a new Exponential instance using the specified properties.
17386 * @param [properties] Properties to set
17387 * @returns Exponential instance
17388 */
17389 public static create(properties?: google.api.Distribution.BucketOptions.IExponential): google.api.Distribution.BucketOptions.Exponential;
17390
17391 /**
17392 * Encodes the specified Exponential message. Does not implicitly {@link google.api.Distribution.BucketOptions.Exponential.verify|verify} messages.
17393 * @param message Exponential message or plain object to encode
17394 * @param [writer] Writer to encode to
17395 * @returns Writer
17396 */
17397 public static encode(message: google.api.Distribution.BucketOptions.IExponential, writer?: $protobuf.Writer): $protobuf.Writer;
17398
17399 /**
17400 * Encodes the specified Exponential message, length delimited. Does not implicitly {@link google.api.Distribution.BucketOptions.Exponential.verify|verify} messages.
17401 * @param message Exponential message or plain object to encode
17402 * @param [writer] Writer to encode to
17403 * @returns Writer
17404 */
17405 public static encodeDelimited(message: google.api.Distribution.BucketOptions.IExponential, writer?: $protobuf.Writer): $protobuf.Writer;
17406
17407 /**
17408 * Decodes an Exponential message from the specified reader or buffer.
17409 * @param reader Reader or buffer to decode from
17410 * @param [length] Message length if known beforehand
17411 * @returns Exponential
17412 * @throws {Error} If the payload is not a reader or valid buffer
17413 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17414 */
17415 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.BucketOptions.Exponential;
17416
17417 /**
17418 * Decodes an Exponential message from the specified reader or buffer, length delimited.
17419 * @param reader Reader or buffer to decode from
17420 * @returns Exponential
17421 * @throws {Error} If the payload is not a reader or valid buffer
17422 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17423 */
17424 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.BucketOptions.Exponential;
17425
17426 /**
17427 * Verifies an Exponential message.
17428 * @param message Plain object to verify
17429 * @returns `null` if valid, otherwise the reason why it is not
17430 */
17431 public static verify(message: { [k: string]: any }): (string|null);
17432
17433 /**
17434 * Creates an Exponential message from a plain object. Also converts values to their respective internal types.
17435 * @param object Plain object
17436 * @returns Exponential
17437 */
17438 public static fromObject(object: { [k: string]: any }): google.api.Distribution.BucketOptions.Exponential;
17439
17440 /**
17441 * Creates a plain object from an Exponential message. Also converts values to other types if specified.
17442 * @param message Exponential
17443 * @param [options] Conversion options
17444 * @returns Plain object
17445 */
17446 public static toObject(message: google.api.Distribution.BucketOptions.Exponential, options?: $protobuf.IConversionOptions): { [k: string]: any };
17447
17448 /**
17449 * Converts this Exponential to JSON.
17450 * @returns JSON object
17451 */
17452 public toJSON(): { [k: string]: any };
17453
17454 /**
17455 * Gets the default type url for Exponential
17456 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17457 * @returns The default type url
17458 */
17459 public static getTypeUrl(typeUrlPrefix?: string): string;
17460 }
17461
17462 /** Properties of an Explicit. */
17463 interface IExplicit {
17464
17465 /** Explicit bounds */
17466 bounds?: (number[]|null);
17467 }
17468
17469 /** Represents an Explicit. */
17470 class Explicit implements IExplicit {
17471
17472 /**
17473 * Constructs a new Explicit.
17474 * @param [properties] Properties to set
17475 */
17476 constructor(properties?: google.api.Distribution.BucketOptions.IExplicit);
17477
17478 /** Explicit bounds. */
17479 public bounds: number[];
17480
17481 /**
17482 * Creates a new Explicit instance using the specified properties.
17483 * @param [properties] Properties to set
17484 * @returns Explicit instance
17485 */
17486 public static create(properties?: google.api.Distribution.BucketOptions.IExplicit): google.api.Distribution.BucketOptions.Explicit;
17487
17488 /**
17489 * Encodes the specified Explicit message. Does not implicitly {@link google.api.Distribution.BucketOptions.Explicit.verify|verify} messages.
17490 * @param message Explicit message or plain object to encode
17491 * @param [writer] Writer to encode to
17492 * @returns Writer
17493 */
17494 public static encode(message: google.api.Distribution.BucketOptions.IExplicit, writer?: $protobuf.Writer): $protobuf.Writer;
17495
17496 /**
17497 * Encodes the specified Explicit message, length delimited. Does not implicitly {@link google.api.Distribution.BucketOptions.Explicit.verify|verify} messages.
17498 * @param message Explicit message or plain object to encode
17499 * @param [writer] Writer to encode to
17500 * @returns Writer
17501 */
17502 public static encodeDelimited(message: google.api.Distribution.BucketOptions.IExplicit, writer?: $protobuf.Writer): $protobuf.Writer;
17503
17504 /**
17505 * Decodes an Explicit message from the specified reader or buffer.
17506 * @param reader Reader or buffer to decode from
17507 * @param [length] Message length if known beforehand
17508 * @returns Explicit
17509 * @throws {Error} If the payload is not a reader or valid buffer
17510 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17511 */
17512 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.BucketOptions.Explicit;
17513
17514 /**
17515 * Decodes an Explicit message from the specified reader or buffer, length delimited.
17516 * @param reader Reader or buffer to decode from
17517 * @returns Explicit
17518 * @throws {Error} If the payload is not a reader or valid buffer
17519 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17520 */
17521 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.BucketOptions.Explicit;
17522
17523 /**
17524 * Verifies an Explicit message.
17525 * @param message Plain object to verify
17526 * @returns `null` if valid, otherwise the reason why it is not
17527 */
17528 public static verify(message: { [k: string]: any }): (string|null);
17529
17530 /**
17531 * Creates an Explicit message from a plain object. Also converts values to their respective internal types.
17532 * @param object Plain object
17533 * @returns Explicit
17534 */
17535 public static fromObject(object: { [k: string]: any }): google.api.Distribution.BucketOptions.Explicit;
17536
17537 /**
17538 * Creates a plain object from an Explicit message. Also converts values to other types if specified.
17539 * @param message Explicit
17540 * @param [options] Conversion options
17541 * @returns Plain object
17542 */
17543 public static toObject(message: google.api.Distribution.BucketOptions.Explicit, options?: $protobuf.IConversionOptions): { [k: string]: any };
17544
17545 /**
17546 * Converts this Explicit to JSON.
17547 * @returns JSON object
17548 */
17549 public toJSON(): { [k: string]: any };
17550
17551 /**
17552 * Gets the default type url for Explicit
17553 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17554 * @returns The default type url
17555 */
17556 public static getTypeUrl(typeUrlPrefix?: string): string;
17557 }
17558 }
17559
17560 /** Properties of an Exemplar. */
17561 interface IExemplar {
17562
17563 /** Exemplar value */
17564 value?: (number|null);
17565
17566 /** Exemplar timestamp */
17567 timestamp?: (google.protobuf.ITimestamp|null);
17568
17569 /** Exemplar attachments */
17570 attachments?: (google.protobuf.IAny[]|null);
17571 }
17572
17573 /** Represents an Exemplar. */
17574 class Exemplar implements IExemplar {
17575
17576 /**
17577 * Constructs a new Exemplar.
17578 * @param [properties] Properties to set
17579 */
17580 constructor(properties?: google.api.Distribution.IExemplar);
17581
17582 /** Exemplar value. */
17583 public value: number;
17584
17585 /** Exemplar timestamp. */
17586 public timestamp?: (google.protobuf.ITimestamp|null);
17587
17588 /** Exemplar attachments. */
17589 public attachments: google.protobuf.IAny[];
17590
17591 /**
17592 * Creates a new Exemplar instance using the specified properties.
17593 * @param [properties] Properties to set
17594 * @returns Exemplar instance
17595 */
17596 public static create(properties?: google.api.Distribution.IExemplar): google.api.Distribution.Exemplar;
17597
17598 /**
17599 * Encodes the specified Exemplar message. Does not implicitly {@link google.api.Distribution.Exemplar.verify|verify} messages.
17600 * @param message Exemplar message or plain object to encode
17601 * @param [writer] Writer to encode to
17602 * @returns Writer
17603 */
17604 public static encode(message: google.api.Distribution.IExemplar, writer?: $protobuf.Writer): $protobuf.Writer;
17605
17606 /**
17607 * Encodes the specified Exemplar message, length delimited. Does not implicitly {@link google.api.Distribution.Exemplar.verify|verify} messages.
17608 * @param message Exemplar message or plain object to encode
17609 * @param [writer] Writer to encode to
17610 * @returns Writer
17611 */
17612 public static encodeDelimited(message: google.api.Distribution.IExemplar, writer?: $protobuf.Writer): $protobuf.Writer;
17613
17614 /**
17615 * Decodes an Exemplar message from the specified reader or buffer.
17616 * @param reader Reader or buffer to decode from
17617 * @param [length] Message length if known beforehand
17618 * @returns Exemplar
17619 * @throws {Error} If the payload is not a reader or valid buffer
17620 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17621 */
17622 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Distribution.Exemplar;
17623
17624 /**
17625 * Decodes an Exemplar message from the specified reader or buffer, length delimited.
17626 * @param reader Reader or buffer to decode from
17627 * @returns Exemplar
17628 * @throws {Error} If the payload is not a reader or valid buffer
17629 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17630 */
17631 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Distribution.Exemplar;
17632
17633 /**
17634 * Verifies an Exemplar message.
17635 * @param message Plain object to verify
17636 * @returns `null` if valid, otherwise the reason why it is not
17637 */
17638 public static verify(message: { [k: string]: any }): (string|null);
17639
17640 /**
17641 * Creates an Exemplar message from a plain object. Also converts values to their respective internal types.
17642 * @param object Plain object
17643 * @returns Exemplar
17644 */
17645 public static fromObject(object: { [k: string]: any }): google.api.Distribution.Exemplar;
17646
17647 /**
17648 * Creates a plain object from an Exemplar message. Also converts values to other types if specified.
17649 * @param message Exemplar
17650 * @param [options] Conversion options
17651 * @returns Plain object
17652 */
17653 public static toObject(message: google.api.Distribution.Exemplar, options?: $protobuf.IConversionOptions): { [k: string]: any };
17654
17655 /**
17656 * Converts this Exemplar to JSON.
17657 * @returns JSON object
17658 */
17659 public toJSON(): { [k: string]: any };
17660
17661 /**
17662 * Gets the default type url for Exemplar
17663 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17664 * @returns The default type url
17665 */
17666 public static getTypeUrl(typeUrlPrefix?: string): string;
17667 }
17668 }
17669
17670 /** Properties of a MetricDescriptor. */
17671 interface IMetricDescriptor {
17672
17673 /** MetricDescriptor name */
17674 name?: (string|null);
17675
17676 /** MetricDescriptor type */
17677 type?: (string|null);
17678
17679 /** MetricDescriptor labels */
17680 labels?: (google.api.ILabelDescriptor[]|null);
17681
17682 /** MetricDescriptor metricKind */
17683 metricKind?: (google.api.MetricDescriptor.MetricKind|keyof typeof google.api.MetricDescriptor.MetricKind|null);
17684
17685 /** MetricDescriptor valueType */
17686 valueType?: (google.api.MetricDescriptor.ValueType|keyof typeof google.api.MetricDescriptor.ValueType|null);
17687
17688 /** MetricDescriptor unit */
17689 unit?: (string|null);
17690
17691 /** MetricDescriptor description */
17692 description?: (string|null);
17693
17694 /** MetricDescriptor displayName */
17695 displayName?: (string|null);
17696
17697 /** MetricDescriptor metadata */
17698 metadata?: (google.api.MetricDescriptor.IMetricDescriptorMetadata|null);
17699
17700 /** MetricDescriptor launchStage */
17701 launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
17702
17703 /** MetricDescriptor monitoredResourceTypes */
17704 monitoredResourceTypes?: (string[]|null);
17705 }
17706
17707 /** Represents a MetricDescriptor. */
17708 class MetricDescriptor implements IMetricDescriptor {
17709
17710 /**
17711 * Constructs a new MetricDescriptor.
17712 * @param [properties] Properties to set
17713 */
17714 constructor(properties?: google.api.IMetricDescriptor);
17715
17716 /** MetricDescriptor name. */
17717 public name: string;
17718
17719 /** MetricDescriptor type. */
17720 public type: string;
17721
17722 /** MetricDescriptor labels. */
17723 public labels: google.api.ILabelDescriptor[];
17724
17725 /** MetricDescriptor metricKind. */
17726 public metricKind: (google.api.MetricDescriptor.MetricKind|keyof typeof google.api.MetricDescriptor.MetricKind);
17727
17728 /** MetricDescriptor valueType. */
17729 public valueType: (google.api.MetricDescriptor.ValueType|keyof typeof google.api.MetricDescriptor.ValueType);
17730
17731 /** MetricDescriptor unit. */
17732 public unit: string;
17733
17734 /** MetricDescriptor description. */
17735 public description: string;
17736
17737 /** MetricDescriptor displayName. */
17738 public displayName: string;
17739
17740 /** MetricDescriptor metadata. */
17741 public metadata?: (google.api.MetricDescriptor.IMetricDescriptorMetadata|null);
17742
17743 /** MetricDescriptor launchStage. */
17744 public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
17745
17746 /** MetricDescriptor monitoredResourceTypes. */
17747 public monitoredResourceTypes: string[];
17748
17749 /**
17750 * Creates a new MetricDescriptor instance using the specified properties.
17751 * @param [properties] Properties to set
17752 * @returns MetricDescriptor instance
17753 */
17754 public static create(properties?: google.api.IMetricDescriptor): google.api.MetricDescriptor;
17755
17756 /**
17757 * Encodes the specified MetricDescriptor message. Does not implicitly {@link google.api.MetricDescriptor.verify|verify} messages.
17758 * @param message MetricDescriptor message or plain object to encode
17759 * @param [writer] Writer to encode to
17760 * @returns Writer
17761 */
17762 public static encode(message: google.api.IMetricDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
17763
17764 /**
17765 * Encodes the specified MetricDescriptor message, length delimited. Does not implicitly {@link google.api.MetricDescriptor.verify|verify} messages.
17766 * @param message MetricDescriptor message or plain object to encode
17767 * @param [writer] Writer to encode to
17768 * @returns Writer
17769 */
17770 public static encodeDelimited(message: google.api.IMetricDescriptor, writer?: $protobuf.Writer): $protobuf.Writer;
17771
17772 /**
17773 * Decodes a MetricDescriptor message from the specified reader or buffer.
17774 * @param reader Reader or buffer to decode from
17775 * @param [length] Message length if known beforehand
17776 * @returns MetricDescriptor
17777 * @throws {Error} If the payload is not a reader or valid buffer
17778 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17779 */
17780 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MetricDescriptor;
17781
17782 /**
17783 * Decodes a MetricDescriptor message from the specified reader or buffer, length delimited.
17784 * @param reader Reader or buffer to decode from
17785 * @returns MetricDescriptor
17786 * @throws {Error} If the payload is not a reader or valid buffer
17787 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17788 */
17789 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MetricDescriptor;
17790
17791 /**
17792 * Verifies a MetricDescriptor message.
17793 * @param message Plain object to verify
17794 * @returns `null` if valid, otherwise the reason why it is not
17795 */
17796 public static verify(message: { [k: string]: any }): (string|null);
17797
17798 /**
17799 * Creates a MetricDescriptor message from a plain object. Also converts values to their respective internal types.
17800 * @param object Plain object
17801 * @returns MetricDescriptor
17802 */
17803 public static fromObject(object: { [k: string]: any }): google.api.MetricDescriptor;
17804
17805 /**
17806 * Creates a plain object from a MetricDescriptor message. Also converts values to other types if specified.
17807 * @param message MetricDescriptor
17808 * @param [options] Conversion options
17809 * @returns Plain object
17810 */
17811 public static toObject(message: google.api.MetricDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any };
17812
17813 /**
17814 * Converts this MetricDescriptor to JSON.
17815 * @returns JSON object
17816 */
17817 public toJSON(): { [k: string]: any };
17818
17819 /**
17820 * Gets the default type url for MetricDescriptor
17821 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17822 * @returns The default type url
17823 */
17824 public static getTypeUrl(typeUrlPrefix?: string): string;
17825 }
17826
17827 namespace MetricDescriptor {
17828
17829 /** MetricKind enum. */
17830 enum MetricKind {
17831 METRIC_KIND_UNSPECIFIED = 0,
17832 GAUGE = 1,
17833 DELTA = 2,
17834 CUMULATIVE = 3
17835 }
17836
17837 /** ValueType enum. */
17838 enum ValueType {
17839 VALUE_TYPE_UNSPECIFIED = 0,
17840 BOOL = 1,
17841 INT64 = 2,
17842 DOUBLE = 3,
17843 STRING = 4,
17844 DISTRIBUTION = 5,
17845 MONEY = 6
17846 }
17847
17848 /** Properties of a MetricDescriptorMetadata. */
17849 interface IMetricDescriptorMetadata {
17850
17851 /** MetricDescriptorMetadata launchStage */
17852 launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
17853
17854 /** MetricDescriptorMetadata samplePeriod */
17855 samplePeriod?: (google.protobuf.IDuration|null);
17856
17857 /** MetricDescriptorMetadata ingestDelay */
17858 ingestDelay?: (google.protobuf.IDuration|null);
17859 }
17860
17861 /** Represents a MetricDescriptorMetadata. */
17862 class MetricDescriptorMetadata implements IMetricDescriptorMetadata {
17863
17864 /**
17865 * Constructs a new MetricDescriptorMetadata.
17866 * @param [properties] Properties to set
17867 */
17868 constructor(properties?: google.api.MetricDescriptor.IMetricDescriptorMetadata);
17869
17870 /** MetricDescriptorMetadata launchStage. */
17871 public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
17872
17873 /** MetricDescriptorMetadata samplePeriod. */
17874 public samplePeriod?: (google.protobuf.IDuration|null);
17875
17876 /** MetricDescriptorMetadata ingestDelay. */
17877 public ingestDelay?: (google.protobuf.IDuration|null);
17878
17879 /**
17880 * Creates a new MetricDescriptorMetadata instance using the specified properties.
17881 * @param [properties] Properties to set
17882 * @returns MetricDescriptorMetadata instance
17883 */
17884 public static create(properties?: google.api.MetricDescriptor.IMetricDescriptorMetadata): google.api.MetricDescriptor.MetricDescriptorMetadata;
17885
17886 /**
17887 * Encodes the specified MetricDescriptorMetadata message. Does not implicitly {@link google.api.MetricDescriptor.MetricDescriptorMetadata.verify|verify} messages.
17888 * @param message MetricDescriptorMetadata message or plain object to encode
17889 * @param [writer] Writer to encode to
17890 * @returns Writer
17891 */
17892 public static encode(message: google.api.MetricDescriptor.IMetricDescriptorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
17893
17894 /**
17895 * Encodes the specified MetricDescriptorMetadata message, length delimited. Does not implicitly {@link google.api.MetricDescriptor.MetricDescriptorMetadata.verify|verify} messages.
17896 * @param message MetricDescriptorMetadata message or plain object to encode
17897 * @param [writer] Writer to encode to
17898 * @returns Writer
17899 */
17900 public static encodeDelimited(message: google.api.MetricDescriptor.IMetricDescriptorMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
17901
17902 /**
17903 * Decodes a MetricDescriptorMetadata message from the specified reader or buffer.
17904 * @param reader Reader or buffer to decode from
17905 * @param [length] Message length if known beforehand
17906 * @returns MetricDescriptorMetadata
17907 * @throws {Error} If the payload is not a reader or valid buffer
17908 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17909 */
17910 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MetricDescriptor.MetricDescriptorMetadata;
17911
17912 /**
17913 * Decodes a MetricDescriptorMetadata message from the specified reader or buffer, length delimited.
17914 * @param reader Reader or buffer to decode from
17915 * @returns MetricDescriptorMetadata
17916 * @throws {Error} If the payload is not a reader or valid buffer
17917 * @throws {$protobuf.util.ProtocolError} If required fields are missing
17918 */
17919 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MetricDescriptor.MetricDescriptorMetadata;
17920
17921 /**
17922 * Verifies a MetricDescriptorMetadata message.
17923 * @param message Plain object to verify
17924 * @returns `null` if valid, otherwise the reason why it is not
17925 */
17926 public static verify(message: { [k: string]: any }): (string|null);
17927
17928 /**
17929 * Creates a MetricDescriptorMetadata message from a plain object. Also converts values to their respective internal types.
17930 * @param object Plain object
17931 * @returns MetricDescriptorMetadata
17932 */
17933 public static fromObject(object: { [k: string]: any }): google.api.MetricDescriptor.MetricDescriptorMetadata;
17934
17935 /**
17936 * Creates a plain object from a MetricDescriptorMetadata message. Also converts values to other types if specified.
17937 * @param message MetricDescriptorMetadata
17938 * @param [options] Conversion options
17939 * @returns Plain object
17940 */
17941 public static toObject(message: google.api.MetricDescriptor.MetricDescriptorMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
17942
17943 /**
17944 * Converts this MetricDescriptorMetadata to JSON.
17945 * @returns JSON object
17946 */
17947 public toJSON(): { [k: string]: any };
17948
17949 /**
17950 * Gets the default type url for MetricDescriptorMetadata
17951 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
17952 * @returns The default type url
17953 */
17954 public static getTypeUrl(typeUrlPrefix?: string): string;
17955 }
17956 }
17957
17958 /** Properties of a Metric. */
17959 interface IMetric {
17960
17961 /** Metric type */
17962 type?: (string|null);
17963
17964 /** Metric labels */
17965 labels?: ({ [k: string]: string }|null);
17966 }
17967
17968 /** Represents a Metric. */
17969 class Metric implements IMetric {
17970
17971 /**
17972 * Constructs a new Metric.
17973 * @param [properties] Properties to set
17974 */
17975 constructor(properties?: google.api.IMetric);
17976
17977 /** Metric type. */
17978 public type: string;
17979
17980 /** Metric labels. */
17981 public labels: { [k: string]: string };
17982
17983 /**
17984 * Creates a new Metric instance using the specified properties.
17985 * @param [properties] Properties to set
17986 * @returns Metric instance
17987 */
17988 public static create(properties?: google.api.IMetric): google.api.Metric;
17989
17990 /**
17991 * Encodes the specified Metric message. Does not implicitly {@link google.api.Metric.verify|verify} messages.
17992 * @param message Metric message or plain object to encode
17993 * @param [writer] Writer to encode to
17994 * @returns Writer
17995 */
17996 public static encode(message: google.api.IMetric, writer?: $protobuf.Writer): $protobuf.Writer;
17997
17998 /**
17999 * Encodes the specified Metric message, length delimited. Does not implicitly {@link google.api.Metric.verify|verify} messages.
18000 * @param message Metric message or plain object to encode
18001 * @param [writer] Writer to encode to
18002 * @returns Writer
18003 */
18004 public static encodeDelimited(message: google.api.IMetric, writer?: $protobuf.Writer): $protobuf.Writer;
18005
18006 /**
18007 * Decodes a Metric message from the specified reader or buffer.
18008 * @param reader Reader or buffer to decode from
18009 * @param [length] Message length if known beforehand
18010 * @returns Metric
18011 * @throws {Error} If the payload is not a reader or valid buffer
18012 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18013 */
18014 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Metric;
18015
18016 /**
18017 * Decodes a Metric message from the specified reader or buffer, length delimited.
18018 * @param reader Reader or buffer to decode from
18019 * @returns Metric
18020 * @throws {Error} If the payload is not a reader or valid buffer
18021 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18022 */
18023 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Metric;
18024
18025 /**
18026 * Verifies a Metric message.
18027 * @param message Plain object to verify
18028 * @returns `null` if valid, otherwise the reason why it is not
18029 */
18030 public static verify(message: { [k: string]: any }): (string|null);
18031
18032 /**
18033 * Creates a Metric message from a plain object. Also converts values to their respective internal types.
18034 * @param object Plain object
18035 * @returns Metric
18036 */
18037 public static fromObject(object: { [k: string]: any }): google.api.Metric;
18038
18039 /**
18040 * Creates a plain object from a Metric message. Also converts values to other types if specified.
18041 * @param message Metric
18042 * @param [options] Conversion options
18043 * @returns Plain object
18044 */
18045 public static toObject(message: google.api.Metric, options?: $protobuf.IConversionOptions): { [k: string]: any };
18046
18047 /**
18048 * Converts this Metric to JSON.
18049 * @returns JSON object
18050 */
18051 public toJSON(): { [k: string]: any };
18052
18053 /**
18054 * Gets the default type url for Metric
18055 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18056 * @returns The default type url
18057 */
18058 public static getTypeUrl(typeUrlPrefix?: string): string;
18059 }
18060 }
18061
18062 /** Namespace rpc. */
18063 namespace rpc {
18064
18065 /** Properties of a Status. */
18066 interface IStatus {
18067
18068 /** Status code */
18069 code?: (number|null);
18070
18071 /** Status message */
18072 message?: (string|null);
18073
18074 /** Status details */
18075 details?: (google.protobuf.IAny[]|null);
18076 }
18077
18078 /** Represents a Status. */
18079 class Status implements IStatus {
18080
18081 /**
18082 * Constructs a new Status.
18083 * @param [properties] Properties to set
18084 */
18085 constructor(properties?: google.rpc.IStatus);
18086
18087 /** Status code. */
18088 public code: number;
18089
18090 /** Status message. */
18091 public message: string;
18092
18093 /** Status details. */
18094 public details: google.protobuf.IAny[];
18095
18096 /**
18097 * Creates a new Status instance using the specified properties.
18098 * @param [properties] Properties to set
18099 * @returns Status instance
18100 */
18101 public static create(properties?: google.rpc.IStatus): google.rpc.Status;
18102
18103 /**
18104 * Encodes the specified Status message. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
18105 * @param message Status message or plain object to encode
18106 * @param [writer] Writer to encode to
18107 * @returns Writer
18108 */
18109 public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
18110
18111 /**
18112 * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
18113 * @param message Status message or plain object to encode
18114 * @param [writer] Writer to encode to
18115 * @returns Writer
18116 */
18117 public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
18118
18119 /**
18120 * Decodes a Status message from the specified reader or buffer.
18121 * @param reader Reader or buffer to decode from
18122 * @param [length] Message length if known beforehand
18123 * @returns Status
18124 * @throws {Error} If the payload is not a reader or valid buffer
18125 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18126 */
18127 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
18128
18129 /**
18130 * Decodes a Status message from the specified reader or buffer, length delimited.
18131 * @param reader Reader or buffer to decode from
18132 * @returns Status
18133 * @throws {Error} If the payload is not a reader or valid buffer
18134 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18135 */
18136 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
18137
18138 /**
18139 * Verifies a Status message.
18140 * @param message Plain object to verify
18141 * @returns `null` if valid, otherwise the reason why it is not
18142 */
18143 public static verify(message: { [k: string]: any }): (string|null);
18144
18145 /**
18146 * Creates a Status message from a plain object. Also converts values to their respective internal types.
18147 * @param object Plain object
18148 * @returns Status
18149 */
18150 public static fromObject(object: { [k: string]: any }): google.rpc.Status;
18151
18152 /**
18153 * Creates a plain object from a Status message. Also converts values to other types if specified.
18154 * @param message Status
18155 * @param [options] Conversion options
18156 * @returns Plain object
18157 */
18158 public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
18159
18160 /**
18161 * Converts this Status to JSON.
18162 * @returns JSON object
18163 */
18164 public toJSON(): { [k: string]: any };
18165
18166 /**
18167 * Gets the default type url for Status
18168 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18169 * @returns The default type url
18170 */
18171 public static getTypeUrl(typeUrlPrefix?: string): string;
18172 }
18173 }
18174
18175 /** Namespace longrunning. */
18176 namespace longrunning {
18177
18178 /** Represents an Operations */
18179 class Operations extends $protobuf.rpc.Service {
18180
18181 /**
18182 * Constructs a new Operations service.
18183 * @param rpcImpl RPC implementation
18184 * @param [requestDelimited=false] Whether requests are length-delimited
18185 * @param [responseDelimited=false] Whether responses are length-delimited
18186 */
18187 constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
18188
18189 /**
18190 * Creates new Operations service using the specified rpc implementation.
18191 * @param rpcImpl RPC implementation
18192 * @param [requestDelimited=false] Whether requests are length-delimited
18193 * @param [responseDelimited=false] Whether responses are length-delimited
18194 * @returns RPC service. Useful where requests and/or responses are streamed.
18195 */
18196 public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
18197
18198 /**
18199 * Calls ListOperations.
18200 * @param request ListOperationsRequest message or plain object
18201 * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
18202 */
18203 public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
18204
18205 /**
18206 * Calls ListOperations.
18207 * @param request ListOperationsRequest message or plain object
18208 * @returns Promise
18209 */
18210 public listOperations(request: google.longrunning.IListOperationsRequest): Promise<google.longrunning.ListOperationsResponse>;
18211
18212 /**
18213 * Calls GetOperation.
18214 * @param request GetOperationRequest message or plain object
18215 * @param callback Node-style callback called with the error, if any, and Operation
18216 */
18217 public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
18218
18219 /**
18220 * Calls GetOperation.
18221 * @param request GetOperationRequest message or plain object
18222 * @returns Promise
18223 */
18224 public getOperation(request: google.longrunning.IGetOperationRequest): Promise<google.longrunning.Operation>;
18225
18226 /**
18227 * Calls DeleteOperation.
18228 * @param request DeleteOperationRequest message or plain object
18229 * @param callback Node-style callback called with the error, if any, and Empty
18230 */
18231 public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
18232
18233 /**
18234 * Calls DeleteOperation.
18235 * @param request DeleteOperationRequest message or plain object
18236 * @returns Promise
18237 */
18238 public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise<google.protobuf.Empty>;
18239
18240 /**
18241 * Calls CancelOperation.
18242 * @param request CancelOperationRequest message or plain object
18243 * @param callback Node-style callback called with the error, if any, and Empty
18244 */
18245 public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
18246
18247 /**
18248 * Calls CancelOperation.
18249 * @param request CancelOperationRequest message or plain object
18250 * @returns Promise
18251 */
18252 public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise<google.protobuf.Empty>;
18253
18254 /**
18255 * Calls WaitOperation.
18256 * @param request WaitOperationRequest message or plain object
18257 * @param callback Node-style callback called with the error, if any, and Operation
18258 */
18259 public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
18260
18261 /**
18262 * Calls WaitOperation.
18263 * @param request WaitOperationRequest message or plain object
18264 * @returns Promise
18265 */
18266 public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise<google.longrunning.Operation>;
18267 }
18268
18269 namespace Operations {
18270
18271 /**
18272 * Callback as used by {@link google.longrunning.Operations|listOperations}.
18273 * @param error Error, if any
18274 * @param [response] ListOperationsResponse
18275 */
18276 type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
18277
18278 /**
18279 * Callback as used by {@link google.longrunning.Operations|getOperation}.
18280 * @param error Error, if any
18281 * @param [response] Operation
18282 */
18283 type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
18284
18285 /**
18286 * Callback as used by {@link google.longrunning.Operations|deleteOperation}.
18287 * @param error Error, if any
18288 * @param [response] Empty
18289 */
18290 type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
18291
18292 /**
18293 * Callback as used by {@link google.longrunning.Operations|cancelOperation}.
18294 * @param error Error, if any
18295 * @param [response] Empty
18296 */
18297 type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
18298
18299 /**
18300 * Callback as used by {@link google.longrunning.Operations|waitOperation}.
18301 * @param error Error, if any
18302 * @param [response] Operation
18303 */
18304 type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
18305 }
18306
18307 /** Properties of an Operation. */
18308 interface IOperation {
18309
18310 /** Operation name */
18311 name?: (string|null);
18312
18313 /** Operation metadata */
18314 metadata?: (google.protobuf.IAny|null);
18315
18316 /** Operation done */
18317 done?: (boolean|null);
18318
18319 /** Operation error */
18320 error?: (google.rpc.IStatus|null);
18321
18322 /** Operation response */
18323 response?: (google.protobuf.IAny|null);
18324 }
18325
18326 /** Represents an Operation. */
18327 class Operation implements IOperation {
18328
18329 /**
18330 * Constructs a new Operation.
18331 * @param [properties] Properties to set
18332 */
18333 constructor(properties?: google.longrunning.IOperation);
18334
18335 /** Operation name. */
18336 public name: string;
18337
18338 /** Operation metadata. */
18339 public metadata?: (google.protobuf.IAny|null);
18340
18341 /** Operation done. */
18342 public done: boolean;
18343
18344 /** Operation error. */
18345 public error?: (google.rpc.IStatus|null);
18346
18347 /** Operation response. */
18348 public response?: (google.protobuf.IAny|null);
18349
18350 /** Operation result. */
18351 public result?: ("error"|"response");
18352
18353 /**
18354 * Creates a new Operation instance using the specified properties.
18355 * @param [properties] Properties to set
18356 * @returns Operation instance
18357 */
18358 public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
18359
18360 /**
18361 * Encodes the specified Operation message. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
18362 * @param message Operation message or plain object to encode
18363 * @param [writer] Writer to encode to
18364 * @returns Writer
18365 */
18366 public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
18367
18368 /**
18369 * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
18370 * @param message Operation message or plain object to encode
18371 * @param [writer] Writer to encode to
18372 * @returns Writer
18373 */
18374 public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
18375
18376 /**
18377 * Decodes an Operation message from the specified reader or buffer.
18378 * @param reader Reader or buffer to decode from
18379 * @param [length] Message length if known beforehand
18380 * @returns Operation
18381 * @throws {Error} If the payload is not a reader or valid buffer
18382 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18383 */
18384 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
18385
18386 /**
18387 * Decodes an Operation message from the specified reader or buffer, length delimited.
18388 * @param reader Reader or buffer to decode from
18389 * @returns Operation
18390 * @throws {Error} If the payload is not a reader or valid buffer
18391 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18392 */
18393 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
18394
18395 /**
18396 * Verifies an Operation message.
18397 * @param message Plain object to verify
18398 * @returns `null` if valid, otherwise the reason why it is not
18399 */
18400 public static verify(message: { [k: string]: any }): (string|null);
18401
18402 /**
18403 * Creates an Operation message from a plain object. Also converts values to their respective internal types.
18404 * @param object Plain object
18405 * @returns Operation
18406 */
18407 public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
18408
18409 /**
18410 * Creates a plain object from an Operation message. Also converts values to other types if specified.
18411 * @param message Operation
18412 * @param [options] Conversion options
18413 * @returns Plain object
18414 */
18415 public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
18416
18417 /**
18418 * Converts this Operation to JSON.
18419 * @returns JSON object
18420 */
18421 public toJSON(): { [k: string]: any };
18422
18423 /**
18424 * Gets the default type url for Operation
18425 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18426 * @returns The default type url
18427 */
18428 public static getTypeUrl(typeUrlPrefix?: string): string;
18429 }
18430
18431 /** Properties of a GetOperationRequest. */
18432 interface IGetOperationRequest {
18433
18434 /** GetOperationRequest name */
18435 name?: (string|null);
18436 }
18437
18438 /** Represents a GetOperationRequest. */
18439 class GetOperationRequest implements IGetOperationRequest {
18440
18441 /**
18442 * Constructs a new GetOperationRequest.
18443 * @param [properties] Properties to set
18444 */
18445 constructor(properties?: google.longrunning.IGetOperationRequest);
18446
18447 /** GetOperationRequest name. */
18448 public name: string;
18449
18450 /**
18451 * Creates a new GetOperationRequest instance using the specified properties.
18452 * @param [properties] Properties to set
18453 * @returns GetOperationRequest instance
18454 */
18455 public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
18456
18457 /**
18458 * Encodes the specified GetOperationRequest message. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
18459 * @param message GetOperationRequest message or plain object to encode
18460 * @param [writer] Writer to encode to
18461 * @returns Writer
18462 */
18463 public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18464
18465 /**
18466 * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
18467 * @param message GetOperationRequest message or plain object to encode
18468 * @param [writer] Writer to encode to
18469 * @returns Writer
18470 */
18471 public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18472
18473 /**
18474 * Decodes a GetOperationRequest message from the specified reader or buffer.
18475 * @param reader Reader or buffer to decode from
18476 * @param [length] Message length if known beforehand
18477 * @returns GetOperationRequest
18478 * @throws {Error} If the payload is not a reader or valid buffer
18479 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18480 */
18481 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
18482
18483 /**
18484 * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
18485 * @param reader Reader or buffer to decode from
18486 * @returns GetOperationRequest
18487 * @throws {Error} If the payload is not a reader or valid buffer
18488 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18489 */
18490 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
18491
18492 /**
18493 * Verifies a GetOperationRequest message.
18494 * @param message Plain object to verify
18495 * @returns `null` if valid, otherwise the reason why it is not
18496 */
18497 public static verify(message: { [k: string]: any }): (string|null);
18498
18499 /**
18500 * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
18501 * @param object Plain object
18502 * @returns GetOperationRequest
18503 */
18504 public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
18505
18506 /**
18507 * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
18508 * @param message GetOperationRequest
18509 * @param [options] Conversion options
18510 * @returns Plain object
18511 */
18512 public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
18513
18514 /**
18515 * Converts this GetOperationRequest to JSON.
18516 * @returns JSON object
18517 */
18518 public toJSON(): { [k: string]: any };
18519
18520 /**
18521 * Gets the default type url for GetOperationRequest
18522 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18523 * @returns The default type url
18524 */
18525 public static getTypeUrl(typeUrlPrefix?: string): string;
18526 }
18527
18528 /** Properties of a ListOperationsRequest. */
18529 interface IListOperationsRequest {
18530
18531 /** ListOperationsRequest name */
18532 name?: (string|null);
18533
18534 /** ListOperationsRequest filter */
18535 filter?: (string|null);
18536
18537 /** ListOperationsRequest pageSize */
18538 pageSize?: (number|null);
18539
18540 /** ListOperationsRequest pageToken */
18541 pageToken?: (string|null);
18542 }
18543
18544 /** Represents a ListOperationsRequest. */
18545 class ListOperationsRequest implements IListOperationsRequest {
18546
18547 /**
18548 * Constructs a new ListOperationsRequest.
18549 * @param [properties] Properties to set
18550 */
18551 constructor(properties?: google.longrunning.IListOperationsRequest);
18552
18553 /** ListOperationsRequest name. */
18554 public name: string;
18555
18556 /** ListOperationsRequest filter. */
18557 public filter: string;
18558
18559 /** ListOperationsRequest pageSize. */
18560 public pageSize: number;
18561
18562 /** ListOperationsRequest pageToken. */
18563 public pageToken: string;
18564
18565 /**
18566 * Creates a new ListOperationsRequest instance using the specified properties.
18567 * @param [properties] Properties to set
18568 * @returns ListOperationsRequest instance
18569 */
18570 public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
18571
18572 /**
18573 * Encodes the specified ListOperationsRequest message. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
18574 * @param message ListOperationsRequest message or plain object to encode
18575 * @param [writer] Writer to encode to
18576 * @returns Writer
18577 */
18578 public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18579
18580 /**
18581 * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
18582 * @param message ListOperationsRequest message or plain object to encode
18583 * @param [writer] Writer to encode to
18584 * @returns Writer
18585 */
18586 public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18587
18588 /**
18589 * Decodes a ListOperationsRequest message from the specified reader or buffer.
18590 * @param reader Reader or buffer to decode from
18591 * @param [length] Message length if known beforehand
18592 * @returns ListOperationsRequest
18593 * @throws {Error} If the payload is not a reader or valid buffer
18594 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18595 */
18596 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
18597
18598 /**
18599 * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
18600 * @param reader Reader or buffer to decode from
18601 * @returns ListOperationsRequest
18602 * @throws {Error} If the payload is not a reader or valid buffer
18603 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18604 */
18605 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
18606
18607 /**
18608 * Verifies a ListOperationsRequest message.
18609 * @param message Plain object to verify
18610 * @returns `null` if valid, otherwise the reason why it is not
18611 */
18612 public static verify(message: { [k: string]: any }): (string|null);
18613
18614 /**
18615 * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
18616 * @param object Plain object
18617 * @returns ListOperationsRequest
18618 */
18619 public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
18620
18621 /**
18622 * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
18623 * @param message ListOperationsRequest
18624 * @param [options] Conversion options
18625 * @returns Plain object
18626 */
18627 public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
18628
18629 /**
18630 * Converts this ListOperationsRequest to JSON.
18631 * @returns JSON object
18632 */
18633 public toJSON(): { [k: string]: any };
18634
18635 /**
18636 * Gets the default type url for ListOperationsRequest
18637 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18638 * @returns The default type url
18639 */
18640 public static getTypeUrl(typeUrlPrefix?: string): string;
18641 }
18642
18643 /** Properties of a ListOperationsResponse. */
18644 interface IListOperationsResponse {
18645
18646 /** ListOperationsResponse operations */
18647 operations?: (google.longrunning.IOperation[]|null);
18648
18649 /** ListOperationsResponse nextPageToken */
18650 nextPageToken?: (string|null);
18651 }
18652
18653 /** Represents a ListOperationsResponse. */
18654 class ListOperationsResponse implements IListOperationsResponse {
18655
18656 /**
18657 * Constructs a new ListOperationsResponse.
18658 * @param [properties] Properties to set
18659 */
18660 constructor(properties?: google.longrunning.IListOperationsResponse);
18661
18662 /** ListOperationsResponse operations. */
18663 public operations: google.longrunning.IOperation[];
18664
18665 /** ListOperationsResponse nextPageToken. */
18666 public nextPageToken: string;
18667
18668 /**
18669 * Creates a new ListOperationsResponse instance using the specified properties.
18670 * @param [properties] Properties to set
18671 * @returns ListOperationsResponse instance
18672 */
18673 public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
18674
18675 /**
18676 * Encodes the specified ListOperationsResponse message. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
18677 * @param message ListOperationsResponse message or plain object to encode
18678 * @param [writer] Writer to encode to
18679 * @returns Writer
18680 */
18681 public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
18682
18683 /**
18684 * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
18685 * @param message ListOperationsResponse message or plain object to encode
18686 * @param [writer] Writer to encode to
18687 * @returns Writer
18688 */
18689 public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
18690
18691 /**
18692 * Decodes a ListOperationsResponse message from the specified reader or buffer.
18693 * @param reader Reader or buffer to decode from
18694 * @param [length] Message length if known beforehand
18695 * @returns ListOperationsResponse
18696 * @throws {Error} If the payload is not a reader or valid buffer
18697 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18698 */
18699 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
18700
18701 /**
18702 * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
18703 * @param reader Reader or buffer to decode from
18704 * @returns ListOperationsResponse
18705 * @throws {Error} If the payload is not a reader or valid buffer
18706 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18707 */
18708 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
18709
18710 /**
18711 * Verifies a ListOperationsResponse message.
18712 * @param message Plain object to verify
18713 * @returns `null` if valid, otherwise the reason why it is not
18714 */
18715 public static verify(message: { [k: string]: any }): (string|null);
18716
18717 /**
18718 * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
18719 * @param object Plain object
18720 * @returns ListOperationsResponse
18721 */
18722 public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
18723
18724 /**
18725 * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
18726 * @param message ListOperationsResponse
18727 * @param [options] Conversion options
18728 * @returns Plain object
18729 */
18730 public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
18731
18732 /**
18733 * Converts this ListOperationsResponse to JSON.
18734 * @returns JSON object
18735 */
18736 public toJSON(): { [k: string]: any };
18737
18738 /**
18739 * Gets the default type url for ListOperationsResponse
18740 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18741 * @returns The default type url
18742 */
18743 public static getTypeUrl(typeUrlPrefix?: string): string;
18744 }
18745
18746 /** Properties of a CancelOperationRequest. */
18747 interface ICancelOperationRequest {
18748
18749 /** CancelOperationRequest name */
18750 name?: (string|null);
18751 }
18752
18753 /** Represents a CancelOperationRequest. */
18754 class CancelOperationRequest implements ICancelOperationRequest {
18755
18756 /**
18757 * Constructs a new CancelOperationRequest.
18758 * @param [properties] Properties to set
18759 */
18760 constructor(properties?: google.longrunning.ICancelOperationRequest);
18761
18762 /** CancelOperationRequest name. */
18763 public name: string;
18764
18765 /**
18766 * Creates a new CancelOperationRequest instance using the specified properties.
18767 * @param [properties] Properties to set
18768 * @returns CancelOperationRequest instance
18769 */
18770 public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
18771
18772 /**
18773 * Encodes the specified CancelOperationRequest message. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
18774 * @param message CancelOperationRequest message or plain object to encode
18775 * @param [writer] Writer to encode to
18776 * @returns Writer
18777 */
18778 public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18779
18780 /**
18781 * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
18782 * @param message CancelOperationRequest message or plain object to encode
18783 * @param [writer] Writer to encode to
18784 * @returns Writer
18785 */
18786 public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18787
18788 /**
18789 * Decodes a CancelOperationRequest message from the specified reader or buffer.
18790 * @param reader Reader or buffer to decode from
18791 * @param [length] Message length if known beforehand
18792 * @returns CancelOperationRequest
18793 * @throws {Error} If the payload is not a reader or valid buffer
18794 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18795 */
18796 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
18797
18798 /**
18799 * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
18800 * @param reader Reader or buffer to decode from
18801 * @returns CancelOperationRequest
18802 * @throws {Error} If the payload is not a reader or valid buffer
18803 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18804 */
18805 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
18806
18807 /**
18808 * Verifies a CancelOperationRequest message.
18809 * @param message Plain object to verify
18810 * @returns `null` if valid, otherwise the reason why it is not
18811 */
18812 public static verify(message: { [k: string]: any }): (string|null);
18813
18814 /**
18815 * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
18816 * @param object Plain object
18817 * @returns CancelOperationRequest
18818 */
18819 public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
18820
18821 /**
18822 * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
18823 * @param message CancelOperationRequest
18824 * @param [options] Conversion options
18825 * @returns Plain object
18826 */
18827 public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
18828
18829 /**
18830 * Converts this CancelOperationRequest to JSON.
18831 * @returns JSON object
18832 */
18833 public toJSON(): { [k: string]: any };
18834
18835 /**
18836 * Gets the default type url for CancelOperationRequest
18837 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18838 * @returns The default type url
18839 */
18840 public static getTypeUrl(typeUrlPrefix?: string): string;
18841 }
18842
18843 /** Properties of a DeleteOperationRequest. */
18844 interface IDeleteOperationRequest {
18845
18846 /** DeleteOperationRequest name */
18847 name?: (string|null);
18848 }
18849
18850 /** Represents a DeleteOperationRequest. */
18851 class DeleteOperationRequest implements IDeleteOperationRequest {
18852
18853 /**
18854 * Constructs a new DeleteOperationRequest.
18855 * @param [properties] Properties to set
18856 */
18857 constructor(properties?: google.longrunning.IDeleteOperationRequest);
18858
18859 /** DeleteOperationRequest name. */
18860 public name: string;
18861
18862 /**
18863 * Creates a new DeleteOperationRequest instance using the specified properties.
18864 * @param [properties] Properties to set
18865 * @returns DeleteOperationRequest instance
18866 */
18867 public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
18868
18869 /**
18870 * Encodes the specified DeleteOperationRequest message. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
18871 * @param message DeleteOperationRequest message or plain object to encode
18872 * @param [writer] Writer to encode to
18873 * @returns Writer
18874 */
18875 public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18876
18877 /**
18878 * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
18879 * @param message DeleteOperationRequest message or plain object to encode
18880 * @param [writer] Writer to encode to
18881 * @returns Writer
18882 */
18883 public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18884
18885 /**
18886 * Decodes a DeleteOperationRequest message from the specified reader or buffer.
18887 * @param reader Reader or buffer to decode from
18888 * @param [length] Message length if known beforehand
18889 * @returns DeleteOperationRequest
18890 * @throws {Error} If the payload is not a reader or valid buffer
18891 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18892 */
18893 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
18894
18895 /**
18896 * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
18897 * @param reader Reader or buffer to decode from
18898 * @returns DeleteOperationRequest
18899 * @throws {Error} If the payload is not a reader or valid buffer
18900 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18901 */
18902 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
18903
18904 /**
18905 * Verifies a DeleteOperationRequest message.
18906 * @param message Plain object to verify
18907 * @returns `null` if valid, otherwise the reason why it is not
18908 */
18909 public static verify(message: { [k: string]: any }): (string|null);
18910
18911 /**
18912 * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
18913 * @param object Plain object
18914 * @returns DeleteOperationRequest
18915 */
18916 public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
18917
18918 /**
18919 * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
18920 * @param message DeleteOperationRequest
18921 * @param [options] Conversion options
18922 * @returns Plain object
18923 */
18924 public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
18925
18926 /**
18927 * Converts this DeleteOperationRequest to JSON.
18928 * @returns JSON object
18929 */
18930 public toJSON(): { [k: string]: any };
18931
18932 /**
18933 * Gets the default type url for DeleteOperationRequest
18934 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
18935 * @returns The default type url
18936 */
18937 public static getTypeUrl(typeUrlPrefix?: string): string;
18938 }
18939
18940 /** Properties of a WaitOperationRequest. */
18941 interface IWaitOperationRequest {
18942
18943 /** WaitOperationRequest name */
18944 name?: (string|null);
18945
18946 /** WaitOperationRequest timeout */
18947 timeout?: (google.protobuf.IDuration|null);
18948 }
18949
18950 /** Represents a WaitOperationRequest. */
18951 class WaitOperationRequest implements IWaitOperationRequest {
18952
18953 /**
18954 * Constructs a new WaitOperationRequest.
18955 * @param [properties] Properties to set
18956 */
18957 constructor(properties?: google.longrunning.IWaitOperationRequest);
18958
18959 /** WaitOperationRequest name. */
18960 public name: string;
18961
18962 /** WaitOperationRequest timeout. */
18963 public timeout?: (google.protobuf.IDuration|null);
18964
18965 /**
18966 * Creates a new WaitOperationRequest instance using the specified properties.
18967 * @param [properties] Properties to set
18968 * @returns WaitOperationRequest instance
18969 */
18970 public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
18971
18972 /**
18973 * Encodes the specified WaitOperationRequest message. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
18974 * @param message WaitOperationRequest message or plain object to encode
18975 * @param [writer] Writer to encode to
18976 * @returns Writer
18977 */
18978 public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18979
18980 /**
18981 * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
18982 * @param message WaitOperationRequest message or plain object to encode
18983 * @param [writer] Writer to encode to
18984 * @returns Writer
18985 */
18986 public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
18987
18988 /**
18989 * Decodes a WaitOperationRequest message from the specified reader or buffer.
18990 * @param reader Reader or buffer to decode from
18991 * @param [length] Message length if known beforehand
18992 * @returns WaitOperationRequest
18993 * @throws {Error} If the payload is not a reader or valid buffer
18994 * @throws {$protobuf.util.ProtocolError} If required fields are missing
18995 */
18996 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
18997
18998 /**
18999 * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
19000 * @param reader Reader or buffer to decode from
19001 * @returns WaitOperationRequest
19002 * @throws {Error} If the payload is not a reader or valid buffer
19003 * @throws {$protobuf.util.ProtocolError} If required fields are missing
19004 */
19005 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
19006
19007 /**
19008 * Verifies a WaitOperationRequest message.
19009 * @param message Plain object to verify
19010 * @returns `null` if valid, otherwise the reason why it is not
19011 */
19012 public static verify(message: { [k: string]: any }): (string|null);
19013
19014 /**
19015 * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
19016 * @param object Plain object
19017 * @returns WaitOperationRequest
19018 */
19019 public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
19020
19021 /**
19022 * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
19023 * @param message WaitOperationRequest
19024 * @param [options] Conversion options
19025 * @returns Plain object
19026 */
19027 public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
19028
19029 /**
19030 * Converts this WaitOperationRequest to JSON.
19031 * @returns JSON object
19032 */
19033 public toJSON(): { [k: string]: any };
19034
19035 /**
19036 * Gets the default type url for WaitOperationRequest
19037 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19038 * @returns The default type url
19039 */
19040 public static getTypeUrl(typeUrlPrefix?: string): string;
19041 }
19042
19043 /** Properties of an OperationInfo. */
19044 interface IOperationInfo {
19045
19046 /** OperationInfo responseType */
19047 responseType?: (string|null);
19048
19049 /** OperationInfo metadataType */
19050 metadataType?: (string|null);
19051 }
19052
19053 /** Represents an OperationInfo. */
19054 class OperationInfo implements IOperationInfo {
19055
19056 /**
19057 * Constructs a new OperationInfo.
19058 * @param [properties] Properties to set
19059 */
19060 constructor(properties?: google.longrunning.IOperationInfo);
19061
19062 /** OperationInfo responseType. */
19063 public responseType: string;
19064
19065 /** OperationInfo metadataType. */
19066 public metadataType: string;
19067
19068 /**
19069 * Creates a new OperationInfo instance using the specified properties.
19070 * @param [properties] Properties to set
19071 * @returns OperationInfo instance
19072 */
19073 public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
19074
19075 /**
19076 * Encodes the specified OperationInfo message. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
19077 * @param message OperationInfo message or plain object to encode
19078 * @param [writer] Writer to encode to
19079 * @returns Writer
19080 */
19081 public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
19082
19083 /**
19084 * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
19085 * @param message OperationInfo message or plain object to encode
19086 * @param [writer] Writer to encode to
19087 * @returns Writer
19088 */
19089 public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
19090
19091 /**
19092 * Decodes an OperationInfo message from the specified reader or buffer.
19093 * @param reader Reader or buffer to decode from
19094 * @param [length] Message length if known beforehand
19095 * @returns OperationInfo
19096 * @throws {Error} If the payload is not a reader or valid buffer
19097 * @throws {$protobuf.util.ProtocolError} If required fields are missing
19098 */
19099 public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
19100
19101 /**
19102 * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
19103 * @param reader Reader or buffer to decode from
19104 * @returns OperationInfo
19105 * @throws {Error} If the payload is not a reader or valid buffer
19106 * @throws {$protobuf.util.ProtocolError} If required fields are missing
19107 */
19108 public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
19109
19110 /**
19111 * Verifies an OperationInfo message.
19112 * @param message Plain object to verify
19113 * @returns `null` if valid, otherwise the reason why it is not
19114 */
19115 public static verify(message: { [k: string]: any }): (string|null);
19116
19117 /**
19118 * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
19119 * @param object Plain object
19120 * @returns OperationInfo
19121 */
19122 public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
19123
19124 /**
19125 * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
19126 * @param message OperationInfo
19127 * @param [options] Conversion options
19128 * @returns Plain object
19129 */
19130 public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
19131
19132 /**
19133 * Converts this OperationInfo to JSON.
19134 * @returns JSON object
19135 */
19136 public toJSON(): { [k: string]: any };
19137
19138 /**
19139 * Gets the default type url for OperationInfo
19140 * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
19141 * @returns The default type url
19142 */
19143 public static getTypeUrl(typeUrlPrefix?: string): string;
19144 }
19145 }
19146}