@lansweeper/multitenant-api-grpc 0.4.21 → 0.4.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15,6 +15,10 @@ var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
16
  var global = Function('return this')();
17
17
 
18
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.AllProfileExistsRequest', null, global);
19
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.AllProfileExistsResponse', null, global);
20
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.AllProfilesExistRequest', null, global);
21
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.AllProfilesExistResponse', null, global);
18
22
  goog.exportSymbol('proto.lansweeper.multitenant.v1.AuthorizedSitesRequest', null, global);
19
23
  goog.exportSymbol('proto.lansweeper.multitenant.v1.AuthorizedSitesResponse', null, global);
20
24
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdRequest', null, global);
@@ -1538,6 +1542,90 @@ if (goog.DEBUG && !COMPILED) {
1538
1542
  */
1539
1543
  proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdResponse';
1540
1544
  }
1545
+ /**
1546
+ * Generated by JsPbCodeGenerator.
1547
+ * @param {Array=} opt_data Optional initial data array, typically from a
1548
+ * server response, or constructed directly in Javascript. The array is used
1549
+ * in place and becomes part of the constructed object. It is not cloned.
1550
+ * If no data is provided, the constructed object will be empty, but still
1551
+ * valid.
1552
+ * @extends {jspb.Message}
1553
+ * @constructor
1554
+ */
1555
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest = function(opt_data) {
1556
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.AllProfileExistsRequest.repeatedFields_, null);
1557
+ };
1558
+ goog.inherits(proto.lansweeper.multitenant.v1.AllProfileExistsRequest, jspb.Message);
1559
+ if (goog.DEBUG && !COMPILED) {
1560
+ /**
1561
+ * @public
1562
+ * @override
1563
+ */
1564
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.displayName = 'proto.lansweeper.multitenant.v1.AllProfileExistsRequest';
1565
+ }
1566
+ /**
1567
+ * Generated by JsPbCodeGenerator.
1568
+ * @param {Array=} opt_data Optional initial data array, typically from a
1569
+ * server response, or constructed directly in Javascript. The array is used
1570
+ * in place and becomes part of the constructed object. It is not cloned.
1571
+ * If no data is provided, the constructed object will be empty, but still
1572
+ * valid.
1573
+ * @extends {jspb.Message}
1574
+ * @constructor
1575
+ */
1576
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse = function(opt_data) {
1577
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1578
+ };
1579
+ goog.inherits(proto.lansweeper.multitenant.v1.AllProfileExistsResponse, jspb.Message);
1580
+ if (goog.DEBUG && !COMPILED) {
1581
+ /**
1582
+ * @public
1583
+ * @override
1584
+ */
1585
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.displayName = 'proto.lansweeper.multitenant.v1.AllProfileExistsResponse';
1586
+ }
1587
+ /**
1588
+ * Generated by JsPbCodeGenerator.
1589
+ * @param {Array=} opt_data Optional initial data array, typically from a
1590
+ * server response, or constructed directly in Javascript. The array is used
1591
+ * in place and becomes part of the constructed object. It is not cloned.
1592
+ * If no data is provided, the constructed object will be empty, but still
1593
+ * valid.
1594
+ * @extends {jspb.Message}
1595
+ * @constructor
1596
+ */
1597
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest = function(opt_data) {
1598
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.AllProfilesExistRequest.repeatedFields_, null);
1599
+ };
1600
+ goog.inherits(proto.lansweeper.multitenant.v1.AllProfilesExistRequest, jspb.Message);
1601
+ if (goog.DEBUG && !COMPILED) {
1602
+ /**
1603
+ * @public
1604
+ * @override
1605
+ */
1606
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.displayName = 'proto.lansweeper.multitenant.v1.AllProfilesExistRequest';
1607
+ }
1608
+ /**
1609
+ * Generated by JsPbCodeGenerator.
1610
+ * @param {Array=} opt_data Optional initial data array, typically from a
1611
+ * server response, or constructed directly in Javascript. The array is used
1612
+ * in place and becomes part of the constructed object. It is not cloned.
1613
+ * If no data is provided, the constructed object will be empty, but still
1614
+ * valid.
1615
+ * @extends {jspb.Message}
1616
+ * @constructor
1617
+ */
1618
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse = function(opt_data) {
1619
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1620
+ };
1621
+ goog.inherits(proto.lansweeper.multitenant.v1.AllProfilesExistResponse, jspb.Message);
1622
+ if (goog.DEBUG && !COMPILED) {
1623
+ /**
1624
+ * @public
1625
+ * @override
1626
+ */
1627
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.displayName = 'proto.lansweeper.multitenant.v1.AllProfilesExistResponse';
1628
+ }
1541
1629
 
