1 | /**
|
2 | * Copyright 2021 Google LLC
|
3 | *
|
4 | * Licensed under the Apache License, Version 2.0 (the "License");
|
5 | * you may not use this file except in compliance with the License.
|
6 | * You may obtain a copy of the License at
|
7 | *
|
8 | * http://www.apache.org/licenses/LICENSE-2.0
|
9 | *
|
10 | * Unless required by applicable law or agreed to in writing, software
|
11 | * distributed under the License is distributed on an "AS IS" BASIS,
|
12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
13 | * See the License for the specific language governing permissions and
|
14 | * limitations under the License.
|
15 | */
|
16 |
|
17 | import * as Long from 'long';
|
18 | import * as $protobuf from "protobufjs";
|
19 | /** Namespace google. */
|
20 | export namespace google {
|
21 |
|
22 | /** Namespace longrunning. */
|
23 | namespace longrunning {
|
24 |
|
25 | /** Represents an Operations */
|
26 | class Operations extends $protobuf.rpc.Service {
|
27 |
|
28 | /**
|
29 | * Constructs a new Operations service.
|
30 | * @param rpcImpl RPC implementation
|
31 | * @param [requestDelimited=false] Whether requests are length-delimited
|
32 | * @param [responseDelimited=false] Whether responses are length-delimited
|
33 | */
|
34 | constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
35 |
|
36 | /**
|
37 | * Creates new Operations service using the specified rpc implementation.
|
38 | * @param rpcImpl RPC implementation
|
39 | * @param [requestDelimited=false] Whether requests are length-delimited
|
40 | * @param [responseDelimited=false] Whether responses are length-delimited
|
41 | * @returns RPC service. Useful where requests and/or responses are streamed.
|
42 | */
|
43 | public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
|
44 |
|
45 | /**
|
46 | * Calls ListOperations.
|
47 | * @param request ListOperationsRequest message or plain object
|
48 | * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
|
49 | */
|
50 | public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
|
51 |
|
52 | /**
|
53 | * Calls ListOperations.
|
54 | * @param request ListOperationsRequest message or plain object
|
55 | * @returns Promise
|
56 | */
|
57 | public listOperations(request: google.longrunning.IListOperationsRequest): Promise<google.longrunning.ListOperationsResponse>;
|
58 |
|
59 | /**
|
60 | * Calls GetOperation.
|
61 | * @param request GetOperationRequest message or plain object
|
62 | * @param callback Node-style callback called with the error, if any, and Operation
|
63 | */
|
64 | public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
|
65 |
|
66 | /**
|
67 | * Calls GetOperation.
|
68 | * @param request GetOperationRequest message or plain object
|
69 | * @returns Promise
|
70 | */
|
71 | public getOperation(request: google.longrunning.IGetOperationRequest): Promise<google.longrunning.Operation>;
|
72 |
|
73 | /**
|
74 | * Calls DeleteOperation.
|
75 | * @param request DeleteOperationRequest message or plain object
|
76 | * @param callback Node-style callback called with the error, if any, and Empty
|
77 | */
|
78 | public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
|
79 |
|
80 | /**
|
81 | * Calls DeleteOperation.
|
82 | * @param request DeleteOperationRequest message or plain object
|
83 | * @returns Promise
|
84 | */
|
85 | public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise<google.protobuf.Empty>;
|
86 |
|
87 | /**
|
88 | * Calls CancelOperation.
|
89 | * @param request CancelOperationRequest message or plain object
|
90 | * @param callback Node-style callback called with the error, if any, and Empty
|
91 | */
|
92 | public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
|
93 |
|
94 | /**
|
95 | * Calls CancelOperation.
|
96 | * @param request CancelOperationRequest message or plain object
|
97 | * @returns Promise
|
98 | */
|
99 | public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise<google.protobuf.Empty>;
|
100 |
|
101 | /**
|
102 | * Calls WaitOperation.
|
103 | * @param request WaitOperationRequest message or plain object
|
104 | * @param callback Node-style callback called with the error, if any, and Operation
|
105 | */
|
106 | public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
|
107 |
|
108 | /**
|
109 | * Calls WaitOperation.
|
110 | * @param request WaitOperationRequest message or plain object
|
111 | * @returns Promise
|
112 | */
|
113 | public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise<google.longrunning.Operation>;
|
114 | }
|
115 |
|
116 | namespace Operations {
|
117 |
|
118 | /**
|
119 | * Callback as used by {@link google.longrunning.Operations#listOperations}.
|
120 | * @param error Error, if any
|
121 | * @param [response] ListOperationsResponse
|
122 | */
|
123 | type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
|
124 |
|
125 | /**
|
126 | * Callback as used by {@link google.longrunning.Operations#getOperation}.
|
127 | * @param error Error, if any
|
128 | * @param [response] Operation
|
129 | */
|
130 | type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
131 |
|
132 | /**
|
133 | * Callback as used by {@link google.longrunning.Operations#deleteOperation}.
|
134 | * @param error Error, if any
|
135 | * @param [response] Empty
|
136 | */
|
137 | type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
138 |
|
139 | /**
|
140 | * Callback as used by {@link google.longrunning.Operations#cancelOperation}.
|
141 | * @param error Error, if any
|
142 | * @param [response] Empty
|
143 | */
|
144 | type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
145 |
|
146 | /**
|
147 | * Callback as used by {@link google.longrunning.Operations#waitOperation}.
|
148 | * @param error Error, if any
|
149 | * @param [response] Operation
|
150 | */
|
151 | type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
152 | }
|
153 |
|
154 | /** Properties of an Operation. */
|
155 | interface IOperation {
|
156 |
|
157 | /** Operation name */
|
158 | name?: (string|null);
|
159 |
|
160 | /** Operation metadata */
|
161 | metadata?: (google.protobuf.IAny|null);
|
162 |
|
163 | /** Operation done */
|
164 | done?: (boolean|null);
|
165 |
|
166 | /** Operation error */
|
167 | error?: (google.rpc.IStatus|null);
|
168 |
|
169 | /** Operation response */
|
170 | response?: (google.protobuf.IAny|null);
|
171 | }
|
172 |
|
173 | /** Represents an Operation. */
|
174 | class Operation implements IOperation {
|
175 |
|
176 | /**
|
177 | * Constructs a new Operation.
|
178 | * @param [properties] Properties to set
|
179 | */
|
180 | constructor(properties?: google.longrunning.IOperation);
|
181 |
|
182 | /** Operation name. */
|
183 | public name: string;
|
184 |
|
185 | /** Operation metadata. */
|
186 | public metadata?: (google.protobuf.IAny|null);
|
187 |
|
188 | /** Operation done. */
|
189 | public done: boolean;
|
190 |
|
191 | /** Operation error. */
|
192 | public error?: (google.rpc.IStatus|null);
|
193 |
|
194 | /** Operation response. */
|
195 | public response?: (google.protobuf.IAny|null);
|
196 |
|
197 | /** Operation result. */
|
198 | public result?: ("error"|"response");
|
199 |
|
200 | /**
|
201 | * Creates a new Operation instance using the specified properties.
|
202 | * @param [properties] Properties to set
|
203 | * @returns Operation instance
|
204 | */
|
205 | public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
|
206 |
|
207 | /**
|
208 | * Encodes the specified Operation message. Does not implicitly { google.longrunning.Operation.verify|verify} messages.
|
209 | * message Operation message or plain object to encode
|
210 | * [writer] Writer to encode to
|
211 | * Writer
|
212 | */
|
213 | public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
214 |
|
215 | /**
|
216 | * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
|
217 | * @param message Operation message or plain object to encode
|
218 | * @param [writer] Writer to encode to
|
219 | * @returns Writer
|
220 | */
|
221 | public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
222 |
|
223 | /**
|
224 | * Decodes an Operation message from the specified reader or buffer.
|
225 | * @param reader Reader or buffer to decode from
|
226 | * @param [length] Message length if known beforehand
|
227 | * @returns Operation
|
228 | * @throws {Error} If the payload is not a reader or valid buffer
|
229 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
230 | */
|
231 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
|
232 |
|
233 | /**
|
234 | * Decodes an Operation message from the specified reader or buffer, length delimited.
|
235 | * @param reader Reader or buffer to decode from
|
236 | * @returns Operation
|
237 | * @throws {Error} If the payload is not a reader or valid buffer
|
238 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
239 | */
|
240 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
|
241 |
|
242 | /**
|
243 | * Verifies an Operation message.
|
244 | * @param message Plain object to verify
|
245 | * @returns `null` if valid, otherwise the reason why it is not
|
246 | */
|
247 | public static verify(message: { [k: string]: any }): (string|null);
|
248 |
|
249 | /**
|
250 | * Creates an Operation message from a plain object. Also converts values to their respective internal types.
|
251 | * @param object Plain object
|
252 | * @returns Operation
|
253 | */
|
254 | public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
|
255 |
|
256 | /**
|
257 | * Creates a plain object from an Operation message. Also converts values to other types if specified.
|
258 | * @param message Operation
|
259 | * @param [options] Conversion options
|
260 | * @returns Plain object
|
261 | */
|
262 | public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
263 |
|
264 | /**
|
265 | * Converts this Operation to JSON.
|
266 | * @returns JSON object
|
267 | */
|
268 | public toJSON(): { [k: string]: any };
|
269 | }
|
270 |
|
271 | /** Properties of a GetOperationRequest. */
|
272 | interface IGetOperationRequest {
|
273 |
|
274 | /** GetOperationRequest name */
|
275 | name?: (string|null);
|
276 | }
|
277 |
|
278 | /** Represents a GetOperationRequest. */
|
279 | class GetOperationRequest implements IGetOperationRequest {
|
280 |
|
281 | /**
|
282 | * Constructs a new GetOperationRequest.
|
283 | * @param [properties] Properties to set
|
284 | */
|
285 | constructor(properties?: google.longrunning.IGetOperationRequest);
|
286 |
|
287 | /** GetOperationRequest name. */
|
288 | public name: string;
|
289 |
|
290 | /**
|
291 | * Creates a new GetOperationRequest instance using the specified properties.
|
292 | * @param [properties] Properties to set
|
293 | * @returns GetOperationRequest instance
|
294 | */
|
295 | public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
|
296 |
|
297 | /**
|
298 | * Encodes the specified GetOperationRequest message. Does not implicitly { google.longrunning.GetOperationRequest.verify|verify} messages.
|
299 | * message GetOperationRequest message or plain object to encode
|
300 | * [writer] Writer to encode to
|
301 | * Writer
|
302 | */
|
303 | public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
304 |
|
305 | /**
|
306 | * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
|
307 | * @param message GetOperationRequest message or plain object to encode
|
308 | * @param [writer] Writer to encode to
|
309 | * @returns Writer
|
310 | */
|
311 | public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
312 |
|
313 | /**
|
314 | * Decodes a GetOperationRequest message from the specified reader or buffer.
|
315 | * @param reader Reader or buffer to decode from
|
316 | * @param [length] Message length if known beforehand
|
317 | * @returns GetOperationRequest
|
318 | * @throws {Error} If the payload is not a reader or valid buffer
|
319 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
320 | */
|
321 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
|
322 |
|
323 | /**
|
324 | * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
|
325 | * @param reader Reader or buffer to decode from
|
326 | * @returns GetOperationRequest
|
327 | * @throws {Error} If the payload is not a reader or valid buffer
|
328 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
329 | */
|
330 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
|
331 |
|
332 | /**
|
333 | * Verifies a GetOperationRequest message.
|
334 | * @param message Plain object to verify
|
335 | * @returns `null` if valid, otherwise the reason why it is not
|
336 | */
|
337 | public static verify(message: { [k: string]: any }): (string|null);
|
338 |
|
339 | /**
|
340 | * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
|
341 | * @param object Plain object
|
342 | * @returns GetOperationRequest
|
343 | */
|
344 | public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
|
345 |
|
346 | /**
|
347 | * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
|
348 | * @param message GetOperationRequest
|
349 | * @param [options] Conversion options
|
350 | * @returns Plain object
|
351 | */
|
352 | public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
353 |
|
354 | /**
|
355 | * Converts this GetOperationRequest to JSON.
|
356 | * @returns JSON object
|
357 | */
|
358 | public toJSON(): { [k: string]: any };
|
359 | }
|
360 |
|
361 | /** Properties of a ListOperationsRequest. */
|
362 | interface IListOperationsRequest {
|
363 |
|
364 | /** ListOperationsRequest name */
|
365 | name?: (string|null);
|
366 |
|
367 | /** ListOperationsRequest filter */
|
368 | filter?: (string|null);
|
369 |
|
370 | /** ListOperationsRequest pageSize */
|
371 | pageSize?: (number|null);
|
372 |
|
373 | /** ListOperationsRequest pageToken */
|
374 | pageToken?: (string|null);
|
375 | }
|
376 |
|
377 | /** Represents a ListOperationsRequest. */
|
378 | class ListOperationsRequest implements IListOperationsRequest {
|
379 |
|
380 | /**
|
381 | * Constructs a new ListOperationsRequest.
|
382 | * @param [properties] Properties to set
|
383 | */
|
384 | constructor(properties?: google.longrunning.IListOperationsRequest);
|
385 |
|
386 | /** ListOperationsRequest name. */
|
387 | public name: string;
|
388 |
|
389 | /** ListOperationsRequest filter. */
|
390 | public filter: string;
|
391 |
|
392 | /** ListOperationsRequest pageSize. */
|
393 | public pageSize: number;
|
394 |
|
395 | /** ListOperationsRequest pageToken. */
|
396 | public pageToken: string;
|
397 |
|
398 | /**
|
399 | * Creates a new ListOperationsRequest instance using the specified properties.
|
400 | * @param [properties] Properties to set
|
401 | * @returns ListOperationsRequest instance
|
402 | */
|
403 | public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
|
404 |
|
405 | /**
|
406 | * Encodes the specified ListOperationsRequest message. Does not implicitly { google.longrunning.ListOperationsRequest.verify|verify} messages.
|
407 | * message ListOperationsRequest message or plain object to encode
|
408 | * [writer] Writer to encode to
|
409 | * Writer
|
410 | */
|
411 | public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
412 |
|
413 | /**
|
414 | * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
|
415 | * @param message ListOperationsRequest message or plain object to encode
|
416 | * @param [writer] Writer to encode to
|
417 | * @returns Writer
|
418 | */
|
419 | public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
420 |
|
421 | /**
|
422 | * Decodes a ListOperationsRequest message from the specified reader or buffer.
|
423 | * @param reader Reader or buffer to decode from
|
424 | * @param [length] Message length if known beforehand
|
425 | * @returns ListOperationsRequest
|
426 | * @throws {Error} If the payload is not a reader or valid buffer
|
427 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
428 | */
|
429 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
|
430 |
|
431 | /**
|
432 | * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
|
433 | * @param reader Reader or buffer to decode from
|
434 | * @returns ListOperationsRequest
|
435 | * @throws {Error} If the payload is not a reader or valid buffer
|
436 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
437 | */
|
438 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
|
439 |
|
440 | /**
|
441 | * Verifies a ListOperationsRequest message.
|
442 | * @param message Plain object to verify
|
443 | * @returns `null` if valid, otherwise the reason why it is not
|
444 | */
|
445 | public static verify(message: { [k: string]: any }): (string|null);
|
446 |
|
447 | /**
|
448 | * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
|
449 | * @param object Plain object
|
450 | * @returns ListOperationsRequest
|
451 | */
|
452 | public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
|
453 |
|
454 | /**
|
455 | * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
|
456 | * @param message ListOperationsRequest
|
457 | * @param [options] Conversion options
|
458 | * @returns Plain object
|
459 | */
|
460 | public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
461 |
|
462 | /**
|
463 | * Converts this ListOperationsRequest to JSON.
|
464 | * @returns JSON object
|
465 | */
|
466 | public toJSON(): { [k: string]: any };
|
467 | }
|
468 |
|
469 | /** Properties of a ListOperationsResponse. */
|
470 | interface IListOperationsResponse {
|
471 |
|
472 | /** ListOperationsResponse operations */
|
473 | operations?: (google.longrunning.IOperation[]|null);
|
474 |
|
475 | /** ListOperationsResponse nextPageToken */
|
476 | nextPageToken?: (string|null);
|
477 | }
|
478 |
|
479 | /** Represents a ListOperationsResponse. */
|
480 | class ListOperationsResponse implements IListOperationsResponse {
|
481 |
|
482 | /**
|
483 | * Constructs a new ListOperationsResponse.
|
484 | * @param [properties] Properties to set
|
485 | */
|
486 | constructor(properties?: google.longrunning.IListOperationsResponse);
|
487 |
|
488 | /** ListOperationsResponse operations. */
|
489 | public operations: google.longrunning.IOperation[];
|
490 |
|
491 | /** ListOperationsResponse nextPageToken. */
|
492 | public nextPageToken: string;
|
493 |
|
494 | /**
|
495 | * Creates a new ListOperationsResponse instance using the specified properties.
|
496 | * @param [properties] Properties to set
|
497 | * @returns ListOperationsResponse instance
|
498 | */
|
499 | public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
|
500 |
|
501 | /**
|
502 | * Encodes the specified ListOperationsResponse message. Does not implicitly { google.longrunning.ListOperationsResponse.verify|verify} messages.
|
503 | * message ListOperationsResponse message or plain object to encode
|
504 | * [writer] Writer to encode to
|
505 | * Writer
|
506 | */
|
507 | public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
508 |
|
509 | /**
|
510 | * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
|
511 | * @param message ListOperationsResponse message or plain object to encode
|
512 | * @param [writer] Writer to encode to
|
513 | * @returns Writer
|
514 | */
|
515 | public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
516 |
|
517 | /**
|
518 | * Decodes a ListOperationsResponse message from the specified reader or buffer.
|
519 | * @param reader Reader or buffer to decode from
|
520 | * @param [length] Message length if known beforehand
|
521 | * @returns ListOperationsResponse
|
522 | * @throws {Error} If the payload is not a reader or valid buffer
|
523 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
524 | */
|
525 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
|
526 |
|
527 | /**
|
528 | * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
|
529 | * @param reader Reader or buffer to decode from
|
530 | * @returns ListOperationsResponse
|
531 | * @throws {Error} If the payload is not a reader or valid buffer
|
532 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
533 | */
|
534 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
|
535 |
|
536 | /**
|
537 | * Verifies a ListOperationsResponse message.
|
538 | * @param message Plain object to verify
|
539 | * @returns `null` if valid, otherwise the reason why it is not
|
540 | */
|
541 | public static verify(message: { [k: string]: any }): (string|null);
|
542 |
|
543 | /**
|
544 | * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
|
545 | * @param object Plain object
|
546 | * @returns ListOperationsResponse
|
547 | */
|
548 | public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
|
549 |
|
550 | /**
|
551 | * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
|
552 | * @param message ListOperationsResponse
|
553 | * @param [options] Conversion options
|
554 | * @returns Plain object
|
555 | */
|
556 | public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
557 |
|
558 | /**
|
559 | * Converts this ListOperationsResponse to JSON.
|
560 | * @returns JSON object
|
561 | */
|
562 | public toJSON(): { [k: string]: any };
|
563 | }
|
564 |
|
565 | /** Properties of a CancelOperationRequest. */
|
566 | interface ICancelOperationRequest {
|
567 |
|
568 | /** CancelOperationRequest name */
|
569 | name?: (string|null);
|
570 | }
|
571 |
|
572 | /** Represents a CancelOperationRequest. */
|
573 | class CancelOperationRequest implements ICancelOperationRequest {
|
574 |
|
575 | /**
|
576 | * Constructs a new CancelOperationRequest.
|
577 | * @param [properties] Properties to set
|
578 | */
|
579 | constructor(properties?: google.longrunning.ICancelOperationRequest);
|
580 |
|
581 | /** CancelOperationRequest name. */
|
582 | public name: string;
|
583 |
|
584 | /**
|
585 | * Creates a new CancelOperationRequest instance using the specified properties.
|
586 | * @param [properties] Properties to set
|
587 | * @returns CancelOperationRequest instance
|
588 | */
|
589 | public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
|
590 |
|
591 | /**
|
592 | * Encodes the specified CancelOperationRequest message. Does not implicitly { google.longrunning.CancelOperationRequest.verify|verify} messages.
|
593 | * message CancelOperationRequest message or plain object to encode
|
594 | * [writer] Writer to encode to
|
595 | * Writer
|
596 | */
|
597 | public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
598 |
|
599 | /**
|
600 | * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
|
601 | * @param message CancelOperationRequest message or plain object to encode
|
602 | * @param [writer] Writer to encode to
|
603 | * @returns Writer
|
604 | */
|
605 | public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
606 |
|
607 | /**
|
608 | * Decodes a CancelOperationRequest message from the specified reader or buffer.
|
609 | * @param reader Reader or buffer to decode from
|
610 | * @param [length] Message length if known beforehand
|
611 | * @returns CancelOperationRequest
|
612 | * @throws {Error} If the payload is not a reader or valid buffer
|
613 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
614 | */
|
615 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
|
616 |
|
617 | /**
|
618 | * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
|
619 | * @param reader Reader or buffer to decode from
|
620 | * @returns CancelOperationRequest
|
621 | * @throws {Error} If the payload is not a reader or valid buffer
|
622 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
623 | */
|
624 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
|
625 |
|
626 | /**
|
627 | * Verifies a CancelOperationRequest message.
|
628 | * @param message Plain object to verify
|
629 | * @returns `null` if valid, otherwise the reason why it is not
|
630 | */
|
631 | public static verify(message: { [k: string]: any }): (string|null);
|
632 |
|
633 | /**
|
634 | * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
|
635 | * @param object Plain object
|
636 | * @returns CancelOperationRequest
|
637 | */
|
638 | public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
|
639 |
|
640 | /**
|
641 | * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
|
642 | * @param message CancelOperationRequest
|
643 | * @param [options] Conversion options
|
644 | * @returns Plain object
|
645 | */
|
646 | public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
647 |
|
648 | /**
|
649 | * Converts this CancelOperationRequest to JSON.
|
650 | * @returns JSON object
|
651 | */
|
652 | public toJSON(): { [k: string]: any };
|
653 | }
|
654 |
|
655 | /** Properties of a DeleteOperationRequest. */
|
656 | interface IDeleteOperationRequest {
|
657 |
|
658 | /** DeleteOperationRequest name */
|
659 | name?: (string|null);
|
660 | }
|
661 |
|
662 | /** Represents a DeleteOperationRequest. */
|
663 | class DeleteOperationRequest implements IDeleteOperationRequest {
|
664 |
|
665 | /**
|
666 | * Constructs a new DeleteOperationRequest.
|
667 | * @param [properties] Properties to set
|
668 | */
|
669 | constructor(properties?: google.longrunning.IDeleteOperationRequest);
|
670 |
|
671 | /** DeleteOperationRequest name. */
|
672 | public name: string;
|
673 |
|
674 | /**
|
675 | * Creates a new DeleteOperationRequest instance using the specified properties.
|
676 | * @param [properties] Properties to set
|
677 | * @returns DeleteOperationRequest instance
|
678 | */
|
679 | public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
|
680 |
|
681 | /**
|
682 | * Encodes the specified DeleteOperationRequest message. Does not implicitly { google.longrunning.DeleteOperationRequest.verify|verify} messages.
|
683 | * message DeleteOperationRequest message or plain object to encode
|
684 | * [writer] Writer to encode to
|
685 | * Writer
|
686 | */
|
687 | public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
688 |
|
689 | /**
|
690 | * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
|
691 | * @param message DeleteOperationRequest message or plain object to encode
|
692 | * @param [writer] Writer to encode to
|
693 | * @returns Writer
|
694 | */
|
695 | public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
696 |
|
697 | /**
|
698 | * Decodes a DeleteOperationRequest message from the specified reader or buffer.
|
699 | * @param reader Reader or buffer to decode from
|
700 | * @param [length] Message length if known beforehand
|
701 | * @returns DeleteOperationRequest
|
702 | * @throws {Error} If the payload is not a reader or valid buffer
|
703 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
704 | */
|
705 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
|
706 |
|
707 | /**
|
708 | * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
|
709 | * @param reader Reader or buffer to decode from
|
710 | * @returns DeleteOperationRequest
|
711 | * @throws {Error} If the payload is not a reader or valid buffer
|
712 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
713 | */
|
714 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
|
715 |
|
716 | /**
|
717 | * Verifies a DeleteOperationRequest message.
|
718 | * @param message Plain object to verify
|
719 | * @returns `null` if valid, otherwise the reason why it is not
|
720 | */
|
721 | public static verify(message: { [k: string]: any }): (string|null);
|
722 |
|
723 | /**
|
724 | * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
|
725 | * @param object Plain object
|
726 | * @returns DeleteOperationRequest
|
727 | */
|
728 | public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
|
729 |
|
730 | /**
|
731 | * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
|
732 | * @param message DeleteOperationRequest
|
733 | * @param [options] Conversion options
|
734 | * @returns Plain object
|
735 | */
|
736 | public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
737 |
|
738 | /**
|
739 | * Converts this DeleteOperationRequest to JSON.
|
740 | * @returns JSON object
|
741 | */
|
742 | public toJSON(): { [k: string]: any };
|
743 | }
|
744 |
|
745 | /** Properties of a WaitOperationRequest. */
|
746 | interface IWaitOperationRequest {
|
747 |
|
748 | /** WaitOperationRequest name */
|
749 | name?: (string|null);
|
750 |
|
751 | /** WaitOperationRequest timeout */
|
752 | timeout?: (google.protobuf.IDuration|null);
|
753 | }
|
754 |
|
755 | /** Represents a WaitOperationRequest. */
|
756 | class WaitOperationRequest implements IWaitOperationRequest {
|
757 |
|
758 | /**
|
759 | * Constructs a new WaitOperationRequest.
|
760 | * @param [properties] Properties to set
|
761 | */
|
762 | constructor(properties?: google.longrunning.IWaitOperationRequest);
|
763 |
|
764 | /** WaitOperationRequest name. */
|
765 | public name: string;
|
766 |
|
767 | /** WaitOperationRequest timeout. */
|
768 | public timeout?: (google.protobuf.IDuration|null);
|
769 |
|
770 | /**
|
771 | * Creates a new WaitOperationRequest instance using the specified properties.
|
772 | * @param [properties] Properties to set
|
773 | * @returns WaitOperationRequest instance
|
774 | */
|
775 | public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
|
776 |
|
777 | /**
|
778 | * Encodes the specified WaitOperationRequest message. Does not implicitly { google.longrunning.WaitOperationRequest.verify|verify} messages.
|
779 | * message WaitOperationRequest message or plain object to encode
|
780 | * [writer] Writer to encode to
|
781 | * Writer
|
782 | */
|
783 | public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
784 |
|
785 | /**
|
786 | * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
|
787 | * @param message WaitOperationRequest message or plain object to encode
|
788 | * @param [writer] Writer to encode to
|
789 | * @returns Writer
|
790 | */
|
791 | public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
792 |
|
793 | /**
|
794 | * Decodes a WaitOperationRequest message from the specified reader or buffer.
|
795 | * @param reader Reader or buffer to decode from
|
796 | * @param [length] Message length if known beforehand
|
797 | * @returns WaitOperationRequest
|
798 | * @throws {Error} If the payload is not a reader or valid buffer
|
799 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
800 | */
|
801 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
|
802 |
|
803 | /**
|
804 | * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
|
805 | * @param reader Reader or buffer to decode from
|
806 | * @returns WaitOperationRequest
|
807 | * @throws {Error} If the payload is not a reader or valid buffer
|
808 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
809 | */
|
810 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
|
811 |
|
812 | /**
|
813 | * Verifies a WaitOperationRequest message.
|
814 | * @param message Plain object to verify
|
815 | * @returns `null` if valid, otherwise the reason why it is not
|
816 | */
|
817 | public static verify(message: { [k: string]: any }): (string|null);
|
818 |
|
819 | /**
|
820 | * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
|
821 | * @param object Plain object
|
822 | * @returns WaitOperationRequest
|
823 | */
|
824 | public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
|
825 |
|
826 | /**
|
827 | * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
|
828 | * @param message WaitOperationRequest
|
829 | * @param [options] Conversion options
|
830 | * @returns Plain object
|
831 | */
|
832 | public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
833 |
|
834 | /**
|
835 | * Converts this WaitOperationRequest to JSON.
|
836 | * @returns JSON object
|
837 | */
|
838 | public toJSON(): { [k: string]: any };
|
839 | }
|
840 |
|
841 | /** Properties of an OperationInfo. */
|
842 | interface IOperationInfo {
|
843 |
|
844 | /** OperationInfo responseType */
|
845 | responseType?: (string|null);
|
846 |
|
847 | /** OperationInfo metadataType */
|
848 | metadataType?: (string|null);
|
849 | }
|
850 |
|
851 | /** Represents an OperationInfo. */
|
852 | class OperationInfo implements IOperationInfo {
|
853 |
|
854 | /**
|
855 | * Constructs a new OperationInfo.
|
856 | * @param [properties] Properties to set
|
857 | */
|
858 | constructor(properties?: google.longrunning.IOperationInfo);
|
859 |
|
860 | /** OperationInfo responseType. */
|
861 | public responseType: string;
|
862 |
|
863 | /** OperationInfo metadataType. */
|
864 | public metadataType: string;
|
865 |
|
866 | /**
|
867 | * Creates a new OperationInfo instance using the specified properties.
|
868 | * @param [properties] Properties to set
|
869 | * @returns OperationInfo instance
|
870 | */
|
871 | public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
|
872 |
|
873 | /**
|
874 | * Encodes the specified OperationInfo message. Does not implicitly { google.longrunning.OperationInfo.verify|verify} messages.
|
875 | * message OperationInfo message or plain object to encode
|
876 | * [writer] Writer to encode to
|
877 | * Writer
|
878 | */
|
879 | public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
880 |
|
881 | /**
|
882 | * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
|
883 | * @param message OperationInfo message or plain object to encode
|
884 | * @param [writer] Writer to encode to
|
885 | * @returns Writer
|
886 | */
|
887 | public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
888 |
|
889 | /**
|
890 | * Decodes an OperationInfo message from the specified reader or buffer.
|
891 | * @param reader Reader or buffer to decode from
|
892 | * @param [length] Message length if known beforehand
|
893 | * @returns OperationInfo
|
894 | * @throws {Error} If the payload is not a reader or valid buffer
|
895 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
896 | */
|
897 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
|
898 |
|
899 | /**
|
900 | * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
|
901 | * @param reader Reader or buffer to decode from
|
902 | * @returns OperationInfo
|
903 | * @throws {Error} If the payload is not a reader or valid buffer
|
904 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
905 | */
|
906 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
|
907 |
|
908 | /**
|
909 | * Verifies an OperationInfo message.
|
910 | * @param message Plain object to verify
|
911 | * @returns `null` if valid, otherwise the reason why it is not
|
912 | */
|
913 | public static verify(message: { [k: string]: any }): (string|null);
|
914 |
|
915 | /**
|
916 | * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
|
917 | * @param object Plain object
|
918 | * @returns OperationInfo
|
919 | */
|
920 | public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
|
921 |
|
922 | /**
|
923 | * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
|
924 | * @param message OperationInfo
|
925 | * @param [options] Conversion options
|
926 | * @returns Plain object
|
927 | */
|
928 | public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
929 |
|
930 | /**
|
931 | * Converts this OperationInfo to JSON.
|
932 | * @returns JSON object
|
933 | */
|
934 | public toJSON(): { [k: string]: any };
|
935 | }
|
936 | }
|
937 |
|
938 | /** Namespace api. */
|
939 | namespace api {
|
940 |
|
941 | /** Properties of a Http. */
|
942 | interface IHttp {
|
943 |
|
944 | /** Http rules */
|
945 | rules?: (google.api.IHttpRule[]|null);
|
946 |
|
947 | /** Http fullyDecodeReservedExpansion */
|
948 | fullyDecodeReservedExpansion?: (boolean|null);
|
949 | }
|
950 |
|
951 | /** Represents a Http. */
|
952 | class Http implements IHttp {
|
953 |
|
954 | /**
|
955 | * Constructs a new Http.
|
956 | * @param [properties] Properties to set
|
957 | */
|
958 | constructor(properties?: google.api.IHttp);
|
959 |
|
960 | /** Http rules. */
|
961 | public rules: google.api.IHttpRule[];
|
962 |
|
963 | /** Http fullyDecodeReservedExpansion. */
|
964 | public fullyDecodeReservedExpansion: boolean;
|
965 |
|
966 | /**
|
967 | * Creates a new Http instance using the specified properties.
|
968 | * @param [properties] Properties to set
|
969 | * @returns Http instance
|
970 | */
|
971 | public static create(properties?: google.api.IHttp): google.api.Http;
|
972 |
|
973 | /**
|
974 | * Encodes the specified Http message. Does not implicitly { google.api.Http.verify|verify} messages.
|
975 | * message Http message or plain object to encode
|
976 | * [writer] Writer to encode to
|
977 | * Writer
|
978 | */
|
979 | public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
980 |
|
981 | /**
|
982 | * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
|
983 | * @param message Http message or plain object to encode
|
984 | * @param [writer] Writer to encode to
|
985 | * @returns Writer
|
986 | */
|
987 | public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
988 |
|
989 | /**
|
990 | * Decodes a Http message from the specified reader or buffer.
|
991 | * @param reader Reader or buffer to decode from
|
992 | * @param [length] Message length if known beforehand
|
993 | * @returns Http
|
994 | * @throws {Error} If the payload is not a reader or valid buffer
|
995 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
996 | */
|
997 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
|
998 |
|
999 | /**
|
1000 | * Decodes a Http message from the specified reader or buffer, length delimited.
|
1001 | * @param reader Reader or buffer to decode from
|
1002 | * @returns Http
|
1003 | * @throws {Error} If the payload is not a reader or valid buffer
|
1004 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1005 | */
|
1006 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
|
1007 |
|
1008 | /**
|
1009 | * Verifies a Http message.
|
1010 | * @param message Plain object to verify
|
1011 | * @returns `null` if valid, otherwise the reason why it is not
|
1012 | */
|
1013 | public static verify(message: { [k: string]: any }): (string|null);
|
1014 |
|
1015 | /**
|
1016 | * Creates a Http message from a plain object. Also converts values to their respective internal types.
|
1017 | * @param object Plain object
|
1018 | * @returns Http
|
1019 | */
|
1020 | public static fromObject(object: { [k: string]: any }): google.api.Http;
|
1021 |
|
1022 | /**
|
1023 | * Creates a plain object from a Http message. Also converts values to other types if specified.
|
1024 | * @param message Http
|
1025 | * @param [options] Conversion options
|
1026 | * @returns Plain object
|
1027 | */
|
1028 | public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1029 |
|
1030 | /**
|
1031 | * Converts this Http to JSON.
|
1032 | * @returns JSON object
|
1033 | */
|
1034 | public toJSON(): { [k: string]: any };
|
1035 | }
|
1036 |
|
1037 | /** Properties of a HttpRule. */
|
1038 | interface IHttpRule {
|
1039 |
|
1040 | /** HttpRule selector */
|
1041 | selector?: (string|null);
|
1042 |
|
1043 | /** HttpRule get */
|
1044 | get?: (string|null);
|
1045 |
|
1046 | /** HttpRule put */
|
1047 | put?: (string|null);
|
1048 |
|
1049 | /** HttpRule post */
|
1050 | post?: (string|null);
|
1051 |
|
1052 | /** HttpRule delete */
|
1053 | "delete"?: (string|null);
|
1054 |
|
1055 | /** HttpRule patch */
|
1056 | patch?: (string|null);
|
1057 |
|
1058 | /** HttpRule custom */
|
1059 | custom?: (google.api.ICustomHttpPattern|null);
|
1060 |
|
1061 | /** HttpRule body */
|
1062 | body?: (string|null);
|
1063 |
|
1064 | /** HttpRule responseBody */
|
1065 | responseBody?: (string|null);
|
1066 |
|
1067 | /** HttpRule additionalBindings */
|
1068 | additionalBindings?: (google.api.IHttpRule[]|null);
|
1069 | }
|
1070 |
|
1071 | /** Represents a HttpRule. */
|
1072 | class HttpRule implements IHttpRule {
|
1073 |
|
1074 | /**
|
1075 | * Constructs a new HttpRule.
|
1076 | * @param [properties] Properties to set
|
1077 | */
|
1078 | constructor(properties?: google.api.IHttpRule);
|
1079 |
|
1080 | /** HttpRule selector. */
|
1081 | public selector: string;
|
1082 |
|
1083 | /** HttpRule get. */
|
1084 | public get: string;
|
1085 |
|
1086 | /** HttpRule put. */
|
1087 | public put: string;
|
1088 |
|
1089 | /** HttpRule post. */
|
1090 | public post: string;
|
1091 |
|
1092 | /** HttpRule delete. */
|
1093 | public delete: string;
|
1094 |
|
1095 | /** HttpRule patch. */
|
1096 | public patch: string;
|
1097 |
|
1098 | /** HttpRule custom. */
|
1099 | public custom?: (google.api.ICustomHttpPattern|null);
|
1100 |
|
1101 | /** HttpRule body. */
|
1102 | public body: string;
|
1103 |
|
1104 | /** HttpRule responseBody. */
|
1105 | public responseBody: string;
|
1106 |
|
1107 | /** HttpRule additionalBindings. */
|
1108 | public additionalBindings: google.api.IHttpRule[];
|
1109 |
|
1110 | /** HttpRule pattern. */
|
1111 | public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
|
1112 |
|
1113 | /**
|
1114 | * Creates a new HttpRule instance using the specified properties.
|
1115 | * @param [properties] Properties to set
|
1116 | * @returns HttpRule instance
|
1117 | */
|
1118 | public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
|
1119 |
|
1120 | /**
|
1121 | * Encodes the specified HttpRule message. Does not implicitly { google.api.HttpRule.verify|verify} messages.
|
1122 | * message HttpRule message or plain object to encode
|
1123 | * [writer] Writer to encode to
|
1124 | * Writer
|
1125 | */
|
1126 | public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
1127 |
|
1128 | /**
|
1129 | * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
|
1130 | * @param message HttpRule message or plain object to encode
|
1131 | * @param [writer] Writer to encode to
|
1132 | * @returns Writer
|
1133 | */
|
1134 | public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
1135 |
|
1136 | /**
|
1137 | * Decodes a HttpRule message from the specified reader or buffer.
|
1138 | * @param reader Reader or buffer to decode from
|
1139 | * @param [length] Message length if known beforehand
|
1140 | * @returns HttpRule
|
1141 | * @throws {Error} If the payload is not a reader or valid buffer
|
1142 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1143 | */
|
1144 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
|
1145 |
|
1146 | /**
|
1147 | * Decodes a HttpRule message from the specified reader or buffer, length delimited.
|
1148 | * @param reader Reader or buffer to decode from
|
1149 | * @returns HttpRule
|
1150 | * @throws {Error} If the payload is not a reader or valid buffer
|
1151 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1152 | */
|
1153 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
|
1154 |
|
1155 | /**
|
1156 | * Verifies a HttpRule message.
|
1157 | * @param message Plain object to verify
|
1158 | * @returns `null` if valid, otherwise the reason why it is not
|
1159 | */
|
1160 | public static verify(message: { [k: string]: any }): (string|null);
|
1161 |
|
1162 | /**
|
1163 | * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
|
1164 | * @param object Plain object
|
1165 | * @returns HttpRule
|
1166 | */
|
1167 | public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
|
1168 |
|
1169 | /**
|
1170 | * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
|
1171 | * @param message HttpRule
|
1172 | * @param [options] Conversion options
|
1173 | * @returns Plain object
|
1174 | */
|
1175 | public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1176 |
|
1177 | /**
|
1178 | * Converts this HttpRule to JSON.
|
1179 | * @returns JSON object
|
1180 | */
|
1181 | public toJSON(): { [k: string]: any };
|
1182 | }
|
1183 |
|
1184 | /** Properties of a CustomHttpPattern. */
|
1185 | interface ICustomHttpPattern {
|
1186 |
|
1187 | /** CustomHttpPattern kind */
|
1188 | kind?: (string|null);
|
1189 |
|
1190 | /** CustomHttpPattern path */
|
1191 | path?: (string|null);
|
1192 | }
|
1193 |
|
1194 | /** Represents a CustomHttpPattern. */
|
1195 | class CustomHttpPattern implements ICustomHttpPattern {
|
1196 |
|
1197 | /**
|
1198 | * Constructs a new CustomHttpPattern.
|
1199 | * @param [properties] Properties to set
|
1200 | */
|
1201 | constructor(properties?: google.api.ICustomHttpPattern);
|
1202 |
|
1203 | /** CustomHttpPattern kind. */
|
1204 | public kind: string;
|
1205 |
|
1206 | /** CustomHttpPattern path. */
|
1207 | public path: string;
|
1208 |
|
1209 | /**
|
1210 | * Creates a new CustomHttpPattern instance using the specified properties.
|
1211 | * @param [properties] Properties to set
|
1212 | * @returns CustomHttpPattern instance
|
1213 | */
|
1214 | public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
|
1215 |
|
1216 | /**
|
1217 | * Encodes the specified CustomHttpPattern message. Does not implicitly { google.api.CustomHttpPattern.verify|verify} messages.
|
1218 | * message CustomHttpPattern message or plain object to encode
|
1219 | * [writer] Writer to encode to
|
1220 | * Writer
|
1221 | */
|
1222 | public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
1223 |
|
1224 | /**
|
1225 | * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
|
1226 | * @param message CustomHttpPattern message or plain object to encode
|
1227 | * @param [writer] Writer to encode to
|
1228 | * @returns Writer
|
1229 | */
|
1230 | public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
1231 |
|
1232 | /**
|
1233 | * Decodes a CustomHttpPattern message from the specified reader or buffer.
|
1234 | * @param reader Reader or buffer to decode from
|
1235 | * @param [length] Message length if known beforehand
|
1236 | * @returns CustomHttpPattern
|
1237 | * @throws {Error} If the payload is not a reader or valid buffer
|
1238 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1239 | */
|
1240 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
|
1241 |
|
1242 | /**
|
1243 | * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
|
1244 | * @param reader Reader or buffer to decode from
|
1245 | * @returns CustomHttpPattern
|
1246 | * @throws {Error} If the payload is not a reader or valid buffer
|
1247 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1248 | */
|
1249 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
|
1250 |
|
1251 | /**
|
1252 | * Verifies a CustomHttpPattern message.
|
1253 | * @param message Plain object to verify
|
1254 | * @returns `null` if valid, otherwise the reason why it is not
|
1255 | */
|
1256 | public static verify(message: { [k: string]: any }): (string|null);
|
1257 |
|
1258 | /**
|
1259 | * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
|
1260 | * @param object Plain object
|
1261 | * @returns CustomHttpPattern
|
1262 | */
|
1263 | public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
|
1264 |
|
1265 | /**
|
1266 | * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
|
1267 | * @param message CustomHttpPattern
|
1268 | * @param [options] Conversion options
|
1269 | * @returns Plain object
|
1270 | */
|
1271 | public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1272 |
|
1273 | /**
|
1274 | * Converts this CustomHttpPattern to JSON.
|
1275 | * @returns JSON object
|
1276 | */
|
1277 | public toJSON(): { [k: string]: any };
|
1278 | }
|
1279 | }
|
1280 |
|
1281 | /** Namespace protobuf. */
|
1282 | namespace protobuf {
|
1283 |
|
1284 | /** Properties of a FileDescriptorSet. */
|
1285 | interface IFileDescriptorSet {
|
1286 |
|
1287 | /** FileDescriptorSet file */
|
1288 | file?: (google.protobuf.IFileDescriptorProto[]|null);
|
1289 | }
|
1290 |
|
1291 | /** Represents a FileDescriptorSet. */
|
1292 | class FileDescriptorSet implements IFileDescriptorSet {
|
1293 |
|
1294 | /**
|
1295 | * Constructs a new FileDescriptorSet.
|
1296 | * @param [properties] Properties to set
|
1297 | */
|
1298 | constructor(properties?: google.protobuf.IFileDescriptorSet);
|
1299 |
|
1300 | /** FileDescriptorSet file. */
|
1301 | public file: google.protobuf.IFileDescriptorProto[];
|
1302 |
|
1303 | /**
|
1304 | * Creates a new FileDescriptorSet instance using the specified properties.
|
1305 | * @param [properties] Properties to set
|
1306 | * @returns FileDescriptorSet instance
|
1307 | */
|
1308 | public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
|
1309 |
|
1310 | /**
|
1311 | * Encodes the specified FileDescriptorSet message. Does not implicitly { google.protobuf.FileDescriptorSet.verify|verify} messages.
|
1312 | * message FileDescriptorSet message or plain object to encode
|
1313 | * [writer] Writer to encode to
|
1314 | * Writer
|
1315 | */
|
1316 | public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
1317 |
|
1318 | /**
|
1319 | * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
1320 | * @param message FileDescriptorSet message or plain object to encode
|
1321 | * @param [writer] Writer to encode to
|
1322 | * @returns Writer
|
1323 | */
|
1324 | public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
1325 |
|
1326 | /**
|
1327 | * Decodes a FileDescriptorSet message from the specified reader or buffer.
|
1328 | * @param reader Reader or buffer to decode from
|
1329 | * @param [length] Message length if known beforehand
|
1330 | * @returns FileDescriptorSet
|
1331 | * @throws {Error} If the payload is not a reader or valid buffer
|
1332 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1333 | */
|
1334 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
|
1335 |
|
1336 | /**
|
1337 | * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
|
1338 | * @param reader Reader or buffer to decode from
|
1339 | * @returns FileDescriptorSet
|
1340 | * @throws {Error} If the payload is not a reader or valid buffer
|
1341 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1342 | */
|
1343 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
|
1344 |
|
1345 | /**
|
1346 | * Verifies a FileDescriptorSet message.
|
1347 | * @param message Plain object to verify
|
1348 | * @returns `null` if valid, otherwise the reason why it is not
|
1349 | */
|
1350 | public static verify(message: { [k: string]: any }): (string|null);
|
1351 |
|
1352 | /**
|
1353 | * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
|
1354 | * @param object Plain object
|
1355 | * @returns FileDescriptorSet
|
1356 | */
|
1357 | public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
|
1358 |
|
1359 | /**
|
1360 | * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
|
1361 | * @param message FileDescriptorSet
|
1362 | * @param [options] Conversion options
|
1363 | * @returns Plain object
|
1364 | */
|
1365 | public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1366 |
|
1367 | /**
|
1368 | * Converts this FileDescriptorSet to JSON.
|
1369 | * @returns JSON object
|
1370 | */
|
1371 | public toJSON(): { [k: string]: any };
|
1372 | }
|
1373 |
|
1374 | /** Properties of a FileDescriptorProto. */
|
1375 | interface IFileDescriptorProto {
|
1376 |
|
1377 | /** FileDescriptorProto name */
|
1378 | name?: (string|null);
|
1379 |
|
1380 | /** FileDescriptorProto package */
|
1381 | "package"?: (string|null);
|
1382 |
|
1383 | /** FileDescriptorProto dependency */
|
1384 | dependency?: (string[]|null);
|
1385 |
|
1386 | /** FileDescriptorProto publicDependency */
|
1387 | publicDependency?: (number[]|null);
|
1388 |
|
1389 | /** FileDescriptorProto weakDependency */
|
1390 | weakDependency?: (number[]|null);
|
1391 |
|
1392 | /** FileDescriptorProto messageType */
|
1393 | messageType?: (google.protobuf.IDescriptorProto[]|null);
|
1394 |
|
1395 | /** FileDescriptorProto enumType */
|
1396 | enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
|
1397 |
|
1398 | /** FileDescriptorProto service */
|
1399 | service?: (google.protobuf.IServiceDescriptorProto[]|null);
|
1400 |
|
1401 | /** FileDescriptorProto extension */
|
1402 | extension?: (google.protobuf.IFieldDescriptorProto[]|null);
|
1403 |
|
1404 | /** FileDescriptorProto options */
|
1405 | options?: (google.protobuf.IFileOptions|null);
|
1406 |
|
1407 | /** FileDescriptorProto sourceCodeInfo */
|
1408 | sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
|
1409 |
|
1410 | /** FileDescriptorProto syntax */
|
1411 | syntax?: (string|null);
|
1412 | }
|
1413 |
|
1414 | /** Represents a FileDescriptorProto. */
|
1415 | class FileDescriptorProto implements IFileDescriptorProto {
|
1416 |
|
1417 | /**
|
1418 | * Constructs a new FileDescriptorProto.
|
1419 | * @param [properties] Properties to set
|
1420 | */
|
1421 | constructor(properties?: google.protobuf.IFileDescriptorProto);
|
1422 |
|
1423 | /** FileDescriptorProto name. */
|
1424 | public name: string;
|
1425 |
|
1426 | /** FileDescriptorProto package. */
|
1427 | public package: string;
|
1428 |
|
1429 | /** FileDescriptorProto dependency. */
|
1430 | public dependency: string[];
|
1431 |
|
1432 | /** FileDescriptorProto publicDependency. */
|
1433 | public publicDependency: number[];
|
1434 |
|
1435 | /** FileDescriptorProto weakDependency. */
|
1436 | public weakDependency: number[];
|
1437 |
|
1438 | /** FileDescriptorProto messageType. */
|
1439 | public messageType: google.protobuf.IDescriptorProto[];
|
1440 |
|
1441 | /** FileDescriptorProto enumType. */
|
1442 | public enumType: google.protobuf.IEnumDescriptorProto[];
|
1443 |
|
1444 | /** FileDescriptorProto service. */
|
1445 | public service: google.protobuf.IServiceDescriptorProto[];
|
1446 |
|
1447 | /** FileDescriptorProto extension. */
|
1448 | public extension: google.protobuf.IFieldDescriptorProto[];
|
1449 |
|
1450 | /** FileDescriptorProto options. */
|
1451 | public options?: (google.protobuf.IFileOptions|null);
|
1452 |
|
1453 | /** FileDescriptorProto sourceCodeInfo. */
|
1454 | public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
|
1455 |
|
1456 | /** FileDescriptorProto syntax. */
|
1457 | public syntax: string;
|
1458 |
|
1459 | /**
|
1460 | * Creates a new FileDescriptorProto instance using the specified properties.
|
1461 | * @param [properties] Properties to set
|
1462 | * @returns FileDescriptorProto instance
|
1463 | */
|
1464 | public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
|
1465 |
|
1466 | /**
|
1467 | * Encodes the specified FileDescriptorProto message. Does not implicitly { google.protobuf.FileDescriptorProto.verify|verify} messages.
|
1468 | * message FileDescriptorProto message or plain object to encode
|
1469 | * [writer] Writer to encode to
|
1470 | * Writer
|
1471 | */
|
1472 | public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
1473 |
|
1474 | /**
|
1475 | * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
|
1476 | * @param message FileDescriptorProto message or plain object to encode
|
1477 | * @param [writer] Writer to encode to
|
1478 | * @returns Writer
|
1479 | */
|
1480 | public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
1481 |
|
1482 | /**
|
1483 | * Decodes a FileDescriptorProto message from the specified reader or buffer.
|
1484 | * @param reader Reader or buffer to decode from
|
1485 | * @param [length] Message length if known beforehand
|
1486 | * @returns FileDescriptorProto
|
1487 | * @throws {Error} If the payload is not a reader or valid buffer
|
1488 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1489 | */
|
1490 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
|
1491 |
|
1492 | /**
|
1493 | * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
|
1494 | * @param reader Reader or buffer to decode from
|
1495 | * @returns FileDescriptorProto
|
1496 | * @throws {Error} If the payload is not a reader or valid buffer
|
1497 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1498 | */
|
1499 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
|
1500 |
|
1501 | /**
|
1502 | * Verifies a FileDescriptorProto message.
|
1503 | * @param message Plain object to verify
|
1504 | * @returns `null` if valid, otherwise the reason why it is not
|
1505 | */
|
1506 | public static verify(message: { [k: string]: any }): (string|null);
|
1507 |
|
1508 | /**
|
1509 | * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
1510 | * @param object Plain object
|
1511 | * @returns FileDescriptorProto
|
1512 | */
|
1513 | public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
|
1514 |
|
1515 | /**
|
1516 | * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
|
1517 | * @param message FileDescriptorProto
|
1518 | * @param [options] Conversion options
|
1519 | * @returns Plain object
|
1520 | */
|
1521 | public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1522 |
|
1523 | /**
|
1524 | * Converts this FileDescriptorProto to JSON.
|
1525 | * @returns JSON object
|
1526 | */
|
1527 | public toJSON(): { [k: string]: any };
|
1528 | }
|
1529 |
|
1530 | /** Properties of a DescriptorProto. */
|
1531 | interface IDescriptorProto {
|
1532 |
|
1533 | /** DescriptorProto name */
|
1534 | name?: (string|null);
|
1535 |
|
1536 | /** DescriptorProto field */
|
1537 | field?: (google.protobuf.IFieldDescriptorProto[]|null);
|
1538 |
|
1539 | /** DescriptorProto extension */
|
1540 | extension?: (google.protobuf.IFieldDescriptorProto[]|null);
|
1541 |
|
1542 | /** DescriptorProto nestedType */
|
1543 | nestedType?: (google.protobuf.IDescriptorProto[]|null);
|
1544 |
|
1545 | /** DescriptorProto enumType */
|
1546 | enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
|
1547 |
|
1548 | /** DescriptorProto extensionRange */
|
1549 | extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
|
1550 |
|
1551 | /** DescriptorProto oneofDecl */
|
1552 | oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
|
1553 |
|
1554 | /** DescriptorProto options */
|
1555 | options?: (google.protobuf.IMessageOptions|null);
|
1556 |
|
1557 | /** DescriptorProto reservedRange */
|
1558 | reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
|
1559 |
|
1560 | /** DescriptorProto reservedName */
|
1561 | reservedName?: (string[]|null);
|
1562 | }
|
1563 |
|
1564 | /** Represents a DescriptorProto. */
|
1565 | class DescriptorProto implements IDescriptorProto {
|
1566 |
|
1567 | /**
|
1568 | * Constructs a new DescriptorProto.
|
1569 | * @param [properties] Properties to set
|
1570 | */
|
1571 | constructor(properties?: google.protobuf.IDescriptorProto);
|
1572 |
|
1573 | /** DescriptorProto name. */
|
1574 | public name: string;
|
1575 |
|
1576 | /** DescriptorProto field. */
|
1577 | public field: google.protobuf.IFieldDescriptorProto[];
|
1578 |
|
1579 | /** DescriptorProto extension. */
|
1580 | public extension: google.protobuf.IFieldDescriptorProto[];
|
1581 |
|
1582 | /** DescriptorProto nestedType. */
|
1583 | public nestedType: google.protobuf.IDescriptorProto[];
|
1584 |
|
1585 | /** DescriptorProto enumType. */
|
1586 | public enumType: google.protobuf.IEnumDescriptorProto[];
|
1587 |
|
1588 | /** DescriptorProto extensionRange. */
|
1589 | public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
|
1590 |
|
1591 | /** DescriptorProto oneofDecl. */
|
1592 | public oneofDecl: google.protobuf.IOneofDescriptorProto[];
|
1593 |
|
1594 | /** DescriptorProto options. */
|
1595 | public options?: (google.protobuf.IMessageOptions|null);
|
1596 |
|
1597 | /** DescriptorProto reservedRange. */
|
1598 | public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
|
1599 |
|
1600 | /** DescriptorProto reservedName. */
|
1601 | public reservedName: string[];
|
1602 |
|
1603 | /**
|
1604 | * Creates a new DescriptorProto instance using the specified properties.
|
1605 | * @param [properties] Properties to set
|
1606 | * @returns DescriptorProto instance
|
1607 | */
|
1608 | public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
|
1609 |
|
1610 | /**
|
1611 | * Encodes the specified DescriptorProto message. Does not implicitly { google.protobuf.DescriptorProto.verify|verify} messages.
|
1612 | * message DescriptorProto message or plain object to encode
|
1613 | * [writer] Writer to encode to
|
1614 | * Writer
|
1615 | */
|
1616 | public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
1617 |
|
1618 | /**
|
1619 | * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
|
1620 | * @param message DescriptorProto message or plain object to encode
|
1621 | * @param [writer] Writer to encode to
|
1622 | * @returns Writer
|
1623 | */
|
1624 | public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
1625 |
|
1626 | /**
|
1627 | * Decodes a DescriptorProto message from the specified reader or buffer.
|
1628 | * @param reader Reader or buffer to decode from
|
1629 | * @param [length] Message length if known beforehand
|
1630 | * @returns DescriptorProto
|
1631 | * @throws {Error} If the payload is not a reader or valid buffer
|
1632 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1633 | */
|
1634 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
|
1635 |
|
1636 | /**
|
1637 | * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
|
1638 | * @param reader Reader or buffer to decode from
|
1639 | * @returns DescriptorProto
|
1640 | * @throws {Error} If the payload is not a reader or valid buffer
|
1641 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1642 | */
|
1643 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
|
1644 |
|
1645 | /**
|
1646 | * Verifies a DescriptorProto message.
|
1647 | * @param message Plain object to verify
|
1648 | * @returns `null` if valid, otherwise the reason why it is not
|
1649 | */
|
1650 | public static verify(message: { [k: string]: any }): (string|null);
|
1651 |
|
1652 | /**
|
1653 | * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
|
1654 | * @param object Plain object
|
1655 | * @returns DescriptorProto
|
1656 | */
|
1657 | public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
|
1658 |
|
1659 | /**
|
1660 | * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
|
1661 | * @param message DescriptorProto
|
1662 | * @param [options] Conversion options
|
1663 | * @returns Plain object
|
1664 | */
|
1665 | public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1666 |
|
1667 | /**
|
1668 | * Converts this DescriptorProto to JSON.
|
1669 | * @returns JSON object
|
1670 | */
|
1671 | public toJSON(): { [k: string]: any };
|
1672 | }
|
1673 |
|
1674 | namespace DescriptorProto {
|
1675 |
|
1676 | /** Properties of an ExtensionRange. */
|
1677 | interface IExtensionRange {
|
1678 |
|
1679 | /** ExtensionRange start */
|
1680 | start?: (number|null);
|
1681 |
|
1682 | /** ExtensionRange end */
|
1683 | end?: (number|null);
|
1684 |
|
1685 | /** ExtensionRange options */
|
1686 | options?: (google.protobuf.IExtensionRangeOptions|null);
|
1687 | }
|
1688 |
|
1689 | /** Represents an ExtensionRange. */
|
1690 | class ExtensionRange implements IExtensionRange {
|
1691 |
|
1692 | /**
|
1693 | * Constructs a new ExtensionRange.
|
1694 | * @param [properties] Properties to set
|
1695 | */
|
1696 | constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
|
1697 |
|
1698 | /** ExtensionRange start. */
|
1699 | public start: number;
|
1700 |
|
1701 | /** ExtensionRange end. */
|
1702 | public end: number;
|
1703 |
|
1704 | /** ExtensionRange options. */
|
1705 | public options?: (google.protobuf.IExtensionRangeOptions|null);
|
1706 |
|
1707 | /**
|
1708 | * Creates a new ExtensionRange instance using the specified properties.
|
1709 | * @param [properties] Properties to set
|
1710 | * @returns ExtensionRange instance
|
1711 | */
|
1712 | public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
|
1713 |
|
1714 | /**
|
1715 | * Encodes the specified ExtensionRange message. Does not implicitly { google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
|
1716 | * message ExtensionRange message or plain object to encode
|
1717 | * [writer] Writer to encode to
|
1718 | * Writer
|
1719 | */
|
1720 | public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
1721 |
|
1722 | /**
|
1723 | * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
|
1724 | * @param message ExtensionRange message or plain object to encode
|
1725 | * @param [writer] Writer to encode to
|
1726 | * @returns Writer
|
1727 | */
|
1728 | public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
1729 |
|
1730 | /**
|
1731 | * Decodes an ExtensionRange message from the specified reader or buffer.
|
1732 | * @param reader Reader or buffer to decode from
|
1733 | * @param [length] Message length if known beforehand
|
1734 | * @returns ExtensionRange
|
1735 | * @throws {Error} If the payload is not a reader or valid buffer
|
1736 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1737 | */
|
1738 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
|
1739 |
|
1740 | /**
|
1741 | * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
|
1742 | * @param reader Reader or buffer to decode from
|
1743 | * @returns ExtensionRange
|
1744 | * @throws {Error} If the payload is not a reader or valid buffer
|
1745 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1746 | */
|
1747 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
|
1748 |
|
1749 | /**
|
1750 | * Verifies an ExtensionRange message.
|
1751 | * @param message Plain object to verify
|
1752 | * @returns `null` if valid, otherwise the reason why it is not
|
1753 | */
|
1754 | public static verify(message: { [k: string]: any }): (string|null);
|
1755 |
|
1756 | /**
|
1757 | * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
|
1758 | * @param object Plain object
|
1759 | * @returns ExtensionRange
|
1760 | */
|
1761 | public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
|
1762 |
|
1763 | /**
|
1764 | * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
|
1765 | * @param message ExtensionRange
|
1766 | * @param [options] Conversion options
|
1767 | * @returns Plain object
|
1768 | */
|
1769 | public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1770 |
|
1771 | /**
|
1772 | * Converts this ExtensionRange to JSON.
|
1773 | * @returns JSON object
|
1774 | */
|
1775 | public toJSON(): { [k: string]: any };
|
1776 | }
|
1777 |
|
1778 | /** Properties of a ReservedRange. */
|
1779 | interface IReservedRange {
|
1780 |
|
1781 | /** ReservedRange start */
|
1782 | start?: (number|null);
|
1783 |
|
1784 | /** ReservedRange end */
|
1785 | end?: (number|null);
|
1786 | }
|
1787 |
|
1788 | /** Represents a ReservedRange. */
|
1789 | class ReservedRange implements IReservedRange {
|
1790 |
|
1791 | /**
|
1792 | * Constructs a new ReservedRange.
|
1793 | * @param [properties] Properties to set
|
1794 | */
|
1795 | constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
|
1796 |
|
1797 | /** ReservedRange start. */
|
1798 | public start: number;
|
1799 |
|
1800 | /** ReservedRange end. */
|
1801 | public end: number;
|
1802 |
|
1803 | /**
|
1804 | * Creates a new ReservedRange instance using the specified properties.
|
1805 | * @param [properties] Properties to set
|
1806 | * @returns ReservedRange instance
|
1807 | */
|
1808 | public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
|
1809 |
|
1810 | /**
|
1811 | * Encodes the specified ReservedRange message. Does not implicitly { google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
|
1812 | * message ReservedRange message or plain object to encode
|
1813 | * [writer] Writer to encode to
|
1814 | * Writer
|
1815 | */
|
1816 | public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
1817 |
|
1818 | /**
|
1819 | * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
|
1820 | * @param message ReservedRange message or plain object to encode
|
1821 | * @param [writer] Writer to encode to
|
1822 | * @returns Writer
|
1823 | */
|
1824 | public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
1825 |
|
1826 | /**
|
1827 | * Decodes a ReservedRange message from the specified reader or buffer.
|
1828 | * @param reader Reader or buffer to decode from
|
1829 | * @param [length] Message length if known beforehand
|
1830 | * @returns ReservedRange
|
1831 | * @throws {Error} If the payload is not a reader or valid buffer
|
1832 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1833 | */
|
1834 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
|
1835 |
|
1836 | /**
|
1837 | * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
|
1838 | * @param reader Reader or buffer to decode from
|
1839 | * @returns ReservedRange
|
1840 | * @throws {Error} If the payload is not a reader or valid buffer
|
1841 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1842 | */
|
1843 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
|
1844 |
|
1845 | /**
|
1846 | * Verifies a ReservedRange message.
|
1847 | * @param message Plain object to verify
|
1848 | * @returns `null` if valid, otherwise the reason why it is not
|
1849 | */
|
1850 | public static verify(message: { [k: string]: any }): (string|null);
|
1851 |
|
1852 | /**
|
1853 | * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
|
1854 | * @param object Plain object
|
1855 | * @returns ReservedRange
|
1856 | */
|
1857 | public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
|
1858 |
|
1859 | /**
|
1860 | * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
|
1861 | * @param message ReservedRange
|
1862 | * @param [options] Conversion options
|
1863 | * @returns Plain object
|
1864 | */
|
1865 | public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1866 |
|
1867 | /**
|
1868 | * Converts this ReservedRange to JSON.
|
1869 | * @returns JSON object
|
1870 | */
|
1871 | public toJSON(): { [k: string]: any };
|
1872 | }
|
1873 | }
|
1874 |
|
1875 | /** Properties of an ExtensionRangeOptions. */
|
1876 | interface IExtensionRangeOptions {
|
1877 |
|
1878 | /** ExtensionRangeOptions uninterpretedOption */
|
1879 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
1880 | }
|
1881 |
|
1882 | /** Represents an ExtensionRangeOptions. */
|
1883 | class ExtensionRangeOptions implements IExtensionRangeOptions {
|
1884 |
|
1885 | /**
|
1886 | * Constructs a new ExtensionRangeOptions.
|
1887 | * @param [properties] Properties to set
|
1888 | */
|
1889 | constructor(properties?: google.protobuf.IExtensionRangeOptions);
|
1890 |
|
1891 | /** ExtensionRangeOptions uninterpretedOption. */
|
1892 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
1893 |
|
1894 | /**
|
1895 | * Creates a new ExtensionRangeOptions instance using the specified properties.
|
1896 | * @param [properties] Properties to set
|
1897 | * @returns ExtensionRangeOptions instance
|
1898 | */
|
1899 | public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
|
1900 |
|
1901 | /**
|
1902 | * Encodes the specified ExtensionRangeOptions message. Does not implicitly { google.protobuf.ExtensionRangeOptions.verify|verify} messages.
|
1903 | * message ExtensionRangeOptions message or plain object to encode
|
1904 | * [writer] Writer to encode to
|
1905 | * Writer
|
1906 | */
|
1907 | public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
1908 |
|
1909 | /**
|
1910 | * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
|
1911 | * @param message ExtensionRangeOptions message or plain object to encode
|
1912 | * @param [writer] Writer to encode to
|
1913 | * @returns Writer
|
1914 | */
|
1915 | public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
1916 |
|
1917 | /**
|
1918 | * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
|
1919 | * @param reader Reader or buffer to decode from
|
1920 | * @param [length] Message length if known beforehand
|
1921 | * @returns ExtensionRangeOptions
|
1922 | * @throws {Error} If the payload is not a reader or valid buffer
|
1923 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1924 | */
|
1925 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
|
1926 |
|
1927 | /**
|
1928 | * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
|
1929 | * @param reader Reader or buffer to decode from
|
1930 | * @returns ExtensionRangeOptions
|
1931 | * @throws {Error} If the payload is not a reader or valid buffer
|
1932 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1933 | */
|
1934 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
|
1935 |
|
1936 | /**
|
1937 | * Verifies an ExtensionRangeOptions message.
|
1938 | * @param message Plain object to verify
|
1939 | * @returns `null` if valid, otherwise the reason why it is not
|
1940 | */
|
1941 | public static verify(message: { [k: string]: any }): (string|null);
|
1942 |
|
1943 | /**
|
1944 | * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
|
1945 | * @param object Plain object
|
1946 | * @returns ExtensionRangeOptions
|
1947 | */
|
1948 | public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
|
1949 |
|
1950 | /**
|
1951 | * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
|
1952 | * @param message ExtensionRangeOptions
|
1953 | * @param [options] Conversion options
|
1954 | * @returns Plain object
|
1955 | */
|
1956 | public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1957 |
|
1958 | /**
|
1959 | * Converts this ExtensionRangeOptions to JSON.
|
1960 | * @returns JSON object
|
1961 | */
|
1962 | public toJSON(): { [k: string]: any };
|
1963 | }
|
1964 |
|
1965 | /** Properties of a FieldDescriptorProto. */
|
1966 | interface IFieldDescriptorProto {
|
1967 |
|
1968 | /** FieldDescriptorProto name */
|
1969 | name?: (string|null);
|
1970 |
|
1971 | /** FieldDescriptorProto number */
|
1972 | number?: (number|null);
|
1973 |
|
1974 | /** FieldDescriptorProto label */
|
1975 | label?: (google.protobuf.FieldDescriptorProto.Label|null);
|
1976 |
|
1977 | /** FieldDescriptorProto type */
|
1978 | type?: (google.protobuf.FieldDescriptorProto.Type|null);
|
1979 |
|
1980 | /** FieldDescriptorProto typeName */
|
1981 | typeName?: (string|null);
|
1982 |
|
1983 | /** FieldDescriptorProto extendee */
|
1984 | extendee?: (string|null);
|
1985 |
|
1986 | /** FieldDescriptorProto defaultValue */
|
1987 | defaultValue?: (string|null);
|
1988 |
|
1989 | /** FieldDescriptorProto oneofIndex */
|
1990 | oneofIndex?: (number|null);
|
1991 |
|
1992 | /** FieldDescriptorProto jsonName */
|
1993 | jsonName?: (string|null);
|
1994 |
|
1995 | /** FieldDescriptorProto options */
|
1996 | options?: (google.protobuf.IFieldOptions|null);
|
1997 |
|
1998 | /** FieldDescriptorProto proto3Optional */
|
1999 | proto3Optional?: (boolean|null);
|
2000 | }
|
2001 |
|
2002 | /** Represents a FieldDescriptorProto. */
|
2003 | class FieldDescriptorProto implements IFieldDescriptorProto {
|
2004 |
|
2005 | /**
|
2006 | * Constructs a new FieldDescriptorProto.
|
2007 | * @param [properties] Properties to set
|
2008 | */
|
2009 | constructor(properties?: google.protobuf.IFieldDescriptorProto);
|
2010 |
|
2011 | /** FieldDescriptorProto name. */
|
2012 | public name: string;
|
2013 |
|
2014 | /** FieldDescriptorProto number. */
|
2015 | public number: number;
|
2016 |
|
2017 | /** FieldDescriptorProto label. */
|
2018 | public label: google.protobuf.FieldDescriptorProto.Label;
|
2019 |
|
2020 | /** FieldDescriptorProto type. */
|
2021 | public type: google.protobuf.FieldDescriptorProto.Type;
|
2022 |
|
2023 | /** FieldDescriptorProto typeName. */
|
2024 | public typeName: string;
|
2025 |
|
2026 | /** FieldDescriptorProto extendee. */
|
2027 | public extendee: string;
|
2028 |
|
2029 | /** FieldDescriptorProto defaultValue. */
|
2030 | public defaultValue: string;
|
2031 |
|
2032 | /** FieldDescriptorProto oneofIndex. */
|
2033 | public oneofIndex: number;
|
2034 |
|
2035 | /** FieldDescriptorProto jsonName. */
|
2036 | public jsonName: string;
|
2037 |
|
2038 | /** FieldDescriptorProto options. */
|
2039 | public options?: (google.protobuf.IFieldOptions|null);
|
2040 |
|
2041 | /** FieldDescriptorProto proto3Optional. */
|
2042 | public proto3Optional: boolean;
|
2043 |
|
2044 | /**
|
2045 | * Creates a new FieldDescriptorProto instance using the specified properties.
|
2046 | * @param [properties] Properties to set
|
2047 | * @returns FieldDescriptorProto instance
|
2048 | */
|
2049 | public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
|
2050 |
|
2051 | /**
|
2052 | * Encodes the specified FieldDescriptorProto message. Does not implicitly { google.protobuf.FieldDescriptorProto.verify|verify} messages.
|
2053 | * message FieldDescriptorProto message or plain object to encode
|
2054 | * [writer] Writer to encode to
|
2055 | * Writer
|
2056 | */
|
2057 | public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2058 |
|
2059 | /**
|
2060 | * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
|
2061 | * @param message FieldDescriptorProto message or plain object to encode
|
2062 | * @param [writer] Writer to encode to
|
2063 | * @returns Writer
|
2064 | */
|
2065 | public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2066 |
|
2067 | /**
|
2068 | * Decodes a FieldDescriptorProto message from the specified reader or buffer.
|
2069 | * @param reader Reader or buffer to decode from
|
2070 | * @param [length] Message length if known beforehand
|
2071 | * @returns FieldDescriptorProto
|
2072 | * @throws {Error} If the payload is not a reader or valid buffer
|
2073 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2074 | */
|
2075 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
|
2076 |
|
2077 | /**
|
2078 | * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
|
2079 | * @param reader Reader or buffer to decode from
|
2080 | * @returns FieldDescriptorProto
|
2081 | * @throws {Error} If the payload is not a reader or valid buffer
|
2082 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2083 | */
|
2084 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
|
2085 |
|
2086 | /**
|
2087 | * Verifies a FieldDescriptorProto message.
|
2088 | * @param message Plain object to verify
|
2089 | * @returns `null` if valid, otherwise the reason why it is not
|
2090 | */
|
2091 | public static verify(message: { [k: string]: any }): (string|null);
|
2092 |
|
2093 | /**
|
2094 | * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
2095 | * @param object Plain object
|
2096 | * @returns FieldDescriptorProto
|
2097 | */
|
2098 | public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
|
2099 |
|
2100 | /**
|
2101 | * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
|
2102 | * @param message FieldDescriptorProto
|
2103 | * @param [options] Conversion options
|
2104 | * @returns Plain object
|
2105 | */
|
2106 | public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2107 |
|
2108 | /**
|
2109 | * Converts this FieldDescriptorProto to JSON.
|
2110 | * @returns JSON object
|
2111 | */
|
2112 | public toJSON(): { [k: string]: any };
|
2113 | }
|
2114 |
|
2115 | namespace FieldDescriptorProto {
|
2116 |
|
2117 | /** Type enum. */
|
2118 | enum Type {
|
2119 | TYPE_DOUBLE = 1,
|
2120 | TYPE_FLOAT = 2,
|
2121 | TYPE_INT64 = 3,
|
2122 | TYPE_UINT64 = 4,
|
2123 | TYPE_INT32 = 5,
|
2124 | TYPE_FIXED64 = 6,
|
2125 | TYPE_FIXED32 = 7,
|
2126 | TYPE_BOOL = 8,
|
2127 | TYPE_STRING = 9,
|
2128 | TYPE_GROUP = 10,
|
2129 | TYPE_MESSAGE = 11,
|
2130 | TYPE_BYTES = 12,
|
2131 | TYPE_UINT32 = 13,
|
2132 | TYPE_ENUM = 14,
|
2133 | TYPE_SFIXED32 = 15,
|
2134 | TYPE_SFIXED64 = 16,
|
2135 | TYPE_SINT32 = 17,
|
2136 | TYPE_SINT64 = 18
|
2137 | }
|
2138 |
|
2139 | /** Label enum. */
|
2140 | enum Label {
|
2141 | LABEL_OPTIONAL = 1,
|
2142 | LABEL_REQUIRED = 2,
|
2143 | LABEL_REPEATED = 3
|
2144 | }
|
2145 | }
|
2146 |
|
2147 | /** Properties of an OneofDescriptorProto. */
|
2148 | interface IOneofDescriptorProto {
|
2149 |
|
2150 | /** OneofDescriptorProto name */
|
2151 | name?: (string|null);
|
2152 |
|
2153 | /** OneofDescriptorProto options */
|
2154 | options?: (google.protobuf.IOneofOptions|null);
|
2155 | }
|
2156 |
|
2157 | /** Represents an OneofDescriptorProto. */
|
2158 | class OneofDescriptorProto implements IOneofDescriptorProto {
|
2159 |
|
2160 | /**
|
2161 | * Constructs a new OneofDescriptorProto.
|
2162 | * @param [properties] Properties to set
|
2163 | */
|
2164 | constructor(properties?: google.protobuf.IOneofDescriptorProto);
|
2165 |
|
2166 | /** OneofDescriptorProto name. */
|
2167 | public name: string;
|
2168 |
|
2169 | /** OneofDescriptorProto options. */
|
2170 | public options?: (google.protobuf.IOneofOptions|null);
|
2171 |
|
2172 | /**
|
2173 | * Creates a new OneofDescriptorProto instance using the specified properties.
|
2174 | * @param [properties] Properties to set
|
2175 | * @returns OneofDescriptorProto instance
|
2176 | */
|
2177 | public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
|
2178 |
|
2179 | /**
|
2180 | * Encodes the specified OneofDescriptorProto message. Does not implicitly { google.protobuf.OneofDescriptorProto.verify|verify} messages.
|
2181 | * message OneofDescriptorProto message or plain object to encode
|
2182 | * [writer] Writer to encode to
|
2183 | * Writer
|
2184 | */
|
2185 | public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2186 |
|
2187 | /**
|
2188 | * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
|
2189 | * @param message OneofDescriptorProto message or plain object to encode
|
2190 | * @param [writer] Writer to encode to
|
2191 | * @returns Writer
|
2192 | */
|
2193 | public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2194 |
|
2195 | /**
|
2196 | * Decodes an OneofDescriptorProto message from the specified reader or buffer.
|
2197 | * @param reader Reader or buffer to decode from
|
2198 | * @param [length] Message length if known beforehand
|
2199 | * @returns OneofDescriptorProto
|
2200 | * @throws {Error} If the payload is not a reader or valid buffer
|
2201 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2202 | */
|
2203 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
|
2204 |
|
2205 | /**
|
2206 | * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
|
2207 | * @param reader Reader or buffer to decode from
|
2208 | * @returns OneofDescriptorProto
|
2209 | * @throws {Error} If the payload is not a reader or valid buffer
|
2210 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2211 | */
|
2212 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
|
2213 |
|
2214 | /**
|
2215 | * Verifies an OneofDescriptorProto message.
|
2216 | * @param message Plain object to verify
|
2217 | * @returns `null` if valid, otherwise the reason why it is not
|
2218 | */
|
2219 | public static verify(message: { [k: string]: any }): (string|null);
|
2220 |
|
2221 | /**
|
2222 | * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
2223 | * @param object Plain object
|
2224 | * @returns OneofDescriptorProto
|
2225 | */
|
2226 | public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
|
2227 |
|
2228 | /**
|
2229 | * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
|
2230 | * @param message OneofDescriptorProto
|
2231 | * @param [options] Conversion options
|
2232 | * @returns Plain object
|
2233 | */
|
2234 | public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2235 |
|
2236 | /**
|
2237 | * Converts this OneofDescriptorProto to JSON.
|
2238 | * @returns JSON object
|
2239 | */
|
2240 | public toJSON(): { [k: string]: any };
|
2241 | }
|
2242 |
|
2243 | /** Properties of an EnumDescriptorProto. */
|
2244 | interface IEnumDescriptorProto {
|
2245 |
|
2246 | /** EnumDescriptorProto name */
|
2247 | name?: (string|null);
|
2248 |
|
2249 | /** EnumDescriptorProto value */
|
2250 | value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
|
2251 |
|
2252 | /** EnumDescriptorProto options */
|
2253 | options?: (google.protobuf.IEnumOptions|null);
|
2254 |
|
2255 | /** EnumDescriptorProto reservedRange */
|
2256 | reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
|
2257 |
|
2258 | /** EnumDescriptorProto reservedName */
|
2259 | reservedName?: (string[]|null);
|
2260 | }
|
2261 |
|
2262 | /** Represents an EnumDescriptorProto. */
|
2263 | class EnumDescriptorProto implements IEnumDescriptorProto {
|
2264 |
|
2265 | /**
|
2266 | * Constructs a new EnumDescriptorProto.
|
2267 | * @param [properties] Properties to set
|
2268 | */
|
2269 | constructor(properties?: google.protobuf.IEnumDescriptorProto);
|
2270 |
|
2271 | /** EnumDescriptorProto name. */
|
2272 | public name: string;
|
2273 |
|
2274 | /** EnumDescriptorProto value. */
|
2275 | public value: google.protobuf.IEnumValueDescriptorProto[];
|
2276 |
|
2277 | /** EnumDescriptorProto options. */
|
2278 | public options?: (google.protobuf.IEnumOptions|null);
|
2279 |
|
2280 | /** EnumDescriptorProto reservedRange. */
|
2281 | public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
|
2282 |
|
2283 | /** EnumDescriptorProto reservedName. */
|
2284 | public reservedName: string[];
|
2285 |
|
2286 | /**
|
2287 | * Creates a new EnumDescriptorProto instance using the specified properties.
|
2288 | * @param [properties] Properties to set
|
2289 | * @returns EnumDescriptorProto instance
|
2290 | */
|
2291 | public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
|
2292 |
|
2293 | /**
|
2294 | * Encodes the specified EnumDescriptorProto message. Does not implicitly { google.protobuf.EnumDescriptorProto.verify|verify} messages.
|
2295 | * message EnumDescriptorProto message or plain object to encode
|
2296 | * [writer] Writer to encode to
|
2297 | * Writer
|
2298 | */
|
2299 | public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2300 |
|
2301 | /**
|
2302 | * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
|
2303 | * @param message EnumDescriptorProto message or plain object to encode
|
2304 | * @param [writer] Writer to encode to
|
2305 | * @returns Writer
|
2306 | */
|
2307 | public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2308 |
|
2309 | /**
|
2310 | * Decodes an EnumDescriptorProto message from the specified reader or buffer.
|
2311 | * @param reader Reader or buffer to decode from
|
2312 | * @param [length] Message length if known beforehand
|
2313 | * @returns EnumDescriptorProto
|
2314 | * @throws {Error} If the payload is not a reader or valid buffer
|
2315 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2316 | */
|
2317 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
|
2318 |
|
2319 | /**
|
2320 | * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
|
2321 | * @param reader Reader or buffer to decode from
|
2322 | * @returns EnumDescriptorProto
|
2323 | * @throws {Error} If the payload is not a reader or valid buffer
|
2324 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2325 | */
|
2326 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
|
2327 |
|
2328 | /**
|
2329 | * Verifies an EnumDescriptorProto message.
|
2330 | * @param message Plain object to verify
|
2331 | * @returns `null` if valid, otherwise the reason why it is not
|
2332 | */
|
2333 | public static verify(message: { [k: string]: any }): (string|null);
|
2334 |
|
2335 | /**
|
2336 | * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
2337 | * @param object Plain object
|
2338 | * @returns EnumDescriptorProto
|
2339 | */
|
2340 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
|
2341 |
|
2342 | /**
|
2343 | * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
|
2344 | * @param message EnumDescriptorProto
|
2345 | * @param [options] Conversion options
|
2346 | * @returns Plain object
|
2347 | */
|
2348 | public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2349 |
|
2350 | /**
|
2351 | * Converts this EnumDescriptorProto to JSON.
|
2352 | * @returns JSON object
|
2353 | */
|
2354 | public toJSON(): { [k: string]: any };
|
2355 | }
|
2356 |
|
2357 | namespace EnumDescriptorProto {
|
2358 |
|
2359 | /** Properties of an EnumReservedRange. */
|
2360 | interface IEnumReservedRange {
|
2361 |
|
2362 | /** EnumReservedRange start */
|
2363 | start?: (number|null);
|
2364 |
|
2365 | /** EnumReservedRange end */
|
2366 | end?: (number|null);
|
2367 | }
|
2368 |
|
2369 | /** Represents an EnumReservedRange. */
|
2370 | class EnumReservedRange implements IEnumReservedRange {
|
2371 |
|
2372 | /**
|
2373 | * Constructs a new EnumReservedRange.
|
2374 | * @param [properties] Properties to set
|
2375 | */
|
2376 | constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
|
2377 |
|
2378 | /** EnumReservedRange start. */
|
2379 | public start: number;
|
2380 |
|
2381 | /** EnumReservedRange end. */
|
2382 | public end: number;
|
2383 |
|
2384 | /**
|
2385 | * Creates a new EnumReservedRange instance using the specified properties.
|
2386 | * @param [properties] Properties to set
|
2387 | * @returns EnumReservedRange instance
|
2388 | */
|
2389 | public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
2390 |
|
2391 | /**
|
2392 | * Encodes the specified EnumReservedRange message. Does not implicitly { google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
|
2393 | * message EnumReservedRange message or plain object to encode
|
2394 | * [writer] Writer to encode to
|
2395 | * Writer
|
2396 | */
|
2397 | public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
2398 |
|
2399 | /**
|
2400 | * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
|
2401 | * @param message EnumReservedRange message or plain object to encode
|
2402 | * @param [writer] Writer to encode to
|
2403 | * @returns Writer
|
2404 | */
|
2405 | public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
2406 |
|
2407 | /**
|
2408 | * Decodes an EnumReservedRange message from the specified reader or buffer.
|
2409 | * @param reader Reader or buffer to decode from
|
2410 | * @param [length] Message length if known beforehand
|
2411 | * @returns EnumReservedRange
|
2412 | * @throws {Error} If the payload is not a reader or valid buffer
|
2413 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2414 | */
|
2415 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
2416 |
|
2417 | /**
|
2418 | * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
|
2419 | * @param reader Reader or buffer to decode from
|
2420 | * @returns EnumReservedRange
|
2421 | * @throws {Error} If the payload is not a reader or valid buffer
|
2422 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2423 | */
|
2424 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
2425 |
|
2426 | /**
|
2427 | * Verifies an EnumReservedRange message.
|
2428 | * @param message Plain object to verify
|
2429 | * @returns `null` if valid, otherwise the reason why it is not
|
2430 | */
|
2431 | public static verify(message: { [k: string]: any }): (string|null);
|
2432 |
|
2433 | /**
|
2434 | * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
|
2435 | * @param object Plain object
|
2436 | * @returns EnumReservedRange
|
2437 | */
|
2438 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
2439 |
|
2440 | /**
|
2441 | * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
|
2442 | * @param message EnumReservedRange
|
2443 | * @param [options] Conversion options
|
2444 | * @returns Plain object
|
2445 | */
|
2446 | public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2447 |
|
2448 | /**
|
2449 | * Converts this EnumReservedRange to JSON.
|
2450 | * @returns JSON object
|
2451 | */
|
2452 | public toJSON(): { [k: string]: any };
|
2453 | }
|
2454 | }
|
2455 |
|
2456 | /** Properties of an EnumValueDescriptorProto. */
|
2457 | interface IEnumValueDescriptorProto {
|
2458 |
|
2459 | /** EnumValueDescriptorProto name */
|
2460 | name?: (string|null);
|
2461 |
|
2462 | /** EnumValueDescriptorProto number */
|
2463 | number?: (number|null);
|
2464 |
|
2465 | /** EnumValueDescriptorProto options */
|
2466 | options?: (google.protobuf.IEnumValueOptions|null);
|
2467 | }
|
2468 |
|
2469 | /** Represents an EnumValueDescriptorProto. */
|
2470 | class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
|
2471 |
|
2472 | /**
|
2473 | * Constructs a new EnumValueDescriptorProto.
|
2474 | * @param [properties] Properties to set
|
2475 | */
|
2476 | constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
|
2477 |
|
2478 | /** EnumValueDescriptorProto name. */
|
2479 | public name: string;
|
2480 |
|
2481 | /** EnumValueDescriptorProto number. */
|
2482 | public number: number;
|
2483 |
|
2484 | /** EnumValueDescriptorProto options. */
|
2485 | public options?: (google.protobuf.IEnumValueOptions|null);
|
2486 |
|
2487 | /**
|
2488 | * Creates a new EnumValueDescriptorProto instance using the specified properties.
|
2489 | * @param [properties] Properties to set
|
2490 | * @returns EnumValueDescriptorProto instance
|
2491 | */
|
2492 | public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
|
2493 |
|
2494 | /**
|
2495 | * Encodes the specified EnumValueDescriptorProto message. Does not implicitly { google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
|
2496 | * message EnumValueDescriptorProto message or plain object to encode
|
2497 | * [writer] Writer to encode to
|
2498 | * Writer
|
2499 | */
|
2500 | public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2501 |
|
2502 | /**
|
2503 | * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
|
2504 | * @param message EnumValueDescriptorProto message or plain object to encode
|
2505 | * @param [writer] Writer to encode to
|
2506 | * @returns Writer
|
2507 | */
|
2508 | public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2509 |
|
2510 | /**
|
2511 | * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
|
2512 | * @param reader Reader or buffer to decode from
|
2513 | * @param [length] Message length if known beforehand
|
2514 | * @returns EnumValueDescriptorProto
|
2515 | * @throws {Error} If the payload is not a reader or valid buffer
|
2516 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2517 | */
|
2518 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
|
2519 |
|
2520 | /**
|
2521 | * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
|
2522 | * @param reader Reader or buffer to decode from
|
2523 | * @returns EnumValueDescriptorProto
|
2524 | * @throws {Error} If the payload is not a reader or valid buffer
|
2525 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2526 | */
|
2527 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
|
2528 |
|
2529 | /**
|
2530 | * Verifies an EnumValueDescriptorProto message.
|
2531 | * @param message Plain object to verify
|
2532 | * @returns `null` if valid, otherwise the reason why it is not
|
2533 | */
|
2534 | public static verify(message: { [k: string]: any }): (string|null);
|
2535 |
|
2536 | /**
|
2537 | * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
2538 | * @param object Plain object
|
2539 | * @returns EnumValueDescriptorProto
|
2540 | */
|
2541 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
|
2542 |
|
2543 | /**
|
2544 | * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
|
2545 | * @param message EnumValueDescriptorProto
|
2546 | * @param [options] Conversion options
|
2547 | * @returns Plain object
|
2548 | */
|
2549 | public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2550 |
|
2551 | /**
|
2552 | * Converts this EnumValueDescriptorProto to JSON.
|
2553 | * @returns JSON object
|
2554 | */
|
2555 | public toJSON(): { [k: string]: any };
|
2556 | }
|
2557 |
|
2558 | /** Properties of a ServiceDescriptorProto. */
|
2559 | interface IServiceDescriptorProto {
|
2560 |
|
2561 | /** ServiceDescriptorProto name */
|
2562 | name?: (string|null);
|
2563 |
|
2564 | /** ServiceDescriptorProto method */
|
2565 | method?: (google.protobuf.IMethodDescriptorProto[]|null);
|
2566 |
|
2567 | /** ServiceDescriptorProto options */
|
2568 | options?: (google.protobuf.IServiceOptions|null);
|
2569 | }
|
2570 |
|
2571 | /** Represents a ServiceDescriptorProto. */
|
2572 | class ServiceDescriptorProto implements IServiceDescriptorProto {
|
2573 |
|
2574 | /**
|
2575 | * Constructs a new ServiceDescriptorProto.
|
2576 | * @param [properties] Properties to set
|
2577 | */
|
2578 | constructor(properties?: google.protobuf.IServiceDescriptorProto);
|
2579 |
|
2580 | /** ServiceDescriptorProto name. */
|
2581 | public name: string;
|
2582 |
|
2583 | /** ServiceDescriptorProto method. */
|
2584 | public method: google.protobuf.IMethodDescriptorProto[];
|
2585 |
|
2586 | /** ServiceDescriptorProto options. */
|
2587 | public options?: (google.protobuf.IServiceOptions|null);
|
2588 |
|
2589 | /**
|
2590 | * Creates a new ServiceDescriptorProto instance using the specified properties.
|
2591 | * @param [properties] Properties to set
|
2592 | * @returns ServiceDescriptorProto instance
|
2593 | */
|
2594 | public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
|
2595 |
|
2596 | /**
|
2597 | * Encodes the specified ServiceDescriptorProto message. Does not implicitly { google.protobuf.ServiceDescriptorProto.verify|verify} messages.
|
2598 | * message ServiceDescriptorProto message or plain object to encode
|
2599 | * [writer] Writer to encode to
|
2600 | * Writer
|
2601 | */
|
2602 | public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2603 |
|
2604 | /**
|
2605 | * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
|
2606 | * @param message ServiceDescriptorProto message or plain object to encode
|
2607 | * @param [writer] Writer to encode to
|
2608 | * @returns Writer
|
2609 | */
|
2610 | public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2611 |
|
2612 | /**
|
2613 | * Decodes a ServiceDescriptorProto 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 ServiceDescriptorProto
|
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.ServiceDescriptorProto;
|
2621 |
|
2622 | /**
|
2623 | * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
|
2624 | * @param reader Reader or buffer to decode from
|
2625 | * @returns ServiceDescriptorProto
|
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.ServiceDescriptorProto;
|
2630 |
|
2631 | /**
|
2632 | * Verifies a ServiceDescriptorProto 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 a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
2640 | * @param object Plain object
|
2641 | * @returns ServiceDescriptorProto
|
2642 | */
|
2643 | public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
|
2644 |
|
2645 | /**
|
2646 | * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
|
2647 | * @param message ServiceDescriptorProto
|
2648 | * @param [options] Conversion options
|
2649 | * @returns Plain object
|
2650 | */
|
2651 | public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2652 |
|
2653 | /**
|
2654 | * Converts this ServiceDescriptorProto to JSON.
|
2655 | * @returns JSON object
|
2656 | */
|
2657 | public toJSON(): { [k: string]: any };
|
2658 | }
|
2659 |
|
2660 | /** Properties of a MethodDescriptorProto. */
|
2661 | interface IMethodDescriptorProto {
|
2662 |
|
2663 | /** MethodDescriptorProto name */
|
2664 | name?: (string|null);
|
2665 |
|
2666 | /** MethodDescriptorProto inputType */
|
2667 | inputType?: (string|null);
|
2668 |
|
2669 | /** MethodDescriptorProto outputType */
|
2670 | outputType?: (string|null);
|
2671 |
|
2672 | /** MethodDescriptorProto options */
|
2673 | options?: (google.protobuf.IMethodOptions|null);
|
2674 |
|
2675 | /** MethodDescriptorProto clientStreaming */
|
2676 | clientStreaming?: (boolean|null);
|
2677 |
|
2678 | /** MethodDescriptorProto serverStreaming */
|
2679 | serverStreaming?: (boolean|null);
|
2680 | }
|
2681 |
|
2682 | /** Represents a MethodDescriptorProto. */
|
2683 | class MethodDescriptorProto implements IMethodDescriptorProto {
|
2684 |
|
2685 | /**
|
2686 | * Constructs a new MethodDescriptorProto.
|
2687 | * @param [properties] Properties to set
|
2688 | */
|
2689 | constructor(properties?: google.protobuf.IMethodDescriptorProto);
|
2690 |
|
2691 | /** MethodDescriptorProto name. */
|
2692 | public name: string;
|
2693 |
|
2694 | /** MethodDescriptorProto inputType. */
|
2695 | public inputType: string;
|
2696 |
|
2697 | /** MethodDescriptorProto outputType. */
|
2698 | public outputType: string;
|
2699 |
|
2700 | /** MethodDescriptorProto options. */
|
2701 | public options?: (google.protobuf.IMethodOptions|null);
|
2702 |
|
2703 | /** MethodDescriptorProto clientStreaming. */
|
2704 | public clientStreaming: boolean;
|
2705 |
|
2706 | /** MethodDescriptorProto serverStreaming. */
|
2707 | public serverStreaming: boolean;
|
2708 |
|
2709 | /**
|
2710 | * Creates a new MethodDescriptorProto instance using the specified properties.
|
2711 | * @param [properties] Properties to set
|
2712 | * @returns MethodDescriptorProto instance
|
2713 | */
|
2714 | public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
|
2715 |
|
2716 | /**
|
2717 | * Encodes the specified MethodDescriptorProto message. Does not implicitly { google.protobuf.MethodDescriptorProto.verify|verify} messages.
|
2718 | * message MethodDescriptorProto message or plain object to encode
|
2719 | * [writer] Writer to encode to
|
2720 | * Writer
|
2721 | */
|
2722 | public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2723 |
|
2724 | /**
|
2725 | * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
|
2726 | * @param message MethodDescriptorProto message or plain object to encode
|
2727 | * @param [writer] Writer to encode to
|
2728 | * @returns Writer
|
2729 | */
|
2730 | public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
2731 |
|
2732 | /**
|
2733 | * Decodes a MethodDescriptorProto message from the specified reader or buffer.
|
2734 | * @param reader Reader or buffer to decode from
|
2735 | * @param [length] Message length if known beforehand
|
2736 | * @returns MethodDescriptorProto
|
2737 | * @throws {Error} If the payload is not a reader or valid buffer
|
2738 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2739 | */
|
2740 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
|
2741 |
|
2742 | /**
|
2743 | * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
|
2744 | * @param reader Reader or buffer to decode from
|
2745 | * @returns MethodDescriptorProto
|
2746 | * @throws {Error} If the payload is not a reader or valid buffer
|
2747 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2748 | */
|
2749 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
|
2750 |
|
2751 | /**
|
2752 | * Verifies a MethodDescriptorProto message.
|
2753 | * @param message Plain object to verify
|
2754 | * @returns `null` if valid, otherwise the reason why it is not
|
2755 | */
|
2756 | public static verify(message: { [k: string]: any }): (string|null);
|
2757 |
|
2758 | /**
|
2759 | * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
2760 | * @param object Plain object
|
2761 | * @returns MethodDescriptorProto
|
2762 | */
|
2763 | public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
|
2764 |
|
2765 | /**
|
2766 | * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
|
2767 | * @param message MethodDescriptorProto
|
2768 | * @param [options] Conversion options
|
2769 | * @returns Plain object
|
2770 | */
|
2771 | public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2772 |
|
2773 | /**
|
2774 | * Converts this MethodDescriptorProto to JSON.
|
2775 | * @returns JSON object
|
2776 | */
|
2777 | public toJSON(): { [k: string]: any };
|
2778 | }
|
2779 |
|
2780 | /** Properties of a FileOptions. */
|
2781 | interface IFileOptions {
|
2782 |
|
2783 | /** FileOptions javaPackage */
|
2784 | javaPackage?: (string|null);
|
2785 |
|
2786 | /** FileOptions javaOuterClassname */
|
2787 | javaOuterClassname?: (string|null);
|
2788 |
|
2789 | /** FileOptions javaMultipleFiles */
|
2790 | javaMultipleFiles?: (boolean|null);
|
2791 |
|
2792 | /** FileOptions javaGenerateEqualsAndHash */
|
2793 | javaGenerateEqualsAndHash?: (boolean|null);
|
2794 |
|
2795 | /** FileOptions javaStringCheckUtf8 */
|
2796 | javaStringCheckUtf8?: (boolean|null);
|
2797 |
|
2798 | /** FileOptions optimizeFor */
|
2799 | optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null);
|
2800 |
|
2801 | /** FileOptions goPackage */
|
2802 | goPackage?: (string|null);
|
2803 |
|
2804 | /** FileOptions ccGenericServices */
|
2805 | ccGenericServices?: (boolean|null);
|
2806 |
|
2807 | /** FileOptions javaGenericServices */
|
2808 | javaGenericServices?: (boolean|null);
|
2809 |
|
2810 | /** FileOptions pyGenericServices */
|
2811 | pyGenericServices?: (boolean|null);
|
2812 |
|
2813 | /** FileOptions phpGenericServices */
|
2814 | phpGenericServices?: (boolean|null);
|
2815 |
|
2816 | /** FileOptions deprecated */
|
2817 | deprecated?: (boolean|null);
|
2818 |
|
2819 | /** FileOptions ccEnableArenas */
|
2820 | ccEnableArenas?: (boolean|null);
|
2821 |
|
2822 | /** FileOptions objcClassPrefix */
|
2823 | objcClassPrefix?: (string|null);
|
2824 |
|
2825 | /** FileOptions csharpNamespace */
|
2826 | csharpNamespace?: (string|null);
|
2827 |
|
2828 | /** FileOptions swiftPrefix */
|
2829 | swiftPrefix?: (string|null);
|
2830 |
|
2831 | /** FileOptions phpClassPrefix */
|
2832 | phpClassPrefix?: (string|null);
|
2833 |
|
2834 | /** FileOptions phpNamespace */
|
2835 | phpNamespace?: (string|null);
|
2836 |
|
2837 | /** FileOptions phpMetadataNamespace */
|
2838 | phpMetadataNamespace?: (string|null);
|
2839 |
|
2840 | /** FileOptions rubyPackage */
|
2841 | rubyPackage?: (string|null);
|
2842 |
|
2843 | /** FileOptions uninterpretedOption */
|
2844 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
2845 | }
|
2846 |
|
2847 | /** Represents a FileOptions. */
|
2848 | class FileOptions implements IFileOptions {
|
2849 |
|
2850 | /**
|
2851 | * Constructs a new FileOptions.
|
2852 | * @param [properties] Properties to set
|
2853 | */
|
2854 | constructor(properties?: google.protobuf.IFileOptions);
|
2855 |
|
2856 | /** FileOptions javaPackage. */
|
2857 | public javaPackage: string;
|
2858 |
|
2859 | /** FileOptions javaOuterClassname. */
|
2860 | public javaOuterClassname: string;
|
2861 |
|
2862 | /** FileOptions javaMultipleFiles. */
|
2863 | public javaMultipleFiles: boolean;
|
2864 |
|
2865 | /** FileOptions javaGenerateEqualsAndHash. */
|
2866 | public javaGenerateEqualsAndHash: boolean;
|
2867 |
|
2868 | /** FileOptions javaStringCheckUtf8. */
|
2869 | public javaStringCheckUtf8: boolean;
|
2870 |
|
2871 | /** FileOptions optimizeFor. */
|
2872 | public optimizeFor: google.protobuf.FileOptions.OptimizeMode;
|
2873 |
|
2874 | /** FileOptions goPackage. */
|
2875 | public goPackage: string;
|
2876 |
|
2877 | /** FileOptions ccGenericServices. */
|
2878 | public ccGenericServices: boolean;
|
2879 |
|
2880 | /** FileOptions javaGenericServices. */
|
2881 | public javaGenericServices: boolean;
|
2882 |
|
2883 | /** FileOptions pyGenericServices. */
|
2884 | public pyGenericServices: boolean;
|
2885 |
|
2886 | /** FileOptions phpGenericServices. */
|
2887 | public phpGenericServices: boolean;
|
2888 |
|
2889 | /** FileOptions deprecated. */
|
2890 | public deprecated: boolean;
|
2891 |
|
2892 | /** FileOptions ccEnableArenas. */
|
2893 | public ccEnableArenas: boolean;
|
2894 |
|
2895 | /** FileOptions objcClassPrefix. */
|
2896 | public objcClassPrefix: string;
|
2897 |
|
2898 | /** FileOptions csharpNamespace. */
|
2899 | public csharpNamespace: string;
|
2900 |
|
2901 | /** FileOptions swiftPrefix. */
|
2902 | public swiftPrefix: string;
|
2903 |
|
2904 | /** FileOptions phpClassPrefix. */
|
2905 | public phpClassPrefix: string;
|
2906 |
|
2907 | /** FileOptions phpNamespace. */
|
2908 | public phpNamespace: string;
|
2909 |
|
2910 | /** FileOptions phpMetadataNamespace. */
|
2911 | public phpMetadataNamespace: string;
|
2912 |
|
2913 | /** FileOptions rubyPackage. */
|
2914 | public rubyPackage: string;
|
2915 |
|
2916 | /** FileOptions uninterpretedOption. */
|
2917 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
2918 |
|
2919 | /**
|
2920 | * Creates a new FileOptions instance using the specified properties.
|
2921 | * @param [properties] Properties to set
|
2922 | * @returns FileOptions instance
|
2923 | */
|
2924 | public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
|
2925 |
|
2926 | /**
|
2927 | * Encodes the specified FileOptions message. Does not implicitly { google.protobuf.FileOptions.verify|verify} messages.
|
2928 | * message FileOptions message or plain object to encode
|
2929 | * [writer] Writer to encode to
|
2930 | * Writer
|
2931 | */
|
2932 | public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
2933 |
|
2934 | /**
|
2935 | * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
|
2936 | * @param message FileOptions message or plain object to encode
|
2937 | * @param [writer] Writer to encode to
|
2938 | * @returns Writer
|
2939 | */
|
2940 | public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
2941 |
|
2942 | /**
|
2943 | * Decodes a FileOptions message from the specified reader or buffer.
|
2944 | * @param reader Reader or buffer to decode from
|
2945 | * @param [length] Message length if known beforehand
|
2946 | * @returns FileOptions
|
2947 | * @throws {Error} If the payload is not a reader or valid buffer
|
2948 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2949 | */
|
2950 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
|
2951 |
|
2952 | /**
|
2953 | * Decodes a FileOptions message from the specified reader or buffer, length delimited.
|
2954 | * @param reader Reader or buffer to decode from
|
2955 | * @returns FileOptions
|
2956 | * @throws {Error} If the payload is not a reader or valid buffer
|
2957 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2958 | */
|
2959 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
|
2960 |
|
2961 | /**
|
2962 | * Verifies a FileOptions message.
|
2963 | * @param message Plain object to verify
|
2964 | * @returns `null` if valid, otherwise the reason why it is not
|
2965 | */
|
2966 | public static verify(message: { [k: string]: any }): (string|null);
|
2967 |
|
2968 | /**
|
2969 | * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
|
2970 | * @param object Plain object
|
2971 | * @returns FileOptions
|
2972 | */
|
2973 | public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
|
2974 |
|
2975 | /**
|
2976 | * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
|
2977 | * @param message FileOptions
|
2978 | * @param [options] Conversion options
|
2979 | * @returns Plain object
|
2980 | */
|
2981 | public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2982 |
|
2983 | /**
|
2984 | * Converts this FileOptions to JSON.
|
2985 | * @returns JSON object
|
2986 | */
|
2987 | public toJSON(): { [k: string]: any };
|
2988 | }
|
2989 |
|
2990 | namespace FileOptions {
|
2991 |
|
2992 | /** OptimizeMode enum. */
|
2993 | enum OptimizeMode {
|
2994 | SPEED = 1,
|
2995 | CODE_SIZE = 2,
|
2996 | LITE_RUNTIME = 3
|
2997 | }
|
2998 | }
|
2999 |
|
3000 | /** Properties of a MessageOptions. */
|
3001 | interface IMessageOptions {
|
3002 |
|
3003 | /** MessageOptions messageSetWireFormat */
|
3004 | messageSetWireFormat?: (boolean|null);
|
3005 |
|
3006 | /** MessageOptions noStandardDescriptorAccessor */
|
3007 | noStandardDescriptorAccessor?: (boolean|null);
|
3008 |
|
3009 | /** MessageOptions deprecated */
|
3010 | deprecated?: (boolean|null);
|
3011 |
|
3012 | /** MessageOptions mapEntry */
|
3013 | mapEntry?: (boolean|null);
|
3014 |
|
3015 | /** MessageOptions uninterpretedOption */
|
3016 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
3017 | }
|
3018 |
|
3019 | /** Represents a MessageOptions. */
|
3020 | class MessageOptions implements IMessageOptions {
|
3021 |
|
3022 | /**
|
3023 | * Constructs a new MessageOptions.
|
3024 | * @param [properties] Properties to set
|
3025 | */
|
3026 | constructor(properties?: google.protobuf.IMessageOptions);
|
3027 |
|
3028 | /** MessageOptions messageSetWireFormat. */
|
3029 | public messageSetWireFormat: boolean;
|
3030 |
|
3031 | /** MessageOptions noStandardDescriptorAccessor. */
|
3032 | public noStandardDescriptorAccessor: boolean;
|
3033 |
|
3034 | /** MessageOptions deprecated. */
|
3035 | public deprecated: boolean;
|
3036 |
|
3037 | /** MessageOptions mapEntry. */
|
3038 | public mapEntry: boolean;
|
3039 |
|
3040 | /** MessageOptions uninterpretedOption. */
|
3041 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
3042 |
|
3043 | /**
|
3044 | * Creates a new MessageOptions instance using the specified properties.
|
3045 | * @param [properties] Properties to set
|
3046 | * @returns MessageOptions instance
|
3047 | */
|
3048 | public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
|
3049 |
|
3050 | /**
|
3051 | * Encodes the specified MessageOptions message. Does not implicitly { google.protobuf.MessageOptions.verify|verify} messages.
|
3052 | * message MessageOptions message or plain object to encode
|
3053 | * [writer] Writer to encode to
|
3054 | * Writer
|
3055 | */
|
3056 | public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3057 |
|
3058 | /**
|
3059 | * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
|
3060 | * @param message MessageOptions message or plain object to encode
|
3061 | * @param [writer] Writer to encode to
|
3062 | * @returns Writer
|
3063 | */
|
3064 | public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3065 |
|
3066 | /**
|
3067 | * Decodes a MessageOptions message from the specified reader or buffer.
|
3068 | * @param reader Reader or buffer to decode from
|
3069 | * @param [length] Message length if known beforehand
|
3070 | * @returns MessageOptions
|
3071 | * @throws {Error} If the payload is not a reader or valid buffer
|
3072 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3073 | */
|
3074 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
|
3075 |
|
3076 | /**
|
3077 | * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
|
3078 | * @param reader Reader or buffer to decode from
|
3079 | * @returns MessageOptions
|
3080 | * @throws {Error} If the payload is not a reader or valid buffer
|
3081 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3082 | */
|
3083 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
|
3084 |
|
3085 | /**
|
3086 | * Verifies a MessageOptions message.
|
3087 | * @param message Plain object to verify
|
3088 | * @returns `null` if valid, otherwise the reason why it is not
|
3089 | */
|
3090 | public static verify(message: { [k: string]: any }): (string|null);
|
3091 |
|
3092 | /**
|
3093 | * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
|
3094 | * @param object Plain object
|
3095 | * @returns MessageOptions
|
3096 | */
|
3097 | public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
|
3098 |
|
3099 | /**
|
3100 | * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
|
3101 | * @param message MessageOptions
|
3102 | * @param [options] Conversion options
|
3103 | * @returns Plain object
|
3104 | */
|
3105 | public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3106 |
|
3107 | /**
|
3108 | * Converts this MessageOptions to JSON.
|
3109 | * @returns JSON object
|
3110 | */
|
3111 | public toJSON(): { [k: string]: any };
|
3112 | }
|
3113 |
|
3114 | /** Properties of a FieldOptions. */
|
3115 | interface IFieldOptions {
|
3116 |
|
3117 | /** FieldOptions ctype */
|
3118 | ctype?: (google.protobuf.FieldOptions.CType|null);
|
3119 |
|
3120 | /** FieldOptions packed */
|
3121 | packed?: (boolean|null);
|
3122 |
|
3123 | /** FieldOptions jstype */
|
3124 | jstype?: (google.protobuf.FieldOptions.JSType|null);
|
3125 |
|
3126 | /** FieldOptions lazy */
|
3127 | lazy?: (boolean|null);
|
3128 |
|
3129 | /** FieldOptions deprecated */
|
3130 | deprecated?: (boolean|null);
|
3131 |
|
3132 | /** FieldOptions weak */
|
3133 | weak?: (boolean|null);
|
3134 |
|
3135 | /** FieldOptions uninterpretedOption */
|
3136 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
3137 | }
|
3138 |
|
3139 | /** Represents a FieldOptions. */
|
3140 | class FieldOptions implements IFieldOptions {
|
3141 |
|
3142 | /**
|
3143 | * Constructs a new FieldOptions.
|
3144 | * @param [properties] Properties to set
|
3145 | */
|
3146 | constructor(properties?: google.protobuf.IFieldOptions);
|
3147 |
|
3148 | /** FieldOptions ctype. */
|
3149 | public ctype: google.protobuf.FieldOptions.CType;
|
3150 |
|
3151 | /** FieldOptions packed. */
|
3152 | public packed: boolean;
|
3153 |
|
3154 | /** FieldOptions jstype. */
|
3155 | public jstype: google.protobuf.FieldOptions.JSType;
|
3156 |
|
3157 | /** FieldOptions lazy. */
|
3158 | public lazy: boolean;
|
3159 |
|
3160 | /** FieldOptions deprecated. */
|
3161 | public deprecated: boolean;
|
3162 |
|
3163 | /** FieldOptions weak. */
|
3164 | public weak: boolean;
|
3165 |
|
3166 | /** FieldOptions uninterpretedOption. */
|
3167 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
3168 |
|
3169 | /**
|
3170 | * Creates a new FieldOptions instance using the specified properties.
|
3171 | * @param [properties] Properties to set
|
3172 | * @returns FieldOptions instance
|
3173 | */
|
3174 | public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
|
3175 |
|
3176 | /**
|
3177 | * Encodes the specified FieldOptions message. Does not implicitly { google.protobuf.FieldOptions.verify|verify} messages.
|
3178 | * message FieldOptions message or plain object to encode
|
3179 | * [writer] Writer to encode to
|
3180 | * Writer
|
3181 | */
|
3182 | public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3183 |
|
3184 | /**
|
3185 | * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
|
3186 | * @param message FieldOptions message or plain object to encode
|
3187 | * @param [writer] Writer to encode to
|
3188 | * @returns Writer
|
3189 | */
|
3190 | public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3191 |
|
3192 | /**
|
3193 | * Decodes a FieldOptions message from the specified reader or buffer.
|
3194 | * @param reader Reader or buffer to decode from
|
3195 | * @param [length] Message length if known beforehand
|
3196 | * @returns FieldOptions
|
3197 | * @throws {Error} If the payload is not a reader or valid buffer
|
3198 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3199 | */
|
3200 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
|
3201 |
|
3202 | /**
|
3203 | * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
|
3204 | * @param reader Reader or buffer to decode from
|
3205 | * @returns FieldOptions
|
3206 | * @throws {Error} If the payload is not a reader or valid buffer
|
3207 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3208 | */
|
3209 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
|
3210 |
|
3211 | /**
|
3212 | * Verifies a FieldOptions message.
|
3213 | * @param message Plain object to verify
|
3214 | * @returns `null` if valid, otherwise the reason why it is not
|
3215 | */
|
3216 | public static verify(message: { [k: string]: any }): (string|null);
|
3217 |
|
3218 | /**
|
3219 | * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
|
3220 | * @param object Plain object
|
3221 | * @returns FieldOptions
|
3222 | */
|
3223 | public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
|
3224 |
|
3225 | /**
|
3226 | * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
|
3227 | * @param message FieldOptions
|
3228 | * @param [options] Conversion options
|
3229 | * @returns Plain object
|
3230 | */
|
3231 | public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3232 |
|
3233 | /**
|
3234 | * Converts this FieldOptions to JSON.
|
3235 | * @returns JSON object
|
3236 | */
|
3237 | public toJSON(): { [k: string]: any };
|
3238 | }
|
3239 |
|
3240 | namespace FieldOptions {
|
3241 |
|
3242 | /** CType enum. */
|
3243 | enum CType {
|
3244 | STRING = 0,
|
3245 | CORD = 1,
|
3246 | STRING_PIECE = 2
|
3247 | }
|
3248 |
|
3249 | /** JSType enum. */
|
3250 | enum JSType {
|
3251 | JS_NORMAL = 0,
|
3252 | JS_STRING = 1,
|
3253 | JS_NUMBER = 2
|
3254 | }
|
3255 | }
|
3256 |
|
3257 | /** Properties of an OneofOptions. */
|
3258 | interface IOneofOptions {
|
3259 |
|
3260 | /** OneofOptions uninterpretedOption */
|
3261 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
3262 | }
|
3263 |
|
3264 | /** Represents an OneofOptions. */
|
3265 | class OneofOptions implements IOneofOptions {
|
3266 |
|
3267 | /**
|
3268 | * Constructs a new OneofOptions.
|
3269 | * @param [properties] Properties to set
|
3270 | */
|
3271 | constructor(properties?: google.protobuf.IOneofOptions);
|
3272 |
|
3273 | /** OneofOptions uninterpretedOption. */
|
3274 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
3275 |
|
3276 | /**
|
3277 | * Creates a new OneofOptions instance using the specified properties.
|
3278 | * @param [properties] Properties to set
|
3279 | * @returns OneofOptions instance
|
3280 | */
|
3281 | public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
|
3282 |
|
3283 | /**
|
3284 | * Encodes the specified OneofOptions message. Does not implicitly { google.protobuf.OneofOptions.verify|verify} messages.
|
3285 | * message OneofOptions message or plain object to encode
|
3286 | * [writer] Writer to encode to
|
3287 | * Writer
|
3288 | */
|
3289 | public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3290 |
|
3291 | /**
|
3292 | * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
|
3293 | * @param message OneofOptions message or plain object to encode
|
3294 | * @param [writer] Writer to encode to
|
3295 | * @returns Writer
|
3296 | */
|
3297 | public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3298 |
|
3299 | /**
|
3300 | * Decodes an OneofOptions message from the specified reader or buffer.
|
3301 | * @param reader Reader or buffer to decode from
|
3302 | * @param [length] Message length if known beforehand
|
3303 | * @returns OneofOptions
|
3304 | * @throws {Error} If the payload is not a reader or valid buffer
|
3305 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3306 | */
|
3307 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
|
3308 |
|
3309 | /**
|
3310 | * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
|
3311 | * @param reader Reader or buffer to decode from
|
3312 | * @returns OneofOptions
|
3313 | * @throws {Error} If the payload is not a reader or valid buffer
|
3314 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3315 | */
|
3316 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
|
3317 |
|
3318 | /**
|
3319 | * Verifies an OneofOptions message.
|
3320 | * @param message Plain object to verify
|
3321 | * @returns `null` if valid, otherwise the reason why it is not
|
3322 | */
|
3323 | public static verify(message: { [k: string]: any }): (string|null);
|
3324 |
|
3325 | /**
|
3326 | * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
|
3327 | * @param object Plain object
|
3328 | * @returns OneofOptions
|
3329 | */
|
3330 | public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
|
3331 |
|
3332 | /**
|
3333 | * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
|
3334 | * @param message OneofOptions
|
3335 | * @param [options] Conversion options
|
3336 | * @returns Plain object
|
3337 | */
|
3338 | public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3339 |
|
3340 | /**
|
3341 | * Converts this OneofOptions to JSON.
|
3342 | * @returns JSON object
|
3343 | */
|
3344 | public toJSON(): { [k: string]: any };
|
3345 | }
|
3346 |
|
3347 | /** Properties of an EnumOptions. */
|
3348 | interface IEnumOptions {
|
3349 |
|
3350 | /** EnumOptions allowAlias */
|
3351 | allowAlias?: (boolean|null);
|
3352 |
|
3353 | /** EnumOptions deprecated */
|
3354 | deprecated?: (boolean|null);
|
3355 |
|
3356 | /** EnumOptions uninterpretedOption */
|
3357 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
3358 | }
|
3359 |
|
3360 | /** Represents an EnumOptions. */
|
3361 | class EnumOptions implements IEnumOptions {
|
3362 |
|
3363 | /**
|
3364 | * Constructs a new EnumOptions.
|
3365 | * @param [properties] Properties to set
|
3366 | */
|
3367 | constructor(properties?: google.protobuf.IEnumOptions);
|
3368 |
|
3369 | /** EnumOptions allowAlias. */
|
3370 | public allowAlias: boolean;
|
3371 |
|
3372 | /** EnumOptions deprecated. */
|
3373 | public deprecated: boolean;
|
3374 |
|
3375 | /** EnumOptions uninterpretedOption. */
|
3376 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
3377 |
|
3378 | /**
|
3379 | * Creates a new EnumOptions instance using the specified properties.
|
3380 | * @param [properties] Properties to set
|
3381 | * @returns EnumOptions instance
|
3382 | */
|
3383 | public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
|
3384 |
|
3385 | /**
|
3386 | * Encodes the specified EnumOptions message. Does not implicitly { google.protobuf.EnumOptions.verify|verify} messages.
|
3387 | * message EnumOptions message or plain object to encode
|
3388 | * [writer] Writer to encode to
|
3389 | * Writer
|
3390 | */
|
3391 | public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3392 |
|
3393 | /**
|
3394 | * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
|
3395 | * @param message EnumOptions message or plain object to encode
|
3396 | * @param [writer] Writer to encode to
|
3397 | * @returns Writer
|
3398 | */
|
3399 | public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3400 |
|
3401 | /**
|
3402 | * Decodes an EnumOptions message from the specified reader or buffer.
|
3403 | * @param reader Reader or buffer to decode from
|
3404 | * @param [length] Message length if known beforehand
|
3405 | * @returns EnumOptions
|
3406 | * @throws {Error} If the payload is not a reader or valid buffer
|
3407 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3408 | */
|
3409 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
|
3410 |
|
3411 | /**
|
3412 | * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
|
3413 | * @param reader Reader or buffer to decode from
|
3414 | * @returns EnumOptions
|
3415 | * @throws {Error} If the payload is not a reader or valid buffer
|
3416 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3417 | */
|
3418 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
|
3419 |
|
3420 | /**
|
3421 | * Verifies an EnumOptions message.
|
3422 | * @param message Plain object to verify
|
3423 | * @returns `null` if valid, otherwise the reason why it is not
|
3424 | */
|
3425 | public static verify(message: { [k: string]: any }): (string|null);
|
3426 |
|
3427 | /**
|
3428 | * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
|
3429 | * @param object Plain object
|
3430 | * @returns EnumOptions
|
3431 | */
|
3432 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
|
3433 |
|
3434 | /**
|
3435 | * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
|
3436 | * @param message EnumOptions
|
3437 | * @param [options] Conversion options
|
3438 | * @returns Plain object
|
3439 | */
|
3440 | public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3441 |
|
3442 | /**
|
3443 | * Converts this EnumOptions to JSON.
|
3444 | * @returns JSON object
|
3445 | */
|
3446 | public toJSON(): { [k: string]: any };
|
3447 | }
|
3448 |
|
3449 | /** Properties of an EnumValueOptions. */
|
3450 | interface IEnumValueOptions {
|
3451 |
|
3452 | /** EnumValueOptions deprecated */
|
3453 | deprecated?: (boolean|null);
|
3454 |
|
3455 | /** EnumValueOptions uninterpretedOption */
|
3456 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
3457 | }
|
3458 |
|
3459 | /** Represents an EnumValueOptions. */
|
3460 | class EnumValueOptions implements IEnumValueOptions {
|
3461 |
|
3462 | /**
|
3463 | * Constructs a new EnumValueOptions.
|
3464 | * @param [properties] Properties to set
|
3465 | */
|
3466 | constructor(properties?: google.protobuf.IEnumValueOptions);
|
3467 |
|
3468 | /** EnumValueOptions deprecated. */
|
3469 | public deprecated: boolean;
|
3470 |
|
3471 | /** EnumValueOptions uninterpretedOption. */
|
3472 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
3473 |
|
3474 | /**
|
3475 | * Creates a new EnumValueOptions instance using the specified properties.
|
3476 | * @param [properties] Properties to set
|
3477 | * @returns EnumValueOptions instance
|
3478 | */
|
3479 | public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
|
3480 |
|
3481 | /**
|
3482 | * Encodes the specified EnumValueOptions message. Does not implicitly { google.protobuf.EnumValueOptions.verify|verify} messages.
|
3483 | * message EnumValueOptions message or plain object to encode
|
3484 | * [writer] Writer to encode to
|
3485 | * Writer
|
3486 | */
|
3487 | public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3488 |
|
3489 | /**
|
3490 | * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
|
3491 | * @param message EnumValueOptions message or plain object to encode
|
3492 | * @param [writer] Writer to encode to
|
3493 | * @returns Writer
|
3494 | */
|
3495 | public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3496 |
|
3497 | /**
|
3498 | * Decodes an EnumValueOptions message from the specified reader or buffer.
|
3499 | * @param reader Reader or buffer to decode from
|
3500 | * @param [length] Message length if known beforehand
|
3501 | * @returns EnumValueOptions
|
3502 | * @throws {Error} If the payload is not a reader or valid buffer
|
3503 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3504 | */
|
3505 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
|
3506 |
|
3507 | /**
|
3508 | * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
|
3509 | * @param reader Reader or buffer to decode from
|
3510 | * @returns EnumValueOptions
|
3511 | * @throws {Error} If the payload is not a reader or valid buffer
|
3512 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3513 | */
|
3514 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
|
3515 |
|
3516 | /**
|
3517 | * Verifies an EnumValueOptions message.
|
3518 | * @param message Plain object to verify
|
3519 | * @returns `null` if valid, otherwise the reason why it is not
|
3520 | */
|
3521 | public static verify(message: { [k: string]: any }): (string|null);
|
3522 |
|
3523 | /**
|
3524 | * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
|
3525 | * @param object Plain object
|
3526 | * @returns EnumValueOptions
|
3527 | */
|
3528 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
|
3529 |
|
3530 | /**
|
3531 | * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
|
3532 | * @param message EnumValueOptions
|
3533 | * @param [options] Conversion options
|
3534 | * @returns Plain object
|
3535 | */
|
3536 | public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3537 |
|
3538 | /**
|
3539 | * Converts this EnumValueOptions to JSON.
|
3540 | * @returns JSON object
|
3541 | */
|
3542 | public toJSON(): { [k: string]: any };
|
3543 | }
|
3544 |
|
3545 | /** Properties of a ServiceOptions. */
|
3546 | interface IServiceOptions {
|
3547 |
|
3548 | /** ServiceOptions deprecated */
|
3549 | deprecated?: (boolean|null);
|
3550 |
|
3551 | /** ServiceOptions uninterpretedOption */
|
3552 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
3553 |
|
3554 | /** ServiceOptions .google.api.defaultHost */
|
3555 | ".google.api.defaultHost"?: (string|null);
|
3556 |
|
3557 | /** ServiceOptions .google.api.oauthScopes */
|
3558 | ".google.api.oauthScopes"?: (string|null);
|
3559 | }
|
3560 |
|
3561 | /** Represents a ServiceOptions. */
|
3562 | class ServiceOptions implements IServiceOptions {
|
3563 |
|
3564 | /**
|
3565 | * Constructs a new ServiceOptions.
|
3566 | * @param [properties] Properties to set
|
3567 | */
|
3568 | constructor(properties?: google.protobuf.IServiceOptions);
|
3569 |
|
3570 | /** ServiceOptions deprecated. */
|
3571 | public deprecated: boolean;
|
3572 |
|
3573 | /** ServiceOptions uninterpretedOption. */
|
3574 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
3575 |
|
3576 | /**
|
3577 | * Creates a new ServiceOptions instance using the specified properties.
|
3578 | * @param [properties] Properties to set
|
3579 | * @returns ServiceOptions instance
|
3580 | */
|
3581 | public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
|
3582 |
|
3583 | /**
|
3584 | * Encodes the specified ServiceOptions message. Does not implicitly { google.protobuf.ServiceOptions.verify|verify} messages.
|
3585 | * message ServiceOptions message or plain object to encode
|
3586 | * [writer] Writer to encode to
|
3587 | * Writer
|
3588 | */
|
3589 | public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3590 |
|
3591 | /**
|
3592 | * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
|
3593 | * @param message ServiceOptions message or plain object to encode
|
3594 | * @param [writer] Writer to encode to
|
3595 | * @returns Writer
|
3596 | */
|
3597 | public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3598 |
|
3599 | /**
|
3600 | * Decodes a ServiceOptions message from the specified reader or buffer.
|
3601 | * @param reader Reader or buffer to decode from
|
3602 | * @param [length] Message length if known beforehand
|
3603 | * @returns ServiceOptions
|
3604 | * @throws {Error} If the payload is not a reader or valid buffer
|
3605 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3606 | */
|
3607 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
|
3608 |
|
3609 | /**
|
3610 | * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
|
3611 | * @param reader Reader or buffer to decode from
|
3612 | * @returns ServiceOptions
|
3613 | * @throws {Error} If the payload is not a reader or valid buffer
|
3614 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3615 | */
|
3616 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
|
3617 |
|
3618 | /**
|
3619 | * Verifies a ServiceOptions message.
|
3620 | * @param message Plain object to verify
|
3621 | * @returns `null` if valid, otherwise the reason why it is not
|
3622 | */
|
3623 | public static verify(message: { [k: string]: any }): (string|null);
|
3624 |
|
3625 | /**
|
3626 | * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
|
3627 | * @param object Plain object
|
3628 | * @returns ServiceOptions
|
3629 | */
|
3630 | public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
|
3631 |
|
3632 | /**
|
3633 | * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
|
3634 | * @param message ServiceOptions
|
3635 | * @param [options] Conversion options
|
3636 | * @returns Plain object
|
3637 | */
|
3638 | public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3639 |
|
3640 | /**
|
3641 | * Converts this ServiceOptions to JSON.
|
3642 | * @returns JSON object
|
3643 | */
|
3644 | public toJSON(): { [k: string]: any };
|
3645 | }
|
3646 |
|
3647 | /** Properties of a MethodOptions. */
|
3648 | interface IMethodOptions {
|
3649 |
|
3650 | /** MethodOptions deprecated */
|
3651 | deprecated?: (boolean|null);
|
3652 |
|
3653 | /** MethodOptions idempotencyLevel */
|
3654 | idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|null);
|
3655 |
|
3656 | /** MethodOptions uninterpretedOption */
|
3657 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
3658 |
|
3659 | /** MethodOptions .google.longrunning.operationInfo */
|
3660 | ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null);
|
3661 |
|
3662 | /** MethodOptions .google.api.http */
|
3663 | ".google.api.http"?: (google.api.IHttpRule|null);
|
3664 |
|
3665 | /** MethodOptions .google.api.methodSignature */
|
3666 | ".google.api.methodSignature"?: (string[]|null);
|
3667 | }
|
3668 |
|
3669 | /** Represents a MethodOptions. */
|
3670 | class MethodOptions implements IMethodOptions {
|
3671 |
|
3672 | /**
|
3673 | * Constructs a new MethodOptions.
|
3674 | * @param [properties] Properties to set
|
3675 | */
|
3676 | constructor(properties?: google.protobuf.IMethodOptions);
|
3677 |
|
3678 | /** MethodOptions deprecated. */
|
3679 | public deprecated: boolean;
|
3680 |
|
3681 | /** MethodOptions idempotencyLevel. */
|
3682 | public idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel;
|
3683 |
|
3684 | /** MethodOptions uninterpretedOption. */
|
3685 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
3686 |
|
3687 | /**
|
3688 | * Creates a new MethodOptions instance using the specified properties.
|
3689 | * @param [properties] Properties to set
|
3690 | * @returns MethodOptions instance
|
3691 | */
|
3692 | public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
|
3693 |
|
3694 | /**
|
3695 | * Encodes the specified MethodOptions message. Does not implicitly { google.protobuf.MethodOptions.verify|verify} messages.
|
3696 | * message MethodOptions message or plain object to encode
|
3697 | * [writer] Writer to encode to
|
3698 | * Writer
|
3699 | */
|
3700 | public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3701 |
|
3702 | /**
|
3703 | * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
|
3704 | * @param message MethodOptions message or plain object to encode
|
3705 | * @param [writer] Writer to encode to
|
3706 | * @returns Writer
|
3707 | */
|
3708 | public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
3709 |
|
3710 | /**
|
3711 | * Decodes a MethodOptions message from the specified reader or buffer.
|
3712 | * @param reader Reader or buffer to decode from
|
3713 | * @param [length] Message length if known beforehand
|
3714 | * @returns MethodOptions
|
3715 | * @throws {Error} If the payload is not a reader or valid buffer
|
3716 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3717 | */
|
3718 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
|
3719 |
|
3720 | /**
|
3721 | * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
|
3722 | * @param reader Reader or buffer to decode from
|
3723 | * @returns MethodOptions
|
3724 | * @throws {Error} If the payload is not a reader or valid buffer
|
3725 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3726 | */
|
3727 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
|
3728 |
|
3729 | /**
|
3730 | * Verifies a MethodOptions message.
|
3731 | * @param message Plain object to verify
|
3732 | * @returns `null` if valid, otherwise the reason why it is not
|
3733 | */
|
3734 | public static verify(message: { [k: string]: any }): (string|null);
|
3735 |
|
3736 | /**
|
3737 | * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
|
3738 | * @param object Plain object
|
3739 | * @returns MethodOptions
|
3740 | */
|
3741 | public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
|
3742 |
|
3743 | /**
|
3744 | * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
|
3745 | * @param message MethodOptions
|
3746 | * @param [options] Conversion options
|
3747 | * @returns Plain object
|
3748 | */
|
3749 | public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3750 |
|
3751 | /**
|
3752 | * Converts this MethodOptions to JSON.
|
3753 | * @returns JSON object
|
3754 | */
|
3755 | public toJSON(): { [k: string]: any };
|
3756 | }
|
3757 |
|
3758 | namespace MethodOptions {
|
3759 |
|
3760 | /** IdempotencyLevel enum. */
|
3761 | enum IdempotencyLevel {
|
3762 | IDEMPOTENCY_UNKNOWN = 0,
|
3763 | NO_SIDE_EFFECTS = 1,
|
3764 | IDEMPOTENT = 2
|
3765 | }
|
3766 | }
|
3767 |
|
3768 | /** Properties of an UninterpretedOption. */
|
3769 | interface IUninterpretedOption {
|
3770 |
|
3771 | /** UninterpretedOption name */
|
3772 | name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
|
3773 |
|
3774 | /** UninterpretedOption identifierValue */
|
3775 | identifierValue?: (string|null);
|
3776 |
|
3777 | /** UninterpretedOption positiveIntValue */
|
3778 | positiveIntValue?: (number|Long|null);
|
3779 |
|
3780 | /** UninterpretedOption negativeIntValue */
|
3781 | negativeIntValue?: (number|Long|null);
|
3782 |
|
3783 | /** UninterpretedOption doubleValue */
|
3784 | doubleValue?: (number|null);
|
3785 |
|
3786 | /** UninterpretedOption stringValue */
|
3787 | stringValue?: (Uint8Array|null);
|
3788 |
|
3789 | /** UninterpretedOption aggregateValue */
|
3790 | aggregateValue?: (string|null);
|
3791 | }
|
3792 |
|
3793 | /** Represents an UninterpretedOption. */
|
3794 | class UninterpretedOption implements IUninterpretedOption {
|
3795 |
|
3796 | /**
|
3797 | * Constructs a new UninterpretedOption.
|
3798 | * @param [properties] Properties to set
|
3799 | */
|
3800 | constructor(properties?: google.protobuf.IUninterpretedOption);
|
3801 |
|
3802 | /** UninterpretedOption name. */
|
3803 | public name: google.protobuf.UninterpretedOption.INamePart[];
|
3804 |
|
3805 | /** UninterpretedOption identifierValue. */
|
3806 | public identifierValue: string;
|
3807 |
|
3808 | /** UninterpretedOption positiveIntValue. */
|
3809 | public positiveIntValue: (number|Long);
|
3810 |
|
3811 | /** UninterpretedOption negativeIntValue. */
|
3812 | public negativeIntValue: (number|Long);
|
3813 |
|
3814 | /** UninterpretedOption doubleValue. */
|
3815 | public doubleValue: number;
|
3816 |
|
3817 | /** UninterpretedOption stringValue. */
|
3818 | public stringValue: Uint8Array;
|
3819 |
|
3820 | /** UninterpretedOption aggregateValue. */
|
3821 | public aggregateValue: string;
|
3822 |
|
3823 | /**
|
3824 | * Creates a new UninterpretedOption instance using the specified properties.
|
3825 | * @param [properties] Properties to set
|
3826 | * @returns UninterpretedOption instance
|
3827 | */
|
3828 | public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
|
3829 |
|
3830 | /**
|
3831 | * Encodes the specified UninterpretedOption message. Does not implicitly { google.protobuf.UninterpretedOption.verify|verify} messages.
|
3832 | * message UninterpretedOption message or plain object to encode
|
3833 | * [writer] Writer to encode to
|
3834 | * Writer
|
3835 | */
|
3836 | public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
3837 |
|
3838 | /**
|
3839 | * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
|
3840 | * @param message UninterpretedOption message or plain object to encode
|
3841 | * @param [writer] Writer to encode to
|
3842 | * @returns Writer
|
3843 | */
|
3844 | public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
3845 |
|
3846 | /**
|
3847 | * Decodes an UninterpretedOption message from the specified reader or buffer.
|
3848 | * @param reader Reader or buffer to decode from
|
3849 | * @param [length] Message length if known beforehand
|
3850 | * @returns UninterpretedOption
|
3851 | * @throws {Error} If the payload is not a reader or valid buffer
|
3852 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3853 | */
|
3854 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
|
3855 |
|
3856 | /**
|
3857 | * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
|
3858 | * @param reader Reader or buffer to decode from
|
3859 | * @returns UninterpretedOption
|
3860 | * @throws {Error} If the payload is not a reader or valid buffer
|
3861 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3862 | */
|
3863 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
|
3864 |
|
3865 | /**
|
3866 | * Verifies an UninterpretedOption message.
|
3867 | * @param message Plain object to verify
|
3868 | * @returns `null` if valid, otherwise the reason why it is not
|
3869 | */
|
3870 | public static verify(message: { [k: string]: any }): (string|null);
|
3871 |
|
3872 | /**
|
3873 | * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
|
3874 | * @param object Plain object
|
3875 | * @returns UninterpretedOption
|
3876 | */
|
3877 | public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
|
3878 |
|
3879 | /**
|
3880 | * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
|
3881 | * @param message UninterpretedOption
|
3882 | * @param [options] Conversion options
|
3883 | * @returns Plain object
|
3884 | */
|
3885 | public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3886 |
|
3887 | /**
|
3888 | * Converts this UninterpretedOption to JSON.
|
3889 | * @returns JSON object
|
3890 | */
|
3891 | public toJSON(): { [k: string]: any };
|
3892 | }
|
3893 |
|
3894 | namespace UninterpretedOption {
|
3895 |
|
3896 | /** Properties of a NamePart. */
|
3897 | interface INamePart {
|
3898 |
|
3899 | /** NamePart namePart */
|
3900 | namePart: string;
|
3901 |
|
3902 | /** NamePart isExtension */
|
3903 | isExtension: boolean;
|
3904 | }
|
3905 |
|
3906 | /** Represents a NamePart. */
|
3907 | class NamePart implements INamePart {
|
3908 |
|
3909 | /**
|
3910 | * Constructs a new NamePart.
|
3911 | * @param [properties] Properties to set
|
3912 | */
|
3913 | constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
|
3914 |
|
3915 | /** NamePart namePart. */
|
3916 | public namePart: string;
|
3917 |
|
3918 | /** NamePart isExtension. */
|
3919 | public isExtension: boolean;
|
3920 |
|
3921 | /**
|
3922 | * Creates a new NamePart instance using the specified properties.
|
3923 | * @param [properties] Properties to set
|
3924 | * @returns NamePart instance
|
3925 | */
|
3926 | public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
|
3927 |
|
3928 | /**
|
3929 | * Encodes the specified NamePart message. Does not implicitly { google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
|
3930 | * message NamePart message or plain object to encode
|
3931 | * [writer] Writer to encode to
|
3932 | * Writer
|
3933 | */
|
3934 | public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
|
3935 |
|
3936 | /**
|
3937 | * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
|
3938 | * @param message NamePart message or plain object to encode
|
3939 | * @param [writer] Writer to encode to
|
3940 | * @returns Writer
|
3941 | */
|
3942 | public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
|
3943 |
|
3944 | /**
|
3945 | * Decodes a NamePart message from the specified reader or buffer.
|
3946 | * @param reader Reader or buffer to decode from
|
3947 | * @param [length] Message length if known beforehand
|
3948 | * @returns NamePart
|
3949 | * @throws {Error} If the payload is not a reader or valid buffer
|
3950 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3951 | */
|
3952 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
|
3953 |
|
3954 | /**
|
3955 | * Decodes a NamePart message from the specified reader or buffer, length delimited.
|
3956 | * @param reader Reader or buffer to decode from
|
3957 | * @returns NamePart
|
3958 | * @throws {Error} If the payload is not a reader or valid buffer
|
3959 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3960 | */
|
3961 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
|
3962 |
|
3963 | /**
|
3964 | * Verifies a NamePart message.
|
3965 | * @param message Plain object to verify
|
3966 | * @returns `null` if valid, otherwise the reason why it is not
|
3967 | */
|
3968 | public static verify(message: { [k: string]: any }): (string|null);
|
3969 |
|
3970 | /**
|
3971 | * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
|
3972 | * @param object Plain object
|
3973 | * @returns NamePart
|
3974 | */
|
3975 | public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
|
3976 |
|
3977 | /**
|
3978 | * Creates a plain object from a NamePart message. Also converts values to other types if specified.
|
3979 | * @param message NamePart
|
3980 | * @param [options] Conversion options
|
3981 | * @returns Plain object
|
3982 | */
|
3983 | public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3984 |
|
3985 | /**
|
3986 | * Converts this NamePart to JSON.
|
3987 | * @returns JSON object
|
3988 | */
|
3989 | public toJSON(): { [k: string]: any };
|
3990 | }
|
3991 | }
|
3992 |
|
3993 | /** Properties of a SourceCodeInfo. */
|
3994 | interface ISourceCodeInfo {
|
3995 |
|
3996 | /** SourceCodeInfo location */
|
3997 | location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
|
3998 | }
|
3999 |
|
4000 | /** Represents a SourceCodeInfo. */
|
4001 | class SourceCodeInfo implements ISourceCodeInfo {
|
4002 |
|
4003 | /**
|
4004 | * Constructs a new SourceCodeInfo.
|
4005 | * @param [properties] Properties to set
|
4006 | */
|
4007 | constructor(properties?: google.protobuf.ISourceCodeInfo);
|
4008 |
|
4009 | /** SourceCodeInfo location. */
|
4010 | public location: google.protobuf.SourceCodeInfo.ILocation[];
|
4011 |
|
4012 | /**
|
4013 | * Creates a new SourceCodeInfo instance using the specified properties.
|
4014 | * @param [properties] Properties to set
|
4015 | * @returns SourceCodeInfo instance
|
4016 | */
|
4017 | public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
|
4018 |
|
4019 | /**
|
4020 | * Encodes the specified SourceCodeInfo message. Does not implicitly { google.protobuf.SourceCodeInfo.verify|verify} messages.
|
4021 | * message SourceCodeInfo message or plain object to encode
|
4022 | * [writer] Writer to encode to
|
4023 | * Writer
|
4024 | */
|
4025 | public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
4026 |
|
4027 | /**
|
4028 | * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
4029 | * @param message SourceCodeInfo message or plain object to encode
|
4030 | * @param [writer] Writer to encode to
|
4031 | * @returns Writer
|
4032 | */
|
4033 | public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
4034 |
|
4035 | /**
|
4036 | * Decodes a SourceCodeInfo message from the specified reader or buffer.
|
4037 | * @param reader Reader or buffer to decode from
|
4038 | * @param [length] Message length if known beforehand
|
4039 | * @returns SourceCodeInfo
|
4040 | * @throws {Error} If the payload is not a reader or valid buffer
|
4041 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4042 | */
|
4043 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
|
4044 |
|
4045 | /**
|
4046 | * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
|
4047 | * @param reader Reader or buffer to decode from
|
4048 | * @returns SourceCodeInfo
|
4049 | * @throws {Error} If the payload is not a reader or valid buffer
|
4050 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4051 | */
|
4052 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
|
4053 |
|
4054 | /**
|
4055 | * Verifies a SourceCodeInfo message.
|
4056 | * @param message Plain object to verify
|
4057 | * @returns `null` if valid, otherwise the reason why it is not
|
4058 | */
|
4059 | public static verify(message: { [k: string]: any }): (string|null);
|
4060 |
|
4061 | /**
|
4062 | * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
|
4063 | * @param object Plain object
|
4064 | * @returns SourceCodeInfo
|
4065 | */
|
4066 | public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
|
4067 |
|
4068 | /**
|
4069 | * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
|
4070 | * @param message SourceCodeInfo
|
4071 | * @param [options] Conversion options
|
4072 | * @returns Plain object
|
4073 | */
|
4074 | public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4075 |
|
4076 | /**
|
4077 | * Converts this SourceCodeInfo to JSON.
|
4078 | * @returns JSON object
|
4079 | */
|
4080 | public toJSON(): { [k: string]: any };
|
4081 | }
|
4082 |
|
4083 | namespace SourceCodeInfo {
|
4084 |
|
4085 | /** Properties of a Location. */
|
4086 | interface ILocation {
|
4087 |
|
4088 | /** Location path */
|
4089 | path?: (number[]|null);
|
4090 |
|
4091 | /** Location span */
|
4092 | span?: (number[]|null);
|
4093 |
|
4094 | /** Location leadingComments */
|
4095 | leadingComments?: (string|null);
|
4096 |
|
4097 | /** Location trailingComments */
|
4098 | trailingComments?: (string|null);
|
4099 |
|
4100 | /** Location leadingDetachedComments */
|
4101 | leadingDetachedComments?: (string[]|null);
|
4102 | }
|
4103 |
|
4104 | /** Represents a Location. */
|
4105 | class Location implements ILocation {
|
4106 |
|
4107 | /**
|
4108 | * Constructs a new Location.
|
4109 | * @param [properties] Properties to set
|
4110 | */
|
4111 | constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
|
4112 |
|
4113 | /** Location path. */
|
4114 | public path: number[];
|
4115 |
|
4116 | /** Location span. */
|
4117 | public span: number[];
|
4118 |
|
4119 | /** Location leadingComments. */
|
4120 | public leadingComments: string;
|
4121 |
|
4122 | /** Location trailingComments. */
|
4123 | public trailingComments: string;
|
4124 |
|
4125 | /** Location leadingDetachedComments. */
|
4126 | public leadingDetachedComments: string[];
|
4127 |
|
4128 | /**
|
4129 | * Creates a new Location instance using the specified properties.
|
4130 | * @param [properties] Properties to set
|
4131 | * @returns Location instance
|
4132 | */
|
4133 | public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
|
4134 |
|
4135 | /**
|
4136 | * Encodes the specified Location message. Does not implicitly { google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
4137 | * message Location message or plain object to encode
|
4138 | * [writer] Writer to encode to
|
4139 | * Writer
|
4140 | */
|
4141 | public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
4142 |
|
4143 | /**
|
4144 | * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
4145 | * @param message Location message or plain object to encode
|
4146 | * @param [writer] Writer to encode to
|
4147 | * @returns Writer
|
4148 | */
|
4149 | public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
4150 |
|
4151 | /**
|
4152 | * Decodes a Location message from the specified reader or buffer.
|
4153 | * @param reader Reader or buffer to decode from
|
4154 | * @param [length] Message length if known beforehand
|
4155 | * @returns Location
|
4156 | * @throws {Error} If the payload is not a reader or valid buffer
|
4157 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4158 | */
|
4159 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
|
4160 |
|
4161 | /**
|
4162 | * Decodes a Location message from the specified reader or buffer, length delimited.
|
4163 | * @param reader Reader or buffer to decode from
|
4164 | * @returns Location
|
4165 | * @throws {Error} If the payload is not a reader or valid buffer
|
4166 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4167 | */
|
4168 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
|
4169 |
|
4170 | /**
|
4171 | * Verifies a Location message.
|
4172 | * @param message Plain object to verify
|
4173 | * @returns `null` if valid, otherwise the reason why it is not
|
4174 | */
|
4175 | public static verify(message: { [k: string]: any }): (string|null);
|
4176 |
|
4177 | /**
|
4178 | * Creates a Location message from a plain object. Also converts values to their respective internal types.
|
4179 | * @param object Plain object
|
4180 | * @returns Location
|
4181 | */
|
4182 | public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
|
4183 |
|
4184 | /**
|
4185 | * Creates a plain object from a Location message. Also converts values to other types if specified.
|
4186 | * @param message Location
|
4187 | * @param [options] Conversion options
|
4188 | * @returns Plain object
|
4189 | */
|
4190 | public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4191 |
|
4192 | /**
|
4193 | * Converts this Location to JSON.
|
4194 | * @returns JSON object
|
4195 | */
|
4196 | public toJSON(): { [k: string]: any };
|
4197 | }
|
4198 | }
|
4199 |
|
4200 | /** Properties of a GeneratedCodeInfo. */
|
4201 | interface IGeneratedCodeInfo {
|
4202 |
|
4203 | /** GeneratedCodeInfo annotation */
|
4204 | annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
|
4205 | }
|
4206 |
|
4207 | /** Represents a GeneratedCodeInfo. */
|
4208 | class GeneratedCodeInfo implements IGeneratedCodeInfo {
|
4209 |
|
4210 | /**
|
4211 | * Constructs a new GeneratedCodeInfo.
|
4212 | * @param [properties] Properties to set
|
4213 | */
|
4214 | constructor(properties?: google.protobuf.IGeneratedCodeInfo);
|
4215 |
|
4216 | /** GeneratedCodeInfo annotation. */
|
4217 | public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
|
4218 |
|
4219 | /**
|
4220 | * Creates a new GeneratedCodeInfo instance using the specified properties.
|
4221 | * @param [properties] Properties to set
|
4222 | * @returns GeneratedCodeInfo instance
|
4223 | */
|
4224 | public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
|
4225 |
|
4226 | /**
|
4227 | * Encodes the specified GeneratedCodeInfo message. Does not implicitly { google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
4228 | * message GeneratedCodeInfo message or plain object to encode
|
4229 | * [writer] Writer to encode to
|
4230 | * Writer
|
4231 | */
|
4232 | public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
4233 |
|
4234 | /**
|
4235 | * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
4236 | * @param message GeneratedCodeInfo message or plain object to encode
|
4237 | * @param [writer] Writer to encode to
|
4238 | * @returns Writer
|
4239 | */
|
4240 | public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
4241 |
|
4242 | /**
|
4243 | * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
|
4244 | * @param reader Reader or buffer to decode from
|
4245 | * @param [length] Message length if known beforehand
|
4246 | * @returns GeneratedCodeInfo
|
4247 | * @throws {Error} If the payload is not a reader or valid buffer
|
4248 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4249 | */
|
4250 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
|
4251 |
|
4252 | /**
|
4253 | * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
|
4254 | * @param reader Reader or buffer to decode from
|
4255 | * @returns GeneratedCodeInfo
|
4256 | * @throws {Error} If the payload is not a reader or valid buffer
|
4257 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4258 | */
|
4259 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
|
4260 |
|
4261 | /**
|
4262 | * Verifies a GeneratedCodeInfo message.
|
4263 | * @param message Plain object to verify
|
4264 | * @returns `null` if valid, otherwise the reason why it is not
|
4265 | */
|
4266 | public static verify(message: { [k: string]: any }): (string|null);
|
4267 |
|
4268 | /**
|
4269 | * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
|
4270 | * @param object Plain object
|
4271 | * @returns GeneratedCodeInfo
|
4272 | */
|
4273 | public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
|
4274 |
|
4275 | /**
|
4276 | * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
|
4277 | * @param message GeneratedCodeInfo
|
4278 | * @param [options] Conversion options
|
4279 | * @returns Plain object
|
4280 | */
|
4281 | public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4282 |
|
4283 | /**
|
4284 | * Converts this GeneratedCodeInfo to JSON.
|
4285 | * @returns JSON object
|
4286 | */
|
4287 | public toJSON(): { [k: string]: any };
|
4288 | }
|
4289 |
|
4290 | namespace GeneratedCodeInfo {
|
4291 |
|
4292 | /** Properties of an Annotation. */
|
4293 | interface IAnnotation {
|
4294 |
|
4295 | /** Annotation path */
|
4296 | path?: (number[]|null);
|
4297 |
|
4298 | /** Annotation sourceFile */
|
4299 | sourceFile?: (string|null);
|
4300 |
|
4301 | /** Annotation begin */
|
4302 | begin?: (number|null);
|
4303 |
|
4304 | /** Annotation end */
|
4305 | end?: (number|null);
|
4306 | }
|
4307 |
|
4308 | /** Represents an Annotation. */
|
4309 | class Annotation implements IAnnotation {
|
4310 |
|
4311 | /**
|
4312 | * Constructs a new Annotation.
|
4313 | * @param [properties] Properties to set
|
4314 | */
|
4315 | constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
|
4316 |
|
4317 | /** Annotation path. */
|
4318 | public path: number[];
|
4319 |
|
4320 | /** Annotation sourceFile. */
|
4321 | public sourceFile: string;
|
4322 |
|
4323 | /** Annotation begin. */
|
4324 | public begin: number;
|
4325 |
|
4326 | /** Annotation end. */
|
4327 | public end: number;
|
4328 |
|
4329 | /**
|
4330 | * Creates a new Annotation instance using the specified properties.
|
4331 | * @param [properties] Properties to set
|
4332 | * @returns Annotation instance
|
4333 | */
|
4334 | public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
|
4335 |
|
4336 | /**
|
4337 | * Encodes the specified Annotation message. Does not implicitly { google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
4338 | * message Annotation message or plain object to encode
|
4339 | * [writer] Writer to encode to
|
4340 | * Writer
|
4341 | */
|
4342 | public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
4343 |
|
4344 | /**
|
4345 | * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
4346 | * @param message Annotation message or plain object to encode
|
4347 | * @param [writer] Writer to encode to
|
4348 | * @returns Writer
|
4349 | */
|
4350 | public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
4351 |
|
4352 | /**
|
4353 | * Decodes an Annotation message from the specified reader or buffer.
|
4354 | * @param reader Reader or buffer to decode from
|
4355 | * @param [length] Message length if known beforehand
|
4356 | * @returns Annotation
|
4357 | * @throws {Error} If the payload is not a reader or valid buffer
|
4358 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4359 | */
|
4360 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
|
4361 |
|
4362 | /**
|
4363 | * Decodes an Annotation message from the specified reader or buffer, length delimited.
|
4364 | * @param reader Reader or buffer to decode from
|
4365 | * @returns Annotation
|
4366 | * @throws {Error} If the payload is not a reader or valid buffer
|
4367 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4368 | */
|
4369 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
|
4370 |
|
4371 | /**
|
4372 | * Verifies an Annotation message.
|
4373 | * @param message Plain object to verify
|
4374 | * @returns `null` if valid, otherwise the reason why it is not
|
4375 | */
|
4376 | public static verify(message: { [k: string]: any }): (string|null);
|
4377 |
|
4378 | /**
|
4379 | * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
|
4380 | * @param object Plain object
|
4381 | * @returns Annotation
|
4382 | */
|
4383 | public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
|
4384 |
|
4385 | /**
|
4386 | * Creates a plain object from an Annotation message. Also converts values to other types if specified.
|
4387 | * @param message Annotation
|
4388 | * @param [options] Conversion options
|
4389 | * @returns Plain object
|
4390 | */
|
4391 | public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4392 |
|
4393 | /**
|
4394 | * Converts this Annotation to JSON.
|
4395 | * @returns JSON object
|
4396 | */
|
4397 | public toJSON(): { [k: string]: any };
|
4398 | }
|
4399 | }
|
4400 |
|
4401 | /** Properties of an Any. */
|
4402 | interface IAny {
|
4403 |
|
4404 | /** Any type_url */
|
4405 | type_url?: (string|null);
|
4406 |
|
4407 | /** Any value */
|
4408 | value?: (Uint8Array|null);
|
4409 | }
|
4410 |
|
4411 | /** Represents an Any. */
|
4412 | class Any implements IAny {
|
4413 |
|
4414 | /**
|
4415 | * Constructs a new Any.
|
4416 | * @param [properties] Properties to set
|
4417 | */
|
4418 | constructor(properties?: google.protobuf.IAny);
|
4419 |
|
4420 | /** Any type_url. */
|
4421 | public type_url: string;
|
4422 |
|
4423 | /** Any value. */
|
4424 | public value: Uint8Array;
|
4425 |
|
4426 | /**
|
4427 | * Creates a new Any instance using the specified properties.
|
4428 | * @param [properties] Properties to set
|
4429 | * @returns Any instance
|
4430 | */
|
4431 | public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
|
4432 |
|
4433 | /**
|
4434 | * Encodes the specified Any message. Does not implicitly { google.protobuf.Any.verify|verify} messages.
|
4435 | * message Any message or plain object to encode
|
4436 | * [writer] Writer to encode to
|
4437 | * Writer
|
4438 | */
|
4439 | public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
|
4440 |
|
4441 | /**
|
4442 | * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
|
4443 | * @param message Any message or plain object to encode
|
4444 | * @param [writer] Writer to encode to
|
4445 | * @returns Writer
|
4446 | */
|
4447 | public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
|
4448 |
|
4449 | /**
|
4450 | * Decodes an Any message from the specified reader or buffer.
|
4451 | * @param reader Reader or buffer to decode from
|
4452 | * @param [length] Message length if known beforehand
|
4453 | * @returns Any
|
4454 | * @throws {Error} If the payload is not a reader or valid buffer
|
4455 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4456 | */
|
4457 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
|
4458 |
|
4459 | /**
|
4460 | * Decodes an Any message from the specified reader or buffer, length delimited.
|
4461 | * @param reader Reader or buffer to decode from
|
4462 | * @returns Any
|
4463 | * @throws {Error} If the payload is not a reader or valid buffer
|
4464 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4465 | */
|
4466 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
|
4467 |
|
4468 | /**
|
4469 | * Verifies an Any message.
|
4470 | * @param message Plain object to verify
|
4471 | * @returns `null` if valid, otherwise the reason why it is not
|
4472 | */
|
4473 | public static verify(message: { [k: string]: any }): (string|null);
|
4474 |
|
4475 | /**
|
4476 | * Creates an Any message from a plain object. Also converts values to their respective internal types.
|
4477 | * @param object Plain object
|
4478 | * @returns Any
|
4479 | */
|
4480 | public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
|
4481 |
|
4482 | /**
|
4483 | * Creates a plain object from an Any message. Also converts values to other types if specified.
|
4484 | * @param message Any
|
4485 | * @param [options] Conversion options
|
4486 | * @returns Plain object
|
4487 | */
|
4488 | public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4489 |
|
4490 | /**
|
4491 | * Converts this Any to JSON.
|
4492 | * @returns JSON object
|
4493 | */
|
4494 | public toJSON(): { [k: string]: any };
|
4495 | }
|
4496 |
|
4497 | /** Properties of a Duration. */
|
4498 | interface IDuration {
|
4499 |
|
4500 | /** Duration seconds */
|
4501 | seconds?: (number|Long|null);
|
4502 |
|
4503 | /** Duration nanos */
|
4504 | nanos?: (number|null);
|
4505 | }
|
4506 |
|
4507 | /** Represents a Duration. */
|
4508 | class Duration implements IDuration {
|
4509 |
|
4510 | /**
|
4511 | * Constructs a new Duration.
|
4512 | * @param [properties] Properties to set
|
4513 | */
|
4514 | constructor(properties?: google.protobuf.IDuration);
|
4515 |
|
4516 | /** Duration seconds. */
|
4517 | public seconds: (number|Long);
|
4518 |
|
4519 | /** Duration nanos. */
|
4520 | public nanos: number;
|
4521 |
|
4522 | /**
|
4523 | * Creates a new Duration instance using the specified properties.
|
4524 | * @param [properties] Properties to set
|
4525 | * @returns Duration instance
|
4526 | */
|
4527 | public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
|
4528 |
|
4529 | /**
|
4530 | * Encodes the specified Duration message. Does not implicitly { google.protobuf.Duration.verify|verify} messages.
|
4531 | * message Duration message or plain object to encode
|
4532 | * [writer] Writer to encode to
|
4533 | * Writer
|
4534 | */
|
4535 | public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
|
4536 |
|
4537 | /**
|
4538 | * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
|
4539 | * @param message Duration message or plain object to encode
|
4540 | * @param [writer] Writer to encode to
|
4541 | * @returns Writer
|
4542 | */
|
4543 | public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
|
4544 |
|
4545 | /**
|
4546 | * Decodes a Duration message from the specified reader or buffer.
|
4547 | * @param reader Reader or buffer to decode from
|
4548 | * @param [length] Message length if known beforehand
|
4549 | * @returns Duration
|
4550 | * @throws {Error} If the payload is not a reader or valid buffer
|
4551 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4552 | */
|
4553 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
|
4554 |
|
4555 | /**
|
4556 | * Decodes a Duration message from the specified reader or buffer, length delimited.
|
4557 | * @param reader Reader or buffer to decode from
|
4558 | * @returns Duration
|
4559 | * @throws {Error} If the payload is not a reader or valid buffer
|
4560 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4561 | */
|
4562 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
|
4563 |
|
4564 | /**
|
4565 | * Verifies a Duration message.
|
4566 | * @param message Plain object to verify
|
4567 | * @returns `null` if valid, otherwise the reason why it is not
|
4568 | */
|
4569 | public static verify(message: { [k: string]: any }): (string|null);
|
4570 |
|
4571 | /**
|
4572 | * Creates a Duration message from a plain object. Also converts values to their respective internal types.
|
4573 | * @param object Plain object
|
4574 | * @returns Duration
|
4575 | */
|
4576 | public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
|
4577 |
|
4578 | /**
|
4579 | * Creates a plain object from a Duration message. Also converts values to other types if specified.
|
4580 | * @param message Duration
|
4581 | * @param [options] Conversion options
|
4582 | * @returns Plain object
|
4583 | */
|
4584 | public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4585 |
|
4586 | /**
|
4587 | * Converts this Duration to JSON.
|
4588 | * @returns JSON object
|
4589 | */
|
4590 | public toJSON(): { [k: string]: any };
|
4591 | }
|
4592 |
|
4593 | /** Properties of an Empty. */
|
4594 | interface IEmpty {
|
4595 | }
|
4596 |
|
4597 | /** Represents an Empty. */
|
4598 | class Empty implements IEmpty {
|
4599 |
|
4600 | /**
|
4601 | * Constructs a new Empty.
|
4602 | * @param [properties] Properties to set
|
4603 | */
|
4604 | constructor(properties?: google.protobuf.IEmpty);
|
4605 |
|
4606 | /**
|
4607 | * Creates a new Empty instance using the specified properties.
|
4608 | * @param [properties] Properties to set
|
4609 | * @returns Empty instance
|
4610 | */
|
4611 | public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
|
4612 |
|
4613 | /**
|
4614 | * Encodes the specified Empty message. Does not implicitly { google.protobuf.Empty.verify|verify} messages.
|
4615 | * message Empty message or plain object to encode
|
4616 | * [writer] Writer to encode to
|
4617 | * Writer
|
4618 | */
|
4619 | public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
|
4620 |
|
4621 | /**
|
4622 | * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
|
4623 | * @param message Empty message or plain object to encode
|
4624 | * @param [writer] Writer to encode to
|
4625 | * @returns Writer
|
4626 | */
|
4627 | public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
|
4628 |
|
4629 | /**
|
4630 | * Decodes an Empty message from the specified reader or buffer.
|
4631 | * @param reader Reader or buffer to decode from
|
4632 | * @param [length] Message length if known beforehand
|
4633 | * @returns Empty
|
4634 | * @throws {Error} If the payload is not a reader or valid buffer
|
4635 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4636 | */
|
4637 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
|
4638 |
|
4639 | /**
|
4640 | * Decodes an Empty message from the specified reader or buffer, length delimited.
|
4641 | * @param reader Reader or buffer to decode from
|
4642 | * @returns Empty
|
4643 | * @throws {Error} If the payload is not a reader or valid buffer
|
4644 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4645 | */
|
4646 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
|
4647 |
|
4648 | /**
|
4649 | * Verifies an Empty message.
|
4650 | * @param message Plain object to verify
|
4651 | * @returns `null` if valid, otherwise the reason why it is not
|
4652 | */
|
4653 | public static verify(message: { [k: string]: any }): (string|null);
|
4654 |
|
4655 | /**
|
4656 | * Creates an Empty message from a plain object. Also converts values to their respective internal types.
|
4657 | * @param object Plain object
|
4658 | * @returns Empty
|
4659 | */
|
4660 | public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
|
4661 |
|
4662 | /**
|
4663 | * Creates a plain object from an Empty message. Also converts values to other types if specified.
|
4664 | * @param message Empty
|
4665 | * @param [options] Conversion options
|
4666 | * @returns Plain object
|
4667 | */
|
4668 | public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4669 |
|
4670 | /**
|
4671 | * Converts this Empty to JSON.
|
4672 | * @returns JSON object
|
4673 | */
|
4674 | public toJSON(): { [k: string]: any };
|
4675 | }
|
4676 | }
|
4677 |
|
4678 | /** Namespace rpc. */
|
4679 | namespace rpc {
|
4680 |
|
4681 | /** Properties of a Status. */
|
4682 | interface IStatus {
|
4683 |
|
4684 | /** Status code */
|
4685 | code?: (number|null);
|
4686 |
|
4687 | /** Status message */
|
4688 | message?: (string|null);
|
4689 |
|
4690 | /** Status details */
|
4691 | details?: (google.protobuf.IAny[]|null);
|
4692 | }
|
4693 |
|
4694 | /** Represents a Status. */
|
4695 | class Status implements IStatus {
|
4696 |
|
4697 | /**
|
4698 | * Constructs a new Status.
|
4699 | * @param [properties] Properties to set
|
4700 | */
|
4701 | constructor(properties?: google.rpc.IStatus);
|
4702 |
|
4703 | /** Status code. */
|
4704 | public code: number;
|
4705 |
|
4706 | /** Status message. */
|
4707 | public message: string;
|
4708 |
|
4709 | /** Status details. */
|
4710 | public details: google.protobuf.IAny[];
|
4711 |
|
4712 | /**
|
4713 | * Creates a new Status instance using the specified properties.
|
4714 | * @param [properties] Properties to set
|
4715 | * @returns Status instance
|
4716 | */
|
4717 | public static create(properties?: google.rpc.IStatus): google.rpc.Status;
|
4718 |
|
4719 | /**
|
4720 | * Encodes the specified Status message. Does not implicitly { google.rpc.Status.verify|verify} messages.
|
4721 | * message Status message or plain object to encode
|
4722 | * [writer] Writer to encode to
|
4723 | * Writer
|
4724 | */
|
4725 | public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
4726 |
|
4727 | /**
|
4728 | * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
|
4729 | * @param message Status message or plain object to encode
|
4730 | * @param [writer] Writer to encode to
|
4731 | * @returns Writer
|
4732 | */
|
4733 | public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
4734 |
|
4735 | /**
|
4736 | * Decodes a Status message from the specified reader or buffer.
|
4737 | * @param reader Reader or buffer to decode from
|
4738 | * @param [length] Message length if known beforehand
|
4739 | * @returns Status
|
4740 | * @throws {Error} If the payload is not a reader or valid buffer
|
4741 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4742 | */
|
4743 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
|
4744 |
|
4745 | /**
|
4746 | * Decodes a Status message from the specified reader or buffer, length delimited.
|
4747 | * @param reader Reader or buffer to decode from
|
4748 | * @returns Status
|
4749 | * @throws {Error} If the payload is not a reader or valid buffer
|
4750 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4751 | */
|
4752 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
|
4753 |
|
4754 | /**
|
4755 | * Verifies a Status message.
|
4756 | * @param message Plain object to verify
|
4757 | * @returns `null` if valid, otherwise the reason why it is not
|
4758 | */
|
4759 | public static verify(message: { [k: string]: any }): (string|null);
|
4760 |
|
4761 | /**
|
4762 | * Creates a Status message from a plain object. Also converts values to their respective internal types.
|
4763 | * @param object Plain object
|
4764 | * @returns Status
|
4765 | */
|
4766 | public static fromObject(object: { [k: string]: any }): google.rpc.Status;
|
4767 |
|
4768 | /**
|
4769 | * Creates a plain object from a Status message. Also converts values to other types if specified.
|
4770 | * @param message Status
|
4771 | * @param [options] Conversion options
|
4772 | * @returns Plain object
|
4773 | */
|
4774 | public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4775 |
|
4776 | /**
|
4777 | * Converts this Status to JSON.
|
4778 | * @returns JSON object
|
4779 | */
|
4780 | public toJSON(): { [k: string]: any };
|
4781 | }
|
4782 | }
|
4783 | }
|