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