1542
1630
 
1543
1631
 
@@ -14476,6 +14564,638 @@ proto.lansweeper.multitenant.v1.GetInstallationLicenseByClientIdResponse.prototy
14476
14564
  };
14477
14565
 
14478
14566
 
14567
+
14568
+ /**
14569
+ * List of repeated fields within this message type.
14570
+ * @private {!Array<number>}
14571
+ * @const
14572
+ */
14573
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.repeatedFields_ = [2];
14574
+
14575
+
14576
+
14577
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14578
+ /**
14579
+ * Creates an object representation of this proto.
14580
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14581
+ * Optional fields that are not set will be set to undefined.
14582
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14583
+ * For the list of reserved names please see:
14584
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14585
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14586
+ * JSPB instance for transitional soy proto support:
14587
+ * http://goto/soy-param-migration
14588
+ * @return {!Object}
14589
+ */
14590
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.toObject = function(opt_includeInstance) {
14591
+ return proto.lansweeper.multitenant.v1.AllProfileExistsRequest.toObject(opt_includeInstance, this);
14592
+ };
14593
+
14594
+
14595
+ /**
14596
+ * Static version of the {@see toObject} method.
14597
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14598
+ * the JSPB instance for transitional soy proto support:
14599
+ * http://goto/soy-param-migration
14600
+ * @param {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} msg The msg instance to transform.
14601
+ * @return {!Object}
14602
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14603
+ */
14604
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.toObject = function(includeInstance, msg) {
14605
+ var f, obj = {
14606
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
14607
+ emailsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
14608
+ };
14609
+
14610
+ if (includeInstance) {
14611
+ obj.$jspbMessageInstance = msg;
14612
+ }
14613
+ return obj;
14614
+ };
14615
+ }
14616
+
14617
+
14618
+ /**
14619
+ * Deserializes binary data (in protobuf wire format).
14620
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14621
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest}
14622
+ */
14623
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.deserializeBinary = function(bytes) {
14624
+ var reader = new jspb.BinaryReader(bytes);
14625
+ var msg = new proto.lansweeper.multitenant.v1.AllProfileExistsRequest;
14626
+ return proto.lansweeper.multitenant.v1.AllProfileExistsRequest.deserializeBinaryFromReader(msg, reader);
14627
+ };
14628
+
14629
+
14630
+ /**
14631
+ * Deserializes binary data (in protobuf wire format) from the
14632
+ * given reader into the given message object.
14633
+ * @param {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} msg The message object to deserialize into.
14634
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14635
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest}
14636
+ */
14637
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.deserializeBinaryFromReader = function(msg, reader) {
14638
+ while (reader.nextField()) {
14639
+ if (reader.isEndGroup()) {
14640
+ break;
14641
+ }
14642
+ var field = reader.getFieldNumber();
14643
+ switch (field) {
14644
+ case 1:
14645
+ var value = /** @type {string} */ (reader.readString());
14646
+ msg.setSiteId(value);
14647
+ break;
14648
+ case 2:
14649
+ var value = /** @type {string} */ (reader.readString());
14650
+ msg.addEmails(value);
14651
+ break;
14652
+ default:
14653
+ reader.skipField();
14654
+ break;
14655
+ }
14656
+ }
14657
+ return msg;
14658
+ };
14659
+
14660
+
14661
+ /**
14662
+ * Serializes the message to binary data (in protobuf wire format).
14663
+ * @return {!Uint8Array}
14664
+ */
14665
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.serializeBinary = function() {
14666
+ var writer = new jspb.BinaryWriter();
14667
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.serializeBinaryToWriter(this, writer);
14668
+ return writer.getResultBuffer();
14669
+ };
14670
+
14671
+
14672
+ /**
14673
+ * Serializes the given message to binary data (in protobuf wire
14674
+ * format), writing to the given BinaryWriter.
14675
+ * @param {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} message
14676
+ * @param {!jspb.BinaryWriter} writer
14677
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14678
+ */
14679
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.serializeBinaryToWriter = function(message, writer) {
14680
+ var f = undefined;
14681
+ f = message.getSiteId();
14682
+ if (f.length > 0) {
14683
+ writer.writeString(
14684
+ 1,
14685
+ f
14686
+ );
14687
+ }
14688
+ f = message.getEmailsList();
14689
+ if (f.length > 0) {
14690
+ writer.writeRepeatedString(
14691
+ 2,
14692
+ f
14693
+ );
14694
+ }
14695
+ };
14696
+
14697
+
14698
+ /**
14699
+ * optional string site_id = 1;
14700
+ * @return {string}
14701
+ */
14702
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.getSiteId = function() {
14703
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
14704
+ };
14705
+
14706
+
14707
+ /**
14708
+ * @param {string} value
14709
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} returns this
14710
+ */
14711
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.setSiteId = function(value) {
14712
+ return jspb.Message.setProto3StringField(this, 1, value);
14713
+ };
14714
+
14715
+
14716
+ /**
14717
+ * repeated string emails = 2;
14718
+ * @return {!Array<string>}
14719
+ */
14720
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.getEmailsList = function() {
14721
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
14722
+ };
14723
+
14724
+
14725
+ /**
14726
+ * @param {!Array<string>} value
14727
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} returns this
14728
+ */
14729
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.setEmailsList = function(value) {
14730
+ return jspb.Message.setField(this, 2, value || []);
14731
+ };
14732
+
14733
+
14734
+ /**
14735
+ * @param {string} value
14736
+ * @param {number=} opt_index
14737
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} returns this
14738
+ */
14739
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.addEmails = function(value, opt_index) {
14740
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
14741
+ };
14742
+
14743
+
14744
+ /**
14745
+ * Clears the list making it empty but non-null.
14746
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsRequest} returns this
14747
+ */
14748
+ proto.lansweeper.multitenant.v1.AllProfileExistsRequest.prototype.clearEmailsList = function() {
14749
+ return this.setEmailsList([]);
14750
+ };
14751
+
14752
+
14753
+
14754
+
14755
+
14756
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14757
+ /**
14758
+ * Creates an object representation of this proto.
14759
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14760
+ * Optional fields that are not set will be set to undefined.
14761
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14762
+ * For the list of reserved names please see:
14763
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14764
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14765
+ * JSPB instance for transitional soy proto support:
14766
+ * http://goto/soy-param-migration
14767
+ * @return {!Object}
14768
+ */
14769
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.prototype.toObject = function(opt_includeInstance) {
14770
+ return proto.lansweeper.multitenant.v1.AllProfileExistsResponse.toObject(opt_includeInstance, this);
14771
+ };
14772
+
14773
+
14774
+ /**
14775
+ * Static version of the {@see toObject} method.
14776
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14777
+ * the JSPB instance for transitional soy proto support:
14778
+ * http://goto/soy-param-migration
14779
+ * @param {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse} msg The msg instance to transform.
14780
+ * @return {!Object}
14781
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14782
+ */
14783
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.toObject = function(includeInstance, msg) {
14784
+ var f, obj = {
14785
+ all: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
14786
+ };
14787
+
14788
+ if (includeInstance) {
14789
+ obj.$jspbMessageInstance = msg;
14790
+ }
14791
+ return obj;
14792
+ };
14793
+ }
14794
+
14795
+
14796
+ /**
14797
+ * Deserializes binary data (in protobuf wire format).
14798
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14799
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse}
14800
+ */
14801
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.deserializeBinary = function(bytes) {
14802
+ var reader = new jspb.BinaryReader(bytes);
14803
+ var msg = new proto.lansweeper.multitenant.v1.AllProfileExistsResponse;
14804
+ return proto.lansweeper.multitenant.v1.AllProfileExistsResponse.deserializeBinaryFromReader(msg, reader);
14805
+ };
14806
+
14807
+
14808
+ /**
14809
+ * Deserializes binary data (in protobuf wire format) from the
14810
+ * given reader into the given message object.
14811
+ * @param {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse} msg The message object to deserialize into.
14812
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14813
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse}
14814
+ */
14815
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.deserializeBinaryFromReader = function(msg, reader) {
14816
+ while (reader.nextField()) {
14817
+ if (reader.isEndGroup()) {
14818
+ break;
14819
+ }
14820
+ var field = reader.getFieldNumber();
14821
+ switch (field) {
14822
+ case 1:
14823
+ var value = /** @type {boolean} */ (reader.readBool());
14824
+ msg.setAll(value);
14825
+ break;
14826
+ default:
14827
+ reader.skipField();
14828
+ break;
14829
+ }
14830
+ }
14831
+ return msg;
14832
+ };
14833
+
14834
+
14835
+ /**
14836
+ * Serializes the message to binary data (in protobuf wire format).
14837
+ * @return {!Uint8Array}
14838
+ */
14839
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.prototype.serializeBinary = function() {
14840
+ var writer = new jspb.BinaryWriter();
14841
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.serializeBinaryToWriter(this, writer);
14842
+ return writer.getResultBuffer();
14843
+ };
14844
+
14845
+
14846
+ /**
14847
+ * Serializes the given message to binary data (in protobuf wire
14848
+ * format), writing to the given BinaryWriter.
14849
+ * @param {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse} message
14850
+ * @param {!jspb.BinaryWriter} writer
14851
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14852
+ */
14853
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.serializeBinaryToWriter = function(message, writer) {
14854
+ var f = undefined;
14855
+ f = message.getAll();
14856
+ if (f) {
14857
+ writer.writeBool(
14858
+ 1,
14859
+ f
14860
+ );
14861
+ }
14862
+ };
14863
+
14864
+
14865
+ /**
14866
+ * optional bool all = 1;
14867
+ * @return {boolean}
14868
+ */
14869
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.prototype.getAll = function() {
14870
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
14871
+ };
14872
+
14873
+
14874
+ /**
14875
+ * @param {boolean} value
14876
+ * @return {!proto.lansweeper.multitenant.v1.AllProfileExistsResponse} returns this
14877
+ */
14878
+ proto.lansweeper.multitenant.v1.AllProfileExistsResponse.prototype.setAll = function(value) {
14879
+ return jspb.Message.setProto3BooleanField(this, 1, value);
14880
+ };
14881
+
14882
+
14883
+
14884
+ /**
14885
+ * List of repeated fields within this message type.
14886
+ * @private {!Array<number>}
14887
+ * @const
14888
+ */
14889
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.repeatedFields_ = [2];
14890
+
14891
+
14892
+
14893
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14894
+ /**
14895
+ * Creates an object representation of this proto.
14896
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14897
+ * Optional fields that are not set will be set to undefined.
14898
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14899
+ * For the list of reserved names please see:
14900
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14901
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14902
+ * JSPB instance for transitional soy proto support:
14903
+ * http://goto/soy-param-migration
14904
+ * @return {!Object}
14905
+ */
14906
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.toObject = function(opt_includeInstance) {
14907
+ return proto.lansweeper.multitenant.v1.AllProfilesExistRequest.toObject(opt_includeInstance, this);
14908
+ };
14909
+
14910
+
14911
+ /**
14912
+ * Static version of the {@see toObject} method.
14913
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14914
+ * the JSPB instance for transitional soy proto support:
14915
+ * http://goto/soy-param-migration
14916
+ * @param {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest} msg The msg instance to transform.
14917
+ * @return {!Object}
14918
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14919
+ */
14920
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.toObject = function(includeInstance, msg) {
14921
+ var f, obj = {
14922
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
14923
+ emailsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
14924
+ };
14925
+
14926
+ if (includeInstance) {
14927
+ obj.$jspbMessageInstance = msg;
14928
+ }
14929
+ return obj;
14930
+ };
14931
+ }
14932
+
14933
+
14934
+ /**
14935
+ * Deserializes binary data (in protobuf wire format).
14936
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14937
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest}
14938
+ */
14939
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.deserializeBinary = function(bytes) {
14940
+ var reader = new jspb.BinaryReader(bytes);
14941
+ var msg = new proto.lansweeper.multitenant.v1.AllProfilesExistRequest;
14942
+ return proto.lansweeper.multitenant.v1.AllProfilesExistRequest.deserializeBinaryFromReader(msg, reader);
14943
+ };
14944
+
14945
+
14946
+ /**
14947
+ * Deserializes binary data (in protobuf wire format) from the
14948
+ * given reader into the given message object.
14949
+ * @param {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest} msg The message object to deserialize into.
14950
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14951
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest}
14952
+ */
14953
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.deserializeBinaryFromReader = function(msg, reader) {
14954
+ while (reader.nextField()) {
14955
+ if (reader.isEndGroup()) {
14956
+ break;
14957
+ }
14958
+ var field = reader.getFieldNumber();
14959
+ switch (field) {
14960
+ case 1:
14961
+ var value = /** @type {string} */ (reader.readString());
14962
+ msg.setSiteId(value);
14963
+ break;
14964
+ case 2:
14965
+ var value = /** @type {string} */ (reader.readString());
14966
+ msg.addEmails(value);
14967
+ break;
14968
+ default:
14969
+ reader.skipField();
14970
+ break;
14971
+ }
14972
+ }
14973
+ return msg;
14974
+ };
14975
+
14976
+
14977
+ /**
14978
+ * Serializes the message to binary data (in protobuf wire format).
14979
+ * @return {!Uint8Array}
14980
+ */
14981
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.serializeBinary = function() {
14982
+ var writer = new jspb.BinaryWriter();
14983
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.serializeBinaryToWriter(this, writer);
14984
+ return writer.getResultBuffer();
14985
+ };
14986
+
14987
+
14988
+ /**
14989
+ * Serializes the given message to binary data (in protobuf wire
14990
+ * format), writing to the given BinaryWriter.
14991
+ * @param {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest} message
14992
+ * @param {!jspb.BinaryWriter} writer
14993
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14994
+ */
14995
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.serializeBinaryToWriter = function(message, writer) {
14996
+ var f = undefined;
14997
+ f = message.getSiteId();
14998
+ if (f.length > 0) {
14999
+ writer.writeString(
15000
+ 1,
15001
+ f
15002
+ );
15003
+ }
15004
+ f = message.getEmailsList();
15005
+ if (f.length > 0) {
15006
+ writer.writeRepeatedString(
15007
+ 2,
15008
+ f
15009
+ );
15010
+ }
15011
+ };
15012
+
15013
+
15014
+ /**
15015
+ * optional string site_id = 1;
15016
+ * @return {string}
15017
+ */
15018
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.getSiteId = function() {
15019
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
15020
+ };
15021
+
15022
+
15023
+ /**
15024
+ * @param {string} value
15025
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest} returns this
15026
+ */
15027
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.setSiteId = function(value) {
15028
+ return jspb.Message.setProto3StringField(this, 1, value);
15029
+ };
15030
+
15031
+
15032
+ /**
15033
+ * repeated string emails = 2;
15034
+ * @return {!Array<string>}
15035
+ */
15036
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.getEmailsList = function() {
15037
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
15038
+ };
15039
+
15040
+
15041
+ /**
15042
+ * @param {!Array<string>} value
15043
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest} returns this
15044
+ */
15045
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.setEmailsList = function(value) {
15046
+ return jspb.Message.setField(this, 2, value || []);
15047
+ };
15048
+
15049
+
15050
+ /**
15051
+ * @param {string} value
15052
+ * @param {number=} opt_index
15053
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest} returns this
15054
+ */
15055
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.addEmails = function(value, opt_index) {
15056
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
15057
+ };
15058
+
15059
+
15060
+ /**
15061
+ * Clears the list making it empty but non-null.
15062
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistRequest} returns this
15063
+ */
15064
+ proto.lansweeper.multitenant.v1.AllProfilesExistRequest.prototype.clearEmailsList = function() {
15065
+ return this.setEmailsList([]);
15066
+ };
15067
+
15068
+
15069
+
15070
+
15071
+
15072
+ if (jspb.Message.GENERATE_TO_OBJECT) {
15073
+ /**
15074
+ * Creates an object representation of this proto.
15075
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
15076
+ * Optional fields that are not set will be set to undefined.
15077
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
15078
+ * For the list of reserved names please see:
15079
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
15080
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
15081
+ * JSPB instance for transitional soy proto support:
15082
+ * http://goto/soy-param-migration
15083
+ * @return {!Object}
15084
+ */
15085
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.toObject = function(opt_includeInstance) {
15086
+ return proto.lansweeper.multitenant.v1.AllProfilesExistResponse.toObject(opt_includeInstance, this);
15087
+ };
15088
+
15089
+
15090
+ /**
15091
+ * Static version of the {@see toObject} method.
15092
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
15093
+ * the JSPB instance for transitional soy proto support:
15094
+ * http://goto/soy-param-migration
15095
+ * @param {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} msg The msg instance to transform.
15096
+ * @return {!Object}
15097
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15098
+ */
15099
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.toObject = function(includeInstance, msg) {
15100
+ var f, obj = {
15101
+ all: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
15102
+ };
15103
+
15104
+ if (includeInstance) {
15105
+ obj.$jspbMessageInstance = msg;
15106
+ }
15107
+ return obj;
15108
+ };
15109
+ }
15110
+
15111
+
15112
+ /**
15113
+ * Deserializes binary data (in protobuf wire format).
15114
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
15115
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse}
15116
+ */
15117
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.deserializeBinary = function(bytes) {
15118
+ var reader = new jspb.BinaryReader(bytes);
15119
+ var msg = new proto.lansweeper.multitenant.v1.AllProfilesExistResponse;
15120
+ return proto.lansweeper.multitenant.v1.AllProfilesExistResponse.deserializeBinaryFromReader(msg, reader);
15121
+ };
15122
+
15123
+
15124
+ /**
15125
+ * Deserializes binary data (in protobuf wire format) from the
15126
+ * given reader into the given message object.
15127
+ * @param {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} msg The message object to deserialize into.
15128
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
15129
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse}
15130
+ */
15131
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.deserializeBinaryFromReader = function(msg, reader) {
15132
+ while (reader.nextField()) {
15133
+ if (reader.isEndGroup()) {
15134
+ break;
15135
+ }
15136
+ var field = reader.getFieldNumber();
15137
+ switch (field) {
15138
+ case 1:
15139
+ var value = /** @type {boolean} */ (reader.readBool());
15140
+ msg.setAll(value);
15141
+ break;
15142
+ default:
15143
+ reader.skipField();
15144
+ break;
15145
+ }
15146
+ }
15147
+ return msg;
15148
+ };
15149
+
15150
+
15151
+ /**
15152
+ * Serializes the message to binary data (in protobuf wire format).
15153
+ * @return {!Uint8Array}
15154
+ */
15155
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.serializeBinary = function() {
15156
+ var writer = new jspb.BinaryWriter();
15157
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.serializeBinaryToWriter(this, writer);
15158
+ return writer.getResultBuffer();
15159
+ };
15160
+
15161
+
15162
+ /**
15163
+ * Serializes the given message to binary data (in protobuf wire
15164
+ * format), writing to the given BinaryWriter.
15165
+ * @param {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} message
15166
+ * @param {!jspb.BinaryWriter} writer
15167
+ * @suppress {unusedLocalVariables} f is only used for nested messages
15168
+ */
15169
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.serializeBinaryToWriter = function(message, writer) {
15170
+ var f = undefined;
15171
+ f = message.getAll();
15172
+ if (f) {
15173
+ writer.writeBool(
15174
+ 1,
15175
+ f
15176
+ );
15177
+ }
15178
+ };
15179
+
15180
+
15181
+ /**
15182
+ * optional bool all = 1;
15183
+ * @return {boolean}
15184
+ */
15185
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.getAll = function() {
15186
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
15187
+ };
15188
+
15189
+
15190
+ /**
15191
+ * @param {boolean} value
15192
+ * @return {!proto.lansweeper.multitenant.v1.AllProfilesExistResponse} returns this
15193
+ */
15194
+ proto.lansweeper.multitenant.v1.AllProfilesExistResponse.prototype.setAll = function(value) {
15195
+ return jspb.Message.setProto3BooleanField(this, 1, value);
15196
+ };
15197
+
15198
+
14479
15199
  /**
14480
15200
  * @enum {number}
14481
15201
  */