|
1 | | -import $protobuf from "protobufjs/minimal.js"; |
| 1 | +import * as $protobuf from "protobufjs"; |
2 | 2 | /** Properties of a Message. */ |
3 | 3 | export interface IMessage { |
4 | 4 |
|
@@ -80,6 +80,13 @@ export class Message implements IMessage { |
80 | 80 | * @returns JSON object |
81 | 81 | */ |
82 | 82 | public toJSON(): { [k: string]: any }; |
| 83 | + |
| 84 | + /** |
| 85 | + * Gets the default type url for Message |
| 86 | + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") |
| 87 | + * @returns The default type url |
| 88 | + */ |
| 89 | + public static getTypeUrl(typeUrlPrefix?: string): string; |
83 | 90 | } |
84 | 91 |
|
85 | 92 | export namespace Message { |
@@ -147,6 +154,13 @@ export namespace Message { |
147 | 154 | * @returns JSON object |
148 | 155 | */ |
149 | 156 | public toJSON(): { [k: string]: any }; |
| 157 | + |
| 158 | + /** |
| 159 | + * Gets the default type url for Wantlist |
| 160 | + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") |
| 161 | + * @returns The default type url |
| 162 | + */ |
| 163 | + public static getTypeUrl(typeUrlPrefix?: string): string; |
150 | 164 | } |
151 | 165 |
|
152 | 166 | namespace Wantlist { |
@@ -238,6 +252,13 @@ export namespace Message { |
238 | 252 | * @returns JSON object |
239 | 253 | */ |
240 | 254 | public toJSON(): { [k: string]: any }; |
| 255 | + |
| 256 | + /** |
| 257 | + * Gets the default type url for Entry |
| 258 | + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") |
| 259 | + * @returns The default type url |
| 260 | + */ |
| 261 | + public static getTypeUrl(typeUrlPrefix?: string): string; |
241 | 262 | } |
242 | 263 | } |
243 | 264 |
|
@@ -304,6 +325,13 @@ export namespace Message { |
304 | 325 | * @returns JSON object |
305 | 326 | */ |
306 | 327 | public toJSON(): { [k: string]: any }; |
| 328 | + |
| 329 | + /** |
| 330 | + * Gets the default type url for Block |
| 331 | + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") |
| 332 | + * @returns The default type url |
| 333 | + */ |
| 334 | + public static getTypeUrl(typeUrlPrefix?: string): string; |
307 | 335 | } |
308 | 336 |
|
309 | 337 | /** BlockPresenceType enum. */ |
@@ -375,5 +403,12 @@ export namespace Message { |
375 | 403 | * @returns JSON object |
376 | 404 | */ |
377 | 405 | public toJSON(): { [k: string]: any }; |
| 406 | + |
| 407 | + /** |
| 408 | + * Gets the default type url for BlockPresence |
| 409 | + * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") |
| 410 | + * @returns The default type url |
| 411 | + */ |
| 412 | + public static getTypeUrl(typeUrlPrefix?: string): string; |
378 | 413 | } |
379 | 414 | } |
0 commit comments