1 | // Copyright 2023 Google LLC
|
2 | //
|
3 | // Licensed under the Apache License, Version 2.0 (the "License");
|
4 | // you may not use this file except in compliance with the License.
|
5 | // You may obtain a copy of the License at
|
6 | //
|
7 | // http://www.apache.org/licenses/LICENSE-2.0
|
8 | //
|
9 | // Unless required by applicable law or agreed to in writing, software
|
10 | // distributed under the License is distributed on an "AS IS" BASIS,
|
11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 | // See the License for the specific language governing permissions and
|
13 | // limitations under the License.
|
14 |
|
15 | import type {protobuf as $protobuf} from "google-gax";
|
16 | import Long = require("long");
|
17 | /** Namespace google. */
|
18 | export namespace google {
|
19 |
|
20 | /** Namespace datastore. */
|
21 | namespace datastore {
|
22 |
|
23 | /** Namespace admin. */
|
24 | namespace admin {
|
25 |
|
26 | /** Namespace v1. */
|
27 | namespace v1 {
|
28 |
|
29 | /** Represents a DatastoreAdmin */
|
30 | class DatastoreAdmin extends $protobuf.rpc.Service {
|
31 |
|
32 | /**
|
33 | * Constructs a new DatastoreAdmin service.
|
34 | * @param rpcImpl RPC implementation
|
35 | * @param [requestDelimited=false] Whether requests are length-delimited
|
36 | * @param [responseDelimited=false] Whether responses are length-delimited
|
37 | */
|
38 | constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
39 |
|
40 | /**
|
41 | * Creates new DatastoreAdmin service using the specified rpc implementation.
|
42 | * @param rpcImpl RPC implementation
|
43 | * @param [requestDelimited=false] Whether requests are length-delimited
|
44 | * @param [responseDelimited=false] Whether responses are length-delimited
|
45 | * @returns RPC service. Useful where requests and/or responses are streamed.
|
46 | */
|
47 | public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): DatastoreAdmin;
|
48 |
|
49 | /**
|
50 | * Calls ExportEntities.
|
51 | * @param request ExportEntitiesRequest message or plain object
|
52 | * @param callback Node-style callback called with the error, if any, and Operation
|
53 | */
|
54 | public exportEntities(request: google.datastore.admin.v1.IExportEntitiesRequest, callback: google.datastore.admin.v1.DatastoreAdmin.ExportEntitiesCallback): void;
|
55 |
|
56 | /**
|
57 | * Calls ExportEntities.
|
58 | * @param request ExportEntitiesRequest message or plain object
|
59 | * @returns Promise
|
60 | */
|
61 | public exportEntities(request: google.datastore.admin.v1.IExportEntitiesRequest): Promise<google.longrunning.Operation>;
|
62 |
|
63 | /**
|
64 | * Calls ImportEntities.
|
65 | * @param request ImportEntitiesRequest message or plain object
|
66 | * @param callback Node-style callback called with the error, if any, and Operation
|
67 | */
|
68 | public importEntities(request: google.datastore.admin.v1.IImportEntitiesRequest, callback: google.datastore.admin.v1.DatastoreAdmin.ImportEntitiesCallback): void;
|
69 |
|
70 | /**
|
71 | * Calls ImportEntities.
|
72 | * @param request ImportEntitiesRequest message or plain object
|
73 | * @returns Promise
|
74 | */
|
75 | public importEntities(request: google.datastore.admin.v1.IImportEntitiesRequest): Promise<google.longrunning.Operation>;
|
76 |
|
77 | /**
|
78 | * Calls CreateIndex.
|
79 | * @param request CreateIndexRequest message or plain object
|
80 | * @param callback Node-style callback called with the error, if any, and Operation
|
81 | */
|
82 | public createIndex(request: google.datastore.admin.v1.ICreateIndexRequest, callback: google.datastore.admin.v1.DatastoreAdmin.CreateIndexCallback): void;
|
83 |
|
84 | /**
|
85 | * Calls CreateIndex.
|
86 | * @param request CreateIndexRequest message or plain object
|
87 | * @returns Promise
|
88 | */
|
89 | public createIndex(request: google.datastore.admin.v1.ICreateIndexRequest): Promise<google.longrunning.Operation>;
|
90 |
|
91 | /**
|
92 | * Calls DeleteIndex.
|
93 | * @param request DeleteIndexRequest message or plain object
|
94 | * @param callback Node-style callback called with the error, if any, and Operation
|
95 | */
|
96 | public deleteIndex(request: google.datastore.admin.v1.IDeleteIndexRequest, callback: google.datastore.admin.v1.DatastoreAdmin.DeleteIndexCallback): void;
|
97 |
|
98 | /**
|
99 | * Calls DeleteIndex.
|
100 | * @param request DeleteIndexRequest message or plain object
|
101 | * @returns Promise
|
102 | */
|
103 | public deleteIndex(request: google.datastore.admin.v1.IDeleteIndexRequest): Promise<google.longrunning.Operation>;
|
104 |
|
105 | /**
|
106 | * Calls GetIndex.
|
107 | * @param request GetIndexRequest message or plain object
|
108 | * @param callback Node-style callback called with the error, if any, and Index
|
109 | */
|
110 | public getIndex(request: google.datastore.admin.v1.IGetIndexRequest, callback: google.datastore.admin.v1.DatastoreAdmin.GetIndexCallback): void;
|
111 |
|
112 | /**
|
113 | * Calls GetIndex.
|
114 | * @param request GetIndexRequest message or plain object
|
115 | * @returns Promise
|
116 | */
|
117 | public getIndex(request: google.datastore.admin.v1.IGetIndexRequest): Promise<google.datastore.admin.v1.Index>;
|
118 |
|
119 | /**
|
120 | * Calls ListIndexes.
|
121 | * @param request ListIndexesRequest message or plain object
|
122 | * @param callback Node-style callback called with the error, if any, and ListIndexesResponse
|
123 | */
|
124 | public listIndexes(request: google.datastore.admin.v1.IListIndexesRequest, callback: google.datastore.admin.v1.DatastoreAdmin.ListIndexesCallback): void;
|
125 |
|
126 | /**
|
127 | * Calls ListIndexes.
|
128 | * @param request ListIndexesRequest message or plain object
|
129 | * @returns Promise
|
130 | */
|
131 | public listIndexes(request: google.datastore.admin.v1.IListIndexesRequest): Promise<google.datastore.admin.v1.ListIndexesResponse>;
|
132 | }
|
133 |
|
134 | namespace DatastoreAdmin {
|
135 |
|
136 | /**
|
137 | * Callback as used by {@link google.datastore.admin.v1.DatastoreAdmin|exportEntities}.
|
138 | * @param error Error, if any
|
139 | * @param [response] Operation
|
140 | */
|
141 | type ExportEntitiesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
142 |
|
143 | /**
|
144 | * Callback as used by {@link google.datastore.admin.v1.DatastoreAdmin|importEntities}.
|
145 | * @param error Error, if any
|
146 | * @param [response] Operation
|
147 | */
|
148 | type ImportEntitiesCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
149 |
|
150 | /**
|
151 | * Callback as used by {@link google.datastore.admin.v1.DatastoreAdmin|createIndex}.
|
152 | * @param error Error, if any
|
153 | * @param [response] Operation
|
154 | */
|
155 | type CreateIndexCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
156 |
|
157 | /**
|
158 | * Callback as used by {@link google.datastore.admin.v1.DatastoreAdmin|deleteIndex}.
|
159 | * @param error Error, if any
|
160 | * @param [response] Operation
|
161 | */
|
162 | type DeleteIndexCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
163 |
|
164 | /**
|
165 | * Callback as used by {@link google.datastore.admin.v1.DatastoreAdmin|getIndex}.
|
166 | * @param error Error, if any
|
167 | * @param [response] Index
|
168 | */
|
169 | type GetIndexCallback = (error: (Error|null), response?: google.datastore.admin.v1.Index) => void;
|
170 |
|
171 | /**
|
172 | * Callback as used by {@link google.datastore.admin.v1.DatastoreAdmin|listIndexes}.
|
173 | * @param error Error, if any
|
174 | * @param [response] ListIndexesResponse
|
175 | */
|
176 | type ListIndexesCallback = (error: (Error|null), response?: google.datastore.admin.v1.ListIndexesResponse) => void;
|
177 | }
|
178 |
|
179 | /** Properties of a CommonMetadata. */
|
180 | interface ICommonMetadata {
|
181 |
|
182 | /** CommonMetadata startTime */
|
183 | startTime?: (google.protobuf.ITimestamp|null);
|
184 |
|
185 | /** CommonMetadata endTime */
|
186 | endTime?: (google.protobuf.ITimestamp|null);
|
187 |
|
188 | /** CommonMetadata operationType */
|
189 | operationType?: (google.datastore.admin.v1.OperationType|keyof typeof google.datastore.admin.v1.OperationType|null);
|
190 |
|
191 | /** CommonMetadata labels */
|
192 | labels?: ({ [k: string]: string }|null);
|
193 |
|
194 | /** CommonMetadata state */
|
195 | state?: (google.datastore.admin.v1.CommonMetadata.State|keyof typeof google.datastore.admin.v1.CommonMetadata.State|null);
|
196 | }
|
197 |
|
198 | /** Represents a CommonMetadata. */
|
199 | class CommonMetadata implements ICommonMetadata {
|
200 |
|
201 | /**
|
202 | * Constructs a new CommonMetadata.
|
203 | * @param [properties] Properties to set
|
204 | */
|
205 | constructor(properties?: google.datastore.admin.v1.ICommonMetadata);
|
206 |
|
207 | /** CommonMetadata startTime. */
|
208 | public startTime?: (google.protobuf.ITimestamp|null);
|
209 |
|
210 | /** CommonMetadata endTime. */
|
211 | public endTime?: (google.protobuf.ITimestamp|null);
|
212 |
|
213 | /** CommonMetadata operationType. */
|
214 | public operationType: (google.datastore.admin.v1.OperationType|keyof typeof google.datastore.admin.v1.OperationType);
|
215 |
|
216 | /** CommonMetadata labels. */
|
217 | public labels: { [k: string]: string };
|
218 |
|
219 | /** CommonMetadata state. */
|
220 | public state: (google.datastore.admin.v1.CommonMetadata.State|keyof typeof google.datastore.admin.v1.CommonMetadata.State);
|
221 |
|
222 | /**
|
223 | * Creates a new CommonMetadata instance using the specified properties.
|
224 | * @param [properties] Properties to set
|
225 | * @returns CommonMetadata instance
|
226 | */
|
227 | public static create(properties?: google.datastore.admin.v1.ICommonMetadata): google.datastore.admin.v1.CommonMetadata;
|
228 |
|
229 | /**
|
230 | * Encodes the specified CommonMetadata message. Does not implicitly {@link google.datastore.admin.v1.CommonMetadata.verify|verify} messages.
|
231 | * @param message CommonMetadata message or plain object to encode
|
232 | * @param [writer] Writer to encode to
|
233 | * @returns Writer
|
234 | */
|
235 | public static encode(message: google.datastore.admin.v1.ICommonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
236 |
|
237 | /**
|
238 | * Encodes the specified CommonMetadata message, length delimited. Does not implicitly {@link google.datastore.admin.v1.CommonMetadata.verify|verify} messages.
|
239 | * @param message CommonMetadata message or plain object to encode
|
240 | * @param [writer] Writer to encode to
|
241 | * @returns Writer
|
242 | */
|
243 | public static encodeDelimited(message: google.datastore.admin.v1.ICommonMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
244 |
|
245 | /**
|
246 | * Decodes a CommonMetadata message from the specified reader or buffer.
|
247 | * @param reader Reader or buffer to decode from
|
248 | * @param [length] Message length if known beforehand
|
249 | * @returns CommonMetadata
|
250 | * @throws {Error} If the payload is not a reader or valid buffer
|
251 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
252 | */
|
253 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.CommonMetadata;
|
254 |
|
255 | /**
|
256 | * Decodes a CommonMetadata message from the specified reader or buffer, length delimited.
|
257 | * @param reader Reader or buffer to decode from
|
258 | * @returns CommonMetadata
|
259 | * @throws {Error} If the payload is not a reader or valid buffer
|
260 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
261 | */
|
262 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.CommonMetadata;
|
263 |
|
264 | /**
|
265 | * Verifies a CommonMetadata message.
|
266 | * @param message Plain object to verify
|
267 | * @returns `null` if valid, otherwise the reason why it is not
|
268 | */
|
269 | public static verify(message: { [k: string]: any }): (string|null);
|
270 |
|
271 | /**
|
272 | * Creates a CommonMetadata message from a plain object. Also converts values to their respective internal types.
|
273 | * @param object Plain object
|
274 | * @returns CommonMetadata
|
275 | */
|
276 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.CommonMetadata;
|
277 |
|
278 | /**
|
279 | * Creates a plain object from a CommonMetadata message. Also converts values to other types if specified.
|
280 | * @param message CommonMetadata
|
281 | * @param [options] Conversion options
|
282 | * @returns Plain object
|
283 | */
|
284 | public static toObject(message: google.datastore.admin.v1.CommonMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
285 |
|
286 | /**
|
287 | * Converts this CommonMetadata to JSON.
|
288 | * @returns JSON object
|
289 | */
|
290 | public toJSON(): { [k: string]: any };
|
291 |
|
292 | /**
|
293 | * Gets the default type url for CommonMetadata
|
294 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
295 | * @returns The default type url
|
296 | */
|
297 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
298 | }
|
299 |
|
300 | namespace CommonMetadata {
|
301 |
|
302 | /** State enum. */
|
303 | enum State {
|
304 | STATE_UNSPECIFIED = 0,
|
305 | INITIALIZING = 1,
|
306 | PROCESSING = 2,
|
307 | CANCELLING = 3,
|
308 | FINALIZING = 4,
|
309 | SUCCESSFUL = 5,
|
310 | FAILED = 6,
|
311 | CANCELLED = 7
|
312 | }
|
313 | }
|
314 |
|
315 | /** Properties of a Progress. */
|
316 | interface IProgress {
|
317 |
|
318 | /** Progress workCompleted */
|
319 | workCompleted?: (number|Long|string|null);
|
320 |
|
321 | /** Progress workEstimated */
|
322 | workEstimated?: (number|Long|string|null);
|
323 | }
|
324 |
|
325 | /** Represents a Progress. */
|
326 | class Progress implements IProgress {
|
327 |
|
328 | /**
|
329 | * Constructs a new Progress.
|
330 | * @param [properties] Properties to set
|
331 | */
|
332 | constructor(properties?: google.datastore.admin.v1.IProgress);
|
333 |
|
334 | /** Progress workCompleted. */
|
335 | public workCompleted: (number|Long|string);
|
336 |
|
337 | /** Progress workEstimated. */
|
338 | public workEstimated: (number|Long|string);
|
339 |
|
340 | /**
|
341 | * Creates a new Progress instance using the specified properties.
|
342 | * @param [properties] Properties to set
|
343 | * @returns Progress instance
|
344 | */
|
345 | public static create(properties?: google.datastore.admin.v1.IProgress): google.datastore.admin.v1.Progress;
|
346 |
|
347 | /**
|
348 | * Encodes the specified Progress message. Does not implicitly { google.datastore.admin.v1.Progress.verify|verify} messages.
|
349 | * message Progress message or plain object to encode
|
350 | * [writer] Writer to encode to
|
351 | * Writer
|
352 | */
|
353 | public static encode(message: google.datastore.admin.v1.IProgress, writer?: $protobuf.Writer): $protobuf.Writer;
|
354 |
|
355 | /**
|
356 | * Encodes the specified Progress message, length delimited. Does not implicitly {@link google.datastore.admin.v1.Progress.verify|verify} messages.
|
357 | * @param message Progress message or plain object to encode
|
358 | * @param [writer] Writer to encode to
|
359 | * @returns Writer
|
360 | */
|
361 | public static encodeDelimited(message: google.datastore.admin.v1.IProgress, writer?: $protobuf.Writer): $protobuf.Writer;
|
362 |
|
363 | /**
|
364 | * Decodes a Progress message from the specified reader or buffer.
|
365 | * @param reader Reader or buffer to decode from
|
366 | * @param [length] Message length if known beforehand
|
367 | * @returns Progress
|
368 | * @throws {Error} If the payload is not a reader or valid buffer
|
369 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
370 | */
|
371 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.Progress;
|
372 |
|
373 | /**
|
374 | * Decodes a Progress message from the specified reader or buffer, length delimited.
|
375 | * @param reader Reader or buffer to decode from
|
376 | * @returns Progress
|
377 | * @throws {Error} If the payload is not a reader or valid buffer
|
378 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
379 | */
|
380 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.Progress;
|
381 |
|
382 | /**
|
383 | * Verifies a Progress message.
|
384 | * @param message Plain object to verify
|
385 | * @returns `null` if valid, otherwise the reason why it is not
|
386 | */
|
387 | public static verify(message: { [k: string]: any }): (string|null);
|
388 |
|
389 | /**
|
390 | * Creates a Progress message from a plain object. Also converts values to their respective internal types.
|
391 | * @param object Plain object
|
392 | * @returns Progress
|
393 | */
|
394 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.Progress;
|
395 |
|
396 | /**
|
397 | * Creates a plain object from a Progress message. Also converts values to other types if specified.
|
398 | * @param message Progress
|
399 | * @param [options] Conversion options
|
400 | * @returns Plain object
|
401 | */
|
402 | public static toObject(message: google.datastore.admin.v1.Progress, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
403 |
|
404 | /**
|
405 | * Converts this Progress to JSON.
|
406 | * @returns JSON object
|
407 | */
|
408 | public toJSON(): { [k: string]: any };
|
409 |
|
410 | /**
|
411 | * Gets the default type url for Progress
|
412 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
413 | * @returns The default type url
|
414 | */
|
415 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
416 | }
|
417 |
|
418 | /** Properties of an ExportEntitiesRequest. */
|
419 | interface IExportEntitiesRequest {
|
420 |
|
421 | /** ExportEntitiesRequest projectId */
|
422 | projectId?: (string|null);
|
423 |
|
424 | /** ExportEntitiesRequest labels */
|
425 | labels?: ({ [k: string]: string }|null);
|
426 |
|
427 | /** ExportEntitiesRequest entityFilter */
|
428 | entityFilter?: (google.datastore.admin.v1.IEntityFilter|null);
|
429 |
|
430 | /** ExportEntitiesRequest outputUrlPrefix */
|
431 | outputUrlPrefix?: (string|null);
|
432 | }
|
433 |
|
434 | /** Represents an ExportEntitiesRequest. */
|
435 | class ExportEntitiesRequest implements IExportEntitiesRequest {
|
436 |
|
437 | /**
|
438 | * Constructs a new ExportEntitiesRequest.
|
439 | * @param [properties] Properties to set
|
440 | */
|
441 | constructor(properties?: google.datastore.admin.v1.IExportEntitiesRequest);
|
442 |
|
443 | /** ExportEntitiesRequest projectId. */
|
444 | public projectId: string;
|
445 |
|
446 | /** ExportEntitiesRequest labels. */
|
447 | public labels: { [k: string]: string };
|
448 |
|
449 | /** ExportEntitiesRequest entityFilter. */
|
450 | public entityFilter?: (google.datastore.admin.v1.IEntityFilter|null);
|
451 |
|
452 | /** ExportEntitiesRequest outputUrlPrefix. */
|
453 | public outputUrlPrefix: string;
|
454 |
|
455 | /**
|
456 | * Creates a new ExportEntitiesRequest instance using the specified properties.
|
457 | * @param [properties] Properties to set
|
458 | * @returns ExportEntitiesRequest instance
|
459 | */
|
460 | public static create(properties?: google.datastore.admin.v1.IExportEntitiesRequest): google.datastore.admin.v1.ExportEntitiesRequest;
|
461 |
|
462 | /**
|
463 | * Encodes the specified ExportEntitiesRequest message. Does not implicitly {@link google.datastore.admin.v1.ExportEntitiesRequest.verify|verify} messages.
|
464 | * @param message ExportEntitiesRequest message or plain object to encode
|
465 | * @param [writer] Writer to encode to
|
466 | * @returns Writer
|
467 | */
|
468 | public static encode(message: google.datastore.admin.v1.IExportEntitiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
469 |
|
470 | /**
|
471 | * Encodes the specified ExportEntitiesRequest message, length delimited. Does not implicitly {@link google.datastore.admin.v1.ExportEntitiesRequest.verify|verify} messages.
|
472 | * @param message ExportEntitiesRequest message or plain object to encode
|
473 | * @param [writer] Writer to encode to
|
474 | * @returns Writer
|
475 | */
|
476 | public static encodeDelimited(message: google.datastore.admin.v1.IExportEntitiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
477 |
|
478 | /**
|
479 | * Decodes an ExportEntitiesRequest message from the specified reader or buffer.
|
480 | * @param reader Reader or buffer to decode from
|
481 | * @param [length] Message length if known beforehand
|
482 | * @returns ExportEntitiesRequest
|
483 | * @throws {Error} If the payload is not a reader or valid buffer
|
484 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
485 | */
|
486 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.ExportEntitiesRequest;
|
487 |
|
488 | /**
|
489 | * Decodes an ExportEntitiesRequest message from the specified reader or buffer, length delimited.
|
490 | * @param reader Reader or buffer to decode from
|
491 | * @returns ExportEntitiesRequest
|
492 | * @throws {Error} If the payload is not a reader or valid buffer
|
493 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
494 | */
|
495 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.ExportEntitiesRequest;
|
496 |
|
497 | /**
|
498 | * Verifies an ExportEntitiesRequest message.
|
499 | * @param message Plain object to verify
|
500 | * @returns `null` if valid, otherwise the reason why it is not
|
501 | */
|
502 | public static verify(message: { [k: string]: any }): (string|null);
|
503 |
|
504 | /**
|
505 | * Creates an ExportEntitiesRequest message from a plain object. Also converts values to their respective internal types.
|
506 | * @param object Plain object
|
507 | * @returns ExportEntitiesRequest
|
508 | */
|
509 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.ExportEntitiesRequest;
|
510 |
|
511 | /**
|
512 | * Creates a plain object from an ExportEntitiesRequest message. Also converts values to other types if specified.
|
513 | * @param message ExportEntitiesRequest
|
514 | * @param [options] Conversion options
|
515 | * @returns Plain object
|
516 | */
|
517 | public static toObject(message: google.datastore.admin.v1.ExportEntitiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
518 |
|
519 | /**
|
520 | * Converts this ExportEntitiesRequest to JSON.
|
521 | * @returns JSON object
|
522 | */
|
523 | public toJSON(): { [k: string]: any };
|
524 |
|
525 | /**
|
526 | * Gets the default type url for ExportEntitiesRequest
|
527 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
528 | * @returns The default type url
|
529 | */
|
530 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
531 | }
|
532 |
|
533 | /** Properties of an ImportEntitiesRequest. */
|
534 | interface IImportEntitiesRequest {
|
535 |
|
536 | /** ImportEntitiesRequest projectId */
|
537 | projectId?: (string|null);
|
538 |
|
539 | /** ImportEntitiesRequest labels */
|
540 | labels?: ({ [k: string]: string }|null);
|
541 |
|
542 | /** ImportEntitiesRequest inputUrl */
|
543 | inputUrl?: (string|null);
|
544 |
|
545 | /** ImportEntitiesRequest entityFilter */
|
546 | entityFilter?: (google.datastore.admin.v1.IEntityFilter|null);
|
547 | }
|
548 |
|
549 | /** Represents an ImportEntitiesRequest. */
|
550 | class ImportEntitiesRequest implements IImportEntitiesRequest {
|
551 |
|
552 | /**
|
553 | * Constructs a new ImportEntitiesRequest.
|
554 | * @param [properties] Properties to set
|
555 | */
|
556 | constructor(properties?: google.datastore.admin.v1.IImportEntitiesRequest);
|
557 |
|
558 | /** ImportEntitiesRequest projectId. */
|
559 | public projectId: string;
|
560 |
|
561 | /** ImportEntitiesRequest labels. */
|
562 | public labels: { [k: string]: string };
|
563 |
|
564 | /** ImportEntitiesRequest inputUrl. */
|
565 | public inputUrl: string;
|
566 |
|
567 | /** ImportEntitiesRequest entityFilter. */
|
568 | public entityFilter?: (google.datastore.admin.v1.IEntityFilter|null);
|
569 |
|
570 | /**
|
571 | * Creates a new ImportEntitiesRequest instance using the specified properties.
|
572 | * @param [properties] Properties to set
|
573 | * @returns ImportEntitiesRequest instance
|
574 | */
|
575 | public static create(properties?: google.datastore.admin.v1.IImportEntitiesRequest): google.datastore.admin.v1.ImportEntitiesRequest;
|
576 |
|
577 | /**
|
578 | * Encodes the specified ImportEntitiesRequest message. Does not implicitly {@link google.datastore.admin.v1.ImportEntitiesRequest.verify|verify} messages.
|
579 | * @param message ImportEntitiesRequest message or plain object to encode
|
580 | * @param [writer] Writer to encode to
|
581 | * @returns Writer
|
582 | */
|
583 | public static encode(message: google.datastore.admin.v1.IImportEntitiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
584 |
|
585 | /**
|
586 | * Encodes the specified ImportEntitiesRequest message, length delimited. Does not implicitly {@link google.datastore.admin.v1.ImportEntitiesRequest.verify|verify} messages.
|
587 | * @param message ImportEntitiesRequest message or plain object to encode
|
588 | * @param [writer] Writer to encode to
|
589 | * @returns Writer
|
590 | */
|
591 | public static encodeDelimited(message: google.datastore.admin.v1.IImportEntitiesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
592 |
|
593 | /**
|
594 | * Decodes an ImportEntitiesRequest message from the specified reader or buffer.
|
595 | * @param reader Reader or buffer to decode from
|
596 | * @param [length] Message length if known beforehand
|
597 | * @returns ImportEntitiesRequest
|
598 | * @throws {Error} If the payload is not a reader or valid buffer
|
599 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
600 | */
|
601 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.ImportEntitiesRequest;
|
602 |
|
603 | /**
|
604 | * Decodes an ImportEntitiesRequest message from the specified reader or buffer, length delimited.
|
605 | * @param reader Reader or buffer to decode from
|
606 | * @returns ImportEntitiesRequest
|
607 | * @throws {Error} If the payload is not a reader or valid buffer
|
608 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
609 | */
|
610 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.ImportEntitiesRequest;
|
611 |
|
612 | /**
|
613 | * Verifies an ImportEntitiesRequest message.
|
614 | * @param message Plain object to verify
|
615 | * @returns `null` if valid, otherwise the reason why it is not
|
616 | */
|
617 | public static verify(message: { [k: string]: any }): (string|null);
|
618 |
|
619 | /**
|
620 | * Creates an ImportEntitiesRequest message from a plain object. Also converts values to their respective internal types.
|
621 | * @param object Plain object
|
622 | * @returns ImportEntitiesRequest
|
623 | */
|
624 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.ImportEntitiesRequest;
|
625 |
|
626 | /**
|
627 | * Creates a plain object from an ImportEntitiesRequest message. Also converts values to other types if specified.
|
628 | * @param message ImportEntitiesRequest
|
629 | * @param [options] Conversion options
|
630 | * @returns Plain object
|
631 | */
|
632 | public static toObject(message: google.datastore.admin.v1.ImportEntitiesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
633 |
|
634 | /**
|
635 | * Converts this ImportEntitiesRequest to JSON.
|
636 | * @returns JSON object
|
637 | */
|
638 | public toJSON(): { [k: string]: any };
|
639 |
|
640 | /**
|
641 | * Gets the default type url for ImportEntitiesRequest
|
642 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
643 | * @returns The default type url
|
644 | */
|
645 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
646 | }
|
647 |
|
648 | /** Properties of an ExportEntitiesResponse. */
|
649 | interface IExportEntitiesResponse {
|
650 |
|
651 | /** ExportEntitiesResponse outputUrl */
|
652 | outputUrl?: (string|null);
|
653 | }
|
654 |
|
655 | /** Represents an ExportEntitiesResponse. */
|
656 | class ExportEntitiesResponse implements IExportEntitiesResponse {
|
657 |
|
658 | /**
|
659 | * Constructs a new ExportEntitiesResponse.
|
660 | * @param [properties] Properties to set
|
661 | */
|
662 | constructor(properties?: google.datastore.admin.v1.IExportEntitiesResponse);
|
663 |
|
664 | /** ExportEntitiesResponse outputUrl. */
|
665 | public outputUrl: string;
|
666 |
|
667 | /**
|
668 | * Creates a new ExportEntitiesResponse instance using the specified properties.
|
669 | * @param [properties] Properties to set
|
670 | * @returns ExportEntitiesResponse instance
|
671 | */
|
672 | public static create(properties?: google.datastore.admin.v1.IExportEntitiesResponse): google.datastore.admin.v1.ExportEntitiesResponse;
|
673 |
|
674 | /**
|
675 | * Encodes the specified ExportEntitiesResponse message. Does not implicitly { google.datastore.admin.v1.ExportEntitiesResponse.verify|verify} messages.
|
676 | * message ExportEntitiesResponse message or plain object to encode
|
677 | * [writer] Writer to encode to
|
678 | * Writer
|
679 | */
|
680 | public static encode(message: google.datastore.admin.v1.IExportEntitiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
681 |
|
682 | /**
|
683 | * Encodes the specified ExportEntitiesResponse message, length delimited. Does not implicitly {@link google.datastore.admin.v1.ExportEntitiesResponse.verify|verify} messages.
|
684 | * @param message ExportEntitiesResponse message or plain object to encode
|
685 | * @param [writer] Writer to encode to
|
686 | * @returns Writer
|
687 | */
|
688 | public static encodeDelimited(message: google.datastore.admin.v1.IExportEntitiesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
689 |
|
690 | /**
|
691 | * Decodes an ExportEntitiesResponse message from the specified reader or buffer.
|
692 | * @param reader Reader or buffer to decode from
|
693 | * @param [length] Message length if known beforehand
|
694 | * @returns ExportEntitiesResponse
|
695 | * @throws {Error} If the payload is not a reader or valid buffer
|
696 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
697 | */
|
698 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.ExportEntitiesResponse;
|
699 |
|
700 | /**
|
701 | * Decodes an ExportEntitiesResponse message from the specified reader or buffer, length delimited.
|
702 | * @param reader Reader or buffer to decode from
|
703 | * @returns ExportEntitiesResponse
|
704 | * @throws {Error} If the payload is not a reader or valid buffer
|
705 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
706 | */
|
707 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.ExportEntitiesResponse;
|
708 |
|
709 | /**
|
710 | * Verifies an ExportEntitiesResponse message.
|
711 | * @param message Plain object to verify
|
712 | * @returns `null` if valid, otherwise the reason why it is not
|
713 | */
|
714 | public static verify(message: { [k: string]: any }): (string|null);
|
715 |
|
716 | /**
|
717 | * Creates an ExportEntitiesResponse message from a plain object. Also converts values to their respective internal types.
|
718 | * @param object Plain object
|
719 | * @returns ExportEntitiesResponse
|
720 | */
|
721 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.ExportEntitiesResponse;
|
722 |
|
723 | /**
|
724 | * Creates a plain object from an ExportEntitiesResponse message. Also converts values to other types if specified.
|
725 | * @param message ExportEntitiesResponse
|
726 | * @param [options] Conversion options
|
727 | * @returns Plain object
|
728 | */
|
729 | public static toObject(message: google.datastore.admin.v1.ExportEntitiesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
730 |
|
731 | /**
|
732 | * Converts this ExportEntitiesResponse to JSON.
|
733 | * @returns JSON object
|
734 | */
|
735 | public toJSON(): { [k: string]: any };
|
736 |
|
737 | /**
|
738 | * Gets the default type url for ExportEntitiesResponse
|
739 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
740 | * @returns The default type url
|
741 | */
|
742 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
743 | }
|
744 |
|
745 | /** Properties of an ExportEntitiesMetadata. */
|
746 | interface IExportEntitiesMetadata {
|
747 |
|
748 | /** ExportEntitiesMetadata common */
|
749 | common?: (google.datastore.admin.v1.ICommonMetadata|null);
|
750 |
|
751 | /** ExportEntitiesMetadata progressEntities */
|
752 | progressEntities?: (google.datastore.admin.v1.IProgress|null);
|
753 |
|
754 | /** ExportEntitiesMetadata progressBytes */
|
755 | progressBytes?: (google.datastore.admin.v1.IProgress|null);
|
756 |
|
757 | /** ExportEntitiesMetadata entityFilter */
|
758 | entityFilter?: (google.datastore.admin.v1.IEntityFilter|null);
|
759 |
|
760 | /** ExportEntitiesMetadata outputUrlPrefix */
|
761 | outputUrlPrefix?: (string|null);
|
762 | }
|
763 |
|
764 | /** Represents an ExportEntitiesMetadata. */
|
765 | class ExportEntitiesMetadata implements IExportEntitiesMetadata {
|
766 |
|
767 | /**
|
768 | * Constructs a new ExportEntitiesMetadata.
|
769 | * @param [properties] Properties to set
|
770 | */
|
771 | constructor(properties?: google.datastore.admin.v1.IExportEntitiesMetadata);
|
772 |
|
773 | /** ExportEntitiesMetadata common. */
|
774 | public common?: (google.datastore.admin.v1.ICommonMetadata|null);
|
775 |
|
776 | /** ExportEntitiesMetadata progressEntities. */
|
777 | public progressEntities?: (google.datastore.admin.v1.IProgress|null);
|
778 |
|
779 | /** ExportEntitiesMetadata progressBytes. */
|
780 | public progressBytes?: (google.datastore.admin.v1.IProgress|null);
|
781 |
|
782 | /** ExportEntitiesMetadata entityFilter. */
|
783 | public entityFilter?: (google.datastore.admin.v1.IEntityFilter|null);
|
784 |
|
785 | /** ExportEntitiesMetadata outputUrlPrefix. */
|
786 | public outputUrlPrefix: string;
|
787 |
|
788 | /**
|
789 | * Creates a new ExportEntitiesMetadata instance using the specified properties.
|
790 | * @param [properties] Properties to set
|
791 | * @returns ExportEntitiesMetadata instance
|
792 | */
|
793 | public static create(properties?: google.datastore.admin.v1.IExportEntitiesMetadata): google.datastore.admin.v1.ExportEntitiesMetadata;
|
794 |
|
795 | /**
|
796 | * Encodes the specified ExportEntitiesMetadata message. Does not implicitly { google.datastore.admin.v1.ExportEntitiesMetadata.verify|verify} messages.
|
797 | * message ExportEntitiesMetadata message or plain object to encode
|
798 | * [writer] Writer to encode to
|
799 | * Writer
|
800 | */
|
801 | public static encode(message: google.datastore.admin.v1.IExportEntitiesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
802 |
|
803 | /**
|
804 | * Encodes the specified ExportEntitiesMetadata message, length delimited. Does not implicitly {@link google.datastore.admin.v1.ExportEntitiesMetadata.verify|verify} messages.
|
805 | * @param message ExportEntitiesMetadata message or plain object to encode
|
806 | * @param [writer] Writer to encode to
|
807 | * @returns Writer
|
808 | */
|
809 | public static encodeDelimited(message: google.datastore.admin.v1.IExportEntitiesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
810 |
|
811 | /**
|
812 | * Decodes an ExportEntitiesMetadata message from the specified reader or buffer.
|
813 | * @param reader Reader or buffer to decode from
|
814 | * @param [length] Message length if known beforehand
|
815 | * @returns ExportEntitiesMetadata
|
816 | * @throws {Error} If the payload is not a reader or valid buffer
|
817 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
818 | */
|
819 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.ExportEntitiesMetadata;
|
820 |
|
821 | /**
|
822 | * Decodes an ExportEntitiesMetadata message from the specified reader or buffer, length delimited.
|
823 | * @param reader Reader or buffer to decode from
|
824 | * @returns ExportEntitiesMetadata
|
825 | * @throws {Error} If the payload is not a reader or valid buffer
|
826 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
827 | */
|
828 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.ExportEntitiesMetadata;
|
829 |
|
830 | /**
|
831 | * Verifies an ExportEntitiesMetadata message.
|
832 | * @param message Plain object to verify
|
833 | * @returns `null` if valid, otherwise the reason why it is not
|
834 | */
|
835 | public static verify(message: { [k: string]: any }): (string|null);
|
836 |
|
837 | /**
|
838 | * Creates an ExportEntitiesMetadata message from a plain object. Also converts values to their respective internal types.
|
839 | * @param object Plain object
|
840 | * @returns ExportEntitiesMetadata
|
841 | */
|
842 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.ExportEntitiesMetadata;
|
843 |
|
844 | /**
|
845 | * Creates a plain object from an ExportEntitiesMetadata message. Also converts values to other types if specified.
|
846 | * @param message ExportEntitiesMetadata
|
847 | * @param [options] Conversion options
|
848 | * @returns Plain object
|
849 | */
|
850 | public static toObject(message: google.datastore.admin.v1.ExportEntitiesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
851 |
|
852 | /**
|
853 | * Converts this ExportEntitiesMetadata to JSON.
|
854 | * @returns JSON object
|
855 | */
|
856 | public toJSON(): { [k: string]: any };
|
857 |
|
858 | /**
|
859 | * Gets the default type url for ExportEntitiesMetadata
|
860 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
861 | * @returns The default type url
|
862 | */
|
863 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
864 | }
|
865 |
|
866 | /** Properties of an ImportEntitiesMetadata. */
|
867 | interface IImportEntitiesMetadata {
|
868 |
|
869 | /** ImportEntitiesMetadata common */
|
870 | common?: (google.datastore.admin.v1.ICommonMetadata|null);
|
871 |
|
872 | /** ImportEntitiesMetadata progressEntities */
|
873 | progressEntities?: (google.datastore.admin.v1.IProgress|null);
|
874 |
|
875 | /** ImportEntitiesMetadata progressBytes */
|
876 | progressBytes?: (google.datastore.admin.v1.IProgress|null);
|
877 |
|
878 | /** ImportEntitiesMetadata entityFilter */
|
879 | entityFilter?: (google.datastore.admin.v1.IEntityFilter|null);
|
880 |
|
881 | /** ImportEntitiesMetadata inputUrl */
|
882 | inputUrl?: (string|null);
|
883 | }
|
884 |
|
885 | /** Represents an ImportEntitiesMetadata. */
|
886 | class ImportEntitiesMetadata implements IImportEntitiesMetadata {
|
887 |
|
888 | /**
|
889 | * Constructs a new ImportEntitiesMetadata.
|
890 | * @param [properties] Properties to set
|
891 | */
|
892 | constructor(properties?: google.datastore.admin.v1.IImportEntitiesMetadata);
|
893 |
|
894 | /** ImportEntitiesMetadata common. */
|
895 | public common?: (google.datastore.admin.v1.ICommonMetadata|null);
|
896 |
|
897 | /** ImportEntitiesMetadata progressEntities. */
|
898 | public progressEntities?: (google.datastore.admin.v1.IProgress|null);
|
899 |
|
900 | /** ImportEntitiesMetadata progressBytes. */
|
901 | public progressBytes?: (google.datastore.admin.v1.IProgress|null);
|
902 |
|
903 | /** ImportEntitiesMetadata entityFilter. */
|
904 | public entityFilter?: (google.datastore.admin.v1.IEntityFilter|null);
|
905 |
|
906 | /** ImportEntitiesMetadata inputUrl. */
|
907 | public inputUrl: string;
|
908 |
|
909 | /**
|
910 | * Creates a new ImportEntitiesMetadata instance using the specified properties.
|
911 | * @param [properties] Properties to set
|
912 | * @returns ImportEntitiesMetadata instance
|
913 | */
|
914 | public static create(properties?: google.datastore.admin.v1.IImportEntitiesMetadata): google.datastore.admin.v1.ImportEntitiesMetadata;
|
915 |
|
916 | /**
|
917 | * Encodes the specified ImportEntitiesMetadata message. Does not implicitly { google.datastore.admin.v1.ImportEntitiesMetadata.verify|verify} messages.
|
918 | * message ImportEntitiesMetadata message or plain object to encode
|
919 | * [writer] Writer to encode to
|
920 | * Writer
|
921 | */
|
922 | public static encode(message: google.datastore.admin.v1.IImportEntitiesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
923 |
|
924 | /**
|
925 | * Encodes the specified ImportEntitiesMetadata message, length delimited. Does not implicitly {@link google.datastore.admin.v1.ImportEntitiesMetadata.verify|verify} messages.
|
926 | * @param message ImportEntitiesMetadata message or plain object to encode
|
927 | * @param [writer] Writer to encode to
|
928 | * @returns Writer
|
929 | */
|
930 | public static encodeDelimited(message: google.datastore.admin.v1.IImportEntitiesMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
931 |
|
932 | /**
|
933 | * Decodes an ImportEntitiesMetadata message from the specified reader or buffer.
|
934 | * @param reader Reader or buffer to decode from
|
935 | * @param [length] Message length if known beforehand
|
936 | * @returns ImportEntitiesMetadata
|
937 | * @throws {Error} If the payload is not a reader or valid buffer
|
938 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
939 | */
|
940 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.ImportEntitiesMetadata;
|
941 |
|
942 | /**
|
943 | * Decodes an ImportEntitiesMetadata message from the specified reader or buffer, length delimited.
|
944 | * @param reader Reader or buffer to decode from
|
945 | * @returns ImportEntitiesMetadata
|
946 | * @throws {Error} If the payload is not a reader or valid buffer
|
947 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
948 | */
|
949 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.ImportEntitiesMetadata;
|
950 |
|
951 | /**
|
952 | * Verifies an ImportEntitiesMetadata message.
|
953 | * @param message Plain object to verify
|
954 | * @returns `null` if valid, otherwise the reason why it is not
|
955 | */
|
956 | public static verify(message: { [k: string]: any }): (string|null);
|
957 |
|
958 | /**
|
959 | * Creates an ImportEntitiesMetadata message from a plain object. Also converts values to their respective internal types.
|
960 | * @param object Plain object
|
961 | * @returns ImportEntitiesMetadata
|
962 | */
|
963 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.ImportEntitiesMetadata;
|
964 |
|
965 | /**
|
966 | * Creates a plain object from an ImportEntitiesMetadata message. Also converts values to other types if specified.
|
967 | * @param message ImportEntitiesMetadata
|
968 | * @param [options] Conversion options
|
969 | * @returns Plain object
|
970 | */
|
971 | public static toObject(message: google.datastore.admin.v1.ImportEntitiesMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
972 |
|
973 | /**
|
974 | * Converts this ImportEntitiesMetadata to JSON.
|
975 | * @returns JSON object
|
976 | */
|
977 | public toJSON(): { [k: string]: any };
|
978 |
|
979 | /**
|
980 | * Gets the default type url for ImportEntitiesMetadata
|
981 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
982 | * @returns The default type url
|
983 | */
|
984 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
985 | }
|
986 |
|
987 | /** Properties of an EntityFilter. */
|
988 | interface IEntityFilter {
|
989 |
|
990 | /** EntityFilter kinds */
|
991 | kinds?: (string[]|null);
|
992 |
|
993 | /** EntityFilter namespaceIds */
|
994 | namespaceIds?: (string[]|null);
|
995 | }
|
996 |
|
997 | /** Represents an EntityFilter. */
|
998 | class EntityFilter implements IEntityFilter {
|
999 |
|
1000 | /**
|
1001 | * Constructs a new EntityFilter.
|
1002 | * @param [properties] Properties to set
|
1003 | */
|
1004 | constructor(properties?: google.datastore.admin.v1.IEntityFilter);
|
1005 |
|
1006 | /** EntityFilter kinds. */
|
1007 | public kinds: string[];
|
1008 |
|
1009 | /** EntityFilter namespaceIds. */
|
1010 | public namespaceIds: string[];
|
1011 |
|
1012 | /**
|
1013 | * Creates a new EntityFilter instance using the specified properties.
|
1014 | * @param [properties] Properties to set
|
1015 | * @returns EntityFilter instance
|
1016 | */
|
1017 | public static create(properties?: google.datastore.admin.v1.IEntityFilter): google.datastore.admin.v1.EntityFilter;
|
1018 |
|
1019 | /**
|
1020 | * Encodes the specified EntityFilter message. Does not implicitly { google.datastore.admin.v1.EntityFilter.verify|verify} messages.
|
1021 | * message EntityFilter message or plain object to encode
|
1022 | * [writer] Writer to encode to
|
1023 | * Writer
|
1024 | */
|
1025 | public static encode(message: google.datastore.admin.v1.IEntityFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
1026 |
|
1027 | /**
|
1028 | * Encodes the specified EntityFilter message, length delimited. Does not implicitly {@link google.datastore.admin.v1.EntityFilter.verify|verify} messages.
|
1029 | * @param message EntityFilter message or plain object to encode
|
1030 | * @param [writer] Writer to encode to
|
1031 | * @returns Writer
|
1032 | */
|
1033 | public static encodeDelimited(message: google.datastore.admin.v1.IEntityFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
1034 |
|
1035 | /**
|
1036 | * Decodes an EntityFilter message from the specified reader or buffer.
|
1037 | * @param reader Reader or buffer to decode from
|
1038 | * @param [length] Message length if known beforehand
|
1039 | * @returns EntityFilter
|
1040 | * @throws {Error} If the payload is not a reader or valid buffer
|
1041 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1042 | */
|
1043 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.EntityFilter;
|
1044 |
|
1045 | /**
|
1046 | * Decodes an EntityFilter message from the specified reader or buffer, length delimited.
|
1047 | * @param reader Reader or buffer to decode from
|
1048 | * @returns EntityFilter
|
1049 | * @throws {Error} If the payload is not a reader or valid buffer
|
1050 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1051 | */
|
1052 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.EntityFilter;
|
1053 |
|
1054 | /**
|
1055 | * Verifies an EntityFilter message.
|
1056 | * @param message Plain object to verify
|
1057 | * @returns `null` if valid, otherwise the reason why it is not
|
1058 | */
|
1059 | public static verify(message: { [k: string]: any }): (string|null);
|
1060 |
|
1061 | /**
|
1062 | * Creates an EntityFilter message from a plain object. Also converts values to their respective internal types.
|
1063 | * @param object Plain object
|
1064 | * @returns EntityFilter
|
1065 | */
|
1066 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.EntityFilter;
|
1067 |
|
1068 | /**
|
1069 | * Creates a plain object from an EntityFilter message. Also converts values to other types if specified.
|
1070 | * @param message EntityFilter
|
1071 | * @param [options] Conversion options
|
1072 | * @returns Plain object
|
1073 | */
|
1074 | public static toObject(message: google.datastore.admin.v1.EntityFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1075 |
|
1076 | /**
|
1077 | * Converts this EntityFilter to JSON.
|
1078 | * @returns JSON object
|
1079 | */
|
1080 | public toJSON(): { [k: string]: any };
|
1081 |
|
1082 | /**
|
1083 | * Gets the default type url for EntityFilter
|
1084 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1085 | * @returns The default type url
|
1086 | */
|
1087 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1088 | }
|
1089 |
|
1090 | /** Properties of a CreateIndexRequest. */
|
1091 | interface ICreateIndexRequest {
|
1092 |
|
1093 | /** CreateIndexRequest projectId */
|
1094 | projectId?: (string|null);
|
1095 |
|
1096 | /** CreateIndexRequest index */
|
1097 | index?: (google.datastore.admin.v1.IIndex|null);
|
1098 | }
|
1099 |
|
1100 | /** Represents a CreateIndexRequest. */
|
1101 | class CreateIndexRequest implements ICreateIndexRequest {
|
1102 |
|
1103 | /**
|
1104 | * Constructs a new CreateIndexRequest.
|
1105 | * @param [properties] Properties to set
|
1106 | */
|
1107 | constructor(properties?: google.datastore.admin.v1.ICreateIndexRequest);
|
1108 |
|
1109 | /** CreateIndexRequest projectId. */
|
1110 | public projectId: string;
|
1111 |
|
1112 | /** CreateIndexRequest index. */
|
1113 | public index?: (google.datastore.admin.v1.IIndex|null);
|
1114 |
|
1115 | /**
|
1116 | * Creates a new CreateIndexRequest instance using the specified properties.
|
1117 | * @param [properties] Properties to set
|
1118 | * @returns CreateIndexRequest instance
|
1119 | */
|
1120 | public static create(properties?: google.datastore.admin.v1.ICreateIndexRequest): google.datastore.admin.v1.CreateIndexRequest;
|
1121 |
|
1122 | /**
|
1123 | * Encodes the specified CreateIndexRequest message. Does not implicitly { google.datastore.admin.v1.CreateIndexRequest.verify|verify} messages.
|
1124 | * message CreateIndexRequest message or plain object to encode
|
1125 | * [writer] Writer to encode to
|
1126 | * Writer
|
1127 | */
|
1128 | public static encode(message: google.datastore.admin.v1.ICreateIndexRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
1129 |
|
1130 | /**
|
1131 | * Encodes the specified CreateIndexRequest message, length delimited. Does not implicitly {@link google.datastore.admin.v1.CreateIndexRequest.verify|verify} messages.
|
1132 | * @param message CreateIndexRequest message or plain object to encode
|
1133 | * @param [writer] Writer to encode to
|
1134 | * @returns Writer
|
1135 | */
|
1136 | public static encodeDelimited(message: google.datastore.admin.v1.ICreateIndexRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
1137 |
|
1138 | /**
|
1139 | * Decodes a CreateIndexRequest message from the specified reader or buffer.
|
1140 | * @param reader Reader or buffer to decode from
|
1141 | * @param [length] Message length if known beforehand
|
1142 | * @returns CreateIndexRequest
|
1143 | * @throws {Error} If the payload is not a reader or valid buffer
|
1144 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1145 | */
|
1146 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.CreateIndexRequest;
|
1147 |
|
1148 | /**
|
1149 | * Decodes a CreateIndexRequest message from the specified reader or buffer, length delimited.
|
1150 | * @param reader Reader or buffer to decode from
|
1151 | * @returns CreateIndexRequest
|
1152 | * @throws {Error} If the payload is not a reader or valid buffer
|
1153 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1154 | */
|
1155 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.CreateIndexRequest;
|
1156 |
|
1157 | /**
|
1158 | * Verifies a CreateIndexRequest message.
|
1159 | * @param message Plain object to verify
|
1160 | * @returns `null` if valid, otherwise the reason why it is not
|
1161 | */
|
1162 | public static verify(message: { [k: string]: any }): (string|null);
|
1163 |
|
1164 | /**
|
1165 | * Creates a CreateIndexRequest message from a plain object. Also converts values to their respective internal types.
|
1166 | * @param object Plain object
|
1167 | * @returns CreateIndexRequest
|
1168 | */
|
1169 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.CreateIndexRequest;
|
1170 |
|
1171 | /**
|
1172 | * Creates a plain object from a CreateIndexRequest message. Also converts values to other types if specified.
|
1173 | * @param message CreateIndexRequest
|
1174 | * @param [options] Conversion options
|
1175 | * @returns Plain object
|
1176 | */
|
1177 | public static toObject(message: google.datastore.admin.v1.CreateIndexRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1178 |
|
1179 | /**
|
1180 | * Converts this CreateIndexRequest to JSON.
|
1181 | * @returns JSON object
|
1182 | */
|
1183 | public toJSON(): { [k: string]: any };
|
1184 |
|
1185 | /**
|
1186 | * Gets the default type url for CreateIndexRequest
|
1187 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1188 | * @returns The default type url
|
1189 | */
|
1190 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1191 | }
|
1192 |
|
1193 | /** Properties of a DeleteIndexRequest. */
|
1194 | interface IDeleteIndexRequest {
|
1195 |
|
1196 | /** DeleteIndexRequest projectId */
|
1197 | projectId?: (string|null);
|
1198 |
|
1199 | /** DeleteIndexRequest indexId */
|
1200 | indexId?: (string|null);
|
1201 | }
|
1202 |
|
1203 | /** Represents a DeleteIndexRequest. */
|
1204 | class DeleteIndexRequest implements IDeleteIndexRequest {
|
1205 |
|
1206 | /**
|
1207 | * Constructs a new DeleteIndexRequest.
|
1208 | * @param [properties] Properties to set
|
1209 | */
|
1210 | constructor(properties?: google.datastore.admin.v1.IDeleteIndexRequest);
|
1211 |
|
1212 | /** DeleteIndexRequest projectId. */
|
1213 | public projectId: string;
|
1214 |
|
1215 | /** DeleteIndexRequest indexId. */
|
1216 | public indexId: string;
|
1217 |
|
1218 | /**
|
1219 | * Creates a new DeleteIndexRequest instance using the specified properties.
|
1220 | * @param [properties] Properties to set
|
1221 | * @returns DeleteIndexRequest instance
|
1222 | */
|
1223 | public static create(properties?: google.datastore.admin.v1.IDeleteIndexRequest): google.datastore.admin.v1.DeleteIndexRequest;
|
1224 |
|
1225 | /**
|
1226 | * Encodes the specified DeleteIndexRequest message. Does not implicitly { google.datastore.admin.v1.DeleteIndexRequest.verify|verify} messages.
|
1227 | * message DeleteIndexRequest message or plain object to encode
|
1228 | * [writer] Writer to encode to
|
1229 | * Writer
|
1230 | */
|
1231 | public static encode(message: google.datastore.admin.v1.IDeleteIndexRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
1232 |
|
1233 | /**
|
1234 | * Encodes the specified DeleteIndexRequest message, length delimited. Does not implicitly {@link google.datastore.admin.v1.DeleteIndexRequest.verify|verify} messages.
|
1235 | * @param message DeleteIndexRequest message or plain object to encode
|
1236 | * @param [writer] Writer to encode to
|
1237 | * @returns Writer
|
1238 | */
|
1239 | public static encodeDelimited(message: google.datastore.admin.v1.IDeleteIndexRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
1240 |
|
1241 | /**
|
1242 | * Decodes a DeleteIndexRequest message from the specified reader or buffer.
|
1243 | * @param reader Reader or buffer to decode from
|
1244 | * @param [length] Message length if known beforehand
|
1245 | * @returns DeleteIndexRequest
|
1246 | * @throws {Error} If the payload is not a reader or valid buffer
|
1247 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1248 | */
|
1249 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.DeleteIndexRequest;
|
1250 |
|
1251 | /**
|
1252 | * Decodes a DeleteIndexRequest message from the specified reader or buffer, length delimited.
|
1253 | * @param reader Reader or buffer to decode from
|
1254 | * @returns DeleteIndexRequest
|
1255 | * @throws {Error} If the payload is not a reader or valid buffer
|
1256 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1257 | */
|
1258 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.DeleteIndexRequest;
|
1259 |
|
1260 | /**
|
1261 | * Verifies a DeleteIndexRequest message.
|
1262 | * @param message Plain object to verify
|
1263 | * @returns `null` if valid, otherwise the reason why it is not
|
1264 | */
|
1265 | public static verify(message: { [k: string]: any }): (string|null);
|
1266 |
|
1267 | /**
|
1268 | * Creates a DeleteIndexRequest message from a plain object. Also converts values to their respective internal types.
|
1269 | * @param object Plain object
|
1270 | * @returns DeleteIndexRequest
|
1271 | */
|
1272 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.DeleteIndexRequest;
|
1273 |
|
1274 | /**
|
1275 | * Creates a plain object from a DeleteIndexRequest message. Also converts values to other types if specified.
|
1276 | * @param message DeleteIndexRequest
|
1277 | * @param [options] Conversion options
|
1278 | * @returns Plain object
|
1279 | */
|
1280 | public static toObject(message: google.datastore.admin.v1.DeleteIndexRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1281 |
|
1282 | /**
|
1283 | * Converts this DeleteIndexRequest to JSON.
|
1284 | * @returns JSON object
|
1285 | */
|
1286 | public toJSON(): { [k: string]: any };
|
1287 |
|
1288 | /**
|
1289 | * Gets the default type url for DeleteIndexRequest
|
1290 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1291 | * @returns The default type url
|
1292 | */
|
1293 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1294 | }
|
1295 |
|
1296 | /** Properties of a GetIndexRequest. */
|
1297 | interface IGetIndexRequest {
|
1298 |
|
1299 | /** GetIndexRequest projectId */
|
1300 | projectId?: (string|null);
|
1301 |
|
1302 | /** GetIndexRequest indexId */
|
1303 | indexId?: (string|null);
|
1304 | }
|
1305 |
|
1306 | /** Represents a GetIndexRequest. */
|
1307 | class GetIndexRequest implements IGetIndexRequest {
|
1308 |
|
1309 | /**
|
1310 | * Constructs a new GetIndexRequest.
|
1311 | * @param [properties] Properties to set
|
1312 | */
|
1313 | constructor(properties?: google.datastore.admin.v1.IGetIndexRequest);
|
1314 |
|
1315 | /** GetIndexRequest projectId. */
|
1316 | public projectId: string;
|
1317 |
|
1318 | /** GetIndexRequest indexId. */
|
1319 | public indexId: string;
|
1320 |
|
1321 | /**
|
1322 | * Creates a new GetIndexRequest instance using the specified properties.
|
1323 | * @param [properties] Properties to set
|
1324 | * @returns GetIndexRequest instance
|
1325 | */
|
1326 | public static create(properties?: google.datastore.admin.v1.IGetIndexRequest): google.datastore.admin.v1.GetIndexRequest;
|
1327 |
|
1328 | /**
|
1329 | * Encodes the specified GetIndexRequest message. Does not implicitly { google.datastore.admin.v1.GetIndexRequest.verify|verify} messages.
|
1330 | * message GetIndexRequest message or plain object to encode
|
1331 | * [writer] Writer to encode to
|
1332 | * Writer
|
1333 | */
|
1334 | public static encode(message: google.datastore.admin.v1.IGetIndexRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
1335 |
|
1336 | /**
|
1337 | * Encodes the specified GetIndexRequest message, length delimited. Does not implicitly {@link google.datastore.admin.v1.GetIndexRequest.verify|verify} messages.
|
1338 | * @param message GetIndexRequest message or plain object to encode
|
1339 | * @param [writer] Writer to encode to
|
1340 | * @returns Writer
|
1341 | */
|
1342 | public static encodeDelimited(message: google.datastore.admin.v1.IGetIndexRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
1343 |
|
1344 | /**
|
1345 | * Decodes a GetIndexRequest message from the specified reader or buffer.
|
1346 | * @param reader Reader or buffer to decode from
|
1347 | * @param [length] Message length if known beforehand
|
1348 | * @returns GetIndexRequest
|
1349 | * @throws {Error} If the payload is not a reader or valid buffer
|
1350 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1351 | */
|
1352 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.GetIndexRequest;
|
1353 |
|
1354 | /**
|
1355 | * Decodes a GetIndexRequest message from the specified reader or buffer, length delimited.
|
1356 | * @param reader Reader or buffer to decode from
|
1357 | * @returns GetIndexRequest
|
1358 | * @throws {Error} If the payload is not a reader or valid buffer
|
1359 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1360 | */
|
1361 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.GetIndexRequest;
|
1362 |
|
1363 | /**
|
1364 | * Verifies a GetIndexRequest message.
|
1365 | * @param message Plain object to verify
|
1366 | * @returns `null` if valid, otherwise the reason why it is not
|
1367 | */
|
1368 | public static verify(message: { [k: string]: any }): (string|null);
|
1369 |
|
1370 | /**
|
1371 | * Creates a GetIndexRequest message from a plain object. Also converts values to their respective internal types.
|
1372 | * @param object Plain object
|
1373 | * @returns GetIndexRequest
|
1374 | */
|
1375 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.GetIndexRequest;
|
1376 |
|
1377 | /**
|
1378 | * Creates a plain object from a GetIndexRequest message. Also converts values to other types if specified.
|
1379 | * @param message GetIndexRequest
|
1380 | * @param [options] Conversion options
|
1381 | * @returns Plain object
|
1382 | */
|
1383 | public static toObject(message: google.datastore.admin.v1.GetIndexRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1384 |
|
1385 | /**
|
1386 | * Converts this GetIndexRequest to JSON.
|
1387 | * @returns JSON object
|
1388 | */
|
1389 | public toJSON(): { [k: string]: any };
|
1390 |
|
1391 | /**
|
1392 | * Gets the default type url for GetIndexRequest
|
1393 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1394 | * @returns The default type url
|
1395 | */
|
1396 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1397 | }
|
1398 |
|
1399 | /** Properties of a ListIndexesRequest. */
|
1400 | interface IListIndexesRequest {
|
1401 |
|
1402 | /** ListIndexesRequest projectId */
|
1403 | projectId?: (string|null);
|
1404 |
|
1405 | /** ListIndexesRequest filter */
|
1406 | filter?: (string|null);
|
1407 |
|
1408 | /** ListIndexesRequest pageSize */
|
1409 | pageSize?: (number|null);
|
1410 |
|
1411 | /** ListIndexesRequest pageToken */
|
1412 | pageToken?: (string|null);
|
1413 | }
|
1414 |
|
1415 | /** Represents a ListIndexesRequest. */
|
1416 | class ListIndexesRequest implements IListIndexesRequest {
|
1417 |
|
1418 | /**
|
1419 | * Constructs a new ListIndexesRequest.
|
1420 | * @param [properties] Properties to set
|
1421 | */
|
1422 | constructor(properties?: google.datastore.admin.v1.IListIndexesRequest);
|
1423 |
|
1424 | /** ListIndexesRequest projectId. */
|
1425 | public projectId: string;
|
1426 |
|
1427 | /** ListIndexesRequest filter. */
|
1428 | public filter: string;
|
1429 |
|
1430 | /** ListIndexesRequest pageSize. */
|
1431 | public pageSize: number;
|
1432 |
|
1433 | /** ListIndexesRequest pageToken. */
|
1434 | public pageToken: string;
|
1435 |
|
1436 | /**
|
1437 | * Creates a new ListIndexesRequest instance using the specified properties.
|
1438 | * @param [properties] Properties to set
|
1439 | * @returns ListIndexesRequest instance
|
1440 | */
|
1441 | public static create(properties?: google.datastore.admin.v1.IListIndexesRequest): google.datastore.admin.v1.ListIndexesRequest;
|
1442 |
|
1443 | /**
|
1444 | * Encodes the specified ListIndexesRequest message. Does not implicitly { google.datastore.admin.v1.ListIndexesRequest.verify|verify} messages.
|
1445 | * message ListIndexesRequest message or plain object to encode
|
1446 | * [writer] Writer to encode to
|
1447 | * Writer
|
1448 | */
|
1449 | public static encode(message: google.datastore.admin.v1.IListIndexesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
1450 |
|
1451 | /**
|
1452 | * Encodes the specified ListIndexesRequest message, length delimited. Does not implicitly {@link google.datastore.admin.v1.ListIndexesRequest.verify|verify} messages.
|
1453 | * @param message ListIndexesRequest message or plain object to encode
|
1454 | * @param [writer] Writer to encode to
|
1455 | * @returns Writer
|
1456 | */
|
1457 | public static encodeDelimited(message: google.datastore.admin.v1.IListIndexesRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
1458 |
|
1459 | /**
|
1460 | * Decodes a ListIndexesRequest message from the specified reader or buffer.
|
1461 | * @param reader Reader or buffer to decode from
|
1462 | * @param [length] Message length if known beforehand
|
1463 | * @returns ListIndexesRequest
|
1464 | * @throws {Error} If the payload is not a reader or valid buffer
|
1465 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1466 | */
|
1467 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.ListIndexesRequest;
|
1468 |
|
1469 | /**
|
1470 | * Decodes a ListIndexesRequest message from the specified reader or buffer, length delimited.
|
1471 | * @param reader Reader or buffer to decode from
|
1472 | * @returns ListIndexesRequest
|
1473 | * @throws {Error} If the payload is not a reader or valid buffer
|
1474 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1475 | */
|
1476 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.ListIndexesRequest;
|
1477 |
|
1478 | /**
|
1479 | * Verifies a ListIndexesRequest message.
|
1480 | * @param message Plain object to verify
|
1481 | * @returns `null` if valid, otherwise the reason why it is not
|
1482 | */
|
1483 | public static verify(message: { [k: string]: any }): (string|null);
|
1484 |
|
1485 | /**
|
1486 | * Creates a ListIndexesRequest message from a plain object. Also converts values to their respective internal types.
|
1487 | * @param object Plain object
|
1488 | * @returns ListIndexesRequest
|
1489 | */
|
1490 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.ListIndexesRequest;
|
1491 |
|
1492 | /**
|
1493 | * Creates a plain object from a ListIndexesRequest message. Also converts values to other types if specified.
|
1494 | * @param message ListIndexesRequest
|
1495 | * @param [options] Conversion options
|
1496 | * @returns Plain object
|
1497 | */
|
1498 | public static toObject(message: google.datastore.admin.v1.ListIndexesRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1499 |
|
1500 | /**
|
1501 | * Converts this ListIndexesRequest to JSON.
|
1502 | * @returns JSON object
|
1503 | */
|
1504 | public toJSON(): { [k: string]: any };
|
1505 |
|
1506 | /**
|
1507 | * Gets the default type url for ListIndexesRequest
|
1508 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1509 | * @returns The default type url
|
1510 | */
|
1511 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1512 | }
|
1513 |
|
1514 | /** Properties of a ListIndexesResponse. */
|
1515 | interface IListIndexesResponse {
|
1516 |
|
1517 | /** ListIndexesResponse indexes */
|
1518 | indexes?: (google.datastore.admin.v1.IIndex[]|null);
|
1519 |
|
1520 | /** ListIndexesResponse nextPageToken */
|
1521 | nextPageToken?: (string|null);
|
1522 | }
|
1523 |
|
1524 | /** Represents a ListIndexesResponse. */
|
1525 | class ListIndexesResponse implements IListIndexesResponse {
|
1526 |
|
1527 | /**
|
1528 | * Constructs a new ListIndexesResponse.
|
1529 | * @param [properties] Properties to set
|
1530 | */
|
1531 | constructor(properties?: google.datastore.admin.v1.IListIndexesResponse);
|
1532 |
|
1533 | /** ListIndexesResponse indexes. */
|
1534 | public indexes: google.datastore.admin.v1.IIndex[];
|
1535 |
|
1536 | /** ListIndexesResponse nextPageToken. */
|
1537 | public nextPageToken: string;
|
1538 |
|
1539 | /**
|
1540 | * Creates a new ListIndexesResponse instance using the specified properties.
|
1541 | * @param [properties] Properties to set
|
1542 | * @returns ListIndexesResponse instance
|
1543 | */
|
1544 | public static create(properties?: google.datastore.admin.v1.IListIndexesResponse): google.datastore.admin.v1.ListIndexesResponse;
|
1545 |
|
1546 | /**
|
1547 | * Encodes the specified ListIndexesResponse message. Does not implicitly { google.datastore.admin.v1.ListIndexesResponse.verify|verify} messages.
|
1548 | * message ListIndexesResponse message or plain object to encode
|
1549 | * [writer] Writer to encode to
|
1550 | * Writer
|
1551 | */
|
1552 | public static encode(message: google.datastore.admin.v1.IListIndexesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
1553 |
|
1554 | /**
|
1555 | * Encodes the specified ListIndexesResponse message, length delimited. Does not implicitly {@link google.datastore.admin.v1.ListIndexesResponse.verify|verify} messages.
|
1556 | * @param message ListIndexesResponse message or plain object to encode
|
1557 | * @param [writer] Writer to encode to
|
1558 | * @returns Writer
|
1559 | */
|
1560 | public static encodeDelimited(message: google.datastore.admin.v1.IListIndexesResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
1561 |
|
1562 | /**
|
1563 | * Decodes a ListIndexesResponse message from the specified reader or buffer.
|
1564 | * @param reader Reader or buffer to decode from
|
1565 | * @param [length] Message length if known beforehand
|
1566 | * @returns ListIndexesResponse
|
1567 | * @throws {Error} If the payload is not a reader or valid buffer
|
1568 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1569 | */
|
1570 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.ListIndexesResponse;
|
1571 |
|
1572 | /**
|
1573 | * Decodes a ListIndexesResponse message from the specified reader or buffer, length delimited.
|
1574 | * @param reader Reader or buffer to decode from
|
1575 | * @returns ListIndexesResponse
|
1576 | * @throws {Error} If the payload is not a reader or valid buffer
|
1577 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1578 | */
|
1579 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.ListIndexesResponse;
|
1580 |
|
1581 | /**
|
1582 | * Verifies a ListIndexesResponse message.
|
1583 | * @param message Plain object to verify
|
1584 | * @returns `null` if valid, otherwise the reason why it is not
|
1585 | */
|
1586 | public static verify(message: { [k: string]: any }): (string|null);
|
1587 |
|
1588 | /**
|
1589 | * Creates a ListIndexesResponse message from a plain object. Also converts values to their respective internal types.
|
1590 | * @param object Plain object
|
1591 | * @returns ListIndexesResponse
|
1592 | */
|
1593 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.ListIndexesResponse;
|
1594 |
|
1595 | /**
|
1596 | * Creates a plain object from a ListIndexesResponse message. Also converts values to other types if specified.
|
1597 | * @param message ListIndexesResponse
|
1598 | * @param [options] Conversion options
|
1599 | * @returns Plain object
|
1600 | */
|
1601 | public static toObject(message: google.datastore.admin.v1.ListIndexesResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1602 |
|
1603 | /**
|
1604 | * Converts this ListIndexesResponse to JSON.
|
1605 | * @returns JSON object
|
1606 | */
|
1607 | public toJSON(): { [k: string]: any };
|
1608 |
|
1609 | /**
|
1610 | * Gets the default type url for ListIndexesResponse
|
1611 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1612 | * @returns The default type url
|
1613 | */
|
1614 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1615 | }
|
1616 |
|
1617 | /** Properties of an IndexOperationMetadata. */
|
1618 | interface IIndexOperationMetadata {
|
1619 |
|
1620 | /** IndexOperationMetadata common */
|
1621 | common?: (google.datastore.admin.v1.ICommonMetadata|null);
|
1622 |
|
1623 | /** IndexOperationMetadata progressEntities */
|
1624 | progressEntities?: (google.datastore.admin.v1.IProgress|null);
|
1625 |
|
1626 | /** IndexOperationMetadata indexId */
|
1627 | indexId?: (string|null);
|
1628 | }
|
1629 |
|
1630 | /** Represents an IndexOperationMetadata. */
|
1631 | class IndexOperationMetadata implements IIndexOperationMetadata {
|
1632 |
|
1633 | /**
|
1634 | * Constructs a new IndexOperationMetadata.
|
1635 | * @param [properties] Properties to set
|
1636 | */
|
1637 | constructor(properties?: google.datastore.admin.v1.IIndexOperationMetadata);
|
1638 |
|
1639 | /** IndexOperationMetadata common. */
|
1640 | public common?: (google.datastore.admin.v1.ICommonMetadata|null);
|
1641 |
|
1642 | /** IndexOperationMetadata progressEntities. */
|
1643 | public progressEntities?: (google.datastore.admin.v1.IProgress|null);
|
1644 |
|
1645 | /** IndexOperationMetadata indexId. */
|
1646 | public indexId: string;
|
1647 |
|
1648 | /**
|
1649 | * Creates a new IndexOperationMetadata instance using the specified properties.
|
1650 | * @param [properties] Properties to set
|
1651 | * @returns IndexOperationMetadata instance
|
1652 | */
|
1653 | public static create(properties?: google.datastore.admin.v1.IIndexOperationMetadata): google.datastore.admin.v1.IndexOperationMetadata;
|
1654 |
|
1655 | /**
|
1656 | * Encodes the specified IndexOperationMetadata message. Does not implicitly { google.datastore.admin.v1.IndexOperationMetadata.verify|verify} messages.
|
1657 | * message IndexOperationMetadata message or plain object to encode
|
1658 | * [writer] Writer to encode to
|
1659 | * Writer
|
1660 | */
|
1661 | public static encode(message: google.datastore.admin.v1.IIndexOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
1662 |
|
1663 | /**
|
1664 | * Encodes the specified IndexOperationMetadata message, length delimited. Does not implicitly {@link google.datastore.admin.v1.IndexOperationMetadata.verify|verify} messages.
|
1665 | * @param message IndexOperationMetadata message or plain object to encode
|
1666 | * @param [writer] Writer to encode to
|
1667 | * @returns Writer
|
1668 | */
|
1669 | public static encodeDelimited(message: google.datastore.admin.v1.IIndexOperationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
1670 |
|
1671 | /**
|
1672 | * Decodes an IndexOperationMetadata message from the specified reader or buffer.
|
1673 | * @param reader Reader or buffer to decode from
|
1674 | * @param [length] Message length if known beforehand
|
1675 | * @returns IndexOperationMetadata
|
1676 | * @throws {Error} If the payload is not a reader or valid buffer
|
1677 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1678 | */
|
1679 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.IndexOperationMetadata;
|
1680 |
|
1681 | /**
|
1682 | * Decodes an IndexOperationMetadata message from the specified reader or buffer, length delimited.
|
1683 | * @param reader Reader or buffer to decode from
|
1684 | * @returns IndexOperationMetadata
|
1685 | * @throws {Error} If the payload is not a reader or valid buffer
|
1686 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1687 | */
|
1688 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.IndexOperationMetadata;
|
1689 |
|
1690 | /**
|
1691 | * Verifies an IndexOperationMetadata message.
|
1692 | * @param message Plain object to verify
|
1693 | * @returns `null` if valid, otherwise the reason why it is not
|
1694 | */
|
1695 | public static verify(message: { [k: string]: any }): (string|null);
|
1696 |
|
1697 | /**
|
1698 | * Creates an IndexOperationMetadata message from a plain object. Also converts values to their respective internal types.
|
1699 | * @param object Plain object
|
1700 | * @returns IndexOperationMetadata
|
1701 | */
|
1702 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.IndexOperationMetadata;
|
1703 |
|
1704 | /**
|
1705 | * Creates a plain object from an IndexOperationMetadata message. Also converts values to other types if specified.
|
1706 | * @param message IndexOperationMetadata
|
1707 | * @param [options] Conversion options
|
1708 | * @returns Plain object
|
1709 | */
|
1710 | public static toObject(message: google.datastore.admin.v1.IndexOperationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1711 |
|
1712 | /**
|
1713 | * Converts this IndexOperationMetadata to JSON.
|
1714 | * @returns JSON object
|
1715 | */
|
1716 | public toJSON(): { [k: string]: any };
|
1717 |
|
1718 | /**
|
1719 | * Gets the default type url for IndexOperationMetadata
|
1720 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1721 | * @returns The default type url
|
1722 | */
|
1723 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1724 | }
|
1725 |
|
1726 | /** Properties of a DatastoreFirestoreMigrationMetadata. */
|
1727 | interface IDatastoreFirestoreMigrationMetadata {
|
1728 |
|
1729 | /** DatastoreFirestoreMigrationMetadata migrationState */
|
1730 | migrationState?: (google.datastore.admin.v1.MigrationState|keyof typeof google.datastore.admin.v1.MigrationState|null);
|
1731 |
|
1732 | /** DatastoreFirestoreMigrationMetadata migrationStep */
|
1733 | migrationStep?: (google.datastore.admin.v1.MigrationStep|keyof typeof google.datastore.admin.v1.MigrationStep|null);
|
1734 | }
|
1735 |
|
1736 | /** Represents a DatastoreFirestoreMigrationMetadata. */
|
1737 | class DatastoreFirestoreMigrationMetadata implements IDatastoreFirestoreMigrationMetadata {
|
1738 |
|
1739 | /**
|
1740 | * Constructs a new DatastoreFirestoreMigrationMetadata.
|
1741 | * @param [properties] Properties to set
|
1742 | */
|
1743 | constructor(properties?: google.datastore.admin.v1.IDatastoreFirestoreMigrationMetadata);
|
1744 |
|
1745 | /** DatastoreFirestoreMigrationMetadata migrationState. */
|
1746 | public migrationState: (google.datastore.admin.v1.MigrationState|keyof typeof google.datastore.admin.v1.MigrationState);
|
1747 |
|
1748 | /** DatastoreFirestoreMigrationMetadata migrationStep. */
|
1749 | public migrationStep: (google.datastore.admin.v1.MigrationStep|keyof typeof google.datastore.admin.v1.MigrationStep);
|
1750 |
|
1751 | /**
|
1752 | * Creates a new DatastoreFirestoreMigrationMetadata instance using the specified properties.
|
1753 | * @param [properties] Properties to set
|
1754 | * @returns DatastoreFirestoreMigrationMetadata instance
|
1755 | */
|
1756 | public static create(properties?: google.datastore.admin.v1.IDatastoreFirestoreMigrationMetadata): google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata;
|
1757 |
|
1758 | /**
|
1759 | * Encodes the specified DatastoreFirestoreMigrationMetadata message. Does not implicitly { google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.verify|verify} messages.
|
1760 | * message DatastoreFirestoreMigrationMetadata message or plain object to encode
|
1761 | * [writer] Writer to encode to
|
1762 | * Writer
|
1763 | */
|
1764 | public static encode(message: google.datastore.admin.v1.IDatastoreFirestoreMigrationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
1765 |
|
1766 | /**
|
1767 | * Encodes the specified DatastoreFirestoreMigrationMetadata message, length delimited. Does not implicitly {@link google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata.verify|verify} messages.
|
1768 | * @param message DatastoreFirestoreMigrationMetadata message or plain object to encode
|
1769 | * @param [writer] Writer to encode to
|
1770 | * @returns Writer
|
1771 | */
|
1772 | public static encodeDelimited(message: google.datastore.admin.v1.IDatastoreFirestoreMigrationMetadata, writer?: $protobuf.Writer): $protobuf.Writer;
|
1773 |
|
1774 | /**
|
1775 | * Decodes a DatastoreFirestoreMigrationMetadata message from the specified reader or buffer.
|
1776 | * @param reader Reader or buffer to decode from
|
1777 | * @param [length] Message length if known beforehand
|
1778 | * @returns DatastoreFirestoreMigrationMetadata
|
1779 | * @throws {Error} If the payload is not a reader or valid buffer
|
1780 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1781 | */
|
1782 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata;
|
1783 |
|
1784 | /**
|
1785 | * Decodes a DatastoreFirestoreMigrationMetadata message from the specified reader or buffer, length delimited.
|
1786 | * @param reader Reader or buffer to decode from
|
1787 | * @returns DatastoreFirestoreMigrationMetadata
|
1788 | * @throws {Error} If the payload is not a reader or valid buffer
|
1789 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1790 | */
|
1791 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata;
|
1792 |
|
1793 | /**
|
1794 | * Verifies a DatastoreFirestoreMigrationMetadata message.
|
1795 | * @param message Plain object to verify
|
1796 | * @returns `null` if valid, otherwise the reason why it is not
|
1797 | */
|
1798 | public static verify(message: { [k: string]: any }): (string|null);
|
1799 |
|
1800 | /**
|
1801 | * Creates a DatastoreFirestoreMigrationMetadata message from a plain object. Also converts values to their respective internal types.
|
1802 | * @param object Plain object
|
1803 | * @returns DatastoreFirestoreMigrationMetadata
|
1804 | */
|
1805 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata;
|
1806 |
|
1807 | /**
|
1808 | * Creates a plain object from a DatastoreFirestoreMigrationMetadata message. Also converts values to other types if specified.
|
1809 | * @param message DatastoreFirestoreMigrationMetadata
|
1810 | * @param [options] Conversion options
|
1811 | * @returns Plain object
|
1812 | */
|
1813 | public static toObject(message: google.datastore.admin.v1.DatastoreFirestoreMigrationMetadata, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1814 |
|
1815 | /**
|
1816 | * Converts this DatastoreFirestoreMigrationMetadata to JSON.
|
1817 | * @returns JSON object
|
1818 | */
|
1819 | public toJSON(): { [k: string]: any };
|
1820 |
|
1821 | /**
|
1822 | * Gets the default type url for DatastoreFirestoreMigrationMetadata
|
1823 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1824 | * @returns The default type url
|
1825 | */
|
1826 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1827 | }
|
1828 |
|
1829 | /** OperationType enum. */
|
1830 | enum OperationType {
|
1831 | OPERATION_TYPE_UNSPECIFIED = 0,
|
1832 | EXPORT_ENTITIES = 1,
|
1833 | IMPORT_ENTITIES = 2,
|
1834 | CREATE_INDEX = 3,
|
1835 | DELETE_INDEX = 4
|
1836 | }
|
1837 |
|
1838 | /** Properties of an Index. */
|
1839 | interface IIndex {
|
1840 |
|
1841 | /** Index projectId */
|
1842 | projectId?: (string|null);
|
1843 |
|
1844 | /** Index indexId */
|
1845 | indexId?: (string|null);
|
1846 |
|
1847 | /** Index kind */
|
1848 | kind?: (string|null);
|
1849 |
|
1850 | /** Index ancestor */
|
1851 | ancestor?: (google.datastore.admin.v1.Index.AncestorMode|keyof typeof google.datastore.admin.v1.Index.AncestorMode|null);
|
1852 |
|
1853 | /** Index properties */
|
1854 | properties?: (google.datastore.admin.v1.Index.IIndexedProperty[]|null);
|
1855 |
|
1856 | /** Index state */
|
1857 | state?: (google.datastore.admin.v1.Index.State|keyof typeof google.datastore.admin.v1.Index.State|null);
|
1858 | }
|
1859 |
|
1860 | /** Represents an Index. */
|
1861 | class Index implements IIndex {
|
1862 |
|
1863 | /**
|
1864 | * Constructs a new Index.
|
1865 | * @param [properties] Properties to set
|
1866 | */
|
1867 | constructor(properties?: google.datastore.admin.v1.IIndex);
|
1868 |
|
1869 | /** Index projectId. */
|
1870 | public projectId: string;
|
1871 |
|
1872 | /** Index indexId. */
|
1873 | public indexId: string;
|
1874 |
|
1875 | /** Index kind. */
|
1876 | public kind: string;
|
1877 |
|
1878 | /** Index ancestor. */
|
1879 | public ancestor: (google.datastore.admin.v1.Index.AncestorMode|keyof typeof google.datastore.admin.v1.Index.AncestorMode);
|
1880 |
|
1881 | /** Index properties. */
|
1882 | public properties: google.datastore.admin.v1.Index.IIndexedProperty[];
|
1883 |
|
1884 | /** Index state. */
|
1885 | public state: (google.datastore.admin.v1.Index.State|keyof typeof google.datastore.admin.v1.Index.State);
|
1886 |
|
1887 | /**
|
1888 | * Creates a new Index instance using the specified properties.
|
1889 | * @param [properties] Properties to set
|
1890 | * @returns Index instance
|
1891 | */
|
1892 | public static create(properties?: google.datastore.admin.v1.IIndex): google.datastore.admin.v1.Index;
|
1893 |
|
1894 | /**
|
1895 | * Encodes the specified Index message. Does not implicitly { google.datastore.admin.v1.Index.verify|verify} messages.
|
1896 | * message Index message or plain object to encode
|
1897 | * [writer] Writer to encode to
|
1898 | * Writer
|
1899 | */
|
1900 | public static encode(message: google.datastore.admin.v1.IIndex, writer?: $protobuf.Writer): $protobuf.Writer;
|
1901 |
|
1902 | /**
|
1903 | * Encodes the specified Index message, length delimited. Does not implicitly {@link google.datastore.admin.v1.Index.verify|verify} messages.
|
1904 | * @param message Index message or plain object to encode
|
1905 | * @param [writer] Writer to encode to
|
1906 | * @returns Writer
|
1907 | */
|
1908 | public static encodeDelimited(message: google.datastore.admin.v1.IIndex, writer?: $protobuf.Writer): $protobuf.Writer;
|
1909 |
|
1910 | /**
|
1911 | * Decodes an Index message from the specified reader or buffer.
|
1912 | * @param reader Reader or buffer to decode from
|
1913 | * @param [length] Message length if known beforehand
|
1914 | * @returns Index
|
1915 | * @throws {Error} If the payload is not a reader or valid buffer
|
1916 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1917 | */
|
1918 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.Index;
|
1919 |
|
1920 | /**
|
1921 | * Decodes an Index message from the specified reader or buffer, length delimited.
|
1922 | * @param reader Reader or buffer to decode from
|
1923 | * @returns Index
|
1924 | * @throws {Error} If the payload is not a reader or valid buffer
|
1925 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
1926 | */
|
1927 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.Index;
|
1928 |
|
1929 | /**
|
1930 | * Verifies an Index message.
|
1931 | * @param message Plain object to verify
|
1932 | * @returns `null` if valid, otherwise the reason why it is not
|
1933 | */
|
1934 | public static verify(message: { [k: string]: any }): (string|null);
|
1935 |
|
1936 | /**
|
1937 | * Creates an Index message from a plain object. Also converts values to their respective internal types.
|
1938 | * @param object Plain object
|
1939 | * @returns Index
|
1940 | */
|
1941 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.Index;
|
1942 |
|
1943 | /**
|
1944 | * Creates a plain object from an Index message. Also converts values to other types if specified.
|
1945 | * @param message Index
|
1946 | * @param [options] Conversion options
|
1947 | * @returns Plain object
|
1948 | */
|
1949 | public static toObject(message: google.datastore.admin.v1.Index, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
1950 |
|
1951 | /**
|
1952 | * Converts this Index to JSON.
|
1953 | * @returns JSON object
|
1954 | */
|
1955 | public toJSON(): { [k: string]: any };
|
1956 |
|
1957 | /**
|
1958 | * Gets the default type url for Index
|
1959 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
1960 | * @returns The default type url
|
1961 | */
|
1962 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
1963 | }
|
1964 |
|
1965 | namespace Index {
|
1966 |
|
1967 | /** AncestorMode enum. */
|
1968 | enum AncestorMode {
|
1969 | ANCESTOR_MODE_UNSPECIFIED = 0,
|
1970 | NONE = 1,
|
1971 | ALL_ANCESTORS = 2
|
1972 | }
|
1973 |
|
1974 | /** Direction enum. */
|
1975 | enum Direction {
|
1976 | DIRECTION_UNSPECIFIED = 0,
|
1977 | ASCENDING = 1,
|
1978 | DESCENDING = 2
|
1979 | }
|
1980 |
|
1981 | /** Properties of an IndexedProperty. */
|
1982 | interface IIndexedProperty {
|
1983 |
|
1984 | /** IndexedProperty name */
|
1985 | name?: (string|null);
|
1986 |
|
1987 | /** IndexedProperty direction */
|
1988 | direction?: (google.datastore.admin.v1.Index.Direction|keyof typeof google.datastore.admin.v1.Index.Direction|null);
|
1989 | }
|
1990 |
|
1991 | /** Represents an IndexedProperty. */
|
1992 | class IndexedProperty implements IIndexedProperty {
|
1993 |
|
1994 | /**
|
1995 | * Constructs a new IndexedProperty.
|
1996 | * @param [properties] Properties to set
|
1997 | */
|
1998 | constructor(properties?: google.datastore.admin.v1.Index.IIndexedProperty);
|
1999 |
|
2000 | /** IndexedProperty name. */
|
2001 | public name: string;
|
2002 |
|
2003 | /** IndexedProperty direction. */
|
2004 | public direction: (google.datastore.admin.v1.Index.Direction|keyof typeof google.datastore.admin.v1.Index.Direction);
|
2005 |
|
2006 | /**
|
2007 | * Creates a new IndexedProperty instance using the specified properties.
|
2008 | * @param [properties] Properties to set
|
2009 | * @returns IndexedProperty instance
|
2010 | */
|
2011 | public static create(properties?: google.datastore.admin.v1.Index.IIndexedProperty): google.datastore.admin.v1.Index.IndexedProperty;
|
2012 |
|
2013 | /**
|
2014 | * Encodes the specified IndexedProperty message. Does not implicitly { google.datastore.admin.v1.Index.IndexedProperty.verify|verify} messages.
|
2015 | * message IndexedProperty message or plain object to encode
|
2016 | * [writer] Writer to encode to
|
2017 | * Writer
|
2018 | */
|
2019 | public static encode(message: google.datastore.admin.v1.Index.IIndexedProperty, writer?: $protobuf.Writer): $protobuf.Writer;
|
2020 |
|
2021 | /**
|
2022 | * Encodes the specified IndexedProperty message, length delimited. Does not implicitly {@link google.datastore.admin.v1.Index.IndexedProperty.verify|verify} messages.
|
2023 | * @param message IndexedProperty message or plain object to encode
|
2024 | * @param [writer] Writer to encode to
|
2025 | * @returns Writer
|
2026 | */
|
2027 | public static encodeDelimited(message: google.datastore.admin.v1.Index.IIndexedProperty, writer?: $protobuf.Writer): $protobuf.Writer;
|
2028 |
|
2029 | /**
|
2030 | * Decodes an IndexedProperty message from the specified reader or buffer.
|
2031 | * @param reader Reader or buffer to decode from
|
2032 | * @param [length] Message length if known beforehand
|
2033 | * @returns IndexedProperty
|
2034 | * @throws {Error} If the payload is not a reader or valid buffer
|
2035 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2036 | */
|
2037 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.Index.IndexedProperty;
|
2038 |
|
2039 | /**
|
2040 | * Decodes an IndexedProperty message from the specified reader or buffer, length delimited.
|
2041 | * @param reader Reader or buffer to decode from
|
2042 | * @returns IndexedProperty
|
2043 | * @throws {Error} If the payload is not a reader or valid buffer
|
2044 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2045 | */
|
2046 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.Index.IndexedProperty;
|
2047 |
|
2048 | /**
|
2049 | * Verifies an IndexedProperty message.
|
2050 | * @param message Plain object to verify
|
2051 | * @returns `null` if valid, otherwise the reason why it is not
|
2052 | */
|
2053 | public static verify(message: { [k: string]: any }): (string|null);
|
2054 |
|
2055 | /**
|
2056 | * Creates an IndexedProperty message from a plain object. Also converts values to their respective internal types.
|
2057 | * @param object Plain object
|
2058 | * @returns IndexedProperty
|
2059 | */
|
2060 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.Index.IndexedProperty;
|
2061 |
|
2062 | /**
|
2063 | * Creates a plain object from an IndexedProperty message. Also converts values to other types if specified.
|
2064 | * @param message IndexedProperty
|
2065 | * @param [options] Conversion options
|
2066 | * @returns Plain object
|
2067 | */
|
2068 | public static toObject(message: google.datastore.admin.v1.Index.IndexedProperty, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2069 |
|
2070 | /**
|
2071 | * Converts this IndexedProperty to JSON.
|
2072 | * @returns JSON object
|
2073 | */
|
2074 | public toJSON(): { [k: string]: any };
|
2075 |
|
2076 | /**
|
2077 | * Gets the default type url for IndexedProperty
|
2078 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2079 | * @returns The default type url
|
2080 | */
|
2081 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2082 | }
|
2083 |
|
2084 | /** State enum. */
|
2085 | enum State {
|
2086 | STATE_UNSPECIFIED = 0,
|
2087 | CREATING = 1,
|
2088 | READY = 2,
|
2089 | DELETING = 3,
|
2090 | ERROR = 4
|
2091 | }
|
2092 | }
|
2093 |
|
2094 | /** Properties of a MigrationStateEvent. */
|
2095 | interface IMigrationStateEvent {
|
2096 |
|
2097 | /** MigrationStateEvent state */
|
2098 | state?: (google.datastore.admin.v1.MigrationState|keyof typeof google.datastore.admin.v1.MigrationState|null);
|
2099 | }
|
2100 |
|
2101 | /** Represents a MigrationStateEvent. */
|
2102 | class MigrationStateEvent implements IMigrationStateEvent {
|
2103 |
|
2104 | /**
|
2105 | * Constructs a new MigrationStateEvent.
|
2106 | * @param [properties] Properties to set
|
2107 | */
|
2108 | constructor(properties?: google.datastore.admin.v1.IMigrationStateEvent);
|
2109 |
|
2110 | /** MigrationStateEvent state. */
|
2111 | public state: (google.datastore.admin.v1.MigrationState|keyof typeof google.datastore.admin.v1.MigrationState);
|
2112 |
|
2113 | /**
|
2114 | * Creates a new MigrationStateEvent instance using the specified properties.
|
2115 | * @param [properties] Properties to set
|
2116 | * @returns MigrationStateEvent instance
|
2117 | */
|
2118 | public static create(properties?: google.datastore.admin.v1.IMigrationStateEvent): google.datastore.admin.v1.MigrationStateEvent;
|
2119 |
|
2120 | /**
|
2121 | * Encodes the specified MigrationStateEvent message. Does not implicitly { google.datastore.admin.v1.MigrationStateEvent.verify|verify} messages.
|
2122 | * message MigrationStateEvent message or plain object to encode
|
2123 | * [writer] Writer to encode to
|
2124 | * Writer
|
2125 | */
|
2126 | public static encode(message: google.datastore.admin.v1.IMigrationStateEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
2127 |
|
2128 | /**
|
2129 | * Encodes the specified MigrationStateEvent message, length delimited. Does not implicitly {@link google.datastore.admin.v1.MigrationStateEvent.verify|verify} messages.
|
2130 | * @param message MigrationStateEvent message or plain object to encode
|
2131 | * @param [writer] Writer to encode to
|
2132 | * @returns Writer
|
2133 | */
|
2134 | public static encodeDelimited(message: google.datastore.admin.v1.IMigrationStateEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
2135 |
|
2136 | /**
|
2137 | * Decodes a MigrationStateEvent message from the specified reader or buffer.
|
2138 | * @param reader Reader or buffer to decode from
|
2139 | * @param [length] Message length if known beforehand
|
2140 | * @returns MigrationStateEvent
|
2141 | * @throws {Error} If the payload is not a reader or valid buffer
|
2142 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2143 | */
|
2144 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.MigrationStateEvent;
|
2145 |
|
2146 | /**
|
2147 | * Decodes a MigrationStateEvent message from the specified reader or buffer, length delimited.
|
2148 | * @param reader Reader or buffer to decode from
|
2149 | * @returns MigrationStateEvent
|
2150 | * @throws {Error} If the payload is not a reader or valid buffer
|
2151 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2152 | */
|
2153 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.MigrationStateEvent;
|
2154 |
|
2155 | /**
|
2156 | * Verifies a MigrationStateEvent message.
|
2157 | * @param message Plain object to verify
|
2158 | * @returns `null` if valid, otherwise the reason why it is not
|
2159 | */
|
2160 | public static verify(message: { [k: string]: any }): (string|null);
|
2161 |
|
2162 | /**
|
2163 | * Creates a MigrationStateEvent message from a plain object. Also converts values to their respective internal types.
|
2164 | * @param object Plain object
|
2165 | * @returns MigrationStateEvent
|
2166 | */
|
2167 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.MigrationStateEvent;
|
2168 |
|
2169 | /**
|
2170 | * Creates a plain object from a MigrationStateEvent message. Also converts values to other types if specified.
|
2171 | * @param message MigrationStateEvent
|
2172 | * @param [options] Conversion options
|
2173 | * @returns Plain object
|
2174 | */
|
2175 | public static toObject(message: google.datastore.admin.v1.MigrationStateEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2176 |
|
2177 | /**
|
2178 | * Converts this MigrationStateEvent to JSON.
|
2179 | * @returns JSON object
|
2180 | */
|
2181 | public toJSON(): { [k: string]: any };
|
2182 |
|
2183 | /**
|
2184 | * Gets the default type url for MigrationStateEvent
|
2185 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2186 | * @returns The default type url
|
2187 | */
|
2188 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2189 | }
|
2190 |
|
2191 | /** Properties of a MigrationProgressEvent. */
|
2192 | interface IMigrationProgressEvent {
|
2193 |
|
2194 | /** MigrationProgressEvent step */
|
2195 | step?: (google.datastore.admin.v1.MigrationStep|keyof typeof google.datastore.admin.v1.MigrationStep|null);
|
2196 |
|
2197 | /** MigrationProgressEvent prepareStepDetails */
|
2198 | prepareStepDetails?: (google.datastore.admin.v1.MigrationProgressEvent.IPrepareStepDetails|null);
|
2199 |
|
2200 | /** MigrationProgressEvent redirectWritesStepDetails */
|
2201 | redirectWritesStepDetails?: (google.datastore.admin.v1.MigrationProgressEvent.IRedirectWritesStepDetails|null);
|
2202 | }
|
2203 |
|
2204 | /** Represents a MigrationProgressEvent. */
|
2205 | class MigrationProgressEvent implements IMigrationProgressEvent {
|
2206 |
|
2207 | /**
|
2208 | * Constructs a new MigrationProgressEvent.
|
2209 | * @param [properties] Properties to set
|
2210 | */
|
2211 | constructor(properties?: google.datastore.admin.v1.IMigrationProgressEvent);
|
2212 |
|
2213 | /** MigrationProgressEvent step. */
|
2214 | public step: (google.datastore.admin.v1.MigrationStep|keyof typeof google.datastore.admin.v1.MigrationStep);
|
2215 |
|
2216 | /** MigrationProgressEvent prepareStepDetails. */
|
2217 | public prepareStepDetails?: (google.datastore.admin.v1.MigrationProgressEvent.IPrepareStepDetails|null);
|
2218 |
|
2219 | /** MigrationProgressEvent redirectWritesStepDetails. */
|
2220 | public redirectWritesStepDetails?: (google.datastore.admin.v1.MigrationProgressEvent.IRedirectWritesStepDetails|null);
|
2221 |
|
2222 | /** MigrationProgressEvent stepDetails. */
|
2223 | public stepDetails?: ("prepareStepDetails"|"redirectWritesStepDetails");
|
2224 |
|
2225 | /**
|
2226 | * Creates a new MigrationProgressEvent instance using the specified properties.
|
2227 | * @param [properties] Properties to set
|
2228 | * @returns MigrationProgressEvent instance
|
2229 | */
|
2230 | public static create(properties?: google.datastore.admin.v1.IMigrationProgressEvent): google.datastore.admin.v1.MigrationProgressEvent;
|
2231 |
|
2232 | /**
|
2233 | * Encodes the specified MigrationProgressEvent message. Does not implicitly { google.datastore.admin.v1.MigrationProgressEvent.verify|verify} messages.
|
2234 | * message MigrationProgressEvent message or plain object to encode
|
2235 | * [writer] Writer to encode to
|
2236 | * Writer
|
2237 | */
|
2238 | public static encode(message: google.datastore.admin.v1.IMigrationProgressEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
2239 |
|
2240 | /**
|
2241 | * Encodes the specified MigrationProgressEvent message, length delimited. Does not implicitly {@link google.datastore.admin.v1.MigrationProgressEvent.verify|verify} messages.
|
2242 | * @param message MigrationProgressEvent message or plain object to encode
|
2243 | * @param [writer] Writer to encode to
|
2244 | * @returns Writer
|
2245 | */
|
2246 | public static encodeDelimited(message: google.datastore.admin.v1.IMigrationProgressEvent, writer?: $protobuf.Writer): $protobuf.Writer;
|
2247 |
|
2248 | /**
|
2249 | * Decodes a MigrationProgressEvent message from the specified reader or buffer.
|
2250 | * @param reader Reader or buffer to decode from
|
2251 | * @param [length] Message length if known beforehand
|
2252 | * @returns MigrationProgressEvent
|
2253 | * @throws {Error} If the payload is not a reader or valid buffer
|
2254 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2255 | */
|
2256 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.MigrationProgressEvent;
|
2257 |
|
2258 | /**
|
2259 | * Decodes a MigrationProgressEvent message from the specified reader or buffer, length delimited.
|
2260 | * @param reader Reader or buffer to decode from
|
2261 | * @returns MigrationProgressEvent
|
2262 | * @throws {Error} If the payload is not a reader or valid buffer
|
2263 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2264 | */
|
2265 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.MigrationProgressEvent;
|
2266 |
|
2267 | /**
|
2268 | * Verifies a MigrationProgressEvent message.
|
2269 | * @param message Plain object to verify
|
2270 | * @returns `null` if valid, otherwise the reason why it is not
|
2271 | */
|
2272 | public static verify(message: { [k: string]: any }): (string|null);
|
2273 |
|
2274 | /**
|
2275 | * Creates a MigrationProgressEvent message from a plain object. Also converts values to their respective internal types.
|
2276 | * @param object Plain object
|
2277 | * @returns MigrationProgressEvent
|
2278 | */
|
2279 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.MigrationProgressEvent;
|
2280 |
|
2281 | /**
|
2282 | * Creates a plain object from a MigrationProgressEvent message. Also converts values to other types if specified.
|
2283 | * @param message MigrationProgressEvent
|
2284 | * @param [options] Conversion options
|
2285 | * @returns Plain object
|
2286 | */
|
2287 | public static toObject(message: google.datastore.admin.v1.MigrationProgressEvent, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2288 |
|
2289 | /**
|
2290 | * Converts this MigrationProgressEvent to JSON.
|
2291 | * @returns JSON object
|
2292 | */
|
2293 | public toJSON(): { [k: string]: any };
|
2294 |
|
2295 | /**
|
2296 | * Gets the default type url for MigrationProgressEvent
|
2297 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2298 | * @returns The default type url
|
2299 | */
|
2300 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2301 | }
|
2302 |
|
2303 | namespace MigrationProgressEvent {
|
2304 |
|
2305 | /** ConcurrencyMode enum. */
|
2306 | enum ConcurrencyMode {
|
2307 | CONCURRENCY_MODE_UNSPECIFIED = 0,
|
2308 | PESSIMISTIC = 1,
|
2309 | OPTIMISTIC = 2,
|
2310 | OPTIMISTIC_WITH_ENTITY_GROUPS = 3
|
2311 | }
|
2312 |
|
2313 | /** Properties of a PrepareStepDetails. */
|
2314 | interface IPrepareStepDetails {
|
2315 |
|
2316 | /** PrepareStepDetails concurrencyMode */
|
2317 | concurrencyMode?: (google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode|keyof typeof google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode|null);
|
2318 | }
|
2319 |
|
2320 | /** Represents a PrepareStepDetails. */
|
2321 | class PrepareStepDetails implements IPrepareStepDetails {
|
2322 |
|
2323 | /**
|
2324 | * Constructs a new PrepareStepDetails.
|
2325 | * @param [properties] Properties to set
|
2326 | */
|
2327 | constructor(properties?: google.datastore.admin.v1.MigrationProgressEvent.IPrepareStepDetails);
|
2328 |
|
2329 | /** PrepareStepDetails concurrencyMode. */
|
2330 | public concurrencyMode: (google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode|keyof typeof google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode);
|
2331 |
|
2332 | /**
|
2333 | * Creates a new PrepareStepDetails instance using the specified properties.
|
2334 | * @param [properties] Properties to set
|
2335 | * @returns PrepareStepDetails instance
|
2336 | */
|
2337 | public static create(properties?: google.datastore.admin.v1.MigrationProgressEvent.IPrepareStepDetails): google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails;
|
2338 |
|
2339 | /**
|
2340 | * Encodes the specified PrepareStepDetails message. Does not implicitly { google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.verify|verify} messages.
|
2341 | * message PrepareStepDetails message or plain object to encode
|
2342 | * [writer] Writer to encode to
|
2343 | * Writer
|
2344 | */
|
2345 | public static encode(message: google.datastore.admin.v1.MigrationProgressEvent.IPrepareStepDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
2346 |
|
2347 | /**
|
2348 | * Encodes the specified PrepareStepDetails message, length delimited. Does not implicitly {@link google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails.verify|verify} messages.
|
2349 | * @param message PrepareStepDetails message or plain object to encode
|
2350 | * @param [writer] Writer to encode to
|
2351 | * @returns Writer
|
2352 | */
|
2353 | public static encodeDelimited(message: google.datastore.admin.v1.MigrationProgressEvent.IPrepareStepDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
2354 |
|
2355 | /**
|
2356 | * Decodes a PrepareStepDetails message from the specified reader or buffer.
|
2357 | * @param reader Reader or buffer to decode from
|
2358 | * @param [length] Message length if known beforehand
|
2359 | * @returns PrepareStepDetails
|
2360 | * @throws {Error} If the payload is not a reader or valid buffer
|
2361 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2362 | */
|
2363 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails;
|
2364 |
|
2365 | /**
|
2366 | * Decodes a PrepareStepDetails message from the specified reader or buffer, length delimited.
|
2367 | * @param reader Reader or buffer to decode from
|
2368 | * @returns PrepareStepDetails
|
2369 | * @throws {Error} If the payload is not a reader or valid buffer
|
2370 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2371 | */
|
2372 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails;
|
2373 |
|
2374 | /**
|
2375 | * Verifies a PrepareStepDetails message.
|
2376 | * @param message Plain object to verify
|
2377 | * @returns `null` if valid, otherwise the reason why it is not
|
2378 | */
|
2379 | public static verify(message: { [k: string]: any }): (string|null);
|
2380 |
|
2381 | /**
|
2382 | * Creates a PrepareStepDetails message from a plain object. Also converts values to their respective internal types.
|
2383 | * @param object Plain object
|
2384 | * @returns PrepareStepDetails
|
2385 | */
|
2386 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails;
|
2387 |
|
2388 | /**
|
2389 | * Creates a plain object from a PrepareStepDetails message. Also converts values to other types if specified.
|
2390 | * @param message PrepareStepDetails
|
2391 | * @param [options] Conversion options
|
2392 | * @returns Plain object
|
2393 | */
|
2394 | public static toObject(message: google.datastore.admin.v1.MigrationProgressEvent.PrepareStepDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2395 |
|
2396 | /**
|
2397 | * Converts this PrepareStepDetails to JSON.
|
2398 | * @returns JSON object
|
2399 | */
|
2400 | public toJSON(): { [k: string]: any };
|
2401 |
|
2402 | /**
|
2403 | * Gets the default type url for PrepareStepDetails
|
2404 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2405 | * @returns The default type url
|
2406 | */
|
2407 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2408 | }
|
2409 |
|
2410 | /** Properties of a RedirectWritesStepDetails. */
|
2411 | interface IRedirectWritesStepDetails {
|
2412 |
|
2413 | /** RedirectWritesStepDetails concurrencyMode */
|
2414 | concurrencyMode?: (google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode|keyof typeof google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode|null);
|
2415 | }
|
2416 |
|
2417 | /** Represents a RedirectWritesStepDetails. */
|
2418 | class RedirectWritesStepDetails implements IRedirectWritesStepDetails {
|
2419 |
|
2420 | /**
|
2421 | * Constructs a new RedirectWritesStepDetails.
|
2422 | * @param [properties] Properties to set
|
2423 | */
|
2424 | constructor(properties?: google.datastore.admin.v1.MigrationProgressEvent.IRedirectWritesStepDetails);
|
2425 |
|
2426 | /** RedirectWritesStepDetails concurrencyMode. */
|
2427 | public concurrencyMode: (google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode|keyof typeof google.datastore.admin.v1.MigrationProgressEvent.ConcurrencyMode);
|
2428 |
|
2429 | /**
|
2430 | * Creates a new RedirectWritesStepDetails instance using the specified properties.
|
2431 | * @param [properties] Properties to set
|
2432 | * @returns RedirectWritesStepDetails instance
|
2433 | */
|
2434 | public static create(properties?: google.datastore.admin.v1.MigrationProgressEvent.IRedirectWritesStepDetails): google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails;
|
2435 |
|
2436 | /**
|
2437 | * Encodes the specified RedirectWritesStepDetails message. Does not implicitly { google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.verify|verify} messages.
|
2438 | * message RedirectWritesStepDetails message or plain object to encode
|
2439 | * [writer] Writer to encode to
|
2440 | * Writer
|
2441 | */
|
2442 | public static encode(message: google.datastore.admin.v1.MigrationProgressEvent.IRedirectWritesStepDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
2443 |
|
2444 | /**
|
2445 | * Encodes the specified RedirectWritesStepDetails message, length delimited. Does not implicitly {@link google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails.verify|verify} messages.
|
2446 | * @param message RedirectWritesStepDetails message or plain object to encode
|
2447 | * @param [writer] Writer to encode to
|
2448 | * @returns Writer
|
2449 | */
|
2450 | public static encodeDelimited(message: google.datastore.admin.v1.MigrationProgressEvent.IRedirectWritesStepDetails, writer?: $protobuf.Writer): $protobuf.Writer;
|
2451 |
|
2452 | /**
|
2453 | * Decodes a RedirectWritesStepDetails message from the specified reader or buffer.
|
2454 | * @param reader Reader or buffer to decode from
|
2455 | * @param [length] Message length if known beforehand
|
2456 | * @returns RedirectWritesStepDetails
|
2457 | * @throws {Error} If the payload is not a reader or valid buffer
|
2458 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2459 | */
|
2460 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails;
|
2461 |
|
2462 | /**
|
2463 | * Decodes a RedirectWritesStepDetails message from the specified reader or buffer, length delimited.
|
2464 | * @param reader Reader or buffer to decode from
|
2465 | * @returns RedirectWritesStepDetails
|
2466 | * @throws {Error} If the payload is not a reader or valid buffer
|
2467 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2468 | */
|
2469 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails;
|
2470 |
|
2471 | /**
|
2472 | * Verifies a RedirectWritesStepDetails message.
|
2473 | * @param message Plain object to verify
|
2474 | * @returns `null` if valid, otherwise the reason why it is not
|
2475 | */
|
2476 | public static verify(message: { [k: string]: any }): (string|null);
|
2477 |
|
2478 | /**
|
2479 | * Creates a RedirectWritesStepDetails message from a plain object. Also converts values to their respective internal types.
|
2480 | * @param object Plain object
|
2481 | * @returns RedirectWritesStepDetails
|
2482 | */
|
2483 | public static fromObject(object: { [k: string]: any }): google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails;
|
2484 |
|
2485 | /**
|
2486 | * Creates a plain object from a RedirectWritesStepDetails message. Also converts values to other types if specified.
|
2487 | * @param message RedirectWritesStepDetails
|
2488 | * @param [options] Conversion options
|
2489 | * @returns Plain object
|
2490 | */
|
2491 | public static toObject(message: google.datastore.admin.v1.MigrationProgressEvent.RedirectWritesStepDetails, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2492 |
|
2493 | /**
|
2494 | * Converts this RedirectWritesStepDetails to JSON.
|
2495 | * @returns JSON object
|
2496 | */
|
2497 | public toJSON(): { [k: string]: any };
|
2498 |
|
2499 | /**
|
2500 | * Gets the default type url for RedirectWritesStepDetails
|
2501 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2502 | * @returns The default type url
|
2503 | */
|
2504 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2505 | }
|
2506 | }
|
2507 |
|
2508 | /** MigrationState enum. */
|
2509 | enum MigrationState {
|
2510 | MIGRATION_STATE_UNSPECIFIED = 0,
|
2511 | RUNNING = 1,
|
2512 | PAUSED = 2,
|
2513 | COMPLETE = 3
|
2514 | }
|
2515 |
|
2516 | /** MigrationStep enum. */
|
2517 | enum MigrationStep {
|
2518 | MIGRATION_STEP_UNSPECIFIED = 0,
|
2519 | PREPARE = 6,
|
2520 | START = 1,
|
2521 | APPLY_WRITES_SYNCHRONOUSLY = 7,
|
2522 | COPY_AND_VERIFY = 2,
|
2523 | REDIRECT_EVENTUALLY_CONSISTENT_READS = 3,
|
2524 | REDIRECT_STRONGLY_CONSISTENT_READS = 4,
|
2525 | REDIRECT_WRITES = 5
|
2526 | }
|
2527 | }
|
2528 | }
|
2529 |
|
2530 | /** Namespace v1. */
|
2531 | namespace v1 {
|
2532 |
|
2533 | /** Properties of an AggregationResult. */
|
2534 | interface IAggregationResult {
|
2535 |
|
2536 | /** AggregationResult aggregateProperties */
|
2537 | aggregateProperties?: ({ [k: string]: google.datastore.v1.IValue }|null);
|
2538 | }
|
2539 |
|
2540 | /** Represents an AggregationResult. */
|
2541 | class AggregationResult implements IAggregationResult {
|
2542 |
|
2543 | /**
|
2544 | * Constructs a new AggregationResult.
|
2545 | * @param [properties] Properties to set
|
2546 | */
|
2547 | constructor(properties?: google.datastore.v1.IAggregationResult);
|
2548 |
|
2549 | /** AggregationResult aggregateProperties. */
|
2550 | public aggregateProperties: { [k: string]: google.datastore.v1.IValue };
|
2551 |
|
2552 | /**
|
2553 | * Creates a new AggregationResult instance using the specified properties.
|
2554 | * @param [properties] Properties to set
|
2555 | * @returns AggregationResult instance
|
2556 | */
|
2557 | public static create(properties?: google.datastore.v1.IAggregationResult): google.datastore.v1.AggregationResult;
|
2558 |
|
2559 | /**
|
2560 | * Encodes the specified AggregationResult message. Does not implicitly {@link google.datastore.v1.AggregationResult.verify|verify} messages.
|
2561 | * @param message AggregationResult message or plain object to encode
|
2562 | * @param [writer] Writer to encode to
|
2563 | * @returns Writer
|
2564 | */
|
2565 | public static encode(message: google.datastore.v1.IAggregationResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
2566 |
|
2567 | /**
|
2568 | * Encodes the specified AggregationResult message, length delimited. Does not implicitly {@link google.datastore.v1.AggregationResult.verify|verify} messages.
|
2569 | * @param message AggregationResult message or plain object to encode
|
2570 | * @param [writer] Writer to encode to
|
2571 | * @returns Writer
|
2572 | */
|
2573 | public static encodeDelimited(message: google.datastore.v1.IAggregationResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
2574 |
|
2575 | /**
|
2576 | * Decodes an AggregationResult message from the specified reader or buffer.
|
2577 | * @param reader Reader or buffer to decode from
|
2578 | * @param [length] Message length if known beforehand
|
2579 | * @returns AggregationResult
|
2580 | * @throws {Error} If the payload is not a reader or valid buffer
|
2581 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2582 | */
|
2583 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AggregationResult;
|
2584 |
|
2585 | /**
|
2586 | * Decodes an AggregationResult message from the specified reader or buffer, length delimited.
|
2587 | * @param reader Reader or buffer to decode from
|
2588 | * @returns AggregationResult
|
2589 | * @throws {Error} If the payload is not a reader or valid buffer
|
2590 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2591 | */
|
2592 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AggregationResult;
|
2593 |
|
2594 | /**
|
2595 | * Verifies an AggregationResult message.
|
2596 | * @param message Plain object to verify
|
2597 | * @returns `null` if valid, otherwise the reason why it is not
|
2598 | */
|
2599 | public static verify(message: { [k: string]: any }): (string|null);
|
2600 |
|
2601 | /**
|
2602 | * Creates an AggregationResult message from a plain object. Also converts values to their respective internal types.
|
2603 | * @param object Plain object
|
2604 | * @returns AggregationResult
|
2605 | */
|
2606 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AggregationResult;
|
2607 |
|
2608 | /**
|
2609 | * Creates a plain object from an AggregationResult message. Also converts values to other types if specified.
|
2610 | * @param message AggregationResult
|
2611 | * @param [options] Conversion options
|
2612 | * @returns Plain object
|
2613 | */
|
2614 | public static toObject(message: google.datastore.v1.AggregationResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2615 |
|
2616 | /**
|
2617 | * Converts this AggregationResult to JSON.
|
2618 | * @returns JSON object
|
2619 | */
|
2620 | public toJSON(): { [k: string]: any };
|
2621 |
|
2622 | /**
|
2623 | * Gets the default type url for AggregationResult
|
2624 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2625 | * @returns The default type url
|
2626 | */
|
2627 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2628 | }
|
2629 |
|
2630 | /** Properties of an AggregationResultBatch. */
|
2631 | interface IAggregationResultBatch {
|
2632 |
|
2633 | /** AggregationResultBatch aggregationResults */
|
2634 | aggregationResults?: (google.datastore.v1.IAggregationResult[]|null);
|
2635 |
|
2636 | /** AggregationResultBatch moreResults */
|
2637 | moreResults?: (google.datastore.v1.QueryResultBatch.MoreResultsType|keyof typeof google.datastore.v1.QueryResultBatch.MoreResultsType|null);
|
2638 |
|
2639 | /** AggregationResultBatch readTime */
|
2640 | readTime?: (google.protobuf.ITimestamp|null);
|
2641 | }
|
2642 |
|
2643 | /** Represents an AggregationResultBatch. */
|
2644 | class AggregationResultBatch implements IAggregationResultBatch {
|
2645 |
|
2646 | /**
|
2647 | * Constructs a new AggregationResultBatch.
|
2648 | * @param [properties] Properties to set
|
2649 | */
|
2650 | constructor(properties?: google.datastore.v1.IAggregationResultBatch);
|
2651 |
|
2652 | /** AggregationResultBatch aggregationResults. */
|
2653 | public aggregationResults: google.datastore.v1.IAggregationResult[];
|
2654 |
|
2655 | /** AggregationResultBatch moreResults. */
|
2656 | public moreResults: (google.datastore.v1.QueryResultBatch.MoreResultsType|keyof typeof google.datastore.v1.QueryResultBatch.MoreResultsType);
|
2657 |
|
2658 | /** AggregationResultBatch readTime. */
|
2659 | public readTime?: (google.protobuf.ITimestamp|null);
|
2660 |
|
2661 | /**
|
2662 | * Creates a new AggregationResultBatch instance using the specified properties.
|
2663 | * @param [properties] Properties to set
|
2664 | * @returns AggregationResultBatch instance
|
2665 | */
|
2666 | public static create(properties?: google.datastore.v1.IAggregationResultBatch): google.datastore.v1.AggregationResultBatch;
|
2667 |
|
2668 | /**
|
2669 | * Encodes the specified AggregationResultBatch message. Does not implicitly { google.datastore.v1.AggregationResultBatch.verify|verify} messages.
|
2670 | * message AggregationResultBatch message or plain object to encode
|
2671 | * [writer] Writer to encode to
|
2672 | * Writer
|
2673 | */
|
2674 | public static encode(message: google.datastore.v1.IAggregationResultBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
2675 |
|
2676 | /**
|
2677 | * Encodes the specified AggregationResultBatch message, length delimited. Does not implicitly {@link google.datastore.v1.AggregationResultBatch.verify|verify} messages.
|
2678 | * @param message AggregationResultBatch message or plain object to encode
|
2679 | * @param [writer] Writer to encode to
|
2680 | * @returns Writer
|
2681 | */
|
2682 | public static encodeDelimited(message: google.datastore.v1.IAggregationResultBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
2683 |
|
2684 | /**
|
2685 | * Decodes an AggregationResultBatch message from the specified reader or buffer.
|
2686 | * @param reader Reader or buffer to decode from
|
2687 | * @param [length] Message length if known beforehand
|
2688 | * @returns AggregationResultBatch
|
2689 | * @throws {Error} If the payload is not a reader or valid buffer
|
2690 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2691 | */
|
2692 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AggregationResultBatch;
|
2693 |
|
2694 | /**
|
2695 | * Decodes an AggregationResultBatch message from the specified reader or buffer, length delimited.
|
2696 | * @param reader Reader or buffer to decode from
|
2697 | * @returns AggregationResultBatch
|
2698 | * @throws {Error} If the payload is not a reader or valid buffer
|
2699 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2700 | */
|
2701 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AggregationResultBatch;
|
2702 |
|
2703 | /**
|
2704 | * Verifies an AggregationResultBatch message.
|
2705 | * @param message Plain object to verify
|
2706 | * @returns `null` if valid, otherwise the reason why it is not
|
2707 | */
|
2708 | public static verify(message: { [k: string]: any }): (string|null);
|
2709 |
|
2710 | /**
|
2711 | * Creates an AggregationResultBatch message from a plain object. Also converts values to their respective internal types.
|
2712 | * @param object Plain object
|
2713 | * @returns AggregationResultBatch
|
2714 | */
|
2715 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AggregationResultBatch;
|
2716 |
|
2717 | /**
|
2718 | * Creates a plain object from an AggregationResultBatch message. Also converts values to other types if specified.
|
2719 | * @param message AggregationResultBatch
|
2720 | * @param [options] Conversion options
|
2721 | * @returns Plain object
|
2722 | */
|
2723 | public static toObject(message: google.datastore.v1.AggregationResultBatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2724 |
|
2725 | /**
|
2726 | * Converts this AggregationResultBatch to JSON.
|
2727 | * @returns JSON object
|
2728 | */
|
2729 | public toJSON(): { [k: string]: any };
|
2730 |
|
2731 | /**
|
2732 | * Gets the default type url for AggregationResultBatch
|
2733 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2734 | * @returns The default type url
|
2735 | */
|
2736 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2737 | }
|
2738 |
|
2739 | /** Properties of a PartitionId. */
|
2740 | interface IPartitionId {
|
2741 |
|
2742 | /** PartitionId projectId */
|
2743 | projectId?: (string|null);
|
2744 |
|
2745 | /** PartitionId databaseId */
|
2746 | databaseId?: (string|null);
|
2747 |
|
2748 | /** PartitionId namespaceId */
|
2749 | namespaceId?: (string|null);
|
2750 | }
|
2751 |
|
2752 | /** Represents a PartitionId. */
|
2753 | class PartitionId implements IPartitionId {
|
2754 |
|
2755 | /**
|
2756 | * Constructs a new PartitionId.
|
2757 | * @param [properties] Properties to set
|
2758 | */
|
2759 | constructor(properties?: google.datastore.v1.IPartitionId);
|
2760 |
|
2761 | /** PartitionId projectId. */
|
2762 | public projectId: string;
|
2763 |
|
2764 | /** PartitionId databaseId. */
|
2765 | public databaseId: string;
|
2766 |
|
2767 | /** PartitionId namespaceId. */
|
2768 | public namespaceId: string;
|
2769 |
|
2770 | /**
|
2771 | * Creates a new PartitionId instance using the specified properties.
|
2772 | * @param [properties] Properties to set
|
2773 | * @returns PartitionId instance
|
2774 | */
|
2775 | public static create(properties?: google.datastore.v1.IPartitionId): google.datastore.v1.PartitionId;
|
2776 |
|
2777 | /**
|
2778 | * Encodes the specified PartitionId message. Does not implicitly { google.datastore.v1.PartitionId.verify|verify} messages.
|
2779 | * message PartitionId message or plain object to encode
|
2780 | * [writer] Writer to encode to
|
2781 | * Writer
|
2782 | */
|
2783 | public static encode(message: google.datastore.v1.IPartitionId, writer?: $protobuf.Writer): $protobuf.Writer;
|
2784 |
|
2785 | /**
|
2786 | * Encodes the specified PartitionId message, length delimited. Does not implicitly {@link google.datastore.v1.PartitionId.verify|verify} messages.
|
2787 | * @param message PartitionId message or plain object to encode
|
2788 | * @param [writer] Writer to encode to
|
2789 | * @returns Writer
|
2790 | */
|
2791 | public static encodeDelimited(message: google.datastore.v1.IPartitionId, writer?: $protobuf.Writer): $protobuf.Writer;
|
2792 |
|
2793 | /**
|
2794 | * Decodes a PartitionId message from the specified reader or buffer.
|
2795 | * @param reader Reader or buffer to decode from
|
2796 | * @param [length] Message length if known beforehand
|
2797 | * @returns PartitionId
|
2798 | * @throws {Error} If the payload is not a reader or valid buffer
|
2799 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2800 | */
|
2801 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.PartitionId;
|
2802 |
|
2803 | /**
|
2804 | * Decodes a PartitionId message from the specified reader or buffer, length delimited.
|
2805 | * @param reader Reader or buffer to decode from
|
2806 | * @returns PartitionId
|
2807 | * @throws {Error} If the payload is not a reader or valid buffer
|
2808 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2809 | */
|
2810 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.PartitionId;
|
2811 |
|
2812 | /**
|
2813 | * Verifies a PartitionId message.
|
2814 | * @param message Plain object to verify
|
2815 | * @returns `null` if valid, otherwise the reason why it is not
|
2816 | */
|
2817 | public static verify(message: { [k: string]: any }): (string|null);
|
2818 |
|
2819 | /**
|
2820 | * Creates a PartitionId message from a plain object. Also converts values to their respective internal types.
|
2821 | * @param object Plain object
|
2822 | * @returns PartitionId
|
2823 | */
|
2824 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.PartitionId;
|
2825 |
|
2826 | /**
|
2827 | * Creates a plain object from a PartitionId message. Also converts values to other types if specified.
|
2828 | * @param message PartitionId
|
2829 | * @param [options] Conversion options
|
2830 | * @returns Plain object
|
2831 | */
|
2832 | public static toObject(message: google.datastore.v1.PartitionId, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2833 |
|
2834 | /**
|
2835 | * Converts this PartitionId to JSON.
|
2836 | * @returns JSON object
|
2837 | */
|
2838 | public toJSON(): { [k: string]: any };
|
2839 |
|
2840 | /**
|
2841 | * Gets the default type url for PartitionId
|
2842 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2843 | * @returns The default type url
|
2844 | */
|
2845 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2846 | }
|
2847 |
|
2848 | /** Properties of a Key. */
|
2849 | interface IKey {
|
2850 |
|
2851 | /** Key partitionId */
|
2852 | partitionId?: (google.datastore.v1.IPartitionId|null);
|
2853 |
|
2854 | /** Key path */
|
2855 | path?: (google.datastore.v1.Key.IPathElement[]|null);
|
2856 | }
|
2857 |
|
2858 | /** Represents a Key. */
|
2859 | class Key implements IKey {
|
2860 |
|
2861 | /**
|
2862 | * Constructs a new Key.
|
2863 | * @param [properties] Properties to set
|
2864 | */
|
2865 | constructor(properties?: google.datastore.v1.IKey);
|
2866 |
|
2867 | /** Key partitionId. */
|
2868 | public partitionId?: (google.datastore.v1.IPartitionId|null);
|
2869 |
|
2870 | /** Key path. */
|
2871 | public path: google.datastore.v1.Key.IPathElement[];
|
2872 |
|
2873 | /**
|
2874 | * Creates a new Key instance using the specified properties.
|
2875 | * @param [properties] Properties to set
|
2876 | * @returns Key instance
|
2877 | */
|
2878 | public static create(properties?: google.datastore.v1.IKey): google.datastore.v1.Key;
|
2879 |
|
2880 | /**
|
2881 | * Encodes the specified Key message. Does not implicitly { google.datastore.v1.Key.verify|verify} messages.
|
2882 | * message Key message or plain object to encode
|
2883 | * [writer] Writer to encode to
|
2884 | * Writer
|
2885 | */
|
2886 | public static encode(message: google.datastore.v1.IKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
2887 |
|
2888 | /**
|
2889 | * Encodes the specified Key message, length delimited. Does not implicitly {@link google.datastore.v1.Key.verify|verify} messages.
|
2890 | * @param message Key message or plain object to encode
|
2891 | * @param [writer] Writer to encode to
|
2892 | * @returns Writer
|
2893 | */
|
2894 | public static encodeDelimited(message: google.datastore.v1.IKey, writer?: $protobuf.Writer): $protobuf.Writer;
|
2895 |
|
2896 | /**
|
2897 | * Decodes a Key message from the specified reader or buffer.
|
2898 | * @param reader Reader or buffer to decode from
|
2899 | * @param [length] Message length if known beforehand
|
2900 | * @returns Key
|
2901 | * @throws {Error} If the payload is not a reader or valid buffer
|
2902 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2903 | */
|
2904 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.Key;
|
2905 |
|
2906 | /**
|
2907 | * Decodes a Key message from the specified reader or buffer, length delimited.
|
2908 | * @param reader Reader or buffer to decode from
|
2909 | * @returns Key
|
2910 | * @throws {Error} If the payload is not a reader or valid buffer
|
2911 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
2912 | */
|
2913 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.Key;
|
2914 |
|
2915 | /**
|
2916 | * Verifies a Key message.
|
2917 | * @param message Plain object to verify
|
2918 | * @returns `null` if valid, otherwise the reason why it is not
|
2919 | */
|
2920 | public static verify(message: { [k: string]: any }): (string|null);
|
2921 |
|
2922 | /**
|
2923 | * Creates a Key message from a plain object. Also converts values to their respective internal types.
|
2924 | * @param object Plain object
|
2925 | * @returns Key
|
2926 | */
|
2927 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.Key;
|
2928 |
|
2929 | /**
|
2930 | * Creates a plain object from a Key message. Also converts values to other types if specified.
|
2931 | * @param message Key
|
2932 | * @param [options] Conversion options
|
2933 | * @returns Plain object
|
2934 | */
|
2935 | public static toObject(message: google.datastore.v1.Key, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
2936 |
|
2937 | /**
|
2938 | * Converts this Key to JSON.
|
2939 | * @returns JSON object
|
2940 | */
|
2941 | public toJSON(): { [k: string]: any };
|
2942 |
|
2943 | /**
|
2944 | * Gets the default type url for Key
|
2945 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
2946 | * @returns The default type url
|
2947 | */
|
2948 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
2949 | }
|
2950 |
|
2951 | namespace Key {
|
2952 |
|
2953 | /** Properties of a PathElement. */
|
2954 | interface IPathElement {
|
2955 |
|
2956 | /** PathElement kind */
|
2957 | kind?: (string|null);
|
2958 |
|
2959 | /** PathElement id */
|
2960 | id?: (number|Long|string|null);
|
2961 |
|
2962 | /** PathElement name */
|
2963 | name?: (string|null);
|
2964 | }
|
2965 |
|
2966 | /** Represents a PathElement. */
|
2967 | class PathElement implements IPathElement {
|
2968 |
|
2969 | /**
|
2970 | * Constructs a new PathElement.
|
2971 | * @param [properties] Properties to set
|
2972 | */
|
2973 | constructor(properties?: google.datastore.v1.Key.IPathElement);
|
2974 |
|
2975 | /** PathElement kind. */
|
2976 | public kind: string;
|
2977 |
|
2978 | /** PathElement id. */
|
2979 | public id?: (number|Long|string|null);
|
2980 |
|
2981 | /** PathElement name. */
|
2982 | public name?: (string|null);
|
2983 |
|
2984 | /** PathElement idType. */
|
2985 | public idType?: ("id"|"name");
|
2986 |
|
2987 | /**
|
2988 | * Creates a new PathElement instance using the specified properties.
|
2989 | * @param [properties] Properties to set
|
2990 | * @returns PathElement instance
|
2991 | */
|
2992 | public static create(properties?: google.datastore.v1.Key.IPathElement): google.datastore.v1.Key.PathElement;
|
2993 |
|
2994 | /**
|
2995 | * Encodes the specified PathElement message. Does not implicitly { google.datastore.v1.Key.PathElement.verify|verify} messages.
|
2996 | * message PathElement message or plain object to encode
|
2997 | * [writer] Writer to encode to
|
2998 | * Writer
|
2999 | */
|
3000 | public static encode(message: google.datastore.v1.Key.IPathElement, writer?: $protobuf.Writer): $protobuf.Writer;
|
3001 |
|
3002 | /**
|
3003 | * Encodes the specified PathElement message, length delimited. Does not implicitly {@link google.datastore.v1.Key.PathElement.verify|verify} messages.
|
3004 | * @param message PathElement message or plain object to encode
|
3005 | * @param [writer] Writer to encode to
|
3006 | * @returns Writer
|
3007 | */
|
3008 | public static encodeDelimited(message: google.datastore.v1.Key.IPathElement, writer?: $protobuf.Writer): $protobuf.Writer;
|
3009 |
|
3010 | /**
|
3011 | * Decodes a PathElement message from the specified reader or buffer.
|
3012 | * @param reader Reader or buffer to decode from
|
3013 | * @param [length] Message length if known beforehand
|
3014 | * @returns PathElement
|
3015 | * @throws {Error} If the payload is not a reader or valid buffer
|
3016 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3017 | */
|
3018 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.Key.PathElement;
|
3019 |
|
3020 | /**
|
3021 | * Decodes a PathElement message from the specified reader or buffer, length delimited.
|
3022 | * @param reader Reader or buffer to decode from
|
3023 | * @returns PathElement
|
3024 | * @throws {Error} If the payload is not a reader or valid buffer
|
3025 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3026 | */
|
3027 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.Key.PathElement;
|
3028 |
|
3029 | /**
|
3030 | * Verifies a PathElement message.
|
3031 | * @param message Plain object to verify
|
3032 | * @returns `null` if valid, otherwise the reason why it is not
|
3033 | */
|
3034 | public static verify(message: { [k: string]: any }): (string|null);
|
3035 |
|
3036 | /**
|
3037 | * Creates a PathElement message from a plain object. Also converts values to their respective internal types.
|
3038 | * @param object Plain object
|
3039 | * @returns PathElement
|
3040 | */
|
3041 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.Key.PathElement;
|
3042 |
|
3043 | /**
|
3044 | * Creates a plain object from a PathElement message. Also converts values to other types if specified.
|
3045 | * @param message PathElement
|
3046 | * @param [options] Conversion options
|
3047 | * @returns Plain object
|
3048 | */
|
3049 | public static toObject(message: google.datastore.v1.Key.PathElement, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3050 |
|
3051 | /**
|
3052 | * Converts this PathElement to JSON.
|
3053 | * @returns JSON object
|
3054 | */
|
3055 | public toJSON(): { [k: string]: any };
|
3056 |
|
3057 | /**
|
3058 | * Gets the default type url for PathElement
|
3059 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
3060 | * @returns The default type url
|
3061 | */
|
3062 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
3063 | }
|
3064 | }
|
3065 |
|
3066 | /** Properties of an ArrayValue. */
|
3067 | interface IArrayValue {
|
3068 |
|
3069 | /** ArrayValue values */
|
3070 | values?: (google.datastore.v1.IValue[]|null);
|
3071 | }
|
3072 |
|
3073 | /** Represents an ArrayValue. */
|
3074 | class ArrayValue implements IArrayValue {
|
3075 |
|
3076 | /**
|
3077 | * Constructs a new ArrayValue.
|
3078 | * @param [properties] Properties to set
|
3079 | */
|
3080 | constructor(properties?: google.datastore.v1.IArrayValue);
|
3081 |
|
3082 | /** ArrayValue values. */
|
3083 | public values: google.datastore.v1.IValue[];
|
3084 |
|
3085 | /**
|
3086 | * Creates a new ArrayValue instance using the specified properties.
|
3087 | * @param [properties] Properties to set
|
3088 | * @returns ArrayValue instance
|
3089 | */
|
3090 | public static create(properties?: google.datastore.v1.IArrayValue): google.datastore.v1.ArrayValue;
|
3091 |
|
3092 | /**
|
3093 | * Encodes the specified ArrayValue message. Does not implicitly { google.datastore.v1.ArrayValue.verify|verify} messages.
|
3094 | * message ArrayValue message or plain object to encode
|
3095 | * [writer] Writer to encode to
|
3096 | * Writer
|
3097 | */
|
3098 | public static encode(message: google.datastore.v1.IArrayValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
3099 |
|
3100 | /**
|
3101 | * Encodes the specified ArrayValue message, length delimited. Does not implicitly {@link google.datastore.v1.ArrayValue.verify|verify} messages.
|
3102 | * @param message ArrayValue message or plain object to encode
|
3103 | * @param [writer] Writer to encode to
|
3104 | * @returns Writer
|
3105 | */
|
3106 | public static encodeDelimited(message: google.datastore.v1.IArrayValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
3107 |
|
3108 | /**
|
3109 | * Decodes an ArrayValue message from the specified reader or buffer.
|
3110 | * @param reader Reader or buffer to decode from
|
3111 | * @param [length] Message length if known beforehand
|
3112 | * @returns ArrayValue
|
3113 | * @throws {Error} If the payload is not a reader or valid buffer
|
3114 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3115 | */
|
3116 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.ArrayValue;
|
3117 |
|
3118 | /**
|
3119 | * Decodes an ArrayValue message from the specified reader or buffer, length delimited.
|
3120 | * @param reader Reader or buffer to decode from
|
3121 | * @returns ArrayValue
|
3122 | * @throws {Error} If the payload is not a reader or valid buffer
|
3123 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3124 | */
|
3125 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.ArrayValue;
|
3126 |
|
3127 | /**
|
3128 | * Verifies an ArrayValue message.
|
3129 | * @param message Plain object to verify
|
3130 | * @returns `null` if valid, otherwise the reason why it is not
|
3131 | */
|
3132 | public static verify(message: { [k: string]: any }): (string|null);
|
3133 |
|
3134 | /**
|
3135 | * Creates an ArrayValue message from a plain object. Also converts values to their respective internal types.
|
3136 | * @param object Plain object
|
3137 | * @returns ArrayValue
|
3138 | */
|
3139 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.ArrayValue;
|
3140 |
|
3141 | /**
|
3142 | * Creates a plain object from an ArrayValue message. Also converts values to other types if specified.
|
3143 | * @param message ArrayValue
|
3144 | * @param [options] Conversion options
|
3145 | * @returns Plain object
|
3146 | */
|
3147 | public static toObject(message: google.datastore.v1.ArrayValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3148 |
|
3149 | /**
|
3150 | * Converts this ArrayValue to JSON.
|
3151 | * @returns JSON object
|
3152 | */
|
3153 | public toJSON(): { [k: string]: any };
|
3154 |
|
3155 | /**
|
3156 | * Gets the default type url for ArrayValue
|
3157 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
3158 | * @returns The default type url
|
3159 | */
|
3160 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
3161 | }
|
3162 |
|
3163 | /** Properties of a Value. */
|
3164 | interface IValue {
|
3165 |
|
3166 | /** Value nullValue */
|
3167 | nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
|
3168 |
|
3169 | /** Value booleanValue */
|
3170 | booleanValue?: (boolean|null);
|
3171 |
|
3172 | /** Value integerValue */
|
3173 | integerValue?: (number|Long|string|null);
|
3174 |
|
3175 | /** Value doubleValue */
|
3176 | doubleValue?: (number|null);
|
3177 |
|
3178 | /** Value timestampValue */
|
3179 | timestampValue?: (google.protobuf.ITimestamp|null);
|
3180 |
|
3181 | /** Value keyValue */
|
3182 | keyValue?: (google.datastore.v1.IKey|null);
|
3183 |
|
3184 | /** Value stringValue */
|
3185 | stringValue?: (string|null);
|
3186 |
|
3187 | /** Value blobValue */
|
3188 | blobValue?: (Uint8Array|string|null);
|
3189 |
|
3190 | /** Value geoPointValue */
|
3191 | geoPointValue?: (google.type.ILatLng|null);
|
3192 |
|
3193 | /** Value entityValue */
|
3194 | entityValue?: (google.datastore.v1.IEntity|null);
|
3195 |
|
3196 | /** Value arrayValue */
|
3197 | arrayValue?: (google.datastore.v1.IArrayValue|null);
|
3198 |
|
3199 | /** Value meaning */
|
3200 | meaning?: (number|null);
|
3201 |
|
3202 | /** Value excludeFromIndexes */
|
3203 | excludeFromIndexes?: (boolean|null);
|
3204 | }
|
3205 |
|
3206 | /** Represents a Value. */
|
3207 | class Value implements IValue {
|
3208 |
|
3209 | /**
|
3210 | * Constructs a new Value.
|
3211 | * @param [properties] Properties to set
|
3212 | */
|
3213 | constructor(properties?: google.datastore.v1.IValue);
|
3214 |
|
3215 | /** Value nullValue. */
|
3216 | public nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
|
3217 |
|
3218 | /** Value booleanValue. */
|
3219 | public booleanValue?: (boolean|null);
|
3220 |
|
3221 | /** Value integerValue. */
|
3222 | public integerValue?: (number|Long|string|null);
|
3223 |
|
3224 | /** Value doubleValue. */
|
3225 | public doubleValue?: (number|null);
|
3226 |
|
3227 | /** Value timestampValue. */
|
3228 | public timestampValue?: (google.protobuf.ITimestamp|null);
|
3229 |
|
3230 | /** Value keyValue. */
|
3231 | public keyValue?: (google.datastore.v1.IKey|null);
|
3232 |
|
3233 | /** Value stringValue. */
|
3234 | public stringValue?: (string|null);
|
3235 |
|
3236 | /** Value blobValue. */
|
3237 | public blobValue?: (Uint8Array|string|null);
|
3238 |
|
3239 | /** Value geoPointValue. */
|
3240 | public geoPointValue?: (google.type.ILatLng|null);
|
3241 |
|
3242 | /** Value entityValue. */
|
3243 | public entityValue?: (google.datastore.v1.IEntity|null);
|
3244 |
|
3245 | /** Value arrayValue. */
|
3246 | public arrayValue?: (google.datastore.v1.IArrayValue|null);
|
3247 |
|
3248 | /** Value meaning. */
|
3249 | public meaning: number;
|
3250 |
|
3251 | /** Value excludeFromIndexes. */
|
3252 | public excludeFromIndexes: boolean;
|
3253 |
|
3254 | /** Value valueType. */
|
3255 | public valueType?: ("nullValue"|"booleanValue"|"integerValue"|"doubleValue"|"timestampValue"|"keyValue"|"stringValue"|"blobValue"|"geoPointValue"|"entityValue"|"arrayValue");
|
3256 |
|
3257 | /**
|
3258 | * Creates a new Value instance using the specified properties.
|
3259 | * @param [properties] Properties to set
|
3260 | * @returns Value instance
|
3261 | */
|
3262 | public static create(properties?: google.datastore.v1.IValue): google.datastore.v1.Value;
|
3263 |
|
3264 | /**
|
3265 | * Encodes the specified Value message. Does not implicitly { google.datastore.v1.Value.verify|verify} messages.
|
3266 | * message Value message or plain object to encode
|
3267 | * [writer] Writer to encode to
|
3268 | * Writer
|
3269 | */
|
3270 | public static encode(message: google.datastore.v1.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
3271 |
|
3272 | /**
|
3273 | * Encodes the specified Value message, length delimited. Does not implicitly {@link google.datastore.v1.Value.verify|verify} messages.
|
3274 | * @param message Value message or plain object to encode
|
3275 | * @param [writer] Writer to encode to
|
3276 | * @returns Writer
|
3277 | */
|
3278 | public static encodeDelimited(message: google.datastore.v1.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
3279 |
|
3280 | /**
|
3281 | * Decodes a Value message from the specified reader or buffer.
|
3282 | * @param reader Reader or buffer to decode from
|
3283 | * @param [length] Message length if known beforehand
|
3284 | * @returns Value
|
3285 | * @throws {Error} If the payload is not a reader or valid buffer
|
3286 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3287 | */
|
3288 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.Value;
|
3289 |
|
3290 | /**
|
3291 | * Decodes a Value message from the specified reader or buffer, length delimited.
|
3292 | * @param reader Reader or buffer to decode from
|
3293 | * @returns Value
|
3294 | * @throws {Error} If the payload is not a reader or valid buffer
|
3295 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3296 | */
|
3297 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.Value;
|
3298 |
|
3299 | /**
|
3300 | * Verifies a Value message.
|
3301 | * @param message Plain object to verify
|
3302 | * @returns `null` if valid, otherwise the reason why it is not
|
3303 | */
|
3304 | public static verify(message: { [k: string]: any }): (string|null);
|
3305 |
|
3306 | /**
|
3307 | * Creates a Value message from a plain object. Also converts values to their respective internal types.
|
3308 | * @param object Plain object
|
3309 | * @returns Value
|
3310 | */
|
3311 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.Value;
|
3312 |
|
3313 | /**
|
3314 | * Creates a plain object from a Value message. Also converts values to other types if specified.
|
3315 | * @param message Value
|
3316 | * @param [options] Conversion options
|
3317 | * @returns Plain object
|
3318 | */
|
3319 | public static toObject(message: google.datastore.v1.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3320 |
|
3321 | /**
|
3322 | * Converts this Value to JSON.
|
3323 | * @returns JSON object
|
3324 | */
|
3325 | public toJSON(): { [k: string]: any };
|
3326 |
|
3327 | /**
|
3328 | * Gets the default type url for Value
|
3329 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
3330 | * @returns The default type url
|
3331 | */
|
3332 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
3333 | }
|
3334 |
|
3335 | /** Properties of an Entity. */
|
3336 | interface IEntity {
|
3337 |
|
3338 | /** Entity key */
|
3339 | key?: (google.datastore.v1.IKey|null);
|
3340 |
|
3341 | /** Entity properties */
|
3342 | properties?: ({ [k: string]: google.datastore.v1.IValue }|null);
|
3343 | }
|
3344 |
|
3345 | /** Represents an Entity. */
|
3346 | class Entity implements IEntity {
|
3347 |
|
3348 | /**
|
3349 | * Constructs a new Entity.
|
3350 | * @param [properties] Properties to set
|
3351 | */
|
3352 | constructor(properties?: google.datastore.v1.IEntity);
|
3353 |
|
3354 | /** Entity key. */
|
3355 | public key?: (google.datastore.v1.IKey|null);
|
3356 |
|
3357 | /** Entity properties. */
|
3358 | public properties: { [k: string]: google.datastore.v1.IValue };
|
3359 |
|
3360 | /**
|
3361 | * Creates a new Entity instance using the specified properties.
|
3362 | * @param [properties] Properties to set
|
3363 | * @returns Entity instance
|
3364 | */
|
3365 | public static create(properties?: google.datastore.v1.IEntity): google.datastore.v1.Entity;
|
3366 |
|
3367 | /**
|
3368 | * Encodes the specified Entity message. Does not implicitly {@link google.datastore.v1.Entity.verify|verify} messages.
|
3369 | * @param message Entity message or plain object to encode
|
3370 | * @param [writer] Writer to encode to
|
3371 | * @returns Writer
|
3372 | */
|
3373 | public static encode(message: google.datastore.v1.IEntity, writer?: $protobuf.Writer): $protobuf.Writer;
|
3374 |
|
3375 | /**
|
3376 | * Encodes the specified Entity message, length delimited. Does not implicitly {@link google.datastore.v1.Entity.verify|verify} messages.
|
3377 | * @param message Entity message or plain object to encode
|
3378 | * @param [writer] Writer to encode to
|
3379 | * @returns Writer
|
3380 | */
|
3381 | public static encodeDelimited(message: google.datastore.v1.IEntity, writer?: $protobuf.Writer): $protobuf.Writer;
|
3382 |
|
3383 | /**
|
3384 | * Decodes an Entity message from the specified reader or buffer.
|
3385 | * @param reader Reader or buffer to decode from
|
3386 | * @param [length] Message length if known beforehand
|
3387 | * @returns Entity
|
3388 | * @throws {Error} If the payload is not a reader or valid buffer
|
3389 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3390 | */
|
3391 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.Entity;
|
3392 |
|
3393 | /**
|
3394 | * Decodes an Entity message from the specified reader or buffer, length delimited.
|
3395 | * @param reader Reader or buffer to decode from
|
3396 | * @returns Entity
|
3397 | * @throws {Error} If the payload is not a reader or valid buffer
|
3398 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3399 | */
|
3400 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.Entity;
|
3401 |
|
3402 | /**
|
3403 | * Verifies an Entity message.
|
3404 | * @param message Plain object to verify
|
3405 | * @returns `null` if valid, otherwise the reason why it is not
|
3406 | */
|
3407 | public static verify(message: { [k: string]: any }): (string|null);
|
3408 |
|
3409 | /**
|
3410 | * Creates an Entity message from a plain object. Also converts values to their respective internal types.
|
3411 | * @param object Plain object
|
3412 | * @returns Entity
|
3413 | */
|
3414 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.Entity;
|
3415 |
|
3416 | /**
|
3417 | * Creates a plain object from an Entity message. Also converts values to other types if specified.
|
3418 | * @param message Entity
|
3419 | * @param [options] Conversion options
|
3420 | * @returns Plain object
|
3421 | */
|
3422 | public static toObject(message: google.datastore.v1.Entity, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3423 |
|
3424 | /**
|
3425 | * Converts this Entity to JSON.
|
3426 | * @returns JSON object
|
3427 | */
|
3428 | public toJSON(): { [k: string]: any };
|
3429 |
|
3430 | /**
|
3431 | * Gets the default type url for Entity
|
3432 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
3433 | * @returns The default type url
|
3434 | */
|
3435 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
3436 | }
|
3437 |
|
3438 | /** Properties of an EntityResult. */
|
3439 | interface IEntityResult {
|
3440 |
|
3441 | /** EntityResult entity */
|
3442 | entity?: (google.datastore.v1.IEntity|null);
|
3443 |
|
3444 | /** EntityResult version */
|
3445 | version?: (number|Long|string|null);
|
3446 |
|
3447 | /** EntityResult createTime */
|
3448 | createTime?: (google.protobuf.ITimestamp|null);
|
3449 |
|
3450 | /** EntityResult updateTime */
|
3451 | updateTime?: (google.protobuf.ITimestamp|null);
|
3452 |
|
3453 | /** EntityResult cursor */
|
3454 | cursor?: (Uint8Array|string|null);
|
3455 | }
|
3456 |
|
3457 | /** Represents an EntityResult. */
|
3458 | class EntityResult implements IEntityResult {
|
3459 |
|
3460 | /**
|
3461 | * Constructs a new EntityResult.
|
3462 | * @param [properties] Properties to set
|
3463 | */
|
3464 | constructor(properties?: google.datastore.v1.IEntityResult);
|
3465 |
|
3466 | /** EntityResult entity. */
|
3467 | public entity?: (google.datastore.v1.IEntity|null);
|
3468 |
|
3469 | /** EntityResult version. */
|
3470 | public version: (number|Long|string);
|
3471 |
|
3472 | /** EntityResult createTime. */
|
3473 | public createTime?: (google.protobuf.ITimestamp|null);
|
3474 |
|
3475 | /** EntityResult updateTime. */
|
3476 | public updateTime?: (google.protobuf.ITimestamp|null);
|
3477 |
|
3478 | /** EntityResult cursor. */
|
3479 | public cursor: (Uint8Array|string);
|
3480 |
|
3481 | /**
|
3482 | * Creates a new EntityResult instance using the specified properties.
|
3483 | * @param [properties] Properties to set
|
3484 | * @returns EntityResult instance
|
3485 | */
|
3486 | public static create(properties?: google.datastore.v1.IEntityResult): google.datastore.v1.EntityResult;
|
3487 |
|
3488 | /**
|
3489 | * Encodes the specified EntityResult message. Does not implicitly { google.datastore.v1.EntityResult.verify|verify} messages.
|
3490 | * message EntityResult message or plain object to encode
|
3491 | * [writer] Writer to encode to
|
3492 | * Writer
|
3493 | */
|
3494 | public static encode(message: google.datastore.v1.IEntityResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
3495 |
|
3496 | /**
|
3497 | * Encodes the specified EntityResult message, length delimited. Does not implicitly {@link google.datastore.v1.EntityResult.verify|verify} messages.
|
3498 | * @param message EntityResult message or plain object to encode
|
3499 | * @param [writer] Writer to encode to
|
3500 | * @returns Writer
|
3501 | */
|
3502 | public static encodeDelimited(message: google.datastore.v1.IEntityResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
3503 |
|
3504 | /**
|
3505 | * Decodes an EntityResult message from the specified reader or buffer.
|
3506 | * @param reader Reader or buffer to decode from
|
3507 | * @param [length] Message length if known beforehand
|
3508 | * @returns EntityResult
|
3509 | * @throws {Error} If the payload is not a reader or valid buffer
|
3510 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3511 | */
|
3512 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.EntityResult;
|
3513 |
|
3514 | /**
|
3515 | * Decodes an EntityResult message from the specified reader or buffer, length delimited.
|
3516 | * @param reader Reader or buffer to decode from
|
3517 | * @returns EntityResult
|
3518 | * @throws {Error} If the payload is not a reader or valid buffer
|
3519 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3520 | */
|
3521 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.EntityResult;
|
3522 |
|
3523 | /**
|
3524 | * Verifies an EntityResult message.
|
3525 | * @param message Plain object to verify
|
3526 | * @returns `null` if valid, otherwise the reason why it is not
|
3527 | */
|
3528 | public static verify(message: { [k: string]: any }): (string|null);
|
3529 |
|
3530 | /**
|
3531 | * Creates an EntityResult message from a plain object. Also converts values to their respective internal types.
|
3532 | * @param object Plain object
|
3533 | * @returns EntityResult
|
3534 | */
|
3535 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.EntityResult;
|
3536 |
|
3537 | /**
|
3538 | * Creates a plain object from an EntityResult message. Also converts values to other types if specified.
|
3539 | * @param message EntityResult
|
3540 | * @param [options] Conversion options
|
3541 | * @returns Plain object
|
3542 | */
|
3543 | public static toObject(message: google.datastore.v1.EntityResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3544 |
|
3545 | /**
|
3546 | * Converts this EntityResult to JSON.
|
3547 | * @returns JSON object
|
3548 | */
|
3549 | public toJSON(): { [k: string]: any };
|
3550 |
|
3551 | /**
|
3552 | * Gets the default type url for EntityResult
|
3553 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
3554 | * @returns The default type url
|
3555 | */
|
3556 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
3557 | }
|
3558 |
|
3559 | namespace EntityResult {
|
3560 |
|
3561 | /** ResultType enum. */
|
3562 | enum ResultType {
|
3563 | RESULT_TYPE_UNSPECIFIED = 0,
|
3564 | FULL = 1,
|
3565 | PROJECTION = 2,
|
3566 | KEY_ONLY = 3
|
3567 | }
|
3568 | }
|
3569 |
|
3570 | /** Properties of a Query. */
|
3571 | interface IQuery {
|
3572 |
|
3573 | /** Query projection */
|
3574 | projection?: (google.datastore.v1.IProjection[]|null);
|
3575 |
|
3576 | /** Query kind */
|
3577 | kind?: (google.datastore.v1.IKindExpression[]|null);
|
3578 |
|
3579 | /** Query filter */
|
3580 | filter?: (google.datastore.v1.IFilter|null);
|
3581 |
|
3582 | /** Query order */
|
3583 | order?: (google.datastore.v1.IPropertyOrder[]|null);
|
3584 |
|
3585 | /** Query distinctOn */
|
3586 | distinctOn?: (google.datastore.v1.IPropertyReference[]|null);
|
3587 |
|
3588 | /** Query startCursor */
|
3589 | startCursor?: (Uint8Array|string|null);
|
3590 |
|
3591 | /** Query endCursor */
|
3592 | endCursor?: (Uint8Array|string|null);
|
3593 |
|
3594 | /** Query offset */
|
3595 | offset?: (number|null);
|
3596 |
|
3597 | /** Query limit */
|
3598 | limit?: (google.protobuf.IInt32Value|null);
|
3599 | }
|
3600 |
|
3601 | /** Represents a Query. */
|
3602 | class Query implements IQuery {
|
3603 |
|
3604 | /**
|
3605 | * Constructs a new Query.
|
3606 | * @param [properties] Properties to set
|
3607 | */
|
3608 | constructor(properties?: google.datastore.v1.IQuery);
|
3609 |
|
3610 | /** Query projection. */
|
3611 | public projection: google.datastore.v1.IProjection[];
|
3612 |
|
3613 | /** Query kind. */
|
3614 | public kind: google.datastore.v1.IKindExpression[];
|
3615 |
|
3616 | /** Query filter. */
|
3617 | public filter?: (google.datastore.v1.IFilter|null);
|
3618 |
|
3619 | /** Query order. */
|
3620 | public order: google.datastore.v1.IPropertyOrder[];
|
3621 |
|
3622 | /** Query distinctOn. */
|
3623 | public distinctOn: google.datastore.v1.IPropertyReference[];
|
3624 |
|
3625 | /** Query startCursor. */
|
3626 | public startCursor: (Uint8Array|string);
|
3627 |
|
3628 | /** Query endCursor. */
|
3629 | public endCursor: (Uint8Array|string);
|
3630 |
|
3631 | /** Query offset. */
|
3632 | public offset: number;
|
3633 |
|
3634 | /** Query limit. */
|
3635 | public limit?: (google.protobuf.IInt32Value|null);
|
3636 |
|
3637 | /**
|
3638 | * Creates a new Query instance using the specified properties.
|
3639 | * @param [properties] Properties to set
|
3640 | * @returns Query instance
|
3641 | */
|
3642 | public static create(properties?: google.datastore.v1.IQuery): google.datastore.v1.Query;
|
3643 |
|
3644 | /**
|
3645 | * Encodes the specified Query message. Does not implicitly { google.datastore.v1.Query.verify|verify} messages.
|
3646 | * message Query message or plain object to encode
|
3647 | * [writer] Writer to encode to
|
3648 | * Writer
|
3649 | */
|
3650 | public static encode(message: google.datastore.v1.IQuery, writer?: $protobuf.Writer): $protobuf.Writer;
|
3651 |
|
3652 | /**
|
3653 | * Encodes the specified Query message, length delimited. Does not implicitly {@link google.datastore.v1.Query.verify|verify} messages.
|
3654 | * @param message Query message or plain object to encode
|
3655 | * @param [writer] Writer to encode to
|
3656 | * @returns Writer
|
3657 | */
|
3658 | public static encodeDelimited(message: google.datastore.v1.IQuery, writer?: $protobuf.Writer): $protobuf.Writer;
|
3659 |
|
3660 | /**
|
3661 | * Decodes a Query message from the specified reader or buffer.
|
3662 | * @param reader Reader or buffer to decode from
|
3663 | * @param [length] Message length if known beforehand
|
3664 | * @returns Query
|
3665 | * @throws {Error} If the payload is not a reader or valid buffer
|
3666 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3667 | */
|
3668 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.Query;
|
3669 |
|
3670 | /**
|
3671 | * Decodes a Query message from the specified reader or buffer, length delimited.
|
3672 | * @param reader Reader or buffer to decode from
|
3673 | * @returns Query
|
3674 | * @throws {Error} If the payload is not a reader or valid buffer
|
3675 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3676 | */
|
3677 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.Query;
|
3678 |
|
3679 | /**
|
3680 | * Verifies a Query message.
|
3681 | * @param message Plain object to verify
|
3682 | * @returns `null` if valid, otherwise the reason why it is not
|
3683 | */
|
3684 | public static verify(message: { [k: string]: any }): (string|null);
|
3685 |
|
3686 | /**
|
3687 | * Creates a Query message from a plain object. Also converts values to their respective internal types.
|
3688 | * @param object Plain object
|
3689 | * @returns Query
|
3690 | */
|
3691 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.Query;
|
3692 |
|
3693 | /**
|
3694 | * Creates a plain object from a Query message. Also converts values to other types if specified.
|
3695 | * @param message Query
|
3696 | * @param [options] Conversion options
|
3697 | * @returns Plain object
|
3698 | */
|
3699 | public static toObject(message: google.datastore.v1.Query, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3700 |
|
3701 | /**
|
3702 | * Converts this Query to JSON.
|
3703 | * @returns JSON object
|
3704 | */
|
3705 | public toJSON(): { [k: string]: any };
|
3706 |
|
3707 | /**
|
3708 | * Gets the default type url for Query
|
3709 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
3710 | * @returns The default type url
|
3711 | */
|
3712 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
3713 | }
|
3714 |
|
3715 | /** Properties of an AggregationQuery. */
|
3716 | interface IAggregationQuery {
|
3717 |
|
3718 | /** AggregationQuery nestedQuery */
|
3719 | nestedQuery?: (google.datastore.v1.IQuery|null);
|
3720 |
|
3721 | /** AggregationQuery aggregations */
|
3722 | aggregations?: (google.datastore.v1.AggregationQuery.IAggregation[]|null);
|
3723 | }
|
3724 |
|
3725 | /** Represents an AggregationQuery. */
|
3726 | class AggregationQuery implements IAggregationQuery {
|
3727 |
|
3728 | /**
|
3729 | * Constructs a new AggregationQuery.
|
3730 | * @param [properties] Properties to set
|
3731 | */
|
3732 | constructor(properties?: google.datastore.v1.IAggregationQuery);
|
3733 |
|
3734 | /** AggregationQuery nestedQuery. */
|
3735 | public nestedQuery?: (google.datastore.v1.IQuery|null);
|
3736 |
|
3737 | /** AggregationQuery aggregations. */
|
3738 | public aggregations: google.datastore.v1.AggregationQuery.IAggregation[];
|
3739 |
|
3740 | /** AggregationQuery queryType. */
|
3741 | public queryType?: "nestedQuery";
|
3742 |
|
3743 | /**
|
3744 | * Creates a new AggregationQuery instance using the specified properties.
|
3745 | * @param [properties] Properties to set
|
3746 | * @returns AggregationQuery instance
|
3747 | */
|
3748 | public static create(properties?: google.datastore.v1.IAggregationQuery): google.datastore.v1.AggregationQuery;
|
3749 |
|
3750 | /**
|
3751 | * Encodes the specified AggregationQuery message. Does not implicitly { google.datastore.v1.AggregationQuery.verify|verify} messages.
|
3752 | * message AggregationQuery message or plain object to encode
|
3753 | * [writer] Writer to encode to
|
3754 | * Writer
|
3755 | */
|
3756 | public static encode(message: google.datastore.v1.IAggregationQuery, writer?: $protobuf.Writer): $protobuf.Writer;
|
3757 |
|
3758 | /**
|
3759 | * Encodes the specified AggregationQuery message, length delimited. Does not implicitly {@link google.datastore.v1.AggregationQuery.verify|verify} messages.
|
3760 | * @param message AggregationQuery message or plain object to encode
|
3761 | * @param [writer] Writer to encode to
|
3762 | * @returns Writer
|
3763 | */
|
3764 | public static encodeDelimited(message: google.datastore.v1.IAggregationQuery, writer?: $protobuf.Writer): $protobuf.Writer;
|
3765 |
|
3766 | /**
|
3767 | * Decodes an AggregationQuery message from the specified reader or buffer.
|
3768 | * @param reader Reader or buffer to decode from
|
3769 | * @param [length] Message length if known beforehand
|
3770 | * @returns AggregationQuery
|
3771 | * @throws {Error} If the payload is not a reader or valid buffer
|
3772 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3773 | */
|
3774 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AggregationQuery;
|
3775 |
|
3776 | /**
|
3777 | * Decodes an AggregationQuery message from the specified reader or buffer, length delimited.
|
3778 | * @param reader Reader or buffer to decode from
|
3779 | * @returns AggregationQuery
|
3780 | * @throws {Error} If the payload is not a reader or valid buffer
|
3781 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3782 | */
|
3783 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AggregationQuery;
|
3784 |
|
3785 | /**
|
3786 | * Verifies an AggregationQuery message.
|
3787 | * @param message Plain object to verify
|
3788 | * @returns `null` if valid, otherwise the reason why it is not
|
3789 | */
|
3790 | public static verify(message: { [k: string]: any }): (string|null);
|
3791 |
|
3792 | /**
|
3793 | * Creates an AggregationQuery message from a plain object. Also converts values to their respective internal types.
|
3794 | * @param object Plain object
|
3795 | * @returns AggregationQuery
|
3796 | */
|
3797 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AggregationQuery;
|
3798 |
|
3799 | /**
|
3800 | * Creates a plain object from an AggregationQuery message. Also converts values to other types if specified.
|
3801 | * @param message AggregationQuery
|
3802 | * @param [options] Conversion options
|
3803 | * @returns Plain object
|
3804 | */
|
3805 | public static toObject(message: google.datastore.v1.AggregationQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3806 |
|
3807 | /**
|
3808 | * Converts this AggregationQuery to JSON.
|
3809 | * @returns JSON object
|
3810 | */
|
3811 | public toJSON(): { [k: string]: any };
|
3812 |
|
3813 | /**
|
3814 | * Gets the default type url for AggregationQuery
|
3815 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
3816 | * @returns The default type url
|
3817 | */
|
3818 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
3819 | }
|
3820 |
|
3821 | namespace AggregationQuery {
|
3822 |
|
3823 | /** Properties of an Aggregation. */
|
3824 | interface IAggregation {
|
3825 |
|
3826 | /** Aggregation count */
|
3827 | count?: (google.datastore.v1.AggregationQuery.Aggregation.ICount|null);
|
3828 |
|
3829 | /** Aggregation sum */
|
3830 | sum?: (google.datastore.v1.AggregationQuery.Aggregation.ISum|null);
|
3831 |
|
3832 | /** Aggregation avg */
|
3833 | avg?: (google.datastore.v1.AggregationQuery.Aggregation.IAvg|null);
|
3834 |
|
3835 | /** Aggregation alias */
|
3836 | alias?: (string|null);
|
3837 | }
|
3838 |
|
3839 | /** Represents an Aggregation. */
|
3840 | class Aggregation implements IAggregation {
|
3841 |
|
3842 | /**
|
3843 | * Constructs a new Aggregation.
|
3844 | * @param [properties] Properties to set
|
3845 | */
|
3846 | constructor(properties?: google.datastore.v1.AggregationQuery.IAggregation);
|
3847 |
|
3848 | /** Aggregation count. */
|
3849 | public count?: (google.datastore.v1.AggregationQuery.Aggregation.ICount|null);
|
3850 |
|
3851 | /** Aggregation sum. */
|
3852 | public sum?: (google.datastore.v1.AggregationQuery.Aggregation.ISum|null);
|
3853 |
|
3854 | /** Aggregation avg. */
|
3855 | public avg?: (google.datastore.v1.AggregationQuery.Aggregation.IAvg|null);
|
3856 |
|
3857 | /** Aggregation alias. */
|
3858 | public alias: string;
|
3859 |
|
3860 | /** Aggregation operator. */
|
3861 | public operator?: ("count"|"sum"|"avg");
|
3862 |
|
3863 | /**
|
3864 | * Creates a new Aggregation instance using the specified properties.
|
3865 | * @param [properties] Properties to set
|
3866 | * @returns Aggregation instance
|
3867 | */
|
3868 | public static create(properties?: google.datastore.v1.AggregationQuery.IAggregation): google.datastore.v1.AggregationQuery.Aggregation;
|
3869 |
|
3870 | /**
|
3871 | * Encodes the specified Aggregation message. Does not implicitly { google.datastore.v1.AggregationQuery.Aggregation.verify|verify} messages.
|
3872 | * message Aggregation message or plain object to encode
|
3873 | * [writer] Writer to encode to
|
3874 | * Writer
|
3875 | */
|
3876 | public static encode(message: google.datastore.v1.AggregationQuery.IAggregation, writer?: $protobuf.Writer): $protobuf.Writer;
|
3877 |
|
3878 | /**
|
3879 | * Encodes the specified Aggregation message, length delimited. Does not implicitly {@link google.datastore.v1.AggregationQuery.Aggregation.verify|verify} messages.
|
3880 | * @param message Aggregation message or plain object to encode
|
3881 | * @param [writer] Writer to encode to
|
3882 | * @returns Writer
|
3883 | */
|
3884 | public static encodeDelimited(message: google.datastore.v1.AggregationQuery.IAggregation, writer?: $protobuf.Writer): $protobuf.Writer;
|
3885 |
|
3886 | /**
|
3887 | * Decodes an Aggregation message from the specified reader or buffer.
|
3888 | * @param reader Reader or buffer to decode from
|
3889 | * @param [length] Message length if known beforehand
|
3890 | * @returns Aggregation
|
3891 | * @throws {Error} If the payload is not a reader or valid buffer
|
3892 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3893 | */
|
3894 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AggregationQuery.Aggregation;
|
3895 |
|
3896 | /**
|
3897 | * Decodes an Aggregation message from the specified reader or buffer, length delimited.
|
3898 | * @param reader Reader or buffer to decode from
|
3899 | * @returns Aggregation
|
3900 | * @throws {Error} If the payload is not a reader or valid buffer
|
3901 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3902 | */
|
3903 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AggregationQuery.Aggregation;
|
3904 |
|
3905 | /**
|
3906 | * Verifies an Aggregation message.
|
3907 | * @param message Plain object to verify
|
3908 | * @returns `null` if valid, otherwise the reason why it is not
|
3909 | */
|
3910 | public static verify(message: { [k: string]: any }): (string|null);
|
3911 |
|
3912 | /**
|
3913 | * Creates an Aggregation message from a plain object. Also converts values to their respective internal types.
|
3914 | * @param object Plain object
|
3915 | * @returns Aggregation
|
3916 | */
|
3917 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AggregationQuery.Aggregation;
|
3918 |
|
3919 | /**
|
3920 | * Creates a plain object from an Aggregation message. Also converts values to other types if specified.
|
3921 | * @param message Aggregation
|
3922 | * @param [options] Conversion options
|
3923 | * @returns Plain object
|
3924 | */
|
3925 | public static toObject(message: google.datastore.v1.AggregationQuery.Aggregation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
3926 |
|
3927 | /**
|
3928 | * Converts this Aggregation to JSON.
|
3929 | * @returns JSON object
|
3930 | */
|
3931 | public toJSON(): { [k: string]: any };
|
3932 |
|
3933 | /**
|
3934 | * Gets the default type url for Aggregation
|
3935 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
3936 | * @returns The default type url
|
3937 | */
|
3938 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
3939 | }
|
3940 |
|
3941 | namespace Aggregation {
|
3942 |
|
3943 | /** Properties of a Count. */
|
3944 | interface ICount {
|
3945 |
|
3946 | /** Count upTo */
|
3947 | upTo?: (google.protobuf.IInt64Value|null);
|
3948 | }
|
3949 |
|
3950 | /** Represents a Count. */
|
3951 | class Count implements ICount {
|
3952 |
|
3953 | /**
|
3954 | * Constructs a new Count.
|
3955 | * @param [properties] Properties to set
|
3956 | */
|
3957 | constructor(properties?: google.datastore.v1.AggregationQuery.Aggregation.ICount);
|
3958 |
|
3959 | /** Count upTo. */
|
3960 | public upTo?: (google.protobuf.IInt64Value|null);
|
3961 |
|
3962 | /**
|
3963 | * Creates a new Count instance using the specified properties.
|
3964 | * @param [properties] Properties to set
|
3965 | * @returns Count instance
|
3966 | */
|
3967 | public static create(properties?: google.datastore.v1.AggregationQuery.Aggregation.ICount): google.datastore.v1.AggregationQuery.Aggregation.Count;
|
3968 |
|
3969 | /**
|
3970 | * Encodes the specified Count message. Does not implicitly { google.datastore.v1.AggregationQuery.Aggregation.Count.verify|verify} messages.
|
3971 | * message Count message or plain object to encode
|
3972 | * [writer] Writer to encode to
|
3973 | * Writer
|
3974 | */
|
3975 | public static encode(message: google.datastore.v1.AggregationQuery.Aggregation.ICount, writer?: $protobuf.Writer): $protobuf.Writer;
|
3976 |
|
3977 | /**
|
3978 | * Encodes the specified Count message, length delimited. Does not implicitly {@link google.datastore.v1.AggregationQuery.Aggregation.Count.verify|verify} messages.
|
3979 | * @param message Count message or plain object to encode
|
3980 | * @param [writer] Writer to encode to
|
3981 | * @returns Writer
|
3982 | */
|
3983 | public static encodeDelimited(message: google.datastore.v1.AggregationQuery.Aggregation.ICount, writer?: $protobuf.Writer): $protobuf.Writer;
|
3984 |
|
3985 | /**
|
3986 | * Decodes a Count message from the specified reader or buffer.
|
3987 | * @param reader Reader or buffer to decode from
|
3988 | * @param [length] Message length if known beforehand
|
3989 | * @returns Count
|
3990 | * @throws {Error} If the payload is not a reader or valid buffer
|
3991 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
3992 | */
|
3993 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AggregationQuery.Aggregation.Count;
|
3994 |
|
3995 | /**
|
3996 | * Decodes a Count message from the specified reader or buffer, length delimited.
|
3997 | * @param reader Reader or buffer to decode from
|
3998 | * @returns Count
|
3999 | * @throws {Error} If the payload is not a reader or valid buffer
|
4000 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4001 | */
|
4002 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AggregationQuery.Aggregation.Count;
|
4003 |
|
4004 | /**
|
4005 | * Verifies a Count message.
|
4006 | * @param message Plain object to verify
|
4007 | * @returns `null` if valid, otherwise the reason why it is not
|
4008 | */
|
4009 | public static verify(message: { [k: string]: any }): (string|null);
|
4010 |
|
4011 | /**
|
4012 | * Creates a Count message from a plain object. Also converts values to their respective internal types.
|
4013 | * @param object Plain object
|
4014 | * @returns Count
|
4015 | */
|
4016 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AggregationQuery.Aggregation.Count;
|
4017 |
|
4018 | /**
|
4019 | * Creates a plain object from a Count message. Also converts values to other types if specified.
|
4020 | * @param message Count
|
4021 | * @param [options] Conversion options
|
4022 | * @returns Plain object
|
4023 | */
|
4024 | public static toObject(message: google.datastore.v1.AggregationQuery.Aggregation.Count, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4025 |
|
4026 | /**
|
4027 | * Converts this Count to JSON.
|
4028 | * @returns JSON object
|
4029 | */
|
4030 | public toJSON(): { [k: string]: any };
|
4031 |
|
4032 | /**
|
4033 | * Gets the default type url for Count
|
4034 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4035 | * @returns The default type url
|
4036 | */
|
4037 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4038 | }
|
4039 |
|
4040 | /** Properties of a Sum. */
|
4041 | interface ISum {
|
4042 |
|
4043 | /** Sum property */
|
4044 | property?: (google.datastore.v1.IPropertyReference|null);
|
4045 | }
|
4046 |
|
4047 | /** Represents a Sum. */
|
4048 | class Sum implements ISum {
|
4049 |
|
4050 | /**
|
4051 | * Constructs a new Sum.
|
4052 | * @param [properties] Properties to set
|
4053 | */
|
4054 | constructor(properties?: google.datastore.v1.AggregationQuery.Aggregation.ISum);
|
4055 |
|
4056 | /** Sum property. */
|
4057 | public property?: (google.datastore.v1.IPropertyReference|null);
|
4058 |
|
4059 | /**
|
4060 | * Creates a new Sum instance using the specified properties.
|
4061 | * @param [properties] Properties to set
|
4062 | * @returns Sum instance
|
4063 | */
|
4064 | public static create(properties?: google.datastore.v1.AggregationQuery.Aggregation.ISum): google.datastore.v1.AggregationQuery.Aggregation.Sum;
|
4065 |
|
4066 | /**
|
4067 | * Encodes the specified Sum message. Does not implicitly { google.datastore.v1.AggregationQuery.Aggregation.Sum.verify|verify} messages.
|
4068 | * message Sum message or plain object to encode
|
4069 | * [writer] Writer to encode to
|
4070 | * Writer
|
4071 | */
|
4072 | public static encode(message: google.datastore.v1.AggregationQuery.Aggregation.ISum, writer?: $protobuf.Writer): $protobuf.Writer;
|
4073 |
|
4074 | /**
|
4075 | * Encodes the specified Sum message, length delimited. Does not implicitly {@link google.datastore.v1.AggregationQuery.Aggregation.Sum.verify|verify} messages.
|
4076 | * @param message Sum message or plain object to encode
|
4077 | * @param [writer] Writer to encode to
|
4078 | * @returns Writer
|
4079 | */
|
4080 | public static encodeDelimited(message: google.datastore.v1.AggregationQuery.Aggregation.ISum, writer?: $protobuf.Writer): $protobuf.Writer;
|
4081 |
|
4082 | /**
|
4083 | * Decodes a Sum message from the specified reader or buffer.
|
4084 | * @param reader Reader or buffer to decode from
|
4085 | * @param [length] Message length if known beforehand
|
4086 | * @returns Sum
|
4087 | * @throws {Error} If the payload is not a reader or valid buffer
|
4088 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4089 | */
|
4090 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AggregationQuery.Aggregation.Sum;
|
4091 |
|
4092 | /**
|
4093 | * Decodes a Sum message from the specified reader or buffer, length delimited.
|
4094 | * @param reader Reader or buffer to decode from
|
4095 | * @returns Sum
|
4096 | * @throws {Error} If the payload is not a reader or valid buffer
|
4097 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4098 | */
|
4099 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AggregationQuery.Aggregation.Sum;
|
4100 |
|
4101 | /**
|
4102 | * Verifies a Sum message.
|
4103 | * @param message Plain object to verify
|
4104 | * @returns `null` if valid, otherwise the reason why it is not
|
4105 | */
|
4106 | public static verify(message: { [k: string]: any }): (string|null);
|
4107 |
|
4108 | /**
|
4109 | * Creates a Sum message from a plain object. Also converts values to their respective internal types.
|
4110 | * @param object Plain object
|
4111 | * @returns Sum
|
4112 | */
|
4113 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AggregationQuery.Aggregation.Sum;
|
4114 |
|
4115 | /**
|
4116 | * Creates a plain object from a Sum message. Also converts values to other types if specified.
|
4117 | * @param message Sum
|
4118 | * @param [options] Conversion options
|
4119 | * @returns Plain object
|
4120 | */
|
4121 | public static toObject(message: google.datastore.v1.AggregationQuery.Aggregation.Sum, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4122 |
|
4123 | /**
|
4124 | * Converts this Sum to JSON.
|
4125 | * @returns JSON object
|
4126 | */
|
4127 | public toJSON(): { [k: string]: any };
|
4128 |
|
4129 | /**
|
4130 | * Gets the default type url for Sum
|
4131 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4132 | * @returns The default type url
|
4133 | */
|
4134 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4135 | }
|
4136 |
|
4137 | /** Properties of an Avg. */
|
4138 | interface IAvg {
|
4139 |
|
4140 | /** Avg property */
|
4141 | property?: (google.datastore.v1.IPropertyReference|null);
|
4142 | }
|
4143 |
|
4144 | /** Represents an Avg. */
|
4145 | class Avg implements IAvg {
|
4146 |
|
4147 | /**
|
4148 | * Constructs a new Avg.
|
4149 | * @param [properties] Properties to set
|
4150 | */
|
4151 | constructor(properties?: google.datastore.v1.AggregationQuery.Aggregation.IAvg);
|
4152 |
|
4153 | /** Avg property. */
|
4154 | public property?: (google.datastore.v1.IPropertyReference|null);
|
4155 |
|
4156 | /**
|
4157 | * Creates a new Avg instance using the specified properties.
|
4158 | * @param [properties] Properties to set
|
4159 | * @returns Avg instance
|
4160 | */
|
4161 | public static create(properties?: google.datastore.v1.AggregationQuery.Aggregation.IAvg): google.datastore.v1.AggregationQuery.Aggregation.Avg;
|
4162 |
|
4163 | /**
|
4164 | * Encodes the specified Avg message. Does not implicitly { google.datastore.v1.AggregationQuery.Aggregation.Avg.verify|verify} messages.
|
4165 | * message Avg message or plain object to encode
|
4166 | * [writer] Writer to encode to
|
4167 | * Writer
|
4168 | */
|
4169 | public static encode(message: google.datastore.v1.AggregationQuery.Aggregation.IAvg, writer?: $protobuf.Writer): $protobuf.Writer;
|
4170 |
|
4171 | /**
|
4172 | * Encodes the specified Avg message, length delimited. Does not implicitly {@link google.datastore.v1.AggregationQuery.Aggregation.Avg.verify|verify} messages.
|
4173 | * @param message Avg message or plain object to encode
|
4174 | * @param [writer] Writer to encode to
|
4175 | * @returns Writer
|
4176 | */
|
4177 | public static encodeDelimited(message: google.datastore.v1.AggregationQuery.Aggregation.IAvg, writer?: $protobuf.Writer): $protobuf.Writer;
|
4178 |
|
4179 | /**
|
4180 | * Decodes an Avg message from the specified reader or buffer.
|
4181 | * @param reader Reader or buffer to decode from
|
4182 | * @param [length] Message length if known beforehand
|
4183 | * @returns Avg
|
4184 | * @throws {Error} If the payload is not a reader or valid buffer
|
4185 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4186 | */
|
4187 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AggregationQuery.Aggregation.Avg;
|
4188 |
|
4189 | /**
|
4190 | * Decodes an Avg message from the specified reader or buffer, length delimited.
|
4191 | * @param reader Reader or buffer to decode from
|
4192 | * @returns Avg
|
4193 | * @throws {Error} If the payload is not a reader or valid buffer
|
4194 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4195 | */
|
4196 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AggregationQuery.Aggregation.Avg;
|
4197 |
|
4198 | /**
|
4199 | * Verifies an Avg message.
|
4200 | * @param message Plain object to verify
|
4201 | * @returns `null` if valid, otherwise the reason why it is not
|
4202 | */
|
4203 | public static verify(message: { [k: string]: any }): (string|null);
|
4204 |
|
4205 | /**
|
4206 | * Creates an Avg message from a plain object. Also converts values to their respective internal types.
|
4207 | * @param object Plain object
|
4208 | * @returns Avg
|
4209 | */
|
4210 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AggregationQuery.Aggregation.Avg;
|
4211 |
|
4212 | /**
|
4213 | * Creates a plain object from an Avg message. Also converts values to other types if specified.
|
4214 | * @param message Avg
|
4215 | * @param [options] Conversion options
|
4216 | * @returns Plain object
|
4217 | */
|
4218 | public static toObject(message: google.datastore.v1.AggregationQuery.Aggregation.Avg, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4219 |
|
4220 | /**
|
4221 | * Converts this Avg to JSON.
|
4222 | * @returns JSON object
|
4223 | */
|
4224 | public toJSON(): { [k: string]: any };
|
4225 |
|
4226 | /**
|
4227 | * Gets the default type url for Avg
|
4228 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4229 | * @returns The default type url
|
4230 | */
|
4231 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4232 | }
|
4233 | }
|
4234 | }
|
4235 |
|
4236 | /** Properties of a KindExpression. */
|
4237 | interface IKindExpression {
|
4238 |
|
4239 | /** KindExpression name */
|
4240 | name?: (string|null);
|
4241 | }
|
4242 |
|
4243 | /** Represents a KindExpression. */
|
4244 | class KindExpression implements IKindExpression {
|
4245 |
|
4246 | /**
|
4247 | * Constructs a new KindExpression.
|
4248 | * @param [properties] Properties to set
|
4249 | */
|
4250 | constructor(properties?: google.datastore.v1.IKindExpression);
|
4251 |
|
4252 | /** KindExpression name. */
|
4253 | public name: string;
|
4254 |
|
4255 | /**
|
4256 | * Creates a new KindExpression instance using the specified properties.
|
4257 | * @param [properties] Properties to set
|
4258 | * @returns KindExpression instance
|
4259 | */
|
4260 | public static create(properties?: google.datastore.v1.IKindExpression): google.datastore.v1.KindExpression;
|
4261 |
|
4262 | /**
|
4263 | * Encodes the specified KindExpression message. Does not implicitly { google.datastore.v1.KindExpression.verify|verify} messages.
|
4264 | * message KindExpression message or plain object to encode
|
4265 | * [writer] Writer to encode to
|
4266 | * Writer
|
4267 | */
|
4268 | public static encode(message: google.datastore.v1.IKindExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
4269 |
|
4270 | /**
|
4271 | * Encodes the specified KindExpression message, length delimited. Does not implicitly {@link google.datastore.v1.KindExpression.verify|verify} messages.
|
4272 | * @param message KindExpression message or plain object to encode
|
4273 | * @param [writer] Writer to encode to
|
4274 | * @returns Writer
|
4275 | */
|
4276 | public static encodeDelimited(message: google.datastore.v1.IKindExpression, writer?: $protobuf.Writer): $protobuf.Writer;
|
4277 |
|
4278 | /**
|
4279 | * Decodes a KindExpression message from the specified reader or buffer.
|
4280 | * @param reader Reader or buffer to decode from
|
4281 | * @param [length] Message length if known beforehand
|
4282 | * @returns KindExpression
|
4283 | * @throws {Error} If the payload is not a reader or valid buffer
|
4284 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4285 | */
|
4286 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.KindExpression;
|
4287 |
|
4288 | /**
|
4289 | * Decodes a KindExpression message from the specified reader or buffer, length delimited.
|
4290 | * @param reader Reader or buffer to decode from
|
4291 | * @returns KindExpression
|
4292 | * @throws {Error} If the payload is not a reader or valid buffer
|
4293 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4294 | */
|
4295 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.KindExpression;
|
4296 |
|
4297 | /**
|
4298 | * Verifies a KindExpression message.
|
4299 | * @param message Plain object to verify
|
4300 | * @returns `null` if valid, otherwise the reason why it is not
|
4301 | */
|
4302 | public static verify(message: { [k: string]: any }): (string|null);
|
4303 |
|
4304 | /**
|
4305 | * Creates a KindExpression message from a plain object. Also converts values to their respective internal types.
|
4306 | * @param object Plain object
|
4307 | * @returns KindExpression
|
4308 | */
|
4309 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.KindExpression;
|
4310 |
|
4311 | /**
|
4312 | * Creates a plain object from a KindExpression message. Also converts values to other types if specified.
|
4313 | * @param message KindExpression
|
4314 | * @param [options] Conversion options
|
4315 | * @returns Plain object
|
4316 | */
|
4317 | public static toObject(message: google.datastore.v1.KindExpression, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4318 |
|
4319 | /**
|
4320 | * Converts this KindExpression to JSON.
|
4321 | * @returns JSON object
|
4322 | */
|
4323 | public toJSON(): { [k: string]: any };
|
4324 |
|
4325 | /**
|
4326 | * Gets the default type url for KindExpression
|
4327 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4328 | * @returns The default type url
|
4329 | */
|
4330 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4331 | }
|
4332 |
|
4333 | /** Properties of a PropertyReference. */
|
4334 | interface IPropertyReference {
|
4335 |
|
4336 | /** PropertyReference name */
|
4337 | name?: (string|null);
|
4338 | }
|
4339 |
|
4340 | /** Represents a PropertyReference. */
|
4341 | class PropertyReference implements IPropertyReference {
|
4342 |
|
4343 | /**
|
4344 | * Constructs a new PropertyReference.
|
4345 | * @param [properties] Properties to set
|
4346 | */
|
4347 | constructor(properties?: google.datastore.v1.IPropertyReference);
|
4348 |
|
4349 | /** PropertyReference name. */
|
4350 | public name: string;
|
4351 |
|
4352 | /**
|
4353 | * Creates a new PropertyReference instance using the specified properties.
|
4354 | * @param [properties] Properties to set
|
4355 | * @returns PropertyReference instance
|
4356 | */
|
4357 | public static create(properties?: google.datastore.v1.IPropertyReference): google.datastore.v1.PropertyReference;
|
4358 |
|
4359 | /**
|
4360 | * Encodes the specified PropertyReference message. Does not implicitly { google.datastore.v1.PropertyReference.verify|verify} messages.
|
4361 | * message PropertyReference message or plain object to encode
|
4362 | * [writer] Writer to encode to
|
4363 | * Writer
|
4364 | */
|
4365 | public static encode(message: google.datastore.v1.IPropertyReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
4366 |
|
4367 | /**
|
4368 | * Encodes the specified PropertyReference message, length delimited. Does not implicitly {@link google.datastore.v1.PropertyReference.verify|verify} messages.
|
4369 | * @param message PropertyReference message or plain object to encode
|
4370 | * @param [writer] Writer to encode to
|
4371 | * @returns Writer
|
4372 | */
|
4373 | public static encodeDelimited(message: google.datastore.v1.IPropertyReference, writer?: $protobuf.Writer): $protobuf.Writer;
|
4374 |
|
4375 | /**
|
4376 | * Decodes a PropertyReference message from the specified reader or buffer.
|
4377 | * @param reader Reader or buffer to decode from
|
4378 | * @param [length] Message length if known beforehand
|
4379 | * @returns PropertyReference
|
4380 | * @throws {Error} If the payload is not a reader or valid buffer
|
4381 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4382 | */
|
4383 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.PropertyReference;
|
4384 |
|
4385 | /**
|
4386 | * Decodes a PropertyReference message from the specified reader or buffer, length delimited.
|
4387 | * @param reader Reader or buffer to decode from
|
4388 | * @returns PropertyReference
|
4389 | * @throws {Error} If the payload is not a reader or valid buffer
|
4390 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4391 | */
|
4392 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.PropertyReference;
|
4393 |
|
4394 | /**
|
4395 | * Verifies a PropertyReference message.
|
4396 | * @param message Plain object to verify
|
4397 | * @returns `null` if valid, otherwise the reason why it is not
|
4398 | */
|
4399 | public static verify(message: { [k: string]: any }): (string|null);
|
4400 |
|
4401 | /**
|
4402 | * Creates a PropertyReference message from a plain object. Also converts values to their respective internal types.
|
4403 | * @param object Plain object
|
4404 | * @returns PropertyReference
|
4405 | */
|
4406 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.PropertyReference;
|
4407 |
|
4408 | /**
|
4409 | * Creates a plain object from a PropertyReference message. Also converts values to other types if specified.
|
4410 | * @param message PropertyReference
|
4411 | * @param [options] Conversion options
|
4412 | * @returns Plain object
|
4413 | */
|
4414 | public static toObject(message: google.datastore.v1.PropertyReference, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4415 |
|
4416 | /**
|
4417 | * Converts this PropertyReference to JSON.
|
4418 | * @returns JSON object
|
4419 | */
|
4420 | public toJSON(): { [k: string]: any };
|
4421 |
|
4422 | /**
|
4423 | * Gets the default type url for PropertyReference
|
4424 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4425 | * @returns The default type url
|
4426 | */
|
4427 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4428 | }
|
4429 |
|
4430 | /** Properties of a Projection. */
|
4431 | interface IProjection {
|
4432 |
|
4433 | /** Projection property */
|
4434 | property?: (google.datastore.v1.IPropertyReference|null);
|
4435 | }
|
4436 |
|
4437 | /** Represents a Projection. */
|
4438 | class Projection implements IProjection {
|
4439 |
|
4440 | /**
|
4441 | * Constructs a new Projection.
|
4442 | * @param [properties] Properties to set
|
4443 | */
|
4444 | constructor(properties?: google.datastore.v1.IProjection);
|
4445 |
|
4446 | /** Projection property. */
|
4447 | public property?: (google.datastore.v1.IPropertyReference|null);
|
4448 |
|
4449 | /**
|
4450 | * Creates a new Projection instance using the specified properties.
|
4451 | * @param [properties] Properties to set
|
4452 | * @returns Projection instance
|
4453 | */
|
4454 | public static create(properties?: google.datastore.v1.IProjection): google.datastore.v1.Projection;
|
4455 |
|
4456 | /**
|
4457 | * Encodes the specified Projection message. Does not implicitly { google.datastore.v1.Projection.verify|verify} messages.
|
4458 | * message Projection message or plain object to encode
|
4459 | * [writer] Writer to encode to
|
4460 | * Writer
|
4461 | */
|
4462 | public static encode(message: google.datastore.v1.IProjection, writer?: $protobuf.Writer): $protobuf.Writer;
|
4463 |
|
4464 | /**
|
4465 | * Encodes the specified Projection message, length delimited. Does not implicitly {@link google.datastore.v1.Projection.verify|verify} messages.
|
4466 | * @param message Projection message or plain object to encode
|
4467 | * @param [writer] Writer to encode to
|
4468 | * @returns Writer
|
4469 | */
|
4470 | public static encodeDelimited(message: google.datastore.v1.IProjection, writer?: $protobuf.Writer): $protobuf.Writer;
|
4471 |
|
4472 | /**
|
4473 | * Decodes a Projection message from the specified reader or buffer.
|
4474 | * @param reader Reader or buffer to decode from
|
4475 | * @param [length] Message length if known beforehand
|
4476 | * @returns Projection
|
4477 | * @throws {Error} If the payload is not a reader or valid buffer
|
4478 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4479 | */
|
4480 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.Projection;
|
4481 |
|
4482 | /**
|
4483 | * Decodes a Projection message from the specified reader or buffer, length delimited.
|
4484 | * @param reader Reader or buffer to decode from
|
4485 | * @returns Projection
|
4486 | * @throws {Error} If the payload is not a reader or valid buffer
|
4487 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4488 | */
|
4489 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.Projection;
|
4490 |
|
4491 | /**
|
4492 | * Verifies a Projection message.
|
4493 | * @param message Plain object to verify
|
4494 | * @returns `null` if valid, otherwise the reason why it is not
|
4495 | */
|
4496 | public static verify(message: { [k: string]: any }): (string|null);
|
4497 |
|
4498 | /**
|
4499 | * Creates a Projection message from a plain object. Also converts values to their respective internal types.
|
4500 | * @param object Plain object
|
4501 | * @returns Projection
|
4502 | */
|
4503 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.Projection;
|
4504 |
|
4505 | /**
|
4506 | * Creates a plain object from a Projection message. Also converts values to other types if specified.
|
4507 | * @param message Projection
|
4508 | * @param [options] Conversion options
|
4509 | * @returns Plain object
|
4510 | */
|
4511 | public static toObject(message: google.datastore.v1.Projection, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4512 |
|
4513 | /**
|
4514 | * Converts this Projection to JSON.
|
4515 | * @returns JSON object
|
4516 | */
|
4517 | public toJSON(): { [k: string]: any };
|
4518 |
|
4519 | /**
|
4520 | * Gets the default type url for Projection
|
4521 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4522 | * @returns The default type url
|
4523 | */
|
4524 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4525 | }
|
4526 |
|
4527 | /** Properties of a PropertyOrder. */
|
4528 | interface IPropertyOrder {
|
4529 |
|
4530 | /** PropertyOrder property */
|
4531 | property?: (google.datastore.v1.IPropertyReference|null);
|
4532 |
|
4533 | /** PropertyOrder direction */
|
4534 | direction?: (google.datastore.v1.PropertyOrder.Direction|keyof typeof google.datastore.v1.PropertyOrder.Direction|null);
|
4535 | }
|
4536 |
|
4537 | /** Represents a PropertyOrder. */
|
4538 | class PropertyOrder implements IPropertyOrder {
|
4539 |
|
4540 | /**
|
4541 | * Constructs a new PropertyOrder.
|
4542 | * @param [properties] Properties to set
|
4543 | */
|
4544 | constructor(properties?: google.datastore.v1.IPropertyOrder);
|
4545 |
|
4546 | /** PropertyOrder property. */
|
4547 | public property?: (google.datastore.v1.IPropertyReference|null);
|
4548 |
|
4549 | /** PropertyOrder direction. */
|
4550 | public direction: (google.datastore.v1.PropertyOrder.Direction|keyof typeof google.datastore.v1.PropertyOrder.Direction);
|
4551 |
|
4552 | /**
|
4553 | * Creates a new PropertyOrder instance using the specified properties.
|
4554 | * @param [properties] Properties to set
|
4555 | * @returns PropertyOrder instance
|
4556 | */
|
4557 | public static create(properties?: google.datastore.v1.IPropertyOrder): google.datastore.v1.PropertyOrder;
|
4558 |
|
4559 | /**
|
4560 | * Encodes the specified PropertyOrder message. Does not implicitly { google.datastore.v1.PropertyOrder.verify|verify} messages.
|
4561 | * message PropertyOrder message or plain object to encode
|
4562 | * [writer] Writer to encode to
|
4563 | * Writer
|
4564 | */
|
4565 | public static encode(message: google.datastore.v1.IPropertyOrder, writer?: $protobuf.Writer): $protobuf.Writer;
|
4566 |
|
4567 | /**
|
4568 | * Encodes the specified PropertyOrder message, length delimited. Does not implicitly {@link google.datastore.v1.PropertyOrder.verify|verify} messages.
|
4569 | * @param message PropertyOrder message or plain object to encode
|
4570 | * @param [writer] Writer to encode to
|
4571 | * @returns Writer
|
4572 | */
|
4573 | public static encodeDelimited(message: google.datastore.v1.IPropertyOrder, writer?: $protobuf.Writer): $protobuf.Writer;
|
4574 |
|
4575 | /**
|
4576 | * Decodes a PropertyOrder message from the specified reader or buffer.
|
4577 | * @param reader Reader or buffer to decode from
|
4578 | * @param [length] Message length if known beforehand
|
4579 | * @returns PropertyOrder
|
4580 | * @throws {Error} If the payload is not a reader or valid buffer
|
4581 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4582 | */
|
4583 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.PropertyOrder;
|
4584 |
|
4585 | /**
|
4586 | * Decodes a PropertyOrder message from the specified reader or buffer, length delimited.
|
4587 | * @param reader Reader or buffer to decode from
|
4588 | * @returns PropertyOrder
|
4589 | * @throws {Error} If the payload is not a reader or valid buffer
|
4590 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4591 | */
|
4592 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.PropertyOrder;
|
4593 |
|
4594 | /**
|
4595 | * Verifies a PropertyOrder message.
|
4596 | * @param message Plain object to verify
|
4597 | * @returns `null` if valid, otherwise the reason why it is not
|
4598 | */
|
4599 | public static verify(message: { [k: string]: any }): (string|null);
|
4600 |
|
4601 | /**
|
4602 | * Creates a PropertyOrder message from a plain object. Also converts values to their respective internal types.
|
4603 | * @param object Plain object
|
4604 | * @returns PropertyOrder
|
4605 | */
|
4606 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.PropertyOrder;
|
4607 |
|
4608 | /**
|
4609 | * Creates a plain object from a PropertyOrder message. Also converts values to other types if specified.
|
4610 | * @param message PropertyOrder
|
4611 | * @param [options] Conversion options
|
4612 | * @returns Plain object
|
4613 | */
|
4614 | public static toObject(message: google.datastore.v1.PropertyOrder, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4615 |
|
4616 | /**
|
4617 | * Converts this PropertyOrder to JSON.
|
4618 | * @returns JSON object
|
4619 | */
|
4620 | public toJSON(): { [k: string]: any };
|
4621 |
|
4622 | /**
|
4623 | * Gets the default type url for PropertyOrder
|
4624 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4625 | * @returns The default type url
|
4626 | */
|
4627 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4628 | }
|
4629 |
|
4630 | namespace PropertyOrder {
|
4631 |
|
4632 | /** Direction enum. */
|
4633 | enum Direction {
|
4634 | DIRECTION_UNSPECIFIED = 0,
|
4635 | ASCENDING = 1,
|
4636 | DESCENDING = 2
|
4637 | }
|
4638 | }
|
4639 |
|
4640 | /** Properties of a Filter. */
|
4641 | interface IFilter {
|
4642 |
|
4643 | /** Filter compositeFilter */
|
4644 | compositeFilter?: (google.datastore.v1.ICompositeFilter|null);
|
4645 |
|
4646 | /** Filter propertyFilter */
|
4647 | propertyFilter?: (google.datastore.v1.IPropertyFilter|null);
|
4648 | }
|
4649 |
|
4650 | /** Represents a Filter. */
|
4651 | class Filter implements IFilter {
|
4652 |
|
4653 | /**
|
4654 | * Constructs a new Filter.
|
4655 | * @param [properties] Properties to set
|
4656 | */
|
4657 | constructor(properties?: google.datastore.v1.IFilter);
|
4658 |
|
4659 | /** Filter compositeFilter. */
|
4660 | public compositeFilter?: (google.datastore.v1.ICompositeFilter|null);
|
4661 |
|
4662 | /** Filter propertyFilter. */
|
4663 | public propertyFilter?: (google.datastore.v1.IPropertyFilter|null);
|
4664 |
|
4665 | /** Filter filterType. */
|
4666 | public filterType?: ("compositeFilter"|"propertyFilter");
|
4667 |
|
4668 | /**
|
4669 | * Creates a new Filter instance using the specified properties.
|
4670 | * @param [properties] Properties to set
|
4671 | * @returns Filter instance
|
4672 | */
|
4673 | public static create(properties?: google.datastore.v1.IFilter): google.datastore.v1.Filter;
|
4674 |
|
4675 | /**
|
4676 | * Encodes the specified Filter message. Does not implicitly { google.datastore.v1.Filter.verify|verify} messages.
|
4677 | * message Filter message or plain object to encode
|
4678 | * [writer] Writer to encode to
|
4679 | * Writer
|
4680 | */
|
4681 | public static encode(message: google.datastore.v1.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
4682 |
|
4683 | /**
|
4684 | * Encodes the specified Filter message, length delimited. Does not implicitly {@link google.datastore.v1.Filter.verify|verify} messages.
|
4685 | * @param message Filter message or plain object to encode
|
4686 | * @param [writer] Writer to encode to
|
4687 | * @returns Writer
|
4688 | */
|
4689 | public static encodeDelimited(message: google.datastore.v1.IFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
4690 |
|
4691 | /**
|
4692 | * Decodes a Filter message from the specified reader or buffer.
|
4693 | * @param reader Reader or buffer to decode from
|
4694 | * @param [length] Message length if known beforehand
|
4695 | * @returns Filter
|
4696 | * @throws {Error} If the payload is not a reader or valid buffer
|
4697 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4698 | */
|
4699 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.Filter;
|
4700 |
|
4701 | /**
|
4702 | * Decodes a Filter message from the specified reader or buffer, length delimited.
|
4703 | * @param reader Reader or buffer to decode from
|
4704 | * @returns Filter
|
4705 | * @throws {Error} If the payload is not a reader or valid buffer
|
4706 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4707 | */
|
4708 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.Filter;
|
4709 |
|
4710 | /**
|
4711 | * Verifies a Filter message.
|
4712 | * @param message Plain object to verify
|
4713 | * @returns `null` if valid, otherwise the reason why it is not
|
4714 | */
|
4715 | public static verify(message: { [k: string]: any }): (string|null);
|
4716 |
|
4717 | /**
|
4718 | * Creates a Filter message from a plain object. Also converts values to their respective internal types.
|
4719 | * @param object Plain object
|
4720 | * @returns Filter
|
4721 | */
|
4722 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.Filter;
|
4723 |
|
4724 | /**
|
4725 | * Creates a plain object from a Filter message. Also converts values to other types if specified.
|
4726 | * @param message Filter
|
4727 | * @param [options] Conversion options
|
4728 | * @returns Plain object
|
4729 | */
|
4730 | public static toObject(message: google.datastore.v1.Filter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4731 |
|
4732 | /**
|
4733 | * Converts this Filter to JSON.
|
4734 | * @returns JSON object
|
4735 | */
|
4736 | public toJSON(): { [k: string]: any };
|
4737 |
|
4738 | /**
|
4739 | * Gets the default type url for Filter
|
4740 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4741 | * @returns The default type url
|
4742 | */
|
4743 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4744 | }
|
4745 |
|
4746 | /** Properties of a CompositeFilter. */
|
4747 | interface ICompositeFilter {
|
4748 |
|
4749 | /** CompositeFilter op */
|
4750 | op?: (google.datastore.v1.CompositeFilter.Operator|keyof typeof google.datastore.v1.CompositeFilter.Operator|null);
|
4751 |
|
4752 | /** CompositeFilter filters */
|
4753 | filters?: (google.datastore.v1.IFilter[]|null);
|
4754 | }
|
4755 |
|
4756 | /** Represents a CompositeFilter. */
|
4757 | class CompositeFilter implements ICompositeFilter {
|
4758 |
|
4759 | /**
|
4760 | * Constructs a new CompositeFilter.
|
4761 | * @param [properties] Properties to set
|
4762 | */
|
4763 | constructor(properties?: google.datastore.v1.ICompositeFilter);
|
4764 |
|
4765 | /** CompositeFilter op. */
|
4766 | public op: (google.datastore.v1.CompositeFilter.Operator|keyof typeof google.datastore.v1.CompositeFilter.Operator);
|
4767 |
|
4768 | /** CompositeFilter filters. */
|
4769 | public filters: google.datastore.v1.IFilter[];
|
4770 |
|
4771 | /**
|
4772 | * Creates a new CompositeFilter instance using the specified properties.
|
4773 | * @param [properties] Properties to set
|
4774 | * @returns CompositeFilter instance
|
4775 | */
|
4776 | public static create(properties?: google.datastore.v1.ICompositeFilter): google.datastore.v1.CompositeFilter;
|
4777 |
|
4778 | /**
|
4779 | * Encodes the specified CompositeFilter message. Does not implicitly { google.datastore.v1.CompositeFilter.verify|verify} messages.
|
4780 | * message CompositeFilter message or plain object to encode
|
4781 | * [writer] Writer to encode to
|
4782 | * Writer
|
4783 | */
|
4784 | public static encode(message: google.datastore.v1.ICompositeFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
4785 |
|
4786 | /**
|
4787 | * Encodes the specified CompositeFilter message, length delimited. Does not implicitly {@link google.datastore.v1.CompositeFilter.verify|verify} messages.
|
4788 | * @param message CompositeFilter message or plain object to encode
|
4789 | * @param [writer] Writer to encode to
|
4790 | * @returns Writer
|
4791 | */
|
4792 | public static encodeDelimited(message: google.datastore.v1.ICompositeFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
4793 |
|
4794 | /**
|
4795 | * Decodes a CompositeFilter message from the specified reader or buffer.
|
4796 | * @param reader Reader or buffer to decode from
|
4797 | * @param [length] Message length if known beforehand
|
4798 | * @returns CompositeFilter
|
4799 | * @throws {Error} If the payload is not a reader or valid buffer
|
4800 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4801 | */
|
4802 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.CompositeFilter;
|
4803 |
|
4804 | /**
|
4805 | * Decodes a CompositeFilter message from the specified reader or buffer, length delimited.
|
4806 | * @param reader Reader or buffer to decode from
|
4807 | * @returns CompositeFilter
|
4808 | * @throws {Error} If the payload is not a reader or valid buffer
|
4809 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4810 | */
|
4811 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.CompositeFilter;
|
4812 |
|
4813 | /**
|
4814 | * Verifies a CompositeFilter message.
|
4815 | * @param message Plain object to verify
|
4816 | * @returns `null` if valid, otherwise the reason why it is not
|
4817 | */
|
4818 | public static verify(message: { [k: string]: any }): (string|null);
|
4819 |
|
4820 | /**
|
4821 | * Creates a CompositeFilter message from a plain object. Also converts values to their respective internal types.
|
4822 | * @param object Plain object
|
4823 | * @returns CompositeFilter
|
4824 | */
|
4825 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.CompositeFilter;
|
4826 |
|
4827 | /**
|
4828 | * Creates a plain object from a CompositeFilter message. Also converts values to other types if specified.
|
4829 | * @param message CompositeFilter
|
4830 | * @param [options] Conversion options
|
4831 | * @returns Plain object
|
4832 | */
|
4833 | public static toObject(message: google.datastore.v1.CompositeFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4834 |
|
4835 | /**
|
4836 | * Converts this CompositeFilter to JSON.
|
4837 | * @returns JSON object
|
4838 | */
|
4839 | public toJSON(): { [k: string]: any };
|
4840 |
|
4841 | /**
|
4842 | * Gets the default type url for CompositeFilter
|
4843 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4844 | * @returns The default type url
|
4845 | */
|
4846 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4847 | }
|
4848 |
|
4849 | namespace CompositeFilter {
|
4850 |
|
4851 | /** Operator enum. */
|
4852 | enum Operator {
|
4853 | OPERATOR_UNSPECIFIED = 0,
|
4854 | AND = 1,
|
4855 | OR = 2
|
4856 | }
|
4857 | }
|
4858 |
|
4859 | /** Properties of a PropertyFilter. */
|
4860 | interface IPropertyFilter {
|
4861 |
|
4862 | /** PropertyFilter property */
|
4863 | property?: (google.datastore.v1.IPropertyReference|null);
|
4864 |
|
4865 | /** PropertyFilter op */
|
4866 | op?: (google.datastore.v1.PropertyFilter.Operator|keyof typeof google.datastore.v1.PropertyFilter.Operator|null);
|
4867 |
|
4868 | /** PropertyFilter value */
|
4869 | value?: (google.datastore.v1.IValue|null);
|
4870 | }
|
4871 |
|
4872 | /** Represents a PropertyFilter. */
|
4873 | class PropertyFilter implements IPropertyFilter {
|
4874 |
|
4875 | /**
|
4876 | * Constructs a new PropertyFilter.
|
4877 | * @param [properties] Properties to set
|
4878 | */
|
4879 | constructor(properties?: google.datastore.v1.IPropertyFilter);
|
4880 |
|
4881 | /** PropertyFilter property. */
|
4882 | public property?: (google.datastore.v1.IPropertyReference|null);
|
4883 |
|
4884 | /** PropertyFilter op. */
|
4885 | public op: (google.datastore.v1.PropertyFilter.Operator|keyof typeof google.datastore.v1.PropertyFilter.Operator);
|
4886 |
|
4887 | /** PropertyFilter value. */
|
4888 | public value?: (google.datastore.v1.IValue|null);
|
4889 |
|
4890 | /**
|
4891 | * Creates a new PropertyFilter instance using the specified properties.
|
4892 | * @param [properties] Properties to set
|
4893 | * @returns PropertyFilter instance
|
4894 | */
|
4895 | public static create(properties?: google.datastore.v1.IPropertyFilter): google.datastore.v1.PropertyFilter;
|
4896 |
|
4897 | /**
|
4898 | * Encodes the specified PropertyFilter message. Does not implicitly { google.datastore.v1.PropertyFilter.verify|verify} messages.
|
4899 | * message PropertyFilter message or plain object to encode
|
4900 | * [writer] Writer to encode to
|
4901 | * Writer
|
4902 | */
|
4903 | public static encode(message: google.datastore.v1.IPropertyFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
4904 |
|
4905 | /**
|
4906 | * Encodes the specified PropertyFilter message, length delimited. Does not implicitly {@link google.datastore.v1.PropertyFilter.verify|verify} messages.
|
4907 | * @param message PropertyFilter message or plain object to encode
|
4908 | * @param [writer] Writer to encode to
|
4909 | * @returns Writer
|
4910 | */
|
4911 | public static encodeDelimited(message: google.datastore.v1.IPropertyFilter, writer?: $protobuf.Writer): $protobuf.Writer;
|
4912 |
|
4913 | /**
|
4914 | * Decodes a PropertyFilter message from the specified reader or buffer.
|
4915 | * @param reader Reader or buffer to decode from
|
4916 | * @param [length] Message length if known beforehand
|
4917 | * @returns PropertyFilter
|
4918 | * @throws {Error} If the payload is not a reader or valid buffer
|
4919 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4920 | */
|
4921 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.PropertyFilter;
|
4922 |
|
4923 | /**
|
4924 | * Decodes a PropertyFilter message from the specified reader or buffer, length delimited.
|
4925 | * @param reader Reader or buffer to decode from
|
4926 | * @returns PropertyFilter
|
4927 | * @throws {Error} If the payload is not a reader or valid buffer
|
4928 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
4929 | */
|
4930 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.PropertyFilter;
|
4931 |
|
4932 | /**
|
4933 | * Verifies a PropertyFilter message.
|
4934 | * @param message Plain object to verify
|
4935 | * @returns `null` if valid, otherwise the reason why it is not
|
4936 | */
|
4937 | public static verify(message: { [k: string]: any }): (string|null);
|
4938 |
|
4939 | /**
|
4940 | * Creates a PropertyFilter message from a plain object. Also converts values to their respective internal types.
|
4941 | * @param object Plain object
|
4942 | * @returns PropertyFilter
|
4943 | */
|
4944 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.PropertyFilter;
|
4945 |
|
4946 | /**
|
4947 | * Creates a plain object from a PropertyFilter message. Also converts values to other types if specified.
|
4948 | * @param message PropertyFilter
|
4949 | * @param [options] Conversion options
|
4950 | * @returns Plain object
|
4951 | */
|
4952 | public static toObject(message: google.datastore.v1.PropertyFilter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
4953 |
|
4954 | /**
|
4955 | * Converts this PropertyFilter to JSON.
|
4956 | * @returns JSON object
|
4957 | */
|
4958 | public toJSON(): { [k: string]: any };
|
4959 |
|
4960 | /**
|
4961 | * Gets the default type url for PropertyFilter
|
4962 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
4963 | * @returns The default type url
|
4964 | */
|
4965 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
4966 | }
|
4967 |
|
4968 | namespace PropertyFilter {
|
4969 |
|
4970 | /** Operator enum. */
|
4971 | enum Operator {
|
4972 | OPERATOR_UNSPECIFIED = 0,
|
4973 | LESS_THAN = 1,
|
4974 | LESS_THAN_OR_EQUAL = 2,
|
4975 | GREATER_THAN = 3,
|
4976 | GREATER_THAN_OR_EQUAL = 4,
|
4977 | EQUAL = 5,
|
4978 | IN = 6,
|
4979 | NOT_EQUAL = 9,
|
4980 | HAS_ANCESTOR = 11,
|
4981 | NOT_IN = 13
|
4982 | }
|
4983 | }
|
4984 |
|
4985 | /** Properties of a GqlQuery. */
|
4986 | interface IGqlQuery {
|
4987 |
|
4988 | /** GqlQuery queryString */
|
4989 | queryString?: (string|null);
|
4990 |
|
4991 | /** GqlQuery allowLiterals */
|
4992 | allowLiterals?: (boolean|null);
|
4993 |
|
4994 | /** GqlQuery namedBindings */
|
4995 | namedBindings?: ({ [k: string]: google.datastore.v1.IGqlQueryParameter }|null);
|
4996 |
|
4997 | /** GqlQuery positionalBindings */
|
4998 | positionalBindings?: (google.datastore.v1.IGqlQueryParameter[]|null);
|
4999 | }
|
5000 |
|
5001 | /** Represents a GqlQuery. */
|
5002 | class GqlQuery implements IGqlQuery {
|
5003 |
|
5004 | /**
|
5005 | * Constructs a new GqlQuery.
|
5006 | * @param [properties] Properties to set
|
5007 | */
|
5008 | constructor(properties?: google.datastore.v1.IGqlQuery);
|
5009 |
|
5010 | /** GqlQuery queryString. */
|
5011 | public queryString: string;
|
5012 |
|
5013 | /** GqlQuery allowLiterals. */
|
5014 | public allowLiterals: boolean;
|
5015 |
|
5016 | /** GqlQuery namedBindings. */
|
5017 | public namedBindings: { [k: string]: google.datastore.v1.IGqlQueryParameter };
|
5018 |
|
5019 | /** GqlQuery positionalBindings. */
|
5020 | public positionalBindings: google.datastore.v1.IGqlQueryParameter[];
|
5021 |
|
5022 | /**
|
5023 | * Creates a new GqlQuery instance using the specified properties.
|
5024 | * @param [properties] Properties to set
|
5025 | * @returns GqlQuery instance
|
5026 | */
|
5027 | public static create(properties?: google.datastore.v1.IGqlQuery): google.datastore.v1.GqlQuery;
|
5028 |
|
5029 | /**
|
5030 | * Encodes the specified GqlQuery message. Does not implicitly {@link google.datastore.v1.GqlQuery.verify|verify} messages.
|
5031 | * @param message GqlQuery message or plain object to encode
|
5032 | * @param [writer] Writer to encode to
|
5033 | * @returns Writer
|
5034 | */
|
5035 | public static encode(message: google.datastore.v1.IGqlQuery, writer?: $protobuf.Writer): $protobuf.Writer;
|
5036 |
|
5037 | /**
|
5038 | * Encodes the specified GqlQuery message, length delimited. Does not implicitly {@link google.datastore.v1.GqlQuery.verify|verify} messages.
|
5039 | * @param message GqlQuery message or plain object to encode
|
5040 | * @param [writer] Writer to encode to
|
5041 | * @returns Writer
|
5042 | */
|
5043 | public static encodeDelimited(message: google.datastore.v1.IGqlQuery, writer?: $protobuf.Writer): $protobuf.Writer;
|
5044 |
|
5045 | /**
|
5046 | * Decodes a GqlQuery message from the specified reader or buffer.
|
5047 | * @param reader Reader or buffer to decode from
|
5048 | * @param [length] Message length if known beforehand
|
5049 | * @returns GqlQuery
|
5050 | * @throws {Error} If the payload is not a reader or valid buffer
|
5051 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5052 | */
|
5053 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.GqlQuery;
|
5054 |
|
5055 | /**
|
5056 | * Decodes a GqlQuery message from the specified reader or buffer, length delimited.
|
5057 | * @param reader Reader or buffer to decode from
|
5058 | * @returns GqlQuery
|
5059 | * @throws {Error} If the payload is not a reader or valid buffer
|
5060 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5061 | */
|
5062 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.GqlQuery;
|
5063 |
|
5064 | /**
|
5065 | * Verifies a GqlQuery message.
|
5066 | * @param message Plain object to verify
|
5067 | * @returns `null` if valid, otherwise the reason why it is not
|
5068 | */
|
5069 | public static verify(message: { [k: string]: any }): (string|null);
|
5070 |
|
5071 | /**
|
5072 | * Creates a GqlQuery message from a plain object. Also converts values to their respective internal types.
|
5073 | * @param object Plain object
|
5074 | * @returns GqlQuery
|
5075 | */
|
5076 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.GqlQuery;
|
5077 |
|
5078 | /**
|
5079 | * Creates a plain object from a GqlQuery message. Also converts values to other types if specified.
|
5080 | * @param message GqlQuery
|
5081 | * @param [options] Conversion options
|
5082 | * @returns Plain object
|
5083 | */
|
5084 | public static toObject(message: google.datastore.v1.GqlQuery, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
5085 |
|
5086 | /**
|
5087 | * Converts this GqlQuery to JSON.
|
5088 | * @returns JSON object
|
5089 | */
|
5090 | public toJSON(): { [k: string]: any };
|
5091 |
|
5092 | /**
|
5093 | * Gets the default type url for GqlQuery
|
5094 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
5095 | * @returns The default type url
|
5096 | */
|
5097 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
5098 | }
|
5099 |
|
5100 | /** Properties of a GqlQueryParameter. */
|
5101 | interface IGqlQueryParameter {
|
5102 |
|
5103 | /** GqlQueryParameter value */
|
5104 | value?: (google.datastore.v1.IValue|null);
|
5105 |
|
5106 | /** GqlQueryParameter cursor */
|
5107 | cursor?: (Uint8Array|string|null);
|
5108 | }
|
5109 |
|
5110 | /** Represents a GqlQueryParameter. */
|
5111 | class GqlQueryParameter implements IGqlQueryParameter {
|
5112 |
|
5113 | /**
|
5114 | * Constructs a new GqlQueryParameter.
|
5115 | * @param [properties] Properties to set
|
5116 | */
|
5117 | constructor(properties?: google.datastore.v1.IGqlQueryParameter);
|
5118 |
|
5119 | /** GqlQueryParameter value. */
|
5120 | public value?: (google.datastore.v1.IValue|null);
|
5121 |
|
5122 | /** GqlQueryParameter cursor. */
|
5123 | public cursor?: (Uint8Array|string|null);
|
5124 |
|
5125 | /** GqlQueryParameter parameterType. */
|
5126 | public parameterType?: ("value"|"cursor");
|
5127 |
|
5128 | /**
|
5129 | * Creates a new GqlQueryParameter instance using the specified properties.
|
5130 | * @param [properties] Properties to set
|
5131 | * @returns GqlQueryParameter instance
|
5132 | */
|
5133 | public static create(properties?: google.datastore.v1.IGqlQueryParameter): google.datastore.v1.GqlQueryParameter;
|
5134 |
|
5135 | /**
|
5136 | * Encodes the specified GqlQueryParameter message. Does not implicitly { google.datastore.v1.GqlQueryParameter.verify|verify} messages.
|
5137 | * message GqlQueryParameter message or plain object to encode
|
5138 | * [writer] Writer to encode to
|
5139 | * Writer
|
5140 | */
|
5141 | public static encode(message: google.datastore.v1.IGqlQueryParameter, writer?: $protobuf.Writer): $protobuf.Writer;
|
5142 |
|
5143 | /**
|
5144 | * Encodes the specified GqlQueryParameter message, length delimited. Does not implicitly {@link google.datastore.v1.GqlQueryParameter.verify|verify} messages.
|
5145 | * @param message GqlQueryParameter message or plain object to encode
|
5146 | * @param [writer] Writer to encode to
|
5147 | * @returns Writer
|
5148 | */
|
5149 | public static encodeDelimited(message: google.datastore.v1.IGqlQueryParameter, writer?: $protobuf.Writer): $protobuf.Writer;
|
5150 |
|
5151 | /**
|
5152 | * Decodes a GqlQueryParameter message from the specified reader or buffer.
|
5153 | * @param reader Reader or buffer to decode from
|
5154 | * @param [length] Message length if known beforehand
|
5155 | * @returns GqlQueryParameter
|
5156 | * @throws {Error} If the payload is not a reader or valid buffer
|
5157 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5158 | */
|
5159 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.GqlQueryParameter;
|
5160 |
|
5161 | /**
|
5162 | * Decodes a GqlQueryParameter message from the specified reader or buffer, length delimited.
|
5163 | * @param reader Reader or buffer to decode from
|
5164 | * @returns GqlQueryParameter
|
5165 | * @throws {Error} If the payload is not a reader or valid buffer
|
5166 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5167 | */
|
5168 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.GqlQueryParameter;
|
5169 |
|
5170 | /**
|
5171 | * Verifies a GqlQueryParameter message.
|
5172 | * @param message Plain object to verify
|
5173 | * @returns `null` if valid, otherwise the reason why it is not
|
5174 | */
|
5175 | public static verify(message: { [k: string]: any }): (string|null);
|
5176 |
|
5177 | /**
|
5178 | * Creates a GqlQueryParameter message from a plain object. Also converts values to their respective internal types.
|
5179 | * @param object Plain object
|
5180 | * @returns GqlQueryParameter
|
5181 | */
|
5182 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.GqlQueryParameter;
|
5183 |
|
5184 | /**
|
5185 | * Creates a plain object from a GqlQueryParameter message. Also converts values to other types if specified.
|
5186 | * @param message GqlQueryParameter
|
5187 | * @param [options] Conversion options
|
5188 | * @returns Plain object
|
5189 | */
|
5190 | public static toObject(message: google.datastore.v1.GqlQueryParameter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
5191 |
|
5192 | /**
|
5193 | * Converts this GqlQueryParameter to JSON.
|
5194 | * @returns JSON object
|
5195 | */
|
5196 | public toJSON(): { [k: string]: any };
|
5197 |
|
5198 | /**
|
5199 | * Gets the default type url for GqlQueryParameter
|
5200 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
5201 | * @returns The default type url
|
5202 | */
|
5203 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
5204 | }
|
5205 |
|
5206 | /** Properties of a QueryResultBatch. */
|
5207 | interface IQueryResultBatch {
|
5208 |
|
5209 | /** QueryResultBatch skippedResults */
|
5210 | skippedResults?: (number|null);
|
5211 |
|
5212 | /** QueryResultBatch skippedCursor */
|
5213 | skippedCursor?: (Uint8Array|string|null);
|
5214 |
|
5215 | /** QueryResultBatch entityResultType */
|
5216 | entityResultType?: (google.datastore.v1.EntityResult.ResultType|keyof typeof google.datastore.v1.EntityResult.ResultType|null);
|
5217 |
|
5218 | /** QueryResultBatch entityResults */
|
5219 | entityResults?: (google.datastore.v1.IEntityResult[]|null);
|
5220 |
|
5221 | /** QueryResultBatch endCursor */
|
5222 | endCursor?: (Uint8Array|string|null);
|
5223 |
|
5224 | /** QueryResultBatch moreResults */
|
5225 | moreResults?: (google.datastore.v1.QueryResultBatch.MoreResultsType|keyof typeof google.datastore.v1.QueryResultBatch.MoreResultsType|null);
|
5226 |
|
5227 | /** QueryResultBatch snapshotVersion */
|
5228 | snapshotVersion?: (number|Long|string|null);
|
5229 |
|
5230 | /** QueryResultBatch readTime */
|
5231 | readTime?: (google.protobuf.ITimestamp|null);
|
5232 | }
|
5233 |
|
5234 | /** Represents a QueryResultBatch. */
|
5235 | class QueryResultBatch implements IQueryResultBatch {
|
5236 |
|
5237 | /**
|
5238 | * Constructs a new QueryResultBatch.
|
5239 | * @param [properties] Properties to set
|
5240 | */
|
5241 | constructor(properties?: google.datastore.v1.IQueryResultBatch);
|
5242 |
|
5243 | /** QueryResultBatch skippedResults. */
|
5244 | public skippedResults: number;
|
5245 |
|
5246 | /** QueryResultBatch skippedCursor. */
|
5247 | public skippedCursor: (Uint8Array|string);
|
5248 |
|
5249 | /** QueryResultBatch entityResultType. */
|
5250 | public entityResultType: (google.datastore.v1.EntityResult.ResultType|keyof typeof google.datastore.v1.EntityResult.ResultType);
|
5251 |
|
5252 | /** QueryResultBatch entityResults. */
|
5253 | public entityResults: google.datastore.v1.IEntityResult[];
|
5254 |
|
5255 | /** QueryResultBatch endCursor. */
|
5256 | public endCursor: (Uint8Array|string);
|
5257 |
|
5258 | /** QueryResultBatch moreResults. */
|
5259 | public moreResults: (google.datastore.v1.QueryResultBatch.MoreResultsType|keyof typeof google.datastore.v1.QueryResultBatch.MoreResultsType);
|
5260 |
|
5261 | /** QueryResultBatch snapshotVersion. */
|
5262 | public snapshotVersion: (number|Long|string);
|
5263 |
|
5264 | /** QueryResultBatch readTime. */
|
5265 | public readTime?: (google.protobuf.ITimestamp|null);
|
5266 |
|
5267 | /**
|
5268 | * Creates a new QueryResultBatch instance using the specified properties.
|
5269 | * @param [properties] Properties to set
|
5270 | * @returns QueryResultBatch instance
|
5271 | */
|
5272 | public static create(properties?: google.datastore.v1.IQueryResultBatch): google.datastore.v1.QueryResultBatch;
|
5273 |
|
5274 | /**
|
5275 | * Encodes the specified QueryResultBatch message. Does not implicitly { google.datastore.v1.QueryResultBatch.verify|verify} messages.
|
5276 | * message QueryResultBatch message or plain object to encode
|
5277 | * [writer] Writer to encode to
|
5278 | * Writer
|
5279 | */
|
5280 | public static encode(message: google.datastore.v1.IQueryResultBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
5281 |
|
5282 | /**
|
5283 | * Encodes the specified QueryResultBatch message, length delimited. Does not implicitly {@link google.datastore.v1.QueryResultBatch.verify|verify} messages.
|
5284 | * @param message QueryResultBatch message or plain object to encode
|
5285 | * @param [writer] Writer to encode to
|
5286 | * @returns Writer
|
5287 | */
|
5288 | public static encodeDelimited(message: google.datastore.v1.IQueryResultBatch, writer?: $protobuf.Writer): $protobuf.Writer;
|
5289 |
|
5290 | /**
|
5291 | * Decodes a QueryResultBatch message from the specified reader or buffer.
|
5292 | * @param reader Reader or buffer to decode from
|
5293 | * @param [length] Message length if known beforehand
|
5294 | * @returns QueryResultBatch
|
5295 | * @throws {Error} If the payload is not a reader or valid buffer
|
5296 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5297 | */
|
5298 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.QueryResultBatch;
|
5299 |
|
5300 | /**
|
5301 | * Decodes a QueryResultBatch message from the specified reader or buffer, length delimited.
|
5302 | * @param reader Reader or buffer to decode from
|
5303 | * @returns QueryResultBatch
|
5304 | * @throws {Error} If the payload is not a reader or valid buffer
|
5305 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5306 | */
|
5307 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.QueryResultBatch;
|
5308 |
|
5309 | /**
|
5310 | * Verifies a QueryResultBatch message.
|
5311 | * @param message Plain object to verify
|
5312 | * @returns `null` if valid, otherwise the reason why it is not
|
5313 | */
|
5314 | public static verify(message: { [k: string]: any }): (string|null);
|
5315 |
|
5316 | /**
|
5317 | * Creates a QueryResultBatch message from a plain object. Also converts values to their respective internal types.
|
5318 | * @param object Plain object
|
5319 | * @returns QueryResultBatch
|
5320 | */
|
5321 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.QueryResultBatch;
|
5322 |
|
5323 | /**
|
5324 | * Creates a plain object from a QueryResultBatch message. Also converts values to other types if specified.
|
5325 | * @param message QueryResultBatch
|
5326 | * @param [options] Conversion options
|
5327 | * @returns Plain object
|
5328 | */
|
5329 | public static toObject(message: google.datastore.v1.QueryResultBatch, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
5330 |
|
5331 | /**
|
5332 | * Converts this QueryResultBatch to JSON.
|
5333 | * @returns JSON object
|
5334 | */
|
5335 | public toJSON(): { [k: string]: any };
|
5336 |
|
5337 | /**
|
5338 | * Gets the default type url for QueryResultBatch
|
5339 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
5340 | * @returns The default type url
|
5341 | */
|
5342 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
5343 | }
|
5344 |
|
5345 | namespace QueryResultBatch {
|
5346 |
|
5347 | /** MoreResultsType enum. */
|
5348 | enum MoreResultsType {
|
5349 | MORE_RESULTS_TYPE_UNSPECIFIED = 0,
|
5350 | NOT_FINISHED = 1,
|
5351 | MORE_RESULTS_AFTER_LIMIT = 2,
|
5352 | MORE_RESULTS_AFTER_CURSOR = 4,
|
5353 | NO_MORE_RESULTS = 3
|
5354 | }
|
5355 | }
|
5356 |
|
5357 | /** Represents a Datastore */
|
5358 | class Datastore extends $protobuf.rpc.Service {
|
5359 |
|
5360 | /**
|
5361 | * Constructs a new Datastore service.
|
5362 | * @param rpcImpl RPC implementation
|
5363 | * @param [requestDelimited=false] Whether requests are length-delimited
|
5364 | * @param [responseDelimited=false] Whether responses are length-delimited
|
5365 | */
|
5366 | constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
5367 |
|
5368 | /**
|
5369 | * Creates new Datastore service using the specified rpc implementation.
|
5370 | * @param rpcImpl RPC implementation
|
5371 | * @param [requestDelimited=false] Whether requests are length-delimited
|
5372 | * @param [responseDelimited=false] Whether responses are length-delimited
|
5373 | * @returns RPC service. Useful where requests and/or responses are streamed.
|
5374 | */
|
5375 | public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Datastore;
|
5376 |
|
5377 | /**
|
5378 | * Calls Lookup.
|
5379 | * @param request LookupRequest message or plain object
|
5380 | * @param callback Node-style callback called with the error, if any, and LookupResponse
|
5381 | */
|
5382 | public lookup(request: google.datastore.v1.ILookupRequest, callback: google.datastore.v1.Datastore.LookupCallback): void;
|
5383 |
|
5384 | /**
|
5385 | * Calls Lookup.
|
5386 | * @param request LookupRequest message or plain object
|
5387 | * @returns Promise
|
5388 | */
|
5389 | public lookup(request: google.datastore.v1.ILookupRequest): Promise<google.datastore.v1.LookupResponse>;
|
5390 |
|
5391 | /**
|
5392 | * Calls RunQuery.
|
5393 | * @param request RunQueryRequest message or plain object
|
5394 | * @param callback Node-style callback called with the error, if any, and RunQueryResponse
|
5395 | */
|
5396 | public runQuery(request: google.datastore.v1.IRunQueryRequest, callback: google.datastore.v1.Datastore.RunQueryCallback): void;
|
5397 |
|
5398 | /**
|
5399 | * Calls RunQuery.
|
5400 | * @param request RunQueryRequest message or plain object
|
5401 | * @returns Promise
|
5402 | */
|
5403 | public runQuery(request: google.datastore.v1.IRunQueryRequest): Promise<google.datastore.v1.RunQueryResponse>;
|
5404 |
|
5405 | /**
|
5406 | * Calls RunAggregationQuery.
|
5407 | * @param request RunAggregationQueryRequest message or plain object
|
5408 | * @param callback Node-style callback called with the error, if any, and RunAggregationQueryResponse
|
5409 | */
|
5410 | public runAggregationQuery(request: google.datastore.v1.IRunAggregationQueryRequest, callback: google.datastore.v1.Datastore.RunAggregationQueryCallback): void;
|
5411 |
|
5412 | /**
|
5413 | * Calls RunAggregationQuery.
|
5414 | * @param request RunAggregationQueryRequest message or plain object
|
5415 | * @returns Promise
|
5416 | */
|
5417 | public runAggregationQuery(request: google.datastore.v1.IRunAggregationQueryRequest): Promise<google.datastore.v1.RunAggregationQueryResponse>;
|
5418 |
|
5419 | /**
|
5420 | * Calls BeginTransaction.
|
5421 | * @param request BeginTransactionRequest message or plain object
|
5422 | * @param callback Node-style callback called with the error, if any, and BeginTransactionResponse
|
5423 | */
|
5424 | public beginTransaction(request: google.datastore.v1.IBeginTransactionRequest, callback: google.datastore.v1.Datastore.BeginTransactionCallback): void;
|
5425 |
|
5426 | /**
|
5427 | * Calls BeginTransaction.
|
5428 | * @param request BeginTransactionRequest message or plain object
|
5429 | * @returns Promise
|
5430 | */
|
5431 | public beginTransaction(request: google.datastore.v1.IBeginTransactionRequest): Promise<google.datastore.v1.BeginTransactionResponse>;
|
5432 |
|
5433 | /**
|
5434 | * Calls Commit.
|
5435 | * @param request CommitRequest message or plain object
|
5436 | * @param callback Node-style callback called with the error, if any, and CommitResponse
|
5437 | */
|
5438 | public commit(request: google.datastore.v1.ICommitRequest, callback: google.datastore.v1.Datastore.CommitCallback): void;
|
5439 |
|
5440 | /**
|
5441 | * Calls Commit.
|
5442 | * @param request CommitRequest message or plain object
|
5443 | * @returns Promise
|
5444 | */
|
5445 | public commit(request: google.datastore.v1.ICommitRequest): Promise<google.datastore.v1.CommitResponse>;
|
5446 |
|
5447 | /**
|
5448 | * Calls Rollback.
|
5449 | * @param request RollbackRequest message or plain object
|
5450 | * @param callback Node-style callback called with the error, if any, and RollbackResponse
|
5451 | */
|
5452 | public rollback(request: google.datastore.v1.IRollbackRequest, callback: google.datastore.v1.Datastore.RollbackCallback): void;
|
5453 |
|
5454 | /**
|
5455 | * Calls Rollback.
|
5456 | * @param request RollbackRequest message or plain object
|
5457 | * @returns Promise
|
5458 | */
|
5459 | public rollback(request: google.datastore.v1.IRollbackRequest): Promise<google.datastore.v1.RollbackResponse>;
|
5460 |
|
5461 | /**
|
5462 | * Calls AllocateIds.
|
5463 | * @param request AllocateIdsRequest message or plain object
|
5464 | * @param callback Node-style callback called with the error, if any, and AllocateIdsResponse
|
5465 | */
|
5466 | public allocateIds(request: google.datastore.v1.IAllocateIdsRequest, callback: google.datastore.v1.Datastore.AllocateIdsCallback): void;
|
5467 |
|
5468 | /**
|
5469 | * Calls AllocateIds.
|
5470 | * @param request AllocateIdsRequest message or plain object
|
5471 | * @returns Promise
|
5472 | */
|
5473 | public allocateIds(request: google.datastore.v1.IAllocateIdsRequest): Promise<google.datastore.v1.AllocateIdsResponse>;
|
5474 |
|
5475 | /**
|
5476 | * Calls ReserveIds.
|
5477 | * @param request ReserveIdsRequest message or plain object
|
5478 | * @param callback Node-style callback called with the error, if any, and ReserveIdsResponse
|
5479 | */
|
5480 | public reserveIds(request: google.datastore.v1.IReserveIdsRequest, callback: google.datastore.v1.Datastore.ReserveIdsCallback): void;
|
5481 |
|
5482 | /**
|
5483 | * Calls ReserveIds.
|
5484 | * @param request ReserveIdsRequest message or plain object
|
5485 | * @returns Promise
|
5486 | */
|
5487 | public reserveIds(request: google.datastore.v1.IReserveIdsRequest): Promise<google.datastore.v1.ReserveIdsResponse>;
|
5488 | }
|
5489 |
|
5490 | namespace Datastore {
|
5491 |
|
5492 | /**
|
5493 | * Callback as used by {@link google.datastore.v1.Datastore|lookup}.
|
5494 | * @param error Error, if any
|
5495 | * @param [response] LookupResponse
|
5496 | */
|
5497 | type LookupCallback = (error: (Error|null), response?: google.datastore.v1.LookupResponse) => void;
|
5498 |
|
5499 | /**
|
5500 | * Callback as used by {@link google.datastore.v1.Datastore|runQuery}.
|
5501 | * @param error Error, if any
|
5502 | * @param [response] RunQueryResponse
|
5503 | */
|
5504 | type RunQueryCallback = (error: (Error|null), response?: google.datastore.v1.RunQueryResponse) => void;
|
5505 |
|
5506 | /**
|
5507 | * Callback as used by {@link google.datastore.v1.Datastore|runAggregationQuery}.
|
5508 | * @param error Error, if any
|
5509 | * @param [response] RunAggregationQueryResponse
|
5510 | */
|
5511 | type RunAggregationQueryCallback = (error: (Error|null), response?: google.datastore.v1.RunAggregationQueryResponse) => void;
|
5512 |
|
5513 | /**
|
5514 | * Callback as used by {@link google.datastore.v1.Datastore|beginTransaction}.
|
5515 | * @param error Error, if any
|
5516 | * @param [response] BeginTransactionResponse
|
5517 | */
|
5518 | type BeginTransactionCallback = (error: (Error|null), response?: google.datastore.v1.BeginTransactionResponse) => void;
|
5519 |
|
5520 | /**
|
5521 | * Callback as used by {@link google.datastore.v1.Datastore|commit}.
|
5522 | * @param error Error, if any
|
5523 | * @param [response] CommitResponse
|
5524 | */
|
5525 | type CommitCallback = (error: (Error|null), response?: google.datastore.v1.CommitResponse) => void;
|
5526 |
|
5527 | /**
|
5528 | * Callback as used by {@link google.datastore.v1.Datastore|rollback}.
|
5529 | * @param error Error, if any
|
5530 | * @param [response] RollbackResponse
|
5531 | */
|
5532 | type RollbackCallback = (error: (Error|null), response?: google.datastore.v1.RollbackResponse) => void;
|
5533 |
|
5534 | /**
|
5535 | * Callback as used by {@link google.datastore.v1.Datastore|allocateIds}.
|
5536 | * @param error Error, if any
|
5537 | * @param [response] AllocateIdsResponse
|
5538 | */
|
5539 | type AllocateIdsCallback = (error: (Error|null), response?: google.datastore.v1.AllocateIdsResponse) => void;
|
5540 |
|
5541 | /**
|
5542 | * Callback as used by {@link google.datastore.v1.Datastore|reserveIds}.
|
5543 | * @param error Error, if any
|
5544 | * @param [response] ReserveIdsResponse
|
5545 | */
|
5546 | type ReserveIdsCallback = (error: (Error|null), response?: google.datastore.v1.ReserveIdsResponse) => void;
|
5547 | }
|
5548 |
|
5549 | /** Properties of a LookupRequest. */
|
5550 | interface ILookupRequest {
|
5551 |
|
5552 | /** LookupRequest projectId */
|
5553 | projectId?: (string|null);
|
5554 |
|
5555 | /** LookupRequest databaseId */
|
5556 | databaseId?: (string|null);
|
5557 |
|
5558 | /** LookupRequest readOptions */
|
5559 | readOptions?: (google.datastore.v1.IReadOptions|null);
|
5560 |
|
5561 | /** LookupRequest keys */
|
5562 | keys?: (google.datastore.v1.IKey[]|null);
|
5563 | }
|
5564 |
|
5565 | /** Represents a LookupRequest. */
|
5566 | class LookupRequest implements ILookupRequest {
|
5567 |
|
5568 | /**
|
5569 | * Constructs a new LookupRequest.
|
5570 | * @param [properties] Properties to set
|
5571 | */
|
5572 | constructor(properties?: google.datastore.v1.ILookupRequest);
|
5573 |
|
5574 | /** LookupRequest projectId. */
|
5575 | public projectId: string;
|
5576 |
|
5577 | /** LookupRequest databaseId. */
|
5578 | public databaseId: string;
|
5579 |
|
5580 | /** LookupRequest readOptions. */
|
5581 | public readOptions?: (google.datastore.v1.IReadOptions|null);
|
5582 |
|
5583 | /** LookupRequest keys. */
|
5584 | public keys: google.datastore.v1.IKey[];
|
5585 |
|
5586 | /**
|
5587 | * Creates a new LookupRequest instance using the specified properties.
|
5588 | * @param [properties] Properties to set
|
5589 | * @returns LookupRequest instance
|
5590 | */
|
5591 | public static create(properties?: google.datastore.v1.ILookupRequest): google.datastore.v1.LookupRequest;
|
5592 |
|
5593 | /**
|
5594 | * Encodes the specified LookupRequest message. Does not implicitly { google.datastore.v1.LookupRequest.verify|verify} messages.
|
5595 | * message LookupRequest message or plain object to encode
|
5596 | * [writer] Writer to encode to
|
5597 | * Writer
|
5598 | */
|
5599 | public static encode(message: google.datastore.v1.ILookupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
5600 |
|
5601 | /**
|
5602 | * Encodes the specified LookupRequest message, length delimited. Does not implicitly {@link google.datastore.v1.LookupRequest.verify|verify} messages.
|
5603 | * @param message LookupRequest message or plain object to encode
|
5604 | * @param [writer] Writer to encode to
|
5605 | * @returns Writer
|
5606 | */
|
5607 | public static encodeDelimited(message: google.datastore.v1.ILookupRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
5608 |
|
5609 | /**
|
5610 | * Decodes a LookupRequest message from the specified reader or buffer.
|
5611 | * @param reader Reader or buffer to decode from
|
5612 | * @param [length] Message length if known beforehand
|
5613 | * @returns LookupRequest
|
5614 | * @throws {Error} If the payload is not a reader or valid buffer
|
5615 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5616 | */
|
5617 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.LookupRequest;
|
5618 |
|
5619 | /**
|
5620 | * Decodes a LookupRequest message from the specified reader or buffer, length delimited.
|
5621 | * @param reader Reader or buffer to decode from
|
5622 | * @returns LookupRequest
|
5623 | * @throws {Error} If the payload is not a reader or valid buffer
|
5624 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5625 | */
|
5626 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.LookupRequest;
|
5627 |
|
5628 | /**
|
5629 | * Verifies a LookupRequest message.
|
5630 | * @param message Plain object to verify
|
5631 | * @returns `null` if valid, otherwise the reason why it is not
|
5632 | */
|
5633 | public static verify(message: { [k: string]: any }): (string|null);
|
5634 |
|
5635 | /**
|
5636 | * Creates a LookupRequest message from a plain object. Also converts values to their respective internal types.
|
5637 | * @param object Plain object
|
5638 | * @returns LookupRequest
|
5639 | */
|
5640 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.LookupRequest;
|
5641 |
|
5642 | /**
|
5643 | * Creates a plain object from a LookupRequest message. Also converts values to other types if specified.
|
5644 | * @param message LookupRequest
|
5645 | * @param [options] Conversion options
|
5646 | * @returns Plain object
|
5647 | */
|
5648 | public static toObject(message: google.datastore.v1.LookupRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
5649 |
|
5650 | /**
|
5651 | * Converts this LookupRequest to JSON.
|
5652 | * @returns JSON object
|
5653 | */
|
5654 | public toJSON(): { [k: string]: any };
|
5655 |
|
5656 | /**
|
5657 | * Gets the default type url for LookupRequest
|
5658 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
5659 | * @returns The default type url
|
5660 | */
|
5661 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
5662 | }
|
5663 |
|
5664 | /** Properties of a LookupResponse. */
|
5665 | interface ILookupResponse {
|
5666 |
|
5667 | /** LookupResponse found */
|
5668 | found?: (google.datastore.v1.IEntityResult[]|null);
|
5669 |
|
5670 | /** LookupResponse missing */
|
5671 | missing?: (google.datastore.v1.IEntityResult[]|null);
|
5672 |
|
5673 | /** LookupResponse deferred */
|
5674 | deferred?: (google.datastore.v1.IKey[]|null);
|
5675 |
|
5676 | /** LookupResponse transaction */
|
5677 | transaction?: (Uint8Array|string|null);
|
5678 |
|
5679 | /** LookupResponse readTime */
|
5680 | readTime?: (google.protobuf.ITimestamp|null);
|
5681 | }
|
5682 |
|
5683 | /** Represents a LookupResponse. */
|
5684 | class LookupResponse implements ILookupResponse {
|
5685 |
|
5686 | /**
|
5687 | * Constructs a new LookupResponse.
|
5688 | * @param [properties] Properties to set
|
5689 | */
|
5690 | constructor(properties?: google.datastore.v1.ILookupResponse);
|
5691 |
|
5692 | /** LookupResponse found. */
|
5693 | public found: google.datastore.v1.IEntityResult[];
|
5694 |
|
5695 | /** LookupResponse missing. */
|
5696 | public missing: google.datastore.v1.IEntityResult[];
|
5697 |
|
5698 | /** LookupResponse deferred. */
|
5699 | public deferred: google.datastore.v1.IKey[];
|
5700 |
|
5701 | /** LookupResponse transaction. */
|
5702 | public transaction: (Uint8Array|string);
|
5703 |
|
5704 | /** LookupResponse readTime. */
|
5705 | public readTime?: (google.protobuf.ITimestamp|null);
|
5706 |
|
5707 | /**
|
5708 | * Creates a new LookupResponse instance using the specified properties.
|
5709 | * @param [properties] Properties to set
|
5710 | * @returns LookupResponse instance
|
5711 | */
|
5712 | public static create(properties?: google.datastore.v1.ILookupResponse): google.datastore.v1.LookupResponse;
|
5713 |
|
5714 | /**
|
5715 | * Encodes the specified LookupResponse message. Does not implicitly { google.datastore.v1.LookupResponse.verify|verify} messages.
|
5716 | * message LookupResponse message or plain object to encode
|
5717 | * [writer] Writer to encode to
|
5718 | * Writer
|
5719 | */
|
5720 | public static encode(message: google.datastore.v1.ILookupResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
5721 |
|
5722 | /**
|
5723 | * Encodes the specified LookupResponse message, length delimited. Does not implicitly {@link google.datastore.v1.LookupResponse.verify|verify} messages.
|
5724 | * @param message LookupResponse message or plain object to encode
|
5725 | * @param [writer] Writer to encode to
|
5726 | * @returns Writer
|
5727 | */
|
5728 | public static encodeDelimited(message: google.datastore.v1.ILookupResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
5729 |
|
5730 | /**
|
5731 | * Decodes a LookupResponse message from the specified reader or buffer.
|
5732 | * @param reader Reader or buffer to decode from
|
5733 | * @param [length] Message length if known beforehand
|
5734 | * @returns LookupResponse
|
5735 | * @throws {Error} If the payload is not a reader or valid buffer
|
5736 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5737 | */
|
5738 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.LookupResponse;
|
5739 |
|
5740 | /**
|
5741 | * Decodes a LookupResponse message from the specified reader or buffer, length delimited.
|
5742 | * @param reader Reader or buffer to decode from
|
5743 | * @returns LookupResponse
|
5744 | * @throws {Error} If the payload is not a reader or valid buffer
|
5745 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5746 | */
|
5747 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.LookupResponse;
|
5748 |
|
5749 | /**
|
5750 | * Verifies a LookupResponse message.
|
5751 | * @param message Plain object to verify
|
5752 | * @returns `null` if valid, otherwise the reason why it is not
|
5753 | */
|
5754 | public static verify(message: { [k: string]: any }): (string|null);
|
5755 |
|
5756 | /**
|
5757 | * Creates a LookupResponse message from a plain object. Also converts values to their respective internal types.
|
5758 | * @param object Plain object
|
5759 | * @returns LookupResponse
|
5760 | */
|
5761 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.LookupResponse;
|
5762 |
|
5763 | /**
|
5764 | * Creates a plain object from a LookupResponse message. Also converts values to other types if specified.
|
5765 | * @param message LookupResponse
|
5766 | * @param [options] Conversion options
|
5767 | * @returns Plain object
|
5768 | */
|
5769 | public static toObject(message: google.datastore.v1.LookupResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
5770 |
|
5771 | /**
|
5772 | * Converts this LookupResponse to JSON.
|
5773 | * @returns JSON object
|
5774 | */
|
5775 | public toJSON(): { [k: string]: any };
|
5776 |
|
5777 | /**
|
5778 | * Gets the default type url for LookupResponse
|
5779 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
5780 | * @returns The default type url
|
5781 | */
|
5782 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
5783 | }
|
5784 |
|
5785 | /** Properties of a RunQueryRequest. */
|
5786 | interface IRunQueryRequest {
|
5787 |
|
5788 | /** RunQueryRequest projectId */
|
5789 | projectId?: (string|null);
|
5790 |
|
5791 | /** RunQueryRequest databaseId */
|
5792 | databaseId?: (string|null);
|
5793 |
|
5794 | /** RunQueryRequest partitionId */
|
5795 | partitionId?: (google.datastore.v1.IPartitionId|null);
|
5796 |
|
5797 | /** RunQueryRequest readOptions */
|
5798 | readOptions?: (google.datastore.v1.IReadOptions|null);
|
5799 |
|
5800 | /** RunQueryRequest query */
|
5801 | query?: (google.datastore.v1.IQuery|null);
|
5802 |
|
5803 | /** RunQueryRequest gqlQuery */
|
5804 | gqlQuery?: (google.datastore.v1.IGqlQuery|null);
|
5805 | }
|
5806 |
|
5807 | /** Represents a RunQueryRequest. */
|
5808 | class RunQueryRequest implements IRunQueryRequest {
|
5809 |
|
5810 | /**
|
5811 | * Constructs a new RunQueryRequest.
|
5812 | * @param [properties] Properties to set
|
5813 | */
|
5814 | constructor(properties?: google.datastore.v1.IRunQueryRequest);
|
5815 |
|
5816 | /** RunQueryRequest projectId. */
|
5817 | public projectId: string;
|
5818 |
|
5819 | /** RunQueryRequest databaseId. */
|
5820 | public databaseId: string;
|
5821 |
|
5822 | /** RunQueryRequest partitionId. */
|
5823 | public partitionId?: (google.datastore.v1.IPartitionId|null);
|
5824 |
|
5825 | /** RunQueryRequest readOptions. */
|
5826 | public readOptions?: (google.datastore.v1.IReadOptions|null);
|
5827 |
|
5828 | /** RunQueryRequest query. */
|
5829 | public query?: (google.datastore.v1.IQuery|null);
|
5830 |
|
5831 | /** RunQueryRequest gqlQuery. */
|
5832 | public gqlQuery?: (google.datastore.v1.IGqlQuery|null);
|
5833 |
|
5834 | /** RunQueryRequest queryType. */
|
5835 | public queryType?: ("query"|"gqlQuery");
|
5836 |
|
5837 | /**
|
5838 | * Creates a new RunQueryRequest instance using the specified properties.
|
5839 | * @param [properties] Properties to set
|
5840 | * @returns RunQueryRequest instance
|
5841 | */
|
5842 | public static create(properties?: google.datastore.v1.IRunQueryRequest): google.datastore.v1.RunQueryRequest;
|
5843 |
|
5844 | /**
|
5845 | * Encodes the specified RunQueryRequest message. Does not implicitly { google.datastore.v1.RunQueryRequest.verify|verify} messages.
|
5846 | * message RunQueryRequest message or plain object to encode
|
5847 | * [writer] Writer to encode to
|
5848 | * Writer
|
5849 | */
|
5850 | public static encode(message: google.datastore.v1.IRunQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
5851 |
|
5852 | /**
|
5853 | * Encodes the specified RunQueryRequest message, length delimited. Does not implicitly {@link google.datastore.v1.RunQueryRequest.verify|verify} messages.
|
5854 | * @param message RunQueryRequest message or plain object to encode
|
5855 | * @param [writer] Writer to encode to
|
5856 | * @returns Writer
|
5857 | */
|
5858 | public static encodeDelimited(message: google.datastore.v1.IRunQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
5859 |
|
5860 | /**
|
5861 | * Decodes a RunQueryRequest message from the specified reader or buffer.
|
5862 | * @param reader Reader or buffer to decode from
|
5863 | * @param [length] Message length if known beforehand
|
5864 | * @returns RunQueryRequest
|
5865 | * @throws {Error} If the payload is not a reader or valid buffer
|
5866 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5867 | */
|
5868 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.RunQueryRequest;
|
5869 |
|
5870 | /**
|
5871 | * Decodes a RunQueryRequest message from the specified reader or buffer, length delimited.
|
5872 | * @param reader Reader or buffer to decode from
|
5873 | * @returns RunQueryRequest
|
5874 | * @throws {Error} If the payload is not a reader or valid buffer
|
5875 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5876 | */
|
5877 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.RunQueryRequest;
|
5878 |
|
5879 | /**
|
5880 | * Verifies a RunQueryRequest message.
|
5881 | * @param message Plain object to verify
|
5882 | * @returns `null` if valid, otherwise the reason why it is not
|
5883 | */
|
5884 | public static verify(message: { [k: string]: any }): (string|null);
|
5885 |
|
5886 | /**
|
5887 | * Creates a RunQueryRequest message from a plain object. Also converts values to their respective internal types.
|
5888 | * @param object Plain object
|
5889 | * @returns RunQueryRequest
|
5890 | */
|
5891 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.RunQueryRequest;
|
5892 |
|
5893 | /**
|
5894 | * Creates a plain object from a RunQueryRequest message. Also converts values to other types if specified.
|
5895 | * @param message RunQueryRequest
|
5896 | * @param [options] Conversion options
|
5897 | * @returns Plain object
|
5898 | */
|
5899 | public static toObject(message: google.datastore.v1.RunQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
5900 |
|
5901 | /**
|
5902 | * Converts this RunQueryRequest to JSON.
|
5903 | * @returns JSON object
|
5904 | */
|
5905 | public toJSON(): { [k: string]: any };
|
5906 |
|
5907 | /**
|
5908 | * Gets the default type url for RunQueryRequest
|
5909 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
5910 | * @returns The default type url
|
5911 | */
|
5912 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
5913 | }
|
5914 |
|
5915 | /** Properties of a RunQueryResponse. */
|
5916 | interface IRunQueryResponse {
|
5917 |
|
5918 | /** RunQueryResponse batch */
|
5919 | batch?: (google.datastore.v1.IQueryResultBatch|null);
|
5920 |
|
5921 | /** RunQueryResponse query */
|
5922 | query?: (google.datastore.v1.IQuery|null);
|
5923 |
|
5924 | /** RunQueryResponse transaction */
|
5925 | transaction?: (Uint8Array|string|null);
|
5926 | }
|
5927 |
|
5928 | /** Represents a RunQueryResponse. */
|
5929 | class RunQueryResponse implements IRunQueryResponse {
|
5930 |
|
5931 | /**
|
5932 | * Constructs a new RunQueryResponse.
|
5933 | * @param [properties] Properties to set
|
5934 | */
|
5935 | constructor(properties?: google.datastore.v1.IRunQueryResponse);
|
5936 |
|
5937 | /** RunQueryResponse batch. */
|
5938 | public batch?: (google.datastore.v1.IQueryResultBatch|null);
|
5939 |
|
5940 | /** RunQueryResponse query. */
|
5941 | public query?: (google.datastore.v1.IQuery|null);
|
5942 |
|
5943 | /** RunQueryResponse transaction. */
|
5944 | public transaction: (Uint8Array|string);
|
5945 |
|
5946 | /**
|
5947 | * Creates a new RunQueryResponse instance using the specified properties.
|
5948 | * @param [properties] Properties to set
|
5949 | * @returns RunQueryResponse instance
|
5950 | */
|
5951 | public static create(properties?: google.datastore.v1.IRunQueryResponse): google.datastore.v1.RunQueryResponse;
|
5952 |
|
5953 | /**
|
5954 | * Encodes the specified RunQueryResponse message. Does not implicitly { google.datastore.v1.RunQueryResponse.verify|verify} messages.
|
5955 | * message RunQueryResponse message or plain object to encode
|
5956 | * [writer] Writer to encode to
|
5957 | * Writer
|
5958 | */
|
5959 | public static encode(message: google.datastore.v1.IRunQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
5960 |
|
5961 | /**
|
5962 | * Encodes the specified RunQueryResponse message, length delimited. Does not implicitly {@link google.datastore.v1.RunQueryResponse.verify|verify} messages.
|
5963 | * @param message RunQueryResponse message or plain object to encode
|
5964 | * @param [writer] Writer to encode to
|
5965 | * @returns Writer
|
5966 | */
|
5967 | public static encodeDelimited(message: google.datastore.v1.IRunQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
5968 |
|
5969 | /**
|
5970 | * Decodes a RunQueryResponse message from the specified reader or buffer.
|
5971 | * @param reader Reader or buffer to decode from
|
5972 | * @param [length] Message length if known beforehand
|
5973 | * @returns RunQueryResponse
|
5974 | * @throws {Error} If the payload is not a reader or valid buffer
|
5975 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5976 | */
|
5977 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.RunQueryResponse;
|
5978 |
|
5979 | /**
|
5980 | * Decodes a RunQueryResponse message from the specified reader or buffer, length delimited.
|
5981 | * @param reader Reader or buffer to decode from
|
5982 | * @returns RunQueryResponse
|
5983 | * @throws {Error} If the payload is not a reader or valid buffer
|
5984 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
5985 | */
|
5986 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.RunQueryResponse;
|
5987 |
|
5988 | /**
|
5989 | * Verifies a RunQueryResponse message.
|
5990 | * @param message Plain object to verify
|
5991 | * @returns `null` if valid, otherwise the reason why it is not
|
5992 | */
|
5993 | public static verify(message: { [k: string]: any }): (string|null);
|
5994 |
|
5995 | /**
|
5996 | * Creates a RunQueryResponse message from a plain object. Also converts values to their respective internal types.
|
5997 | * @param object Plain object
|
5998 | * @returns RunQueryResponse
|
5999 | */
|
6000 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.RunQueryResponse;
|
6001 |
|
6002 | /**
|
6003 | * Creates a plain object from a RunQueryResponse message. Also converts values to other types if specified.
|
6004 | * @param message RunQueryResponse
|
6005 | * @param [options] Conversion options
|
6006 | * @returns Plain object
|
6007 | */
|
6008 | public static toObject(message: google.datastore.v1.RunQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6009 |
|
6010 | /**
|
6011 | * Converts this RunQueryResponse to JSON.
|
6012 | * @returns JSON object
|
6013 | */
|
6014 | public toJSON(): { [k: string]: any };
|
6015 |
|
6016 | /**
|
6017 | * Gets the default type url for RunQueryResponse
|
6018 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6019 | * @returns The default type url
|
6020 | */
|
6021 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6022 | }
|
6023 |
|
6024 | /** Properties of a RunAggregationQueryRequest. */
|
6025 | interface IRunAggregationQueryRequest {
|
6026 |
|
6027 | /** RunAggregationQueryRequest projectId */
|
6028 | projectId?: (string|null);
|
6029 |
|
6030 | /** RunAggregationQueryRequest databaseId */
|
6031 | databaseId?: (string|null);
|
6032 |
|
6033 | /** RunAggregationQueryRequest partitionId */
|
6034 | partitionId?: (google.datastore.v1.IPartitionId|null);
|
6035 |
|
6036 | /** RunAggregationQueryRequest readOptions */
|
6037 | readOptions?: (google.datastore.v1.IReadOptions|null);
|
6038 |
|
6039 | /** RunAggregationQueryRequest aggregationQuery */
|
6040 | aggregationQuery?: (google.datastore.v1.IAggregationQuery|null);
|
6041 |
|
6042 | /** RunAggregationQueryRequest gqlQuery */
|
6043 | gqlQuery?: (google.datastore.v1.IGqlQuery|null);
|
6044 | }
|
6045 |
|
6046 | /** Represents a RunAggregationQueryRequest. */
|
6047 | class RunAggregationQueryRequest implements IRunAggregationQueryRequest {
|
6048 |
|
6049 | /**
|
6050 | * Constructs a new RunAggregationQueryRequest.
|
6051 | * @param [properties] Properties to set
|
6052 | */
|
6053 | constructor(properties?: google.datastore.v1.IRunAggregationQueryRequest);
|
6054 |
|
6055 | /** RunAggregationQueryRequest projectId. */
|
6056 | public projectId: string;
|
6057 |
|
6058 | /** RunAggregationQueryRequest databaseId. */
|
6059 | public databaseId: string;
|
6060 |
|
6061 | /** RunAggregationQueryRequest partitionId. */
|
6062 | public partitionId?: (google.datastore.v1.IPartitionId|null);
|
6063 |
|
6064 | /** RunAggregationQueryRequest readOptions. */
|
6065 | public readOptions?: (google.datastore.v1.IReadOptions|null);
|
6066 |
|
6067 | /** RunAggregationQueryRequest aggregationQuery. */
|
6068 | public aggregationQuery?: (google.datastore.v1.IAggregationQuery|null);
|
6069 |
|
6070 | /** RunAggregationQueryRequest gqlQuery. */
|
6071 | public gqlQuery?: (google.datastore.v1.IGqlQuery|null);
|
6072 |
|
6073 | /** RunAggregationQueryRequest queryType. */
|
6074 | public queryType?: ("aggregationQuery"|"gqlQuery");
|
6075 |
|
6076 | /**
|
6077 | * Creates a new RunAggregationQueryRequest instance using the specified properties.
|
6078 | * @param [properties] Properties to set
|
6079 | * @returns RunAggregationQueryRequest instance
|
6080 | */
|
6081 | public static create(properties?: google.datastore.v1.IRunAggregationQueryRequest): google.datastore.v1.RunAggregationQueryRequest;
|
6082 |
|
6083 | /**
|
6084 | * Encodes the specified RunAggregationQueryRequest message. Does not implicitly { google.datastore.v1.RunAggregationQueryRequest.verify|verify} messages.
|
6085 | * message RunAggregationQueryRequest message or plain object to encode
|
6086 | * [writer] Writer to encode to
|
6087 | * Writer
|
6088 | */
|
6089 | public static encode(message: google.datastore.v1.IRunAggregationQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6090 |
|
6091 | /**
|
6092 | * Encodes the specified RunAggregationQueryRequest message, length delimited. Does not implicitly {@link google.datastore.v1.RunAggregationQueryRequest.verify|verify} messages.
|
6093 | * @param message RunAggregationQueryRequest message or plain object to encode
|
6094 | * @param [writer] Writer to encode to
|
6095 | * @returns Writer
|
6096 | */
|
6097 | public static encodeDelimited(message: google.datastore.v1.IRunAggregationQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6098 |
|
6099 | /**
|
6100 | * Decodes a RunAggregationQueryRequest message from the specified reader or buffer.
|
6101 | * @param reader Reader or buffer to decode from
|
6102 | * @param [length] Message length if known beforehand
|
6103 | * @returns RunAggregationQueryRequest
|
6104 | * @throws {Error} If the payload is not a reader or valid buffer
|
6105 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6106 | */
|
6107 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.RunAggregationQueryRequest;
|
6108 |
|
6109 | /**
|
6110 | * Decodes a RunAggregationQueryRequest message from the specified reader or buffer, length delimited.
|
6111 | * @param reader Reader or buffer to decode from
|
6112 | * @returns RunAggregationQueryRequest
|
6113 | * @throws {Error} If the payload is not a reader or valid buffer
|
6114 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6115 | */
|
6116 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.RunAggregationQueryRequest;
|
6117 |
|
6118 | /**
|
6119 | * Verifies a RunAggregationQueryRequest message.
|
6120 | * @param message Plain object to verify
|
6121 | * @returns `null` if valid, otherwise the reason why it is not
|
6122 | */
|
6123 | public static verify(message: { [k: string]: any }): (string|null);
|
6124 |
|
6125 | /**
|
6126 | * Creates a RunAggregationQueryRequest message from a plain object. Also converts values to their respective internal types.
|
6127 | * @param object Plain object
|
6128 | * @returns RunAggregationQueryRequest
|
6129 | */
|
6130 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.RunAggregationQueryRequest;
|
6131 |
|
6132 | /**
|
6133 | * Creates a plain object from a RunAggregationQueryRequest message. Also converts values to other types if specified.
|
6134 | * @param message RunAggregationQueryRequest
|
6135 | * @param [options] Conversion options
|
6136 | * @returns Plain object
|
6137 | */
|
6138 | public static toObject(message: google.datastore.v1.RunAggregationQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6139 |
|
6140 | /**
|
6141 | * Converts this RunAggregationQueryRequest to JSON.
|
6142 | * @returns JSON object
|
6143 | */
|
6144 | public toJSON(): { [k: string]: any };
|
6145 |
|
6146 | /**
|
6147 | * Gets the default type url for RunAggregationQueryRequest
|
6148 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6149 | * @returns The default type url
|
6150 | */
|
6151 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6152 | }
|
6153 |
|
6154 | /** Properties of a RunAggregationQueryResponse. */
|
6155 | interface IRunAggregationQueryResponse {
|
6156 |
|
6157 | /** RunAggregationQueryResponse batch */
|
6158 | batch?: (google.datastore.v1.IAggregationResultBatch|null);
|
6159 |
|
6160 | /** RunAggregationQueryResponse query */
|
6161 | query?: (google.datastore.v1.IAggregationQuery|null);
|
6162 |
|
6163 | /** RunAggregationQueryResponse transaction */
|
6164 | transaction?: (Uint8Array|string|null);
|
6165 | }
|
6166 |
|
6167 | /** Represents a RunAggregationQueryResponse. */
|
6168 | class RunAggregationQueryResponse implements IRunAggregationQueryResponse {
|
6169 |
|
6170 | /**
|
6171 | * Constructs a new RunAggregationQueryResponse.
|
6172 | * @param [properties] Properties to set
|
6173 | */
|
6174 | constructor(properties?: google.datastore.v1.IRunAggregationQueryResponse);
|
6175 |
|
6176 | /** RunAggregationQueryResponse batch. */
|
6177 | public batch?: (google.datastore.v1.IAggregationResultBatch|null);
|
6178 |
|
6179 | /** RunAggregationQueryResponse query. */
|
6180 | public query?: (google.datastore.v1.IAggregationQuery|null);
|
6181 |
|
6182 | /** RunAggregationQueryResponse transaction. */
|
6183 | public transaction: (Uint8Array|string);
|
6184 |
|
6185 | /**
|
6186 | * Creates a new RunAggregationQueryResponse instance using the specified properties.
|
6187 | * @param [properties] Properties to set
|
6188 | * @returns RunAggregationQueryResponse instance
|
6189 | */
|
6190 | public static create(properties?: google.datastore.v1.IRunAggregationQueryResponse): google.datastore.v1.RunAggregationQueryResponse;
|
6191 |
|
6192 | /**
|
6193 | * Encodes the specified RunAggregationQueryResponse message. Does not implicitly { google.datastore.v1.RunAggregationQueryResponse.verify|verify} messages.
|
6194 | * message RunAggregationQueryResponse message or plain object to encode
|
6195 | * [writer] Writer to encode to
|
6196 | * Writer
|
6197 | */
|
6198 | public static encode(message: google.datastore.v1.IRunAggregationQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
6199 |
|
6200 | /**
|
6201 | * Encodes the specified RunAggregationQueryResponse message, length delimited. Does not implicitly {@link google.datastore.v1.RunAggregationQueryResponse.verify|verify} messages.
|
6202 | * @param message RunAggregationQueryResponse message or plain object to encode
|
6203 | * @param [writer] Writer to encode to
|
6204 | * @returns Writer
|
6205 | */
|
6206 | public static encodeDelimited(message: google.datastore.v1.IRunAggregationQueryResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
6207 |
|
6208 | /**
|
6209 | * Decodes a RunAggregationQueryResponse message from the specified reader or buffer.
|
6210 | * @param reader Reader or buffer to decode from
|
6211 | * @param [length] Message length if known beforehand
|
6212 | * @returns RunAggregationQueryResponse
|
6213 | * @throws {Error} If the payload is not a reader or valid buffer
|
6214 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6215 | */
|
6216 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.RunAggregationQueryResponse;
|
6217 |
|
6218 | /**
|
6219 | * Decodes a RunAggregationQueryResponse message from the specified reader or buffer, length delimited.
|
6220 | * @param reader Reader or buffer to decode from
|
6221 | * @returns RunAggregationQueryResponse
|
6222 | * @throws {Error} If the payload is not a reader or valid buffer
|
6223 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6224 | */
|
6225 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.RunAggregationQueryResponse;
|
6226 |
|
6227 | /**
|
6228 | * Verifies a RunAggregationQueryResponse message.
|
6229 | * @param message Plain object to verify
|
6230 | * @returns `null` if valid, otherwise the reason why it is not
|
6231 | */
|
6232 | public static verify(message: { [k: string]: any }): (string|null);
|
6233 |
|
6234 | /**
|
6235 | * Creates a RunAggregationQueryResponse message from a plain object. Also converts values to their respective internal types.
|
6236 | * @param object Plain object
|
6237 | * @returns RunAggregationQueryResponse
|
6238 | */
|
6239 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.RunAggregationQueryResponse;
|
6240 |
|
6241 | /**
|
6242 | * Creates a plain object from a RunAggregationQueryResponse message. Also converts values to other types if specified.
|
6243 | * @param message RunAggregationQueryResponse
|
6244 | * @param [options] Conversion options
|
6245 | * @returns Plain object
|
6246 | */
|
6247 | public static toObject(message: google.datastore.v1.RunAggregationQueryResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6248 |
|
6249 | /**
|
6250 | * Converts this RunAggregationQueryResponse to JSON.
|
6251 | * @returns JSON object
|
6252 | */
|
6253 | public toJSON(): { [k: string]: any };
|
6254 |
|
6255 | /**
|
6256 | * Gets the default type url for RunAggregationQueryResponse
|
6257 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6258 | * @returns The default type url
|
6259 | */
|
6260 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6261 | }
|
6262 |
|
6263 | /** Properties of a BeginTransactionRequest. */
|
6264 | interface IBeginTransactionRequest {
|
6265 |
|
6266 | /** BeginTransactionRequest projectId */
|
6267 | projectId?: (string|null);
|
6268 |
|
6269 | /** BeginTransactionRequest databaseId */
|
6270 | databaseId?: (string|null);
|
6271 |
|
6272 | /** BeginTransactionRequest transactionOptions */
|
6273 | transactionOptions?: (google.datastore.v1.ITransactionOptions|null);
|
6274 | }
|
6275 |
|
6276 | /** Represents a BeginTransactionRequest. */
|
6277 | class BeginTransactionRequest implements IBeginTransactionRequest {
|
6278 |
|
6279 | /**
|
6280 | * Constructs a new BeginTransactionRequest.
|
6281 | * @param [properties] Properties to set
|
6282 | */
|
6283 | constructor(properties?: google.datastore.v1.IBeginTransactionRequest);
|
6284 |
|
6285 | /** BeginTransactionRequest projectId. */
|
6286 | public projectId: string;
|
6287 |
|
6288 | /** BeginTransactionRequest databaseId. */
|
6289 | public databaseId: string;
|
6290 |
|
6291 | /** BeginTransactionRequest transactionOptions. */
|
6292 | public transactionOptions?: (google.datastore.v1.ITransactionOptions|null);
|
6293 |
|
6294 | /**
|
6295 | * Creates a new BeginTransactionRequest instance using the specified properties.
|
6296 | * @param [properties] Properties to set
|
6297 | * @returns BeginTransactionRequest instance
|
6298 | */
|
6299 | public static create(properties?: google.datastore.v1.IBeginTransactionRequest): google.datastore.v1.BeginTransactionRequest;
|
6300 |
|
6301 | /**
|
6302 | * Encodes the specified BeginTransactionRequest message. Does not implicitly { google.datastore.v1.BeginTransactionRequest.verify|verify} messages.
|
6303 | * message BeginTransactionRequest message or plain object to encode
|
6304 | * [writer] Writer to encode to
|
6305 | * Writer
|
6306 | */
|
6307 | public static encode(message: google.datastore.v1.IBeginTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6308 |
|
6309 | /**
|
6310 | * Encodes the specified BeginTransactionRequest message, length delimited. Does not implicitly {@link google.datastore.v1.BeginTransactionRequest.verify|verify} messages.
|
6311 | * @param message BeginTransactionRequest message or plain object to encode
|
6312 | * @param [writer] Writer to encode to
|
6313 | * @returns Writer
|
6314 | */
|
6315 | public static encodeDelimited(message: google.datastore.v1.IBeginTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6316 |
|
6317 | /**
|
6318 | * Decodes a BeginTransactionRequest message from the specified reader or buffer.
|
6319 | * @param reader Reader or buffer to decode from
|
6320 | * @param [length] Message length if known beforehand
|
6321 | * @returns BeginTransactionRequest
|
6322 | * @throws {Error} If the payload is not a reader or valid buffer
|
6323 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6324 | */
|
6325 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.BeginTransactionRequest;
|
6326 |
|
6327 | /**
|
6328 | * Decodes a BeginTransactionRequest message from the specified reader or buffer, length delimited.
|
6329 | * @param reader Reader or buffer to decode from
|
6330 | * @returns BeginTransactionRequest
|
6331 | * @throws {Error} If the payload is not a reader or valid buffer
|
6332 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6333 | */
|
6334 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.BeginTransactionRequest;
|
6335 |
|
6336 | /**
|
6337 | * Verifies a BeginTransactionRequest message.
|
6338 | * @param message Plain object to verify
|
6339 | * @returns `null` if valid, otherwise the reason why it is not
|
6340 | */
|
6341 | public static verify(message: { [k: string]: any }): (string|null);
|
6342 |
|
6343 | /**
|
6344 | * Creates a BeginTransactionRequest message from a plain object. Also converts values to their respective internal types.
|
6345 | * @param object Plain object
|
6346 | * @returns BeginTransactionRequest
|
6347 | */
|
6348 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.BeginTransactionRequest;
|
6349 |
|
6350 | /**
|
6351 | * Creates a plain object from a BeginTransactionRequest message. Also converts values to other types if specified.
|
6352 | * @param message BeginTransactionRequest
|
6353 | * @param [options] Conversion options
|
6354 | * @returns Plain object
|
6355 | */
|
6356 | public static toObject(message: google.datastore.v1.BeginTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6357 |
|
6358 | /**
|
6359 | * Converts this BeginTransactionRequest to JSON.
|
6360 | * @returns JSON object
|
6361 | */
|
6362 | public toJSON(): { [k: string]: any };
|
6363 |
|
6364 | /**
|
6365 | * Gets the default type url for BeginTransactionRequest
|
6366 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6367 | * @returns The default type url
|
6368 | */
|
6369 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6370 | }
|
6371 |
|
6372 | /** Properties of a BeginTransactionResponse. */
|
6373 | interface IBeginTransactionResponse {
|
6374 |
|
6375 | /** BeginTransactionResponse transaction */
|
6376 | transaction?: (Uint8Array|string|null);
|
6377 | }
|
6378 |
|
6379 | /** Represents a BeginTransactionResponse. */
|
6380 | class BeginTransactionResponse implements IBeginTransactionResponse {
|
6381 |
|
6382 | /**
|
6383 | * Constructs a new BeginTransactionResponse.
|
6384 | * @param [properties] Properties to set
|
6385 | */
|
6386 | constructor(properties?: google.datastore.v1.IBeginTransactionResponse);
|
6387 |
|
6388 | /** BeginTransactionResponse transaction. */
|
6389 | public transaction: (Uint8Array|string);
|
6390 |
|
6391 | /**
|
6392 | * Creates a new BeginTransactionResponse instance using the specified properties.
|
6393 | * @param [properties] Properties to set
|
6394 | * @returns BeginTransactionResponse instance
|
6395 | */
|
6396 | public static create(properties?: google.datastore.v1.IBeginTransactionResponse): google.datastore.v1.BeginTransactionResponse;
|
6397 |
|
6398 | /**
|
6399 | * Encodes the specified BeginTransactionResponse message. Does not implicitly { google.datastore.v1.BeginTransactionResponse.verify|verify} messages.
|
6400 | * message BeginTransactionResponse message or plain object to encode
|
6401 | * [writer] Writer to encode to
|
6402 | * Writer
|
6403 | */
|
6404 | public static encode(message: google.datastore.v1.IBeginTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
6405 |
|
6406 | /**
|
6407 | * Encodes the specified BeginTransactionResponse message, length delimited. Does not implicitly {@link google.datastore.v1.BeginTransactionResponse.verify|verify} messages.
|
6408 | * @param message BeginTransactionResponse message or plain object to encode
|
6409 | * @param [writer] Writer to encode to
|
6410 | * @returns Writer
|
6411 | */
|
6412 | public static encodeDelimited(message: google.datastore.v1.IBeginTransactionResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
6413 |
|
6414 | /**
|
6415 | * Decodes a BeginTransactionResponse message from the specified reader or buffer.
|
6416 | * @param reader Reader or buffer to decode from
|
6417 | * @param [length] Message length if known beforehand
|
6418 | * @returns BeginTransactionResponse
|
6419 | * @throws {Error} If the payload is not a reader or valid buffer
|
6420 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6421 | */
|
6422 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.BeginTransactionResponse;
|
6423 |
|
6424 | /**
|
6425 | * Decodes a BeginTransactionResponse message from the specified reader or buffer, length delimited.
|
6426 | * @param reader Reader or buffer to decode from
|
6427 | * @returns BeginTransactionResponse
|
6428 | * @throws {Error} If the payload is not a reader or valid buffer
|
6429 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6430 | */
|
6431 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.BeginTransactionResponse;
|
6432 |
|
6433 | /**
|
6434 | * Verifies a BeginTransactionResponse message.
|
6435 | * @param message Plain object to verify
|
6436 | * @returns `null` if valid, otherwise the reason why it is not
|
6437 | */
|
6438 | public static verify(message: { [k: string]: any }): (string|null);
|
6439 |
|
6440 | /**
|
6441 | * Creates a BeginTransactionResponse message from a plain object. Also converts values to their respective internal types.
|
6442 | * @param object Plain object
|
6443 | * @returns BeginTransactionResponse
|
6444 | */
|
6445 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.BeginTransactionResponse;
|
6446 |
|
6447 | /**
|
6448 | * Creates a plain object from a BeginTransactionResponse message. Also converts values to other types if specified.
|
6449 | * @param message BeginTransactionResponse
|
6450 | * @param [options] Conversion options
|
6451 | * @returns Plain object
|
6452 | */
|
6453 | public static toObject(message: google.datastore.v1.BeginTransactionResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6454 |
|
6455 | /**
|
6456 | * Converts this BeginTransactionResponse to JSON.
|
6457 | * @returns JSON object
|
6458 | */
|
6459 | public toJSON(): { [k: string]: any };
|
6460 |
|
6461 | /**
|
6462 | * Gets the default type url for BeginTransactionResponse
|
6463 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6464 | * @returns The default type url
|
6465 | */
|
6466 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6467 | }
|
6468 |
|
6469 | /** Properties of a RollbackRequest. */
|
6470 | interface IRollbackRequest {
|
6471 |
|
6472 | /** RollbackRequest projectId */
|
6473 | projectId?: (string|null);
|
6474 |
|
6475 | /** RollbackRequest databaseId */
|
6476 | databaseId?: (string|null);
|
6477 |
|
6478 | /** RollbackRequest transaction */
|
6479 | transaction?: (Uint8Array|string|null);
|
6480 | }
|
6481 |
|
6482 | /** Represents a RollbackRequest. */
|
6483 | class RollbackRequest implements IRollbackRequest {
|
6484 |
|
6485 | /**
|
6486 | * Constructs a new RollbackRequest.
|
6487 | * @param [properties] Properties to set
|
6488 | */
|
6489 | constructor(properties?: google.datastore.v1.IRollbackRequest);
|
6490 |
|
6491 | /** RollbackRequest projectId. */
|
6492 | public projectId: string;
|
6493 |
|
6494 | /** RollbackRequest databaseId. */
|
6495 | public databaseId: string;
|
6496 |
|
6497 | /** RollbackRequest transaction. */
|
6498 | public transaction: (Uint8Array|string);
|
6499 |
|
6500 | /**
|
6501 | * Creates a new RollbackRequest instance using the specified properties.
|
6502 | * @param [properties] Properties to set
|
6503 | * @returns RollbackRequest instance
|
6504 | */
|
6505 | public static create(properties?: google.datastore.v1.IRollbackRequest): google.datastore.v1.RollbackRequest;
|
6506 |
|
6507 | /**
|
6508 | * Encodes the specified RollbackRequest message. Does not implicitly { google.datastore.v1.RollbackRequest.verify|verify} messages.
|
6509 | * message RollbackRequest message or plain object to encode
|
6510 | * [writer] Writer to encode to
|
6511 | * Writer
|
6512 | */
|
6513 | public static encode(message: google.datastore.v1.IRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6514 |
|
6515 | /**
|
6516 | * Encodes the specified RollbackRequest message, length delimited. Does not implicitly {@link google.datastore.v1.RollbackRequest.verify|verify} messages.
|
6517 | * @param message RollbackRequest message or plain object to encode
|
6518 | * @param [writer] Writer to encode to
|
6519 | * @returns Writer
|
6520 | */
|
6521 | public static encodeDelimited(message: google.datastore.v1.IRollbackRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6522 |
|
6523 | /**
|
6524 | * Decodes a RollbackRequest message from the specified reader or buffer.
|
6525 | * @param reader Reader or buffer to decode from
|
6526 | * @param [length] Message length if known beforehand
|
6527 | * @returns RollbackRequest
|
6528 | * @throws {Error} If the payload is not a reader or valid buffer
|
6529 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6530 | */
|
6531 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.RollbackRequest;
|
6532 |
|
6533 | /**
|
6534 | * Decodes a RollbackRequest message from the specified reader or buffer, length delimited.
|
6535 | * @param reader Reader or buffer to decode from
|
6536 | * @returns RollbackRequest
|
6537 | * @throws {Error} If the payload is not a reader or valid buffer
|
6538 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6539 | */
|
6540 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.RollbackRequest;
|
6541 |
|
6542 | /**
|
6543 | * Verifies a RollbackRequest message.
|
6544 | * @param message Plain object to verify
|
6545 | * @returns `null` if valid, otherwise the reason why it is not
|
6546 | */
|
6547 | public static verify(message: { [k: string]: any }): (string|null);
|
6548 |
|
6549 | /**
|
6550 | * Creates a RollbackRequest message from a plain object. Also converts values to their respective internal types.
|
6551 | * @param object Plain object
|
6552 | * @returns RollbackRequest
|
6553 | */
|
6554 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.RollbackRequest;
|
6555 |
|
6556 | /**
|
6557 | * Creates a plain object from a RollbackRequest message. Also converts values to other types if specified.
|
6558 | * @param message RollbackRequest
|
6559 | * @param [options] Conversion options
|
6560 | * @returns Plain object
|
6561 | */
|
6562 | public static toObject(message: google.datastore.v1.RollbackRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6563 |
|
6564 | /**
|
6565 | * Converts this RollbackRequest to JSON.
|
6566 | * @returns JSON object
|
6567 | */
|
6568 | public toJSON(): { [k: string]: any };
|
6569 |
|
6570 | /**
|
6571 | * Gets the default type url for RollbackRequest
|
6572 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6573 | * @returns The default type url
|
6574 | */
|
6575 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6576 | }
|
6577 |
|
6578 | /** Properties of a RollbackResponse. */
|
6579 | interface IRollbackResponse {
|
6580 | }
|
6581 |
|
6582 | /** Represents a RollbackResponse. */
|
6583 | class RollbackResponse implements IRollbackResponse {
|
6584 |
|
6585 | /**
|
6586 | * Constructs a new RollbackResponse.
|
6587 | * @param [properties] Properties to set
|
6588 | */
|
6589 | constructor(properties?: google.datastore.v1.IRollbackResponse);
|
6590 |
|
6591 | /**
|
6592 | * Creates a new RollbackResponse instance using the specified properties.
|
6593 | * @param [properties] Properties to set
|
6594 | * @returns RollbackResponse instance
|
6595 | */
|
6596 | public static create(properties?: google.datastore.v1.IRollbackResponse): google.datastore.v1.RollbackResponse;
|
6597 |
|
6598 | /**
|
6599 | * Encodes the specified RollbackResponse message. Does not implicitly { google.datastore.v1.RollbackResponse.verify|verify} messages.
|
6600 | * message RollbackResponse message or plain object to encode
|
6601 | * [writer] Writer to encode to
|
6602 | * Writer
|
6603 | */
|
6604 | public static encode(message: google.datastore.v1.IRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
6605 |
|
6606 | /**
|
6607 | * Encodes the specified RollbackResponse message, length delimited. Does not implicitly {@link google.datastore.v1.RollbackResponse.verify|verify} messages.
|
6608 | * @param message RollbackResponse message or plain object to encode
|
6609 | * @param [writer] Writer to encode to
|
6610 | * @returns Writer
|
6611 | */
|
6612 | public static encodeDelimited(message: google.datastore.v1.IRollbackResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
6613 |
|
6614 | /**
|
6615 | * Decodes a RollbackResponse message from the specified reader or buffer.
|
6616 | * @param reader Reader or buffer to decode from
|
6617 | * @param [length] Message length if known beforehand
|
6618 | * @returns RollbackResponse
|
6619 | * @throws {Error} If the payload is not a reader or valid buffer
|
6620 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6621 | */
|
6622 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.RollbackResponse;
|
6623 |
|
6624 | /**
|
6625 | * Decodes a RollbackResponse message from the specified reader or buffer, length delimited.
|
6626 | * @param reader Reader or buffer to decode from
|
6627 | * @returns RollbackResponse
|
6628 | * @throws {Error} If the payload is not a reader or valid buffer
|
6629 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6630 | */
|
6631 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.RollbackResponse;
|
6632 |
|
6633 | /**
|
6634 | * Verifies a RollbackResponse message.
|
6635 | * @param message Plain object to verify
|
6636 | * @returns `null` if valid, otherwise the reason why it is not
|
6637 | */
|
6638 | public static verify(message: { [k: string]: any }): (string|null);
|
6639 |
|
6640 | /**
|
6641 | * Creates a RollbackResponse message from a plain object. Also converts values to their respective internal types.
|
6642 | * @param object Plain object
|
6643 | * @returns RollbackResponse
|
6644 | */
|
6645 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.RollbackResponse;
|
6646 |
|
6647 | /**
|
6648 | * Creates a plain object from a RollbackResponse message. Also converts values to other types if specified.
|
6649 | * @param message RollbackResponse
|
6650 | * @param [options] Conversion options
|
6651 | * @returns Plain object
|
6652 | */
|
6653 | public static toObject(message: google.datastore.v1.RollbackResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6654 |
|
6655 | /**
|
6656 | * Converts this RollbackResponse to JSON.
|
6657 | * @returns JSON object
|
6658 | */
|
6659 | public toJSON(): { [k: string]: any };
|
6660 |
|
6661 | /**
|
6662 | * Gets the default type url for RollbackResponse
|
6663 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6664 | * @returns The default type url
|
6665 | */
|
6666 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6667 | }
|
6668 |
|
6669 | /** Properties of a CommitRequest. */
|
6670 | interface ICommitRequest {
|
6671 |
|
6672 | /** CommitRequest projectId */
|
6673 | projectId?: (string|null);
|
6674 |
|
6675 | /** CommitRequest databaseId */
|
6676 | databaseId?: (string|null);
|
6677 |
|
6678 | /** CommitRequest mode */
|
6679 | mode?: (google.datastore.v1.CommitRequest.Mode|keyof typeof google.datastore.v1.CommitRequest.Mode|null);
|
6680 |
|
6681 | /** CommitRequest transaction */
|
6682 | transaction?: (Uint8Array|string|null);
|
6683 |
|
6684 | /** CommitRequest singleUseTransaction */
|
6685 | singleUseTransaction?: (google.datastore.v1.ITransactionOptions|null);
|
6686 |
|
6687 | /** CommitRequest mutations */
|
6688 | mutations?: (google.datastore.v1.IMutation[]|null);
|
6689 | }
|
6690 |
|
6691 | /** Represents a CommitRequest. */
|
6692 | class CommitRequest implements ICommitRequest {
|
6693 |
|
6694 | /**
|
6695 | * Constructs a new CommitRequest.
|
6696 | * @param [properties] Properties to set
|
6697 | */
|
6698 | constructor(properties?: google.datastore.v1.ICommitRequest);
|
6699 |
|
6700 | /** CommitRequest projectId. */
|
6701 | public projectId: string;
|
6702 |
|
6703 | /** CommitRequest databaseId. */
|
6704 | public databaseId: string;
|
6705 |
|
6706 | /** CommitRequest mode. */
|
6707 | public mode: (google.datastore.v1.CommitRequest.Mode|keyof typeof google.datastore.v1.CommitRequest.Mode);
|
6708 |
|
6709 | /** CommitRequest transaction. */
|
6710 | public transaction?: (Uint8Array|string|null);
|
6711 |
|
6712 | /** CommitRequest singleUseTransaction. */
|
6713 | public singleUseTransaction?: (google.datastore.v1.ITransactionOptions|null);
|
6714 |
|
6715 | /** CommitRequest mutations. */
|
6716 | public mutations: google.datastore.v1.IMutation[];
|
6717 |
|
6718 | /** CommitRequest transactionSelector. */
|
6719 | public transactionSelector?: ("transaction"|"singleUseTransaction");
|
6720 |
|
6721 | /**
|
6722 | * Creates a new CommitRequest instance using the specified properties.
|
6723 | * @param [properties] Properties to set
|
6724 | * @returns CommitRequest instance
|
6725 | */
|
6726 | public static create(properties?: google.datastore.v1.ICommitRequest): google.datastore.v1.CommitRequest;
|
6727 |
|
6728 | /**
|
6729 | * Encodes the specified CommitRequest message. Does not implicitly { google.datastore.v1.CommitRequest.verify|verify} messages.
|
6730 | * message CommitRequest message or plain object to encode
|
6731 | * [writer] Writer to encode to
|
6732 | * Writer
|
6733 | */
|
6734 | public static encode(message: google.datastore.v1.ICommitRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6735 |
|
6736 | /**
|
6737 | * Encodes the specified CommitRequest message, length delimited. Does not implicitly {@link google.datastore.v1.CommitRequest.verify|verify} messages.
|
6738 | * @param message CommitRequest message or plain object to encode
|
6739 | * @param [writer] Writer to encode to
|
6740 | * @returns Writer
|
6741 | */
|
6742 | public static encodeDelimited(message: google.datastore.v1.ICommitRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6743 |
|
6744 | /**
|
6745 | * Decodes a CommitRequest message from the specified reader or buffer.
|
6746 | * @param reader Reader or buffer to decode from
|
6747 | * @param [length] Message length if known beforehand
|
6748 | * @returns CommitRequest
|
6749 | * @throws {Error} If the payload is not a reader or valid buffer
|
6750 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6751 | */
|
6752 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.CommitRequest;
|
6753 |
|
6754 | /**
|
6755 | * Decodes a CommitRequest message from the specified reader or buffer, length delimited.
|
6756 | * @param reader Reader or buffer to decode from
|
6757 | * @returns CommitRequest
|
6758 | * @throws {Error} If the payload is not a reader or valid buffer
|
6759 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6760 | */
|
6761 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.CommitRequest;
|
6762 |
|
6763 | /**
|
6764 | * Verifies a CommitRequest message.
|
6765 | * @param message Plain object to verify
|
6766 | * @returns `null` if valid, otherwise the reason why it is not
|
6767 | */
|
6768 | public static verify(message: { [k: string]: any }): (string|null);
|
6769 |
|
6770 | /**
|
6771 | * Creates a CommitRequest message from a plain object. Also converts values to their respective internal types.
|
6772 | * @param object Plain object
|
6773 | * @returns CommitRequest
|
6774 | */
|
6775 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.CommitRequest;
|
6776 |
|
6777 | /**
|
6778 | * Creates a plain object from a CommitRequest message. Also converts values to other types if specified.
|
6779 | * @param message CommitRequest
|
6780 | * @param [options] Conversion options
|
6781 | * @returns Plain object
|
6782 | */
|
6783 | public static toObject(message: google.datastore.v1.CommitRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6784 |
|
6785 | /**
|
6786 | * Converts this CommitRequest to JSON.
|
6787 | * @returns JSON object
|
6788 | */
|
6789 | public toJSON(): { [k: string]: any };
|
6790 |
|
6791 | /**
|
6792 | * Gets the default type url for CommitRequest
|
6793 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6794 | * @returns The default type url
|
6795 | */
|
6796 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6797 | }
|
6798 |
|
6799 | namespace CommitRequest {
|
6800 |
|
6801 | /** Mode enum. */
|
6802 | enum Mode {
|
6803 | MODE_UNSPECIFIED = 0,
|
6804 | TRANSACTIONAL = 1,
|
6805 | NON_TRANSACTIONAL = 2
|
6806 | }
|
6807 | }
|
6808 |
|
6809 | /** Properties of a CommitResponse. */
|
6810 | interface ICommitResponse {
|
6811 |
|
6812 | /** CommitResponse mutationResults */
|
6813 | mutationResults?: (google.datastore.v1.IMutationResult[]|null);
|
6814 |
|
6815 | /** CommitResponse indexUpdates */
|
6816 | indexUpdates?: (number|null);
|
6817 |
|
6818 | /** CommitResponse commitTime */
|
6819 | commitTime?: (google.protobuf.ITimestamp|null);
|
6820 | }
|
6821 |
|
6822 | /** Represents a CommitResponse. */
|
6823 | class CommitResponse implements ICommitResponse {
|
6824 |
|
6825 | /**
|
6826 | * Constructs a new CommitResponse.
|
6827 | * @param [properties] Properties to set
|
6828 | */
|
6829 | constructor(properties?: google.datastore.v1.ICommitResponse);
|
6830 |
|
6831 | /** CommitResponse mutationResults. */
|
6832 | public mutationResults: google.datastore.v1.IMutationResult[];
|
6833 |
|
6834 | /** CommitResponse indexUpdates. */
|
6835 | public indexUpdates: number;
|
6836 |
|
6837 | /** CommitResponse commitTime. */
|
6838 | public commitTime?: (google.protobuf.ITimestamp|null);
|
6839 |
|
6840 | /**
|
6841 | * Creates a new CommitResponse instance using the specified properties.
|
6842 | * @param [properties] Properties to set
|
6843 | * @returns CommitResponse instance
|
6844 | */
|
6845 | public static create(properties?: google.datastore.v1.ICommitResponse): google.datastore.v1.CommitResponse;
|
6846 |
|
6847 | /**
|
6848 | * Encodes the specified CommitResponse message. Does not implicitly { google.datastore.v1.CommitResponse.verify|verify} messages.
|
6849 | * message CommitResponse message or plain object to encode
|
6850 | * [writer] Writer to encode to
|
6851 | * Writer
|
6852 | */
|
6853 | public static encode(message: google.datastore.v1.ICommitResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
6854 |
|
6855 | /**
|
6856 | * Encodes the specified CommitResponse message, length delimited. Does not implicitly {@link google.datastore.v1.CommitResponse.verify|verify} messages.
|
6857 | * @param message CommitResponse message or plain object to encode
|
6858 | * @param [writer] Writer to encode to
|
6859 | * @returns Writer
|
6860 | */
|
6861 | public static encodeDelimited(message: google.datastore.v1.ICommitResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
6862 |
|
6863 | /**
|
6864 | * Decodes a CommitResponse message from the specified reader or buffer.
|
6865 | * @param reader Reader or buffer to decode from
|
6866 | * @param [length] Message length if known beforehand
|
6867 | * @returns CommitResponse
|
6868 | * @throws {Error} If the payload is not a reader or valid buffer
|
6869 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6870 | */
|
6871 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.CommitResponse;
|
6872 |
|
6873 | /**
|
6874 | * Decodes a CommitResponse message from the specified reader or buffer, length delimited.
|
6875 | * @param reader Reader or buffer to decode from
|
6876 | * @returns CommitResponse
|
6877 | * @throws {Error} If the payload is not a reader or valid buffer
|
6878 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6879 | */
|
6880 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.CommitResponse;
|
6881 |
|
6882 | /**
|
6883 | * Verifies a CommitResponse message.
|
6884 | * @param message Plain object to verify
|
6885 | * @returns `null` if valid, otherwise the reason why it is not
|
6886 | */
|
6887 | public static verify(message: { [k: string]: any }): (string|null);
|
6888 |
|
6889 | /**
|
6890 | * Creates a CommitResponse message from a plain object. Also converts values to their respective internal types.
|
6891 | * @param object Plain object
|
6892 | * @returns CommitResponse
|
6893 | */
|
6894 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.CommitResponse;
|
6895 |
|
6896 | /**
|
6897 | * Creates a plain object from a CommitResponse message. Also converts values to other types if specified.
|
6898 | * @param message CommitResponse
|
6899 | * @param [options] Conversion options
|
6900 | * @returns Plain object
|
6901 | */
|
6902 | public static toObject(message: google.datastore.v1.CommitResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
6903 |
|
6904 | /**
|
6905 | * Converts this CommitResponse to JSON.
|
6906 | * @returns JSON object
|
6907 | */
|
6908 | public toJSON(): { [k: string]: any };
|
6909 |
|
6910 | /**
|
6911 | * Gets the default type url for CommitResponse
|
6912 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
6913 | * @returns The default type url
|
6914 | */
|
6915 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
6916 | }
|
6917 |
|
6918 | /** Properties of an AllocateIdsRequest. */
|
6919 | interface IAllocateIdsRequest {
|
6920 |
|
6921 | /** AllocateIdsRequest projectId */
|
6922 | projectId?: (string|null);
|
6923 |
|
6924 | /** AllocateIdsRequest databaseId */
|
6925 | databaseId?: (string|null);
|
6926 |
|
6927 | /** AllocateIdsRequest keys */
|
6928 | keys?: (google.datastore.v1.IKey[]|null);
|
6929 | }
|
6930 |
|
6931 | /** Represents an AllocateIdsRequest. */
|
6932 | class AllocateIdsRequest implements IAllocateIdsRequest {
|
6933 |
|
6934 | /**
|
6935 | * Constructs a new AllocateIdsRequest.
|
6936 | * @param [properties] Properties to set
|
6937 | */
|
6938 | constructor(properties?: google.datastore.v1.IAllocateIdsRequest);
|
6939 |
|
6940 | /** AllocateIdsRequest projectId. */
|
6941 | public projectId: string;
|
6942 |
|
6943 | /** AllocateIdsRequest databaseId. */
|
6944 | public databaseId: string;
|
6945 |
|
6946 | /** AllocateIdsRequest keys. */
|
6947 | public keys: google.datastore.v1.IKey[];
|
6948 |
|
6949 | /**
|
6950 | * Creates a new AllocateIdsRequest instance using the specified properties.
|
6951 | * @param [properties] Properties to set
|
6952 | * @returns AllocateIdsRequest instance
|
6953 | */
|
6954 | public static create(properties?: google.datastore.v1.IAllocateIdsRequest): google.datastore.v1.AllocateIdsRequest;
|
6955 |
|
6956 | /**
|
6957 | * Encodes the specified AllocateIdsRequest message. Does not implicitly { google.datastore.v1.AllocateIdsRequest.verify|verify} messages.
|
6958 | * message AllocateIdsRequest message or plain object to encode
|
6959 | * [writer] Writer to encode to
|
6960 | * Writer
|
6961 | */
|
6962 | public static encode(message: google.datastore.v1.IAllocateIdsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6963 |
|
6964 | /**
|
6965 | * Encodes the specified AllocateIdsRequest message, length delimited. Does not implicitly {@link google.datastore.v1.AllocateIdsRequest.verify|verify} messages.
|
6966 | * @param message AllocateIdsRequest message or plain object to encode
|
6967 | * @param [writer] Writer to encode to
|
6968 | * @returns Writer
|
6969 | */
|
6970 | public static encodeDelimited(message: google.datastore.v1.IAllocateIdsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
6971 |
|
6972 | /**
|
6973 | * Decodes an AllocateIdsRequest message from the specified reader or buffer.
|
6974 | * @param reader Reader or buffer to decode from
|
6975 | * @param [length] Message length if known beforehand
|
6976 | * @returns AllocateIdsRequest
|
6977 | * @throws {Error} If the payload is not a reader or valid buffer
|
6978 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6979 | */
|
6980 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AllocateIdsRequest;
|
6981 |
|
6982 | /**
|
6983 | * Decodes an AllocateIdsRequest message from the specified reader or buffer, length delimited.
|
6984 | * @param reader Reader or buffer to decode from
|
6985 | * @returns AllocateIdsRequest
|
6986 | * @throws {Error} If the payload is not a reader or valid buffer
|
6987 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
6988 | */
|
6989 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AllocateIdsRequest;
|
6990 |
|
6991 | /**
|
6992 | * Verifies an AllocateIdsRequest message.
|
6993 | * @param message Plain object to verify
|
6994 | * @returns `null` if valid, otherwise the reason why it is not
|
6995 | */
|
6996 | public static verify(message: { [k: string]: any }): (string|null);
|
6997 |
|
6998 | /**
|
6999 | * Creates an AllocateIdsRequest message from a plain object. Also converts values to their respective internal types.
|
7000 | * @param object Plain object
|
7001 | * @returns AllocateIdsRequest
|
7002 | */
|
7003 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AllocateIdsRequest;
|
7004 |
|
7005 | /**
|
7006 | * Creates a plain object from an AllocateIdsRequest message. Also converts values to other types if specified.
|
7007 | * @param message AllocateIdsRequest
|
7008 | * @param [options] Conversion options
|
7009 | * @returns Plain object
|
7010 | */
|
7011 | public static toObject(message: google.datastore.v1.AllocateIdsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7012 |
|
7013 | /**
|
7014 | * Converts this AllocateIdsRequest to JSON.
|
7015 | * @returns JSON object
|
7016 | */
|
7017 | public toJSON(): { [k: string]: any };
|
7018 |
|
7019 | /**
|
7020 | * Gets the default type url for AllocateIdsRequest
|
7021 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7022 | * @returns The default type url
|
7023 | */
|
7024 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7025 | }
|
7026 |
|
7027 | /** Properties of an AllocateIdsResponse. */
|
7028 | interface IAllocateIdsResponse {
|
7029 |
|
7030 | /** AllocateIdsResponse keys */
|
7031 | keys?: (google.datastore.v1.IKey[]|null);
|
7032 | }
|
7033 |
|
7034 | /** Represents an AllocateIdsResponse. */
|
7035 | class AllocateIdsResponse implements IAllocateIdsResponse {
|
7036 |
|
7037 | /**
|
7038 | * Constructs a new AllocateIdsResponse.
|
7039 | * @param [properties] Properties to set
|
7040 | */
|
7041 | constructor(properties?: google.datastore.v1.IAllocateIdsResponse);
|
7042 |
|
7043 | /** AllocateIdsResponse keys. */
|
7044 | public keys: google.datastore.v1.IKey[];
|
7045 |
|
7046 | /**
|
7047 | * Creates a new AllocateIdsResponse instance using the specified properties.
|
7048 | * @param [properties] Properties to set
|
7049 | * @returns AllocateIdsResponse instance
|
7050 | */
|
7051 | public static create(properties?: google.datastore.v1.IAllocateIdsResponse): google.datastore.v1.AllocateIdsResponse;
|
7052 |
|
7053 | /**
|
7054 | * Encodes the specified AllocateIdsResponse message. Does not implicitly { google.datastore.v1.AllocateIdsResponse.verify|verify} messages.
|
7055 | * message AllocateIdsResponse message or plain object to encode
|
7056 | * [writer] Writer to encode to
|
7057 | * Writer
|
7058 | */
|
7059 | public static encode(message: google.datastore.v1.IAllocateIdsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
7060 |
|
7061 | /**
|
7062 | * Encodes the specified AllocateIdsResponse message, length delimited. Does not implicitly {@link google.datastore.v1.AllocateIdsResponse.verify|verify} messages.
|
7063 | * @param message AllocateIdsResponse message or plain object to encode
|
7064 | * @param [writer] Writer to encode to
|
7065 | * @returns Writer
|
7066 | */
|
7067 | public static encodeDelimited(message: google.datastore.v1.IAllocateIdsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
7068 |
|
7069 | /**
|
7070 | * Decodes an AllocateIdsResponse message from the specified reader or buffer.
|
7071 | * @param reader Reader or buffer to decode from
|
7072 | * @param [length] Message length if known beforehand
|
7073 | * @returns AllocateIdsResponse
|
7074 | * @throws {Error} If the payload is not a reader or valid buffer
|
7075 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7076 | */
|
7077 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.AllocateIdsResponse;
|
7078 |
|
7079 | /**
|
7080 | * Decodes an AllocateIdsResponse message from the specified reader or buffer, length delimited.
|
7081 | * @param reader Reader or buffer to decode from
|
7082 | * @returns AllocateIdsResponse
|
7083 | * @throws {Error} If the payload is not a reader or valid buffer
|
7084 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7085 | */
|
7086 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.AllocateIdsResponse;
|
7087 |
|
7088 | /**
|
7089 | * Verifies an AllocateIdsResponse message.
|
7090 | * @param message Plain object to verify
|
7091 | * @returns `null` if valid, otherwise the reason why it is not
|
7092 | */
|
7093 | public static verify(message: { [k: string]: any }): (string|null);
|
7094 |
|
7095 | /**
|
7096 | * Creates an AllocateIdsResponse message from a plain object. Also converts values to their respective internal types.
|
7097 | * @param object Plain object
|
7098 | * @returns AllocateIdsResponse
|
7099 | */
|
7100 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.AllocateIdsResponse;
|
7101 |
|
7102 | /**
|
7103 | * Creates a plain object from an AllocateIdsResponse message. Also converts values to other types if specified.
|
7104 | * @param message AllocateIdsResponse
|
7105 | * @param [options] Conversion options
|
7106 | * @returns Plain object
|
7107 | */
|
7108 | public static toObject(message: google.datastore.v1.AllocateIdsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7109 |
|
7110 | /**
|
7111 | * Converts this AllocateIdsResponse to JSON.
|
7112 | * @returns JSON object
|
7113 | */
|
7114 | public toJSON(): { [k: string]: any };
|
7115 |
|
7116 | /**
|
7117 | * Gets the default type url for AllocateIdsResponse
|
7118 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7119 | * @returns The default type url
|
7120 | */
|
7121 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7122 | }
|
7123 |
|
7124 | /** Properties of a ReserveIdsRequest. */
|
7125 | interface IReserveIdsRequest {
|
7126 |
|
7127 | /** ReserveIdsRequest projectId */
|
7128 | projectId?: (string|null);
|
7129 |
|
7130 | /** ReserveIdsRequest databaseId */
|
7131 | databaseId?: (string|null);
|
7132 |
|
7133 | /** ReserveIdsRequest keys */
|
7134 | keys?: (google.datastore.v1.IKey[]|null);
|
7135 | }
|
7136 |
|
7137 | /** Represents a ReserveIdsRequest. */
|
7138 | class ReserveIdsRequest implements IReserveIdsRequest {
|
7139 |
|
7140 | /**
|
7141 | * Constructs a new ReserveIdsRequest.
|
7142 | * @param [properties] Properties to set
|
7143 | */
|
7144 | constructor(properties?: google.datastore.v1.IReserveIdsRequest);
|
7145 |
|
7146 | /** ReserveIdsRequest projectId. */
|
7147 | public projectId: string;
|
7148 |
|
7149 | /** ReserveIdsRequest databaseId. */
|
7150 | public databaseId: string;
|
7151 |
|
7152 | /** ReserveIdsRequest keys. */
|
7153 | public keys: google.datastore.v1.IKey[];
|
7154 |
|
7155 | /**
|
7156 | * Creates a new ReserveIdsRequest instance using the specified properties.
|
7157 | * @param [properties] Properties to set
|
7158 | * @returns ReserveIdsRequest instance
|
7159 | */
|
7160 | public static create(properties?: google.datastore.v1.IReserveIdsRequest): google.datastore.v1.ReserveIdsRequest;
|
7161 |
|
7162 | /**
|
7163 | * Encodes the specified ReserveIdsRequest message. Does not implicitly { google.datastore.v1.ReserveIdsRequest.verify|verify} messages.
|
7164 | * message ReserveIdsRequest message or plain object to encode
|
7165 | * [writer] Writer to encode to
|
7166 | * Writer
|
7167 | */
|
7168 | public static encode(message: google.datastore.v1.IReserveIdsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
7169 |
|
7170 | /**
|
7171 | * Encodes the specified ReserveIdsRequest message, length delimited. Does not implicitly {@link google.datastore.v1.ReserveIdsRequest.verify|verify} messages.
|
7172 | * @param message ReserveIdsRequest message or plain object to encode
|
7173 | * @param [writer] Writer to encode to
|
7174 | * @returns Writer
|
7175 | */
|
7176 | public static encodeDelimited(message: google.datastore.v1.IReserveIdsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
7177 |
|
7178 | /**
|
7179 | * Decodes a ReserveIdsRequest message from the specified reader or buffer.
|
7180 | * @param reader Reader or buffer to decode from
|
7181 | * @param [length] Message length if known beforehand
|
7182 | * @returns ReserveIdsRequest
|
7183 | * @throws {Error} If the payload is not a reader or valid buffer
|
7184 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7185 | */
|
7186 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.ReserveIdsRequest;
|
7187 |
|
7188 | /**
|
7189 | * Decodes a ReserveIdsRequest message from the specified reader or buffer, length delimited.
|
7190 | * @param reader Reader or buffer to decode from
|
7191 | * @returns ReserveIdsRequest
|
7192 | * @throws {Error} If the payload is not a reader or valid buffer
|
7193 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7194 | */
|
7195 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.ReserveIdsRequest;
|
7196 |
|
7197 | /**
|
7198 | * Verifies a ReserveIdsRequest message.
|
7199 | * @param message Plain object to verify
|
7200 | * @returns `null` if valid, otherwise the reason why it is not
|
7201 | */
|
7202 | public static verify(message: { [k: string]: any }): (string|null);
|
7203 |
|
7204 | /**
|
7205 | * Creates a ReserveIdsRequest message from a plain object. Also converts values to their respective internal types.
|
7206 | * @param object Plain object
|
7207 | * @returns ReserveIdsRequest
|
7208 | */
|
7209 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.ReserveIdsRequest;
|
7210 |
|
7211 | /**
|
7212 | * Creates a plain object from a ReserveIdsRequest message. Also converts values to other types if specified.
|
7213 | * @param message ReserveIdsRequest
|
7214 | * @param [options] Conversion options
|
7215 | * @returns Plain object
|
7216 | */
|
7217 | public static toObject(message: google.datastore.v1.ReserveIdsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7218 |
|
7219 | /**
|
7220 | * Converts this ReserveIdsRequest to JSON.
|
7221 | * @returns JSON object
|
7222 | */
|
7223 | public toJSON(): { [k: string]: any };
|
7224 |
|
7225 | /**
|
7226 | * Gets the default type url for ReserveIdsRequest
|
7227 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7228 | * @returns The default type url
|
7229 | */
|
7230 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7231 | }
|
7232 |
|
7233 | /** Properties of a ReserveIdsResponse. */
|
7234 | interface IReserveIdsResponse {
|
7235 | }
|
7236 |
|
7237 | /** Represents a ReserveIdsResponse. */
|
7238 | class ReserveIdsResponse implements IReserveIdsResponse {
|
7239 |
|
7240 | /**
|
7241 | * Constructs a new ReserveIdsResponse.
|
7242 | * @param [properties] Properties to set
|
7243 | */
|
7244 | constructor(properties?: google.datastore.v1.IReserveIdsResponse);
|
7245 |
|
7246 | /**
|
7247 | * Creates a new ReserveIdsResponse instance using the specified properties.
|
7248 | * @param [properties] Properties to set
|
7249 | * @returns ReserveIdsResponse instance
|
7250 | */
|
7251 | public static create(properties?: google.datastore.v1.IReserveIdsResponse): google.datastore.v1.ReserveIdsResponse;
|
7252 |
|
7253 | /**
|
7254 | * Encodes the specified ReserveIdsResponse message. Does not implicitly { google.datastore.v1.ReserveIdsResponse.verify|verify} messages.
|
7255 | * message ReserveIdsResponse message or plain object to encode
|
7256 | * [writer] Writer to encode to
|
7257 | * Writer
|
7258 | */
|
7259 | public static encode(message: google.datastore.v1.IReserveIdsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
7260 |
|
7261 | /**
|
7262 | * Encodes the specified ReserveIdsResponse message, length delimited. Does not implicitly {@link google.datastore.v1.ReserveIdsResponse.verify|verify} messages.
|
7263 | * @param message ReserveIdsResponse message or plain object to encode
|
7264 | * @param [writer] Writer to encode to
|
7265 | * @returns Writer
|
7266 | */
|
7267 | public static encodeDelimited(message: google.datastore.v1.IReserveIdsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
7268 |
|
7269 | /**
|
7270 | * Decodes a ReserveIdsResponse message from the specified reader or buffer.
|
7271 | * @param reader Reader or buffer to decode from
|
7272 | * @param [length] Message length if known beforehand
|
7273 | * @returns ReserveIdsResponse
|
7274 | * @throws {Error} If the payload is not a reader or valid buffer
|
7275 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7276 | */
|
7277 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.ReserveIdsResponse;
|
7278 |
|
7279 | /**
|
7280 | * Decodes a ReserveIdsResponse message from the specified reader or buffer, length delimited.
|
7281 | * @param reader Reader or buffer to decode from
|
7282 | * @returns ReserveIdsResponse
|
7283 | * @throws {Error} If the payload is not a reader or valid buffer
|
7284 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7285 | */
|
7286 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.ReserveIdsResponse;
|
7287 |
|
7288 | /**
|
7289 | * Verifies a ReserveIdsResponse message.
|
7290 | * @param message Plain object to verify
|
7291 | * @returns `null` if valid, otherwise the reason why it is not
|
7292 | */
|
7293 | public static verify(message: { [k: string]: any }): (string|null);
|
7294 |
|
7295 | /**
|
7296 | * Creates a ReserveIdsResponse message from a plain object. Also converts values to their respective internal types.
|
7297 | * @param object Plain object
|
7298 | * @returns ReserveIdsResponse
|
7299 | */
|
7300 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.ReserveIdsResponse;
|
7301 |
|
7302 | /**
|
7303 | * Creates a plain object from a ReserveIdsResponse message. Also converts values to other types if specified.
|
7304 | * @param message ReserveIdsResponse
|
7305 | * @param [options] Conversion options
|
7306 | * @returns Plain object
|
7307 | */
|
7308 | public static toObject(message: google.datastore.v1.ReserveIdsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7309 |
|
7310 | /**
|
7311 | * Converts this ReserveIdsResponse to JSON.
|
7312 | * @returns JSON object
|
7313 | */
|
7314 | public toJSON(): { [k: string]: any };
|
7315 |
|
7316 | /**
|
7317 | * Gets the default type url for ReserveIdsResponse
|
7318 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7319 | * @returns The default type url
|
7320 | */
|
7321 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7322 | }
|
7323 |
|
7324 | /** Properties of a Mutation. */
|
7325 | interface IMutation {
|
7326 |
|
7327 | /** Mutation insert */
|
7328 | insert?: (google.datastore.v1.IEntity|null);
|
7329 |
|
7330 | /** Mutation update */
|
7331 | update?: (google.datastore.v1.IEntity|null);
|
7332 |
|
7333 | /** Mutation upsert */
|
7334 | upsert?: (google.datastore.v1.IEntity|null);
|
7335 |
|
7336 | /** Mutation delete */
|
7337 | "delete"?: (google.datastore.v1.IKey|null);
|
7338 |
|
7339 | /** Mutation baseVersion */
|
7340 | baseVersion?: (number|Long|string|null);
|
7341 |
|
7342 | /** Mutation updateTime */
|
7343 | updateTime?: (google.protobuf.ITimestamp|null);
|
7344 | }
|
7345 |
|
7346 | /** Represents a Mutation. */
|
7347 | class Mutation implements IMutation {
|
7348 |
|
7349 | /**
|
7350 | * Constructs a new Mutation.
|
7351 | * @param [properties] Properties to set
|
7352 | */
|
7353 | constructor(properties?: google.datastore.v1.IMutation);
|
7354 |
|
7355 | /** Mutation insert. */
|
7356 | public insert?: (google.datastore.v1.IEntity|null);
|
7357 |
|
7358 | /** Mutation update. */
|
7359 | public update?: (google.datastore.v1.IEntity|null);
|
7360 |
|
7361 | /** Mutation upsert. */
|
7362 | public upsert?: (google.datastore.v1.IEntity|null);
|
7363 |
|
7364 | /** Mutation delete. */
|
7365 | public delete?: (google.datastore.v1.IKey|null);
|
7366 |
|
7367 | /** Mutation baseVersion. */
|
7368 | public baseVersion?: (number|Long|string|null);
|
7369 |
|
7370 | /** Mutation updateTime. */
|
7371 | public updateTime?: (google.protobuf.ITimestamp|null);
|
7372 |
|
7373 | /** Mutation operation. */
|
7374 | public operation?: ("insert"|"update"|"upsert"|"delete");
|
7375 |
|
7376 | /** Mutation conflictDetectionStrategy. */
|
7377 | public conflictDetectionStrategy?: ("baseVersion"|"updateTime");
|
7378 |
|
7379 | /**
|
7380 | * Creates a new Mutation instance using the specified properties.
|
7381 | * @param [properties] Properties to set
|
7382 | * @returns Mutation instance
|
7383 | */
|
7384 | public static create(properties?: google.datastore.v1.IMutation): google.datastore.v1.Mutation;
|
7385 |
|
7386 | /**
|
7387 | * Encodes the specified Mutation message. Does not implicitly { google.datastore.v1.Mutation.verify|verify} messages.
|
7388 | * message Mutation message or plain object to encode
|
7389 | * [writer] Writer to encode to
|
7390 | * Writer
|
7391 | */
|
7392 | public static encode(message: google.datastore.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
|
7393 |
|
7394 | /**
|
7395 | * Encodes the specified Mutation message, length delimited. Does not implicitly {@link google.datastore.v1.Mutation.verify|verify} messages.
|
7396 | * @param message Mutation message or plain object to encode
|
7397 | * @param [writer] Writer to encode to
|
7398 | * @returns Writer
|
7399 | */
|
7400 | public static encodeDelimited(message: google.datastore.v1.IMutation, writer?: $protobuf.Writer): $protobuf.Writer;
|
7401 |
|
7402 | /**
|
7403 | * Decodes a Mutation message from the specified reader or buffer.
|
7404 | * @param reader Reader or buffer to decode from
|
7405 | * @param [length] Message length if known beforehand
|
7406 | * @returns Mutation
|
7407 | * @throws {Error} If the payload is not a reader or valid buffer
|
7408 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7409 | */
|
7410 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.Mutation;
|
7411 |
|
7412 | /**
|
7413 | * Decodes a Mutation message from the specified reader or buffer, length delimited.
|
7414 | * @param reader Reader or buffer to decode from
|
7415 | * @returns Mutation
|
7416 | * @throws {Error} If the payload is not a reader or valid buffer
|
7417 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7418 | */
|
7419 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.Mutation;
|
7420 |
|
7421 | /**
|
7422 | * Verifies a Mutation message.
|
7423 | * @param message Plain object to verify
|
7424 | * @returns `null` if valid, otherwise the reason why it is not
|
7425 | */
|
7426 | public static verify(message: { [k: string]: any }): (string|null);
|
7427 |
|
7428 | /**
|
7429 | * Creates a Mutation message from a plain object. Also converts values to their respective internal types.
|
7430 | * @param object Plain object
|
7431 | * @returns Mutation
|
7432 | */
|
7433 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.Mutation;
|
7434 |
|
7435 | /**
|
7436 | * Creates a plain object from a Mutation message. Also converts values to other types if specified.
|
7437 | * @param message Mutation
|
7438 | * @param [options] Conversion options
|
7439 | * @returns Plain object
|
7440 | */
|
7441 | public static toObject(message: google.datastore.v1.Mutation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7442 |
|
7443 | /**
|
7444 | * Converts this Mutation to JSON.
|
7445 | * @returns JSON object
|
7446 | */
|
7447 | public toJSON(): { [k: string]: any };
|
7448 |
|
7449 | /**
|
7450 | * Gets the default type url for Mutation
|
7451 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7452 | * @returns The default type url
|
7453 | */
|
7454 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7455 | }
|
7456 |
|
7457 | /** Properties of a MutationResult. */
|
7458 | interface IMutationResult {
|
7459 |
|
7460 | /** MutationResult key */
|
7461 | key?: (google.datastore.v1.IKey|null);
|
7462 |
|
7463 | /** MutationResult version */
|
7464 | version?: (number|Long|string|null);
|
7465 |
|
7466 | /** MutationResult createTime */
|
7467 | createTime?: (google.protobuf.ITimestamp|null);
|
7468 |
|
7469 | /** MutationResult updateTime */
|
7470 | updateTime?: (google.protobuf.ITimestamp|null);
|
7471 |
|
7472 | /** MutationResult conflictDetected */
|
7473 | conflictDetected?: (boolean|null);
|
7474 | }
|
7475 |
|
7476 | /** Represents a MutationResult. */
|
7477 | class MutationResult implements IMutationResult {
|
7478 |
|
7479 | /**
|
7480 | * Constructs a new MutationResult.
|
7481 | * @param [properties] Properties to set
|
7482 | */
|
7483 | constructor(properties?: google.datastore.v1.IMutationResult);
|
7484 |
|
7485 | /** MutationResult key. */
|
7486 | public key?: (google.datastore.v1.IKey|null);
|
7487 |
|
7488 | /** MutationResult version. */
|
7489 | public version: (number|Long|string);
|
7490 |
|
7491 | /** MutationResult createTime. */
|
7492 | public createTime?: (google.protobuf.ITimestamp|null);
|
7493 |
|
7494 | /** MutationResult updateTime. */
|
7495 | public updateTime?: (google.protobuf.ITimestamp|null);
|
7496 |
|
7497 | /** MutationResult conflictDetected. */
|
7498 | public conflictDetected: boolean;
|
7499 |
|
7500 | /**
|
7501 | * Creates a new MutationResult instance using the specified properties.
|
7502 | * @param [properties] Properties to set
|
7503 | * @returns MutationResult instance
|
7504 | */
|
7505 | public static create(properties?: google.datastore.v1.IMutationResult): google.datastore.v1.MutationResult;
|
7506 |
|
7507 | /**
|
7508 | * Encodes the specified MutationResult message. Does not implicitly { google.datastore.v1.MutationResult.verify|verify} messages.
|
7509 | * message MutationResult message or plain object to encode
|
7510 | * [writer] Writer to encode to
|
7511 | * Writer
|
7512 | */
|
7513 | public static encode(message: google.datastore.v1.IMutationResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
7514 |
|
7515 | /**
|
7516 | * Encodes the specified MutationResult message, length delimited. Does not implicitly {@link google.datastore.v1.MutationResult.verify|verify} messages.
|
7517 | * @param message MutationResult message or plain object to encode
|
7518 | * @param [writer] Writer to encode to
|
7519 | * @returns Writer
|
7520 | */
|
7521 | public static encodeDelimited(message: google.datastore.v1.IMutationResult, writer?: $protobuf.Writer): $protobuf.Writer;
|
7522 |
|
7523 | /**
|
7524 | * Decodes a MutationResult message from the specified reader or buffer.
|
7525 | * @param reader Reader or buffer to decode from
|
7526 | * @param [length] Message length if known beforehand
|
7527 | * @returns MutationResult
|
7528 | * @throws {Error} If the payload is not a reader or valid buffer
|
7529 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7530 | */
|
7531 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.MutationResult;
|
7532 |
|
7533 | /**
|
7534 | * Decodes a MutationResult message from the specified reader or buffer, length delimited.
|
7535 | * @param reader Reader or buffer to decode from
|
7536 | * @returns MutationResult
|
7537 | * @throws {Error} If the payload is not a reader or valid buffer
|
7538 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7539 | */
|
7540 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.MutationResult;
|
7541 |
|
7542 | /**
|
7543 | * Verifies a MutationResult message.
|
7544 | * @param message Plain object to verify
|
7545 | * @returns `null` if valid, otherwise the reason why it is not
|
7546 | */
|
7547 | public static verify(message: { [k: string]: any }): (string|null);
|
7548 |
|
7549 | /**
|
7550 | * Creates a MutationResult message from a plain object. Also converts values to their respective internal types.
|
7551 | * @param object Plain object
|
7552 | * @returns MutationResult
|
7553 | */
|
7554 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.MutationResult;
|
7555 |
|
7556 | /**
|
7557 | * Creates a plain object from a MutationResult message. Also converts values to other types if specified.
|
7558 | * @param message MutationResult
|
7559 | * @param [options] Conversion options
|
7560 | * @returns Plain object
|
7561 | */
|
7562 | public static toObject(message: google.datastore.v1.MutationResult, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7563 |
|
7564 | /**
|
7565 | * Converts this MutationResult to JSON.
|
7566 | * @returns JSON object
|
7567 | */
|
7568 | public toJSON(): { [k: string]: any };
|
7569 |
|
7570 | /**
|
7571 | * Gets the default type url for MutationResult
|
7572 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7573 | * @returns The default type url
|
7574 | */
|
7575 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7576 | }
|
7577 |
|
7578 | /** Properties of a ReadOptions. */
|
7579 | interface IReadOptions {
|
7580 |
|
7581 | /** ReadOptions readConsistency */
|
7582 | readConsistency?: (google.datastore.v1.ReadOptions.ReadConsistency|keyof typeof google.datastore.v1.ReadOptions.ReadConsistency|null);
|
7583 |
|
7584 | /** ReadOptions transaction */
|
7585 | transaction?: (Uint8Array|string|null);
|
7586 |
|
7587 | /** ReadOptions newTransaction */
|
7588 | newTransaction?: (google.datastore.v1.ITransactionOptions|null);
|
7589 |
|
7590 | /** ReadOptions readTime */
|
7591 | readTime?: (google.protobuf.ITimestamp|null);
|
7592 | }
|
7593 |
|
7594 | /** Represents a ReadOptions. */
|
7595 | class ReadOptions implements IReadOptions {
|
7596 |
|
7597 | /**
|
7598 | * Constructs a new ReadOptions.
|
7599 | * @param [properties] Properties to set
|
7600 | */
|
7601 | constructor(properties?: google.datastore.v1.IReadOptions);
|
7602 |
|
7603 | /** ReadOptions readConsistency. */
|
7604 | public readConsistency?: (google.datastore.v1.ReadOptions.ReadConsistency|keyof typeof google.datastore.v1.ReadOptions.ReadConsistency|null);
|
7605 |
|
7606 | /** ReadOptions transaction. */
|
7607 | public transaction?: (Uint8Array|string|null);
|
7608 |
|
7609 | /** ReadOptions newTransaction. */
|
7610 | public newTransaction?: (google.datastore.v1.ITransactionOptions|null);
|
7611 |
|
7612 | /** ReadOptions readTime. */
|
7613 | public readTime?: (google.protobuf.ITimestamp|null);
|
7614 |
|
7615 | /** ReadOptions consistencyType. */
|
7616 | public consistencyType?: ("readConsistency"|"transaction"|"newTransaction"|"readTime");
|
7617 |
|
7618 | /**
|
7619 | * Creates a new ReadOptions instance using the specified properties.
|
7620 | * @param [properties] Properties to set
|
7621 | * @returns ReadOptions instance
|
7622 | */
|
7623 | public static create(properties?: google.datastore.v1.IReadOptions): google.datastore.v1.ReadOptions;
|
7624 |
|
7625 | /**
|
7626 | * Encodes the specified ReadOptions message. Does not implicitly { google.datastore.v1.ReadOptions.verify|verify} messages.
|
7627 | * message ReadOptions message or plain object to encode
|
7628 | * [writer] Writer to encode to
|
7629 | * Writer
|
7630 | */
|
7631 | public static encode(message: google.datastore.v1.IReadOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
7632 |
|
7633 | /**
|
7634 | * Encodes the specified ReadOptions message, length delimited. Does not implicitly {@link google.datastore.v1.ReadOptions.verify|verify} messages.
|
7635 | * @param message ReadOptions message or plain object to encode
|
7636 | * @param [writer] Writer to encode to
|
7637 | * @returns Writer
|
7638 | */
|
7639 | public static encodeDelimited(message: google.datastore.v1.IReadOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
7640 |
|
7641 | /**
|
7642 | * Decodes a ReadOptions message from the specified reader or buffer.
|
7643 | * @param reader Reader or buffer to decode from
|
7644 | * @param [length] Message length if known beforehand
|
7645 | * @returns ReadOptions
|
7646 | * @throws {Error} If the payload is not a reader or valid buffer
|
7647 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7648 | */
|
7649 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.ReadOptions;
|
7650 |
|
7651 | /**
|
7652 | * Decodes a ReadOptions message from the specified reader or buffer, length delimited.
|
7653 | * @param reader Reader or buffer to decode from
|
7654 | * @returns ReadOptions
|
7655 | * @throws {Error} If the payload is not a reader or valid buffer
|
7656 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7657 | */
|
7658 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.ReadOptions;
|
7659 |
|
7660 | /**
|
7661 | * Verifies a ReadOptions message.
|
7662 | * @param message Plain object to verify
|
7663 | * @returns `null` if valid, otherwise the reason why it is not
|
7664 | */
|
7665 | public static verify(message: { [k: string]: any }): (string|null);
|
7666 |
|
7667 | /**
|
7668 | * Creates a ReadOptions message from a plain object. Also converts values to their respective internal types.
|
7669 | * @param object Plain object
|
7670 | * @returns ReadOptions
|
7671 | */
|
7672 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.ReadOptions;
|
7673 |
|
7674 | /**
|
7675 | * Creates a plain object from a ReadOptions message. Also converts values to other types if specified.
|
7676 | * @param message ReadOptions
|
7677 | * @param [options] Conversion options
|
7678 | * @returns Plain object
|
7679 | */
|
7680 | public static toObject(message: google.datastore.v1.ReadOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7681 |
|
7682 | /**
|
7683 | * Converts this ReadOptions to JSON.
|
7684 | * @returns JSON object
|
7685 | */
|
7686 | public toJSON(): { [k: string]: any };
|
7687 |
|
7688 | /**
|
7689 | * Gets the default type url for ReadOptions
|
7690 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7691 | * @returns The default type url
|
7692 | */
|
7693 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7694 | }
|
7695 |
|
7696 | namespace ReadOptions {
|
7697 |
|
7698 | /** ReadConsistency enum. */
|
7699 | enum ReadConsistency {
|
7700 | READ_CONSISTENCY_UNSPECIFIED = 0,
|
7701 | STRONG = 1,
|
7702 | EVENTUAL = 2
|
7703 | }
|
7704 | }
|
7705 |
|
7706 | /** Properties of a TransactionOptions. */
|
7707 | interface ITransactionOptions {
|
7708 |
|
7709 | /** TransactionOptions readWrite */
|
7710 | readWrite?: (google.datastore.v1.TransactionOptions.IReadWrite|null);
|
7711 |
|
7712 | /** TransactionOptions readOnly */
|
7713 | readOnly?: (google.datastore.v1.TransactionOptions.IReadOnly|null);
|
7714 | }
|
7715 |
|
7716 | /** Represents a TransactionOptions. */
|
7717 | class TransactionOptions implements ITransactionOptions {
|
7718 |
|
7719 | /**
|
7720 | * Constructs a new TransactionOptions.
|
7721 | * @param [properties] Properties to set
|
7722 | */
|
7723 | constructor(properties?: google.datastore.v1.ITransactionOptions);
|
7724 |
|
7725 | /** TransactionOptions readWrite. */
|
7726 | public readWrite?: (google.datastore.v1.TransactionOptions.IReadWrite|null);
|
7727 |
|
7728 | /** TransactionOptions readOnly. */
|
7729 | public readOnly?: (google.datastore.v1.TransactionOptions.IReadOnly|null);
|
7730 |
|
7731 | /** TransactionOptions mode. */
|
7732 | public mode?: ("readWrite"|"readOnly");
|
7733 |
|
7734 | /**
|
7735 | * Creates a new TransactionOptions instance using the specified properties.
|
7736 | * @param [properties] Properties to set
|
7737 | * @returns TransactionOptions instance
|
7738 | */
|
7739 | public static create(properties?: google.datastore.v1.ITransactionOptions): google.datastore.v1.TransactionOptions;
|
7740 |
|
7741 | /**
|
7742 | * Encodes the specified TransactionOptions message. Does not implicitly { google.datastore.v1.TransactionOptions.verify|verify} messages.
|
7743 | * message TransactionOptions message or plain object to encode
|
7744 | * [writer] Writer to encode to
|
7745 | * Writer
|
7746 | */
|
7747 | public static encode(message: google.datastore.v1.ITransactionOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
7748 |
|
7749 | /**
|
7750 | * Encodes the specified TransactionOptions message, length delimited. Does not implicitly {@link google.datastore.v1.TransactionOptions.verify|verify} messages.
|
7751 | * @param message TransactionOptions message or plain object to encode
|
7752 | * @param [writer] Writer to encode to
|
7753 | * @returns Writer
|
7754 | */
|
7755 | public static encodeDelimited(message: google.datastore.v1.ITransactionOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
7756 |
|
7757 | /**
|
7758 | * Decodes a TransactionOptions message from the specified reader or buffer.
|
7759 | * @param reader Reader or buffer to decode from
|
7760 | * @param [length] Message length if known beforehand
|
7761 | * @returns TransactionOptions
|
7762 | * @throws {Error} If the payload is not a reader or valid buffer
|
7763 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7764 | */
|
7765 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.TransactionOptions;
|
7766 |
|
7767 | /**
|
7768 | * Decodes a TransactionOptions message from the specified reader or buffer, length delimited.
|
7769 | * @param reader Reader or buffer to decode from
|
7770 | * @returns TransactionOptions
|
7771 | * @throws {Error} If the payload is not a reader or valid buffer
|
7772 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7773 | */
|
7774 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.TransactionOptions;
|
7775 |
|
7776 | /**
|
7777 | * Verifies a TransactionOptions message.
|
7778 | * @param message Plain object to verify
|
7779 | * @returns `null` if valid, otherwise the reason why it is not
|
7780 | */
|
7781 | public static verify(message: { [k: string]: any }): (string|null);
|
7782 |
|
7783 | /**
|
7784 | * Creates a TransactionOptions message from a plain object. Also converts values to their respective internal types.
|
7785 | * @param object Plain object
|
7786 | * @returns TransactionOptions
|
7787 | */
|
7788 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.TransactionOptions;
|
7789 |
|
7790 | /**
|
7791 | * Creates a plain object from a TransactionOptions message. Also converts values to other types if specified.
|
7792 | * @param message TransactionOptions
|
7793 | * @param [options] Conversion options
|
7794 | * @returns Plain object
|
7795 | */
|
7796 | public static toObject(message: google.datastore.v1.TransactionOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7797 |
|
7798 | /**
|
7799 | * Converts this TransactionOptions to JSON.
|
7800 | * @returns JSON object
|
7801 | */
|
7802 | public toJSON(): { [k: string]: any };
|
7803 |
|
7804 | /**
|
7805 | * Gets the default type url for TransactionOptions
|
7806 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7807 | * @returns The default type url
|
7808 | */
|
7809 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7810 | }
|
7811 |
|
7812 | namespace TransactionOptions {
|
7813 |
|
7814 | /** Properties of a ReadWrite. */
|
7815 | interface IReadWrite {
|
7816 |
|
7817 | /** ReadWrite previousTransaction */
|
7818 | previousTransaction?: (Uint8Array|string|null);
|
7819 | }
|
7820 |
|
7821 | /** Represents a ReadWrite. */
|
7822 | class ReadWrite implements IReadWrite {
|
7823 |
|
7824 | /**
|
7825 | * Constructs a new ReadWrite.
|
7826 | * @param [properties] Properties to set
|
7827 | */
|
7828 | constructor(properties?: google.datastore.v1.TransactionOptions.IReadWrite);
|
7829 |
|
7830 | /** ReadWrite previousTransaction. */
|
7831 | public previousTransaction: (Uint8Array|string);
|
7832 |
|
7833 | /**
|
7834 | * Creates a new ReadWrite instance using the specified properties.
|
7835 | * @param [properties] Properties to set
|
7836 | * @returns ReadWrite instance
|
7837 | */
|
7838 | public static create(properties?: google.datastore.v1.TransactionOptions.IReadWrite): google.datastore.v1.TransactionOptions.ReadWrite;
|
7839 |
|
7840 | /**
|
7841 | * Encodes the specified ReadWrite message. Does not implicitly { google.datastore.v1.TransactionOptions.ReadWrite.verify|verify} messages.
|
7842 | * message ReadWrite message or plain object to encode
|
7843 | * [writer] Writer to encode to
|
7844 | * Writer
|
7845 | */
|
7846 | public static encode(message: google.datastore.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
7847 |
|
7848 | /**
|
7849 | * Encodes the specified ReadWrite message, length delimited. Does not implicitly {@link google.datastore.v1.TransactionOptions.ReadWrite.verify|verify} messages.
|
7850 | * @param message ReadWrite message or plain object to encode
|
7851 | * @param [writer] Writer to encode to
|
7852 | * @returns Writer
|
7853 | */
|
7854 | public static encodeDelimited(message: google.datastore.v1.TransactionOptions.IReadWrite, writer?: $protobuf.Writer): $protobuf.Writer;
|
7855 |
|
7856 | /**
|
7857 | * Decodes a ReadWrite message from the specified reader or buffer.
|
7858 | * @param reader Reader or buffer to decode from
|
7859 | * @param [length] Message length if known beforehand
|
7860 | * @returns ReadWrite
|
7861 | * @throws {Error} If the payload is not a reader or valid buffer
|
7862 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7863 | */
|
7864 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.TransactionOptions.ReadWrite;
|
7865 |
|
7866 | /**
|
7867 | * Decodes a ReadWrite message from the specified reader or buffer, length delimited.
|
7868 | * @param reader Reader or buffer to decode from
|
7869 | * @returns ReadWrite
|
7870 | * @throws {Error} If the payload is not a reader or valid buffer
|
7871 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7872 | */
|
7873 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.TransactionOptions.ReadWrite;
|
7874 |
|
7875 | /**
|
7876 | * Verifies a ReadWrite message.
|
7877 | * @param message Plain object to verify
|
7878 | * @returns `null` if valid, otherwise the reason why it is not
|
7879 | */
|
7880 | public static verify(message: { [k: string]: any }): (string|null);
|
7881 |
|
7882 | /**
|
7883 | * Creates a ReadWrite message from a plain object. Also converts values to their respective internal types.
|
7884 | * @param object Plain object
|
7885 | * @returns ReadWrite
|
7886 | */
|
7887 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.TransactionOptions.ReadWrite;
|
7888 |
|
7889 | /**
|
7890 | * Creates a plain object from a ReadWrite message. Also converts values to other types if specified.
|
7891 | * @param message ReadWrite
|
7892 | * @param [options] Conversion options
|
7893 | * @returns Plain object
|
7894 | */
|
7895 | public static toObject(message: google.datastore.v1.TransactionOptions.ReadWrite, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7896 |
|
7897 | /**
|
7898 | * Converts this ReadWrite to JSON.
|
7899 | * @returns JSON object
|
7900 | */
|
7901 | public toJSON(): { [k: string]: any };
|
7902 |
|
7903 | /**
|
7904 | * Gets the default type url for ReadWrite
|
7905 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
7906 | * @returns The default type url
|
7907 | */
|
7908 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
7909 | }
|
7910 |
|
7911 | /** Properties of a ReadOnly. */
|
7912 | interface IReadOnly {
|
7913 |
|
7914 | /** ReadOnly readTime */
|
7915 | readTime?: (google.protobuf.ITimestamp|null);
|
7916 | }
|
7917 |
|
7918 | /** Represents a ReadOnly. */
|
7919 | class ReadOnly implements IReadOnly {
|
7920 |
|
7921 | /**
|
7922 | * Constructs a new ReadOnly.
|
7923 | * @param [properties] Properties to set
|
7924 | */
|
7925 | constructor(properties?: google.datastore.v1.TransactionOptions.IReadOnly);
|
7926 |
|
7927 | /** ReadOnly readTime. */
|
7928 | public readTime?: (google.protobuf.ITimestamp|null);
|
7929 |
|
7930 | /**
|
7931 | * Creates a new ReadOnly instance using the specified properties.
|
7932 | * @param [properties] Properties to set
|
7933 | * @returns ReadOnly instance
|
7934 | */
|
7935 | public static create(properties?: google.datastore.v1.TransactionOptions.IReadOnly): google.datastore.v1.TransactionOptions.ReadOnly;
|
7936 |
|
7937 | /**
|
7938 | * Encodes the specified ReadOnly message. Does not implicitly { google.datastore.v1.TransactionOptions.ReadOnly.verify|verify} messages.
|
7939 | * message ReadOnly message or plain object to encode
|
7940 | * [writer] Writer to encode to
|
7941 | * Writer
|
7942 | */
|
7943 | public static encode(message: google.datastore.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
|
7944 |
|
7945 | /**
|
7946 | * Encodes the specified ReadOnly message, length delimited. Does not implicitly {@link google.datastore.v1.TransactionOptions.ReadOnly.verify|verify} messages.
|
7947 | * @param message ReadOnly message or plain object to encode
|
7948 | * @param [writer] Writer to encode to
|
7949 | * @returns Writer
|
7950 | */
|
7951 | public static encodeDelimited(message: google.datastore.v1.TransactionOptions.IReadOnly, writer?: $protobuf.Writer): $protobuf.Writer;
|
7952 |
|
7953 | /**
|
7954 | * Decodes a ReadOnly message from the specified reader or buffer.
|
7955 | * @param reader Reader or buffer to decode from
|
7956 | * @param [length] Message length if known beforehand
|
7957 | * @returns ReadOnly
|
7958 | * @throws {Error} If the payload is not a reader or valid buffer
|
7959 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7960 | */
|
7961 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.datastore.v1.TransactionOptions.ReadOnly;
|
7962 |
|
7963 | /**
|
7964 | * Decodes a ReadOnly message from the specified reader or buffer, length delimited.
|
7965 | * @param reader Reader or buffer to decode from
|
7966 | * @returns ReadOnly
|
7967 | * @throws {Error} If the payload is not a reader or valid buffer
|
7968 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
7969 | */
|
7970 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.datastore.v1.TransactionOptions.ReadOnly;
|
7971 |
|
7972 | /**
|
7973 | * Verifies a ReadOnly message.
|
7974 | * @param message Plain object to verify
|
7975 | * @returns `null` if valid, otherwise the reason why it is not
|
7976 | */
|
7977 | public static verify(message: { [k: string]: any }): (string|null);
|
7978 |
|
7979 | /**
|
7980 | * Creates a ReadOnly message from a plain object. Also converts values to their respective internal types.
|
7981 | * @param object Plain object
|
7982 | * @returns ReadOnly
|
7983 | */
|
7984 | public static fromObject(object: { [k: string]: any }): google.datastore.v1.TransactionOptions.ReadOnly;
|
7985 |
|
7986 | /**
|
7987 | * Creates a plain object from a ReadOnly message. Also converts values to other types if specified.
|
7988 | * @param message ReadOnly
|
7989 | * @param [options] Conversion options
|
7990 | * @returns Plain object
|
7991 | */
|
7992 | public static toObject(message: google.datastore.v1.TransactionOptions.ReadOnly, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
7993 |
|
7994 | /**
|
7995 | * Converts this ReadOnly to JSON.
|
7996 | * @returns JSON object
|
7997 | */
|
7998 | public toJSON(): { [k: string]: any };
|
7999 |
|
8000 | /**
|
8001 | * Gets the default type url for ReadOnly
|
8002 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8003 | * @returns The default type url
|
8004 | */
|
8005 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8006 | }
|
8007 | }
|
8008 | }
|
8009 | }
|
8010 |
|
8011 | /** Namespace api. */
|
8012 | namespace api {
|
8013 |
|
8014 | /** Properties of a Http. */
|
8015 | interface IHttp {
|
8016 |
|
8017 | /** Http rules */
|
8018 | rules?: (google.api.IHttpRule[]|null);
|
8019 |
|
8020 | /** Http fullyDecodeReservedExpansion */
|
8021 | fullyDecodeReservedExpansion?: (boolean|null);
|
8022 | }
|
8023 |
|
8024 | /** Represents a Http. */
|
8025 | class Http implements IHttp {
|
8026 |
|
8027 | /**
|
8028 | * Constructs a new Http.
|
8029 | * @param [properties] Properties to set
|
8030 | */
|
8031 | constructor(properties?: google.api.IHttp);
|
8032 |
|
8033 | /** Http rules. */
|
8034 | public rules: google.api.IHttpRule[];
|
8035 |
|
8036 | /** Http fullyDecodeReservedExpansion. */
|
8037 | public fullyDecodeReservedExpansion: boolean;
|
8038 |
|
8039 | /**
|
8040 | * Creates a new Http instance using the specified properties.
|
8041 | * @param [properties] Properties to set
|
8042 | * @returns Http instance
|
8043 | */
|
8044 | public static create(properties?: google.api.IHttp): google.api.Http;
|
8045 |
|
8046 | /**
|
8047 | * Encodes the specified Http message. Does not implicitly { google.api.Http.verify|verify} messages.
|
8048 | * message Http message or plain object to encode
|
8049 | * [writer] Writer to encode to
|
8050 | * Writer
|
8051 | */
|
8052 | public static encode(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
8053 |
|
8054 | /**
|
8055 | * Encodes the specified Http message, length delimited. Does not implicitly {@link google.api.Http.verify|verify} messages.
|
8056 | * @param message Http message or plain object to encode
|
8057 | * @param [writer] Writer to encode to
|
8058 | * @returns Writer
|
8059 | */
|
8060 | public static encodeDelimited(message: google.api.IHttp, writer?: $protobuf.Writer): $protobuf.Writer;
|
8061 |
|
8062 | /**
|
8063 | * Decodes a Http message from the specified reader or buffer.
|
8064 | * @param reader Reader or buffer to decode from
|
8065 | * @param [length] Message length if known beforehand
|
8066 | * @returns Http
|
8067 | * @throws {Error} If the payload is not a reader or valid buffer
|
8068 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8069 | */
|
8070 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Http;
|
8071 |
|
8072 | /**
|
8073 | * Decodes a Http message from the specified reader or buffer, length delimited.
|
8074 | * @param reader Reader or buffer to decode from
|
8075 | * @returns Http
|
8076 | * @throws {Error} If the payload is not a reader or valid buffer
|
8077 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8078 | */
|
8079 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Http;
|
8080 |
|
8081 | /**
|
8082 | * Verifies a Http message.
|
8083 | * @param message Plain object to verify
|
8084 | * @returns `null` if valid, otherwise the reason why it is not
|
8085 | */
|
8086 | public static verify(message: { [k: string]: any }): (string|null);
|
8087 |
|
8088 | /**
|
8089 | * Creates a Http message from a plain object. Also converts values to their respective internal types.
|
8090 | * @param object Plain object
|
8091 | * @returns Http
|
8092 | */
|
8093 | public static fromObject(object: { [k: string]: any }): google.api.Http;
|
8094 |
|
8095 | /**
|
8096 | * Creates a plain object from a Http message. Also converts values to other types if specified.
|
8097 | * @param message Http
|
8098 | * @param [options] Conversion options
|
8099 | * @returns Plain object
|
8100 | */
|
8101 | public static toObject(message: google.api.Http, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8102 |
|
8103 | /**
|
8104 | * Converts this Http to JSON.
|
8105 | * @returns JSON object
|
8106 | */
|
8107 | public toJSON(): { [k: string]: any };
|
8108 |
|
8109 | /**
|
8110 | * Gets the default type url for Http
|
8111 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8112 | * @returns The default type url
|
8113 | */
|
8114 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8115 | }
|
8116 |
|
8117 | /** Properties of a HttpRule. */
|
8118 | interface IHttpRule {
|
8119 |
|
8120 | /** HttpRule selector */
|
8121 | selector?: (string|null);
|
8122 |
|
8123 | /** HttpRule get */
|
8124 | get?: (string|null);
|
8125 |
|
8126 | /** HttpRule put */
|
8127 | put?: (string|null);
|
8128 |
|
8129 | /** HttpRule post */
|
8130 | post?: (string|null);
|
8131 |
|
8132 | /** HttpRule delete */
|
8133 | "delete"?: (string|null);
|
8134 |
|
8135 | /** HttpRule patch */
|
8136 | patch?: (string|null);
|
8137 |
|
8138 | /** HttpRule custom */
|
8139 | custom?: (google.api.ICustomHttpPattern|null);
|
8140 |
|
8141 | /** HttpRule body */
|
8142 | body?: (string|null);
|
8143 |
|
8144 | /** HttpRule responseBody */
|
8145 | responseBody?: (string|null);
|
8146 |
|
8147 | /** HttpRule additionalBindings */
|
8148 | additionalBindings?: (google.api.IHttpRule[]|null);
|
8149 | }
|
8150 |
|
8151 | /** Represents a HttpRule. */
|
8152 | class HttpRule implements IHttpRule {
|
8153 |
|
8154 | /**
|
8155 | * Constructs a new HttpRule.
|
8156 | * @param [properties] Properties to set
|
8157 | */
|
8158 | constructor(properties?: google.api.IHttpRule);
|
8159 |
|
8160 | /** HttpRule selector. */
|
8161 | public selector: string;
|
8162 |
|
8163 | /** HttpRule get. */
|
8164 | public get?: (string|null);
|
8165 |
|
8166 | /** HttpRule put. */
|
8167 | public put?: (string|null);
|
8168 |
|
8169 | /** HttpRule post. */
|
8170 | public post?: (string|null);
|
8171 |
|
8172 | /** HttpRule delete. */
|
8173 | public delete?: (string|null);
|
8174 |
|
8175 | /** HttpRule patch. */
|
8176 | public patch?: (string|null);
|
8177 |
|
8178 | /** HttpRule custom. */
|
8179 | public custom?: (google.api.ICustomHttpPattern|null);
|
8180 |
|
8181 | /** HttpRule body. */
|
8182 | public body: string;
|
8183 |
|
8184 | /** HttpRule responseBody. */
|
8185 | public responseBody: string;
|
8186 |
|
8187 | /** HttpRule additionalBindings. */
|
8188 | public additionalBindings: google.api.IHttpRule[];
|
8189 |
|
8190 | /** HttpRule pattern. */
|
8191 | public pattern?: ("get"|"put"|"post"|"delete"|"patch"|"custom");
|
8192 |
|
8193 | /**
|
8194 | * Creates a new HttpRule instance using the specified properties.
|
8195 | * @param [properties] Properties to set
|
8196 | * @returns HttpRule instance
|
8197 | */
|
8198 | public static create(properties?: google.api.IHttpRule): google.api.HttpRule;
|
8199 |
|
8200 | /**
|
8201 | * Encodes the specified HttpRule message. Does not implicitly { google.api.HttpRule.verify|verify} messages.
|
8202 | * message HttpRule message or plain object to encode
|
8203 | * [writer] Writer to encode to
|
8204 | * Writer
|
8205 | */
|
8206 | public static encode(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
8207 |
|
8208 | /**
|
8209 | * Encodes the specified HttpRule message, length delimited. Does not implicitly {@link google.api.HttpRule.verify|verify} messages.
|
8210 | * @param message HttpRule message or plain object to encode
|
8211 | * @param [writer] Writer to encode to
|
8212 | * @returns Writer
|
8213 | */
|
8214 | public static encodeDelimited(message: google.api.IHttpRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
8215 |
|
8216 | /**
|
8217 | * Decodes a HttpRule message from the specified reader or buffer.
|
8218 | * @param reader Reader or buffer to decode from
|
8219 | * @param [length] Message length if known beforehand
|
8220 | * @returns HttpRule
|
8221 | * @throws {Error} If the payload is not a reader or valid buffer
|
8222 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8223 | */
|
8224 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.HttpRule;
|
8225 |
|
8226 | /**
|
8227 | * Decodes a HttpRule message from the specified reader or buffer, length delimited.
|
8228 | * @param reader Reader or buffer to decode from
|
8229 | * @returns HttpRule
|
8230 | * @throws {Error} If the payload is not a reader or valid buffer
|
8231 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8232 | */
|
8233 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.HttpRule;
|
8234 |
|
8235 | /**
|
8236 | * Verifies a HttpRule message.
|
8237 | * @param message Plain object to verify
|
8238 | * @returns `null` if valid, otherwise the reason why it is not
|
8239 | */
|
8240 | public static verify(message: { [k: string]: any }): (string|null);
|
8241 |
|
8242 | /**
|
8243 | * Creates a HttpRule message from a plain object. Also converts values to their respective internal types.
|
8244 | * @param object Plain object
|
8245 | * @returns HttpRule
|
8246 | */
|
8247 | public static fromObject(object: { [k: string]: any }): google.api.HttpRule;
|
8248 |
|
8249 | /**
|
8250 | * Creates a plain object from a HttpRule message. Also converts values to other types if specified.
|
8251 | * @param message HttpRule
|
8252 | * @param [options] Conversion options
|
8253 | * @returns Plain object
|
8254 | */
|
8255 | public static toObject(message: google.api.HttpRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8256 |
|
8257 | /**
|
8258 | * Converts this HttpRule to JSON.
|
8259 | * @returns JSON object
|
8260 | */
|
8261 | public toJSON(): { [k: string]: any };
|
8262 |
|
8263 | /**
|
8264 | * Gets the default type url for HttpRule
|
8265 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8266 | * @returns The default type url
|
8267 | */
|
8268 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8269 | }
|
8270 |
|
8271 | /** Properties of a CustomHttpPattern. */
|
8272 | interface ICustomHttpPattern {
|
8273 |
|
8274 | /** CustomHttpPattern kind */
|
8275 | kind?: (string|null);
|
8276 |
|
8277 | /** CustomHttpPattern path */
|
8278 | path?: (string|null);
|
8279 | }
|
8280 |
|
8281 | /** Represents a CustomHttpPattern. */
|
8282 | class CustomHttpPattern implements ICustomHttpPattern {
|
8283 |
|
8284 | /**
|
8285 | * Constructs a new CustomHttpPattern.
|
8286 | * @param [properties] Properties to set
|
8287 | */
|
8288 | constructor(properties?: google.api.ICustomHttpPattern);
|
8289 |
|
8290 | /** CustomHttpPattern kind. */
|
8291 | public kind: string;
|
8292 |
|
8293 | /** CustomHttpPattern path. */
|
8294 | public path: string;
|
8295 |
|
8296 | /**
|
8297 | * Creates a new CustomHttpPattern instance using the specified properties.
|
8298 | * @param [properties] Properties to set
|
8299 | * @returns CustomHttpPattern instance
|
8300 | */
|
8301 | public static create(properties?: google.api.ICustomHttpPattern): google.api.CustomHttpPattern;
|
8302 |
|
8303 | /**
|
8304 | * Encodes the specified CustomHttpPattern message. Does not implicitly { google.api.CustomHttpPattern.verify|verify} messages.
|
8305 | * message CustomHttpPattern message or plain object to encode
|
8306 | * [writer] Writer to encode to
|
8307 | * Writer
|
8308 | */
|
8309 | public static encode(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
8310 |
|
8311 | /**
|
8312 | * Encodes the specified CustomHttpPattern message, length delimited. Does not implicitly {@link google.api.CustomHttpPattern.verify|verify} messages.
|
8313 | * @param message CustomHttpPattern message or plain object to encode
|
8314 | * @param [writer] Writer to encode to
|
8315 | * @returns Writer
|
8316 | */
|
8317 | public static encodeDelimited(message: google.api.ICustomHttpPattern, writer?: $protobuf.Writer): $protobuf.Writer;
|
8318 |
|
8319 | /**
|
8320 | * Decodes a CustomHttpPattern message from the specified reader or buffer.
|
8321 | * @param reader Reader or buffer to decode from
|
8322 | * @param [length] Message length if known beforehand
|
8323 | * @returns CustomHttpPattern
|
8324 | * @throws {Error} If the payload is not a reader or valid buffer
|
8325 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8326 | */
|
8327 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CustomHttpPattern;
|
8328 |
|
8329 | /**
|
8330 | * Decodes a CustomHttpPattern message from the specified reader or buffer, length delimited.
|
8331 | * @param reader Reader or buffer to decode from
|
8332 | * @returns CustomHttpPattern
|
8333 | * @throws {Error} If the payload is not a reader or valid buffer
|
8334 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8335 | */
|
8336 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CustomHttpPattern;
|
8337 |
|
8338 | /**
|
8339 | * Verifies a CustomHttpPattern message.
|
8340 | * @param message Plain object to verify
|
8341 | * @returns `null` if valid, otherwise the reason why it is not
|
8342 | */
|
8343 | public static verify(message: { [k: string]: any }): (string|null);
|
8344 |
|
8345 | /**
|
8346 | * Creates a CustomHttpPattern message from a plain object. Also converts values to their respective internal types.
|
8347 | * @param object Plain object
|
8348 | * @returns CustomHttpPattern
|
8349 | */
|
8350 | public static fromObject(object: { [k: string]: any }): google.api.CustomHttpPattern;
|
8351 |
|
8352 | /**
|
8353 | * Creates a plain object from a CustomHttpPattern message. Also converts values to other types if specified.
|
8354 | * @param message CustomHttpPattern
|
8355 | * @param [options] Conversion options
|
8356 | * @returns Plain object
|
8357 | */
|
8358 | public static toObject(message: google.api.CustomHttpPattern, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8359 |
|
8360 | /**
|
8361 | * Converts this CustomHttpPattern to JSON.
|
8362 | * @returns JSON object
|
8363 | */
|
8364 | public toJSON(): { [k: string]: any };
|
8365 |
|
8366 | /**
|
8367 | * Gets the default type url for CustomHttpPattern
|
8368 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8369 | * @returns The default type url
|
8370 | */
|
8371 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8372 | }
|
8373 |
|
8374 | /** Properties of a CommonLanguageSettings. */
|
8375 | interface ICommonLanguageSettings {
|
8376 |
|
8377 | /** CommonLanguageSettings referenceDocsUri */
|
8378 | referenceDocsUri?: (string|null);
|
8379 |
|
8380 | /** CommonLanguageSettings destinations */
|
8381 | destinations?: (google.api.ClientLibraryDestination[]|null);
|
8382 | }
|
8383 |
|
8384 | /** Represents a CommonLanguageSettings. */
|
8385 | class CommonLanguageSettings implements ICommonLanguageSettings {
|
8386 |
|
8387 | /**
|
8388 | * Constructs a new CommonLanguageSettings.
|
8389 | * @param [properties] Properties to set
|
8390 | */
|
8391 | constructor(properties?: google.api.ICommonLanguageSettings);
|
8392 |
|
8393 | /** CommonLanguageSettings referenceDocsUri. */
|
8394 | public referenceDocsUri: string;
|
8395 |
|
8396 | /** CommonLanguageSettings destinations. */
|
8397 | public destinations: google.api.ClientLibraryDestination[];
|
8398 |
|
8399 | /**
|
8400 | * Creates a new CommonLanguageSettings instance using the specified properties.
|
8401 | * @param [properties] Properties to set
|
8402 | * @returns CommonLanguageSettings instance
|
8403 | */
|
8404 | public static create(properties?: google.api.ICommonLanguageSettings): google.api.CommonLanguageSettings;
|
8405 |
|
8406 | /**
|
8407 | * Encodes the specified CommonLanguageSettings message. Does not implicitly { google.api.CommonLanguageSettings.verify|verify} messages.
|
8408 | * message CommonLanguageSettings message or plain object to encode
|
8409 | * [writer] Writer to encode to
|
8410 | * Writer
|
8411 | */
|
8412 | public static encode(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
8413 |
|
8414 | /**
|
8415 | * Encodes the specified CommonLanguageSettings message, length delimited. Does not implicitly {@link google.api.CommonLanguageSettings.verify|verify} messages.
|
8416 | * @param message CommonLanguageSettings message or plain object to encode
|
8417 | * @param [writer] Writer to encode to
|
8418 | * @returns Writer
|
8419 | */
|
8420 | public static encodeDelimited(message: google.api.ICommonLanguageSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
8421 |
|
8422 | /**
|
8423 | * Decodes a CommonLanguageSettings message from the specified reader or buffer.
|
8424 | * @param reader Reader or buffer to decode from
|
8425 | * @param [length] Message length if known beforehand
|
8426 | * @returns CommonLanguageSettings
|
8427 | * @throws {Error} If the payload is not a reader or valid buffer
|
8428 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8429 | */
|
8430 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CommonLanguageSettings;
|
8431 |
|
8432 | /**
|
8433 | * Decodes a CommonLanguageSettings message from the specified reader or buffer, length delimited.
|
8434 | * @param reader Reader or buffer to decode from
|
8435 | * @returns CommonLanguageSettings
|
8436 | * @throws {Error} If the payload is not a reader or valid buffer
|
8437 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8438 | */
|
8439 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CommonLanguageSettings;
|
8440 |
|
8441 | /**
|
8442 | * Verifies a CommonLanguageSettings message.
|
8443 | * @param message Plain object to verify
|
8444 | * @returns `null` if valid, otherwise the reason why it is not
|
8445 | */
|
8446 | public static verify(message: { [k: string]: any }): (string|null);
|
8447 |
|
8448 | /**
|
8449 | * Creates a CommonLanguageSettings message from a plain object. Also converts values to their respective internal types.
|
8450 | * @param object Plain object
|
8451 | * @returns CommonLanguageSettings
|
8452 | */
|
8453 | public static fromObject(object: { [k: string]: any }): google.api.CommonLanguageSettings;
|
8454 |
|
8455 | /**
|
8456 | * Creates a plain object from a CommonLanguageSettings message. Also converts values to other types if specified.
|
8457 | * @param message CommonLanguageSettings
|
8458 | * @param [options] Conversion options
|
8459 | * @returns Plain object
|
8460 | */
|
8461 | public static toObject(message: google.api.CommonLanguageSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8462 |
|
8463 | /**
|
8464 | * Converts this CommonLanguageSettings to JSON.
|
8465 | * @returns JSON object
|
8466 | */
|
8467 | public toJSON(): { [k: string]: any };
|
8468 |
|
8469 | /**
|
8470 | * Gets the default type url for CommonLanguageSettings
|
8471 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8472 | * @returns The default type url
|
8473 | */
|
8474 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8475 | }
|
8476 |
|
8477 | /** Properties of a ClientLibrarySettings. */
|
8478 | interface IClientLibrarySettings {
|
8479 |
|
8480 | /** ClientLibrarySettings version */
|
8481 | version?: (string|null);
|
8482 |
|
8483 | /** ClientLibrarySettings launchStage */
|
8484 | launchStage?: (google.api.LaunchStage|keyof typeof google.api.LaunchStage|null);
|
8485 |
|
8486 | /** ClientLibrarySettings restNumericEnums */
|
8487 | restNumericEnums?: (boolean|null);
|
8488 |
|
8489 | /** ClientLibrarySettings javaSettings */
|
8490 | javaSettings?: (google.api.IJavaSettings|null);
|
8491 |
|
8492 | /** ClientLibrarySettings cppSettings */
|
8493 | cppSettings?: (google.api.ICppSettings|null);
|
8494 |
|
8495 | /** ClientLibrarySettings phpSettings */
|
8496 | phpSettings?: (google.api.IPhpSettings|null);
|
8497 |
|
8498 | /** ClientLibrarySettings pythonSettings */
|
8499 | pythonSettings?: (google.api.IPythonSettings|null);
|
8500 |
|
8501 | /** ClientLibrarySettings nodeSettings */
|
8502 | nodeSettings?: (google.api.INodeSettings|null);
|
8503 |
|
8504 | /** ClientLibrarySettings dotnetSettings */
|
8505 | dotnetSettings?: (google.api.IDotnetSettings|null);
|
8506 |
|
8507 | /** ClientLibrarySettings rubySettings */
|
8508 | rubySettings?: (google.api.IRubySettings|null);
|
8509 |
|
8510 | /** ClientLibrarySettings goSettings */
|
8511 | goSettings?: (google.api.IGoSettings|null);
|
8512 | }
|
8513 |
|
8514 | /** Represents a ClientLibrarySettings. */
|
8515 | class ClientLibrarySettings implements IClientLibrarySettings {
|
8516 |
|
8517 | /**
|
8518 | * Constructs a new ClientLibrarySettings.
|
8519 | * @param [properties] Properties to set
|
8520 | */
|
8521 | constructor(properties?: google.api.IClientLibrarySettings);
|
8522 |
|
8523 | /** ClientLibrarySettings version. */
|
8524 | public version: string;
|
8525 |
|
8526 | /** ClientLibrarySettings launchStage. */
|
8527 | public launchStage: (google.api.LaunchStage|keyof typeof google.api.LaunchStage);
|
8528 |
|
8529 | /** ClientLibrarySettings restNumericEnums. */
|
8530 | public restNumericEnums: boolean;
|
8531 |
|
8532 | /** ClientLibrarySettings javaSettings. */
|
8533 | public javaSettings?: (google.api.IJavaSettings|null);
|
8534 |
|
8535 | /** ClientLibrarySettings cppSettings. */
|
8536 | public cppSettings?: (google.api.ICppSettings|null);
|
8537 |
|
8538 | /** ClientLibrarySettings phpSettings. */
|
8539 | public phpSettings?: (google.api.IPhpSettings|null);
|
8540 |
|
8541 | /** ClientLibrarySettings pythonSettings. */
|
8542 | public pythonSettings?: (google.api.IPythonSettings|null);
|
8543 |
|
8544 | /** ClientLibrarySettings nodeSettings. */
|
8545 | public nodeSettings?: (google.api.INodeSettings|null);
|
8546 |
|
8547 | /** ClientLibrarySettings dotnetSettings. */
|
8548 | public dotnetSettings?: (google.api.IDotnetSettings|null);
|
8549 |
|
8550 | /** ClientLibrarySettings rubySettings. */
|
8551 | public rubySettings?: (google.api.IRubySettings|null);
|
8552 |
|
8553 | /** ClientLibrarySettings goSettings. */
|
8554 | public goSettings?: (google.api.IGoSettings|null);
|
8555 |
|
8556 | /**
|
8557 | * Creates a new ClientLibrarySettings instance using the specified properties.
|
8558 | * @param [properties] Properties to set
|
8559 | * @returns ClientLibrarySettings instance
|
8560 | */
|
8561 | public static create(properties?: google.api.IClientLibrarySettings): google.api.ClientLibrarySettings;
|
8562 |
|
8563 | /**
|
8564 | * Encodes the specified ClientLibrarySettings message. Does not implicitly { google.api.ClientLibrarySettings.verify|verify} messages.
|
8565 | * message ClientLibrarySettings message or plain object to encode
|
8566 | * [writer] Writer to encode to
|
8567 | * Writer
|
8568 | */
|
8569 | public static encode(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
8570 |
|
8571 | /**
|
8572 | * Encodes the specified ClientLibrarySettings message, length delimited. Does not implicitly {@link google.api.ClientLibrarySettings.verify|verify} messages.
|
8573 | * @param message ClientLibrarySettings message or plain object to encode
|
8574 | * @param [writer] Writer to encode to
|
8575 | * @returns Writer
|
8576 | */
|
8577 | public static encodeDelimited(message: google.api.IClientLibrarySettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
8578 |
|
8579 | /**
|
8580 | * Decodes a ClientLibrarySettings message from the specified reader or buffer.
|
8581 | * @param reader Reader or buffer to decode from
|
8582 | * @param [length] Message length if known beforehand
|
8583 | * @returns ClientLibrarySettings
|
8584 | * @throws {Error} If the payload is not a reader or valid buffer
|
8585 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8586 | */
|
8587 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.ClientLibrarySettings;
|
8588 |
|
8589 | /**
|
8590 | * Decodes a ClientLibrarySettings message from the specified reader or buffer, length delimited.
|
8591 | * @param reader Reader or buffer to decode from
|
8592 | * @returns ClientLibrarySettings
|
8593 | * @throws {Error} If the payload is not a reader or valid buffer
|
8594 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8595 | */
|
8596 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.ClientLibrarySettings;
|
8597 |
|
8598 | /**
|
8599 | * Verifies a ClientLibrarySettings message.
|
8600 | * @param message Plain object to verify
|
8601 | * @returns `null` if valid, otherwise the reason why it is not
|
8602 | */
|
8603 | public static verify(message: { [k: string]: any }): (string|null);
|
8604 |
|
8605 | /**
|
8606 | * Creates a ClientLibrarySettings message from a plain object. Also converts values to their respective internal types.
|
8607 | * @param object Plain object
|
8608 | * @returns ClientLibrarySettings
|
8609 | */
|
8610 | public static fromObject(object: { [k: string]: any }): google.api.ClientLibrarySettings;
|
8611 |
|
8612 | /**
|
8613 | * Creates a plain object from a ClientLibrarySettings message. Also converts values to other types if specified.
|
8614 | * @param message ClientLibrarySettings
|
8615 | * @param [options] Conversion options
|
8616 | * @returns Plain object
|
8617 | */
|
8618 | public static toObject(message: google.api.ClientLibrarySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8619 |
|
8620 | /**
|
8621 | * Converts this ClientLibrarySettings to JSON.
|
8622 | * @returns JSON object
|
8623 | */
|
8624 | public toJSON(): { [k: string]: any };
|
8625 |
|
8626 | /**
|
8627 | * Gets the default type url for ClientLibrarySettings
|
8628 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8629 | * @returns The default type url
|
8630 | */
|
8631 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8632 | }
|
8633 |
|
8634 | /** Properties of a Publishing. */
|
8635 | interface IPublishing {
|
8636 |
|
8637 | /** Publishing methodSettings */
|
8638 | methodSettings?: (google.api.IMethodSettings[]|null);
|
8639 |
|
8640 | /** Publishing newIssueUri */
|
8641 | newIssueUri?: (string|null);
|
8642 |
|
8643 | /** Publishing documentationUri */
|
8644 | documentationUri?: (string|null);
|
8645 |
|
8646 | /** Publishing apiShortName */
|
8647 | apiShortName?: (string|null);
|
8648 |
|
8649 | /** Publishing githubLabel */
|
8650 | githubLabel?: (string|null);
|
8651 |
|
8652 | /** Publishing codeownerGithubTeams */
|
8653 | codeownerGithubTeams?: (string[]|null);
|
8654 |
|
8655 | /** Publishing docTagPrefix */
|
8656 | docTagPrefix?: (string|null);
|
8657 |
|
8658 | /** Publishing organization */
|
8659 | organization?: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization|null);
|
8660 |
|
8661 | /** Publishing librarySettings */
|
8662 | librarySettings?: (google.api.IClientLibrarySettings[]|null);
|
8663 |
|
8664 | /** Publishing protoReferenceDocumentationUri */
|
8665 | protoReferenceDocumentationUri?: (string|null);
|
8666 | }
|
8667 |
|
8668 | /** Represents a Publishing. */
|
8669 | class Publishing implements IPublishing {
|
8670 |
|
8671 | /**
|
8672 | * Constructs a new Publishing.
|
8673 | * @param [properties] Properties to set
|
8674 | */
|
8675 | constructor(properties?: google.api.IPublishing);
|
8676 |
|
8677 | /** Publishing methodSettings. */
|
8678 | public methodSettings: google.api.IMethodSettings[];
|
8679 |
|
8680 | /** Publishing newIssueUri. */
|
8681 | public newIssueUri: string;
|
8682 |
|
8683 | /** Publishing documentationUri. */
|
8684 | public documentationUri: string;
|
8685 |
|
8686 | /** Publishing apiShortName. */
|
8687 | public apiShortName: string;
|
8688 |
|
8689 | /** Publishing githubLabel. */
|
8690 | public githubLabel: string;
|
8691 |
|
8692 | /** Publishing codeownerGithubTeams. */
|
8693 | public codeownerGithubTeams: string[];
|
8694 |
|
8695 | /** Publishing docTagPrefix. */
|
8696 | public docTagPrefix: string;
|
8697 |
|
8698 | /** Publishing organization. */
|
8699 | public organization: (google.api.ClientLibraryOrganization|keyof typeof google.api.ClientLibraryOrganization);
|
8700 |
|
8701 | /** Publishing librarySettings. */
|
8702 | public librarySettings: google.api.IClientLibrarySettings[];
|
8703 |
|
8704 | /** Publishing protoReferenceDocumentationUri. */
|
8705 | public protoReferenceDocumentationUri: string;
|
8706 |
|
8707 | /**
|
8708 | * Creates a new Publishing instance using the specified properties.
|
8709 | * @param [properties] Properties to set
|
8710 | * @returns Publishing instance
|
8711 | */
|
8712 | public static create(properties?: google.api.IPublishing): google.api.Publishing;
|
8713 |
|
8714 | /**
|
8715 | * Encodes the specified Publishing message. Does not implicitly { google.api.Publishing.verify|verify} messages.
|
8716 | * message Publishing message or plain object to encode
|
8717 | * [writer] Writer to encode to
|
8718 | * Writer
|
8719 | */
|
8720 | public static encode(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
|
8721 |
|
8722 | /**
|
8723 | * Encodes the specified Publishing message, length delimited. Does not implicitly {@link google.api.Publishing.verify|verify} messages.
|
8724 | * @param message Publishing message or plain object to encode
|
8725 | * @param [writer] Writer to encode to
|
8726 | * @returns Writer
|
8727 | */
|
8728 | public static encodeDelimited(message: google.api.IPublishing, writer?: $protobuf.Writer): $protobuf.Writer;
|
8729 |
|
8730 | /**
|
8731 | * Decodes a Publishing message from the specified reader or buffer.
|
8732 | * @param reader Reader or buffer to decode from
|
8733 | * @param [length] Message length if known beforehand
|
8734 | * @returns Publishing
|
8735 | * @throws {Error} If the payload is not a reader or valid buffer
|
8736 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8737 | */
|
8738 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.Publishing;
|
8739 |
|
8740 | /**
|
8741 | * Decodes a Publishing message from the specified reader or buffer, length delimited.
|
8742 | * @param reader Reader or buffer to decode from
|
8743 | * @returns Publishing
|
8744 | * @throws {Error} If the payload is not a reader or valid buffer
|
8745 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8746 | */
|
8747 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.Publishing;
|
8748 |
|
8749 | /**
|
8750 | * Verifies a Publishing message.
|
8751 | * @param message Plain object to verify
|
8752 | * @returns `null` if valid, otherwise the reason why it is not
|
8753 | */
|
8754 | public static verify(message: { [k: string]: any }): (string|null);
|
8755 |
|
8756 | /**
|
8757 | * Creates a Publishing message from a plain object. Also converts values to their respective internal types.
|
8758 | * @param object Plain object
|
8759 | * @returns Publishing
|
8760 | */
|
8761 | public static fromObject(object: { [k: string]: any }): google.api.Publishing;
|
8762 |
|
8763 | /**
|
8764 | * Creates a plain object from a Publishing message. Also converts values to other types if specified.
|
8765 | * @param message Publishing
|
8766 | * @param [options] Conversion options
|
8767 | * @returns Plain object
|
8768 | */
|
8769 | public static toObject(message: google.api.Publishing, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8770 |
|
8771 | /**
|
8772 | * Converts this Publishing to JSON.
|
8773 | * @returns JSON object
|
8774 | */
|
8775 | public toJSON(): { [k: string]: any };
|
8776 |
|
8777 | /**
|
8778 | * Gets the default type url for Publishing
|
8779 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8780 | * @returns The default type url
|
8781 | */
|
8782 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8783 | }
|
8784 |
|
8785 | /** Properties of a JavaSettings. */
|
8786 | interface IJavaSettings {
|
8787 |
|
8788 | /** JavaSettings libraryPackage */
|
8789 | libraryPackage?: (string|null);
|
8790 |
|
8791 | /** JavaSettings serviceClassNames */
|
8792 | serviceClassNames?: ({ [k: string]: string }|null);
|
8793 |
|
8794 | /** JavaSettings common */
|
8795 | common?: (google.api.ICommonLanguageSettings|null);
|
8796 | }
|
8797 |
|
8798 | /** Represents a JavaSettings. */
|
8799 | class JavaSettings implements IJavaSettings {
|
8800 |
|
8801 | /**
|
8802 | * Constructs a new JavaSettings.
|
8803 | * @param [properties] Properties to set
|
8804 | */
|
8805 | constructor(properties?: google.api.IJavaSettings);
|
8806 |
|
8807 | /** JavaSettings libraryPackage. */
|
8808 | public libraryPackage: string;
|
8809 |
|
8810 | /** JavaSettings serviceClassNames. */
|
8811 | public serviceClassNames: { [k: string]: string };
|
8812 |
|
8813 | /** JavaSettings common. */
|
8814 | public common?: (google.api.ICommonLanguageSettings|null);
|
8815 |
|
8816 | /**
|
8817 | * Creates a new JavaSettings instance using the specified properties.
|
8818 | * @param [properties] Properties to set
|
8819 | * @returns JavaSettings instance
|
8820 | */
|
8821 | public static create(properties?: google.api.IJavaSettings): google.api.JavaSettings;
|
8822 |
|
8823 | /**
|
8824 | * Encodes the specified JavaSettings message. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
|
8825 | * @param message JavaSettings message or plain object to encode
|
8826 | * @param [writer] Writer to encode to
|
8827 | * @returns Writer
|
8828 | */
|
8829 | public static encode(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
8830 |
|
8831 | /**
|
8832 | * Encodes the specified JavaSettings message, length delimited. Does not implicitly {@link google.api.JavaSettings.verify|verify} messages.
|
8833 | * @param message JavaSettings message or plain object to encode
|
8834 | * @param [writer] Writer to encode to
|
8835 | * @returns Writer
|
8836 | */
|
8837 | public static encodeDelimited(message: google.api.IJavaSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
8838 |
|
8839 | /**
|
8840 | * Decodes a JavaSettings message from the specified reader or buffer.
|
8841 | * @param reader Reader or buffer to decode from
|
8842 | * @param [length] Message length if known beforehand
|
8843 | * @returns JavaSettings
|
8844 | * @throws {Error} If the payload is not a reader or valid buffer
|
8845 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8846 | */
|
8847 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.JavaSettings;
|
8848 |
|
8849 | /**
|
8850 | * Decodes a JavaSettings message from the specified reader or buffer, length delimited.
|
8851 | * @param reader Reader or buffer to decode from
|
8852 | * @returns JavaSettings
|
8853 | * @throws {Error} If the payload is not a reader or valid buffer
|
8854 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8855 | */
|
8856 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.JavaSettings;
|
8857 |
|
8858 | /**
|
8859 | * Verifies a JavaSettings message.
|
8860 | * @param message Plain object to verify
|
8861 | * @returns `null` if valid, otherwise the reason why it is not
|
8862 | */
|
8863 | public static verify(message: { [k: string]: any }): (string|null);
|
8864 |
|
8865 | /**
|
8866 | * Creates a JavaSettings message from a plain object. Also converts values to their respective internal types.
|
8867 | * @param object Plain object
|
8868 | * @returns JavaSettings
|
8869 | */
|
8870 | public static fromObject(object: { [k: string]: any }): google.api.JavaSettings;
|
8871 |
|
8872 | /**
|
8873 | * Creates a plain object from a JavaSettings message. Also converts values to other types if specified.
|
8874 | * @param message JavaSettings
|
8875 | * @param [options] Conversion options
|
8876 | * @returns Plain object
|
8877 | */
|
8878 | public static toObject(message: google.api.JavaSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8879 |
|
8880 | /**
|
8881 | * Converts this JavaSettings to JSON.
|
8882 | * @returns JSON object
|
8883 | */
|
8884 | public toJSON(): { [k: string]: any };
|
8885 |
|
8886 | /**
|
8887 | * Gets the default type url for JavaSettings
|
8888 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8889 | * @returns The default type url
|
8890 | */
|
8891 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8892 | }
|
8893 |
|
8894 | /** Properties of a CppSettings. */
|
8895 | interface ICppSettings {
|
8896 |
|
8897 | /** CppSettings common */
|
8898 | common?: (google.api.ICommonLanguageSettings|null);
|
8899 | }
|
8900 |
|
8901 | /** Represents a CppSettings. */
|
8902 | class CppSettings implements ICppSettings {
|
8903 |
|
8904 | /**
|
8905 | * Constructs a new CppSettings.
|
8906 | * @param [properties] Properties to set
|
8907 | */
|
8908 | constructor(properties?: google.api.ICppSettings);
|
8909 |
|
8910 | /** CppSettings common. */
|
8911 | public common?: (google.api.ICommonLanguageSettings|null);
|
8912 |
|
8913 | /**
|
8914 | * Creates a new CppSettings instance using the specified properties.
|
8915 | * @param [properties] Properties to set
|
8916 | * @returns CppSettings instance
|
8917 | */
|
8918 | public static create(properties?: google.api.ICppSettings): google.api.CppSettings;
|
8919 |
|
8920 | /**
|
8921 | * Encodes the specified CppSettings message. Does not implicitly { google.api.CppSettings.verify|verify} messages.
|
8922 | * message CppSettings message or plain object to encode
|
8923 | * [writer] Writer to encode to
|
8924 | * Writer
|
8925 | */
|
8926 | public static encode(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
8927 |
|
8928 | /**
|
8929 | * Encodes the specified CppSettings message, length delimited. Does not implicitly {@link google.api.CppSettings.verify|verify} messages.
|
8930 | * @param message CppSettings message or plain object to encode
|
8931 | * @param [writer] Writer to encode to
|
8932 | * @returns Writer
|
8933 | */
|
8934 | public static encodeDelimited(message: google.api.ICppSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
8935 |
|
8936 | /**
|
8937 | * Decodes a CppSettings message from the specified reader or buffer.
|
8938 | * @param reader Reader or buffer to decode from
|
8939 | * @param [length] Message length if known beforehand
|
8940 | * @returns CppSettings
|
8941 | * @throws {Error} If the payload is not a reader or valid buffer
|
8942 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8943 | */
|
8944 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.CppSettings;
|
8945 |
|
8946 | /**
|
8947 | * Decodes a CppSettings message from the specified reader or buffer, length delimited.
|
8948 | * @param reader Reader or buffer to decode from
|
8949 | * @returns CppSettings
|
8950 | * @throws {Error} If the payload is not a reader or valid buffer
|
8951 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
8952 | */
|
8953 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.CppSettings;
|
8954 |
|
8955 | /**
|
8956 | * Verifies a CppSettings message.
|
8957 | * @param message Plain object to verify
|
8958 | * @returns `null` if valid, otherwise the reason why it is not
|
8959 | */
|
8960 | public static verify(message: { [k: string]: any }): (string|null);
|
8961 |
|
8962 | /**
|
8963 | * Creates a CppSettings message from a plain object. Also converts values to their respective internal types.
|
8964 | * @param object Plain object
|
8965 | * @returns CppSettings
|
8966 | */
|
8967 | public static fromObject(object: { [k: string]: any }): google.api.CppSettings;
|
8968 |
|
8969 | /**
|
8970 | * Creates a plain object from a CppSettings message. Also converts values to other types if specified.
|
8971 | * @param message CppSettings
|
8972 | * @param [options] Conversion options
|
8973 | * @returns Plain object
|
8974 | */
|
8975 | public static toObject(message: google.api.CppSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
8976 |
|
8977 | /**
|
8978 | * Converts this CppSettings to JSON.
|
8979 | * @returns JSON object
|
8980 | */
|
8981 | public toJSON(): { [k: string]: any };
|
8982 |
|
8983 | /**
|
8984 | * Gets the default type url for CppSettings
|
8985 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
8986 | * @returns The default type url
|
8987 | */
|
8988 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
8989 | }
|
8990 |
|
8991 | /** Properties of a PhpSettings. */
|
8992 | interface IPhpSettings {
|
8993 |
|
8994 | /** PhpSettings common */
|
8995 | common?: (google.api.ICommonLanguageSettings|null);
|
8996 | }
|
8997 |
|
8998 | /** Represents a PhpSettings. */
|
8999 | class PhpSettings implements IPhpSettings {
|
9000 |
|
9001 | /**
|
9002 | * Constructs a new PhpSettings.
|
9003 | * @param [properties] Properties to set
|
9004 | */
|
9005 | constructor(properties?: google.api.IPhpSettings);
|
9006 |
|
9007 | /** PhpSettings common. */
|
9008 | public common?: (google.api.ICommonLanguageSettings|null);
|
9009 |
|
9010 | /**
|
9011 | * Creates a new PhpSettings instance using the specified properties.
|
9012 | * @param [properties] Properties to set
|
9013 | * @returns PhpSettings instance
|
9014 | */
|
9015 | public static create(properties?: google.api.IPhpSettings): google.api.PhpSettings;
|
9016 |
|
9017 | /**
|
9018 | * Encodes the specified PhpSettings message. Does not implicitly { google.api.PhpSettings.verify|verify} messages.
|
9019 | * message PhpSettings message or plain object to encode
|
9020 | * [writer] Writer to encode to
|
9021 | * Writer
|
9022 | */
|
9023 | public static encode(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9024 |
|
9025 | /**
|
9026 | * Encodes the specified PhpSettings message, length delimited. Does not implicitly {@link google.api.PhpSettings.verify|verify} messages.
|
9027 | * @param message PhpSettings message or plain object to encode
|
9028 | * @param [writer] Writer to encode to
|
9029 | * @returns Writer
|
9030 | */
|
9031 | public static encodeDelimited(message: google.api.IPhpSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9032 |
|
9033 | /**
|
9034 | * Decodes a PhpSettings message from the specified reader or buffer.
|
9035 | * @param reader Reader or buffer to decode from
|
9036 | * @param [length] Message length if known beforehand
|
9037 | * @returns PhpSettings
|
9038 | * @throws {Error} If the payload is not a reader or valid buffer
|
9039 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9040 | */
|
9041 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PhpSettings;
|
9042 |
|
9043 | /**
|
9044 | * Decodes a PhpSettings message from the specified reader or buffer, length delimited.
|
9045 | * @param reader Reader or buffer to decode from
|
9046 | * @returns PhpSettings
|
9047 | * @throws {Error} If the payload is not a reader or valid buffer
|
9048 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9049 | */
|
9050 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PhpSettings;
|
9051 |
|
9052 | /**
|
9053 | * Verifies a PhpSettings message.
|
9054 | * @param message Plain object to verify
|
9055 | * @returns `null` if valid, otherwise the reason why it is not
|
9056 | */
|
9057 | public static verify(message: { [k: string]: any }): (string|null);
|
9058 |
|
9059 | /**
|
9060 | * Creates a PhpSettings message from a plain object. Also converts values to their respective internal types.
|
9061 | * @param object Plain object
|
9062 | * @returns PhpSettings
|
9063 | */
|
9064 | public static fromObject(object: { [k: string]: any }): google.api.PhpSettings;
|
9065 |
|
9066 | /**
|
9067 | * Creates a plain object from a PhpSettings message. Also converts values to other types if specified.
|
9068 | * @param message PhpSettings
|
9069 | * @param [options] Conversion options
|
9070 | * @returns Plain object
|
9071 | */
|
9072 | public static toObject(message: google.api.PhpSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9073 |
|
9074 | /**
|
9075 | * Converts this PhpSettings to JSON.
|
9076 | * @returns JSON object
|
9077 | */
|
9078 | public toJSON(): { [k: string]: any };
|
9079 |
|
9080 | /**
|
9081 | * Gets the default type url for PhpSettings
|
9082 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9083 | * @returns The default type url
|
9084 | */
|
9085 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9086 | }
|
9087 |
|
9088 | /** Properties of a PythonSettings. */
|
9089 | interface IPythonSettings {
|
9090 |
|
9091 | /** PythonSettings common */
|
9092 | common?: (google.api.ICommonLanguageSettings|null);
|
9093 | }
|
9094 |
|
9095 | /** Represents a PythonSettings. */
|
9096 | class PythonSettings implements IPythonSettings {
|
9097 |
|
9098 | /**
|
9099 | * Constructs a new PythonSettings.
|
9100 | * @param [properties] Properties to set
|
9101 | */
|
9102 | constructor(properties?: google.api.IPythonSettings);
|
9103 |
|
9104 | /** PythonSettings common. */
|
9105 | public common?: (google.api.ICommonLanguageSettings|null);
|
9106 |
|
9107 | /**
|
9108 | * Creates a new PythonSettings instance using the specified properties.
|
9109 | * @param [properties] Properties to set
|
9110 | * @returns PythonSettings instance
|
9111 | */
|
9112 | public static create(properties?: google.api.IPythonSettings): google.api.PythonSettings;
|
9113 |
|
9114 | /**
|
9115 | * Encodes the specified PythonSettings message. Does not implicitly { google.api.PythonSettings.verify|verify} messages.
|
9116 | * message PythonSettings message or plain object to encode
|
9117 | * [writer] Writer to encode to
|
9118 | * Writer
|
9119 | */
|
9120 | public static encode(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9121 |
|
9122 | /**
|
9123 | * Encodes the specified PythonSettings message, length delimited. Does not implicitly {@link google.api.PythonSettings.verify|verify} messages.
|
9124 | * @param message PythonSettings message or plain object to encode
|
9125 | * @param [writer] Writer to encode to
|
9126 | * @returns Writer
|
9127 | */
|
9128 | public static encodeDelimited(message: google.api.IPythonSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9129 |
|
9130 | /**
|
9131 | * Decodes a PythonSettings message from the specified reader or buffer.
|
9132 | * @param reader Reader or buffer to decode from
|
9133 | * @param [length] Message length if known beforehand
|
9134 | * @returns PythonSettings
|
9135 | * @throws {Error} If the payload is not a reader or valid buffer
|
9136 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9137 | */
|
9138 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.PythonSettings;
|
9139 |
|
9140 | /**
|
9141 | * Decodes a PythonSettings message from the specified reader or buffer, length delimited.
|
9142 | * @param reader Reader or buffer to decode from
|
9143 | * @returns PythonSettings
|
9144 | * @throws {Error} If the payload is not a reader or valid buffer
|
9145 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9146 | */
|
9147 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.PythonSettings;
|
9148 |
|
9149 | /**
|
9150 | * Verifies a PythonSettings message.
|
9151 | * @param message Plain object to verify
|
9152 | * @returns `null` if valid, otherwise the reason why it is not
|
9153 | */
|
9154 | public static verify(message: { [k: string]: any }): (string|null);
|
9155 |
|
9156 | /**
|
9157 | * Creates a PythonSettings message from a plain object. Also converts values to their respective internal types.
|
9158 | * @param object Plain object
|
9159 | * @returns PythonSettings
|
9160 | */
|
9161 | public static fromObject(object: { [k: string]: any }): google.api.PythonSettings;
|
9162 |
|
9163 | /**
|
9164 | * Creates a plain object from a PythonSettings message. Also converts values to other types if specified.
|
9165 | * @param message PythonSettings
|
9166 | * @param [options] Conversion options
|
9167 | * @returns Plain object
|
9168 | */
|
9169 | public static toObject(message: google.api.PythonSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9170 |
|
9171 | /**
|
9172 | * Converts this PythonSettings to JSON.
|
9173 | * @returns JSON object
|
9174 | */
|
9175 | public toJSON(): { [k: string]: any };
|
9176 |
|
9177 | /**
|
9178 | * Gets the default type url for PythonSettings
|
9179 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9180 | * @returns The default type url
|
9181 | */
|
9182 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9183 | }
|
9184 |
|
9185 | /** Properties of a NodeSettings. */
|
9186 | interface INodeSettings {
|
9187 |
|
9188 | /** NodeSettings common */
|
9189 | common?: (google.api.ICommonLanguageSettings|null);
|
9190 | }
|
9191 |
|
9192 | /** Represents a NodeSettings. */
|
9193 | class NodeSettings implements INodeSettings {
|
9194 |
|
9195 | /**
|
9196 | * Constructs a new NodeSettings.
|
9197 | * @param [properties] Properties to set
|
9198 | */
|
9199 | constructor(properties?: google.api.INodeSettings);
|
9200 |
|
9201 | /** NodeSettings common. */
|
9202 | public common?: (google.api.ICommonLanguageSettings|null);
|
9203 |
|
9204 | /**
|
9205 | * Creates a new NodeSettings instance using the specified properties.
|
9206 | * @param [properties] Properties to set
|
9207 | * @returns NodeSettings instance
|
9208 | */
|
9209 | public static create(properties?: google.api.INodeSettings): google.api.NodeSettings;
|
9210 |
|
9211 | /**
|
9212 | * Encodes the specified NodeSettings message. Does not implicitly { google.api.NodeSettings.verify|verify} messages.
|
9213 | * message NodeSettings message or plain object to encode
|
9214 | * [writer] Writer to encode to
|
9215 | * Writer
|
9216 | */
|
9217 | public static encode(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9218 |
|
9219 | /**
|
9220 | * Encodes the specified NodeSettings message, length delimited. Does not implicitly {@link google.api.NodeSettings.verify|verify} messages.
|
9221 | * @param message NodeSettings message or plain object to encode
|
9222 | * @param [writer] Writer to encode to
|
9223 | * @returns Writer
|
9224 | */
|
9225 | public static encodeDelimited(message: google.api.INodeSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9226 |
|
9227 | /**
|
9228 | * Decodes a NodeSettings message from the specified reader or buffer.
|
9229 | * @param reader Reader or buffer to decode from
|
9230 | * @param [length] Message length if known beforehand
|
9231 | * @returns NodeSettings
|
9232 | * @throws {Error} If the payload is not a reader or valid buffer
|
9233 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9234 | */
|
9235 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.NodeSettings;
|
9236 |
|
9237 | /**
|
9238 | * Decodes a NodeSettings message from the specified reader or buffer, length delimited.
|
9239 | * @param reader Reader or buffer to decode from
|
9240 | * @returns NodeSettings
|
9241 | * @throws {Error} If the payload is not a reader or valid buffer
|
9242 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9243 | */
|
9244 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.NodeSettings;
|
9245 |
|
9246 | /**
|
9247 | * Verifies a NodeSettings message.
|
9248 | * @param message Plain object to verify
|
9249 | * @returns `null` if valid, otherwise the reason why it is not
|
9250 | */
|
9251 | public static verify(message: { [k: string]: any }): (string|null);
|
9252 |
|
9253 | /**
|
9254 | * Creates a NodeSettings message from a plain object. Also converts values to their respective internal types.
|
9255 | * @param object Plain object
|
9256 | * @returns NodeSettings
|
9257 | */
|
9258 | public static fromObject(object: { [k: string]: any }): google.api.NodeSettings;
|
9259 |
|
9260 | /**
|
9261 | * Creates a plain object from a NodeSettings message. Also converts values to other types if specified.
|
9262 | * @param message NodeSettings
|
9263 | * @param [options] Conversion options
|
9264 | * @returns Plain object
|
9265 | */
|
9266 | public static toObject(message: google.api.NodeSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9267 |
|
9268 | /**
|
9269 | * Converts this NodeSettings to JSON.
|
9270 | * @returns JSON object
|
9271 | */
|
9272 | public toJSON(): { [k: string]: any };
|
9273 |
|
9274 | /**
|
9275 | * Gets the default type url for NodeSettings
|
9276 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9277 | * @returns The default type url
|
9278 | */
|
9279 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9280 | }
|
9281 |
|
9282 | /** Properties of a DotnetSettings. */
|
9283 | interface IDotnetSettings {
|
9284 |
|
9285 | /** DotnetSettings common */
|
9286 | common?: (google.api.ICommonLanguageSettings|null);
|
9287 |
|
9288 | /** DotnetSettings renamedServices */
|
9289 | renamedServices?: ({ [k: string]: string }|null);
|
9290 |
|
9291 | /** DotnetSettings renamedResources */
|
9292 | renamedResources?: ({ [k: string]: string }|null);
|
9293 |
|
9294 | /** DotnetSettings ignoredResources */
|
9295 | ignoredResources?: (string[]|null);
|
9296 |
|
9297 | /** DotnetSettings forcedNamespaceAliases */
|
9298 | forcedNamespaceAliases?: (string[]|null);
|
9299 |
|
9300 | /** DotnetSettings handwrittenSignatures */
|
9301 | handwrittenSignatures?: (string[]|null);
|
9302 | }
|
9303 |
|
9304 | /** Represents a DotnetSettings. */
|
9305 | class DotnetSettings implements IDotnetSettings {
|
9306 |
|
9307 | /**
|
9308 | * Constructs a new DotnetSettings.
|
9309 | * @param [properties] Properties to set
|
9310 | */
|
9311 | constructor(properties?: google.api.IDotnetSettings);
|
9312 |
|
9313 | /** DotnetSettings common. */
|
9314 | public common?: (google.api.ICommonLanguageSettings|null);
|
9315 |
|
9316 | /** DotnetSettings renamedServices. */
|
9317 | public renamedServices: { [k: string]: string };
|
9318 |
|
9319 | /** DotnetSettings renamedResources. */
|
9320 | public renamedResources: { [k: string]: string };
|
9321 |
|
9322 | /** DotnetSettings ignoredResources. */
|
9323 | public ignoredResources: string[];
|
9324 |
|
9325 | /** DotnetSettings forcedNamespaceAliases. */
|
9326 | public forcedNamespaceAliases: string[];
|
9327 |
|
9328 | /** DotnetSettings handwrittenSignatures. */
|
9329 | public handwrittenSignatures: string[];
|
9330 |
|
9331 | /**
|
9332 | * Creates a new DotnetSettings instance using the specified properties.
|
9333 | * @param [properties] Properties to set
|
9334 | * @returns DotnetSettings instance
|
9335 | */
|
9336 | public static create(properties?: google.api.IDotnetSettings): google.api.DotnetSettings;
|
9337 |
|
9338 | /**
|
9339 | * Encodes the specified DotnetSettings message. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
|
9340 | * @param message DotnetSettings message or plain object to encode
|
9341 | * @param [writer] Writer to encode to
|
9342 | * @returns Writer
|
9343 | */
|
9344 | public static encode(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9345 |
|
9346 | /**
|
9347 | * Encodes the specified DotnetSettings message, length delimited. Does not implicitly {@link google.api.DotnetSettings.verify|verify} messages.
|
9348 | * @param message DotnetSettings message or plain object to encode
|
9349 | * @param [writer] Writer to encode to
|
9350 | * @returns Writer
|
9351 | */
|
9352 | public static encodeDelimited(message: google.api.IDotnetSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9353 |
|
9354 | /**
|
9355 | * Decodes a DotnetSettings message from the specified reader or buffer.
|
9356 | * @param reader Reader or buffer to decode from
|
9357 | * @param [length] Message length if known beforehand
|
9358 | * @returns DotnetSettings
|
9359 | * @throws {Error} If the payload is not a reader or valid buffer
|
9360 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9361 | */
|
9362 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.DotnetSettings;
|
9363 |
|
9364 | /**
|
9365 | * Decodes a DotnetSettings message from the specified reader or buffer, length delimited.
|
9366 | * @param reader Reader or buffer to decode from
|
9367 | * @returns DotnetSettings
|
9368 | * @throws {Error} If the payload is not a reader or valid buffer
|
9369 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9370 | */
|
9371 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.DotnetSettings;
|
9372 |
|
9373 | /**
|
9374 | * Verifies a DotnetSettings message.
|
9375 | * @param message Plain object to verify
|
9376 | * @returns `null` if valid, otherwise the reason why it is not
|
9377 | */
|
9378 | public static verify(message: { [k: string]: any }): (string|null);
|
9379 |
|
9380 | /**
|
9381 | * Creates a DotnetSettings message from a plain object. Also converts values to their respective internal types.
|
9382 | * @param object Plain object
|
9383 | * @returns DotnetSettings
|
9384 | */
|
9385 | public static fromObject(object: { [k: string]: any }): google.api.DotnetSettings;
|
9386 |
|
9387 | /**
|
9388 | * Creates a plain object from a DotnetSettings message. Also converts values to other types if specified.
|
9389 | * @param message DotnetSettings
|
9390 | * @param [options] Conversion options
|
9391 | * @returns Plain object
|
9392 | */
|
9393 | public static toObject(message: google.api.DotnetSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9394 |
|
9395 | /**
|
9396 | * Converts this DotnetSettings to JSON.
|
9397 | * @returns JSON object
|
9398 | */
|
9399 | public toJSON(): { [k: string]: any };
|
9400 |
|
9401 | /**
|
9402 | * Gets the default type url for DotnetSettings
|
9403 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9404 | * @returns The default type url
|
9405 | */
|
9406 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9407 | }
|
9408 |
|
9409 | /** Properties of a RubySettings. */
|
9410 | interface IRubySettings {
|
9411 |
|
9412 | /** RubySettings common */
|
9413 | common?: (google.api.ICommonLanguageSettings|null);
|
9414 | }
|
9415 |
|
9416 | /** Represents a RubySettings. */
|
9417 | class RubySettings implements IRubySettings {
|
9418 |
|
9419 | /**
|
9420 | * Constructs a new RubySettings.
|
9421 | * @param [properties] Properties to set
|
9422 | */
|
9423 | constructor(properties?: google.api.IRubySettings);
|
9424 |
|
9425 | /** RubySettings common. */
|
9426 | public common?: (google.api.ICommonLanguageSettings|null);
|
9427 |
|
9428 | /**
|
9429 | * Creates a new RubySettings instance using the specified properties.
|
9430 | * @param [properties] Properties to set
|
9431 | * @returns RubySettings instance
|
9432 | */
|
9433 | public static create(properties?: google.api.IRubySettings): google.api.RubySettings;
|
9434 |
|
9435 | /**
|
9436 | * Encodes the specified RubySettings message. Does not implicitly { google.api.RubySettings.verify|verify} messages.
|
9437 | * message RubySettings message or plain object to encode
|
9438 | * [writer] Writer to encode to
|
9439 | * Writer
|
9440 | */
|
9441 | public static encode(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9442 |
|
9443 | /**
|
9444 | * Encodes the specified RubySettings message, length delimited. Does not implicitly {@link google.api.RubySettings.verify|verify} messages.
|
9445 | * @param message RubySettings message or plain object to encode
|
9446 | * @param [writer] Writer to encode to
|
9447 | * @returns Writer
|
9448 | */
|
9449 | public static encodeDelimited(message: google.api.IRubySettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9450 |
|
9451 | /**
|
9452 | * Decodes a RubySettings message from the specified reader or buffer.
|
9453 | * @param reader Reader or buffer to decode from
|
9454 | * @param [length] Message length if known beforehand
|
9455 | * @returns RubySettings
|
9456 | * @throws {Error} If the payload is not a reader or valid buffer
|
9457 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9458 | */
|
9459 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RubySettings;
|
9460 |
|
9461 | /**
|
9462 | * Decodes a RubySettings message from the specified reader or buffer, length delimited.
|
9463 | * @param reader Reader or buffer to decode from
|
9464 | * @returns RubySettings
|
9465 | * @throws {Error} If the payload is not a reader or valid buffer
|
9466 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9467 | */
|
9468 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RubySettings;
|
9469 |
|
9470 | /**
|
9471 | * Verifies a RubySettings message.
|
9472 | * @param message Plain object to verify
|
9473 | * @returns `null` if valid, otherwise the reason why it is not
|
9474 | */
|
9475 | public static verify(message: { [k: string]: any }): (string|null);
|
9476 |
|
9477 | /**
|
9478 | * Creates a RubySettings message from a plain object. Also converts values to their respective internal types.
|
9479 | * @param object Plain object
|
9480 | * @returns RubySettings
|
9481 | */
|
9482 | public static fromObject(object: { [k: string]: any }): google.api.RubySettings;
|
9483 |
|
9484 | /**
|
9485 | * Creates a plain object from a RubySettings message. Also converts values to other types if specified.
|
9486 | * @param message RubySettings
|
9487 | * @param [options] Conversion options
|
9488 | * @returns Plain object
|
9489 | */
|
9490 | public static toObject(message: google.api.RubySettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9491 |
|
9492 | /**
|
9493 | * Converts this RubySettings to JSON.
|
9494 | * @returns JSON object
|
9495 | */
|
9496 | public toJSON(): { [k: string]: any };
|
9497 |
|
9498 | /**
|
9499 | * Gets the default type url for RubySettings
|
9500 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9501 | * @returns The default type url
|
9502 | */
|
9503 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9504 | }
|
9505 |
|
9506 | /** Properties of a GoSettings. */
|
9507 | interface IGoSettings {
|
9508 |
|
9509 | /** GoSettings common */
|
9510 | common?: (google.api.ICommonLanguageSettings|null);
|
9511 | }
|
9512 |
|
9513 | /** Represents a GoSettings. */
|
9514 | class GoSettings implements IGoSettings {
|
9515 |
|
9516 | /**
|
9517 | * Constructs a new GoSettings.
|
9518 | * @param [properties] Properties to set
|
9519 | */
|
9520 | constructor(properties?: google.api.IGoSettings);
|
9521 |
|
9522 | /** GoSettings common. */
|
9523 | public common?: (google.api.ICommonLanguageSettings|null);
|
9524 |
|
9525 | /**
|
9526 | * Creates a new GoSettings instance using the specified properties.
|
9527 | * @param [properties] Properties to set
|
9528 | * @returns GoSettings instance
|
9529 | */
|
9530 | public static create(properties?: google.api.IGoSettings): google.api.GoSettings;
|
9531 |
|
9532 | /**
|
9533 | * Encodes the specified GoSettings message. Does not implicitly { google.api.GoSettings.verify|verify} messages.
|
9534 | * message GoSettings message or plain object to encode
|
9535 | * [writer] Writer to encode to
|
9536 | * Writer
|
9537 | */
|
9538 | public static encode(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9539 |
|
9540 | /**
|
9541 | * Encodes the specified GoSettings message, length delimited. Does not implicitly {@link google.api.GoSettings.verify|verify} messages.
|
9542 | * @param message GoSettings message or plain object to encode
|
9543 | * @param [writer] Writer to encode to
|
9544 | * @returns Writer
|
9545 | */
|
9546 | public static encodeDelimited(message: google.api.IGoSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9547 |
|
9548 | /**
|
9549 | * Decodes a GoSettings message from the specified reader or buffer.
|
9550 | * @param reader Reader or buffer to decode from
|
9551 | * @param [length] Message length if known beforehand
|
9552 | * @returns GoSettings
|
9553 | * @throws {Error} If the payload is not a reader or valid buffer
|
9554 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9555 | */
|
9556 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.GoSettings;
|
9557 |
|
9558 | /**
|
9559 | * Decodes a GoSettings message from the specified reader or buffer, length delimited.
|
9560 | * @param reader Reader or buffer to decode from
|
9561 | * @returns GoSettings
|
9562 | * @throws {Error} If the payload is not a reader or valid buffer
|
9563 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9564 | */
|
9565 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.GoSettings;
|
9566 |
|
9567 | /**
|
9568 | * Verifies a GoSettings message.
|
9569 | * @param message Plain object to verify
|
9570 | * @returns `null` if valid, otherwise the reason why it is not
|
9571 | */
|
9572 | public static verify(message: { [k: string]: any }): (string|null);
|
9573 |
|
9574 | /**
|
9575 | * Creates a GoSettings message from a plain object. Also converts values to their respective internal types.
|
9576 | * @param object Plain object
|
9577 | * @returns GoSettings
|
9578 | */
|
9579 | public static fromObject(object: { [k: string]: any }): google.api.GoSettings;
|
9580 |
|
9581 | /**
|
9582 | * Creates a plain object from a GoSettings message. Also converts values to other types if specified.
|
9583 | * @param message GoSettings
|
9584 | * @param [options] Conversion options
|
9585 | * @returns Plain object
|
9586 | */
|
9587 | public static toObject(message: google.api.GoSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9588 |
|
9589 | /**
|
9590 | * Converts this GoSettings to JSON.
|
9591 | * @returns JSON object
|
9592 | */
|
9593 | public toJSON(): { [k: string]: any };
|
9594 |
|
9595 | /**
|
9596 | * Gets the default type url for GoSettings
|
9597 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9598 | * @returns The default type url
|
9599 | */
|
9600 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9601 | }
|
9602 |
|
9603 | /** Properties of a MethodSettings. */
|
9604 | interface IMethodSettings {
|
9605 |
|
9606 | /** MethodSettings selector */
|
9607 | selector?: (string|null);
|
9608 |
|
9609 | /** MethodSettings longRunning */
|
9610 | longRunning?: (google.api.MethodSettings.ILongRunning|null);
|
9611 | }
|
9612 |
|
9613 | /** Represents a MethodSettings. */
|
9614 | class MethodSettings implements IMethodSettings {
|
9615 |
|
9616 | /**
|
9617 | * Constructs a new MethodSettings.
|
9618 | * @param [properties] Properties to set
|
9619 | */
|
9620 | constructor(properties?: google.api.IMethodSettings);
|
9621 |
|
9622 | /** MethodSettings selector. */
|
9623 | public selector: string;
|
9624 |
|
9625 | /** MethodSettings longRunning. */
|
9626 | public longRunning?: (google.api.MethodSettings.ILongRunning|null);
|
9627 |
|
9628 | /**
|
9629 | * Creates a new MethodSettings instance using the specified properties.
|
9630 | * @param [properties] Properties to set
|
9631 | * @returns MethodSettings instance
|
9632 | */
|
9633 | public static create(properties?: google.api.IMethodSettings): google.api.MethodSettings;
|
9634 |
|
9635 | /**
|
9636 | * Encodes the specified MethodSettings message. Does not implicitly { google.api.MethodSettings.verify|verify} messages.
|
9637 | * message MethodSettings message or plain object to encode
|
9638 | * [writer] Writer to encode to
|
9639 | * Writer
|
9640 | */
|
9641 | public static encode(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9642 |
|
9643 | /**
|
9644 | * Encodes the specified MethodSettings message, length delimited. Does not implicitly {@link google.api.MethodSettings.verify|verify} messages.
|
9645 | * @param message MethodSettings message or plain object to encode
|
9646 | * @param [writer] Writer to encode to
|
9647 | * @returns Writer
|
9648 | */
|
9649 | public static encodeDelimited(message: google.api.IMethodSettings, writer?: $protobuf.Writer): $protobuf.Writer;
|
9650 |
|
9651 | /**
|
9652 | * Decodes a MethodSettings message from the specified reader or buffer.
|
9653 | * @param reader Reader or buffer to decode from
|
9654 | * @param [length] Message length if known beforehand
|
9655 | * @returns MethodSettings
|
9656 | * @throws {Error} If the payload is not a reader or valid buffer
|
9657 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9658 | */
|
9659 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings;
|
9660 |
|
9661 | /**
|
9662 | * Decodes a MethodSettings message from the specified reader or buffer, length delimited.
|
9663 | * @param reader Reader or buffer to decode from
|
9664 | * @returns MethodSettings
|
9665 | * @throws {Error} If the payload is not a reader or valid buffer
|
9666 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9667 | */
|
9668 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings;
|
9669 |
|
9670 | /**
|
9671 | * Verifies a MethodSettings message.
|
9672 | * @param message Plain object to verify
|
9673 | * @returns `null` if valid, otherwise the reason why it is not
|
9674 | */
|
9675 | public static verify(message: { [k: string]: any }): (string|null);
|
9676 |
|
9677 | /**
|
9678 | * Creates a MethodSettings message from a plain object. Also converts values to their respective internal types.
|
9679 | * @param object Plain object
|
9680 | * @returns MethodSettings
|
9681 | */
|
9682 | public static fromObject(object: { [k: string]: any }): google.api.MethodSettings;
|
9683 |
|
9684 | /**
|
9685 | * Creates a plain object from a MethodSettings message. Also converts values to other types if specified.
|
9686 | * @param message MethodSettings
|
9687 | * @param [options] Conversion options
|
9688 | * @returns Plain object
|
9689 | */
|
9690 | public static toObject(message: google.api.MethodSettings, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9691 |
|
9692 | /**
|
9693 | * Converts this MethodSettings to JSON.
|
9694 | * @returns JSON object
|
9695 | */
|
9696 | public toJSON(): { [k: string]: any };
|
9697 |
|
9698 | /**
|
9699 | * Gets the default type url for MethodSettings
|
9700 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9701 | * @returns The default type url
|
9702 | */
|
9703 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9704 | }
|
9705 |
|
9706 | namespace MethodSettings {
|
9707 |
|
9708 | /** Properties of a LongRunning. */
|
9709 | interface ILongRunning {
|
9710 |
|
9711 | /** LongRunning initialPollDelay */
|
9712 | initialPollDelay?: (google.protobuf.IDuration|null);
|
9713 |
|
9714 | /** LongRunning pollDelayMultiplier */
|
9715 | pollDelayMultiplier?: (number|null);
|
9716 |
|
9717 | /** LongRunning maxPollDelay */
|
9718 | maxPollDelay?: (google.protobuf.IDuration|null);
|
9719 |
|
9720 | /** LongRunning totalPollTimeout */
|
9721 | totalPollTimeout?: (google.protobuf.IDuration|null);
|
9722 | }
|
9723 |
|
9724 | /** Represents a LongRunning. */
|
9725 | class LongRunning implements ILongRunning {
|
9726 |
|
9727 | /**
|
9728 | * Constructs a new LongRunning.
|
9729 | * @param [properties] Properties to set
|
9730 | */
|
9731 | constructor(properties?: google.api.MethodSettings.ILongRunning);
|
9732 |
|
9733 | /** LongRunning initialPollDelay. */
|
9734 | public initialPollDelay?: (google.protobuf.IDuration|null);
|
9735 |
|
9736 | /** LongRunning pollDelayMultiplier. */
|
9737 | public pollDelayMultiplier: number;
|
9738 |
|
9739 | /** LongRunning maxPollDelay. */
|
9740 | public maxPollDelay?: (google.protobuf.IDuration|null);
|
9741 |
|
9742 | /** LongRunning totalPollTimeout. */
|
9743 | public totalPollTimeout?: (google.protobuf.IDuration|null);
|
9744 |
|
9745 | /**
|
9746 | * Creates a new LongRunning instance using the specified properties.
|
9747 | * @param [properties] Properties to set
|
9748 | * @returns LongRunning instance
|
9749 | */
|
9750 | public static create(properties?: google.api.MethodSettings.ILongRunning): google.api.MethodSettings.LongRunning;
|
9751 |
|
9752 | /**
|
9753 | * Encodes the specified LongRunning message. Does not implicitly { google.api.MethodSettings.LongRunning.verify|verify} messages.
|
9754 | * message LongRunning message or plain object to encode
|
9755 | * [writer] Writer to encode to
|
9756 | * Writer
|
9757 | */
|
9758 | public static encode(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
|
9759 |
|
9760 | /**
|
9761 | * Encodes the specified LongRunning message, length delimited. Does not implicitly {@link google.api.MethodSettings.LongRunning.verify|verify} messages.
|
9762 | * @param message LongRunning message or plain object to encode
|
9763 | * @param [writer] Writer to encode to
|
9764 | * @returns Writer
|
9765 | */
|
9766 | public static encodeDelimited(message: google.api.MethodSettings.ILongRunning, writer?: $protobuf.Writer): $protobuf.Writer;
|
9767 |
|
9768 | /**
|
9769 | * Decodes a LongRunning message from the specified reader or buffer.
|
9770 | * @param reader Reader or buffer to decode from
|
9771 | * @param [length] Message length if known beforehand
|
9772 | * @returns LongRunning
|
9773 | * @throws {Error} If the payload is not a reader or valid buffer
|
9774 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9775 | */
|
9776 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.MethodSettings.LongRunning;
|
9777 |
|
9778 | /**
|
9779 | * Decodes a LongRunning message from the specified reader or buffer, length delimited.
|
9780 | * @param reader Reader or buffer to decode from
|
9781 | * @returns LongRunning
|
9782 | * @throws {Error} If the payload is not a reader or valid buffer
|
9783 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9784 | */
|
9785 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.MethodSettings.LongRunning;
|
9786 |
|
9787 | /**
|
9788 | * Verifies a LongRunning message.
|
9789 | * @param message Plain object to verify
|
9790 | * @returns `null` if valid, otherwise the reason why it is not
|
9791 | */
|
9792 | public static verify(message: { [k: string]: any }): (string|null);
|
9793 |
|
9794 | /**
|
9795 | * Creates a LongRunning message from a plain object. Also converts values to their respective internal types.
|
9796 | * @param object Plain object
|
9797 | * @returns LongRunning
|
9798 | */
|
9799 | public static fromObject(object: { [k: string]: any }): google.api.MethodSettings.LongRunning;
|
9800 |
|
9801 | /**
|
9802 | * Creates a plain object from a LongRunning message. Also converts values to other types if specified.
|
9803 | * @param message LongRunning
|
9804 | * @param [options] Conversion options
|
9805 | * @returns Plain object
|
9806 | */
|
9807 | public static toObject(message: google.api.MethodSettings.LongRunning, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9808 |
|
9809 | /**
|
9810 | * Converts this LongRunning to JSON.
|
9811 | * @returns JSON object
|
9812 | */
|
9813 | public toJSON(): { [k: string]: any };
|
9814 |
|
9815 | /**
|
9816 | * Gets the default type url for LongRunning
|
9817 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9818 | * @returns The default type url
|
9819 | */
|
9820 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9821 | }
|
9822 | }
|
9823 |
|
9824 | /** ClientLibraryOrganization enum. */
|
9825 | enum ClientLibraryOrganization {
|
9826 | CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED = 0,
|
9827 | CLOUD = 1,
|
9828 | ADS = 2,
|
9829 | PHOTOS = 3,
|
9830 | STREET_VIEW = 4,
|
9831 | SHOPPING = 5,
|
9832 | GEO = 6,
|
9833 | GENERATIVE_AI = 7
|
9834 | }
|
9835 |
|
9836 | /** ClientLibraryDestination enum. */
|
9837 | enum ClientLibraryDestination {
|
9838 | CLIENT_LIBRARY_DESTINATION_UNSPECIFIED = 0,
|
9839 | GITHUB = 10,
|
9840 | PACKAGE_MANAGER = 20
|
9841 | }
|
9842 |
|
9843 | /** LaunchStage enum. */
|
9844 | enum LaunchStage {
|
9845 | LAUNCH_STAGE_UNSPECIFIED = 0,
|
9846 | UNIMPLEMENTED = 6,
|
9847 | PRELAUNCH = 7,
|
9848 | EARLY_ACCESS = 1,
|
9849 | ALPHA = 2,
|
9850 | BETA = 3,
|
9851 | GA = 4,
|
9852 | DEPRECATED = 5
|
9853 | }
|
9854 |
|
9855 | /** FieldBehavior enum. */
|
9856 | enum FieldBehavior {
|
9857 | FIELD_BEHAVIOR_UNSPECIFIED = 0,
|
9858 | OPTIONAL = 1,
|
9859 | REQUIRED = 2,
|
9860 | OUTPUT_ONLY = 3,
|
9861 | INPUT_ONLY = 4,
|
9862 | IMMUTABLE = 5,
|
9863 | UNORDERED_LIST = 6,
|
9864 | NON_EMPTY_DEFAULT = 7
|
9865 | }
|
9866 |
|
9867 | /** Properties of a RoutingRule. */
|
9868 | interface IRoutingRule {
|
9869 |
|
9870 | /** RoutingRule routingParameters */
|
9871 | routingParameters?: (google.api.IRoutingParameter[]|null);
|
9872 | }
|
9873 |
|
9874 | /** Represents a RoutingRule. */
|
9875 | class RoutingRule implements IRoutingRule {
|
9876 |
|
9877 | /**
|
9878 | * Constructs a new RoutingRule.
|
9879 | * @param [properties] Properties to set
|
9880 | */
|
9881 | constructor(properties?: google.api.IRoutingRule);
|
9882 |
|
9883 | /** RoutingRule routingParameters. */
|
9884 | public routingParameters: google.api.IRoutingParameter[];
|
9885 |
|
9886 | /**
|
9887 | * Creates a new RoutingRule instance using the specified properties.
|
9888 | * @param [properties] Properties to set
|
9889 | * @returns RoutingRule instance
|
9890 | */
|
9891 | public static create(properties?: google.api.IRoutingRule): google.api.RoutingRule;
|
9892 |
|
9893 | /**
|
9894 | * Encodes the specified RoutingRule message. Does not implicitly { google.api.RoutingRule.verify|verify} messages.
|
9895 | * message RoutingRule message or plain object to encode
|
9896 | * [writer] Writer to encode to
|
9897 | * Writer
|
9898 | */
|
9899 | public static encode(message: google.api.IRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
9900 |
|
9901 | /**
|
9902 | * Encodes the specified RoutingRule message, length delimited. Does not implicitly {@link google.api.RoutingRule.verify|verify} messages.
|
9903 | * @param message RoutingRule message or plain object to encode
|
9904 | * @param [writer] Writer to encode to
|
9905 | * @returns Writer
|
9906 | */
|
9907 | public static encodeDelimited(message: google.api.IRoutingRule, writer?: $protobuf.Writer): $protobuf.Writer;
|
9908 |
|
9909 | /**
|
9910 | * Decodes a RoutingRule message from the specified reader or buffer.
|
9911 | * @param reader Reader or buffer to decode from
|
9912 | * @param [length] Message length if known beforehand
|
9913 | * @returns RoutingRule
|
9914 | * @throws {Error} If the payload is not a reader or valid buffer
|
9915 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9916 | */
|
9917 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RoutingRule;
|
9918 |
|
9919 | /**
|
9920 | * Decodes a RoutingRule message from the specified reader or buffer, length delimited.
|
9921 | * @param reader Reader or buffer to decode from
|
9922 | * @returns RoutingRule
|
9923 | * @throws {Error} If the payload is not a reader or valid buffer
|
9924 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
9925 | */
|
9926 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RoutingRule;
|
9927 |
|
9928 | /**
|
9929 | * Verifies a RoutingRule message.
|
9930 | * @param message Plain object to verify
|
9931 | * @returns `null` if valid, otherwise the reason why it is not
|
9932 | */
|
9933 | public static verify(message: { [k: string]: any }): (string|null);
|
9934 |
|
9935 | /**
|
9936 | * Creates a RoutingRule message from a plain object. Also converts values to their respective internal types.
|
9937 | * @param object Plain object
|
9938 | * @returns RoutingRule
|
9939 | */
|
9940 | public static fromObject(object: { [k: string]: any }): google.api.RoutingRule;
|
9941 |
|
9942 | /**
|
9943 | * Creates a plain object from a RoutingRule message. Also converts values to other types if specified.
|
9944 | * @param message RoutingRule
|
9945 | * @param [options] Conversion options
|
9946 | * @returns Plain object
|
9947 | */
|
9948 | public static toObject(message: google.api.RoutingRule, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
9949 |
|
9950 | /**
|
9951 | * Converts this RoutingRule to JSON.
|
9952 | * @returns JSON object
|
9953 | */
|
9954 | public toJSON(): { [k: string]: any };
|
9955 |
|
9956 | /**
|
9957 | * Gets the default type url for RoutingRule
|
9958 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
9959 | * @returns The default type url
|
9960 | */
|
9961 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
9962 | }
|
9963 |
|
9964 | /** Properties of a RoutingParameter. */
|
9965 | interface IRoutingParameter {
|
9966 |
|
9967 | /** RoutingParameter field */
|
9968 | field?: (string|null);
|
9969 |
|
9970 | /** RoutingParameter pathTemplate */
|
9971 | pathTemplate?: (string|null);
|
9972 | }
|
9973 |
|
9974 | /** Represents a RoutingParameter. */
|
9975 | class RoutingParameter implements IRoutingParameter {
|
9976 |
|
9977 | /**
|
9978 | * Constructs a new RoutingParameter.
|
9979 | * @param [properties] Properties to set
|
9980 | */
|
9981 | constructor(properties?: google.api.IRoutingParameter);
|
9982 |
|
9983 | /** RoutingParameter field. */
|
9984 | public field: string;
|
9985 |
|
9986 | /** RoutingParameter pathTemplate. */
|
9987 | public pathTemplate: string;
|
9988 |
|
9989 | /**
|
9990 | * Creates a new RoutingParameter instance using the specified properties.
|
9991 | * @param [properties] Properties to set
|
9992 | * @returns RoutingParameter instance
|
9993 | */
|
9994 | public static create(properties?: google.api.IRoutingParameter): google.api.RoutingParameter;
|
9995 |
|
9996 | /**
|
9997 | * Encodes the specified RoutingParameter message. Does not implicitly { google.api.RoutingParameter.verify|verify} messages.
|
9998 | * message RoutingParameter message or plain object to encode
|
9999 | * [writer] Writer to encode to
|
10000 | * Writer
|
10001 | */
|
10002 | public static encode(message: google.api.IRoutingParameter, writer?: $protobuf.Writer): $protobuf.Writer;
|
10003 |
|
10004 | /**
|
10005 | * Encodes the specified RoutingParameter message, length delimited. Does not implicitly {@link google.api.RoutingParameter.verify|verify} messages.
|
10006 | * @param message RoutingParameter message or plain object to encode
|
10007 | * @param [writer] Writer to encode to
|
10008 | * @returns Writer
|
10009 | */
|
10010 | public static encodeDelimited(message: google.api.IRoutingParameter, writer?: $protobuf.Writer): $protobuf.Writer;
|
10011 |
|
10012 | /**
|
10013 | * Decodes a RoutingParameter message from the specified reader or buffer.
|
10014 | * @param reader Reader or buffer to decode from
|
10015 | * @param [length] Message length if known beforehand
|
10016 | * @returns RoutingParameter
|
10017 | * @throws {Error} If the payload is not a reader or valid buffer
|
10018 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10019 | */
|
10020 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.api.RoutingParameter;
|
10021 |
|
10022 | /**
|
10023 | * Decodes a RoutingParameter message from the specified reader or buffer, length delimited.
|
10024 | * @param reader Reader or buffer to decode from
|
10025 | * @returns RoutingParameter
|
10026 | * @throws {Error} If the payload is not a reader or valid buffer
|
10027 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10028 | */
|
10029 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.api.RoutingParameter;
|
10030 |
|
10031 | /**
|
10032 | * Verifies a RoutingParameter message.
|
10033 | * @param message Plain object to verify
|
10034 | * @returns `null` if valid, otherwise the reason why it is not
|
10035 | */
|
10036 | public static verify(message: { [k: string]: any }): (string|null);
|
10037 |
|
10038 | /**
|
10039 | * Creates a RoutingParameter message from a plain object. Also converts values to their respective internal types.
|
10040 | * @param object Plain object
|
10041 | * @returns RoutingParameter
|
10042 | */
|
10043 | public static fromObject(object: { [k: string]: any }): google.api.RoutingParameter;
|
10044 |
|
10045 | /**
|
10046 | * Creates a plain object from a RoutingParameter message. Also converts values to other types if specified.
|
10047 | * @param message RoutingParameter
|
10048 | * @param [options] Conversion options
|
10049 | * @returns Plain object
|
10050 | */
|
10051 | public static toObject(message: google.api.RoutingParameter, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10052 |
|
10053 | /**
|
10054 | * Converts this RoutingParameter to JSON.
|
10055 | * @returns JSON object
|
10056 | */
|
10057 | public toJSON(): { [k: string]: any };
|
10058 |
|
10059 | /**
|
10060 | * Gets the default type url for RoutingParameter
|
10061 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
10062 | * @returns The default type url
|
10063 | */
|
10064 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
10065 | }
|
10066 | }
|
10067 |
|
10068 | /** Namespace protobuf. */
|
10069 | namespace protobuf {
|
10070 |
|
10071 | /** Properties of a FileDescriptorSet. */
|
10072 | interface IFileDescriptorSet {
|
10073 |
|
10074 | /** FileDescriptorSet file */
|
10075 | file?: (google.protobuf.IFileDescriptorProto[]|null);
|
10076 | }
|
10077 |
|
10078 | /** Represents a FileDescriptorSet. */
|
10079 | class FileDescriptorSet implements IFileDescriptorSet {
|
10080 |
|
10081 | /**
|
10082 | * Constructs a new FileDescriptorSet.
|
10083 | * @param [properties] Properties to set
|
10084 | */
|
10085 | constructor(properties?: google.protobuf.IFileDescriptorSet);
|
10086 |
|
10087 | /** FileDescriptorSet file. */
|
10088 | public file: google.protobuf.IFileDescriptorProto[];
|
10089 |
|
10090 | /**
|
10091 | * Creates a new FileDescriptorSet instance using the specified properties.
|
10092 | * @param [properties] Properties to set
|
10093 | * @returns FileDescriptorSet instance
|
10094 | */
|
10095 | public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet;
|
10096 |
|
10097 | /**
|
10098 | * Encodes the specified FileDescriptorSet message. Does not implicitly { google.protobuf.FileDescriptorSet.verify|verify} messages.
|
10099 | * message FileDescriptorSet message or plain object to encode
|
10100 | * [writer] Writer to encode to
|
10101 | * Writer
|
10102 | */
|
10103 | public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
10104 |
|
10105 | /**
|
10106 | * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
10107 | * @param message FileDescriptorSet message or plain object to encode
|
10108 | * @param [writer] Writer to encode to
|
10109 | * @returns Writer
|
10110 | */
|
10111 | public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
10112 |
|
10113 | /**
|
10114 | * Decodes a FileDescriptorSet message from the specified reader or buffer.
|
10115 | * @param reader Reader or buffer to decode from
|
10116 | * @param [length] Message length if known beforehand
|
10117 | * @returns FileDescriptorSet
|
10118 | * @throws {Error} If the payload is not a reader or valid buffer
|
10119 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10120 | */
|
10121 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet;
|
10122 |
|
10123 | /**
|
10124 | * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
|
10125 | * @param reader Reader or buffer to decode from
|
10126 | * @returns FileDescriptorSet
|
10127 | * @throws {Error} If the payload is not a reader or valid buffer
|
10128 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10129 | */
|
10130 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet;
|
10131 |
|
10132 | /**
|
10133 | * Verifies a FileDescriptorSet message.
|
10134 | * @param message Plain object to verify
|
10135 | * @returns `null` if valid, otherwise the reason why it is not
|
10136 | */
|
10137 | public static verify(message: { [k: string]: any }): (string|null);
|
10138 |
|
10139 | /**
|
10140 | * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
|
10141 | * @param object Plain object
|
10142 | * @returns FileDescriptorSet
|
10143 | */
|
10144 | public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet;
|
10145 |
|
10146 | /**
|
10147 | * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
|
10148 | * @param message FileDescriptorSet
|
10149 | * @param [options] Conversion options
|
10150 | * @returns Plain object
|
10151 | */
|
10152 | public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10153 |
|
10154 | /**
|
10155 | * Converts this FileDescriptorSet to JSON.
|
10156 | * @returns JSON object
|
10157 | */
|
10158 | public toJSON(): { [k: string]: any };
|
10159 |
|
10160 | /**
|
10161 | * Gets the default type url for FileDescriptorSet
|
10162 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
10163 | * @returns The default type url
|
10164 | */
|
10165 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
10166 | }
|
10167 |
|
10168 | /** Properties of a FileDescriptorProto. */
|
10169 | interface IFileDescriptorProto {
|
10170 |
|
10171 | /** FileDescriptorProto name */
|
10172 | name?: (string|null);
|
10173 |
|
10174 | /** FileDescriptorProto package */
|
10175 | "package"?: (string|null);
|
10176 |
|
10177 | /** FileDescriptorProto dependency */
|
10178 | dependency?: (string[]|null);
|
10179 |
|
10180 | /** FileDescriptorProto publicDependency */
|
10181 | publicDependency?: (number[]|null);
|
10182 |
|
10183 | /** FileDescriptorProto weakDependency */
|
10184 | weakDependency?: (number[]|null);
|
10185 |
|
10186 | /** FileDescriptorProto messageType */
|
10187 | messageType?: (google.protobuf.IDescriptorProto[]|null);
|
10188 |
|
10189 | /** FileDescriptorProto enumType */
|
10190 | enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
|
10191 |
|
10192 | /** FileDescriptorProto service */
|
10193 | service?: (google.protobuf.IServiceDescriptorProto[]|null);
|
10194 |
|
10195 | /** FileDescriptorProto extension */
|
10196 | extension?: (google.protobuf.IFieldDescriptorProto[]|null);
|
10197 |
|
10198 | /** FileDescriptorProto options */
|
10199 | options?: (google.protobuf.IFileOptions|null);
|
10200 |
|
10201 | /** FileDescriptorProto sourceCodeInfo */
|
10202 | sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
|
10203 |
|
10204 | /** FileDescriptorProto syntax */
|
10205 | syntax?: (string|null);
|
10206 |
|
10207 | /** FileDescriptorProto edition */
|
10208 | edition?: (string|null);
|
10209 | }
|
10210 |
|
10211 | /** Represents a FileDescriptorProto. */
|
10212 | class FileDescriptorProto implements IFileDescriptorProto {
|
10213 |
|
10214 | /**
|
10215 | * Constructs a new FileDescriptorProto.
|
10216 | * @param [properties] Properties to set
|
10217 | */
|
10218 | constructor(properties?: google.protobuf.IFileDescriptorProto);
|
10219 |
|
10220 | /** FileDescriptorProto name. */
|
10221 | public name: string;
|
10222 |
|
10223 | /** FileDescriptorProto package. */
|
10224 | public package: string;
|
10225 |
|
10226 | /** FileDescriptorProto dependency. */
|
10227 | public dependency: string[];
|
10228 |
|
10229 | /** FileDescriptorProto publicDependency. */
|
10230 | public publicDependency: number[];
|
10231 |
|
10232 | /** FileDescriptorProto weakDependency. */
|
10233 | public weakDependency: number[];
|
10234 |
|
10235 | /** FileDescriptorProto messageType. */
|
10236 | public messageType: google.protobuf.IDescriptorProto[];
|
10237 |
|
10238 | /** FileDescriptorProto enumType. */
|
10239 | public enumType: google.protobuf.IEnumDescriptorProto[];
|
10240 |
|
10241 | /** FileDescriptorProto service. */
|
10242 | public service: google.protobuf.IServiceDescriptorProto[];
|
10243 |
|
10244 | /** FileDescriptorProto extension. */
|
10245 | public extension: google.protobuf.IFieldDescriptorProto[];
|
10246 |
|
10247 | /** FileDescriptorProto options. */
|
10248 | public options?: (google.protobuf.IFileOptions|null);
|
10249 |
|
10250 | /** FileDescriptorProto sourceCodeInfo. */
|
10251 | public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null);
|
10252 |
|
10253 | /** FileDescriptorProto syntax. */
|
10254 | public syntax: string;
|
10255 |
|
10256 | /** FileDescriptorProto edition. */
|
10257 | public edition: string;
|
10258 |
|
10259 | /**
|
10260 | * Creates a new FileDescriptorProto instance using the specified properties.
|
10261 | * @param [properties] Properties to set
|
10262 | * @returns FileDescriptorProto instance
|
10263 | */
|
10264 | public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto;
|
10265 |
|
10266 | /**
|
10267 | * Encodes the specified FileDescriptorProto message. Does not implicitly { google.protobuf.FileDescriptorProto.verify|verify} messages.
|
10268 | * message FileDescriptorProto message or plain object to encode
|
10269 | * [writer] Writer to encode to
|
10270 | * Writer
|
10271 | */
|
10272 | public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
10273 |
|
10274 | /**
|
10275 | * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages.
|
10276 | * @param message FileDescriptorProto message or plain object to encode
|
10277 | * @param [writer] Writer to encode to
|
10278 | * @returns Writer
|
10279 | */
|
10280 | public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
10281 |
|
10282 | /**
|
10283 | * Decodes a FileDescriptorProto message from the specified reader or buffer.
|
10284 | * @param reader Reader or buffer to decode from
|
10285 | * @param [length] Message length if known beforehand
|
10286 | * @returns FileDescriptorProto
|
10287 | * @throws {Error} If the payload is not a reader or valid buffer
|
10288 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10289 | */
|
10290 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto;
|
10291 |
|
10292 | /**
|
10293 | * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited.
|
10294 | * @param reader Reader or buffer to decode from
|
10295 | * @returns FileDescriptorProto
|
10296 | * @throws {Error} If the payload is not a reader or valid buffer
|
10297 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10298 | */
|
10299 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto;
|
10300 |
|
10301 | /**
|
10302 | * Verifies a FileDescriptorProto message.
|
10303 | * @param message Plain object to verify
|
10304 | * @returns `null` if valid, otherwise the reason why it is not
|
10305 | */
|
10306 | public static verify(message: { [k: string]: any }): (string|null);
|
10307 |
|
10308 | /**
|
10309 | * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
10310 | * @param object Plain object
|
10311 | * @returns FileDescriptorProto
|
10312 | */
|
10313 | public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto;
|
10314 |
|
10315 | /**
|
10316 | * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified.
|
10317 | * @param message FileDescriptorProto
|
10318 | * @param [options] Conversion options
|
10319 | * @returns Plain object
|
10320 | */
|
10321 | public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10322 |
|
10323 | /**
|
10324 | * Converts this FileDescriptorProto to JSON.
|
10325 | * @returns JSON object
|
10326 | */
|
10327 | public toJSON(): { [k: string]: any };
|
10328 |
|
10329 | /**
|
10330 | * Gets the default type url for FileDescriptorProto
|
10331 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
10332 | * @returns The default type url
|
10333 | */
|
10334 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
10335 | }
|
10336 |
|
10337 | /** Properties of a DescriptorProto. */
|
10338 | interface IDescriptorProto {
|
10339 |
|
10340 | /** DescriptorProto name */
|
10341 | name?: (string|null);
|
10342 |
|
10343 | /** DescriptorProto field */
|
10344 | field?: (google.protobuf.IFieldDescriptorProto[]|null);
|
10345 |
|
10346 | /** DescriptorProto extension */
|
10347 | extension?: (google.protobuf.IFieldDescriptorProto[]|null);
|
10348 |
|
10349 | /** DescriptorProto nestedType */
|
10350 | nestedType?: (google.protobuf.IDescriptorProto[]|null);
|
10351 |
|
10352 | /** DescriptorProto enumType */
|
10353 | enumType?: (google.protobuf.IEnumDescriptorProto[]|null);
|
10354 |
|
10355 | /** DescriptorProto extensionRange */
|
10356 | extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null);
|
10357 |
|
10358 | /** DescriptorProto oneofDecl */
|
10359 | oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null);
|
10360 |
|
10361 | /** DescriptorProto options */
|
10362 | options?: (google.protobuf.IMessageOptions|null);
|
10363 |
|
10364 | /** DescriptorProto reservedRange */
|
10365 | reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null);
|
10366 |
|
10367 | /** DescriptorProto reservedName */
|
10368 | reservedName?: (string[]|null);
|
10369 | }
|
10370 |
|
10371 | /** Represents a DescriptorProto. */
|
10372 | class DescriptorProto implements IDescriptorProto {
|
10373 |
|
10374 | /**
|
10375 | * Constructs a new DescriptorProto.
|
10376 | * @param [properties] Properties to set
|
10377 | */
|
10378 | constructor(properties?: google.protobuf.IDescriptorProto);
|
10379 |
|
10380 | /** DescriptorProto name. */
|
10381 | public name: string;
|
10382 |
|
10383 | /** DescriptorProto field. */
|
10384 | public field: google.protobuf.IFieldDescriptorProto[];
|
10385 |
|
10386 | /** DescriptorProto extension. */
|
10387 | public extension: google.protobuf.IFieldDescriptorProto[];
|
10388 |
|
10389 | /** DescriptorProto nestedType. */
|
10390 | public nestedType: google.protobuf.IDescriptorProto[];
|
10391 |
|
10392 | /** DescriptorProto enumType. */
|
10393 | public enumType: google.protobuf.IEnumDescriptorProto[];
|
10394 |
|
10395 | /** DescriptorProto extensionRange. */
|
10396 | public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[];
|
10397 |
|
10398 | /** DescriptorProto oneofDecl. */
|
10399 | public oneofDecl: google.protobuf.IOneofDescriptorProto[];
|
10400 |
|
10401 | /** DescriptorProto options. */
|
10402 | public options?: (google.protobuf.IMessageOptions|null);
|
10403 |
|
10404 | /** DescriptorProto reservedRange. */
|
10405 | public reservedRange: google.protobuf.DescriptorProto.IReservedRange[];
|
10406 |
|
10407 | /** DescriptorProto reservedName. */
|
10408 | public reservedName: string[];
|
10409 |
|
10410 | /**
|
10411 | * Creates a new DescriptorProto instance using the specified properties.
|
10412 | * @param [properties] Properties to set
|
10413 | * @returns DescriptorProto instance
|
10414 | */
|
10415 | public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto;
|
10416 |
|
10417 | /**
|
10418 | * Encodes the specified DescriptorProto message. Does not implicitly { google.protobuf.DescriptorProto.verify|verify} messages.
|
10419 | * message DescriptorProto message or plain object to encode
|
10420 | * [writer] Writer to encode to
|
10421 | * Writer
|
10422 | */
|
10423 | public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
10424 |
|
10425 | /**
|
10426 | * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages.
|
10427 | * @param message DescriptorProto message or plain object to encode
|
10428 | * @param [writer] Writer to encode to
|
10429 | * @returns Writer
|
10430 | */
|
10431 | public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
10432 |
|
10433 | /**
|
10434 | * Decodes a DescriptorProto message from the specified reader or buffer.
|
10435 | * @param reader Reader or buffer to decode from
|
10436 | * @param [length] Message length if known beforehand
|
10437 | * @returns DescriptorProto
|
10438 | * @throws {Error} If the payload is not a reader or valid buffer
|
10439 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10440 | */
|
10441 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto;
|
10442 |
|
10443 | /**
|
10444 | * Decodes a DescriptorProto message from the specified reader or buffer, length delimited.
|
10445 | * @param reader Reader or buffer to decode from
|
10446 | * @returns DescriptorProto
|
10447 | * @throws {Error} If the payload is not a reader or valid buffer
|
10448 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10449 | */
|
10450 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto;
|
10451 |
|
10452 | /**
|
10453 | * Verifies a DescriptorProto message.
|
10454 | * @param message Plain object to verify
|
10455 | * @returns `null` if valid, otherwise the reason why it is not
|
10456 | */
|
10457 | public static verify(message: { [k: string]: any }): (string|null);
|
10458 |
|
10459 | /**
|
10460 | * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types.
|
10461 | * @param object Plain object
|
10462 | * @returns DescriptorProto
|
10463 | */
|
10464 | public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto;
|
10465 |
|
10466 | /**
|
10467 | * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified.
|
10468 | * @param message DescriptorProto
|
10469 | * @param [options] Conversion options
|
10470 | * @returns Plain object
|
10471 | */
|
10472 | public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10473 |
|
10474 | /**
|
10475 | * Converts this DescriptorProto to JSON.
|
10476 | * @returns JSON object
|
10477 | */
|
10478 | public toJSON(): { [k: string]: any };
|
10479 |
|
10480 | /**
|
10481 | * Gets the default type url for DescriptorProto
|
10482 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
10483 | * @returns The default type url
|
10484 | */
|
10485 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
10486 | }
|
10487 |
|
10488 | namespace DescriptorProto {
|
10489 |
|
10490 | /** Properties of an ExtensionRange. */
|
10491 | interface IExtensionRange {
|
10492 |
|
10493 | /** ExtensionRange start */
|
10494 | start?: (number|null);
|
10495 |
|
10496 | /** ExtensionRange end */
|
10497 | end?: (number|null);
|
10498 |
|
10499 | /** ExtensionRange options */
|
10500 | options?: (google.protobuf.IExtensionRangeOptions|null);
|
10501 | }
|
10502 |
|
10503 | /** Represents an ExtensionRange. */
|
10504 | class ExtensionRange implements IExtensionRange {
|
10505 |
|
10506 | /**
|
10507 | * Constructs a new ExtensionRange.
|
10508 | * @param [properties] Properties to set
|
10509 | */
|
10510 | constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange);
|
10511 |
|
10512 | /** ExtensionRange start. */
|
10513 | public start: number;
|
10514 |
|
10515 | /** ExtensionRange end. */
|
10516 | public end: number;
|
10517 |
|
10518 | /** ExtensionRange options. */
|
10519 | public options?: (google.protobuf.IExtensionRangeOptions|null);
|
10520 |
|
10521 | /**
|
10522 | * Creates a new ExtensionRange instance using the specified properties.
|
10523 | * @param [properties] Properties to set
|
10524 | * @returns ExtensionRange instance
|
10525 | */
|
10526 | public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange;
|
10527 |
|
10528 | /**
|
10529 | * Encodes the specified ExtensionRange message. Does not implicitly { google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
|
10530 | * message ExtensionRange message or plain object to encode
|
10531 | * [writer] Writer to encode to
|
10532 | * Writer
|
10533 | */
|
10534 | public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
10535 |
|
10536 | /**
|
10537 | * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages.
|
10538 | * @param message ExtensionRange message or plain object to encode
|
10539 | * @param [writer] Writer to encode to
|
10540 | * @returns Writer
|
10541 | */
|
10542 | public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
10543 |
|
10544 | /**
|
10545 | * Decodes an ExtensionRange message from the specified reader or buffer.
|
10546 | * @param reader Reader or buffer to decode from
|
10547 | * @param [length] Message length if known beforehand
|
10548 | * @returns ExtensionRange
|
10549 | * @throws {Error} If the payload is not a reader or valid buffer
|
10550 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10551 | */
|
10552 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange;
|
10553 |
|
10554 | /**
|
10555 | * Decodes an ExtensionRange message from the specified reader or buffer, length delimited.
|
10556 | * @param reader Reader or buffer to decode from
|
10557 | * @returns ExtensionRange
|
10558 | * @throws {Error} If the payload is not a reader or valid buffer
|
10559 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10560 | */
|
10561 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange;
|
10562 |
|
10563 | /**
|
10564 | * Verifies an ExtensionRange message.
|
10565 | * @param message Plain object to verify
|
10566 | * @returns `null` if valid, otherwise the reason why it is not
|
10567 | */
|
10568 | public static verify(message: { [k: string]: any }): (string|null);
|
10569 |
|
10570 | /**
|
10571 | * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types.
|
10572 | * @param object Plain object
|
10573 | * @returns ExtensionRange
|
10574 | */
|
10575 | public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange;
|
10576 |
|
10577 | /**
|
10578 | * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified.
|
10579 | * @param message ExtensionRange
|
10580 | * @param [options] Conversion options
|
10581 | * @returns Plain object
|
10582 | */
|
10583 | public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10584 |
|
10585 | /**
|
10586 | * Converts this ExtensionRange to JSON.
|
10587 | * @returns JSON object
|
10588 | */
|
10589 | public toJSON(): { [k: string]: any };
|
10590 |
|
10591 | /**
|
10592 | * Gets the default type url for ExtensionRange
|
10593 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
10594 | * @returns The default type url
|
10595 | */
|
10596 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
10597 | }
|
10598 |
|
10599 | /** Properties of a ReservedRange. */
|
10600 | interface IReservedRange {
|
10601 |
|
10602 | /** ReservedRange start */
|
10603 | start?: (number|null);
|
10604 |
|
10605 | /** ReservedRange end */
|
10606 | end?: (number|null);
|
10607 | }
|
10608 |
|
10609 | /** Represents a ReservedRange. */
|
10610 | class ReservedRange implements IReservedRange {
|
10611 |
|
10612 | /**
|
10613 | * Constructs a new ReservedRange.
|
10614 | * @param [properties] Properties to set
|
10615 | */
|
10616 | constructor(properties?: google.protobuf.DescriptorProto.IReservedRange);
|
10617 |
|
10618 | /** ReservedRange start. */
|
10619 | public start: number;
|
10620 |
|
10621 | /** ReservedRange end. */
|
10622 | public end: number;
|
10623 |
|
10624 | /**
|
10625 | * Creates a new ReservedRange instance using the specified properties.
|
10626 | * @param [properties] Properties to set
|
10627 | * @returns ReservedRange instance
|
10628 | */
|
10629 | public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange;
|
10630 |
|
10631 | /**
|
10632 | * Encodes the specified ReservedRange message. Does not implicitly { google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
|
10633 | * message ReservedRange message or plain object to encode
|
10634 | * [writer] Writer to encode to
|
10635 | * Writer
|
10636 | */
|
10637 | public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
10638 |
|
10639 | /**
|
10640 | * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages.
|
10641 | * @param message ReservedRange message or plain object to encode
|
10642 | * @param [writer] Writer to encode to
|
10643 | * @returns Writer
|
10644 | */
|
10645 | public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
10646 |
|
10647 | /**
|
10648 | * Decodes a ReservedRange message from the specified reader or buffer.
|
10649 | * @param reader Reader or buffer to decode from
|
10650 | * @param [length] Message length if known beforehand
|
10651 | * @returns ReservedRange
|
10652 | * @throws {Error} If the payload is not a reader or valid buffer
|
10653 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10654 | */
|
10655 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange;
|
10656 |
|
10657 | /**
|
10658 | * Decodes a ReservedRange message from the specified reader or buffer, length delimited.
|
10659 | * @param reader Reader or buffer to decode from
|
10660 | * @returns ReservedRange
|
10661 | * @throws {Error} If the payload is not a reader or valid buffer
|
10662 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10663 | */
|
10664 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange;
|
10665 |
|
10666 | /**
|
10667 | * Verifies a ReservedRange message.
|
10668 | * @param message Plain object to verify
|
10669 | * @returns `null` if valid, otherwise the reason why it is not
|
10670 | */
|
10671 | public static verify(message: { [k: string]: any }): (string|null);
|
10672 |
|
10673 | /**
|
10674 | * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types.
|
10675 | * @param object Plain object
|
10676 | * @returns ReservedRange
|
10677 | */
|
10678 | public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange;
|
10679 |
|
10680 | /**
|
10681 | * Creates a plain object from a ReservedRange message. Also converts values to other types if specified.
|
10682 | * @param message ReservedRange
|
10683 | * @param [options] Conversion options
|
10684 | * @returns Plain object
|
10685 | */
|
10686 | public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10687 |
|
10688 | /**
|
10689 | * Converts this ReservedRange to JSON.
|
10690 | * @returns JSON object
|
10691 | */
|
10692 | public toJSON(): { [k: string]: any };
|
10693 |
|
10694 | /**
|
10695 | * Gets the default type url for ReservedRange
|
10696 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
10697 | * @returns The default type url
|
10698 | */
|
10699 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
10700 | }
|
10701 | }
|
10702 |
|
10703 | /** Properties of an ExtensionRangeOptions. */
|
10704 | interface IExtensionRangeOptions {
|
10705 |
|
10706 | /** ExtensionRangeOptions uninterpretedOption */
|
10707 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
10708 |
|
10709 | /** ExtensionRangeOptions declaration */
|
10710 | declaration?: (google.protobuf.ExtensionRangeOptions.IDeclaration[]|null);
|
10711 |
|
10712 | /** ExtensionRangeOptions features */
|
10713 | features?: (google.protobuf.IFeatureSet|null);
|
10714 |
|
10715 | /** ExtensionRangeOptions verification */
|
10716 | verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState|null);
|
10717 | }
|
10718 |
|
10719 | /** Represents an ExtensionRangeOptions. */
|
10720 | class ExtensionRangeOptions implements IExtensionRangeOptions {
|
10721 |
|
10722 | /**
|
10723 | * Constructs a new ExtensionRangeOptions.
|
10724 | * @param [properties] Properties to set
|
10725 | */
|
10726 | constructor(properties?: google.protobuf.IExtensionRangeOptions);
|
10727 |
|
10728 | /** ExtensionRangeOptions uninterpretedOption. */
|
10729 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
10730 |
|
10731 | /** ExtensionRangeOptions declaration. */
|
10732 | public declaration: google.protobuf.ExtensionRangeOptions.IDeclaration[];
|
10733 |
|
10734 | /** ExtensionRangeOptions features. */
|
10735 | public features?: (google.protobuf.IFeatureSet|null);
|
10736 |
|
10737 | /** ExtensionRangeOptions verification. */
|
10738 | public verification: (google.protobuf.ExtensionRangeOptions.VerificationState|keyof typeof google.protobuf.ExtensionRangeOptions.VerificationState);
|
10739 |
|
10740 | /**
|
10741 | * Creates a new ExtensionRangeOptions instance using the specified properties.
|
10742 | * @param [properties] Properties to set
|
10743 | * @returns ExtensionRangeOptions instance
|
10744 | */
|
10745 | public static create(properties?: google.protobuf.IExtensionRangeOptions): google.protobuf.ExtensionRangeOptions;
|
10746 |
|
10747 | /**
|
10748 | * Encodes the specified ExtensionRangeOptions message. Does not implicitly { google.protobuf.ExtensionRangeOptions.verify|verify} messages.
|
10749 | * message ExtensionRangeOptions message or plain object to encode
|
10750 | * [writer] Writer to encode to
|
10751 | * Writer
|
10752 | */
|
10753 | public static encode(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
10754 |
|
10755 | /**
|
10756 | * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages.
|
10757 | * @param message ExtensionRangeOptions message or plain object to encode
|
10758 | * @param [writer] Writer to encode to
|
10759 | * @returns Writer
|
10760 | */
|
10761 | public static encodeDelimited(message: google.protobuf.IExtensionRangeOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
10762 |
|
10763 | /**
|
10764 | * Decodes an ExtensionRangeOptions message from the specified reader or buffer.
|
10765 | * @param reader Reader or buffer to decode from
|
10766 | * @param [length] Message length if known beforehand
|
10767 | * @returns ExtensionRangeOptions
|
10768 | * @throws {Error} If the payload is not a reader or valid buffer
|
10769 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10770 | */
|
10771 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions;
|
10772 |
|
10773 | /**
|
10774 | * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited.
|
10775 | * @param reader Reader or buffer to decode from
|
10776 | * @returns ExtensionRangeOptions
|
10777 | * @throws {Error} If the payload is not a reader or valid buffer
|
10778 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10779 | */
|
10780 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions;
|
10781 |
|
10782 | /**
|
10783 | * Verifies an ExtensionRangeOptions message.
|
10784 | * @param message Plain object to verify
|
10785 | * @returns `null` if valid, otherwise the reason why it is not
|
10786 | */
|
10787 | public static verify(message: { [k: string]: any }): (string|null);
|
10788 |
|
10789 | /**
|
10790 | * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types.
|
10791 | * @param object Plain object
|
10792 | * @returns ExtensionRangeOptions
|
10793 | */
|
10794 | public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions;
|
10795 |
|
10796 | /**
|
10797 | * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified.
|
10798 | * @param message ExtensionRangeOptions
|
10799 | * @param [options] Conversion options
|
10800 | * @returns Plain object
|
10801 | */
|
10802 | public static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10803 |
|
10804 | /**
|
10805 | * Converts this ExtensionRangeOptions to JSON.
|
10806 | * @returns JSON object
|
10807 | */
|
10808 | public toJSON(): { [k: string]: any };
|
10809 |
|
10810 | /**
|
10811 | * Gets the default type url for ExtensionRangeOptions
|
10812 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
10813 | * @returns The default type url
|
10814 | */
|
10815 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
10816 | }
|
10817 |
|
10818 | namespace ExtensionRangeOptions {
|
10819 |
|
10820 | /** Properties of a Declaration. */
|
10821 | interface IDeclaration {
|
10822 |
|
10823 | /** Declaration number */
|
10824 | number?: (number|null);
|
10825 |
|
10826 | /** Declaration fullName */
|
10827 | fullName?: (string|null);
|
10828 |
|
10829 | /** Declaration type */
|
10830 | type?: (string|null);
|
10831 |
|
10832 | /** Declaration reserved */
|
10833 | reserved?: (boolean|null);
|
10834 |
|
10835 | /** Declaration repeated */
|
10836 | repeated?: (boolean|null);
|
10837 | }
|
10838 |
|
10839 | /** Represents a Declaration. */
|
10840 | class Declaration implements IDeclaration {
|
10841 |
|
10842 | /**
|
10843 | * Constructs a new Declaration.
|
10844 | * @param [properties] Properties to set
|
10845 | */
|
10846 | constructor(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration);
|
10847 |
|
10848 | /** Declaration number. */
|
10849 | public number: number;
|
10850 |
|
10851 | /** Declaration fullName. */
|
10852 | public fullName: string;
|
10853 |
|
10854 | /** Declaration type. */
|
10855 | public type: string;
|
10856 |
|
10857 | /** Declaration reserved. */
|
10858 | public reserved: boolean;
|
10859 |
|
10860 | /** Declaration repeated. */
|
10861 | public repeated: boolean;
|
10862 |
|
10863 | /**
|
10864 | * Creates a new Declaration instance using the specified properties.
|
10865 | * @param [properties] Properties to set
|
10866 | * @returns Declaration instance
|
10867 | */
|
10868 | public static create(properties?: google.protobuf.ExtensionRangeOptions.IDeclaration): google.protobuf.ExtensionRangeOptions.Declaration;
|
10869 |
|
10870 | /**
|
10871 | * Encodes the specified Declaration message. Does not implicitly { google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
10872 | * message Declaration message or plain object to encode
|
10873 | * [writer] Writer to encode to
|
10874 | * Writer
|
10875 | */
|
10876 | public static encode(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
10877 |
|
10878 | /**
|
10879 | * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
10880 | * @param message Declaration message or plain object to encode
|
10881 | * @param [writer] Writer to encode to
|
10882 | * @returns Writer
|
10883 | */
|
10884 | public static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.IDeclaration, writer?: $protobuf.Writer): $protobuf.Writer;
|
10885 |
|
10886 | /**
|
10887 | * Decodes a Declaration message from the specified reader or buffer.
|
10888 | * @param reader Reader or buffer to decode from
|
10889 | * @param [length] Message length if known beforehand
|
10890 | * @returns Declaration
|
10891 | * @throws {Error} If the payload is not a reader or valid buffer
|
10892 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10893 | */
|
10894 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration;
|
10895 |
|
10896 | /**
|
10897 | * Decodes a Declaration message from the specified reader or buffer, length delimited.
|
10898 | * @param reader Reader or buffer to decode from
|
10899 | * @returns Declaration
|
10900 | * @throws {Error} If the payload is not a reader or valid buffer
|
10901 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
10902 | */
|
10903 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration;
|
10904 |
|
10905 | /**
|
10906 | * Verifies a Declaration message.
|
10907 | * @param message Plain object to verify
|
10908 | * @returns `null` if valid, otherwise the reason why it is not
|
10909 | */
|
10910 | public static verify(message: { [k: string]: any }): (string|null);
|
10911 |
|
10912 | /**
|
10913 | * Creates a Declaration message from a plain object. Also converts values to their respective internal types.
|
10914 | * @param object Plain object
|
10915 | * @returns Declaration
|
10916 | */
|
10917 | public static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration;
|
10918 |
|
10919 | /**
|
10920 | * Creates a plain object from a Declaration message. Also converts values to other types if specified.
|
10921 | * @param message Declaration
|
10922 | * @param [options] Conversion options
|
10923 | * @returns Plain object
|
10924 | */
|
10925 | public static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
10926 |
|
10927 | /**
|
10928 | * Converts this Declaration to JSON.
|
10929 | * @returns JSON object
|
10930 | */
|
10931 | public toJSON(): { [k: string]: any };
|
10932 |
|
10933 | /**
|
10934 | * Gets the default type url for Declaration
|
10935 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
10936 | * @returns The default type url
|
10937 | */
|
10938 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
10939 | }
|
10940 |
|
10941 | /** VerificationState enum. */
|
10942 | enum VerificationState {
|
10943 | DECLARATION = 0,
|
10944 | UNVERIFIED = 1
|
10945 | }
|
10946 | }
|
10947 |
|
10948 | /** Properties of a FieldDescriptorProto. */
|
10949 | interface IFieldDescriptorProto {
|
10950 |
|
10951 | /** FieldDescriptorProto name */
|
10952 | name?: (string|null);
|
10953 |
|
10954 | /** FieldDescriptorProto number */
|
10955 | number?: (number|null);
|
10956 |
|
10957 | /** FieldDescriptorProto label */
|
10958 | label?: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label|null);
|
10959 |
|
10960 | /** FieldDescriptorProto type */
|
10961 | type?: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type|null);
|
10962 |
|
10963 | /** FieldDescriptorProto typeName */
|
10964 | typeName?: (string|null);
|
10965 |
|
10966 | /** FieldDescriptorProto extendee */
|
10967 | extendee?: (string|null);
|
10968 |
|
10969 | /** FieldDescriptorProto defaultValue */
|
10970 | defaultValue?: (string|null);
|
10971 |
|
10972 | /** FieldDescriptorProto oneofIndex */
|
10973 | oneofIndex?: (number|null);
|
10974 |
|
10975 | /** FieldDescriptorProto jsonName */
|
10976 | jsonName?: (string|null);
|
10977 |
|
10978 | /** FieldDescriptorProto options */
|
10979 | options?: (google.protobuf.IFieldOptions|null);
|
10980 |
|
10981 | /** FieldDescriptorProto proto3Optional */
|
10982 | proto3Optional?: (boolean|null);
|
10983 | }
|
10984 |
|
10985 | /** Represents a FieldDescriptorProto. */
|
10986 | class FieldDescriptorProto implements IFieldDescriptorProto {
|
10987 |
|
10988 | /**
|
10989 | * Constructs a new FieldDescriptorProto.
|
10990 | * @param [properties] Properties to set
|
10991 | */
|
10992 | constructor(properties?: google.protobuf.IFieldDescriptorProto);
|
10993 |
|
10994 | /** FieldDescriptorProto name. */
|
10995 | public name: string;
|
10996 |
|
10997 | /** FieldDescriptorProto number. */
|
10998 | public number: number;
|
10999 |
|
11000 | /** FieldDescriptorProto label. */
|
11001 | public label: (google.protobuf.FieldDescriptorProto.Label|keyof typeof google.protobuf.FieldDescriptorProto.Label);
|
11002 |
|
11003 | /** FieldDescriptorProto type. */
|
11004 | public type: (google.protobuf.FieldDescriptorProto.Type|keyof typeof google.protobuf.FieldDescriptorProto.Type);
|
11005 |
|
11006 | /** FieldDescriptorProto typeName. */
|
11007 | public typeName: string;
|
11008 |
|
11009 | /** FieldDescriptorProto extendee. */
|
11010 | public extendee: string;
|
11011 |
|
11012 | /** FieldDescriptorProto defaultValue. */
|
11013 | public defaultValue: string;
|
11014 |
|
11015 | /** FieldDescriptorProto oneofIndex. */
|
11016 | public oneofIndex: number;
|
11017 |
|
11018 | /** FieldDescriptorProto jsonName. */
|
11019 | public jsonName: string;
|
11020 |
|
11021 | /** FieldDescriptorProto options. */
|
11022 | public options?: (google.protobuf.IFieldOptions|null);
|
11023 |
|
11024 | /** FieldDescriptorProto proto3Optional. */
|
11025 | public proto3Optional: boolean;
|
11026 |
|
11027 | /**
|
11028 | * Creates a new FieldDescriptorProto instance using the specified properties.
|
11029 | * @param [properties] Properties to set
|
11030 | * @returns FieldDescriptorProto instance
|
11031 | */
|
11032 | public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto;
|
11033 |
|
11034 | /**
|
11035 | * Encodes the specified FieldDescriptorProto message. Does not implicitly { google.protobuf.FieldDescriptorProto.verify|verify} messages.
|
11036 | * message FieldDescriptorProto message or plain object to encode
|
11037 | * [writer] Writer to encode to
|
11038 | * Writer
|
11039 | */
|
11040 | public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11041 |
|
11042 | /**
|
11043 | * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages.
|
11044 | * @param message FieldDescriptorProto message or plain object to encode
|
11045 | * @param [writer] Writer to encode to
|
11046 | * @returns Writer
|
11047 | */
|
11048 | public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11049 |
|
11050 | /**
|
11051 | * Decodes a FieldDescriptorProto message from the specified reader or buffer.
|
11052 | * @param reader Reader or buffer to decode from
|
11053 | * @param [length] Message length if known beforehand
|
11054 | * @returns FieldDescriptorProto
|
11055 | * @throws {Error} If the payload is not a reader or valid buffer
|
11056 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11057 | */
|
11058 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto;
|
11059 |
|
11060 | /**
|
11061 | * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited.
|
11062 | * @param reader Reader or buffer to decode from
|
11063 | * @returns FieldDescriptorProto
|
11064 | * @throws {Error} If the payload is not a reader or valid buffer
|
11065 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11066 | */
|
11067 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto;
|
11068 |
|
11069 | /**
|
11070 | * Verifies a FieldDescriptorProto message.
|
11071 | * @param message Plain object to verify
|
11072 | * @returns `null` if valid, otherwise the reason why it is not
|
11073 | */
|
11074 | public static verify(message: { [k: string]: any }): (string|null);
|
11075 |
|
11076 | /**
|
11077 | * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
11078 | * @param object Plain object
|
11079 | * @returns FieldDescriptorProto
|
11080 | */
|
11081 | public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto;
|
11082 |
|
11083 | /**
|
11084 | * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified.
|
11085 | * @param message FieldDescriptorProto
|
11086 | * @param [options] Conversion options
|
11087 | * @returns Plain object
|
11088 | */
|
11089 | public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
11090 |
|
11091 | /**
|
11092 | * Converts this FieldDescriptorProto to JSON.
|
11093 | * @returns JSON object
|
11094 | */
|
11095 | public toJSON(): { [k: string]: any };
|
11096 |
|
11097 | /**
|
11098 | * Gets the default type url for FieldDescriptorProto
|
11099 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
11100 | * @returns The default type url
|
11101 | */
|
11102 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
11103 | }
|
11104 |
|
11105 | namespace FieldDescriptorProto {
|
11106 |
|
11107 | /** Type enum. */
|
11108 | enum Type {
|
11109 | TYPE_DOUBLE = 1,
|
11110 | TYPE_FLOAT = 2,
|
11111 | TYPE_INT64 = 3,
|
11112 | TYPE_UINT64 = 4,
|
11113 | TYPE_INT32 = 5,
|
11114 | TYPE_FIXED64 = 6,
|
11115 | TYPE_FIXED32 = 7,
|
11116 | TYPE_BOOL = 8,
|
11117 | TYPE_STRING = 9,
|
11118 | TYPE_GROUP = 10,
|
11119 | TYPE_MESSAGE = 11,
|
11120 | TYPE_BYTES = 12,
|
11121 | TYPE_UINT32 = 13,
|
11122 | TYPE_ENUM = 14,
|
11123 | TYPE_SFIXED32 = 15,
|
11124 | TYPE_SFIXED64 = 16,
|
11125 | TYPE_SINT32 = 17,
|
11126 | TYPE_SINT64 = 18
|
11127 | }
|
11128 |
|
11129 | /** Label enum. */
|
11130 | enum Label {
|
11131 | LABEL_OPTIONAL = 1,
|
11132 | LABEL_REQUIRED = 2,
|
11133 | LABEL_REPEATED = 3
|
11134 | }
|
11135 | }
|
11136 |
|
11137 | /** Properties of an OneofDescriptorProto. */
|
11138 | interface IOneofDescriptorProto {
|
11139 |
|
11140 | /** OneofDescriptorProto name */
|
11141 | name?: (string|null);
|
11142 |
|
11143 | /** OneofDescriptorProto options */
|
11144 | options?: (google.protobuf.IOneofOptions|null);
|
11145 | }
|
11146 |
|
11147 | /** Represents an OneofDescriptorProto. */
|
11148 | class OneofDescriptorProto implements IOneofDescriptorProto {
|
11149 |
|
11150 | /**
|
11151 | * Constructs a new OneofDescriptorProto.
|
11152 | * @param [properties] Properties to set
|
11153 | */
|
11154 | constructor(properties?: google.protobuf.IOneofDescriptorProto);
|
11155 |
|
11156 | /** OneofDescriptorProto name. */
|
11157 | public name: string;
|
11158 |
|
11159 | /** OneofDescriptorProto options. */
|
11160 | public options?: (google.protobuf.IOneofOptions|null);
|
11161 |
|
11162 | /**
|
11163 | * Creates a new OneofDescriptorProto instance using the specified properties.
|
11164 | * @param [properties] Properties to set
|
11165 | * @returns OneofDescriptorProto instance
|
11166 | */
|
11167 | public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto;
|
11168 |
|
11169 | /**
|
11170 | * Encodes the specified OneofDescriptorProto message. Does not implicitly { google.protobuf.OneofDescriptorProto.verify|verify} messages.
|
11171 | * message OneofDescriptorProto message or plain object to encode
|
11172 | * [writer] Writer to encode to
|
11173 | * Writer
|
11174 | */
|
11175 | public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11176 |
|
11177 | /**
|
11178 | * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages.
|
11179 | * @param message OneofDescriptorProto message or plain object to encode
|
11180 | * @param [writer] Writer to encode to
|
11181 | * @returns Writer
|
11182 | */
|
11183 | public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11184 |
|
11185 | /**
|
11186 | * Decodes an OneofDescriptorProto message from the specified reader or buffer.
|
11187 | * @param reader Reader or buffer to decode from
|
11188 | * @param [length] Message length if known beforehand
|
11189 | * @returns OneofDescriptorProto
|
11190 | * @throws {Error} If the payload is not a reader or valid buffer
|
11191 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11192 | */
|
11193 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto;
|
11194 |
|
11195 | /**
|
11196 | * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited.
|
11197 | * @param reader Reader or buffer to decode from
|
11198 | * @returns OneofDescriptorProto
|
11199 | * @throws {Error} If the payload is not a reader or valid buffer
|
11200 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11201 | */
|
11202 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto;
|
11203 |
|
11204 | /**
|
11205 | * Verifies an OneofDescriptorProto message.
|
11206 | * @param message Plain object to verify
|
11207 | * @returns `null` if valid, otherwise the reason why it is not
|
11208 | */
|
11209 | public static verify(message: { [k: string]: any }): (string|null);
|
11210 |
|
11211 | /**
|
11212 | * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
11213 | * @param object Plain object
|
11214 | * @returns OneofDescriptorProto
|
11215 | */
|
11216 | public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto;
|
11217 |
|
11218 | /**
|
11219 | * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified.
|
11220 | * @param message OneofDescriptorProto
|
11221 | * @param [options] Conversion options
|
11222 | * @returns Plain object
|
11223 | */
|
11224 | public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
11225 |
|
11226 | /**
|
11227 | * Converts this OneofDescriptorProto to JSON.
|
11228 | * @returns JSON object
|
11229 | */
|
11230 | public toJSON(): { [k: string]: any };
|
11231 |
|
11232 | /**
|
11233 | * Gets the default type url for OneofDescriptorProto
|
11234 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
11235 | * @returns The default type url
|
11236 | */
|
11237 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
11238 | }
|
11239 |
|
11240 | /** Properties of an EnumDescriptorProto. */
|
11241 | interface IEnumDescriptorProto {
|
11242 |
|
11243 | /** EnumDescriptorProto name */
|
11244 | name?: (string|null);
|
11245 |
|
11246 | /** EnumDescriptorProto value */
|
11247 | value?: (google.protobuf.IEnumValueDescriptorProto[]|null);
|
11248 |
|
11249 | /** EnumDescriptorProto options */
|
11250 | options?: (google.protobuf.IEnumOptions|null);
|
11251 |
|
11252 | /** EnumDescriptorProto reservedRange */
|
11253 | reservedRange?: (google.protobuf.EnumDescriptorProto.IEnumReservedRange[]|null);
|
11254 |
|
11255 | /** EnumDescriptorProto reservedName */
|
11256 | reservedName?: (string[]|null);
|
11257 | }
|
11258 |
|
11259 | /** Represents an EnumDescriptorProto. */
|
11260 | class EnumDescriptorProto implements IEnumDescriptorProto {
|
11261 |
|
11262 | /**
|
11263 | * Constructs a new EnumDescriptorProto.
|
11264 | * @param [properties] Properties to set
|
11265 | */
|
11266 | constructor(properties?: google.protobuf.IEnumDescriptorProto);
|
11267 |
|
11268 | /** EnumDescriptorProto name. */
|
11269 | public name: string;
|
11270 |
|
11271 | /** EnumDescriptorProto value. */
|
11272 | public value: google.protobuf.IEnumValueDescriptorProto[];
|
11273 |
|
11274 | /** EnumDescriptorProto options. */
|
11275 | public options?: (google.protobuf.IEnumOptions|null);
|
11276 |
|
11277 | /** EnumDescriptorProto reservedRange. */
|
11278 | public reservedRange: google.protobuf.EnumDescriptorProto.IEnumReservedRange[];
|
11279 |
|
11280 | /** EnumDescriptorProto reservedName. */
|
11281 | public reservedName: string[];
|
11282 |
|
11283 | /**
|
11284 | * Creates a new EnumDescriptorProto instance using the specified properties.
|
11285 | * @param [properties] Properties to set
|
11286 | * @returns EnumDescriptorProto instance
|
11287 | */
|
11288 | public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto;
|
11289 |
|
11290 | /**
|
11291 | * Encodes the specified EnumDescriptorProto message. Does not implicitly { google.protobuf.EnumDescriptorProto.verify|verify} messages.
|
11292 | * message EnumDescriptorProto message or plain object to encode
|
11293 | * [writer] Writer to encode to
|
11294 | * Writer
|
11295 | */
|
11296 | public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11297 |
|
11298 | /**
|
11299 | * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages.
|
11300 | * @param message EnumDescriptorProto message or plain object to encode
|
11301 | * @param [writer] Writer to encode to
|
11302 | * @returns Writer
|
11303 | */
|
11304 | public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11305 |
|
11306 | /**
|
11307 | * Decodes an EnumDescriptorProto message from the specified reader or buffer.
|
11308 | * @param reader Reader or buffer to decode from
|
11309 | * @param [length] Message length if known beforehand
|
11310 | * @returns EnumDescriptorProto
|
11311 | * @throws {Error} If the payload is not a reader or valid buffer
|
11312 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11313 | */
|
11314 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto;
|
11315 |
|
11316 | /**
|
11317 | * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited.
|
11318 | * @param reader Reader or buffer to decode from
|
11319 | * @returns EnumDescriptorProto
|
11320 | * @throws {Error} If the payload is not a reader or valid buffer
|
11321 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11322 | */
|
11323 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto;
|
11324 |
|
11325 | /**
|
11326 | * Verifies an EnumDescriptorProto message.
|
11327 | * @param message Plain object to verify
|
11328 | * @returns `null` if valid, otherwise the reason why it is not
|
11329 | */
|
11330 | public static verify(message: { [k: string]: any }): (string|null);
|
11331 |
|
11332 | /**
|
11333 | * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
11334 | * @param object Plain object
|
11335 | * @returns EnumDescriptorProto
|
11336 | */
|
11337 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto;
|
11338 |
|
11339 | /**
|
11340 | * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified.
|
11341 | * @param message EnumDescriptorProto
|
11342 | * @param [options] Conversion options
|
11343 | * @returns Plain object
|
11344 | */
|
11345 | public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
11346 |
|
11347 | /**
|
11348 | * Converts this EnumDescriptorProto to JSON.
|
11349 | * @returns JSON object
|
11350 | */
|
11351 | public toJSON(): { [k: string]: any };
|
11352 |
|
11353 | /**
|
11354 | * Gets the default type url for EnumDescriptorProto
|
11355 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
11356 | * @returns The default type url
|
11357 | */
|
11358 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
11359 | }
|
11360 |
|
11361 | namespace EnumDescriptorProto {
|
11362 |
|
11363 | /** Properties of an EnumReservedRange. */
|
11364 | interface IEnumReservedRange {
|
11365 |
|
11366 | /** EnumReservedRange start */
|
11367 | start?: (number|null);
|
11368 |
|
11369 | /** EnumReservedRange end */
|
11370 | end?: (number|null);
|
11371 | }
|
11372 |
|
11373 | /** Represents an EnumReservedRange. */
|
11374 | class EnumReservedRange implements IEnumReservedRange {
|
11375 |
|
11376 | /**
|
11377 | * Constructs a new EnumReservedRange.
|
11378 | * @param [properties] Properties to set
|
11379 | */
|
11380 | constructor(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange);
|
11381 |
|
11382 | /** EnumReservedRange start. */
|
11383 | public start: number;
|
11384 |
|
11385 | /** EnumReservedRange end. */
|
11386 | public end: number;
|
11387 |
|
11388 | /**
|
11389 | * Creates a new EnumReservedRange instance using the specified properties.
|
11390 | * @param [properties] Properties to set
|
11391 | * @returns EnumReservedRange instance
|
11392 | */
|
11393 | public static create(properties?: google.protobuf.EnumDescriptorProto.IEnumReservedRange): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
11394 |
|
11395 | /**
|
11396 | * Encodes the specified EnumReservedRange message. Does not implicitly { google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
|
11397 | * message EnumReservedRange message or plain object to encode
|
11398 | * [writer] Writer to encode to
|
11399 | * Writer
|
11400 | */
|
11401 | public static encode(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
11402 |
|
11403 | /**
|
11404 | * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages.
|
11405 | * @param message EnumReservedRange message or plain object to encode
|
11406 | * @param [writer] Writer to encode to
|
11407 | * @returns Writer
|
11408 | */
|
11409 | public static encodeDelimited(message: google.protobuf.EnumDescriptorProto.IEnumReservedRange, writer?: $protobuf.Writer): $protobuf.Writer;
|
11410 |
|
11411 | /**
|
11412 | * Decodes an EnumReservedRange message from the specified reader or buffer.
|
11413 | * @param reader Reader or buffer to decode from
|
11414 | * @param [length] Message length if known beforehand
|
11415 | * @returns EnumReservedRange
|
11416 | * @throws {Error} If the payload is not a reader or valid buffer
|
11417 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11418 | */
|
11419 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
11420 |
|
11421 | /**
|
11422 | * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited.
|
11423 | * @param reader Reader or buffer to decode from
|
11424 | * @returns EnumReservedRange
|
11425 | * @throws {Error} If the payload is not a reader or valid buffer
|
11426 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11427 | */
|
11428 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
11429 |
|
11430 | /**
|
11431 | * Verifies an EnumReservedRange message.
|
11432 | * @param message Plain object to verify
|
11433 | * @returns `null` if valid, otherwise the reason why it is not
|
11434 | */
|
11435 | public static verify(message: { [k: string]: any }): (string|null);
|
11436 |
|
11437 | /**
|
11438 | * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types.
|
11439 | * @param object Plain object
|
11440 | * @returns EnumReservedRange
|
11441 | */
|
11442 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange;
|
11443 |
|
11444 | /**
|
11445 | * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified.
|
11446 | * @param message EnumReservedRange
|
11447 | * @param [options] Conversion options
|
11448 | * @returns Plain object
|
11449 | */
|
11450 | public static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
11451 |
|
11452 | /**
|
11453 | * Converts this EnumReservedRange to JSON.
|
11454 | * @returns JSON object
|
11455 | */
|
11456 | public toJSON(): { [k: string]: any };
|
11457 |
|
11458 | /**
|
11459 | * Gets the default type url for EnumReservedRange
|
11460 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
11461 | * @returns The default type url
|
11462 | */
|
11463 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
11464 | }
|
11465 | }
|
11466 |
|
11467 | /** Properties of an EnumValueDescriptorProto. */
|
11468 | interface IEnumValueDescriptorProto {
|
11469 |
|
11470 | /** EnumValueDescriptorProto name */
|
11471 | name?: (string|null);
|
11472 |
|
11473 | /** EnumValueDescriptorProto number */
|
11474 | number?: (number|null);
|
11475 |
|
11476 | /** EnumValueDescriptorProto options */
|
11477 | options?: (google.protobuf.IEnumValueOptions|null);
|
11478 | }
|
11479 |
|
11480 | /** Represents an EnumValueDescriptorProto. */
|
11481 | class EnumValueDescriptorProto implements IEnumValueDescriptorProto {
|
11482 |
|
11483 | /**
|
11484 | * Constructs a new EnumValueDescriptorProto.
|
11485 | * @param [properties] Properties to set
|
11486 | */
|
11487 | constructor(properties?: google.protobuf.IEnumValueDescriptorProto);
|
11488 |
|
11489 | /** EnumValueDescriptorProto name. */
|
11490 | public name: string;
|
11491 |
|
11492 | /** EnumValueDescriptorProto number. */
|
11493 | public number: number;
|
11494 |
|
11495 | /** EnumValueDescriptorProto options. */
|
11496 | public options?: (google.protobuf.IEnumValueOptions|null);
|
11497 |
|
11498 | /**
|
11499 | * Creates a new EnumValueDescriptorProto instance using the specified properties.
|
11500 | * @param [properties] Properties to set
|
11501 | * @returns EnumValueDescriptorProto instance
|
11502 | */
|
11503 | public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto;
|
11504 |
|
11505 | /**
|
11506 | * Encodes the specified EnumValueDescriptorProto message. Does not implicitly { google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
|
11507 | * message EnumValueDescriptorProto message or plain object to encode
|
11508 | * [writer] Writer to encode to
|
11509 | * Writer
|
11510 | */
|
11511 | public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11512 |
|
11513 | /**
|
11514 | * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages.
|
11515 | * @param message EnumValueDescriptorProto message or plain object to encode
|
11516 | * @param [writer] Writer to encode to
|
11517 | * @returns Writer
|
11518 | */
|
11519 | public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11520 |
|
11521 | /**
|
11522 | * Decodes an EnumValueDescriptorProto message from the specified reader or buffer.
|
11523 | * @param reader Reader or buffer to decode from
|
11524 | * @param [length] Message length if known beforehand
|
11525 | * @returns EnumValueDescriptorProto
|
11526 | * @throws {Error} If the payload is not a reader or valid buffer
|
11527 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11528 | */
|
11529 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto;
|
11530 |
|
11531 | /**
|
11532 | * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited.
|
11533 | * @param reader Reader or buffer to decode from
|
11534 | * @returns EnumValueDescriptorProto
|
11535 | * @throws {Error} If the payload is not a reader or valid buffer
|
11536 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11537 | */
|
11538 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto;
|
11539 |
|
11540 | /**
|
11541 | * Verifies an EnumValueDescriptorProto message.
|
11542 | * @param message Plain object to verify
|
11543 | * @returns `null` if valid, otherwise the reason why it is not
|
11544 | */
|
11545 | public static verify(message: { [k: string]: any }): (string|null);
|
11546 |
|
11547 | /**
|
11548 | * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
11549 | * @param object Plain object
|
11550 | * @returns EnumValueDescriptorProto
|
11551 | */
|
11552 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto;
|
11553 |
|
11554 | /**
|
11555 | * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified.
|
11556 | * @param message EnumValueDescriptorProto
|
11557 | * @param [options] Conversion options
|
11558 | * @returns Plain object
|
11559 | */
|
11560 | public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
11561 |
|
11562 | /**
|
11563 | * Converts this EnumValueDescriptorProto to JSON.
|
11564 | * @returns JSON object
|
11565 | */
|
11566 | public toJSON(): { [k: string]: any };
|
11567 |
|
11568 | /**
|
11569 | * Gets the default type url for EnumValueDescriptorProto
|
11570 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
11571 | * @returns The default type url
|
11572 | */
|
11573 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
11574 | }
|
11575 |
|
11576 | /** Properties of a ServiceDescriptorProto. */
|
11577 | interface IServiceDescriptorProto {
|
11578 |
|
11579 | /** ServiceDescriptorProto name */
|
11580 | name?: (string|null);
|
11581 |
|
11582 | /** ServiceDescriptorProto method */
|
11583 | method?: (google.protobuf.IMethodDescriptorProto[]|null);
|
11584 |
|
11585 | /** ServiceDescriptorProto options */
|
11586 | options?: (google.protobuf.IServiceOptions|null);
|
11587 | }
|
11588 |
|
11589 | /** Represents a ServiceDescriptorProto. */
|
11590 | class ServiceDescriptorProto implements IServiceDescriptorProto {
|
11591 |
|
11592 | /**
|
11593 | * Constructs a new ServiceDescriptorProto.
|
11594 | * @param [properties] Properties to set
|
11595 | */
|
11596 | constructor(properties?: google.protobuf.IServiceDescriptorProto);
|
11597 |
|
11598 | /** ServiceDescriptorProto name. */
|
11599 | public name: string;
|
11600 |
|
11601 | /** ServiceDescriptorProto method. */
|
11602 | public method: google.protobuf.IMethodDescriptorProto[];
|
11603 |
|
11604 | /** ServiceDescriptorProto options. */
|
11605 | public options?: (google.protobuf.IServiceOptions|null);
|
11606 |
|
11607 | /**
|
11608 | * Creates a new ServiceDescriptorProto instance using the specified properties.
|
11609 | * @param [properties] Properties to set
|
11610 | * @returns ServiceDescriptorProto instance
|
11611 | */
|
11612 | public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto;
|
11613 |
|
11614 | /**
|
11615 | * Encodes the specified ServiceDescriptorProto message. Does not implicitly { google.protobuf.ServiceDescriptorProto.verify|verify} messages.
|
11616 | * message ServiceDescriptorProto message or plain object to encode
|
11617 | * [writer] Writer to encode to
|
11618 | * Writer
|
11619 | */
|
11620 | public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11621 |
|
11622 | /**
|
11623 | * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages.
|
11624 | * @param message ServiceDescriptorProto message or plain object to encode
|
11625 | * @param [writer] Writer to encode to
|
11626 | * @returns Writer
|
11627 | */
|
11628 | public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11629 |
|
11630 | /**
|
11631 | * Decodes a ServiceDescriptorProto message from the specified reader or buffer.
|
11632 | * @param reader Reader or buffer to decode from
|
11633 | * @param [length] Message length if known beforehand
|
11634 | * @returns ServiceDescriptorProto
|
11635 | * @throws {Error} If the payload is not a reader or valid buffer
|
11636 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11637 | */
|
11638 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto;
|
11639 |
|
11640 | /**
|
11641 | * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited.
|
11642 | * @param reader Reader or buffer to decode from
|
11643 | * @returns ServiceDescriptorProto
|
11644 | * @throws {Error} If the payload is not a reader or valid buffer
|
11645 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11646 | */
|
11647 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto;
|
11648 |
|
11649 | /**
|
11650 | * Verifies a ServiceDescriptorProto message.
|
11651 | * @param message Plain object to verify
|
11652 | * @returns `null` if valid, otherwise the reason why it is not
|
11653 | */
|
11654 | public static verify(message: { [k: string]: any }): (string|null);
|
11655 |
|
11656 | /**
|
11657 | * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
11658 | * @param object Plain object
|
11659 | * @returns ServiceDescriptorProto
|
11660 | */
|
11661 | public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto;
|
11662 |
|
11663 | /**
|
11664 | * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified.
|
11665 | * @param message ServiceDescriptorProto
|
11666 | * @param [options] Conversion options
|
11667 | * @returns Plain object
|
11668 | */
|
11669 | public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
11670 |
|
11671 | /**
|
11672 | * Converts this ServiceDescriptorProto to JSON.
|
11673 | * @returns JSON object
|
11674 | */
|
11675 | public toJSON(): { [k: string]: any };
|
11676 |
|
11677 | /**
|
11678 | * Gets the default type url for ServiceDescriptorProto
|
11679 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
11680 | * @returns The default type url
|
11681 | */
|
11682 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
11683 | }
|
11684 |
|
11685 | /** Properties of a MethodDescriptorProto. */
|
11686 | interface IMethodDescriptorProto {
|
11687 |
|
11688 | /** MethodDescriptorProto name */
|
11689 | name?: (string|null);
|
11690 |
|
11691 | /** MethodDescriptorProto inputType */
|
11692 | inputType?: (string|null);
|
11693 |
|
11694 | /** MethodDescriptorProto outputType */
|
11695 | outputType?: (string|null);
|
11696 |
|
11697 | /** MethodDescriptorProto options */
|
11698 | options?: (google.protobuf.IMethodOptions|null);
|
11699 |
|
11700 | /** MethodDescriptorProto clientStreaming */
|
11701 | clientStreaming?: (boolean|null);
|
11702 |
|
11703 | /** MethodDescriptorProto serverStreaming */
|
11704 | serverStreaming?: (boolean|null);
|
11705 | }
|
11706 |
|
11707 | /** Represents a MethodDescriptorProto. */
|
11708 | class MethodDescriptorProto implements IMethodDescriptorProto {
|
11709 |
|
11710 | /**
|
11711 | * Constructs a new MethodDescriptorProto.
|
11712 | * @param [properties] Properties to set
|
11713 | */
|
11714 | constructor(properties?: google.protobuf.IMethodDescriptorProto);
|
11715 |
|
11716 | /** MethodDescriptorProto name. */
|
11717 | public name: string;
|
11718 |
|
11719 | /** MethodDescriptorProto inputType. */
|
11720 | public inputType: string;
|
11721 |
|
11722 | /** MethodDescriptorProto outputType. */
|
11723 | public outputType: string;
|
11724 |
|
11725 | /** MethodDescriptorProto options. */
|
11726 | public options?: (google.protobuf.IMethodOptions|null);
|
11727 |
|
11728 | /** MethodDescriptorProto clientStreaming. */
|
11729 | public clientStreaming: boolean;
|
11730 |
|
11731 | /** MethodDescriptorProto serverStreaming. */
|
11732 | public serverStreaming: boolean;
|
11733 |
|
11734 | /**
|
11735 | * Creates a new MethodDescriptorProto instance using the specified properties.
|
11736 | * @param [properties] Properties to set
|
11737 | * @returns MethodDescriptorProto instance
|
11738 | */
|
11739 | public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto;
|
11740 |
|
11741 | /**
|
11742 | * Encodes the specified MethodDescriptorProto message. Does not implicitly { google.protobuf.MethodDescriptorProto.verify|verify} messages.
|
11743 | * message MethodDescriptorProto message or plain object to encode
|
11744 | * [writer] Writer to encode to
|
11745 | * Writer
|
11746 | */
|
11747 | public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11748 |
|
11749 | /**
|
11750 | * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages.
|
11751 | * @param message MethodDescriptorProto message or plain object to encode
|
11752 | * @param [writer] Writer to encode to
|
11753 | * @returns Writer
|
11754 | */
|
11755 | public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer;
|
11756 |
|
11757 | /**
|
11758 | * Decodes a MethodDescriptorProto message from the specified reader or buffer.
|
11759 | * @param reader Reader or buffer to decode from
|
11760 | * @param [length] Message length if known beforehand
|
11761 | * @returns MethodDescriptorProto
|
11762 | * @throws {Error} If the payload is not a reader or valid buffer
|
11763 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11764 | */
|
11765 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto;
|
11766 |
|
11767 | /**
|
11768 | * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited.
|
11769 | * @param reader Reader or buffer to decode from
|
11770 | * @returns MethodDescriptorProto
|
11771 | * @throws {Error} If the payload is not a reader or valid buffer
|
11772 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11773 | */
|
11774 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto;
|
11775 |
|
11776 | /**
|
11777 | * Verifies a MethodDescriptorProto message.
|
11778 | * @param message Plain object to verify
|
11779 | * @returns `null` if valid, otherwise the reason why it is not
|
11780 | */
|
11781 | public static verify(message: { [k: string]: any }): (string|null);
|
11782 |
|
11783 | /**
|
11784 | * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types.
|
11785 | * @param object Plain object
|
11786 | * @returns MethodDescriptorProto
|
11787 | */
|
11788 | public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto;
|
11789 |
|
11790 | /**
|
11791 | * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified.
|
11792 | * @param message MethodDescriptorProto
|
11793 | * @param [options] Conversion options
|
11794 | * @returns Plain object
|
11795 | */
|
11796 | public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
11797 |
|
11798 | /**
|
11799 | * Converts this MethodDescriptorProto to JSON.
|
11800 | * @returns JSON object
|
11801 | */
|
11802 | public toJSON(): { [k: string]: any };
|
11803 |
|
11804 | /**
|
11805 | * Gets the default type url for MethodDescriptorProto
|
11806 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
11807 | * @returns The default type url
|
11808 | */
|
11809 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
11810 | }
|
11811 |
|
11812 | /** Properties of a FileOptions. */
|
11813 | interface IFileOptions {
|
11814 |
|
11815 | /** FileOptions javaPackage */
|
11816 | javaPackage?: (string|null);
|
11817 |
|
11818 | /** FileOptions javaOuterClassname */
|
11819 | javaOuterClassname?: (string|null);
|
11820 |
|
11821 | /** FileOptions javaMultipleFiles */
|
11822 | javaMultipleFiles?: (boolean|null);
|
11823 |
|
11824 | /** FileOptions javaGenerateEqualsAndHash */
|
11825 | javaGenerateEqualsAndHash?: (boolean|null);
|
11826 |
|
11827 | /** FileOptions javaStringCheckUtf8 */
|
11828 | javaStringCheckUtf8?: (boolean|null);
|
11829 |
|
11830 | /** FileOptions optimizeFor */
|
11831 | optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode|null);
|
11832 |
|
11833 | /** FileOptions goPackage */
|
11834 | goPackage?: (string|null);
|
11835 |
|
11836 | /** FileOptions ccGenericServices */
|
11837 | ccGenericServices?: (boolean|null);
|
11838 |
|
11839 | /** FileOptions javaGenericServices */
|
11840 | javaGenericServices?: (boolean|null);
|
11841 |
|
11842 | /** FileOptions pyGenericServices */
|
11843 | pyGenericServices?: (boolean|null);
|
11844 |
|
11845 | /** FileOptions phpGenericServices */
|
11846 | phpGenericServices?: (boolean|null);
|
11847 |
|
11848 | /** FileOptions deprecated */
|
11849 | deprecated?: (boolean|null);
|
11850 |
|
11851 | /** FileOptions ccEnableArenas */
|
11852 | ccEnableArenas?: (boolean|null);
|
11853 |
|
11854 | /** FileOptions objcClassPrefix */
|
11855 | objcClassPrefix?: (string|null);
|
11856 |
|
11857 | /** FileOptions csharpNamespace */
|
11858 | csharpNamespace?: (string|null);
|
11859 |
|
11860 | /** FileOptions swiftPrefix */
|
11861 | swiftPrefix?: (string|null);
|
11862 |
|
11863 | /** FileOptions phpClassPrefix */
|
11864 | phpClassPrefix?: (string|null);
|
11865 |
|
11866 | /** FileOptions phpNamespace */
|
11867 | phpNamespace?: (string|null);
|
11868 |
|
11869 | /** FileOptions phpMetadataNamespace */
|
11870 | phpMetadataNamespace?: (string|null);
|
11871 |
|
11872 | /** FileOptions rubyPackage */
|
11873 | rubyPackage?: (string|null);
|
11874 |
|
11875 | /** FileOptions features */
|
11876 | features?: (google.protobuf.IFeatureSet|null);
|
11877 |
|
11878 | /** FileOptions uninterpretedOption */
|
11879 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
11880 | }
|
11881 |
|
11882 | /** Represents a FileOptions. */
|
11883 | class FileOptions implements IFileOptions {
|
11884 |
|
11885 | /**
|
11886 | * Constructs a new FileOptions.
|
11887 | * @param [properties] Properties to set
|
11888 | */
|
11889 | constructor(properties?: google.protobuf.IFileOptions);
|
11890 |
|
11891 | /** FileOptions javaPackage. */
|
11892 | public javaPackage: string;
|
11893 |
|
11894 | /** FileOptions javaOuterClassname. */
|
11895 | public javaOuterClassname: string;
|
11896 |
|
11897 | /** FileOptions javaMultipleFiles. */
|
11898 | public javaMultipleFiles: boolean;
|
11899 |
|
11900 | /** FileOptions javaGenerateEqualsAndHash. */
|
11901 | public javaGenerateEqualsAndHash: boolean;
|
11902 |
|
11903 | /** FileOptions javaStringCheckUtf8. */
|
11904 | public javaStringCheckUtf8: boolean;
|
11905 |
|
11906 | /** FileOptions optimizeFor. */
|
11907 | public optimizeFor: (google.protobuf.FileOptions.OptimizeMode|keyof typeof google.protobuf.FileOptions.OptimizeMode);
|
11908 |
|
11909 | /** FileOptions goPackage. */
|
11910 | public goPackage: string;
|
11911 |
|
11912 | /** FileOptions ccGenericServices. */
|
11913 | public ccGenericServices: boolean;
|
11914 |
|
11915 | /** FileOptions javaGenericServices. */
|
11916 | public javaGenericServices: boolean;
|
11917 |
|
11918 | /** FileOptions pyGenericServices. */
|
11919 | public pyGenericServices: boolean;
|
11920 |
|
11921 | /** FileOptions phpGenericServices. */
|
11922 | public phpGenericServices: boolean;
|
11923 |
|
11924 | /** FileOptions deprecated. */
|
11925 | public deprecated: boolean;
|
11926 |
|
11927 | /** FileOptions ccEnableArenas. */
|
11928 | public ccEnableArenas: boolean;
|
11929 |
|
11930 | /** FileOptions objcClassPrefix. */
|
11931 | public objcClassPrefix: string;
|
11932 |
|
11933 | /** FileOptions csharpNamespace. */
|
11934 | public csharpNamespace: string;
|
11935 |
|
11936 | /** FileOptions swiftPrefix. */
|
11937 | public swiftPrefix: string;
|
11938 |
|
11939 | /** FileOptions phpClassPrefix. */
|
11940 | public phpClassPrefix: string;
|
11941 |
|
11942 | /** FileOptions phpNamespace. */
|
11943 | public phpNamespace: string;
|
11944 |
|
11945 | /** FileOptions phpMetadataNamespace. */
|
11946 | public phpMetadataNamespace: string;
|
11947 |
|
11948 | /** FileOptions rubyPackage. */
|
11949 | public rubyPackage: string;
|
11950 |
|
11951 | /** FileOptions features. */
|
11952 | public features?: (google.protobuf.IFeatureSet|null);
|
11953 |
|
11954 | /** FileOptions uninterpretedOption. */
|
11955 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
11956 |
|
11957 | /**
|
11958 | * Creates a new FileOptions instance using the specified properties.
|
11959 | * @param [properties] Properties to set
|
11960 | * @returns FileOptions instance
|
11961 | */
|
11962 | public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions;
|
11963 |
|
11964 | /**
|
11965 | * Encodes the specified FileOptions message. Does not implicitly { google.protobuf.FileOptions.verify|verify} messages.
|
11966 | * message FileOptions message or plain object to encode
|
11967 | * [writer] Writer to encode to
|
11968 | * Writer
|
11969 | */
|
11970 | public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
11971 |
|
11972 | /**
|
11973 | * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages.
|
11974 | * @param message FileOptions message or plain object to encode
|
11975 | * @param [writer] Writer to encode to
|
11976 | * @returns Writer
|
11977 | */
|
11978 | public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
11979 |
|
11980 | /**
|
11981 | * Decodes a FileOptions message from the specified reader or buffer.
|
11982 | * @param reader Reader or buffer to decode from
|
11983 | * @param [length] Message length if known beforehand
|
11984 | * @returns FileOptions
|
11985 | * @throws {Error} If the payload is not a reader or valid buffer
|
11986 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11987 | */
|
11988 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions;
|
11989 |
|
11990 | /**
|
11991 | * Decodes a FileOptions message from the specified reader or buffer, length delimited.
|
11992 | * @param reader Reader or buffer to decode from
|
11993 | * @returns FileOptions
|
11994 | * @throws {Error} If the payload is not a reader or valid buffer
|
11995 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
11996 | */
|
11997 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions;
|
11998 |
|
11999 | /**
|
12000 | * Verifies a FileOptions message.
|
12001 | * @param message Plain object to verify
|
12002 | * @returns `null` if valid, otherwise the reason why it is not
|
12003 | */
|
12004 | public static verify(message: { [k: string]: any }): (string|null);
|
12005 |
|
12006 | /**
|
12007 | * Creates a FileOptions message from a plain object. Also converts values to their respective internal types.
|
12008 | * @param object Plain object
|
12009 | * @returns FileOptions
|
12010 | */
|
12011 | public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions;
|
12012 |
|
12013 | /**
|
12014 | * Creates a plain object from a FileOptions message. Also converts values to other types if specified.
|
12015 | * @param message FileOptions
|
12016 | * @param [options] Conversion options
|
12017 | * @returns Plain object
|
12018 | */
|
12019 | public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
12020 |
|
12021 | /**
|
12022 | * Converts this FileOptions to JSON.
|
12023 | * @returns JSON object
|
12024 | */
|
12025 | public toJSON(): { [k: string]: any };
|
12026 |
|
12027 | /**
|
12028 | * Gets the default type url for FileOptions
|
12029 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
12030 | * @returns The default type url
|
12031 | */
|
12032 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
12033 | }
|
12034 |
|
12035 | namespace FileOptions {
|
12036 |
|
12037 | /** OptimizeMode enum. */
|
12038 | enum OptimizeMode {
|
12039 | SPEED = 1,
|
12040 | CODE_SIZE = 2,
|
12041 | LITE_RUNTIME = 3
|
12042 | }
|
12043 | }
|
12044 |
|
12045 | /** Properties of a MessageOptions. */
|
12046 | interface IMessageOptions {
|
12047 |
|
12048 | /** MessageOptions messageSetWireFormat */
|
12049 | messageSetWireFormat?: (boolean|null);
|
12050 |
|
12051 | /** MessageOptions noStandardDescriptorAccessor */
|
12052 | noStandardDescriptorAccessor?: (boolean|null);
|
12053 |
|
12054 | /** MessageOptions deprecated */
|
12055 | deprecated?: (boolean|null);
|
12056 |
|
12057 | /** MessageOptions mapEntry */
|
12058 | mapEntry?: (boolean|null);
|
12059 |
|
12060 | /** MessageOptions deprecatedLegacyJsonFieldConflicts */
|
12061 | deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
12062 |
|
12063 | /** MessageOptions features */
|
12064 | features?: (google.protobuf.IFeatureSet|null);
|
12065 |
|
12066 | /** MessageOptions uninterpretedOption */
|
12067 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
12068 | }
|
12069 |
|
12070 | /** Represents a MessageOptions. */
|
12071 | class MessageOptions implements IMessageOptions {
|
12072 |
|
12073 | /**
|
12074 | * Constructs a new MessageOptions.
|
12075 | * @param [properties] Properties to set
|
12076 | */
|
12077 | constructor(properties?: google.protobuf.IMessageOptions);
|
12078 |
|
12079 | /** MessageOptions messageSetWireFormat. */
|
12080 | public messageSetWireFormat: boolean;
|
12081 |
|
12082 | /** MessageOptions noStandardDescriptorAccessor. */
|
12083 | public noStandardDescriptorAccessor: boolean;
|
12084 |
|
12085 | /** MessageOptions deprecated. */
|
12086 | public deprecated: boolean;
|
12087 |
|
12088 | /** MessageOptions mapEntry. */
|
12089 | public mapEntry: boolean;
|
12090 |
|
12091 | /** MessageOptions deprecatedLegacyJsonFieldConflicts. */
|
12092 | public deprecatedLegacyJsonFieldConflicts: boolean;
|
12093 |
|
12094 | /** MessageOptions features. */
|
12095 | public features?: (google.protobuf.IFeatureSet|null);
|
12096 |
|
12097 | /** MessageOptions uninterpretedOption. */
|
12098 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
12099 |
|
12100 | /**
|
12101 | * Creates a new MessageOptions instance using the specified properties.
|
12102 | * @param [properties] Properties to set
|
12103 | * @returns MessageOptions instance
|
12104 | */
|
12105 | public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions;
|
12106 |
|
12107 | /**
|
12108 | * Encodes the specified MessageOptions message. Does not implicitly { google.protobuf.MessageOptions.verify|verify} messages.
|
12109 | * message MessageOptions message or plain object to encode
|
12110 | * [writer] Writer to encode to
|
12111 | * Writer
|
12112 | */
|
12113 | public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12114 |
|
12115 | /**
|
12116 | * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages.
|
12117 | * @param message MessageOptions message or plain object to encode
|
12118 | * @param [writer] Writer to encode to
|
12119 | * @returns Writer
|
12120 | */
|
12121 | public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12122 |
|
12123 | /**
|
12124 | * Decodes a MessageOptions message from the specified reader or buffer.
|
12125 | * @param reader Reader or buffer to decode from
|
12126 | * @param [length] Message length if known beforehand
|
12127 | * @returns MessageOptions
|
12128 | * @throws {Error} If the payload is not a reader or valid buffer
|
12129 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12130 | */
|
12131 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions;
|
12132 |
|
12133 | /**
|
12134 | * Decodes a MessageOptions message from the specified reader or buffer, length delimited.
|
12135 | * @param reader Reader or buffer to decode from
|
12136 | * @returns MessageOptions
|
12137 | * @throws {Error} If the payload is not a reader or valid buffer
|
12138 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12139 | */
|
12140 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions;
|
12141 |
|
12142 | /**
|
12143 | * Verifies a MessageOptions message.
|
12144 | * @param message Plain object to verify
|
12145 | * @returns `null` if valid, otherwise the reason why it is not
|
12146 | */
|
12147 | public static verify(message: { [k: string]: any }): (string|null);
|
12148 |
|
12149 | /**
|
12150 | * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types.
|
12151 | * @param object Plain object
|
12152 | * @returns MessageOptions
|
12153 | */
|
12154 | public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions;
|
12155 |
|
12156 | /**
|
12157 | * Creates a plain object from a MessageOptions message. Also converts values to other types if specified.
|
12158 | * @param message MessageOptions
|
12159 | * @param [options] Conversion options
|
12160 | * @returns Plain object
|
12161 | */
|
12162 | public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
12163 |
|
12164 | /**
|
12165 | * Converts this MessageOptions to JSON.
|
12166 | * @returns JSON object
|
12167 | */
|
12168 | public toJSON(): { [k: string]: any };
|
12169 |
|
12170 | /**
|
12171 | * Gets the default type url for MessageOptions
|
12172 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
12173 | * @returns The default type url
|
12174 | */
|
12175 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
12176 | }
|
12177 |
|
12178 | /** Properties of a FieldOptions. */
|
12179 | interface IFieldOptions {
|
12180 |
|
12181 | /** FieldOptions ctype */
|
12182 | ctype?: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType|null);
|
12183 |
|
12184 | /** FieldOptions packed */
|
12185 | packed?: (boolean|null);
|
12186 |
|
12187 | /** FieldOptions jstype */
|
12188 | jstype?: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType|null);
|
12189 |
|
12190 | /** FieldOptions lazy */
|
12191 | lazy?: (boolean|null);
|
12192 |
|
12193 | /** FieldOptions unverifiedLazy */
|
12194 | unverifiedLazy?: (boolean|null);
|
12195 |
|
12196 | /** FieldOptions deprecated */
|
12197 | deprecated?: (boolean|null);
|
12198 |
|
12199 | /** FieldOptions weak */
|
12200 | weak?: (boolean|null);
|
12201 |
|
12202 | /** FieldOptions debugRedact */
|
12203 | debugRedact?: (boolean|null);
|
12204 |
|
12205 | /** FieldOptions retention */
|
12206 | retention?: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention|null);
|
12207 |
|
12208 | /** FieldOptions targets */
|
12209 | targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null);
|
12210 |
|
12211 | /** FieldOptions editionDefaults */
|
12212 | editionDefaults?: (google.protobuf.FieldOptions.IEditionDefault[]|null);
|
12213 |
|
12214 | /** FieldOptions features */
|
12215 | features?: (google.protobuf.IFeatureSet|null);
|
12216 |
|
12217 | /** FieldOptions uninterpretedOption */
|
12218 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
12219 |
|
12220 | /** FieldOptions .google.api.fieldBehavior */
|
12221 | ".google.api.fieldBehavior"?: (google.api.FieldBehavior[]|null);
|
12222 | }
|
12223 |
|
12224 | /** Represents a FieldOptions. */
|
12225 | class FieldOptions implements IFieldOptions {
|
12226 |
|
12227 | /**
|
12228 | * Constructs a new FieldOptions.
|
12229 | * @param [properties] Properties to set
|
12230 | */
|
12231 | constructor(properties?: google.protobuf.IFieldOptions);
|
12232 |
|
12233 | /** FieldOptions ctype. */
|
12234 | public ctype: (google.protobuf.FieldOptions.CType|keyof typeof google.protobuf.FieldOptions.CType);
|
12235 |
|
12236 | /** FieldOptions packed. */
|
12237 | public packed: boolean;
|
12238 |
|
12239 | /** FieldOptions jstype. */
|
12240 | public jstype: (google.protobuf.FieldOptions.JSType|keyof typeof google.protobuf.FieldOptions.JSType);
|
12241 |
|
12242 | /** FieldOptions lazy. */
|
12243 | public lazy: boolean;
|
12244 |
|
12245 | /** FieldOptions unverifiedLazy. */
|
12246 | public unverifiedLazy: boolean;
|
12247 |
|
12248 | /** FieldOptions deprecated. */
|
12249 | public deprecated: boolean;
|
12250 |
|
12251 | /** FieldOptions weak. */
|
12252 | public weak: boolean;
|
12253 |
|
12254 | /** FieldOptions debugRedact. */
|
12255 | public debugRedact: boolean;
|
12256 |
|
12257 | /** FieldOptions retention. */
|
12258 | public retention: (google.protobuf.FieldOptions.OptionRetention|keyof typeof google.protobuf.FieldOptions.OptionRetention);
|
12259 |
|
12260 | /** FieldOptions targets. */
|
12261 | public targets: google.protobuf.FieldOptions.OptionTargetType[];
|
12262 |
|
12263 | /** FieldOptions editionDefaults. */
|
12264 | public editionDefaults: google.protobuf.FieldOptions.IEditionDefault[];
|
12265 |
|
12266 | /** FieldOptions features. */
|
12267 | public features?: (google.protobuf.IFeatureSet|null);
|
12268 |
|
12269 | /** FieldOptions uninterpretedOption. */
|
12270 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
12271 |
|
12272 | /**
|
12273 | * Creates a new FieldOptions instance using the specified properties.
|
12274 | * @param [properties] Properties to set
|
12275 | * @returns FieldOptions instance
|
12276 | */
|
12277 | public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions;
|
12278 |
|
12279 | /**
|
12280 | * Encodes the specified FieldOptions message. Does not implicitly { google.protobuf.FieldOptions.verify|verify} messages.
|
12281 | * message FieldOptions message or plain object to encode
|
12282 | * [writer] Writer to encode to
|
12283 | * Writer
|
12284 | */
|
12285 | public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12286 |
|
12287 | /**
|
12288 | * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages.
|
12289 | * @param message FieldOptions message or plain object to encode
|
12290 | * @param [writer] Writer to encode to
|
12291 | * @returns Writer
|
12292 | */
|
12293 | public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12294 |
|
12295 | /**
|
12296 | * Decodes a FieldOptions message from the specified reader or buffer.
|
12297 | * @param reader Reader or buffer to decode from
|
12298 | * @param [length] Message length if known beforehand
|
12299 | * @returns FieldOptions
|
12300 | * @throws {Error} If the payload is not a reader or valid buffer
|
12301 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12302 | */
|
12303 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions;
|
12304 |
|
12305 | /**
|
12306 | * Decodes a FieldOptions message from the specified reader or buffer, length delimited.
|
12307 | * @param reader Reader or buffer to decode from
|
12308 | * @returns FieldOptions
|
12309 | * @throws {Error} If the payload is not a reader or valid buffer
|
12310 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12311 | */
|
12312 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions;
|
12313 |
|
12314 | /**
|
12315 | * Verifies a FieldOptions message.
|
12316 | * @param message Plain object to verify
|
12317 | * @returns `null` if valid, otherwise the reason why it is not
|
12318 | */
|
12319 | public static verify(message: { [k: string]: any }): (string|null);
|
12320 |
|
12321 | /**
|
12322 | * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types.
|
12323 | * @param object Plain object
|
12324 | * @returns FieldOptions
|
12325 | */
|
12326 | public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions;
|
12327 |
|
12328 | /**
|
12329 | * Creates a plain object from a FieldOptions message. Also converts values to other types if specified.
|
12330 | * @param message FieldOptions
|
12331 | * @param [options] Conversion options
|
12332 | * @returns Plain object
|
12333 | */
|
12334 | public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
12335 |
|
12336 | /**
|
12337 | * Converts this FieldOptions to JSON.
|
12338 | * @returns JSON object
|
12339 | */
|
12340 | public toJSON(): { [k: string]: any };
|
12341 |
|
12342 | /**
|
12343 | * Gets the default type url for FieldOptions
|
12344 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
12345 | * @returns The default type url
|
12346 | */
|
12347 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
12348 | }
|
12349 |
|
12350 | namespace FieldOptions {
|
12351 |
|
12352 | /** CType enum. */
|
12353 | enum CType {
|
12354 | STRING = 0,
|
12355 | CORD = 1,
|
12356 | STRING_PIECE = 2
|
12357 | }
|
12358 |
|
12359 | /** JSType enum. */
|
12360 | enum JSType {
|
12361 | JS_NORMAL = 0,
|
12362 | JS_STRING = 1,
|
12363 | JS_NUMBER = 2
|
12364 | }
|
12365 |
|
12366 | /** OptionRetention enum. */
|
12367 | enum OptionRetention {
|
12368 | RETENTION_UNKNOWN = 0,
|
12369 | RETENTION_RUNTIME = 1,
|
12370 | RETENTION_SOURCE = 2
|
12371 | }
|
12372 |
|
12373 | /** OptionTargetType enum. */
|
12374 | enum OptionTargetType {
|
12375 | TARGET_TYPE_UNKNOWN = 0,
|
12376 | TARGET_TYPE_FILE = 1,
|
12377 | TARGET_TYPE_EXTENSION_RANGE = 2,
|
12378 | TARGET_TYPE_MESSAGE = 3,
|
12379 | TARGET_TYPE_FIELD = 4,
|
12380 | TARGET_TYPE_ONEOF = 5,
|
12381 | TARGET_TYPE_ENUM = 6,
|
12382 | TARGET_TYPE_ENUM_ENTRY = 7,
|
12383 | TARGET_TYPE_SERVICE = 8,
|
12384 | TARGET_TYPE_METHOD = 9
|
12385 | }
|
12386 |
|
12387 | /** Properties of an EditionDefault. */
|
12388 | interface IEditionDefault {
|
12389 |
|
12390 | /** EditionDefault edition */
|
12391 | edition?: (string|null);
|
12392 |
|
12393 | /** EditionDefault value */
|
12394 | value?: (string|null);
|
12395 | }
|
12396 |
|
12397 | /** Represents an EditionDefault. */
|
12398 | class EditionDefault implements IEditionDefault {
|
12399 |
|
12400 | /**
|
12401 | * Constructs a new EditionDefault.
|
12402 | * @param [properties] Properties to set
|
12403 | */
|
12404 | constructor(properties?: google.protobuf.FieldOptions.IEditionDefault);
|
12405 |
|
12406 | /** EditionDefault edition. */
|
12407 | public edition: string;
|
12408 |
|
12409 | /** EditionDefault value. */
|
12410 | public value: string;
|
12411 |
|
12412 | /**
|
12413 | * Creates a new EditionDefault instance using the specified properties.
|
12414 | * @param [properties] Properties to set
|
12415 | * @returns EditionDefault instance
|
12416 | */
|
12417 | public static create(properties?: google.protobuf.FieldOptions.IEditionDefault): google.protobuf.FieldOptions.EditionDefault;
|
12418 |
|
12419 | /**
|
12420 | * Encodes the specified EditionDefault message. Does not implicitly { google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
12421 | * message EditionDefault message or plain object to encode
|
12422 | * [writer] Writer to encode to
|
12423 | * Writer
|
12424 | */
|
12425 | public static encode(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
12426 |
|
12427 | /**
|
12428 | * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
12429 | * @param message EditionDefault message or plain object to encode
|
12430 | * @param [writer] Writer to encode to
|
12431 | * @returns Writer
|
12432 | */
|
12433 | public static encodeDelimited(message: google.protobuf.FieldOptions.IEditionDefault, writer?: $protobuf.Writer): $protobuf.Writer;
|
12434 |
|
12435 | /**
|
12436 | * Decodes an EditionDefault message from the specified reader or buffer.
|
12437 | * @param reader Reader or buffer to decode from
|
12438 | * @param [length] Message length if known beforehand
|
12439 | * @returns EditionDefault
|
12440 | * @throws {Error} If the payload is not a reader or valid buffer
|
12441 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12442 | */
|
12443 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault;
|
12444 |
|
12445 | /**
|
12446 | * Decodes an EditionDefault message from the specified reader or buffer, length delimited.
|
12447 | * @param reader Reader or buffer to decode from
|
12448 | * @returns EditionDefault
|
12449 | * @throws {Error} If the payload is not a reader or valid buffer
|
12450 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12451 | */
|
12452 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault;
|
12453 |
|
12454 | /**
|
12455 | * Verifies an EditionDefault message.
|
12456 | * @param message Plain object to verify
|
12457 | * @returns `null` if valid, otherwise the reason why it is not
|
12458 | */
|
12459 | public static verify(message: { [k: string]: any }): (string|null);
|
12460 |
|
12461 | /**
|
12462 | * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
|
12463 | * @param object Plain object
|
12464 | * @returns EditionDefault
|
12465 | */
|
12466 | public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault;
|
12467 |
|
12468 | /**
|
12469 | * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
12470 | * @param message EditionDefault
|
12471 | * @param [options] Conversion options
|
12472 | * @returns Plain object
|
12473 | */
|
12474 | public static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
12475 |
|
12476 | /**
|
12477 | * Converts this EditionDefault to JSON.
|
12478 | * @returns JSON object
|
12479 | */
|
12480 | public toJSON(): { [k: string]: any };
|
12481 |
|
12482 | /**
|
12483 | * Gets the default type url for EditionDefault
|
12484 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
12485 | * @returns The default type url
|
12486 | */
|
12487 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
12488 | }
|
12489 | }
|
12490 |
|
12491 | /** Properties of an OneofOptions. */
|
12492 | interface IOneofOptions {
|
12493 |
|
12494 | /** OneofOptions features */
|
12495 | features?: (google.protobuf.IFeatureSet|null);
|
12496 |
|
12497 | /** OneofOptions uninterpretedOption */
|
12498 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
12499 | }
|
12500 |
|
12501 | /** Represents an OneofOptions. */
|
12502 | class OneofOptions implements IOneofOptions {
|
12503 |
|
12504 | /**
|
12505 | * Constructs a new OneofOptions.
|
12506 | * @param [properties] Properties to set
|
12507 | */
|
12508 | constructor(properties?: google.protobuf.IOneofOptions);
|
12509 |
|
12510 | /** OneofOptions features. */
|
12511 | public features?: (google.protobuf.IFeatureSet|null);
|
12512 |
|
12513 | /** OneofOptions uninterpretedOption. */
|
12514 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
12515 |
|
12516 | /**
|
12517 | * Creates a new OneofOptions instance using the specified properties.
|
12518 | * @param [properties] Properties to set
|
12519 | * @returns OneofOptions instance
|
12520 | */
|
12521 | public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions;
|
12522 |
|
12523 | /**
|
12524 | * Encodes the specified OneofOptions message. Does not implicitly { google.protobuf.OneofOptions.verify|verify} messages.
|
12525 | * message OneofOptions message or plain object to encode
|
12526 | * [writer] Writer to encode to
|
12527 | * Writer
|
12528 | */
|
12529 | public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12530 |
|
12531 | /**
|
12532 | * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages.
|
12533 | * @param message OneofOptions message or plain object to encode
|
12534 | * @param [writer] Writer to encode to
|
12535 | * @returns Writer
|
12536 | */
|
12537 | public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12538 |
|
12539 | /**
|
12540 | * Decodes an OneofOptions message from the specified reader or buffer.
|
12541 | * @param reader Reader or buffer to decode from
|
12542 | * @param [length] Message length if known beforehand
|
12543 | * @returns OneofOptions
|
12544 | * @throws {Error} If the payload is not a reader or valid buffer
|
12545 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12546 | */
|
12547 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions;
|
12548 |
|
12549 | /**
|
12550 | * Decodes an OneofOptions message from the specified reader or buffer, length delimited.
|
12551 | * @param reader Reader or buffer to decode from
|
12552 | * @returns OneofOptions
|
12553 | * @throws {Error} If the payload is not a reader or valid buffer
|
12554 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12555 | */
|
12556 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions;
|
12557 |
|
12558 | /**
|
12559 | * Verifies an OneofOptions message.
|
12560 | * @param message Plain object to verify
|
12561 | * @returns `null` if valid, otherwise the reason why it is not
|
12562 | */
|
12563 | public static verify(message: { [k: string]: any }): (string|null);
|
12564 |
|
12565 | /**
|
12566 | * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types.
|
12567 | * @param object Plain object
|
12568 | * @returns OneofOptions
|
12569 | */
|
12570 | public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions;
|
12571 |
|
12572 | /**
|
12573 | * Creates a plain object from an OneofOptions message. Also converts values to other types if specified.
|
12574 | * @param message OneofOptions
|
12575 | * @param [options] Conversion options
|
12576 | * @returns Plain object
|
12577 | */
|
12578 | public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
12579 |
|
12580 | /**
|
12581 | * Converts this OneofOptions to JSON.
|
12582 | * @returns JSON object
|
12583 | */
|
12584 | public toJSON(): { [k: string]: any };
|
12585 |
|
12586 | /**
|
12587 | * Gets the default type url for OneofOptions
|
12588 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
12589 | * @returns The default type url
|
12590 | */
|
12591 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
12592 | }
|
12593 |
|
12594 | /** Properties of an EnumOptions. */
|
12595 | interface IEnumOptions {
|
12596 |
|
12597 | /** EnumOptions allowAlias */
|
12598 | allowAlias?: (boolean|null);
|
12599 |
|
12600 | /** EnumOptions deprecated */
|
12601 | deprecated?: (boolean|null);
|
12602 |
|
12603 | /** EnumOptions deprecatedLegacyJsonFieldConflicts */
|
12604 | deprecatedLegacyJsonFieldConflicts?: (boolean|null);
|
12605 |
|
12606 | /** EnumOptions features */
|
12607 | features?: (google.protobuf.IFeatureSet|null);
|
12608 |
|
12609 | /** EnumOptions uninterpretedOption */
|
12610 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
12611 | }
|
12612 |
|
12613 | /** Represents an EnumOptions. */
|
12614 | class EnumOptions implements IEnumOptions {
|
12615 |
|
12616 | /**
|
12617 | * Constructs a new EnumOptions.
|
12618 | * @param [properties] Properties to set
|
12619 | */
|
12620 | constructor(properties?: google.protobuf.IEnumOptions);
|
12621 |
|
12622 | /** EnumOptions allowAlias. */
|
12623 | public allowAlias: boolean;
|
12624 |
|
12625 | /** EnumOptions deprecated. */
|
12626 | public deprecated: boolean;
|
12627 |
|
12628 | /** EnumOptions deprecatedLegacyJsonFieldConflicts. */
|
12629 | public deprecatedLegacyJsonFieldConflicts: boolean;
|
12630 |
|
12631 | /** EnumOptions features. */
|
12632 | public features?: (google.protobuf.IFeatureSet|null);
|
12633 |
|
12634 | /** EnumOptions uninterpretedOption. */
|
12635 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
12636 |
|
12637 | /**
|
12638 | * Creates a new EnumOptions instance using the specified properties.
|
12639 | * @param [properties] Properties to set
|
12640 | * @returns EnumOptions instance
|
12641 | */
|
12642 | public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions;
|
12643 |
|
12644 | /**
|
12645 | * Encodes the specified EnumOptions message. Does not implicitly { google.protobuf.EnumOptions.verify|verify} messages.
|
12646 | * message EnumOptions message or plain object to encode
|
12647 | * [writer] Writer to encode to
|
12648 | * Writer
|
12649 | */
|
12650 | public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12651 |
|
12652 | /**
|
12653 | * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages.
|
12654 | * @param message EnumOptions message or plain object to encode
|
12655 | * @param [writer] Writer to encode to
|
12656 | * @returns Writer
|
12657 | */
|
12658 | public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12659 |
|
12660 | /**
|
12661 | * Decodes an EnumOptions message from the specified reader or buffer.
|
12662 | * @param reader Reader or buffer to decode from
|
12663 | * @param [length] Message length if known beforehand
|
12664 | * @returns EnumOptions
|
12665 | * @throws {Error} If the payload is not a reader or valid buffer
|
12666 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12667 | */
|
12668 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions;
|
12669 |
|
12670 | /**
|
12671 | * Decodes an EnumOptions message from the specified reader or buffer, length delimited.
|
12672 | * @param reader Reader or buffer to decode from
|
12673 | * @returns EnumOptions
|
12674 | * @throws {Error} If the payload is not a reader or valid buffer
|
12675 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12676 | */
|
12677 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions;
|
12678 |
|
12679 | /**
|
12680 | * Verifies an EnumOptions message.
|
12681 | * @param message Plain object to verify
|
12682 | * @returns `null` if valid, otherwise the reason why it is not
|
12683 | */
|
12684 | public static verify(message: { [k: string]: any }): (string|null);
|
12685 |
|
12686 | /**
|
12687 | * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types.
|
12688 | * @param object Plain object
|
12689 | * @returns EnumOptions
|
12690 | */
|
12691 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions;
|
12692 |
|
12693 | /**
|
12694 | * Creates a plain object from an EnumOptions message. Also converts values to other types if specified.
|
12695 | * @param message EnumOptions
|
12696 | * @param [options] Conversion options
|
12697 | * @returns Plain object
|
12698 | */
|
12699 | public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
12700 |
|
12701 | /**
|
12702 | * Converts this EnumOptions to JSON.
|
12703 | * @returns JSON object
|
12704 | */
|
12705 | public toJSON(): { [k: string]: any };
|
12706 |
|
12707 | /**
|
12708 | * Gets the default type url for EnumOptions
|
12709 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
12710 | * @returns The default type url
|
12711 | */
|
12712 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
12713 | }
|
12714 |
|
12715 | /** Properties of an EnumValueOptions. */
|
12716 | interface IEnumValueOptions {
|
12717 |
|
12718 | /** EnumValueOptions deprecated */
|
12719 | deprecated?: (boolean|null);
|
12720 |
|
12721 | /** EnumValueOptions features */
|
12722 | features?: (google.protobuf.IFeatureSet|null);
|
12723 |
|
12724 | /** EnumValueOptions debugRedact */
|
12725 | debugRedact?: (boolean|null);
|
12726 |
|
12727 | /** EnumValueOptions uninterpretedOption */
|
12728 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
12729 | }
|
12730 |
|
12731 | /** Represents an EnumValueOptions. */
|
12732 | class EnumValueOptions implements IEnumValueOptions {
|
12733 |
|
12734 | /**
|
12735 | * Constructs a new EnumValueOptions.
|
12736 | * @param [properties] Properties to set
|
12737 | */
|
12738 | constructor(properties?: google.protobuf.IEnumValueOptions);
|
12739 |
|
12740 | /** EnumValueOptions deprecated. */
|
12741 | public deprecated: boolean;
|
12742 |
|
12743 | /** EnumValueOptions features. */
|
12744 | public features?: (google.protobuf.IFeatureSet|null);
|
12745 |
|
12746 | /** EnumValueOptions debugRedact. */
|
12747 | public debugRedact: boolean;
|
12748 |
|
12749 | /** EnumValueOptions uninterpretedOption. */
|
12750 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
12751 |
|
12752 | /**
|
12753 | * Creates a new EnumValueOptions instance using the specified properties.
|
12754 | * @param [properties] Properties to set
|
12755 | * @returns EnumValueOptions instance
|
12756 | */
|
12757 | public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions;
|
12758 |
|
12759 | /**
|
12760 | * Encodes the specified EnumValueOptions message. Does not implicitly { google.protobuf.EnumValueOptions.verify|verify} messages.
|
12761 | * message EnumValueOptions message or plain object to encode
|
12762 | * [writer] Writer to encode to
|
12763 | * Writer
|
12764 | */
|
12765 | public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12766 |
|
12767 | /**
|
12768 | * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages.
|
12769 | * @param message EnumValueOptions message or plain object to encode
|
12770 | * @param [writer] Writer to encode to
|
12771 | * @returns Writer
|
12772 | */
|
12773 | public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12774 |
|
12775 | /**
|
12776 | * Decodes an EnumValueOptions message from the specified reader or buffer.
|
12777 | * @param reader Reader or buffer to decode from
|
12778 | * @param [length] Message length if known beforehand
|
12779 | * @returns EnumValueOptions
|
12780 | * @throws {Error} If the payload is not a reader or valid buffer
|
12781 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12782 | */
|
12783 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions;
|
12784 |
|
12785 | /**
|
12786 | * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited.
|
12787 | * @param reader Reader or buffer to decode from
|
12788 | * @returns EnumValueOptions
|
12789 | * @throws {Error} If the payload is not a reader or valid buffer
|
12790 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12791 | */
|
12792 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions;
|
12793 |
|
12794 | /**
|
12795 | * Verifies an EnumValueOptions message.
|
12796 | * @param message Plain object to verify
|
12797 | * @returns `null` if valid, otherwise the reason why it is not
|
12798 | */
|
12799 | public static verify(message: { [k: string]: any }): (string|null);
|
12800 |
|
12801 | /**
|
12802 | * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types.
|
12803 | * @param object Plain object
|
12804 | * @returns EnumValueOptions
|
12805 | */
|
12806 | public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions;
|
12807 |
|
12808 | /**
|
12809 | * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified.
|
12810 | * @param message EnumValueOptions
|
12811 | * @param [options] Conversion options
|
12812 | * @returns Plain object
|
12813 | */
|
12814 | public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
12815 |
|
12816 | /**
|
12817 | * Converts this EnumValueOptions to JSON.
|
12818 | * @returns JSON object
|
12819 | */
|
12820 | public toJSON(): { [k: string]: any };
|
12821 |
|
12822 | /**
|
12823 | * Gets the default type url for EnumValueOptions
|
12824 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
12825 | * @returns The default type url
|
12826 | */
|
12827 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
12828 | }
|
12829 |
|
12830 | /** Properties of a ServiceOptions. */
|
12831 | interface IServiceOptions {
|
12832 |
|
12833 | /** ServiceOptions features */
|
12834 | features?: (google.protobuf.IFeatureSet|null);
|
12835 |
|
12836 | /** ServiceOptions deprecated */
|
12837 | deprecated?: (boolean|null);
|
12838 |
|
12839 | /** ServiceOptions uninterpretedOption */
|
12840 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
12841 |
|
12842 | /** ServiceOptions .google.api.defaultHost */
|
12843 | ".google.api.defaultHost"?: (string|null);
|
12844 |
|
12845 | /** ServiceOptions .google.api.oauthScopes */
|
12846 | ".google.api.oauthScopes"?: (string|null);
|
12847 | }
|
12848 |
|
12849 | /** Represents a ServiceOptions. */
|
12850 | class ServiceOptions implements IServiceOptions {
|
12851 |
|
12852 | /**
|
12853 | * Constructs a new ServiceOptions.
|
12854 | * @param [properties] Properties to set
|
12855 | */
|
12856 | constructor(properties?: google.protobuf.IServiceOptions);
|
12857 |
|
12858 | /** ServiceOptions features. */
|
12859 | public features?: (google.protobuf.IFeatureSet|null);
|
12860 |
|
12861 | /** ServiceOptions deprecated. */
|
12862 | public deprecated: boolean;
|
12863 |
|
12864 | /** ServiceOptions uninterpretedOption. */
|
12865 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
12866 |
|
12867 | /**
|
12868 | * Creates a new ServiceOptions instance using the specified properties.
|
12869 | * @param [properties] Properties to set
|
12870 | * @returns ServiceOptions instance
|
12871 | */
|
12872 | public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions;
|
12873 |
|
12874 | /**
|
12875 | * Encodes the specified ServiceOptions message. Does not implicitly { google.protobuf.ServiceOptions.verify|verify} messages.
|
12876 | * message ServiceOptions message or plain object to encode
|
12877 | * [writer] Writer to encode to
|
12878 | * Writer
|
12879 | */
|
12880 | public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12881 |
|
12882 | /**
|
12883 | * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages.
|
12884 | * @param message ServiceOptions message or plain object to encode
|
12885 | * @param [writer] Writer to encode to
|
12886 | * @returns Writer
|
12887 | */
|
12888 | public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
12889 |
|
12890 | /**
|
12891 | * Decodes a ServiceOptions message from the specified reader or buffer.
|
12892 | * @param reader Reader or buffer to decode from
|
12893 | * @param [length] Message length if known beforehand
|
12894 | * @returns ServiceOptions
|
12895 | * @throws {Error} If the payload is not a reader or valid buffer
|
12896 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12897 | */
|
12898 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions;
|
12899 |
|
12900 | /**
|
12901 | * Decodes a ServiceOptions message from the specified reader or buffer, length delimited.
|
12902 | * @param reader Reader or buffer to decode from
|
12903 | * @returns ServiceOptions
|
12904 | * @throws {Error} If the payload is not a reader or valid buffer
|
12905 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
12906 | */
|
12907 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions;
|
12908 |
|
12909 | /**
|
12910 | * Verifies a ServiceOptions message.
|
12911 | * @param message Plain object to verify
|
12912 | * @returns `null` if valid, otherwise the reason why it is not
|
12913 | */
|
12914 | public static verify(message: { [k: string]: any }): (string|null);
|
12915 |
|
12916 | /**
|
12917 | * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types.
|
12918 | * @param object Plain object
|
12919 | * @returns ServiceOptions
|
12920 | */
|
12921 | public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions;
|
12922 |
|
12923 | /**
|
12924 | * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified.
|
12925 | * @param message ServiceOptions
|
12926 | * @param [options] Conversion options
|
12927 | * @returns Plain object
|
12928 | */
|
12929 | public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
12930 |
|
12931 | /**
|
12932 | * Converts this ServiceOptions to JSON.
|
12933 | * @returns JSON object
|
12934 | */
|
12935 | public toJSON(): { [k: string]: any };
|
12936 |
|
12937 | /**
|
12938 | * Gets the default type url for ServiceOptions
|
12939 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
12940 | * @returns The default type url
|
12941 | */
|
12942 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
12943 | }
|
12944 |
|
12945 | /** Properties of a MethodOptions. */
|
12946 | interface IMethodOptions {
|
12947 |
|
12948 | /** MethodOptions deprecated */
|
12949 | deprecated?: (boolean|null);
|
12950 |
|
12951 | /** MethodOptions idempotencyLevel */
|
12952 | idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel|null);
|
12953 |
|
12954 | /** MethodOptions features */
|
12955 | features?: (google.protobuf.IFeatureSet|null);
|
12956 |
|
12957 | /** MethodOptions uninterpretedOption */
|
12958 | uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null);
|
12959 |
|
12960 | /** MethodOptions .google.api.http */
|
12961 | ".google.api.http"?: (google.api.IHttpRule|null);
|
12962 |
|
12963 | /** MethodOptions .google.api.methodSignature */
|
12964 | ".google.api.methodSignature"?: (string[]|null);
|
12965 |
|
12966 | /** MethodOptions .google.longrunning.operationInfo */
|
12967 | ".google.longrunning.operationInfo"?: (google.longrunning.IOperationInfo|null);
|
12968 |
|
12969 | /** MethodOptions .google.api.routing */
|
12970 | ".google.api.routing"?: (google.api.IRoutingRule|null);
|
12971 | }
|
12972 |
|
12973 | /** Represents a MethodOptions. */
|
12974 | class MethodOptions implements IMethodOptions {
|
12975 |
|
12976 | /**
|
12977 | * Constructs a new MethodOptions.
|
12978 | * @param [properties] Properties to set
|
12979 | */
|
12980 | constructor(properties?: google.protobuf.IMethodOptions);
|
12981 |
|
12982 | /** MethodOptions deprecated. */
|
12983 | public deprecated: boolean;
|
12984 |
|
12985 | /** MethodOptions idempotencyLevel. */
|
12986 | public idempotencyLevel: (google.protobuf.MethodOptions.IdempotencyLevel|keyof typeof google.protobuf.MethodOptions.IdempotencyLevel);
|
12987 |
|
12988 | /** MethodOptions features. */
|
12989 | public features?: (google.protobuf.IFeatureSet|null);
|
12990 |
|
12991 | /** MethodOptions uninterpretedOption. */
|
12992 | public uninterpretedOption: google.protobuf.IUninterpretedOption[];
|
12993 |
|
12994 | /**
|
12995 | * Creates a new MethodOptions instance using the specified properties.
|
12996 | * @param [properties] Properties to set
|
12997 | * @returns MethodOptions instance
|
12998 | */
|
12999 | public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions;
|
13000 |
|
13001 | /**
|
13002 | * Encodes the specified MethodOptions message. Does not implicitly { google.protobuf.MethodOptions.verify|verify} messages.
|
13003 | * message MethodOptions message or plain object to encode
|
13004 | * [writer] Writer to encode to
|
13005 | * Writer
|
13006 | */
|
13007 | public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
13008 |
|
13009 | /**
|
13010 | * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages.
|
13011 | * @param message MethodOptions message or plain object to encode
|
13012 | * @param [writer] Writer to encode to
|
13013 | * @returns Writer
|
13014 | */
|
13015 | public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer;
|
13016 |
|
13017 | /**
|
13018 | * Decodes a MethodOptions message from the specified reader or buffer.
|
13019 | * @param reader Reader or buffer to decode from
|
13020 | * @param [length] Message length if known beforehand
|
13021 | * @returns MethodOptions
|
13022 | * @throws {Error} If the payload is not a reader or valid buffer
|
13023 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13024 | */
|
13025 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions;
|
13026 |
|
13027 | /**
|
13028 | * Decodes a MethodOptions message from the specified reader or buffer, length delimited.
|
13029 | * @param reader Reader or buffer to decode from
|
13030 | * @returns MethodOptions
|
13031 | * @throws {Error} If the payload is not a reader or valid buffer
|
13032 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13033 | */
|
13034 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions;
|
13035 |
|
13036 | /**
|
13037 | * Verifies a MethodOptions message.
|
13038 | * @param message Plain object to verify
|
13039 | * @returns `null` if valid, otherwise the reason why it is not
|
13040 | */
|
13041 | public static verify(message: { [k: string]: any }): (string|null);
|
13042 |
|
13043 | /**
|
13044 | * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types.
|
13045 | * @param object Plain object
|
13046 | * @returns MethodOptions
|
13047 | */
|
13048 | public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions;
|
13049 |
|
13050 | /**
|
13051 | * Creates a plain object from a MethodOptions message. Also converts values to other types if specified.
|
13052 | * @param message MethodOptions
|
13053 | * @param [options] Conversion options
|
13054 | * @returns Plain object
|
13055 | */
|
13056 | public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
13057 |
|
13058 | /**
|
13059 | * Converts this MethodOptions to JSON.
|
13060 | * @returns JSON object
|
13061 | */
|
13062 | public toJSON(): { [k: string]: any };
|
13063 |
|
13064 | /**
|
13065 | * Gets the default type url for MethodOptions
|
13066 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
13067 | * @returns The default type url
|
13068 | */
|
13069 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
13070 | }
|
13071 |
|
13072 | namespace MethodOptions {
|
13073 |
|
13074 | /** IdempotencyLevel enum. */
|
13075 | enum IdempotencyLevel {
|
13076 | IDEMPOTENCY_UNKNOWN = 0,
|
13077 | NO_SIDE_EFFECTS = 1,
|
13078 | IDEMPOTENT = 2
|
13079 | }
|
13080 | }
|
13081 |
|
13082 | /** Properties of an UninterpretedOption. */
|
13083 | interface IUninterpretedOption {
|
13084 |
|
13085 | /** UninterpretedOption name */
|
13086 | name?: (google.protobuf.UninterpretedOption.INamePart[]|null);
|
13087 |
|
13088 | /** UninterpretedOption identifierValue */
|
13089 | identifierValue?: (string|null);
|
13090 |
|
13091 | /** UninterpretedOption positiveIntValue */
|
13092 | positiveIntValue?: (number|Long|string|null);
|
13093 |
|
13094 | /** UninterpretedOption negativeIntValue */
|
13095 | negativeIntValue?: (number|Long|string|null);
|
13096 |
|
13097 | /** UninterpretedOption doubleValue */
|
13098 | doubleValue?: (number|null);
|
13099 |
|
13100 | /** UninterpretedOption stringValue */
|
13101 | stringValue?: (Uint8Array|string|null);
|
13102 |
|
13103 | /** UninterpretedOption aggregateValue */
|
13104 | aggregateValue?: (string|null);
|
13105 | }
|
13106 |
|
13107 | /** Represents an UninterpretedOption. */
|
13108 | class UninterpretedOption implements IUninterpretedOption {
|
13109 |
|
13110 | /**
|
13111 | * Constructs a new UninterpretedOption.
|
13112 | * @param [properties] Properties to set
|
13113 | */
|
13114 | constructor(properties?: google.protobuf.IUninterpretedOption);
|
13115 |
|
13116 | /** UninterpretedOption name. */
|
13117 | public name: google.protobuf.UninterpretedOption.INamePart[];
|
13118 |
|
13119 | /** UninterpretedOption identifierValue. */
|
13120 | public identifierValue: string;
|
13121 |
|
13122 | /** UninterpretedOption positiveIntValue. */
|
13123 | public positiveIntValue: (number|Long|string);
|
13124 |
|
13125 | /** UninterpretedOption negativeIntValue. */
|
13126 | public negativeIntValue: (number|Long|string);
|
13127 |
|
13128 | /** UninterpretedOption doubleValue. */
|
13129 | public doubleValue: number;
|
13130 |
|
13131 | /** UninterpretedOption stringValue. */
|
13132 | public stringValue: (Uint8Array|string);
|
13133 |
|
13134 | /** UninterpretedOption aggregateValue. */
|
13135 | public aggregateValue: string;
|
13136 |
|
13137 | /**
|
13138 | * Creates a new UninterpretedOption instance using the specified properties.
|
13139 | * @param [properties] Properties to set
|
13140 | * @returns UninterpretedOption instance
|
13141 | */
|
13142 | public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption;
|
13143 |
|
13144 | /**
|
13145 | * Encodes the specified UninterpretedOption message. Does not implicitly { google.protobuf.UninterpretedOption.verify|verify} messages.
|
13146 | * message UninterpretedOption message or plain object to encode
|
13147 | * [writer] Writer to encode to
|
13148 | * Writer
|
13149 | */
|
13150 | public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
13151 |
|
13152 | /**
|
13153 | * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages.
|
13154 | * @param message UninterpretedOption message or plain object to encode
|
13155 | * @param [writer] Writer to encode to
|
13156 | * @returns Writer
|
13157 | */
|
13158 | public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer;
|
13159 |
|
13160 | /**
|
13161 | * Decodes an UninterpretedOption message from the specified reader or buffer.
|
13162 | * @param reader Reader or buffer to decode from
|
13163 | * @param [length] Message length if known beforehand
|
13164 | * @returns UninterpretedOption
|
13165 | * @throws {Error} If the payload is not a reader or valid buffer
|
13166 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13167 | */
|
13168 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption;
|
13169 |
|
13170 | /**
|
13171 | * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited.
|
13172 | * @param reader Reader or buffer to decode from
|
13173 | * @returns UninterpretedOption
|
13174 | * @throws {Error} If the payload is not a reader or valid buffer
|
13175 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13176 | */
|
13177 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption;
|
13178 |
|
13179 | /**
|
13180 | * Verifies an UninterpretedOption message.
|
13181 | * @param message Plain object to verify
|
13182 | * @returns `null` if valid, otherwise the reason why it is not
|
13183 | */
|
13184 | public static verify(message: { [k: string]: any }): (string|null);
|
13185 |
|
13186 | /**
|
13187 | * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types.
|
13188 | * @param object Plain object
|
13189 | * @returns UninterpretedOption
|
13190 | */
|
13191 | public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption;
|
13192 |
|
13193 | /**
|
13194 | * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified.
|
13195 | * @param message UninterpretedOption
|
13196 | * @param [options] Conversion options
|
13197 | * @returns Plain object
|
13198 | */
|
13199 | public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
13200 |
|
13201 | /**
|
13202 | * Converts this UninterpretedOption to JSON.
|
13203 | * @returns JSON object
|
13204 | */
|
13205 | public toJSON(): { [k: string]: any };
|
13206 |
|
13207 | /**
|
13208 | * Gets the default type url for UninterpretedOption
|
13209 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
13210 | * @returns The default type url
|
13211 | */
|
13212 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
13213 | }
|
13214 |
|
13215 | namespace UninterpretedOption {
|
13216 |
|
13217 | /** Properties of a NamePart. */
|
13218 | interface INamePart {
|
13219 |
|
13220 | /** NamePart namePart */
|
13221 | namePart: string;
|
13222 |
|
13223 | /** NamePart isExtension */
|
13224 | isExtension: boolean;
|
13225 | }
|
13226 |
|
13227 | /** Represents a NamePart. */
|
13228 | class NamePart implements INamePart {
|
13229 |
|
13230 | /**
|
13231 | * Constructs a new NamePart.
|
13232 | * @param [properties] Properties to set
|
13233 | */
|
13234 | constructor(properties?: google.protobuf.UninterpretedOption.INamePart);
|
13235 |
|
13236 | /** NamePart namePart. */
|
13237 | public namePart: string;
|
13238 |
|
13239 | /** NamePart isExtension. */
|
13240 | public isExtension: boolean;
|
13241 |
|
13242 | /**
|
13243 | * Creates a new NamePart instance using the specified properties.
|
13244 | * @param [properties] Properties to set
|
13245 | * @returns NamePart instance
|
13246 | */
|
13247 | public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart;
|
13248 |
|
13249 | /**
|
13250 | * Encodes the specified NamePart message. Does not implicitly { google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
|
13251 | * message NamePart message or plain object to encode
|
13252 | * [writer] Writer to encode to
|
13253 | * Writer
|
13254 | */
|
13255 | public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
|
13256 |
|
13257 | /**
|
13258 | * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages.
|
13259 | * @param message NamePart message or plain object to encode
|
13260 | * @param [writer] Writer to encode to
|
13261 | * @returns Writer
|
13262 | */
|
13263 | public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer;
|
13264 |
|
13265 | /**
|
13266 | * Decodes a NamePart message from the specified reader or buffer.
|
13267 | * @param reader Reader or buffer to decode from
|
13268 | * @param [length] Message length if known beforehand
|
13269 | * @returns NamePart
|
13270 | * @throws {Error} If the payload is not a reader or valid buffer
|
13271 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13272 | */
|
13273 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart;
|
13274 |
|
13275 | /**
|
13276 | * Decodes a NamePart message from the specified reader or buffer, length delimited.
|
13277 | * @param reader Reader or buffer to decode from
|
13278 | * @returns NamePart
|
13279 | * @throws {Error} If the payload is not a reader or valid buffer
|
13280 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13281 | */
|
13282 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart;
|
13283 |
|
13284 | /**
|
13285 | * Verifies a NamePart message.
|
13286 | * @param message Plain object to verify
|
13287 | * @returns `null` if valid, otherwise the reason why it is not
|
13288 | */
|
13289 | public static verify(message: { [k: string]: any }): (string|null);
|
13290 |
|
13291 | /**
|
13292 | * Creates a NamePart message from a plain object. Also converts values to their respective internal types.
|
13293 | * @param object Plain object
|
13294 | * @returns NamePart
|
13295 | */
|
13296 | public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart;
|
13297 |
|
13298 | /**
|
13299 | * Creates a plain object from a NamePart message. Also converts values to other types if specified.
|
13300 | * @param message NamePart
|
13301 | * @param [options] Conversion options
|
13302 | * @returns Plain object
|
13303 | */
|
13304 | public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
13305 |
|
13306 | /**
|
13307 | * Converts this NamePart to JSON.
|
13308 | * @returns JSON object
|
13309 | */
|
13310 | public toJSON(): { [k: string]: any };
|
13311 |
|
13312 | /**
|
13313 | * Gets the default type url for NamePart
|
13314 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
13315 | * @returns The default type url
|
13316 | */
|
13317 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
13318 | }
|
13319 | }
|
13320 |
|
13321 | /** Properties of a FeatureSet. */
|
13322 | interface IFeatureSet {
|
13323 |
|
13324 | /** FeatureSet fieldPresence */
|
13325 | fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence|null);
|
13326 |
|
13327 | /** FeatureSet enumType */
|
13328 | enumType?: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType|null);
|
13329 |
|
13330 | /** FeatureSet repeatedFieldEncoding */
|
13331 | repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding|null);
|
13332 |
|
13333 | /** FeatureSet stringFieldValidation */
|
13334 | stringFieldValidation?: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation|null);
|
13335 |
|
13336 | /** FeatureSet messageEncoding */
|
13337 | messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding|null);
|
13338 |
|
13339 | /** FeatureSet jsonFormat */
|
13340 | jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat|null);
|
13341 |
|
13342 | /** FeatureSet rawFeatures */
|
13343 | rawFeatures?: (google.protobuf.IFeatureSet|null);
|
13344 | }
|
13345 |
|
13346 | /** Represents a FeatureSet. */
|
13347 | class FeatureSet implements IFeatureSet {
|
13348 |
|
13349 | /**
|
13350 | * Constructs a new FeatureSet.
|
13351 | * @param [properties] Properties to set
|
13352 | */
|
13353 | constructor(properties?: google.protobuf.IFeatureSet);
|
13354 |
|
13355 | /** FeatureSet fieldPresence. */
|
13356 | public fieldPresence: (google.protobuf.FeatureSet.FieldPresence|keyof typeof google.protobuf.FeatureSet.FieldPresence);
|
13357 |
|
13358 | /** FeatureSet enumType. */
|
13359 | public enumType: (google.protobuf.FeatureSet.EnumType|keyof typeof google.protobuf.FeatureSet.EnumType);
|
13360 |
|
13361 | /** FeatureSet repeatedFieldEncoding. */
|
13362 | public repeatedFieldEncoding: (google.protobuf.FeatureSet.RepeatedFieldEncoding|keyof typeof google.protobuf.FeatureSet.RepeatedFieldEncoding);
|
13363 |
|
13364 | /** FeatureSet stringFieldValidation. */
|
13365 | public stringFieldValidation: (google.protobuf.FeatureSet.StringFieldValidation|keyof typeof google.protobuf.FeatureSet.StringFieldValidation);
|
13366 |
|
13367 | /** FeatureSet messageEncoding. */
|
13368 | public messageEncoding: (google.protobuf.FeatureSet.MessageEncoding|keyof typeof google.protobuf.FeatureSet.MessageEncoding);
|
13369 |
|
13370 | /** FeatureSet jsonFormat. */
|
13371 | public jsonFormat: (google.protobuf.FeatureSet.JsonFormat|keyof typeof google.protobuf.FeatureSet.JsonFormat);
|
13372 |
|
13373 | /** FeatureSet rawFeatures. */
|
13374 | public rawFeatures?: (google.protobuf.IFeatureSet|null);
|
13375 |
|
13376 | /**
|
13377 | * Creates a new FeatureSet instance using the specified properties.
|
13378 | * @param [properties] Properties to set
|
13379 | * @returns FeatureSet instance
|
13380 | */
|
13381 | public static create(properties?: google.protobuf.IFeatureSet): google.protobuf.FeatureSet;
|
13382 |
|
13383 | /**
|
13384 | * Encodes the specified FeatureSet message. Does not implicitly { google.protobuf.FeatureSet.verify|verify} messages.
|
13385 | * message FeatureSet message or plain object to encode
|
13386 | * [writer] Writer to encode to
|
13387 | * Writer
|
13388 | */
|
13389 | public static encode(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
13390 |
|
13391 | /**
|
13392 | * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
13393 | * @param message FeatureSet message or plain object to encode
|
13394 | * @param [writer] Writer to encode to
|
13395 | * @returns Writer
|
13396 | */
|
13397 | public static encodeDelimited(message: google.protobuf.IFeatureSet, writer?: $protobuf.Writer): $protobuf.Writer;
|
13398 |
|
13399 | /**
|
13400 | * Decodes a FeatureSet message from the specified reader or buffer.
|
13401 | * @param reader Reader or buffer to decode from
|
13402 | * @param [length] Message length if known beforehand
|
13403 | * @returns FeatureSet
|
13404 | * @throws {Error} If the payload is not a reader or valid buffer
|
13405 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13406 | */
|
13407 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet;
|
13408 |
|
13409 | /**
|
13410 | * Decodes a FeatureSet message from the specified reader or buffer, length delimited.
|
13411 | * @param reader Reader or buffer to decode from
|
13412 | * @returns FeatureSet
|
13413 | * @throws {Error} If the payload is not a reader or valid buffer
|
13414 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13415 | */
|
13416 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet;
|
13417 |
|
13418 | /**
|
13419 | * Verifies a FeatureSet message.
|
13420 | * @param message Plain object to verify
|
13421 | * @returns `null` if valid, otherwise the reason why it is not
|
13422 | */
|
13423 | public static verify(message: { [k: string]: any }): (string|null);
|
13424 |
|
13425 | /**
|
13426 | * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
|
13427 | * @param object Plain object
|
13428 | * @returns FeatureSet
|
13429 | */
|
13430 | public static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet;
|
13431 |
|
13432 | /**
|
13433 | * Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
|
13434 | * @param message FeatureSet
|
13435 | * @param [options] Conversion options
|
13436 | * @returns Plain object
|
13437 | */
|
13438 | public static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
13439 |
|
13440 | /**
|
13441 | * Converts this FeatureSet to JSON.
|
13442 | * @returns JSON object
|
13443 | */
|
13444 | public toJSON(): { [k: string]: any };
|
13445 |
|
13446 | /**
|
13447 | * Gets the default type url for FeatureSet
|
13448 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
13449 | * @returns The default type url
|
13450 | */
|
13451 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
13452 | }
|
13453 |
|
13454 | namespace FeatureSet {
|
13455 |
|
13456 | /** FieldPresence enum. */
|
13457 | enum FieldPresence {
|
13458 | FIELD_PRESENCE_UNKNOWN = 0,
|
13459 | EXPLICIT = 1,
|
13460 | IMPLICIT = 2,
|
13461 | LEGACY_REQUIRED = 3
|
13462 | }
|
13463 |
|
13464 | /** EnumType enum. */
|
13465 | enum EnumType {
|
13466 | ENUM_TYPE_UNKNOWN = 0,
|
13467 | OPEN = 1,
|
13468 | CLOSED = 2
|
13469 | }
|
13470 |
|
13471 | /** RepeatedFieldEncoding enum. */
|
13472 | enum RepeatedFieldEncoding {
|
13473 | REPEATED_FIELD_ENCODING_UNKNOWN = 0,
|
13474 | PACKED = 1,
|
13475 | EXPANDED = 2
|
13476 | }
|
13477 |
|
13478 | /** StringFieldValidation enum. */
|
13479 | enum StringFieldValidation {
|
13480 | STRING_FIELD_VALIDATION_UNKNOWN = 0,
|
13481 | MANDATORY = 1,
|
13482 | HINT = 2,
|
13483 | NONE = 3
|
13484 | }
|
13485 |
|
13486 | /** MessageEncoding enum. */
|
13487 | enum MessageEncoding {
|
13488 | MESSAGE_ENCODING_UNKNOWN = 0,
|
13489 | LENGTH_PREFIXED = 1,
|
13490 | DELIMITED = 2
|
13491 | }
|
13492 |
|
13493 | /** JsonFormat enum. */
|
13494 | enum JsonFormat {
|
13495 | JSON_FORMAT_UNKNOWN = 0,
|
13496 | ALLOW = 1,
|
13497 | LEGACY_BEST_EFFORT = 2
|
13498 | }
|
13499 | }
|
13500 |
|
13501 | /** Properties of a SourceCodeInfo. */
|
13502 | interface ISourceCodeInfo {
|
13503 |
|
13504 | /** SourceCodeInfo location */
|
13505 | location?: (google.protobuf.SourceCodeInfo.ILocation[]|null);
|
13506 | }
|
13507 |
|
13508 | /** Represents a SourceCodeInfo. */
|
13509 | class SourceCodeInfo implements ISourceCodeInfo {
|
13510 |
|
13511 | /**
|
13512 | * Constructs a new SourceCodeInfo.
|
13513 | * @param [properties] Properties to set
|
13514 | */
|
13515 | constructor(properties?: google.protobuf.ISourceCodeInfo);
|
13516 |
|
13517 | /** SourceCodeInfo location. */
|
13518 | public location: google.protobuf.SourceCodeInfo.ILocation[];
|
13519 |
|
13520 | /**
|
13521 | * Creates a new SourceCodeInfo instance using the specified properties.
|
13522 | * @param [properties] Properties to set
|
13523 | * @returns SourceCodeInfo instance
|
13524 | */
|
13525 | public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo;
|
13526 |
|
13527 | /**
|
13528 | * Encodes the specified SourceCodeInfo message. Does not implicitly { google.protobuf.SourceCodeInfo.verify|verify} messages.
|
13529 | * message SourceCodeInfo message or plain object to encode
|
13530 | * [writer] Writer to encode to
|
13531 | * Writer
|
13532 | */
|
13533 | public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
13534 |
|
13535 | /**
|
13536 | * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages.
|
13537 | * @param message SourceCodeInfo message or plain object to encode
|
13538 | * @param [writer] Writer to encode to
|
13539 | * @returns Writer
|
13540 | */
|
13541 | public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
13542 |
|
13543 | /**
|
13544 | * Decodes a SourceCodeInfo message from the specified reader or buffer.
|
13545 | * @param reader Reader or buffer to decode from
|
13546 | * @param [length] Message length if known beforehand
|
13547 | * @returns SourceCodeInfo
|
13548 | * @throws {Error} If the payload is not a reader or valid buffer
|
13549 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13550 | */
|
13551 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo;
|
13552 |
|
13553 | /**
|
13554 | * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited.
|
13555 | * @param reader Reader or buffer to decode from
|
13556 | * @returns SourceCodeInfo
|
13557 | * @throws {Error} If the payload is not a reader or valid buffer
|
13558 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13559 | */
|
13560 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo;
|
13561 |
|
13562 | /**
|
13563 | * Verifies a SourceCodeInfo message.
|
13564 | * @param message Plain object to verify
|
13565 | * @returns `null` if valid, otherwise the reason why it is not
|
13566 | */
|
13567 | public static verify(message: { [k: string]: any }): (string|null);
|
13568 |
|
13569 | /**
|
13570 | * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types.
|
13571 | * @param object Plain object
|
13572 | * @returns SourceCodeInfo
|
13573 | */
|
13574 | public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo;
|
13575 |
|
13576 | /**
|
13577 | * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified.
|
13578 | * @param message SourceCodeInfo
|
13579 | * @param [options] Conversion options
|
13580 | * @returns Plain object
|
13581 | */
|
13582 | public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
13583 |
|
13584 | /**
|
13585 | * Converts this SourceCodeInfo to JSON.
|
13586 | * @returns JSON object
|
13587 | */
|
13588 | public toJSON(): { [k: string]: any };
|
13589 |
|
13590 | /**
|
13591 | * Gets the default type url for SourceCodeInfo
|
13592 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
13593 | * @returns The default type url
|
13594 | */
|
13595 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
13596 | }
|
13597 |
|
13598 | namespace SourceCodeInfo {
|
13599 |
|
13600 | /** Properties of a Location. */
|
13601 | interface ILocation {
|
13602 |
|
13603 | /** Location path */
|
13604 | path?: (number[]|null);
|
13605 |
|
13606 | /** Location span */
|
13607 | span?: (number[]|null);
|
13608 |
|
13609 | /** Location leadingComments */
|
13610 | leadingComments?: (string|null);
|
13611 |
|
13612 | /** Location trailingComments */
|
13613 | trailingComments?: (string|null);
|
13614 |
|
13615 | /** Location leadingDetachedComments */
|
13616 | leadingDetachedComments?: (string[]|null);
|
13617 | }
|
13618 |
|
13619 | /** Represents a Location. */
|
13620 | class Location implements ILocation {
|
13621 |
|
13622 | /**
|
13623 | * Constructs a new Location.
|
13624 | * @param [properties] Properties to set
|
13625 | */
|
13626 | constructor(properties?: google.protobuf.SourceCodeInfo.ILocation);
|
13627 |
|
13628 | /** Location path. */
|
13629 | public path: number[];
|
13630 |
|
13631 | /** Location span. */
|
13632 | public span: number[];
|
13633 |
|
13634 | /** Location leadingComments. */
|
13635 | public leadingComments: string;
|
13636 |
|
13637 | /** Location trailingComments. */
|
13638 | public trailingComments: string;
|
13639 |
|
13640 | /** Location leadingDetachedComments. */
|
13641 | public leadingDetachedComments: string[];
|
13642 |
|
13643 | /**
|
13644 | * Creates a new Location instance using the specified properties.
|
13645 | * @param [properties] Properties to set
|
13646 | * @returns Location instance
|
13647 | */
|
13648 | public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location;
|
13649 |
|
13650 | /**
|
13651 | * Encodes the specified Location message. Does not implicitly { google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
13652 | * message Location message or plain object to encode
|
13653 | * [writer] Writer to encode to
|
13654 | * Writer
|
13655 | */
|
13656 | public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
13657 |
|
13658 | /**
|
13659 | * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages.
|
13660 | * @param message Location message or plain object to encode
|
13661 | * @param [writer] Writer to encode to
|
13662 | * @returns Writer
|
13663 | */
|
13664 | public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer;
|
13665 |
|
13666 | /**
|
13667 | * Decodes a Location message from the specified reader or buffer.
|
13668 | * @param reader Reader or buffer to decode from
|
13669 | * @param [length] Message length if known beforehand
|
13670 | * @returns Location
|
13671 | * @throws {Error} If the payload is not a reader or valid buffer
|
13672 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13673 | */
|
13674 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location;
|
13675 |
|
13676 | /**
|
13677 | * Decodes a Location message from the specified reader or buffer, length delimited.
|
13678 | * @param reader Reader or buffer to decode from
|
13679 | * @returns Location
|
13680 | * @throws {Error} If the payload is not a reader or valid buffer
|
13681 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13682 | */
|
13683 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location;
|
13684 |
|
13685 | /**
|
13686 | * Verifies a Location message.
|
13687 | * @param message Plain object to verify
|
13688 | * @returns `null` if valid, otherwise the reason why it is not
|
13689 | */
|
13690 | public static verify(message: { [k: string]: any }): (string|null);
|
13691 |
|
13692 | /**
|
13693 | * Creates a Location message from a plain object. Also converts values to their respective internal types.
|
13694 | * @param object Plain object
|
13695 | * @returns Location
|
13696 | */
|
13697 | public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location;
|
13698 |
|
13699 | /**
|
13700 | * Creates a plain object from a Location message. Also converts values to other types if specified.
|
13701 | * @param message Location
|
13702 | * @param [options] Conversion options
|
13703 | * @returns Plain object
|
13704 | */
|
13705 | public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
13706 |
|
13707 | /**
|
13708 | * Converts this Location to JSON.
|
13709 | * @returns JSON object
|
13710 | */
|
13711 | public toJSON(): { [k: string]: any };
|
13712 |
|
13713 | /**
|
13714 | * Gets the default type url for Location
|
13715 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
13716 | * @returns The default type url
|
13717 | */
|
13718 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
13719 | }
|
13720 | }
|
13721 |
|
13722 | /** Properties of a GeneratedCodeInfo. */
|
13723 | interface IGeneratedCodeInfo {
|
13724 |
|
13725 | /** GeneratedCodeInfo annotation */
|
13726 | annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null);
|
13727 | }
|
13728 |
|
13729 | /** Represents a GeneratedCodeInfo. */
|
13730 | class GeneratedCodeInfo implements IGeneratedCodeInfo {
|
13731 |
|
13732 | /**
|
13733 | * Constructs a new GeneratedCodeInfo.
|
13734 | * @param [properties] Properties to set
|
13735 | */
|
13736 | constructor(properties?: google.protobuf.IGeneratedCodeInfo);
|
13737 |
|
13738 | /** GeneratedCodeInfo annotation. */
|
13739 | public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[];
|
13740 |
|
13741 | /**
|
13742 | * Creates a new GeneratedCodeInfo instance using the specified properties.
|
13743 | * @param [properties] Properties to set
|
13744 | * @returns GeneratedCodeInfo instance
|
13745 | */
|
13746 | public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo;
|
13747 |
|
13748 | /**
|
13749 | * Encodes the specified GeneratedCodeInfo message. Does not implicitly { google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
13750 | * message GeneratedCodeInfo message or plain object to encode
|
13751 | * [writer] Writer to encode to
|
13752 | * Writer
|
13753 | */
|
13754 | public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
13755 |
|
13756 | /**
|
13757 | * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages.
|
13758 | * @param message GeneratedCodeInfo message or plain object to encode
|
13759 | * @param [writer] Writer to encode to
|
13760 | * @returns Writer
|
13761 | */
|
13762 | public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
13763 |
|
13764 | /**
|
13765 | * Decodes a GeneratedCodeInfo message from the specified reader or buffer.
|
13766 | * @param reader Reader or buffer to decode from
|
13767 | * @param [length] Message length if known beforehand
|
13768 | * @returns GeneratedCodeInfo
|
13769 | * @throws {Error} If the payload is not a reader or valid buffer
|
13770 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13771 | */
|
13772 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo;
|
13773 |
|
13774 | /**
|
13775 | * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited.
|
13776 | * @param reader Reader or buffer to decode from
|
13777 | * @returns GeneratedCodeInfo
|
13778 | * @throws {Error} If the payload is not a reader or valid buffer
|
13779 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13780 | */
|
13781 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo;
|
13782 |
|
13783 | /**
|
13784 | * Verifies a GeneratedCodeInfo message.
|
13785 | * @param message Plain object to verify
|
13786 | * @returns `null` if valid, otherwise the reason why it is not
|
13787 | */
|
13788 | public static verify(message: { [k: string]: any }): (string|null);
|
13789 |
|
13790 | /**
|
13791 | * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types.
|
13792 | * @param object Plain object
|
13793 | * @returns GeneratedCodeInfo
|
13794 | */
|
13795 | public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo;
|
13796 |
|
13797 | /**
|
13798 | * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified.
|
13799 | * @param message GeneratedCodeInfo
|
13800 | * @param [options] Conversion options
|
13801 | * @returns Plain object
|
13802 | */
|
13803 | public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
13804 |
|
13805 | /**
|
13806 | * Converts this GeneratedCodeInfo to JSON.
|
13807 | * @returns JSON object
|
13808 | */
|
13809 | public toJSON(): { [k: string]: any };
|
13810 |
|
13811 | /**
|
13812 | * Gets the default type url for GeneratedCodeInfo
|
13813 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
13814 | * @returns The default type url
|
13815 | */
|
13816 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
13817 | }
|
13818 |
|
13819 | namespace GeneratedCodeInfo {
|
13820 |
|
13821 | /** Properties of an Annotation. */
|
13822 | interface IAnnotation {
|
13823 |
|
13824 | /** Annotation path */
|
13825 | path?: (number[]|null);
|
13826 |
|
13827 | /** Annotation sourceFile */
|
13828 | sourceFile?: (string|null);
|
13829 |
|
13830 | /** Annotation begin */
|
13831 | begin?: (number|null);
|
13832 |
|
13833 | /** Annotation end */
|
13834 | end?: (number|null);
|
13835 |
|
13836 | /** Annotation semantic */
|
13837 | semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null);
|
13838 | }
|
13839 |
|
13840 | /** Represents an Annotation. */
|
13841 | class Annotation implements IAnnotation {
|
13842 |
|
13843 | /**
|
13844 | * Constructs a new Annotation.
|
13845 | * @param [properties] Properties to set
|
13846 | */
|
13847 | constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation);
|
13848 |
|
13849 | /** Annotation path. */
|
13850 | public path: number[];
|
13851 |
|
13852 | /** Annotation sourceFile. */
|
13853 | public sourceFile: string;
|
13854 |
|
13855 | /** Annotation begin. */
|
13856 | public begin: number;
|
13857 |
|
13858 | /** Annotation end. */
|
13859 | public end: number;
|
13860 |
|
13861 | /** Annotation semantic. */
|
13862 | public semantic: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|keyof typeof google.protobuf.GeneratedCodeInfo.Annotation.Semantic);
|
13863 |
|
13864 | /**
|
13865 | * Creates a new Annotation instance using the specified properties.
|
13866 | * @param [properties] Properties to set
|
13867 | * @returns Annotation instance
|
13868 | */
|
13869 | public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation;
|
13870 |
|
13871 | /**
|
13872 | * Encodes the specified Annotation message. Does not implicitly { google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
13873 | * message Annotation message or plain object to encode
|
13874 | * [writer] Writer to encode to
|
13875 | * Writer
|
13876 | */
|
13877 | public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
13878 |
|
13879 | /**
|
13880 | * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages.
|
13881 | * @param message Annotation message or plain object to encode
|
13882 | * @param [writer] Writer to encode to
|
13883 | * @returns Writer
|
13884 | */
|
13885 | public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer;
|
13886 |
|
13887 | /**
|
13888 | * Decodes an Annotation message from the specified reader or buffer.
|
13889 | * @param reader Reader or buffer to decode from
|
13890 | * @param [length] Message length if known beforehand
|
13891 | * @returns Annotation
|
13892 | * @throws {Error} If the payload is not a reader or valid buffer
|
13893 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13894 | */
|
13895 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation;
|
13896 |
|
13897 | /**
|
13898 | * Decodes an Annotation message from the specified reader or buffer, length delimited.
|
13899 | * @param reader Reader or buffer to decode from
|
13900 | * @returns Annotation
|
13901 | * @throws {Error} If the payload is not a reader or valid buffer
|
13902 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
13903 | */
|
13904 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation;
|
13905 |
|
13906 | /**
|
13907 | * Verifies an Annotation message.
|
13908 | * @param message Plain object to verify
|
13909 | * @returns `null` if valid, otherwise the reason why it is not
|
13910 | */
|
13911 | public static verify(message: { [k: string]: any }): (string|null);
|
13912 |
|
13913 | /**
|
13914 | * Creates an Annotation message from a plain object. Also converts values to their respective internal types.
|
13915 | * @param object Plain object
|
13916 | * @returns Annotation
|
13917 | */
|
13918 | public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation;
|
13919 |
|
13920 | /**
|
13921 | * Creates a plain object from an Annotation message. Also converts values to other types if specified.
|
13922 | * @param message Annotation
|
13923 | * @param [options] Conversion options
|
13924 | * @returns Plain object
|
13925 | */
|
13926 | public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
13927 |
|
13928 | /**
|
13929 | * Converts this Annotation to JSON.
|
13930 | * @returns JSON object
|
13931 | */
|
13932 | public toJSON(): { [k: string]: any };
|
13933 |
|
13934 | /**
|
13935 | * Gets the default type url for Annotation
|
13936 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
13937 | * @returns The default type url
|
13938 | */
|
13939 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
13940 | }
|
13941 |
|
13942 | namespace Annotation {
|
13943 |
|
13944 | /** Semantic enum. */
|
13945 | enum Semantic {
|
13946 | NONE = 0,
|
13947 | SET = 1,
|
13948 | ALIAS = 2
|
13949 | }
|
13950 | }
|
13951 | }
|
13952 |
|
13953 | /** Properties of a Duration. */
|
13954 | interface IDuration {
|
13955 |
|
13956 | /** Duration seconds */
|
13957 | seconds?: (number|Long|string|null);
|
13958 |
|
13959 | /** Duration nanos */
|
13960 | nanos?: (number|null);
|
13961 | }
|
13962 |
|
13963 | /** Represents a Duration. */
|
13964 | class Duration implements IDuration {
|
13965 |
|
13966 | /**
|
13967 | * Constructs a new Duration.
|
13968 | * @param [properties] Properties to set
|
13969 | */
|
13970 | constructor(properties?: google.protobuf.IDuration);
|
13971 |
|
13972 | /** Duration seconds. */
|
13973 | public seconds: (number|Long|string);
|
13974 |
|
13975 | /** Duration nanos. */
|
13976 | public nanos: number;
|
13977 |
|
13978 | /**
|
13979 | * Creates a new Duration instance using the specified properties.
|
13980 | * @param [properties] Properties to set
|
13981 | * @returns Duration instance
|
13982 | */
|
13983 | public static create(properties?: google.protobuf.IDuration): google.protobuf.Duration;
|
13984 |
|
13985 | /**
|
13986 | * Encodes the specified Duration message. Does not implicitly { google.protobuf.Duration.verify|verify} messages.
|
13987 | * message Duration message or plain object to encode
|
13988 | * [writer] Writer to encode to
|
13989 | * Writer
|
13990 | */
|
13991 | public static encode(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
|
13992 |
|
13993 | /**
|
13994 | * Encodes the specified Duration message, length delimited. Does not implicitly {@link google.protobuf.Duration.verify|verify} messages.
|
13995 | * @param message Duration message or plain object to encode
|
13996 | * @param [writer] Writer to encode to
|
13997 | * @returns Writer
|
13998 | */
|
13999 | public static encodeDelimited(message: google.protobuf.IDuration, writer?: $protobuf.Writer): $protobuf.Writer;
|
14000 |
|
14001 | /**
|
14002 | * Decodes a Duration message from the specified reader or buffer.
|
14003 | * @param reader Reader or buffer to decode from
|
14004 | * @param [length] Message length if known beforehand
|
14005 | * @returns Duration
|
14006 | * @throws {Error} If the payload is not a reader or valid buffer
|
14007 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14008 | */
|
14009 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Duration;
|
14010 |
|
14011 | /**
|
14012 | * Decodes a Duration message from the specified reader or buffer, length delimited.
|
14013 | * @param reader Reader or buffer to decode from
|
14014 | * @returns Duration
|
14015 | * @throws {Error} If the payload is not a reader or valid buffer
|
14016 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14017 | */
|
14018 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Duration;
|
14019 |
|
14020 | /**
|
14021 | * Verifies a Duration message.
|
14022 | * @param message Plain object to verify
|
14023 | * @returns `null` if valid, otherwise the reason why it is not
|
14024 | */
|
14025 | public static verify(message: { [k: string]: any }): (string|null);
|
14026 |
|
14027 | /**
|
14028 | * Creates a Duration message from a plain object. Also converts values to their respective internal types.
|
14029 | * @param object Plain object
|
14030 | * @returns Duration
|
14031 | */
|
14032 | public static fromObject(object: { [k: string]: any }): google.protobuf.Duration;
|
14033 |
|
14034 | /**
|
14035 | * Creates a plain object from a Duration message. Also converts values to other types if specified.
|
14036 | * @param message Duration
|
14037 | * @param [options] Conversion options
|
14038 | * @returns Plain object
|
14039 | */
|
14040 | public static toObject(message: google.protobuf.Duration, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14041 |
|
14042 | /**
|
14043 | * Converts this Duration to JSON.
|
14044 | * @returns JSON object
|
14045 | */
|
14046 | public toJSON(): { [k: string]: any };
|
14047 |
|
14048 | /**
|
14049 | * Gets the default type url for Duration
|
14050 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14051 | * @returns The default type url
|
14052 | */
|
14053 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14054 | }
|
14055 |
|
14056 | /** Properties of an Any. */
|
14057 | interface IAny {
|
14058 |
|
14059 | /** Any type_url */
|
14060 | type_url?: (string|null);
|
14061 |
|
14062 | /** Any value */
|
14063 | value?: (Uint8Array|string|null);
|
14064 | }
|
14065 |
|
14066 | /** Represents an Any. */
|
14067 | class Any implements IAny {
|
14068 |
|
14069 | /**
|
14070 | * Constructs a new Any.
|
14071 | * @param [properties] Properties to set
|
14072 | */
|
14073 | constructor(properties?: google.protobuf.IAny);
|
14074 |
|
14075 | /** Any type_url. */
|
14076 | public type_url: string;
|
14077 |
|
14078 | /** Any value. */
|
14079 | public value: (Uint8Array|string);
|
14080 |
|
14081 | /**
|
14082 | * Creates a new Any instance using the specified properties.
|
14083 | * @param [properties] Properties to set
|
14084 | * @returns Any instance
|
14085 | */
|
14086 | public static create(properties?: google.protobuf.IAny): google.protobuf.Any;
|
14087 |
|
14088 | /**
|
14089 | * Encodes the specified Any message. Does not implicitly { google.protobuf.Any.verify|verify} messages.
|
14090 | * message Any message or plain object to encode
|
14091 | * [writer] Writer to encode to
|
14092 | * Writer
|
14093 | */
|
14094 | public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
|
14095 |
|
14096 | /**
|
14097 | * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages.
|
14098 | * @param message Any message or plain object to encode
|
14099 | * @param [writer] Writer to encode to
|
14100 | * @returns Writer
|
14101 | */
|
14102 | public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer;
|
14103 |
|
14104 | /**
|
14105 | * Decodes an Any message from the specified reader or buffer.
|
14106 | * @param reader Reader or buffer to decode from
|
14107 | * @param [length] Message length if known beforehand
|
14108 | * @returns Any
|
14109 | * @throws {Error} If the payload is not a reader or valid buffer
|
14110 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14111 | */
|
14112 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any;
|
14113 |
|
14114 | /**
|
14115 | * Decodes an Any message from the specified reader or buffer, length delimited.
|
14116 | * @param reader Reader or buffer to decode from
|
14117 | * @returns Any
|
14118 | * @throws {Error} If the payload is not a reader or valid buffer
|
14119 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14120 | */
|
14121 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any;
|
14122 |
|
14123 | /**
|
14124 | * Verifies an Any message.
|
14125 | * @param message Plain object to verify
|
14126 | * @returns `null` if valid, otherwise the reason why it is not
|
14127 | */
|
14128 | public static verify(message: { [k: string]: any }): (string|null);
|
14129 |
|
14130 | /**
|
14131 | * Creates an Any message from a plain object. Also converts values to their respective internal types.
|
14132 | * @param object Plain object
|
14133 | * @returns Any
|
14134 | */
|
14135 | public static fromObject(object: { [k: string]: any }): google.protobuf.Any;
|
14136 |
|
14137 | /**
|
14138 | * Creates a plain object from an Any message. Also converts values to other types if specified.
|
14139 | * @param message Any
|
14140 | * @param [options] Conversion options
|
14141 | * @returns Plain object
|
14142 | */
|
14143 | public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14144 |
|
14145 | /**
|
14146 | * Converts this Any to JSON.
|
14147 | * @returns JSON object
|
14148 | */
|
14149 | public toJSON(): { [k: string]: any };
|
14150 |
|
14151 | /**
|
14152 | * Gets the default type url for Any
|
14153 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14154 | * @returns The default type url
|
14155 | */
|
14156 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14157 | }
|
14158 |
|
14159 | /** Properties of an Empty. */
|
14160 | interface IEmpty {
|
14161 | }
|
14162 |
|
14163 | /** Represents an Empty. */
|
14164 | class Empty implements IEmpty {
|
14165 |
|
14166 | /**
|
14167 | * Constructs a new Empty.
|
14168 | * @param [properties] Properties to set
|
14169 | */
|
14170 | constructor(properties?: google.protobuf.IEmpty);
|
14171 |
|
14172 | /**
|
14173 | * Creates a new Empty instance using the specified properties.
|
14174 | * @param [properties] Properties to set
|
14175 | * @returns Empty instance
|
14176 | */
|
14177 | public static create(properties?: google.protobuf.IEmpty): google.protobuf.Empty;
|
14178 |
|
14179 | /**
|
14180 | * Encodes the specified Empty message. Does not implicitly { google.protobuf.Empty.verify|verify} messages.
|
14181 | * message Empty message or plain object to encode
|
14182 | * [writer] Writer to encode to
|
14183 | * Writer
|
14184 | */
|
14185 | public static encode(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
|
14186 |
|
14187 | /**
|
14188 | * Encodes the specified Empty message, length delimited. Does not implicitly {@link google.protobuf.Empty.verify|verify} messages.
|
14189 | * @param message Empty message or plain object to encode
|
14190 | * @param [writer] Writer to encode to
|
14191 | * @returns Writer
|
14192 | */
|
14193 | public static encodeDelimited(message: google.protobuf.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer;
|
14194 |
|
14195 | /**
|
14196 | * Decodes an Empty message from the specified reader or buffer.
|
14197 | * @param reader Reader or buffer to decode from
|
14198 | * @param [length] Message length if known beforehand
|
14199 | * @returns Empty
|
14200 | * @throws {Error} If the payload is not a reader or valid buffer
|
14201 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14202 | */
|
14203 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Empty;
|
14204 |
|
14205 | /**
|
14206 | * Decodes an Empty message from the specified reader or buffer, length delimited.
|
14207 | * @param reader Reader or buffer to decode from
|
14208 | * @returns Empty
|
14209 | * @throws {Error} If the payload is not a reader or valid buffer
|
14210 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14211 | */
|
14212 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Empty;
|
14213 |
|
14214 | /**
|
14215 | * Verifies an Empty message.
|
14216 | * @param message Plain object to verify
|
14217 | * @returns `null` if valid, otherwise the reason why it is not
|
14218 | */
|
14219 | public static verify(message: { [k: string]: any }): (string|null);
|
14220 |
|
14221 | /**
|
14222 | * Creates an Empty message from a plain object. Also converts values to their respective internal types.
|
14223 | * @param object Plain object
|
14224 | * @returns Empty
|
14225 | */
|
14226 | public static fromObject(object: { [k: string]: any }): google.protobuf.Empty;
|
14227 |
|
14228 | /**
|
14229 | * Creates a plain object from an Empty message. Also converts values to other types if specified.
|
14230 | * @param message Empty
|
14231 | * @param [options] Conversion options
|
14232 | * @returns Plain object
|
14233 | */
|
14234 | public static toObject(message: google.protobuf.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14235 |
|
14236 | /**
|
14237 | * Converts this Empty to JSON.
|
14238 | * @returns JSON object
|
14239 | */
|
14240 | public toJSON(): { [k: string]: any };
|
14241 |
|
14242 | /**
|
14243 | * Gets the default type url for Empty
|
14244 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14245 | * @returns The default type url
|
14246 | */
|
14247 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14248 | }
|
14249 |
|
14250 | /** Properties of a Timestamp. */
|
14251 | interface ITimestamp {
|
14252 |
|
14253 | /** Timestamp seconds */
|
14254 | seconds?: (number|Long|string|null);
|
14255 |
|
14256 | /** Timestamp nanos */
|
14257 | nanos?: (number|null);
|
14258 | }
|
14259 |
|
14260 | /** Represents a Timestamp. */
|
14261 | class Timestamp implements ITimestamp {
|
14262 |
|
14263 | /**
|
14264 | * Constructs a new Timestamp.
|
14265 | * @param [properties] Properties to set
|
14266 | */
|
14267 | constructor(properties?: google.protobuf.ITimestamp);
|
14268 |
|
14269 | /** Timestamp seconds. */
|
14270 | public seconds: (number|Long|string);
|
14271 |
|
14272 | /** Timestamp nanos. */
|
14273 | public nanos: number;
|
14274 |
|
14275 | /**
|
14276 | * Creates a new Timestamp instance using the specified properties.
|
14277 | * @param [properties] Properties to set
|
14278 | * @returns Timestamp instance
|
14279 | */
|
14280 | public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp;
|
14281 |
|
14282 | /**
|
14283 | * Encodes the specified Timestamp message. Does not implicitly { google.protobuf.Timestamp.verify|verify} messages.
|
14284 | * message Timestamp message or plain object to encode
|
14285 | * [writer] Writer to encode to
|
14286 | * Writer
|
14287 | */
|
14288 | public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
|
14289 |
|
14290 | /**
|
14291 | * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages.
|
14292 | * @param message Timestamp message or plain object to encode
|
14293 | * @param [writer] Writer to encode to
|
14294 | * @returns Writer
|
14295 | */
|
14296 | public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer;
|
14297 |
|
14298 | /**
|
14299 | * Decodes a Timestamp message from the specified reader or buffer.
|
14300 | * @param reader Reader or buffer to decode from
|
14301 | * @param [length] Message length if known beforehand
|
14302 | * @returns Timestamp
|
14303 | * @throws {Error} If the payload is not a reader or valid buffer
|
14304 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14305 | */
|
14306 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp;
|
14307 |
|
14308 | /**
|
14309 | * Decodes a Timestamp message from the specified reader or buffer, length delimited.
|
14310 | * @param reader Reader or buffer to decode from
|
14311 | * @returns Timestamp
|
14312 | * @throws {Error} If the payload is not a reader or valid buffer
|
14313 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14314 | */
|
14315 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp;
|
14316 |
|
14317 | /**
|
14318 | * Verifies a Timestamp message.
|
14319 | * @param message Plain object to verify
|
14320 | * @returns `null` if valid, otherwise the reason why it is not
|
14321 | */
|
14322 | public static verify(message: { [k: string]: any }): (string|null);
|
14323 |
|
14324 | /**
|
14325 | * Creates a Timestamp message from a plain object. Also converts values to their respective internal types.
|
14326 | * @param object Plain object
|
14327 | * @returns Timestamp
|
14328 | */
|
14329 | public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp;
|
14330 |
|
14331 | /**
|
14332 | * Creates a plain object from a Timestamp message. Also converts values to other types if specified.
|
14333 | * @param message Timestamp
|
14334 | * @param [options] Conversion options
|
14335 | * @returns Plain object
|
14336 | */
|
14337 | public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14338 |
|
14339 | /**
|
14340 | * Converts this Timestamp to JSON.
|
14341 | * @returns JSON object
|
14342 | */
|
14343 | public toJSON(): { [k: string]: any };
|
14344 |
|
14345 | /**
|
14346 | * Gets the default type url for Timestamp
|
14347 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14348 | * @returns The default type url
|
14349 | */
|
14350 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14351 | }
|
14352 |
|
14353 | /** Properties of a Struct. */
|
14354 | interface IStruct {
|
14355 |
|
14356 | /** Struct fields */
|
14357 | fields?: ({ [k: string]: google.protobuf.IValue }|null);
|
14358 | }
|
14359 |
|
14360 | /** Represents a Struct. */
|
14361 | class Struct implements IStruct {
|
14362 |
|
14363 | /**
|
14364 | * Constructs a new Struct.
|
14365 | * @param [properties] Properties to set
|
14366 | */
|
14367 | constructor(properties?: google.protobuf.IStruct);
|
14368 |
|
14369 | /** Struct fields. */
|
14370 | public fields: { [k: string]: google.protobuf.IValue };
|
14371 |
|
14372 | /**
|
14373 | * Creates a new Struct instance using the specified properties.
|
14374 | * @param [properties] Properties to set
|
14375 | * @returns Struct instance
|
14376 | */
|
14377 | public static create(properties?: google.protobuf.IStruct): google.protobuf.Struct;
|
14378 |
|
14379 | /**
|
14380 | * Encodes the specified Struct message. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
|
14381 | * @param message Struct message or plain object to encode
|
14382 | * @param [writer] Writer to encode to
|
14383 | * @returns Writer
|
14384 | */
|
14385 | public static encode(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
|
14386 |
|
14387 | /**
|
14388 | * Encodes the specified Struct message, length delimited. Does not implicitly {@link google.protobuf.Struct.verify|verify} messages.
|
14389 | * @param message Struct message or plain object to encode
|
14390 | * @param [writer] Writer to encode to
|
14391 | * @returns Writer
|
14392 | */
|
14393 | public static encodeDelimited(message: google.protobuf.IStruct, writer?: $protobuf.Writer): $protobuf.Writer;
|
14394 |
|
14395 | /**
|
14396 | * Decodes a Struct message from the specified reader or buffer.
|
14397 | * @param reader Reader or buffer to decode from
|
14398 | * @param [length] Message length if known beforehand
|
14399 | * @returns Struct
|
14400 | * @throws {Error} If the payload is not a reader or valid buffer
|
14401 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14402 | */
|
14403 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Struct;
|
14404 |
|
14405 | /**
|
14406 | * Decodes a Struct message from the specified reader or buffer, length delimited.
|
14407 | * @param reader Reader or buffer to decode from
|
14408 | * @returns Struct
|
14409 | * @throws {Error} If the payload is not a reader or valid buffer
|
14410 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14411 | */
|
14412 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Struct;
|
14413 |
|
14414 | /**
|
14415 | * Verifies a Struct message.
|
14416 | * @param message Plain object to verify
|
14417 | * @returns `null` if valid, otherwise the reason why it is not
|
14418 | */
|
14419 | public static verify(message: { [k: string]: any }): (string|null);
|
14420 |
|
14421 | /**
|
14422 | * Creates a Struct message from a plain object. Also converts values to their respective internal types.
|
14423 | * @param object Plain object
|
14424 | * @returns Struct
|
14425 | */
|
14426 | public static fromObject(object: { [k: string]: any }): google.protobuf.Struct;
|
14427 |
|
14428 | /**
|
14429 | * Creates a plain object from a Struct message. Also converts values to other types if specified.
|
14430 | * @param message Struct
|
14431 | * @param [options] Conversion options
|
14432 | * @returns Plain object
|
14433 | */
|
14434 | public static toObject(message: google.protobuf.Struct, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14435 |
|
14436 | /**
|
14437 | * Converts this Struct to JSON.
|
14438 | * @returns JSON object
|
14439 | */
|
14440 | public toJSON(): { [k: string]: any };
|
14441 |
|
14442 | /**
|
14443 | * Gets the default type url for Struct
|
14444 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14445 | * @returns The default type url
|
14446 | */
|
14447 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14448 | }
|
14449 |
|
14450 | /** Properties of a Value. */
|
14451 | interface IValue {
|
14452 |
|
14453 | /** Value nullValue */
|
14454 | nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
|
14455 |
|
14456 | /** Value numberValue */
|
14457 | numberValue?: (number|null);
|
14458 |
|
14459 | /** Value stringValue */
|
14460 | stringValue?: (string|null);
|
14461 |
|
14462 | /** Value boolValue */
|
14463 | boolValue?: (boolean|null);
|
14464 |
|
14465 | /** Value structValue */
|
14466 | structValue?: (google.protobuf.IStruct|null);
|
14467 |
|
14468 | /** Value listValue */
|
14469 | listValue?: (google.protobuf.IListValue|null);
|
14470 | }
|
14471 |
|
14472 | /** Represents a Value. */
|
14473 | class Value implements IValue {
|
14474 |
|
14475 | /**
|
14476 | * Constructs a new Value.
|
14477 | * @param [properties] Properties to set
|
14478 | */
|
14479 | constructor(properties?: google.protobuf.IValue);
|
14480 |
|
14481 | /** Value nullValue. */
|
14482 | public nullValue?: (google.protobuf.NullValue|keyof typeof google.protobuf.NullValue|null);
|
14483 |
|
14484 | /** Value numberValue. */
|
14485 | public numberValue?: (number|null);
|
14486 |
|
14487 | /** Value stringValue. */
|
14488 | public stringValue?: (string|null);
|
14489 |
|
14490 | /** Value boolValue. */
|
14491 | public boolValue?: (boolean|null);
|
14492 |
|
14493 | /** Value structValue. */
|
14494 | public structValue?: (google.protobuf.IStruct|null);
|
14495 |
|
14496 | /** Value listValue. */
|
14497 | public listValue?: (google.protobuf.IListValue|null);
|
14498 |
|
14499 | /** Value kind. */
|
14500 | public kind?: ("nullValue"|"numberValue"|"stringValue"|"boolValue"|"structValue"|"listValue");
|
14501 |
|
14502 | /**
|
14503 | * Creates a new Value instance using the specified properties.
|
14504 | * @param [properties] Properties to set
|
14505 | * @returns Value instance
|
14506 | */
|
14507 | public static create(properties?: google.protobuf.IValue): google.protobuf.Value;
|
14508 |
|
14509 | /**
|
14510 | * Encodes the specified Value message. Does not implicitly { google.protobuf.Value.verify|verify} messages.
|
14511 | * message Value message or plain object to encode
|
14512 | * [writer] Writer to encode to
|
14513 | * Writer
|
14514 | */
|
14515 | public static encode(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
14516 |
|
14517 | /**
|
14518 | * Encodes the specified Value message, length delimited. Does not implicitly {@link google.protobuf.Value.verify|verify} messages.
|
14519 | * @param message Value message or plain object to encode
|
14520 | * @param [writer] Writer to encode to
|
14521 | * @returns Writer
|
14522 | */
|
14523 | public static encodeDelimited(message: google.protobuf.IValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
14524 |
|
14525 | /**
|
14526 | * Decodes a Value message from the specified reader or buffer.
|
14527 | * @param reader Reader or buffer to decode from
|
14528 | * @param [length] Message length if known beforehand
|
14529 | * @returns Value
|
14530 | * @throws {Error} If the payload is not a reader or valid buffer
|
14531 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14532 | */
|
14533 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Value;
|
14534 |
|
14535 | /**
|
14536 | * Decodes a Value message from the specified reader or buffer, length delimited.
|
14537 | * @param reader Reader or buffer to decode from
|
14538 | * @returns Value
|
14539 | * @throws {Error} If the payload is not a reader or valid buffer
|
14540 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14541 | */
|
14542 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Value;
|
14543 |
|
14544 | /**
|
14545 | * Verifies a Value message.
|
14546 | * @param message Plain object to verify
|
14547 | * @returns `null` if valid, otherwise the reason why it is not
|
14548 | */
|
14549 | public static verify(message: { [k: string]: any }): (string|null);
|
14550 |
|
14551 | /**
|
14552 | * Creates a Value message from a plain object. Also converts values to their respective internal types.
|
14553 | * @param object Plain object
|
14554 | * @returns Value
|
14555 | */
|
14556 | public static fromObject(object: { [k: string]: any }): google.protobuf.Value;
|
14557 |
|
14558 | /**
|
14559 | * Creates a plain object from a Value message. Also converts values to other types if specified.
|
14560 | * @param message Value
|
14561 | * @param [options] Conversion options
|
14562 | * @returns Plain object
|
14563 | */
|
14564 | public static toObject(message: google.protobuf.Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14565 |
|
14566 | /**
|
14567 | * Converts this Value to JSON.
|
14568 | * @returns JSON object
|
14569 | */
|
14570 | public toJSON(): { [k: string]: any };
|
14571 |
|
14572 | /**
|
14573 | * Gets the default type url for Value
|
14574 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14575 | * @returns The default type url
|
14576 | */
|
14577 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14578 | }
|
14579 |
|
14580 | /** NullValue enum. */
|
14581 | enum NullValue {
|
14582 | NULL_VALUE = 0
|
14583 | }
|
14584 |
|
14585 | /** Properties of a ListValue. */
|
14586 | interface IListValue {
|
14587 |
|
14588 | /** ListValue values */
|
14589 | values?: (google.protobuf.IValue[]|null);
|
14590 | }
|
14591 |
|
14592 | /** Represents a ListValue. */
|
14593 | class ListValue implements IListValue {
|
14594 |
|
14595 | /**
|
14596 | * Constructs a new ListValue.
|
14597 | * @param [properties] Properties to set
|
14598 | */
|
14599 | constructor(properties?: google.protobuf.IListValue);
|
14600 |
|
14601 | /** ListValue values. */
|
14602 | public values: google.protobuf.IValue[];
|
14603 |
|
14604 | /**
|
14605 | * Creates a new ListValue instance using the specified properties.
|
14606 | * @param [properties] Properties to set
|
14607 | * @returns ListValue instance
|
14608 | */
|
14609 | public static create(properties?: google.protobuf.IListValue): google.protobuf.ListValue;
|
14610 |
|
14611 | /**
|
14612 | * Encodes the specified ListValue message. Does not implicitly { google.protobuf.ListValue.verify|verify} messages.
|
14613 | * message ListValue message or plain object to encode
|
14614 | * [writer] Writer to encode to
|
14615 | * Writer
|
14616 | */
|
14617 | public static encode(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
14618 |
|
14619 | /**
|
14620 | * Encodes the specified ListValue message, length delimited. Does not implicitly {@link google.protobuf.ListValue.verify|verify} messages.
|
14621 | * @param message ListValue message or plain object to encode
|
14622 | * @param [writer] Writer to encode to
|
14623 | * @returns Writer
|
14624 | */
|
14625 | public static encodeDelimited(message: google.protobuf.IListValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
14626 |
|
14627 | /**
|
14628 | * Decodes a ListValue message from the specified reader or buffer.
|
14629 | * @param reader Reader or buffer to decode from
|
14630 | * @param [length] Message length if known beforehand
|
14631 | * @returns ListValue
|
14632 | * @throws {Error} If the payload is not a reader or valid buffer
|
14633 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14634 | */
|
14635 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ListValue;
|
14636 |
|
14637 | /**
|
14638 | * Decodes a ListValue message from the specified reader or buffer, length delimited.
|
14639 | * @param reader Reader or buffer to decode from
|
14640 | * @returns ListValue
|
14641 | * @throws {Error} If the payload is not a reader or valid buffer
|
14642 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14643 | */
|
14644 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ListValue;
|
14645 |
|
14646 | /**
|
14647 | * Verifies a ListValue message.
|
14648 | * @param message Plain object to verify
|
14649 | * @returns `null` if valid, otherwise the reason why it is not
|
14650 | */
|
14651 | public static verify(message: { [k: string]: any }): (string|null);
|
14652 |
|
14653 | /**
|
14654 | * Creates a ListValue message from a plain object. Also converts values to their respective internal types.
|
14655 | * @param object Plain object
|
14656 | * @returns ListValue
|
14657 | */
|
14658 | public static fromObject(object: { [k: string]: any }): google.protobuf.ListValue;
|
14659 |
|
14660 | /**
|
14661 | * Creates a plain object from a ListValue message. Also converts values to other types if specified.
|
14662 | * @param message ListValue
|
14663 | * @param [options] Conversion options
|
14664 | * @returns Plain object
|
14665 | */
|
14666 | public static toObject(message: google.protobuf.ListValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14667 |
|
14668 | /**
|
14669 | * Converts this ListValue to JSON.
|
14670 | * @returns JSON object
|
14671 | */
|
14672 | public toJSON(): { [k: string]: any };
|
14673 |
|
14674 | /**
|
14675 | * Gets the default type url for ListValue
|
14676 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14677 | * @returns The default type url
|
14678 | */
|
14679 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14680 | }
|
14681 |
|
14682 | /** Properties of a DoubleValue. */
|
14683 | interface IDoubleValue {
|
14684 |
|
14685 | /** DoubleValue value */
|
14686 | value?: (number|null);
|
14687 | }
|
14688 |
|
14689 | /** Represents a DoubleValue. */
|
14690 | class DoubleValue implements IDoubleValue {
|
14691 |
|
14692 | /**
|
14693 | * Constructs a new DoubleValue.
|
14694 | * @param [properties] Properties to set
|
14695 | */
|
14696 | constructor(properties?: google.protobuf.IDoubleValue);
|
14697 |
|
14698 | /** DoubleValue value. */
|
14699 | public value: number;
|
14700 |
|
14701 | /**
|
14702 | * Creates a new DoubleValue instance using the specified properties.
|
14703 | * @param [properties] Properties to set
|
14704 | * @returns DoubleValue instance
|
14705 | */
|
14706 | public static create(properties?: google.protobuf.IDoubleValue): google.protobuf.DoubleValue;
|
14707 |
|
14708 | /**
|
14709 | * Encodes the specified DoubleValue message. Does not implicitly { google.protobuf.DoubleValue.verify|verify} messages.
|
14710 | * message DoubleValue message or plain object to encode
|
14711 | * [writer] Writer to encode to
|
14712 | * Writer
|
14713 | */
|
14714 | public static encode(message: google.protobuf.IDoubleValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
14715 |
|
14716 | /**
|
14717 | * Encodes the specified DoubleValue message, length delimited. Does not implicitly {@link google.protobuf.DoubleValue.verify|verify} messages.
|
14718 | * @param message DoubleValue message or plain object to encode
|
14719 | * @param [writer] Writer to encode to
|
14720 | * @returns Writer
|
14721 | */
|
14722 | public static encodeDelimited(message: google.protobuf.IDoubleValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
14723 |
|
14724 | /**
|
14725 | * Decodes a DoubleValue message from the specified reader or buffer.
|
14726 | * @param reader Reader or buffer to decode from
|
14727 | * @param [length] Message length if known beforehand
|
14728 | * @returns DoubleValue
|
14729 | * @throws {Error} If the payload is not a reader or valid buffer
|
14730 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14731 | */
|
14732 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DoubleValue;
|
14733 |
|
14734 | /**
|
14735 | * Decodes a DoubleValue message from the specified reader or buffer, length delimited.
|
14736 | * @param reader Reader or buffer to decode from
|
14737 | * @returns DoubleValue
|
14738 | * @throws {Error} If the payload is not a reader or valid buffer
|
14739 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14740 | */
|
14741 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DoubleValue;
|
14742 |
|
14743 | /**
|
14744 | * Verifies a DoubleValue message.
|
14745 | * @param message Plain object to verify
|
14746 | * @returns `null` if valid, otherwise the reason why it is not
|
14747 | */
|
14748 | public static verify(message: { [k: string]: any }): (string|null);
|
14749 |
|
14750 | /**
|
14751 | * Creates a DoubleValue message from a plain object. Also converts values to their respective internal types.
|
14752 | * @param object Plain object
|
14753 | * @returns DoubleValue
|
14754 | */
|
14755 | public static fromObject(object: { [k: string]: any }): google.protobuf.DoubleValue;
|
14756 |
|
14757 | /**
|
14758 | * Creates a plain object from a DoubleValue message. Also converts values to other types if specified.
|
14759 | * @param message DoubleValue
|
14760 | * @param [options] Conversion options
|
14761 | * @returns Plain object
|
14762 | */
|
14763 | public static toObject(message: google.protobuf.DoubleValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14764 |
|
14765 | /**
|
14766 | * Converts this DoubleValue to JSON.
|
14767 | * @returns JSON object
|
14768 | */
|
14769 | public toJSON(): { [k: string]: any };
|
14770 |
|
14771 | /**
|
14772 | * Gets the default type url for DoubleValue
|
14773 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14774 | * @returns The default type url
|
14775 | */
|
14776 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14777 | }
|
14778 |
|
14779 | /** Properties of a FloatValue. */
|
14780 | interface IFloatValue {
|
14781 |
|
14782 | /** FloatValue value */
|
14783 | value?: (number|null);
|
14784 | }
|
14785 |
|
14786 | /** Represents a FloatValue. */
|
14787 | class FloatValue implements IFloatValue {
|
14788 |
|
14789 | /**
|
14790 | * Constructs a new FloatValue.
|
14791 | * @param [properties] Properties to set
|
14792 | */
|
14793 | constructor(properties?: google.protobuf.IFloatValue);
|
14794 |
|
14795 | /** FloatValue value. */
|
14796 | public value: number;
|
14797 |
|
14798 | /**
|
14799 | * Creates a new FloatValue instance using the specified properties.
|
14800 | * @param [properties] Properties to set
|
14801 | * @returns FloatValue instance
|
14802 | */
|
14803 | public static create(properties?: google.protobuf.IFloatValue): google.protobuf.FloatValue;
|
14804 |
|
14805 | /**
|
14806 | * Encodes the specified FloatValue message. Does not implicitly { google.protobuf.FloatValue.verify|verify} messages.
|
14807 | * message FloatValue message or plain object to encode
|
14808 | * [writer] Writer to encode to
|
14809 | * Writer
|
14810 | */
|
14811 | public static encode(message: google.protobuf.IFloatValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
14812 |
|
14813 | /**
|
14814 | * Encodes the specified FloatValue message, length delimited. Does not implicitly {@link google.protobuf.FloatValue.verify|verify} messages.
|
14815 | * @param message FloatValue message or plain object to encode
|
14816 | * @param [writer] Writer to encode to
|
14817 | * @returns Writer
|
14818 | */
|
14819 | public static encodeDelimited(message: google.protobuf.IFloatValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
14820 |
|
14821 | /**
|
14822 | * Decodes a FloatValue message from the specified reader or buffer.
|
14823 | * @param reader Reader or buffer to decode from
|
14824 | * @param [length] Message length if known beforehand
|
14825 | * @returns FloatValue
|
14826 | * @throws {Error} If the payload is not a reader or valid buffer
|
14827 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14828 | */
|
14829 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FloatValue;
|
14830 |
|
14831 | /**
|
14832 | * Decodes a FloatValue message from the specified reader or buffer, length delimited.
|
14833 | * @param reader Reader or buffer to decode from
|
14834 | * @returns FloatValue
|
14835 | * @throws {Error} If the payload is not a reader or valid buffer
|
14836 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14837 | */
|
14838 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FloatValue;
|
14839 |
|
14840 | /**
|
14841 | * Verifies a FloatValue message.
|
14842 | * @param message Plain object to verify
|
14843 | * @returns `null` if valid, otherwise the reason why it is not
|
14844 | */
|
14845 | public static verify(message: { [k: string]: any }): (string|null);
|
14846 |
|
14847 | /**
|
14848 | * Creates a FloatValue message from a plain object. Also converts values to their respective internal types.
|
14849 | * @param object Plain object
|
14850 | * @returns FloatValue
|
14851 | */
|
14852 | public static fromObject(object: { [k: string]: any }): google.protobuf.FloatValue;
|
14853 |
|
14854 | /**
|
14855 | * Creates a plain object from a FloatValue message. Also converts values to other types if specified.
|
14856 | * @param message FloatValue
|
14857 | * @param [options] Conversion options
|
14858 | * @returns Plain object
|
14859 | */
|
14860 | public static toObject(message: google.protobuf.FloatValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14861 |
|
14862 | /**
|
14863 | * Converts this FloatValue to JSON.
|
14864 | * @returns JSON object
|
14865 | */
|
14866 | public toJSON(): { [k: string]: any };
|
14867 |
|
14868 | /**
|
14869 | * Gets the default type url for FloatValue
|
14870 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14871 | * @returns The default type url
|
14872 | */
|
14873 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14874 | }
|
14875 |
|
14876 | /** Properties of an Int64Value. */
|
14877 | interface IInt64Value {
|
14878 |
|
14879 | /** Int64Value value */
|
14880 | value?: (number|Long|string|null);
|
14881 | }
|
14882 |
|
14883 | /** Represents an Int64Value. */
|
14884 | class Int64Value implements IInt64Value {
|
14885 |
|
14886 | /**
|
14887 | * Constructs a new Int64Value.
|
14888 | * @param [properties] Properties to set
|
14889 | */
|
14890 | constructor(properties?: google.protobuf.IInt64Value);
|
14891 |
|
14892 | /** Int64Value value. */
|
14893 | public value: (number|Long|string);
|
14894 |
|
14895 | /**
|
14896 | * Creates a new Int64Value instance using the specified properties.
|
14897 | * @param [properties] Properties to set
|
14898 | * @returns Int64Value instance
|
14899 | */
|
14900 | public static create(properties?: google.protobuf.IInt64Value): google.protobuf.Int64Value;
|
14901 |
|
14902 | /**
|
14903 | * Encodes the specified Int64Value message. Does not implicitly { google.protobuf.Int64Value.verify|verify} messages.
|
14904 | * message Int64Value message or plain object to encode
|
14905 | * [writer] Writer to encode to
|
14906 | * Writer
|
14907 | */
|
14908 | public static encode(message: google.protobuf.IInt64Value, writer?: $protobuf.Writer): $protobuf.Writer;
|
14909 |
|
14910 | /**
|
14911 | * Encodes the specified Int64Value message, length delimited. Does not implicitly {@link google.protobuf.Int64Value.verify|verify} messages.
|
14912 | * @param message Int64Value message or plain object to encode
|
14913 | * @param [writer] Writer to encode to
|
14914 | * @returns Writer
|
14915 | */
|
14916 | public static encodeDelimited(message: google.protobuf.IInt64Value, writer?: $protobuf.Writer): $protobuf.Writer;
|
14917 |
|
14918 | /**
|
14919 | * Decodes an Int64Value message from the specified reader or buffer.
|
14920 | * @param reader Reader or buffer to decode from
|
14921 | * @param [length] Message length if known beforehand
|
14922 | * @returns Int64Value
|
14923 | * @throws {Error} If the payload is not a reader or valid buffer
|
14924 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14925 | */
|
14926 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Int64Value;
|
14927 |
|
14928 | /**
|
14929 | * Decodes an Int64Value message from the specified reader or buffer, length delimited.
|
14930 | * @param reader Reader or buffer to decode from
|
14931 | * @returns Int64Value
|
14932 | * @throws {Error} If the payload is not a reader or valid buffer
|
14933 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
14934 | */
|
14935 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Int64Value;
|
14936 |
|
14937 | /**
|
14938 | * Verifies an Int64Value message.
|
14939 | * @param message Plain object to verify
|
14940 | * @returns `null` if valid, otherwise the reason why it is not
|
14941 | */
|
14942 | public static verify(message: { [k: string]: any }): (string|null);
|
14943 |
|
14944 | /**
|
14945 | * Creates an Int64Value message from a plain object. Also converts values to their respective internal types.
|
14946 | * @param object Plain object
|
14947 | * @returns Int64Value
|
14948 | */
|
14949 | public static fromObject(object: { [k: string]: any }): google.protobuf.Int64Value;
|
14950 |
|
14951 | /**
|
14952 | * Creates a plain object from an Int64Value message. Also converts values to other types if specified.
|
14953 | * @param message Int64Value
|
14954 | * @param [options] Conversion options
|
14955 | * @returns Plain object
|
14956 | */
|
14957 | public static toObject(message: google.protobuf.Int64Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
14958 |
|
14959 | /**
|
14960 | * Converts this Int64Value to JSON.
|
14961 | * @returns JSON object
|
14962 | */
|
14963 | public toJSON(): { [k: string]: any };
|
14964 |
|
14965 | /**
|
14966 | * Gets the default type url for Int64Value
|
14967 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
14968 | * @returns The default type url
|
14969 | */
|
14970 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
14971 | }
|
14972 |
|
14973 | /** Properties of a UInt64Value. */
|
14974 | interface IUInt64Value {
|
14975 |
|
14976 | /** UInt64Value value */
|
14977 | value?: (number|Long|string|null);
|
14978 | }
|
14979 |
|
14980 | /** Represents a UInt64Value. */
|
14981 | class UInt64Value implements IUInt64Value {
|
14982 |
|
14983 | /**
|
14984 | * Constructs a new UInt64Value.
|
14985 | * @param [properties] Properties to set
|
14986 | */
|
14987 | constructor(properties?: google.protobuf.IUInt64Value);
|
14988 |
|
14989 | /** UInt64Value value. */
|
14990 | public value: (number|Long|string);
|
14991 |
|
14992 | /**
|
14993 | * Creates a new UInt64Value instance using the specified properties.
|
14994 | * @param [properties] Properties to set
|
14995 | * @returns UInt64Value instance
|
14996 | */
|
14997 | public static create(properties?: google.protobuf.IUInt64Value): google.protobuf.UInt64Value;
|
14998 |
|
14999 | /**
|
15000 | * Encodes the specified UInt64Value message. Does not implicitly { google.protobuf.UInt64Value.verify|verify} messages.
|
15001 | * message UInt64Value message or plain object to encode
|
15002 | * [writer] Writer to encode to
|
15003 | * Writer
|
15004 | */
|
15005 | public static encode(message: google.protobuf.IUInt64Value, writer?: $protobuf.Writer): $protobuf.Writer;
|
15006 |
|
15007 | /**
|
15008 | * Encodes the specified UInt64Value message, length delimited. Does not implicitly {@link google.protobuf.UInt64Value.verify|verify} messages.
|
15009 | * @param message UInt64Value message or plain object to encode
|
15010 | * @param [writer] Writer to encode to
|
15011 | * @returns Writer
|
15012 | */
|
15013 | public static encodeDelimited(message: google.protobuf.IUInt64Value, writer?: $protobuf.Writer): $protobuf.Writer;
|
15014 |
|
15015 | /**
|
15016 | * Decodes a UInt64Value message from the specified reader or buffer.
|
15017 | * @param reader Reader or buffer to decode from
|
15018 | * @param [length] Message length if known beforehand
|
15019 | * @returns UInt64Value
|
15020 | * @throws {Error} If the payload is not a reader or valid buffer
|
15021 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15022 | */
|
15023 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UInt64Value;
|
15024 |
|
15025 | /**
|
15026 | * Decodes a UInt64Value message from the specified reader or buffer, length delimited.
|
15027 | * @param reader Reader or buffer to decode from
|
15028 | * @returns UInt64Value
|
15029 | * @throws {Error} If the payload is not a reader or valid buffer
|
15030 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15031 | */
|
15032 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UInt64Value;
|
15033 |
|
15034 | /**
|
15035 | * Verifies a UInt64Value message.
|
15036 | * @param message Plain object to verify
|
15037 | * @returns `null` if valid, otherwise the reason why it is not
|
15038 | */
|
15039 | public static verify(message: { [k: string]: any }): (string|null);
|
15040 |
|
15041 | /**
|
15042 | * Creates a UInt64Value message from a plain object. Also converts values to their respective internal types.
|
15043 | * @param object Plain object
|
15044 | * @returns UInt64Value
|
15045 | */
|
15046 | public static fromObject(object: { [k: string]: any }): google.protobuf.UInt64Value;
|
15047 |
|
15048 | /**
|
15049 | * Creates a plain object from a UInt64Value message. Also converts values to other types if specified.
|
15050 | * @param message UInt64Value
|
15051 | * @param [options] Conversion options
|
15052 | * @returns Plain object
|
15053 | */
|
15054 | public static toObject(message: google.protobuf.UInt64Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15055 |
|
15056 | /**
|
15057 | * Converts this UInt64Value to JSON.
|
15058 | * @returns JSON object
|
15059 | */
|
15060 | public toJSON(): { [k: string]: any };
|
15061 |
|
15062 | /**
|
15063 | * Gets the default type url for UInt64Value
|
15064 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
15065 | * @returns The default type url
|
15066 | */
|
15067 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
15068 | }
|
15069 |
|
15070 | /** Properties of an Int32Value. */
|
15071 | interface IInt32Value {
|
15072 |
|
15073 | /** Int32Value value */
|
15074 | value?: (number|null);
|
15075 | }
|
15076 |
|
15077 | /** Represents an Int32Value. */
|
15078 | class Int32Value implements IInt32Value {
|
15079 |
|
15080 | /**
|
15081 | * Constructs a new Int32Value.
|
15082 | * @param [properties] Properties to set
|
15083 | */
|
15084 | constructor(properties?: google.protobuf.IInt32Value);
|
15085 |
|
15086 | /** Int32Value value. */
|
15087 | public value: number;
|
15088 |
|
15089 | /**
|
15090 | * Creates a new Int32Value instance using the specified properties.
|
15091 | * @param [properties] Properties to set
|
15092 | * @returns Int32Value instance
|
15093 | */
|
15094 | public static create(properties?: google.protobuf.IInt32Value): google.protobuf.Int32Value;
|
15095 |
|
15096 | /**
|
15097 | * Encodes the specified Int32Value message. Does not implicitly { google.protobuf.Int32Value.verify|verify} messages.
|
15098 | * message Int32Value message or plain object to encode
|
15099 | * [writer] Writer to encode to
|
15100 | * Writer
|
15101 | */
|
15102 | public static encode(message: google.protobuf.IInt32Value, writer?: $protobuf.Writer): $protobuf.Writer;
|
15103 |
|
15104 | /**
|
15105 | * Encodes the specified Int32Value message, length delimited. Does not implicitly {@link google.protobuf.Int32Value.verify|verify} messages.
|
15106 | * @param message Int32Value message or plain object to encode
|
15107 | * @param [writer] Writer to encode to
|
15108 | * @returns Writer
|
15109 | */
|
15110 | public static encodeDelimited(message: google.protobuf.IInt32Value, writer?: $protobuf.Writer): $protobuf.Writer;
|
15111 |
|
15112 | /**
|
15113 | * Decodes an Int32Value message from the specified reader or buffer.
|
15114 | * @param reader Reader or buffer to decode from
|
15115 | * @param [length] Message length if known beforehand
|
15116 | * @returns Int32Value
|
15117 | * @throws {Error} If the payload is not a reader or valid buffer
|
15118 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15119 | */
|
15120 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Int32Value;
|
15121 |
|
15122 | /**
|
15123 | * Decodes an Int32Value message from the specified reader or buffer, length delimited.
|
15124 | * @param reader Reader or buffer to decode from
|
15125 | * @returns Int32Value
|
15126 | * @throws {Error} If the payload is not a reader or valid buffer
|
15127 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15128 | */
|
15129 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Int32Value;
|
15130 |
|
15131 | /**
|
15132 | * Verifies an Int32Value message.
|
15133 | * @param message Plain object to verify
|
15134 | * @returns `null` if valid, otherwise the reason why it is not
|
15135 | */
|
15136 | public static verify(message: { [k: string]: any }): (string|null);
|
15137 |
|
15138 | /**
|
15139 | * Creates an Int32Value message from a plain object. Also converts values to their respective internal types.
|
15140 | * @param object Plain object
|
15141 | * @returns Int32Value
|
15142 | */
|
15143 | public static fromObject(object: { [k: string]: any }): google.protobuf.Int32Value;
|
15144 |
|
15145 | /**
|
15146 | * Creates a plain object from an Int32Value message. Also converts values to other types if specified.
|
15147 | * @param message Int32Value
|
15148 | * @param [options] Conversion options
|
15149 | * @returns Plain object
|
15150 | */
|
15151 | public static toObject(message: google.protobuf.Int32Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15152 |
|
15153 | /**
|
15154 | * Converts this Int32Value to JSON.
|
15155 | * @returns JSON object
|
15156 | */
|
15157 | public toJSON(): { [k: string]: any };
|
15158 |
|
15159 | /**
|
15160 | * Gets the default type url for Int32Value
|
15161 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
15162 | * @returns The default type url
|
15163 | */
|
15164 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
15165 | }
|
15166 |
|
15167 | /** Properties of a UInt32Value. */
|
15168 | interface IUInt32Value {
|
15169 |
|
15170 | /** UInt32Value value */
|
15171 | value?: (number|null);
|
15172 | }
|
15173 |
|
15174 | /** Represents a UInt32Value. */
|
15175 | class UInt32Value implements IUInt32Value {
|
15176 |
|
15177 | /**
|
15178 | * Constructs a new UInt32Value.
|
15179 | * @param [properties] Properties to set
|
15180 | */
|
15181 | constructor(properties?: google.protobuf.IUInt32Value);
|
15182 |
|
15183 | /** UInt32Value value. */
|
15184 | public value: number;
|
15185 |
|
15186 | /**
|
15187 | * Creates a new UInt32Value instance using the specified properties.
|
15188 | * @param [properties] Properties to set
|
15189 | * @returns UInt32Value instance
|
15190 | */
|
15191 | public static create(properties?: google.protobuf.IUInt32Value): google.protobuf.UInt32Value;
|
15192 |
|
15193 | /**
|
15194 | * Encodes the specified UInt32Value message. Does not implicitly { google.protobuf.UInt32Value.verify|verify} messages.
|
15195 | * message UInt32Value message or plain object to encode
|
15196 | * [writer] Writer to encode to
|
15197 | * Writer
|
15198 | */
|
15199 | public static encode(message: google.protobuf.IUInt32Value, writer?: $protobuf.Writer): $protobuf.Writer;
|
15200 |
|
15201 | /**
|
15202 | * Encodes the specified UInt32Value message, length delimited. Does not implicitly {@link google.protobuf.UInt32Value.verify|verify} messages.
|
15203 | * @param message UInt32Value message or plain object to encode
|
15204 | * @param [writer] Writer to encode to
|
15205 | * @returns Writer
|
15206 | */
|
15207 | public static encodeDelimited(message: google.protobuf.IUInt32Value, writer?: $protobuf.Writer): $protobuf.Writer;
|
15208 |
|
15209 | /**
|
15210 | * Decodes a UInt32Value message from the specified reader or buffer.
|
15211 | * @param reader Reader or buffer to decode from
|
15212 | * @param [length] Message length if known beforehand
|
15213 | * @returns UInt32Value
|
15214 | * @throws {Error} If the payload is not a reader or valid buffer
|
15215 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15216 | */
|
15217 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UInt32Value;
|
15218 |
|
15219 | /**
|
15220 | * Decodes a UInt32Value message from the specified reader or buffer, length delimited.
|
15221 | * @param reader Reader or buffer to decode from
|
15222 | * @returns UInt32Value
|
15223 | * @throws {Error} If the payload is not a reader or valid buffer
|
15224 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15225 | */
|
15226 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UInt32Value;
|
15227 |
|
15228 | /**
|
15229 | * Verifies a UInt32Value message.
|
15230 | * @param message Plain object to verify
|
15231 | * @returns `null` if valid, otherwise the reason why it is not
|
15232 | */
|
15233 | public static verify(message: { [k: string]: any }): (string|null);
|
15234 |
|
15235 | /**
|
15236 | * Creates a UInt32Value message from a plain object. Also converts values to their respective internal types.
|
15237 | * @param object Plain object
|
15238 | * @returns UInt32Value
|
15239 | */
|
15240 | public static fromObject(object: { [k: string]: any }): google.protobuf.UInt32Value;
|
15241 |
|
15242 | /**
|
15243 | * Creates a plain object from a UInt32Value message. Also converts values to other types if specified.
|
15244 | * @param message UInt32Value
|
15245 | * @param [options] Conversion options
|
15246 | * @returns Plain object
|
15247 | */
|
15248 | public static toObject(message: google.protobuf.UInt32Value, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15249 |
|
15250 | /**
|
15251 | * Converts this UInt32Value to JSON.
|
15252 | * @returns JSON object
|
15253 | */
|
15254 | public toJSON(): { [k: string]: any };
|
15255 |
|
15256 | /**
|
15257 | * Gets the default type url for UInt32Value
|
15258 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
15259 | * @returns The default type url
|
15260 | */
|
15261 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
15262 | }
|
15263 |
|
15264 | /** Properties of a BoolValue. */
|
15265 | interface IBoolValue {
|
15266 |
|
15267 | /** BoolValue value */
|
15268 | value?: (boolean|null);
|
15269 | }
|
15270 |
|
15271 | /** Represents a BoolValue. */
|
15272 | class BoolValue implements IBoolValue {
|
15273 |
|
15274 | /**
|
15275 | * Constructs a new BoolValue.
|
15276 | * @param [properties] Properties to set
|
15277 | */
|
15278 | constructor(properties?: google.protobuf.IBoolValue);
|
15279 |
|
15280 | /** BoolValue value. */
|
15281 | public value: boolean;
|
15282 |
|
15283 | /**
|
15284 | * Creates a new BoolValue instance using the specified properties.
|
15285 | * @param [properties] Properties to set
|
15286 | * @returns BoolValue instance
|
15287 | */
|
15288 | public static create(properties?: google.protobuf.IBoolValue): google.protobuf.BoolValue;
|
15289 |
|
15290 | /**
|
15291 | * Encodes the specified BoolValue message. Does not implicitly { google.protobuf.BoolValue.verify|verify} messages.
|
15292 | * message BoolValue message or plain object to encode
|
15293 | * [writer] Writer to encode to
|
15294 | * Writer
|
15295 | */
|
15296 | public static encode(message: google.protobuf.IBoolValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
15297 |
|
15298 | /**
|
15299 | * Encodes the specified BoolValue message, length delimited. Does not implicitly {@link google.protobuf.BoolValue.verify|verify} messages.
|
15300 | * @param message BoolValue message or plain object to encode
|
15301 | * @param [writer] Writer to encode to
|
15302 | * @returns Writer
|
15303 | */
|
15304 | public static encodeDelimited(message: google.protobuf.IBoolValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
15305 |
|
15306 | /**
|
15307 | * Decodes a BoolValue message from the specified reader or buffer.
|
15308 | * @param reader Reader or buffer to decode from
|
15309 | * @param [length] Message length if known beforehand
|
15310 | * @returns BoolValue
|
15311 | * @throws {Error} If the payload is not a reader or valid buffer
|
15312 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15313 | */
|
15314 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.BoolValue;
|
15315 |
|
15316 | /**
|
15317 | * Decodes a BoolValue message from the specified reader or buffer, length delimited.
|
15318 | * @param reader Reader or buffer to decode from
|
15319 | * @returns BoolValue
|
15320 | * @throws {Error} If the payload is not a reader or valid buffer
|
15321 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15322 | */
|
15323 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.BoolValue;
|
15324 |
|
15325 | /**
|
15326 | * Verifies a BoolValue message.
|
15327 | * @param message Plain object to verify
|
15328 | * @returns `null` if valid, otherwise the reason why it is not
|
15329 | */
|
15330 | public static verify(message: { [k: string]: any }): (string|null);
|
15331 |
|
15332 | /**
|
15333 | * Creates a BoolValue message from a plain object. Also converts values to their respective internal types.
|
15334 | * @param object Plain object
|
15335 | * @returns BoolValue
|
15336 | */
|
15337 | public static fromObject(object: { [k: string]: any }): google.protobuf.BoolValue;
|
15338 |
|
15339 | /**
|
15340 | * Creates a plain object from a BoolValue message. Also converts values to other types if specified.
|
15341 | * @param message BoolValue
|
15342 | * @param [options] Conversion options
|
15343 | * @returns Plain object
|
15344 | */
|
15345 | public static toObject(message: google.protobuf.BoolValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15346 |
|
15347 | /**
|
15348 | * Converts this BoolValue to JSON.
|
15349 | * @returns JSON object
|
15350 | */
|
15351 | public toJSON(): { [k: string]: any };
|
15352 |
|
15353 | /**
|
15354 | * Gets the default type url for BoolValue
|
15355 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
15356 | * @returns The default type url
|
15357 | */
|
15358 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
15359 | }
|
15360 |
|
15361 | /** Properties of a StringValue. */
|
15362 | interface IStringValue {
|
15363 |
|
15364 | /** StringValue value */
|
15365 | value?: (string|null);
|
15366 | }
|
15367 |
|
15368 | /** Represents a StringValue. */
|
15369 | class StringValue implements IStringValue {
|
15370 |
|
15371 | /**
|
15372 | * Constructs a new StringValue.
|
15373 | * @param [properties] Properties to set
|
15374 | */
|
15375 | constructor(properties?: google.protobuf.IStringValue);
|
15376 |
|
15377 | /** StringValue value. */
|
15378 | public value: string;
|
15379 |
|
15380 | /**
|
15381 | * Creates a new StringValue instance using the specified properties.
|
15382 | * @param [properties] Properties to set
|
15383 | * @returns StringValue instance
|
15384 | */
|
15385 | public static create(properties?: google.protobuf.IStringValue): google.protobuf.StringValue;
|
15386 |
|
15387 | /**
|
15388 | * Encodes the specified StringValue message. Does not implicitly { google.protobuf.StringValue.verify|verify} messages.
|
15389 | * message StringValue message or plain object to encode
|
15390 | * [writer] Writer to encode to
|
15391 | * Writer
|
15392 | */
|
15393 | public static encode(message: google.protobuf.IStringValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
15394 |
|
15395 | /**
|
15396 | * Encodes the specified StringValue message, length delimited. Does not implicitly {@link google.protobuf.StringValue.verify|verify} messages.
|
15397 | * @param message StringValue message or plain object to encode
|
15398 | * @param [writer] Writer to encode to
|
15399 | * @returns Writer
|
15400 | */
|
15401 | public static encodeDelimited(message: google.protobuf.IStringValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
15402 |
|
15403 | /**
|
15404 | * Decodes a StringValue message from the specified reader or buffer.
|
15405 | * @param reader Reader or buffer to decode from
|
15406 | * @param [length] Message length if known beforehand
|
15407 | * @returns StringValue
|
15408 | * @throws {Error} If the payload is not a reader or valid buffer
|
15409 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15410 | */
|
15411 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.StringValue;
|
15412 |
|
15413 | /**
|
15414 | * Decodes a StringValue message from the specified reader or buffer, length delimited.
|
15415 | * @param reader Reader or buffer to decode from
|
15416 | * @returns StringValue
|
15417 | * @throws {Error} If the payload is not a reader or valid buffer
|
15418 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15419 | */
|
15420 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.StringValue;
|
15421 |
|
15422 | /**
|
15423 | * Verifies a StringValue message.
|
15424 | * @param message Plain object to verify
|
15425 | * @returns `null` if valid, otherwise the reason why it is not
|
15426 | */
|
15427 | public static verify(message: { [k: string]: any }): (string|null);
|
15428 |
|
15429 | /**
|
15430 | * Creates a StringValue message from a plain object. Also converts values to their respective internal types.
|
15431 | * @param object Plain object
|
15432 | * @returns StringValue
|
15433 | */
|
15434 | public static fromObject(object: { [k: string]: any }): google.protobuf.StringValue;
|
15435 |
|
15436 | /**
|
15437 | * Creates a plain object from a StringValue message. Also converts values to other types if specified.
|
15438 | * @param message StringValue
|
15439 | * @param [options] Conversion options
|
15440 | * @returns Plain object
|
15441 | */
|
15442 | public static toObject(message: google.protobuf.StringValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15443 |
|
15444 | /**
|
15445 | * Converts this StringValue to JSON.
|
15446 | * @returns JSON object
|
15447 | */
|
15448 | public toJSON(): { [k: string]: any };
|
15449 |
|
15450 | /**
|
15451 | * Gets the default type url for StringValue
|
15452 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
15453 | * @returns The default type url
|
15454 | */
|
15455 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
15456 | }
|
15457 |
|
15458 | /** Properties of a BytesValue. */
|
15459 | interface IBytesValue {
|
15460 |
|
15461 | /** BytesValue value */
|
15462 | value?: (Uint8Array|string|null);
|
15463 | }
|
15464 |
|
15465 | /** Represents a BytesValue. */
|
15466 | class BytesValue implements IBytesValue {
|
15467 |
|
15468 | /**
|
15469 | * Constructs a new BytesValue.
|
15470 | * @param [properties] Properties to set
|
15471 | */
|
15472 | constructor(properties?: google.protobuf.IBytesValue);
|
15473 |
|
15474 | /** BytesValue value. */
|
15475 | public value: (Uint8Array|string);
|
15476 |
|
15477 | /**
|
15478 | * Creates a new BytesValue instance using the specified properties.
|
15479 | * @param [properties] Properties to set
|
15480 | * @returns BytesValue instance
|
15481 | */
|
15482 | public static create(properties?: google.protobuf.IBytesValue): google.protobuf.BytesValue;
|
15483 |
|
15484 | /**
|
15485 | * Encodes the specified BytesValue message. Does not implicitly { google.protobuf.BytesValue.verify|verify} messages.
|
15486 | * message BytesValue message or plain object to encode
|
15487 | * [writer] Writer to encode to
|
15488 | * Writer
|
15489 | */
|
15490 | public static encode(message: google.protobuf.IBytesValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
15491 |
|
15492 | /**
|
15493 | * Encodes the specified BytesValue message, length delimited. Does not implicitly {@link google.protobuf.BytesValue.verify|verify} messages.
|
15494 | * @param message BytesValue message or plain object to encode
|
15495 | * @param [writer] Writer to encode to
|
15496 | * @returns Writer
|
15497 | */
|
15498 | public static encodeDelimited(message: google.protobuf.IBytesValue, writer?: $protobuf.Writer): $protobuf.Writer;
|
15499 |
|
15500 | /**
|
15501 | * Decodes a BytesValue message from the specified reader or buffer.
|
15502 | * @param reader Reader or buffer to decode from
|
15503 | * @param [length] Message length if known beforehand
|
15504 | * @returns BytesValue
|
15505 | * @throws {Error} If the payload is not a reader or valid buffer
|
15506 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15507 | */
|
15508 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.BytesValue;
|
15509 |
|
15510 | /**
|
15511 | * Decodes a BytesValue message from the specified reader or buffer, length delimited.
|
15512 | * @param reader Reader or buffer to decode from
|
15513 | * @returns BytesValue
|
15514 | * @throws {Error} If the payload is not a reader or valid buffer
|
15515 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15516 | */
|
15517 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.BytesValue;
|
15518 |
|
15519 | /**
|
15520 | * Verifies a BytesValue message.
|
15521 | * @param message Plain object to verify
|
15522 | * @returns `null` if valid, otherwise the reason why it is not
|
15523 | */
|
15524 | public static verify(message: { [k: string]: any }): (string|null);
|
15525 |
|
15526 | /**
|
15527 | * Creates a BytesValue message from a plain object. Also converts values to their respective internal types.
|
15528 | * @param object Plain object
|
15529 | * @returns BytesValue
|
15530 | */
|
15531 | public static fromObject(object: { [k: string]: any }): google.protobuf.BytesValue;
|
15532 |
|
15533 | /**
|
15534 | * Creates a plain object from a BytesValue message. Also converts values to other types if specified.
|
15535 | * @param message BytesValue
|
15536 | * @param [options] Conversion options
|
15537 | * @returns Plain object
|
15538 | */
|
15539 | public static toObject(message: google.protobuf.BytesValue, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15540 |
|
15541 | /**
|
15542 | * Converts this BytesValue to JSON.
|
15543 | * @returns JSON object
|
15544 | */
|
15545 | public toJSON(): { [k: string]: any };
|
15546 |
|
15547 | /**
|
15548 | * Gets the default type url for BytesValue
|
15549 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
15550 | * @returns The default type url
|
15551 | */
|
15552 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
15553 | }
|
15554 | }
|
15555 |
|
15556 | /** Namespace longrunning. */
|
15557 | namespace longrunning {
|
15558 |
|
15559 | /** Represents an Operations */
|
15560 | class Operations extends $protobuf.rpc.Service {
|
15561 |
|
15562 | /**
|
15563 | * Constructs a new Operations service.
|
15564 | * @param rpcImpl RPC implementation
|
15565 | * @param [requestDelimited=false] Whether requests are length-delimited
|
15566 | * @param [responseDelimited=false] Whether responses are length-delimited
|
15567 | */
|
15568 | constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);
|
15569 |
|
15570 | /**
|
15571 | * Creates new Operations service using the specified rpc implementation.
|
15572 | * @param rpcImpl RPC implementation
|
15573 | * @param [requestDelimited=false] Whether requests are length-delimited
|
15574 | * @param [responseDelimited=false] Whether responses are length-delimited
|
15575 | * @returns RPC service. Useful where requests and/or responses are streamed.
|
15576 | */
|
15577 | public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Operations;
|
15578 |
|
15579 | /**
|
15580 | * Calls ListOperations.
|
15581 | * @param request ListOperationsRequest message or plain object
|
15582 | * @param callback Node-style callback called with the error, if any, and ListOperationsResponse
|
15583 | */
|
15584 | public listOperations(request: google.longrunning.IListOperationsRequest, callback: google.longrunning.Operations.ListOperationsCallback): void;
|
15585 |
|
15586 | /**
|
15587 | * Calls ListOperations.
|
15588 | * @param request ListOperationsRequest message or plain object
|
15589 | * @returns Promise
|
15590 | */
|
15591 | public listOperations(request: google.longrunning.IListOperationsRequest): Promise<google.longrunning.ListOperationsResponse>;
|
15592 |
|
15593 | /**
|
15594 | * Calls GetOperation.
|
15595 | * @param request GetOperationRequest message or plain object
|
15596 | * @param callback Node-style callback called with the error, if any, and Operation
|
15597 | */
|
15598 | public getOperation(request: google.longrunning.IGetOperationRequest, callback: google.longrunning.Operations.GetOperationCallback): void;
|
15599 |
|
15600 | /**
|
15601 | * Calls GetOperation.
|
15602 | * @param request GetOperationRequest message or plain object
|
15603 | * @returns Promise
|
15604 | */
|
15605 | public getOperation(request: google.longrunning.IGetOperationRequest): Promise<google.longrunning.Operation>;
|
15606 |
|
15607 | /**
|
15608 | * Calls DeleteOperation.
|
15609 | * @param request DeleteOperationRequest message or plain object
|
15610 | * @param callback Node-style callback called with the error, if any, and Empty
|
15611 | */
|
15612 | public deleteOperation(request: google.longrunning.IDeleteOperationRequest, callback: google.longrunning.Operations.DeleteOperationCallback): void;
|
15613 |
|
15614 | /**
|
15615 | * Calls DeleteOperation.
|
15616 | * @param request DeleteOperationRequest message or plain object
|
15617 | * @returns Promise
|
15618 | */
|
15619 | public deleteOperation(request: google.longrunning.IDeleteOperationRequest): Promise<google.protobuf.Empty>;
|
15620 |
|
15621 | /**
|
15622 | * Calls CancelOperation.
|
15623 | * @param request CancelOperationRequest message or plain object
|
15624 | * @param callback Node-style callback called with the error, if any, and Empty
|
15625 | */
|
15626 | public cancelOperation(request: google.longrunning.ICancelOperationRequest, callback: google.longrunning.Operations.CancelOperationCallback): void;
|
15627 |
|
15628 | /**
|
15629 | * Calls CancelOperation.
|
15630 | * @param request CancelOperationRequest message or plain object
|
15631 | * @returns Promise
|
15632 | */
|
15633 | public cancelOperation(request: google.longrunning.ICancelOperationRequest): Promise<google.protobuf.Empty>;
|
15634 |
|
15635 | /**
|
15636 | * Calls WaitOperation.
|
15637 | * @param request WaitOperationRequest message or plain object
|
15638 | * @param callback Node-style callback called with the error, if any, and Operation
|
15639 | */
|
15640 | public waitOperation(request: google.longrunning.IWaitOperationRequest, callback: google.longrunning.Operations.WaitOperationCallback): void;
|
15641 |
|
15642 | /**
|
15643 | * Calls WaitOperation.
|
15644 | * @param request WaitOperationRequest message or plain object
|
15645 | * @returns Promise
|
15646 | */
|
15647 | public waitOperation(request: google.longrunning.IWaitOperationRequest): Promise<google.longrunning.Operation>;
|
15648 | }
|
15649 |
|
15650 | namespace Operations {
|
15651 |
|
15652 | /**
|
15653 | * Callback as used by {@link google.longrunning.Operations|listOperations}.
|
15654 | * @param error Error, if any
|
15655 | * @param [response] ListOperationsResponse
|
15656 | */
|
15657 | type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
|
15658 |
|
15659 | /**
|
15660 | * Callback as used by {@link google.longrunning.Operations|getOperation}.
|
15661 | * @param error Error, if any
|
15662 | * @param [response] Operation
|
15663 | */
|
15664 | type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
15665 |
|
15666 | /**
|
15667 | * Callback as used by {@link google.longrunning.Operations|deleteOperation}.
|
15668 | * @param error Error, if any
|
15669 | * @param [response] Empty
|
15670 | */
|
15671 | type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
15672 |
|
15673 | /**
|
15674 | * Callback as used by {@link google.longrunning.Operations|cancelOperation}.
|
15675 | * @param error Error, if any
|
15676 | * @param [response] Empty
|
15677 | */
|
15678 | type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
15679 |
|
15680 | /**
|
15681 | * Callback as used by {@link google.longrunning.Operations|waitOperation}.
|
15682 | * @param error Error, if any
|
15683 | * @param [response] Operation
|
15684 | */
|
15685 | type WaitOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
15686 | }
|
15687 |
|
15688 | /** Properties of an Operation. */
|
15689 | interface IOperation {
|
15690 |
|
15691 | /** Operation name */
|
15692 | name?: (string|null);
|
15693 |
|
15694 | /** Operation metadata */
|
15695 | metadata?: (google.protobuf.IAny|null);
|
15696 |
|
15697 | /** Operation done */
|
15698 | done?: (boolean|null);
|
15699 |
|
15700 | /** Operation error */
|
15701 | error?: (google.rpc.IStatus|null);
|
15702 |
|
15703 | /** Operation response */
|
15704 | response?: (google.protobuf.IAny|null);
|
15705 | }
|
15706 |
|
15707 | /** Represents an Operation. */
|
15708 | class Operation implements IOperation {
|
15709 |
|
15710 | /**
|
15711 | * Constructs a new Operation.
|
15712 | * @param [properties] Properties to set
|
15713 | */
|
15714 | constructor(properties?: google.longrunning.IOperation);
|
15715 |
|
15716 | /** Operation name. */
|
15717 | public name: string;
|
15718 |
|
15719 | /** Operation metadata. */
|
15720 | public metadata?: (google.protobuf.IAny|null);
|
15721 |
|
15722 | /** Operation done. */
|
15723 | public done: boolean;
|
15724 |
|
15725 | /** Operation error. */
|
15726 | public error?: (google.rpc.IStatus|null);
|
15727 |
|
15728 | /** Operation response. */
|
15729 | public response?: (google.protobuf.IAny|null);
|
15730 |
|
15731 | /** Operation result. */
|
15732 | public result?: ("error"|"response");
|
15733 |
|
15734 | /**
|
15735 | * Creates a new Operation instance using the specified properties.
|
15736 | * @param [properties] Properties to set
|
15737 | * @returns Operation instance
|
15738 | */
|
15739 | public static create(properties?: google.longrunning.IOperation): google.longrunning.Operation;
|
15740 |
|
15741 | /**
|
15742 | * Encodes the specified Operation message. Does not implicitly { google.longrunning.Operation.verify|verify} messages.
|
15743 | * message Operation message or plain object to encode
|
15744 | * [writer] Writer to encode to
|
15745 | * Writer
|
15746 | */
|
15747 | public static encode(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
15748 |
|
15749 | /**
|
15750 | * Encodes the specified Operation message, length delimited. Does not implicitly {@link google.longrunning.Operation.verify|verify} messages.
|
15751 | * @param message Operation message or plain object to encode
|
15752 | * @param [writer] Writer to encode to
|
15753 | * @returns Writer
|
15754 | */
|
15755 | public static encodeDelimited(message: google.longrunning.IOperation, writer?: $protobuf.Writer): $protobuf.Writer;
|
15756 |
|
15757 | /**
|
15758 | * Decodes an Operation message from the specified reader or buffer.
|
15759 | * @param reader Reader or buffer to decode from
|
15760 | * @param [length] Message length if known beforehand
|
15761 | * @returns Operation
|
15762 | * @throws {Error} If the payload is not a reader or valid buffer
|
15763 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15764 | */
|
15765 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.Operation;
|
15766 |
|
15767 | /**
|
15768 | * Decodes an Operation message from the specified reader or buffer, length delimited.
|
15769 | * @param reader Reader or buffer to decode from
|
15770 | * @returns Operation
|
15771 | * @throws {Error} If the payload is not a reader or valid buffer
|
15772 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15773 | */
|
15774 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.Operation;
|
15775 |
|
15776 | /**
|
15777 | * Verifies an Operation message.
|
15778 | * @param message Plain object to verify
|
15779 | * @returns `null` if valid, otherwise the reason why it is not
|
15780 | */
|
15781 | public static verify(message: { [k: string]: any }): (string|null);
|
15782 |
|
15783 | /**
|
15784 | * Creates an Operation message from a plain object. Also converts values to their respective internal types.
|
15785 | * @param object Plain object
|
15786 | * @returns Operation
|
15787 | */
|
15788 | public static fromObject(object: { [k: string]: any }): google.longrunning.Operation;
|
15789 |
|
15790 | /**
|
15791 | * Creates a plain object from an Operation message. Also converts values to other types if specified.
|
15792 | * @param message Operation
|
15793 | * @param [options] Conversion options
|
15794 | * @returns Plain object
|
15795 | */
|
15796 | public static toObject(message: google.longrunning.Operation, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15797 |
|
15798 | /**
|
15799 | * Converts this Operation to JSON.
|
15800 | * @returns JSON object
|
15801 | */
|
15802 | public toJSON(): { [k: string]: any };
|
15803 |
|
15804 | /**
|
15805 | * Gets the default type url for Operation
|
15806 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
15807 | * @returns The default type url
|
15808 | */
|
15809 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
15810 | }
|
15811 |
|
15812 | /** Properties of a GetOperationRequest. */
|
15813 | interface IGetOperationRequest {
|
15814 |
|
15815 | /** GetOperationRequest name */
|
15816 | name?: (string|null);
|
15817 | }
|
15818 |
|
15819 | /** Represents a GetOperationRequest. */
|
15820 | class GetOperationRequest implements IGetOperationRequest {
|
15821 |
|
15822 | /**
|
15823 | * Constructs a new GetOperationRequest.
|
15824 | * @param [properties] Properties to set
|
15825 | */
|
15826 | constructor(properties?: google.longrunning.IGetOperationRequest);
|
15827 |
|
15828 | /** GetOperationRequest name. */
|
15829 | public name: string;
|
15830 |
|
15831 | /**
|
15832 | * Creates a new GetOperationRequest instance using the specified properties.
|
15833 | * @param [properties] Properties to set
|
15834 | * @returns GetOperationRequest instance
|
15835 | */
|
15836 | public static create(properties?: google.longrunning.IGetOperationRequest): google.longrunning.GetOperationRequest;
|
15837 |
|
15838 | /**
|
15839 | * Encodes the specified GetOperationRequest message. Does not implicitly { google.longrunning.GetOperationRequest.verify|verify} messages.
|
15840 | * message GetOperationRequest message or plain object to encode
|
15841 | * [writer] Writer to encode to
|
15842 | * Writer
|
15843 | */
|
15844 | public static encode(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
15845 |
|
15846 | /**
|
15847 | * Encodes the specified GetOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.GetOperationRequest.verify|verify} messages.
|
15848 | * @param message GetOperationRequest message or plain object to encode
|
15849 | * @param [writer] Writer to encode to
|
15850 | * @returns Writer
|
15851 | */
|
15852 | public static encodeDelimited(message: google.longrunning.IGetOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
15853 |
|
15854 | /**
|
15855 | * Decodes a GetOperationRequest message from the specified reader or buffer.
|
15856 | * @param reader Reader or buffer to decode from
|
15857 | * @param [length] Message length if known beforehand
|
15858 | * @returns GetOperationRequest
|
15859 | * @throws {Error} If the payload is not a reader or valid buffer
|
15860 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15861 | */
|
15862 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.GetOperationRequest;
|
15863 |
|
15864 | /**
|
15865 | * Decodes a GetOperationRequest message from the specified reader or buffer, length delimited.
|
15866 | * @param reader Reader or buffer to decode from
|
15867 | * @returns GetOperationRequest
|
15868 | * @throws {Error} If the payload is not a reader or valid buffer
|
15869 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15870 | */
|
15871 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.GetOperationRequest;
|
15872 |
|
15873 | /**
|
15874 | * Verifies a GetOperationRequest message.
|
15875 | * @param message Plain object to verify
|
15876 | * @returns `null` if valid, otherwise the reason why it is not
|
15877 | */
|
15878 | public static verify(message: { [k: string]: any }): (string|null);
|
15879 |
|
15880 | /**
|
15881 | * Creates a GetOperationRequest message from a plain object. Also converts values to their respective internal types.
|
15882 | * @param object Plain object
|
15883 | * @returns GetOperationRequest
|
15884 | */
|
15885 | public static fromObject(object: { [k: string]: any }): google.longrunning.GetOperationRequest;
|
15886 |
|
15887 | /**
|
15888 | * Creates a plain object from a GetOperationRequest message. Also converts values to other types if specified.
|
15889 | * @param message GetOperationRequest
|
15890 | * @param [options] Conversion options
|
15891 | * @returns Plain object
|
15892 | */
|
15893 | public static toObject(message: google.longrunning.GetOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
15894 |
|
15895 | /**
|
15896 | * Converts this GetOperationRequest to JSON.
|
15897 | * @returns JSON object
|
15898 | */
|
15899 | public toJSON(): { [k: string]: any };
|
15900 |
|
15901 | /**
|
15902 | * Gets the default type url for GetOperationRequest
|
15903 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
15904 | * @returns The default type url
|
15905 | */
|
15906 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
15907 | }
|
15908 |
|
15909 | /** Properties of a ListOperationsRequest. */
|
15910 | interface IListOperationsRequest {
|
15911 |
|
15912 | /** ListOperationsRequest name */
|
15913 | name?: (string|null);
|
15914 |
|
15915 | /** ListOperationsRequest filter */
|
15916 | filter?: (string|null);
|
15917 |
|
15918 | /** ListOperationsRequest pageSize */
|
15919 | pageSize?: (number|null);
|
15920 |
|
15921 | /** ListOperationsRequest pageToken */
|
15922 | pageToken?: (string|null);
|
15923 | }
|
15924 |
|
15925 | /** Represents a ListOperationsRequest. */
|
15926 | class ListOperationsRequest implements IListOperationsRequest {
|
15927 |
|
15928 | /**
|
15929 | * Constructs a new ListOperationsRequest.
|
15930 | * @param [properties] Properties to set
|
15931 | */
|
15932 | constructor(properties?: google.longrunning.IListOperationsRequest);
|
15933 |
|
15934 | /** ListOperationsRequest name. */
|
15935 | public name: string;
|
15936 |
|
15937 | /** ListOperationsRequest filter. */
|
15938 | public filter: string;
|
15939 |
|
15940 | /** ListOperationsRequest pageSize. */
|
15941 | public pageSize: number;
|
15942 |
|
15943 | /** ListOperationsRequest pageToken. */
|
15944 | public pageToken: string;
|
15945 |
|
15946 | /**
|
15947 | * Creates a new ListOperationsRequest instance using the specified properties.
|
15948 | * @param [properties] Properties to set
|
15949 | * @returns ListOperationsRequest instance
|
15950 | */
|
15951 | public static create(properties?: google.longrunning.IListOperationsRequest): google.longrunning.ListOperationsRequest;
|
15952 |
|
15953 | /**
|
15954 | * Encodes the specified ListOperationsRequest message. Does not implicitly { google.longrunning.ListOperationsRequest.verify|verify} messages.
|
15955 | * message ListOperationsRequest message or plain object to encode
|
15956 | * [writer] Writer to encode to
|
15957 | * Writer
|
15958 | */
|
15959 | public static encode(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
15960 |
|
15961 | /**
|
15962 | * Encodes the specified ListOperationsRequest message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsRequest.verify|verify} messages.
|
15963 | * @param message ListOperationsRequest message or plain object to encode
|
15964 | * @param [writer] Writer to encode to
|
15965 | * @returns Writer
|
15966 | */
|
15967 | public static encodeDelimited(message: google.longrunning.IListOperationsRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
15968 |
|
15969 | /**
|
15970 | * Decodes a ListOperationsRequest message from the specified reader or buffer.
|
15971 | * @param reader Reader or buffer to decode from
|
15972 | * @param [length] Message length if known beforehand
|
15973 | * @returns ListOperationsRequest
|
15974 | * @throws {Error} If the payload is not a reader or valid buffer
|
15975 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15976 | */
|
15977 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsRequest;
|
15978 |
|
15979 | /**
|
15980 | * Decodes a ListOperationsRequest message from the specified reader or buffer, length delimited.
|
15981 | * @param reader Reader or buffer to decode from
|
15982 | * @returns ListOperationsRequest
|
15983 | * @throws {Error} If the payload is not a reader or valid buffer
|
15984 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
15985 | */
|
15986 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsRequest;
|
15987 |
|
15988 | /**
|
15989 | * Verifies a ListOperationsRequest message.
|
15990 | * @param message Plain object to verify
|
15991 | * @returns `null` if valid, otherwise the reason why it is not
|
15992 | */
|
15993 | public static verify(message: { [k: string]: any }): (string|null);
|
15994 |
|
15995 | /**
|
15996 | * Creates a ListOperationsRequest message from a plain object. Also converts values to their respective internal types.
|
15997 | * @param object Plain object
|
15998 | * @returns ListOperationsRequest
|
15999 | */
|
16000 | public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsRequest;
|
16001 |
|
16002 | /**
|
16003 | * Creates a plain object from a ListOperationsRequest message. Also converts values to other types if specified.
|
16004 | * @param message ListOperationsRequest
|
16005 | * @param [options] Conversion options
|
16006 | * @returns Plain object
|
16007 | */
|
16008 | public static toObject(message: google.longrunning.ListOperationsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16009 |
|
16010 | /**
|
16011 | * Converts this ListOperationsRequest to JSON.
|
16012 | * @returns JSON object
|
16013 | */
|
16014 | public toJSON(): { [k: string]: any };
|
16015 |
|
16016 | /**
|
16017 | * Gets the default type url for ListOperationsRequest
|
16018 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
16019 | * @returns The default type url
|
16020 | */
|
16021 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
16022 | }
|
16023 |
|
16024 | /** Properties of a ListOperationsResponse. */
|
16025 | interface IListOperationsResponse {
|
16026 |
|
16027 | /** ListOperationsResponse operations */
|
16028 | operations?: (google.longrunning.IOperation[]|null);
|
16029 |
|
16030 | /** ListOperationsResponse nextPageToken */
|
16031 | nextPageToken?: (string|null);
|
16032 | }
|
16033 |
|
16034 | /** Represents a ListOperationsResponse. */
|
16035 | class ListOperationsResponse implements IListOperationsResponse {
|
16036 |
|
16037 | /**
|
16038 | * Constructs a new ListOperationsResponse.
|
16039 | * @param [properties] Properties to set
|
16040 | */
|
16041 | constructor(properties?: google.longrunning.IListOperationsResponse);
|
16042 |
|
16043 | /** ListOperationsResponse operations. */
|
16044 | public operations: google.longrunning.IOperation[];
|
16045 |
|
16046 | /** ListOperationsResponse nextPageToken. */
|
16047 | public nextPageToken: string;
|
16048 |
|
16049 | /**
|
16050 | * Creates a new ListOperationsResponse instance using the specified properties.
|
16051 | * @param [properties] Properties to set
|
16052 | * @returns ListOperationsResponse instance
|
16053 | */
|
16054 | public static create(properties?: google.longrunning.IListOperationsResponse): google.longrunning.ListOperationsResponse;
|
16055 |
|
16056 | /**
|
16057 | * Encodes the specified ListOperationsResponse message. Does not implicitly { google.longrunning.ListOperationsResponse.verify|verify} messages.
|
16058 | * message ListOperationsResponse message or plain object to encode
|
16059 | * [writer] Writer to encode to
|
16060 | * Writer
|
16061 | */
|
16062 | public static encode(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
16063 |
|
16064 | /**
|
16065 | * Encodes the specified ListOperationsResponse message, length delimited. Does not implicitly {@link google.longrunning.ListOperationsResponse.verify|verify} messages.
|
16066 | * @param message ListOperationsResponse message or plain object to encode
|
16067 | * @param [writer] Writer to encode to
|
16068 | * @returns Writer
|
16069 | */
|
16070 | public static encodeDelimited(message: google.longrunning.IListOperationsResponse, writer?: $protobuf.Writer): $protobuf.Writer;
|
16071 |
|
16072 | /**
|
16073 | * Decodes a ListOperationsResponse message from the specified reader or buffer.
|
16074 | * @param reader Reader or buffer to decode from
|
16075 | * @param [length] Message length if known beforehand
|
16076 | * @returns ListOperationsResponse
|
16077 | * @throws {Error} If the payload is not a reader or valid buffer
|
16078 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16079 | */
|
16080 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.ListOperationsResponse;
|
16081 |
|
16082 | /**
|
16083 | * Decodes a ListOperationsResponse message from the specified reader or buffer, length delimited.
|
16084 | * @param reader Reader or buffer to decode from
|
16085 | * @returns ListOperationsResponse
|
16086 | * @throws {Error} If the payload is not a reader or valid buffer
|
16087 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16088 | */
|
16089 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.ListOperationsResponse;
|
16090 |
|
16091 | /**
|
16092 | * Verifies a ListOperationsResponse message.
|
16093 | * @param message Plain object to verify
|
16094 | * @returns `null` if valid, otherwise the reason why it is not
|
16095 | */
|
16096 | public static verify(message: { [k: string]: any }): (string|null);
|
16097 |
|
16098 | /**
|
16099 | * Creates a ListOperationsResponse message from a plain object. Also converts values to their respective internal types.
|
16100 | * @param object Plain object
|
16101 | * @returns ListOperationsResponse
|
16102 | */
|
16103 | public static fromObject(object: { [k: string]: any }): google.longrunning.ListOperationsResponse;
|
16104 |
|
16105 | /**
|
16106 | * Creates a plain object from a ListOperationsResponse message. Also converts values to other types if specified.
|
16107 | * @param message ListOperationsResponse
|
16108 | * @param [options] Conversion options
|
16109 | * @returns Plain object
|
16110 | */
|
16111 | public static toObject(message: google.longrunning.ListOperationsResponse, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16112 |
|
16113 | /**
|
16114 | * Converts this ListOperationsResponse to JSON.
|
16115 | * @returns JSON object
|
16116 | */
|
16117 | public toJSON(): { [k: string]: any };
|
16118 |
|
16119 | /**
|
16120 | * Gets the default type url for ListOperationsResponse
|
16121 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
16122 | * @returns The default type url
|
16123 | */
|
16124 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
16125 | }
|
16126 |
|
16127 | /** Properties of a CancelOperationRequest. */
|
16128 | interface ICancelOperationRequest {
|
16129 |
|
16130 | /** CancelOperationRequest name */
|
16131 | name?: (string|null);
|
16132 | }
|
16133 |
|
16134 | /** Represents a CancelOperationRequest. */
|
16135 | class CancelOperationRequest implements ICancelOperationRequest {
|
16136 |
|
16137 | /**
|
16138 | * Constructs a new CancelOperationRequest.
|
16139 | * @param [properties] Properties to set
|
16140 | */
|
16141 | constructor(properties?: google.longrunning.ICancelOperationRequest);
|
16142 |
|
16143 | /** CancelOperationRequest name. */
|
16144 | public name: string;
|
16145 |
|
16146 | /**
|
16147 | * Creates a new CancelOperationRequest instance using the specified properties.
|
16148 | * @param [properties] Properties to set
|
16149 | * @returns CancelOperationRequest instance
|
16150 | */
|
16151 | public static create(properties?: google.longrunning.ICancelOperationRequest): google.longrunning.CancelOperationRequest;
|
16152 |
|
16153 | /**
|
16154 | * Encodes the specified CancelOperationRequest message. Does not implicitly { google.longrunning.CancelOperationRequest.verify|verify} messages.
|
16155 | * message CancelOperationRequest message or plain object to encode
|
16156 | * [writer] Writer to encode to
|
16157 | * Writer
|
16158 | */
|
16159 | public static encode(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
16160 |
|
16161 | /**
|
16162 | * Encodes the specified CancelOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.CancelOperationRequest.verify|verify} messages.
|
16163 | * @param message CancelOperationRequest message or plain object to encode
|
16164 | * @param [writer] Writer to encode to
|
16165 | * @returns Writer
|
16166 | */
|
16167 | public static encodeDelimited(message: google.longrunning.ICancelOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
16168 |
|
16169 | /**
|
16170 | * Decodes a CancelOperationRequest message from the specified reader or buffer.
|
16171 | * @param reader Reader or buffer to decode from
|
16172 | * @param [length] Message length if known beforehand
|
16173 | * @returns CancelOperationRequest
|
16174 | * @throws {Error} If the payload is not a reader or valid buffer
|
16175 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16176 | */
|
16177 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.CancelOperationRequest;
|
16178 |
|
16179 | /**
|
16180 | * Decodes a CancelOperationRequest message from the specified reader or buffer, length delimited.
|
16181 | * @param reader Reader or buffer to decode from
|
16182 | * @returns CancelOperationRequest
|
16183 | * @throws {Error} If the payload is not a reader or valid buffer
|
16184 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16185 | */
|
16186 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.CancelOperationRequest;
|
16187 |
|
16188 | /**
|
16189 | * Verifies a CancelOperationRequest message.
|
16190 | * @param message Plain object to verify
|
16191 | * @returns `null` if valid, otherwise the reason why it is not
|
16192 | */
|
16193 | public static verify(message: { [k: string]: any }): (string|null);
|
16194 |
|
16195 | /**
|
16196 | * Creates a CancelOperationRequest message from a plain object. Also converts values to their respective internal types.
|
16197 | * @param object Plain object
|
16198 | * @returns CancelOperationRequest
|
16199 | */
|
16200 | public static fromObject(object: { [k: string]: any }): google.longrunning.CancelOperationRequest;
|
16201 |
|
16202 | /**
|
16203 | * Creates a plain object from a CancelOperationRequest message. Also converts values to other types if specified.
|
16204 | * @param message CancelOperationRequest
|
16205 | * @param [options] Conversion options
|
16206 | * @returns Plain object
|
16207 | */
|
16208 | public static toObject(message: google.longrunning.CancelOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16209 |
|
16210 | /**
|
16211 | * Converts this CancelOperationRequest to JSON.
|
16212 | * @returns JSON object
|
16213 | */
|
16214 | public toJSON(): { [k: string]: any };
|
16215 |
|
16216 | /**
|
16217 | * Gets the default type url for CancelOperationRequest
|
16218 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
16219 | * @returns The default type url
|
16220 | */
|
16221 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
16222 | }
|
16223 |
|
16224 | /** Properties of a DeleteOperationRequest. */
|
16225 | interface IDeleteOperationRequest {
|
16226 |
|
16227 | /** DeleteOperationRequest name */
|
16228 | name?: (string|null);
|
16229 | }
|
16230 |
|
16231 | /** Represents a DeleteOperationRequest. */
|
16232 | class DeleteOperationRequest implements IDeleteOperationRequest {
|
16233 |
|
16234 | /**
|
16235 | * Constructs a new DeleteOperationRequest.
|
16236 | * @param [properties] Properties to set
|
16237 | */
|
16238 | constructor(properties?: google.longrunning.IDeleteOperationRequest);
|
16239 |
|
16240 | /** DeleteOperationRequest name. */
|
16241 | public name: string;
|
16242 |
|
16243 | /**
|
16244 | * Creates a new DeleteOperationRequest instance using the specified properties.
|
16245 | * @param [properties] Properties to set
|
16246 | * @returns DeleteOperationRequest instance
|
16247 | */
|
16248 | public static create(properties?: google.longrunning.IDeleteOperationRequest): google.longrunning.DeleteOperationRequest;
|
16249 |
|
16250 | /**
|
16251 | * Encodes the specified DeleteOperationRequest message. Does not implicitly { google.longrunning.DeleteOperationRequest.verify|verify} messages.
|
16252 | * message DeleteOperationRequest message or plain object to encode
|
16253 | * [writer] Writer to encode to
|
16254 | * Writer
|
16255 | */
|
16256 | public static encode(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
16257 |
|
16258 | /**
|
16259 | * Encodes the specified DeleteOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.DeleteOperationRequest.verify|verify} messages.
|
16260 | * @param message DeleteOperationRequest message or plain object to encode
|
16261 | * @param [writer] Writer to encode to
|
16262 | * @returns Writer
|
16263 | */
|
16264 | public static encodeDelimited(message: google.longrunning.IDeleteOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
16265 |
|
16266 | /**
|
16267 | * Decodes a DeleteOperationRequest message from the specified reader or buffer.
|
16268 | * @param reader Reader or buffer to decode from
|
16269 | * @param [length] Message length if known beforehand
|
16270 | * @returns DeleteOperationRequest
|
16271 | * @throws {Error} If the payload is not a reader or valid buffer
|
16272 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16273 | */
|
16274 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.DeleteOperationRequest;
|
16275 |
|
16276 | /**
|
16277 | * Decodes a DeleteOperationRequest message from the specified reader or buffer, length delimited.
|
16278 | * @param reader Reader or buffer to decode from
|
16279 | * @returns DeleteOperationRequest
|
16280 | * @throws {Error} If the payload is not a reader or valid buffer
|
16281 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16282 | */
|
16283 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.DeleteOperationRequest;
|
16284 |
|
16285 | /**
|
16286 | * Verifies a DeleteOperationRequest message.
|
16287 | * @param message Plain object to verify
|
16288 | * @returns `null` if valid, otherwise the reason why it is not
|
16289 | */
|
16290 | public static verify(message: { [k: string]: any }): (string|null);
|
16291 |
|
16292 | /**
|
16293 | * Creates a DeleteOperationRequest message from a plain object. Also converts values to their respective internal types.
|
16294 | * @param object Plain object
|
16295 | * @returns DeleteOperationRequest
|
16296 | */
|
16297 | public static fromObject(object: { [k: string]: any }): google.longrunning.DeleteOperationRequest;
|
16298 |
|
16299 | /**
|
16300 | * Creates a plain object from a DeleteOperationRequest message. Also converts values to other types if specified.
|
16301 | * @param message DeleteOperationRequest
|
16302 | * @param [options] Conversion options
|
16303 | * @returns Plain object
|
16304 | */
|
16305 | public static toObject(message: google.longrunning.DeleteOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16306 |
|
16307 | /**
|
16308 | * Converts this DeleteOperationRequest to JSON.
|
16309 | * @returns JSON object
|
16310 | */
|
16311 | public toJSON(): { [k: string]: any };
|
16312 |
|
16313 | /**
|
16314 | * Gets the default type url for DeleteOperationRequest
|
16315 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
16316 | * @returns The default type url
|
16317 | */
|
16318 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
16319 | }
|
16320 |
|
16321 | /** Properties of a WaitOperationRequest. */
|
16322 | interface IWaitOperationRequest {
|
16323 |
|
16324 | /** WaitOperationRequest name */
|
16325 | name?: (string|null);
|
16326 |
|
16327 | /** WaitOperationRequest timeout */
|
16328 | timeout?: (google.protobuf.IDuration|null);
|
16329 | }
|
16330 |
|
16331 | /** Represents a WaitOperationRequest. */
|
16332 | class WaitOperationRequest implements IWaitOperationRequest {
|
16333 |
|
16334 | /**
|
16335 | * Constructs a new WaitOperationRequest.
|
16336 | * @param [properties] Properties to set
|
16337 | */
|
16338 | constructor(properties?: google.longrunning.IWaitOperationRequest);
|
16339 |
|
16340 | /** WaitOperationRequest name. */
|
16341 | public name: string;
|
16342 |
|
16343 | /** WaitOperationRequest timeout. */
|
16344 | public timeout?: (google.protobuf.IDuration|null);
|
16345 |
|
16346 | /**
|
16347 | * Creates a new WaitOperationRequest instance using the specified properties.
|
16348 | * @param [properties] Properties to set
|
16349 | * @returns WaitOperationRequest instance
|
16350 | */
|
16351 | public static create(properties?: google.longrunning.IWaitOperationRequest): google.longrunning.WaitOperationRequest;
|
16352 |
|
16353 | /**
|
16354 | * Encodes the specified WaitOperationRequest message. Does not implicitly { google.longrunning.WaitOperationRequest.verify|verify} messages.
|
16355 | * message WaitOperationRequest message or plain object to encode
|
16356 | * [writer] Writer to encode to
|
16357 | * Writer
|
16358 | */
|
16359 | public static encode(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
16360 |
|
16361 | /**
|
16362 | * Encodes the specified WaitOperationRequest message, length delimited. Does not implicitly {@link google.longrunning.WaitOperationRequest.verify|verify} messages.
|
16363 | * @param message WaitOperationRequest message or plain object to encode
|
16364 | * @param [writer] Writer to encode to
|
16365 | * @returns Writer
|
16366 | */
|
16367 | public static encodeDelimited(message: google.longrunning.IWaitOperationRequest, writer?: $protobuf.Writer): $protobuf.Writer;
|
16368 |
|
16369 | /**
|
16370 | * Decodes a WaitOperationRequest message from the specified reader or buffer.
|
16371 | * @param reader Reader or buffer to decode from
|
16372 | * @param [length] Message length if known beforehand
|
16373 | * @returns WaitOperationRequest
|
16374 | * @throws {Error} If the payload is not a reader or valid buffer
|
16375 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16376 | */
|
16377 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.WaitOperationRequest;
|
16378 |
|
16379 | /**
|
16380 | * Decodes a WaitOperationRequest message from the specified reader or buffer, length delimited.
|
16381 | * @param reader Reader or buffer to decode from
|
16382 | * @returns WaitOperationRequest
|
16383 | * @throws {Error} If the payload is not a reader or valid buffer
|
16384 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16385 | */
|
16386 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.WaitOperationRequest;
|
16387 |
|
16388 | /**
|
16389 | * Verifies a WaitOperationRequest message.
|
16390 | * @param message Plain object to verify
|
16391 | * @returns `null` if valid, otherwise the reason why it is not
|
16392 | */
|
16393 | public static verify(message: { [k: string]: any }): (string|null);
|
16394 |
|
16395 | /**
|
16396 | * Creates a WaitOperationRequest message from a plain object. Also converts values to their respective internal types.
|
16397 | * @param object Plain object
|
16398 | * @returns WaitOperationRequest
|
16399 | */
|
16400 | public static fromObject(object: { [k: string]: any }): google.longrunning.WaitOperationRequest;
|
16401 |
|
16402 | /**
|
16403 | * Creates a plain object from a WaitOperationRequest message. Also converts values to other types if specified.
|
16404 | * @param message WaitOperationRequest
|
16405 | * @param [options] Conversion options
|
16406 | * @returns Plain object
|
16407 | */
|
16408 | public static toObject(message: google.longrunning.WaitOperationRequest, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16409 |
|
16410 | /**
|
16411 | * Converts this WaitOperationRequest to JSON.
|
16412 | * @returns JSON object
|
16413 | */
|
16414 | public toJSON(): { [k: string]: any };
|
16415 |
|
16416 | /**
|
16417 | * Gets the default type url for WaitOperationRequest
|
16418 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
16419 | * @returns The default type url
|
16420 | */
|
16421 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
16422 | }
|
16423 |
|
16424 | /** Properties of an OperationInfo. */
|
16425 | interface IOperationInfo {
|
16426 |
|
16427 | /** OperationInfo responseType */
|
16428 | responseType?: (string|null);
|
16429 |
|
16430 | /** OperationInfo metadataType */
|
16431 | metadataType?: (string|null);
|
16432 | }
|
16433 |
|
16434 | /** Represents an OperationInfo. */
|
16435 | class OperationInfo implements IOperationInfo {
|
16436 |
|
16437 | /**
|
16438 | * Constructs a new OperationInfo.
|
16439 | * @param [properties] Properties to set
|
16440 | */
|
16441 | constructor(properties?: google.longrunning.IOperationInfo);
|
16442 |
|
16443 | /** OperationInfo responseType. */
|
16444 | public responseType: string;
|
16445 |
|
16446 | /** OperationInfo metadataType. */
|
16447 | public metadataType: string;
|
16448 |
|
16449 | /**
|
16450 | * Creates a new OperationInfo instance using the specified properties.
|
16451 | * @param [properties] Properties to set
|
16452 | * @returns OperationInfo instance
|
16453 | */
|
16454 | public static create(properties?: google.longrunning.IOperationInfo): google.longrunning.OperationInfo;
|
16455 |
|
16456 | /**
|
16457 | * Encodes the specified OperationInfo message. Does not implicitly { google.longrunning.OperationInfo.verify|verify} messages.
|
16458 | * message OperationInfo message or plain object to encode
|
16459 | * [writer] Writer to encode to
|
16460 | * Writer
|
16461 | */
|
16462 | public static encode(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
16463 |
|
16464 | /**
|
16465 | * Encodes the specified OperationInfo message, length delimited. Does not implicitly {@link google.longrunning.OperationInfo.verify|verify} messages.
|
16466 | * @param message OperationInfo message or plain object to encode
|
16467 | * @param [writer] Writer to encode to
|
16468 | * @returns Writer
|
16469 | */
|
16470 | public static encodeDelimited(message: google.longrunning.IOperationInfo, writer?: $protobuf.Writer): $protobuf.Writer;
|
16471 |
|
16472 | /**
|
16473 | * Decodes an OperationInfo message from the specified reader or buffer.
|
16474 | * @param reader Reader or buffer to decode from
|
16475 | * @param [length] Message length if known beforehand
|
16476 | * @returns OperationInfo
|
16477 | * @throws {Error} If the payload is not a reader or valid buffer
|
16478 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16479 | */
|
16480 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.longrunning.OperationInfo;
|
16481 |
|
16482 | /**
|
16483 | * Decodes an OperationInfo message from the specified reader or buffer, length delimited.
|
16484 | * @param reader Reader or buffer to decode from
|
16485 | * @returns OperationInfo
|
16486 | * @throws {Error} If the payload is not a reader or valid buffer
|
16487 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16488 | */
|
16489 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.longrunning.OperationInfo;
|
16490 |
|
16491 | /**
|
16492 | * Verifies an OperationInfo message.
|
16493 | * @param message Plain object to verify
|
16494 | * @returns `null` if valid, otherwise the reason why it is not
|
16495 | */
|
16496 | public static verify(message: { [k: string]: any }): (string|null);
|
16497 |
|
16498 | /**
|
16499 | * Creates an OperationInfo message from a plain object. Also converts values to their respective internal types.
|
16500 | * @param object Plain object
|
16501 | * @returns OperationInfo
|
16502 | */
|
16503 | public static fromObject(object: { [k: string]: any }): google.longrunning.OperationInfo;
|
16504 |
|
16505 | /**
|
16506 | * Creates a plain object from an OperationInfo message. Also converts values to other types if specified.
|
16507 | * @param message OperationInfo
|
16508 | * @param [options] Conversion options
|
16509 | * @returns Plain object
|
16510 | */
|
16511 | public static toObject(message: google.longrunning.OperationInfo, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16512 |
|
16513 | /**
|
16514 | * Converts this OperationInfo to JSON.
|
16515 | * @returns JSON object
|
16516 | */
|
16517 | public toJSON(): { [k: string]: any };
|
16518 |
|
16519 | /**
|
16520 | * Gets the default type url for OperationInfo
|
16521 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
16522 | * @returns The default type url
|
16523 | */
|
16524 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
16525 | }
|
16526 | }
|
16527 |
|
16528 | /** Namespace rpc. */
|
16529 | namespace rpc {
|
16530 |
|
16531 | /** Properties of a Status. */
|
16532 | interface IStatus {
|
16533 |
|
16534 | /** Status code */
|
16535 | code?: (number|null);
|
16536 |
|
16537 | /** Status message */
|
16538 | message?: (string|null);
|
16539 |
|
16540 | /** Status details */
|
16541 | details?: (google.protobuf.IAny[]|null);
|
16542 | }
|
16543 |
|
16544 | /** Represents a Status. */
|
16545 | class Status implements IStatus {
|
16546 |
|
16547 | /**
|
16548 | * Constructs a new Status.
|
16549 | * @param [properties] Properties to set
|
16550 | */
|
16551 | constructor(properties?: google.rpc.IStatus);
|
16552 |
|
16553 | /** Status code. */
|
16554 | public code: number;
|
16555 |
|
16556 | /** Status message. */
|
16557 | public message: string;
|
16558 |
|
16559 | /** Status details. */
|
16560 | public details: google.protobuf.IAny[];
|
16561 |
|
16562 | /**
|
16563 | * Creates a new Status instance using the specified properties.
|
16564 | * @param [properties] Properties to set
|
16565 | * @returns Status instance
|
16566 | */
|
16567 | public static create(properties?: google.rpc.IStatus): google.rpc.Status;
|
16568 |
|
16569 | /**
|
16570 | * Encodes the specified Status message. Does not implicitly { google.rpc.Status.verify|verify} messages.
|
16571 | * message Status message or plain object to encode
|
16572 | * [writer] Writer to encode to
|
16573 | * Writer
|
16574 | */
|
16575 | public static encode(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
16576 |
|
16577 | /**
|
16578 | * Encodes the specified Status message, length delimited. Does not implicitly {@link google.rpc.Status.verify|verify} messages.
|
16579 | * @param message Status message or plain object to encode
|
16580 | * @param [writer] Writer to encode to
|
16581 | * @returns Writer
|
16582 | */
|
16583 | public static encodeDelimited(message: google.rpc.IStatus, writer?: $protobuf.Writer): $protobuf.Writer;
|
16584 |
|
16585 | /**
|
16586 | * Decodes a Status message from the specified reader or buffer.
|
16587 | * @param reader Reader or buffer to decode from
|
16588 | * @param [length] Message length if known beforehand
|
16589 | * @returns Status
|
16590 | * @throws {Error} If the payload is not a reader or valid buffer
|
16591 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16592 | */
|
16593 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.rpc.Status;
|
16594 |
|
16595 | /**
|
16596 | * Decodes a Status message from the specified reader or buffer, length delimited.
|
16597 | * @param reader Reader or buffer to decode from
|
16598 | * @returns Status
|
16599 | * @throws {Error} If the payload is not a reader or valid buffer
|
16600 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16601 | */
|
16602 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.rpc.Status;
|
16603 |
|
16604 | /**
|
16605 | * Verifies a Status message.
|
16606 | * @param message Plain object to verify
|
16607 | * @returns `null` if valid, otherwise the reason why it is not
|
16608 | */
|
16609 | public static verify(message: { [k: string]: any }): (string|null);
|
16610 |
|
16611 | /**
|
16612 | * Creates a Status message from a plain object. Also converts values to their respective internal types.
|
16613 | * @param object Plain object
|
16614 | * @returns Status
|
16615 | */
|
16616 | public static fromObject(object: { [k: string]: any }): google.rpc.Status;
|
16617 |
|
16618 | /**
|
16619 | * Creates a plain object from a Status message. Also converts values to other types if specified.
|
16620 | * @param message Status
|
16621 | * @param [options] Conversion options
|
16622 | * @returns Plain object
|
16623 | */
|
16624 | public static toObject(message: google.rpc.Status, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16625 |
|
16626 | /**
|
16627 | * Converts this Status to JSON.
|
16628 | * @returns JSON object
|
16629 | */
|
16630 | public toJSON(): { [k: string]: any };
|
16631 |
|
16632 | /**
|
16633 | * Gets the default type url for Status
|
16634 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
16635 | * @returns The default type url
|
16636 | */
|
16637 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
16638 | }
|
16639 | }
|
16640 |
|
16641 | /** Namespace type. */
|
16642 | namespace type {
|
16643 |
|
16644 | /** Properties of a LatLng. */
|
16645 | interface ILatLng {
|
16646 |
|
16647 | /** LatLng latitude */
|
16648 | latitude?: (number|null);
|
16649 |
|
16650 | /** LatLng longitude */
|
16651 | longitude?: (number|null);
|
16652 | }
|
16653 |
|
16654 | /** Represents a LatLng. */
|
16655 | class LatLng implements ILatLng {
|
16656 |
|
16657 | /**
|
16658 | * Constructs a new LatLng.
|
16659 | * @param [properties] Properties to set
|
16660 | */
|
16661 | constructor(properties?: google.type.ILatLng);
|
16662 |
|
16663 | /** LatLng latitude. */
|
16664 | public latitude: number;
|
16665 |
|
16666 | /** LatLng longitude. */
|
16667 | public longitude: number;
|
16668 |
|
16669 | /**
|
16670 | * Creates a new LatLng instance using the specified properties.
|
16671 | * @param [properties] Properties to set
|
16672 | * @returns LatLng instance
|
16673 | */
|
16674 | public static create(properties?: google.type.ILatLng): google.type.LatLng;
|
16675 |
|
16676 | /**
|
16677 | * Encodes the specified LatLng message. Does not implicitly { google.type.LatLng.verify|verify} messages.
|
16678 | * message LatLng message or plain object to encode
|
16679 | * [writer] Writer to encode to
|
16680 | * Writer
|
16681 | */
|
16682 | public static encode(message: google.type.ILatLng, writer?: $protobuf.Writer): $protobuf.Writer;
|
16683 |
|
16684 | /**
|
16685 | * Encodes the specified LatLng message, length delimited. Does not implicitly {@link google.type.LatLng.verify|verify} messages.
|
16686 | * @param message LatLng message or plain object to encode
|
16687 | * @param [writer] Writer to encode to
|
16688 | * @returns Writer
|
16689 | */
|
16690 | public static encodeDelimited(message: google.type.ILatLng, writer?: $protobuf.Writer): $protobuf.Writer;
|
16691 |
|
16692 | /**
|
16693 | * Decodes a LatLng message from the specified reader or buffer.
|
16694 | * @param reader Reader or buffer to decode from
|
16695 | * @param [length] Message length if known beforehand
|
16696 | * @returns LatLng
|
16697 | * @throws {Error} If the payload is not a reader or valid buffer
|
16698 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16699 | */
|
16700 | public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.type.LatLng;
|
16701 |
|
16702 | /**
|
16703 | * Decodes a LatLng message from the specified reader or buffer, length delimited.
|
16704 | * @param reader Reader or buffer to decode from
|
16705 | * @returns LatLng
|
16706 | * @throws {Error} If the payload is not a reader or valid buffer
|
16707 | * @throws {$protobuf.util.ProtocolError} If required fields are missing
|
16708 | */
|
16709 | public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.type.LatLng;
|
16710 |
|
16711 | /**
|
16712 | * Verifies a LatLng message.
|
16713 | * @param message Plain object to verify
|
16714 | * @returns `null` if valid, otherwise the reason why it is not
|
16715 | */
|
16716 | public static verify(message: { [k: string]: any }): (string|null);
|
16717 |
|
16718 | /**
|
16719 | * Creates a LatLng message from a plain object. Also converts values to their respective internal types.
|
16720 | * @param object Plain object
|
16721 | * @returns LatLng
|
16722 | */
|
16723 | public static fromObject(object: { [k: string]: any }): google.type.LatLng;
|
16724 |
|
16725 | /**
|
16726 | * Creates a plain object from a LatLng message. Also converts values to other types if specified.
|
16727 | * @param message LatLng
|
16728 | * @param [options] Conversion options
|
16729 | * @returns Plain object
|
16730 | */
|
16731 | public static toObject(message: google.type.LatLng, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
16732 |
|
16733 | /**
|
16734 | * Converts this LatLng to JSON.
|
16735 | * @returns JSON object
|
16736 | */
|
16737 | public toJSON(): { [k: string]: any };
|
16738 |
|
16739 | /**
|
16740 | * Gets the default type url for LatLng
|
16741 | * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
16742 | * @returns The default type url
|
16743 | */
|
16744 | public static getTypeUrl(typeUrlPrefix?: string): string;
|
16745 | }
|
16746 | }
|
16747 | }
|