Skip to content
Snippets Groups Projects
qrcode_data_pb.js 90.4 KiB
Newer Older
  • Learn to ignore specific revisions
  • Igor Markin's avatar
    Igor Markin committed
    1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769
    /*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/
    "use strict";
    var $protobuf = require("protobufjs/minimal");
    // Common aliases
    var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util;
    // Exported root namespace
    var $root = $protobuf.roots.qr_code_data || ($protobuf.roots.qr_code_data = {});
    $root.vereign = (function () {
        /**
         * Namespace vereign.
         * @exports vereign
         * @namespace
         */
        var vereign = {};
        vereign.protobuf = (function () {
            /**
             * Namespace protobuf.
             * @memberof vereign
             * @namespace
             */
            var protobuf = {};
            protobuf.qrcode_data = (function () {
                /**
                 * Namespace qrcode_data.
                 * @memberof vereign.protobuf
                 * @namespace
                 */
                var qrcode_data = {};
                qrcode_data.Participant_V1 = (function () {
                    /**
                     * Properties of a Participant_V1.
                     * @memberof vereign.protobuf.qrcode_data
                     * @interface IParticipant_V1
                     * @property {string|null} [name] Participant_V1 name
                     * @property {string|null} [email] Participant_V1 email
                     */
                    /**
                     * Constructs a new Participant_V1.
                     * @memberof vereign.protobuf.qrcode_data
                     * @classdesc Represents a Participant_V1.
                     * @implements IParticipant_V1
                     * @constructor
                     * @param {vereign.protobuf.qrcode_data.IParticipant_V1=} [properties] Properties to set
                     */
                    function Participant_V1(properties) {
                        if (properties)
                            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                                if (properties[keys[i]] != null)
                                    this[keys[i]] = properties[keys[i]];
                    }
                    /**
                     * Participant_V1 name.
                     * @member {string} name
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @instance
                     */
                    Participant_V1.prototype.name = "";
                    /**
                     * Participant_V1 email.
                     * @member {string} email
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @instance
                     */
                    Participant_V1.prototype.email = "";
                    /**
                     * Creates a new Participant_V1 instance using the specified properties.
                     * @function create
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IParticipant_V1=} [properties] Properties to set
                     * @returns {vereign.protobuf.qrcode_data.Participant_V1} Participant_V1 instance
                     */
                    Participant_V1.create = function create(properties) {
                        return new Participant_V1(properties);
                    };
                    /**
                     * Encodes the specified Participant_V1 message. Does not implicitly {@link vereign.protobuf.qrcode_data.Participant_V1.verify|verify} messages.
                     * @function encode
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IParticipant_V1} message Participant_V1 message or plain object to encode
                     * @param {$protobuf.Writer} [writer] Writer to encode to
                     * @returns {$protobuf.Writer} Writer
                     */
                    Participant_V1.encode = function encode(message, writer) {
                        if (!writer)
                            writer = $Writer.create();
                        if (message.name != null && Object.hasOwnProperty.call(message, "name"))
                            writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.name);
                        if (message.email != null && Object.hasOwnProperty.call(message, "email"))
                            writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.email);
                        return writer;
                    };
                    /**
                     * Encodes the specified Participant_V1 message, length delimited. Does not implicitly {@link vereign.protobuf.qrcode_data.Participant_V1.verify|verify} messages.
                     * @function encodeDelimited
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IParticipant_V1} message Participant_V1 message or plain object to encode
                     * @param {$protobuf.Writer} [writer] Writer to encode to
                     * @returns {$protobuf.Writer} Writer
                     */
                    Participant_V1.encodeDelimited = function encodeDelimited(message, writer) {
                        return this.encode(message, writer).ldelim();
                    };
                    /**
                     * Decodes a Participant_V1 message from the specified reader or buffer.
                     * @function decode
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @static
                     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
                     * @param {number} [length] Message length if known beforehand
                     * @returns {vereign.protobuf.qrcode_data.Participant_V1} Participant_V1
                     * @throws {Error} If the payload is not a reader or valid buffer
                     * @throws {$protobuf.util.ProtocolError} If required fields are missing
                     */
                    Participant_V1.decode = function decode(reader, length) {
                        if (!(reader instanceof $Reader))
                            reader = $Reader.create(reader);
                        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.vereign.protobuf.qrcode_data.Participant_V1();
                        while (reader.pos < end) {
                            var tag = reader.uint32();
                            switch (tag >>> 3) {
                                case 1:
                                    message.name = reader.string();
                                    break;
                                case 2:
                                    message.email = reader.string();
                                    break;
                                default:
                                    reader.skipType(tag & 7);
                                    break;
                            }
                        }
                        return message;
                    };
                    /**
                     * Decodes a Participant_V1 message from the specified reader or buffer, length delimited.
                     * @function decodeDelimited
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @static
                     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
                     * @returns {vereign.protobuf.qrcode_data.Participant_V1} Participant_V1
                     * @throws {Error} If the payload is not a reader or valid buffer
                     * @throws {$protobuf.util.ProtocolError} If required fields are missing
                     */
                    Participant_V1.decodeDelimited = function decodeDelimited(reader) {
                        if (!(reader instanceof $Reader))
                            reader = new $Reader(reader);
                        return this.decode(reader, reader.uint32());
                    };
                    /**
                     * Verifies a Participant_V1 message.
                     * @function verify
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @static
                     * @param {Object.<string,*>} message Plain object to verify
                     * @returns {string|null} `null` if valid, otherwise the reason why it is not
                     */
                    Participant_V1.verify = function verify(message) {
                        if (typeof message !== "object" || message === null)
                            return "object expected";
                        if (message.name != null && message.hasOwnProperty("name"))
                            if (!$util.isString(message.name))
                                return "name: string expected";
                        if (message.email != null && message.hasOwnProperty("email"))
                            if (!$util.isString(message.email))
                                return "email: string expected";
                        return null;
                    };
                    /**
                     * Creates a Participant_V1 message from a plain object. Also converts values to their respective internal types.
                     * @function fromObject
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @static
                     * @param {Object.<string,*>} object Plain object
                     * @returns {vereign.protobuf.qrcode_data.Participant_V1} Participant_V1
                     */
                    Participant_V1.fromObject = function fromObject(object) {
                        if (object instanceof $root.vereign.protobuf.qrcode_data.Participant_V1)
                            return object;
                        var message = new $root.vereign.protobuf.qrcode_data.Participant_V1();
                        if (object.name != null)
                            message.name = String(object.name);
                        if (object.email != null)
                            message.email = String(object.email);
                        return message;
                    };
                    /**
                     * Creates a plain object from a Participant_V1 message. Also converts values to other types if specified.
                     * @function toObject
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.Participant_V1} message Participant_V1
                     * @param {$protobuf.IConversionOptions} [options] Conversion options
                     * @returns {Object.<string,*>} Plain object
                     */
                    Participant_V1.toObject = function toObject(message, options) {
                        if (!options)
                            options = {};
                        var object = {};
                        if (options.defaults) {
                            object.name = "";
                            object.email = "";
                        }
                        if (message.name != null && message.hasOwnProperty("name"))
                            object.name = message.name;
                        if (message.email != null && message.hasOwnProperty("email"))
                            object.email = message.email;
                        return object;
                    };
                    /**
                     * Converts this Participant_V1 to JSON.
                     * @function toJSON
                     * @memberof vereign.protobuf.qrcode_data.Participant_V1
                     * @instance
                     * @returns {Object.<string,*>} JSON object
                     */
                    Participant_V1.prototype.toJSON = function toJSON() {
                        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
                    };
                    return Participant_V1;
                })();
                qrcode_data.Attachment_V1 = (function () {
                    /**
                     * Properties of an Attachment_V1.
                     * @memberof vereign.protobuf.qrcode_data
                     * @interface IAttachment_V1
                     * @property {string|null} [name] Attachment_V1 name
                     * @property {string|null} [url] Attachment_V1 url
                     * @property {number|null} [size] Attachment_V1 size
                     * @property {string|null} [hashAlg] Attachment_V1 hashAlg
                     * @property {Uint8Array|null} [hash] Attachment_V1 hash
                     * @property {Uint8Array|null} [signature] Attachment_V1 signature
                     */
                    /**
                     * Constructs a new Attachment_V1.
                     * @memberof vereign.protobuf.qrcode_data
                     * @classdesc Represents an Attachment_V1.
                     * @implements IAttachment_V1
                     * @constructor
                     * @param {vereign.protobuf.qrcode_data.IAttachment_V1=} [properties] Properties to set
                     */
                    function Attachment_V1(properties) {
                        if (properties)
                            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                                if (properties[keys[i]] != null)
                                    this[keys[i]] = properties[keys[i]];
                    }
                    /**
                     * Attachment_V1 name.
                     * @member {string} name
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @instance
                     */
                    Attachment_V1.prototype.name = "";
                    /**
                     * Attachment_V1 url.
                     * @member {string} url
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @instance
                     */
                    Attachment_V1.prototype.url = "";
                    /**
                     * Attachment_V1 size.
                     * @member {number} size
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @instance
                     */
                    Attachment_V1.prototype.size = 0;
                    /**
                     * Attachment_V1 hashAlg.
                     * @member {string} hashAlg
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @instance
                     */
                    Attachment_V1.prototype.hashAlg = "";
                    /**
                     * Attachment_V1 hash.
                     * @member {Uint8Array} hash
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @instance
                     */
                    Attachment_V1.prototype.hash = $util.newBuffer([]);
                    /**
                     * Attachment_V1 signature.
                     * @member {Uint8Array} signature
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @instance
                     */
                    Attachment_V1.prototype.signature = $util.newBuffer([]);
                    /**
                     * Creates a new Attachment_V1 instance using the specified properties.
                     * @function create
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IAttachment_V1=} [properties] Properties to set
                     * @returns {vereign.protobuf.qrcode_data.Attachment_V1} Attachment_V1 instance
                     */
                    Attachment_V1.create = function create(properties) {
                        return new Attachment_V1(properties);
                    };
                    /**
                     * Encodes the specified Attachment_V1 message. Does not implicitly {@link vereign.protobuf.qrcode_data.Attachment_V1.verify|verify} messages.
                     * @function encode
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IAttachment_V1} message Attachment_V1 message or plain object to encode
                     * @param {$protobuf.Writer} [writer] Writer to encode to
                     * @returns {$protobuf.Writer} Writer
                     */
                    Attachment_V1.encode = function encode(message, writer) {
                        if (!writer)
                            writer = $Writer.create();
                        if (message.name != null && Object.hasOwnProperty.call(message, "name"))
                            writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.name);
                        if (message.url != null && Object.hasOwnProperty.call(message, "url"))
                            writer.uint32(/* id 2, wireType 2 =*/ 18).string(message.url);
                        if (message.size != null && Object.hasOwnProperty.call(message, "size"))
                            writer.uint32(/* id 3, wireType 0 =*/ 24).int32(message.size);
                        if (message.hash != null && Object.hasOwnProperty.call(message, "hash"))
                            writer.uint32(/* id 4, wireType 2 =*/ 34).bytes(message.hash);
                        if (message.hashAlg != null && Object.hasOwnProperty.call(message, "hashAlg"))
                            writer.uint32(/* id 5, wireType 2 =*/ 42).string(message.hashAlg);
                        if (message.signature != null && Object.hasOwnProperty.call(message, "signature"))
                            writer.uint32(/* id 6, wireType 2 =*/ 50).bytes(message.signature);
                        return writer;
                    };
                    /**
                     * Encodes the specified Attachment_V1 message, length delimited. Does not implicitly {@link vereign.protobuf.qrcode_data.Attachment_V1.verify|verify} messages.
                     * @function encodeDelimited
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IAttachment_V1} message Attachment_V1 message or plain object to encode
                     * @param {$protobuf.Writer} [writer] Writer to encode to
                     * @returns {$protobuf.Writer} Writer
                     */
                    Attachment_V1.encodeDelimited = function encodeDelimited(message, writer) {
                        return this.encode(message, writer).ldelim();
                    };
                    /**
                     * Decodes an Attachment_V1 message from the specified reader or buffer.
                     * @function decode
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @static
                     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
                     * @param {number} [length] Message length if known beforehand
                     * @returns {vereign.protobuf.qrcode_data.Attachment_V1} Attachment_V1
                     * @throws {Error} If the payload is not a reader or valid buffer
                     * @throws {$protobuf.util.ProtocolError} If required fields are missing
                     */
                    Attachment_V1.decode = function decode(reader, length) {
                        if (!(reader instanceof $Reader))
                            reader = $Reader.create(reader);
                        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.vereign.protobuf.qrcode_data.Attachment_V1();
                        while (reader.pos < end) {
                            var tag = reader.uint32();
                            switch (tag >>> 3) {
                                case 1:
                                    message.name = reader.string();
                                    break;
                                case 2:
                                    message.url = reader.string();
                                    break;
                                case 3:
                                    message.size = reader.int32();
                                    break;
                                case 5:
                                    message.hashAlg = reader.string();
                                    break;
                                case 4:
                                    message.hash = reader.bytes();
                                    break;
                                case 6:
                                    message.signature = reader.bytes();
                                    break;
                                default:
                                    reader.skipType(tag & 7);
                                    break;
                            }
                        }
                        return message;
                    };
                    /**
                     * Decodes an Attachment_V1 message from the specified reader or buffer, length delimited.
                     * @function decodeDelimited
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @static
                     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
                     * @returns {vereign.protobuf.qrcode_data.Attachment_V1} Attachment_V1
                     * @throws {Error} If the payload is not a reader or valid buffer
                     * @throws {$protobuf.util.ProtocolError} If required fields are missing
                     */
                    Attachment_V1.decodeDelimited = function decodeDelimited(reader) {
                        if (!(reader instanceof $Reader))
                            reader = new $Reader(reader);
                        return this.decode(reader, reader.uint32());
                    };
                    /**
                     * Verifies an Attachment_V1 message.
                     * @function verify
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @static
                     * @param {Object.<string,*>} message Plain object to verify
                     * @returns {string|null} `null` if valid, otherwise the reason why it is not
                     */
                    Attachment_V1.verify = function verify(message) {
                        if (typeof message !== "object" || message === null)
                            return "object expected";
                        if (message.name != null && message.hasOwnProperty("name"))
                            if (!$util.isString(message.name))
                                return "name: string expected";
                        if (message.url != null && message.hasOwnProperty("url"))
                            if (!$util.isString(message.url))
                                return "url: string expected";
                        if (message.size != null && message.hasOwnProperty("size"))
                            if (!$util.isInteger(message.size))
                                return "size: integer expected";
                        if (message.hashAlg != null && message.hasOwnProperty("hashAlg"))
                            if (!$util.isString(message.hashAlg))
                                return "hashAlg: string expected";
                        if (message.hash != null && message.hasOwnProperty("hash"))
                            if (!(message.hash && typeof message.hash.length === "number" || $util.isString(message.hash)))
                                return "hash: buffer expected";
                        if (message.signature != null && message.hasOwnProperty("signature"))
                            if (!(message.signature && typeof message.signature.length === "number" || $util.isString(message.signature)))
                                return "signature: buffer expected";
                        return null;
                    };
                    /**
                     * Creates an Attachment_V1 message from a plain object. Also converts values to their respective internal types.
                     * @function fromObject
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @static
                     * @param {Object.<string,*>} object Plain object
                     * @returns {vereign.protobuf.qrcode_data.Attachment_V1} Attachment_V1
                     */
                    Attachment_V1.fromObject = function fromObject(object) {
                        if (object instanceof $root.vereign.protobuf.qrcode_data.Attachment_V1)
                            return object;
                        var message = new $root.vereign.protobuf.qrcode_data.Attachment_V1();
                        if (object.name != null)
                            message.name = String(object.name);
                        if (object.url != null)
                            message.url = String(object.url);
                        if (object.size != null)
                            message.size = object.size | 0;
                        if (object.hashAlg != null)
                            message.hashAlg = String(object.hashAlg);
                        if (object.hash != null)
                            if (typeof object.hash === "string")
                                $util.base64.decode(object.hash, message.hash = $util.newBuffer($util.base64.length(object.hash)), 0);
                            else if (object.hash.length)
                                message.hash = object.hash;
                        if (object.signature != null)
                            if (typeof object.signature === "string")
                                $util.base64.decode(object.signature, message.signature = $util.newBuffer($util.base64.length(object.signature)), 0);
                            else if (object.signature.length)
                                message.signature = object.signature;
                        return message;
                    };
                    /**
                     * Creates a plain object from an Attachment_V1 message. Also converts values to other types if specified.
                     * @function toObject
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.Attachment_V1} message Attachment_V1
                     * @param {$protobuf.IConversionOptions} [options] Conversion options
                     * @returns {Object.<string,*>} Plain object
                     */
                    Attachment_V1.toObject = function toObject(message, options) {
                        if (!options)
                            options = {};
                        var object = {};
                        if (options.defaults) {
                            object.name = "";
                            object.url = "";
                            object.size = 0;
                            if (options.bytes === String)
                                object.hash = "";
                            else {
                                object.hash = [];
                                if (options.bytes !== Array)
                                    object.hash = $util.newBuffer(object.hash);
                            }
                            object.hashAlg = "";
                            if (options.bytes === String)
                                object.signature = "";
                            else {
                                object.signature = [];
                                if (options.bytes !== Array)
                                    object.signature = $util.newBuffer(object.signature);
                            }
                        }
                        if (message.name != null && message.hasOwnProperty("name"))
                            object.name = message.name;
                        if (message.url != null && message.hasOwnProperty("url"))
                            object.url = message.url;
                        if (message.size != null && message.hasOwnProperty("size"))
                            object.size = message.size;
                        if (message.hash != null && message.hasOwnProperty("hash"))
                            object.hash = options.bytes === String ? $util.base64.encode(message.hash, 0, message.hash.length) : options.bytes === Array ? Array.prototype.slice.call(message.hash) : message.hash;
                        if (message.hashAlg != null && message.hasOwnProperty("hashAlg"))
                            object.hashAlg = message.hashAlg;
                        if (message.signature != null && message.hasOwnProperty("signature"))
                            object.signature = options.bytes === String ? $util.base64.encode(message.signature, 0, message.signature.length) : options.bytes === Array ? Array.prototype.slice.call(message.signature) : message.signature;
                        return object;
                    };
                    /**
                     * Converts this Attachment_V1 to JSON.
                     * @function toJSON
                     * @memberof vereign.protobuf.qrcode_data.Attachment_V1
                     * @instance
                     * @returns {Object.<string,*>} JSON object
                     */
                    Attachment_V1.prototype.toJSON = function toJSON() {
                        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
                    };
                    return Attachment_V1;
                })();
                qrcode_data.Recipients_V1 = (function () {
                    /**
                     * Properties of a Recipients_V1.
                     * @memberof vereign.protobuf.qrcode_data
                     * @interface IRecipients_V1
                     * @property {Array.<vereign.protobuf.qrcode_data.IParticipant_V1>|null} [to] Recipients_V1 to
                     * @property {Array.<vereign.protobuf.qrcode_data.IParticipant_V1>|null} [cc] Recipients_V1 cc
                     */
                    /**
                     * Constructs a new Recipients_V1.
                     * @memberof vereign.protobuf.qrcode_data
                     * @classdesc Represents a Recipients_V1.
                     * @implements IRecipients_V1
                     * @constructor
                     * @param {vereign.protobuf.qrcode_data.IRecipients_V1=} [properties] Properties to set
                     */
                    function Recipients_V1(properties) {
                        this.to = [];
                        this.cc = [];
                        if (properties)
                            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                                if (properties[keys[i]] != null)
                                    this[keys[i]] = properties[keys[i]];
                    }
                    /**
                     * Recipients_V1 to.
                     * @member {Array.<vereign.protobuf.qrcode_data.IParticipant_V1>} to
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @instance
                     */
                    Recipients_V1.prototype.to = $util.emptyArray;
                    /**
                     * Recipients_V1 cc.
                     * @member {Array.<vereign.protobuf.qrcode_data.IParticipant_V1>} cc
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @instance
                     */
                    Recipients_V1.prototype.cc = $util.emptyArray;
                    /**
                     * Creates a new Recipients_V1 instance using the specified properties.
                     * @function create
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IRecipients_V1=} [properties] Properties to set
                     * @returns {vereign.protobuf.qrcode_data.Recipients_V1} Recipients_V1 instance
                     */
                    Recipients_V1.create = function create(properties) {
                        return new Recipients_V1(properties);
                    };
                    /**
                     * Encodes the specified Recipients_V1 message. Does not implicitly {@link vereign.protobuf.qrcode_data.Recipients_V1.verify|verify} messages.
                     * @function encode
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IRecipients_V1} message Recipients_V1 message or plain object to encode
                     * @param {$protobuf.Writer} [writer] Writer to encode to
                     * @returns {$protobuf.Writer} Writer
                     */
                    Recipients_V1.encode = function encode(message, writer) {
                        if (!writer)
                            writer = $Writer.create();
                        if (message.to != null && message.to.length)
                            for (var i = 0; i < message.to.length; ++i)
                                $root.vereign.protobuf.qrcode_data.Participant_V1.encode(message.to[i], writer.uint32(/* id 1, wireType 2 =*/ 10).fork()).ldelim();
                        if (message.cc != null && message.cc.length)
                            for (var i = 0; i < message.cc.length; ++i)
                                $root.vereign.protobuf.qrcode_data.Participant_V1.encode(message.cc[i], writer.uint32(/* id 2, wireType 2 =*/ 18).fork()).ldelim();
                        return writer;
                    };
                    /**
                     * Encodes the specified Recipients_V1 message, length delimited. Does not implicitly {@link vereign.protobuf.qrcode_data.Recipients_V1.verify|verify} messages.
                     * @function encodeDelimited
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IRecipients_V1} message Recipients_V1 message or plain object to encode
                     * @param {$protobuf.Writer} [writer] Writer to encode to
                     * @returns {$protobuf.Writer} Writer
                     */
                    Recipients_V1.encodeDelimited = function encodeDelimited(message, writer) {
                        return this.encode(message, writer).ldelim();
                    };
                    /**
                     * Decodes a Recipients_V1 message from the specified reader or buffer.
                     * @function decode
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @static
                     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
                     * @param {number} [length] Message length if known beforehand
                     * @returns {vereign.protobuf.qrcode_data.Recipients_V1} Recipients_V1
                     * @throws {Error} If the payload is not a reader or valid buffer
                     * @throws {$protobuf.util.ProtocolError} If required fields are missing
                     */
                    Recipients_V1.decode = function decode(reader, length) {
                        if (!(reader instanceof $Reader))
                            reader = $Reader.create(reader);
                        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.vereign.protobuf.qrcode_data.Recipients_V1();
                        while (reader.pos < end) {
                            var tag = reader.uint32();
                            switch (tag >>> 3) {
                                case 1:
                                    if (!(message.to && message.to.length))
                                        message.to = [];
                                    message.to.push($root.vereign.protobuf.qrcode_data.Participant_V1.decode(reader, reader.uint32()));
                                    break;
                                case 2:
                                    if (!(message.cc && message.cc.length))
                                        message.cc = [];
                                    message.cc.push($root.vereign.protobuf.qrcode_data.Participant_V1.decode(reader, reader.uint32()));
                                    break;
                                default:
                                    reader.skipType(tag & 7);
                                    break;
                            }
                        }
                        return message;
                    };
                    /**
                     * Decodes a Recipients_V1 message from the specified reader or buffer, length delimited.
                     * @function decodeDelimited
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @static
                     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
                     * @returns {vereign.protobuf.qrcode_data.Recipients_V1} Recipients_V1
                     * @throws {Error} If the payload is not a reader or valid buffer
                     * @throws {$protobuf.util.ProtocolError} If required fields are missing
                     */
                    Recipients_V1.decodeDelimited = function decodeDelimited(reader) {
                        if (!(reader instanceof $Reader))
                            reader = new $Reader(reader);
                        return this.decode(reader, reader.uint32());
                    };
                    /**
                     * Verifies a Recipients_V1 message.
                     * @function verify
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @static
                     * @param {Object.<string,*>} message Plain object to verify
                     * @returns {string|null} `null` if valid, otherwise the reason why it is not
                     */
                    Recipients_V1.verify = function verify(message) {
                        if (typeof message !== "object" || message === null)
                            return "object expected";
                        if (message.to != null && message.hasOwnProperty("to")) {
                            if (!Array.isArray(message.to))
                                return "to: array expected";
                            for (var i = 0; i < message.to.length; ++i) {
                                var error = $root.vereign.protobuf.qrcode_data.Participant_V1.verify(message.to[i]);
                                if (error)
                                    return "to." + error;
                            }
                        }
                        if (message.cc != null && message.hasOwnProperty("cc")) {
                            if (!Array.isArray(message.cc))
                                return "cc: array expected";
                            for (var i = 0; i < message.cc.length; ++i) {
                                var error = $root.vereign.protobuf.qrcode_data.Participant_V1.verify(message.cc[i]);
                                if (error)
                                    return "cc." + error;
                            }
                        }
                        return null;
                    };
                    /**
                     * Creates a Recipients_V1 message from a plain object. Also converts values to their respective internal types.
                     * @function fromObject
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @static
                     * @param {Object.<string,*>} object Plain object
                     * @returns {vereign.protobuf.qrcode_data.Recipients_V1} Recipients_V1
                     */
                    Recipients_V1.fromObject = function fromObject(object) {
                        if (object instanceof $root.vereign.protobuf.qrcode_data.Recipients_V1)
                            return object;
                        var message = new $root.vereign.protobuf.qrcode_data.Recipients_V1();
                        if (object.to) {
                            if (!Array.isArray(object.to))
                                throw TypeError(".vereign.protobuf.qrcode_data.Recipients_V1.to: array expected");
                            message.to = [];
                            for (var i = 0; i < object.to.length; ++i) {
                                if (typeof object.to[i] !== "object")
                                    throw TypeError(".vereign.protobuf.qrcode_data.Recipients_V1.to: object expected");
                                message.to[i] = $root.vereign.protobuf.qrcode_data.Participant_V1.fromObject(object.to[i]);
                            }
                        }
                        if (object.cc) {
                            if (!Array.isArray(object.cc))
                                throw TypeError(".vereign.protobuf.qrcode_data.Recipients_V1.cc: array expected");
                            message.cc = [];
                            for (var i = 0; i < object.cc.length; ++i) {
                                if (typeof object.cc[i] !== "object")
                                    throw TypeError(".vereign.protobuf.qrcode_data.Recipients_V1.cc: object expected");
                                message.cc[i] = $root.vereign.protobuf.qrcode_data.Participant_V1.fromObject(object.cc[i]);
                            }
                        }
                        return message;
                    };
                    /**
                     * Creates a plain object from a Recipients_V1 message. Also converts values to other types if specified.
                     * @function toObject
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.Recipients_V1} message Recipients_V1
                     * @param {$protobuf.IConversionOptions} [options] Conversion options
                     * @returns {Object.<string,*>} Plain object
                     */
                    Recipients_V1.toObject = function toObject(message, options) {
                        if (!options)
                            options = {};
                        var object = {};
                        if (options.arrays || options.defaults) {
                            object.to = [];
                            object.cc = [];
                        }
                        if (message.to && message.to.length) {
                            object.to = [];
                            for (var j = 0; j < message.to.length; ++j)
                                object.to[j] = $root.vereign.protobuf.qrcode_data.Participant_V1.toObject(message.to[j], options);
                        }
                        if (message.cc && message.cc.length) {
                            object.cc = [];
                            for (var j = 0; j < message.cc.length; ++j)
                                object.cc[j] = $root.vereign.protobuf.qrcode_data.Participant_V1.toObject(message.cc[j], options);
                        }
                        return object;
                    };
                    /**
                     * Converts this Recipients_V1 to JSON.
                     * @function toJSON
                     * @memberof vereign.protobuf.qrcode_data.Recipients_V1
                     * @instance
                     * @returns {Object.<string,*>} JSON object
                     */
                    Recipients_V1.prototype.toJSON = function toJSON() {
                        return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
                    };
                    return Recipients_V1;
                })();
                qrcode_data.EmailData_V1 = (function () {
                    /**
                     * Properties of an EmailData_V1.
                     * @memberof vereign.protobuf.qrcode_data
                     * @interface IEmailData_V1
                     * @property {string|null} [statusId] EmailData_V1 statusId
                     * @property {vereign.protobuf.qrcode_data.IParticipant_V1|null} [sender] EmailData_V1 sender
                     * @property {string|null} [subject] EmailData_V1 subject
                     * @property {string|null} [date] EmailData_V1 date
                     * @property {vereign.protobuf.qrcode_data.IRecipients_V1|null} [recipients] EmailData_V1 recipients
                     * @property {Array.<vereign.protobuf.qrcode_data.IAttachment_V1>|null} [attachments] EmailData_V1 attachments
                     * @property {string|null} [senderPublicKeyUuid] EmailData_V1 senderPublicKeyUuid
    
    Igor Markin's avatar
    Igor Markin committed
                     * @property {string|null} [htmlPartRabinFingerprint] EmailData_V1 htmlPartRabinFingerprint
    
    Igor Markin's avatar
    Igor Markin committed
                     * @property {number|null} [htmlPartSize] EmailData_V1 htmlPartSize
    
    Igor Markin's avatar
    Igor Markin committed
                     * @property {string|null} [plainPartRabinFingerprint] EmailData_V1 plainPartRabinFingerprint
    
    Igor Markin's avatar
    Igor Markin committed
                     * @property {number|null} [plainPartSize] EmailData_V1 plainPartSize
    
    Igor Markin's avatar
    Igor Markin committed
                     */
                    /**
                     * Constructs a new EmailData_V1.
                     * @memberof vereign.protobuf.qrcode_data
                     * @classdesc Represents an EmailData_V1.
                     * @implements IEmailData_V1
                     * @constructor
                     * @param {vereign.protobuf.qrcode_data.IEmailData_V1=} [properties] Properties to set
                     */
                    function EmailData_V1(properties) {
                        this.attachments = [];
                        if (properties)
                            for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
                                if (properties[keys[i]] != null)
                                    this[keys[i]] = properties[keys[i]];
                    }
                    /**
                     * EmailData_V1 statusId.
                     * @member {string} statusId
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.statusId = "";
                    /**
                     * EmailData_V1 sender.
                     * @member {vereign.protobuf.qrcode_data.IParticipant_V1|null|undefined} sender
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.sender = null;
                    /**
                     * EmailData_V1 subject.
                     * @member {string} subject
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.subject = "";
                    /**
                     * EmailData_V1 date.
                     * @member {string} date
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.date = "";
                    /**
                     * EmailData_V1 recipients.
                     * @member {vereign.protobuf.qrcode_data.IRecipients_V1|null|undefined} recipients
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.recipients = null;
                    /**
                     * EmailData_V1 attachments.
                     * @member {Array.<vereign.protobuf.qrcode_data.IAttachment_V1>} attachments
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.attachments = $util.emptyArray;
                    /**
                     * EmailData_V1 senderPublicKeyUuid.
                     * @member {string} senderPublicKeyUuid
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.senderPublicKeyUuid = "";
                    /**
    
    Igor Markin's avatar
    Igor Markin committed
                     * EmailData_V1 htmlPartRabinFingerprint.
                     * @member {string} htmlPartRabinFingerprint
    
    Igor Markin's avatar
    Igor Markin committed
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
    
    Igor Markin's avatar
    Igor Markin committed
                    EmailData_V1.prototype.htmlPartRabinFingerprint = "";
    
    Igor Markin's avatar
    Igor Markin committed
                    /**
                     * EmailData_V1 htmlPartSize.
                     * @member {number} htmlPartSize
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.htmlPartSize = 0;
    
    Igor Markin's avatar
    Igor Markin committed
                    /**
    
    Igor Markin's avatar
    Igor Markin committed
                     * EmailData_V1 plainPartRabinFingerprint.
                     * @member {string} plainPartRabinFingerprint
    
    Igor Markin's avatar
    Igor Markin committed
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
    
    Igor Markin's avatar
    Igor Markin committed
                    EmailData_V1.prototype.plainPartRabinFingerprint = "";
    
    Igor Markin's avatar
    Igor Markin committed
                    /**
                     * EmailData_V1 plainPartSize.
                     * @member {number} plainPartSize
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @instance
                     */
                    EmailData_V1.prototype.plainPartSize = 0;
    
    Igor Markin's avatar
    Igor Markin committed
                    /**
                     * Creates a new EmailData_V1 instance using the specified properties.
                     * @function create
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IEmailData_V1=} [properties] Properties to set
                     * @returns {vereign.protobuf.qrcode_data.EmailData_V1} EmailData_V1 instance
                     */
                    EmailData_V1.create = function create(properties) {
                        return new EmailData_V1(properties);
                    };
                    /**
                     * Encodes the specified EmailData_V1 message. Does not implicitly {@link vereign.protobuf.qrcode_data.EmailData_V1.verify|verify} messages.
                     * @function encode
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IEmailData_V1} message EmailData_V1 message or plain object to encode
                     * @param {$protobuf.Writer} [writer] Writer to encode to
                     * @returns {$protobuf.Writer} Writer
                     */
                    EmailData_V1.encode = function encode(message, writer) {
                        if (!writer)
                            writer = $Writer.create();
                        if (message.statusId != null && Object.hasOwnProperty.call(message, "statusId"))
                            writer.uint32(/* id 1, wireType 2 =*/ 10).string(message.statusId);
                        if (message.sender != null && Object.hasOwnProperty.call(message, "sender"))
                            $root.vereign.protobuf.qrcode_data.Participant_V1.encode(message.sender, writer.uint32(/* id 2, wireType 2 =*/ 18).fork()).ldelim();
                        if (message.subject != null && Object.hasOwnProperty.call(message, "subject"))
                            writer.uint32(/* id 3, wireType 2 =*/ 26).string(message.subject);
                        if (message.date != null && Object.hasOwnProperty.call(message, "date"))
                            writer.uint32(/* id 4, wireType 2 =*/ 34).string(message.date);
                        if (message.recipients != null && Object.hasOwnProperty.call(message, "recipients"))
                            $root.vereign.protobuf.qrcode_data.Recipients_V1.encode(message.recipients, writer.uint32(/* id 5, wireType 2 =*/ 42).fork()).ldelim();
                        if (message.attachments != null && message.attachments.length)
                            for (var i = 0; i < message.attachments.length; ++i)
                                $root.vereign.protobuf.qrcode_data.Attachment_V1.encode(message.attachments[i], writer.uint32(/* id 6, wireType 2 =*/ 50).fork()).ldelim();
                        if (message.senderPublicKeyUuid != null && Object.hasOwnProperty.call(message, "senderPublicKeyUuid"))
                            writer.uint32(/* id 7, wireType 2 =*/ 58).string(message.senderPublicKeyUuid);
    
    Igor Markin's avatar
    Igor Markin committed
                        if (message.htmlPartRabinFingerprint != null && Object.hasOwnProperty.call(message, "htmlPartRabinFingerprint"))
                            writer.uint32(/* id 8, wireType 2 =*/ 66).string(message.htmlPartRabinFingerprint);
    
    Igor Markin's avatar
    Igor Markin committed
                        if (message.htmlPartSize != null && Object.hasOwnProperty.call(message, "htmlPartSize"))
                            writer.uint32(/* id 9, wireType 0 =*/ 72).int32(message.htmlPartSize);
    
    Igor Markin's avatar
    Igor Markin committed
                        if (message.plainPartRabinFingerprint != null && Object.hasOwnProperty.call(message, "plainPartRabinFingerprint"))
                            writer.uint32(/* id 10, wireType 2 =*/ 82).string(message.plainPartRabinFingerprint);
    
    Igor Markin's avatar
    Igor Markin committed
                        if (message.plainPartSize != null && Object.hasOwnProperty.call(message, "plainPartSize"))
                            writer.uint32(/* id 11, wireType 0 =*/ 88).int32(message.plainPartSize);
    
    Igor Markin's avatar
    Igor Markin committed
                        return writer;
                    };
                    /**
                     * Encodes the specified EmailData_V1 message, length delimited. Does not implicitly {@link vereign.protobuf.qrcode_data.EmailData_V1.verify|verify} messages.
                     * @function encodeDelimited
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @static
                     * @param {vereign.protobuf.qrcode_data.IEmailData_V1} message EmailData_V1 message or plain object to encode
                     * @param {$protobuf.Writer} [writer] Writer to encode to
                     * @returns {$protobuf.Writer} Writer
                     */
                    EmailData_V1.encodeDelimited = function encodeDelimited(message, writer) {
                        return this.encode(message, writer).ldelim();
                    };
                    /**
                     * Decodes an EmailData_V1 message from the specified reader or buffer.
                     * @function decode
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @static
                     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
                     * @param {number} [length] Message length if known beforehand
                     * @returns {vereign.protobuf.qrcode_data.EmailData_V1} EmailData_V1
                     * @throws {Error} If the payload is not a reader or valid buffer
                     * @throws {$protobuf.util.ProtocolError} If required fields are missing
                     */
                    EmailData_V1.decode = function decode(reader, length) {
                        if (!(reader instanceof $Reader))
                            reader = $Reader.create(reader);
                        var end = length === undefined ? reader.len : reader.pos + length, message = new $root.vereign.protobuf.qrcode_data.EmailData_V1();
                        while (reader.pos < end) {
                            var tag = reader.uint32();
                            switch (tag >>> 3) {
                                case 1:
                                    message.statusId = reader.string();
                                    break;
                                case 2:
                                    message.sender = $root.vereign.protobuf.qrcode_data.Participant_V1.decode(reader, reader.uint32());
                                    break;
                                case 3:
                                    message.subject = reader.string();
                                    break;
                                case 4:
                                    message.date = reader.string();
                                    break;
                                case 5:
                                    message.recipients = $root.vereign.protobuf.qrcode_data.Recipients_V1.decode(reader, reader.uint32());
                                    break;
                                case 6:
                                    if (!(message.attachments && message.attachments.length))
                                        message.attachments = [];
                                    message.attachments.push($root.vereign.protobuf.qrcode_data.Attachment_V1.decode(reader, reader.uint32()));
                                    break;
                                case 7:
                                    message.senderPublicKeyUuid = reader.string();
                                    break;
                                case 8:
    
    Igor Markin's avatar
    Igor Markin committed
                                    message.htmlPartRabinFingerprint = reader.string();
    
    Igor Markin's avatar
    Igor Markin committed
                                    break;
                                case 9:
                                    message.htmlPartSize = reader.int32();
                                    break;
    
    Igor Markin's avatar
    Igor Markin committed
                                case 10:
    
    Igor Markin's avatar
    Igor Markin committed
                                    message.plainPartRabinFingerprint = reader.string();
    
    Igor Markin's avatar
    Igor Markin committed
                                    break;
                                case 11:
                                    message.plainPartSize = reader.int32();
                                    break;
    
    Igor Markin's avatar
    Igor Markin committed
                                default:
                                    reader.skipType(tag & 7);
                                    break;
                            }
                        }
                        return message;
                    };
                    /**
                     * Decodes an EmailData_V1 message from the specified reader or buffer, length delimited.
                     * @function decodeDelimited
                     * @memberof vereign.protobuf.qrcode_data.EmailData_V1
                     * @static
                     * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
                     * @returns {vereign.protobuf.qrcode_data.EmailData_V1} EmailData_V1
                     * @throws {Error} If the payload is not a reader or valid buffer
                     * @throws {$protobuf.util.ProtocolError} If required fields are missing
                     */
                    EmailData_V1.decodeDelimited = function decodeDelimited(reader) {
                        if (!(reader instanceof $Reader))
                            reader = new $Reader(reader);
                        return this.decode(reader, reader.uint32());