@lansweeper/multitenant-api-grpc 0.4.3 → 0.4.5

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.
@@ -20,11 +20,15 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.AuthorizedSitesResponse', nul
20
20
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdRequest', null, global);
21
21
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdRequest.UserInfo', null, global);
22
22
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdResponse', null, global);
23
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest', null, global);
24
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse', null, global);
23
25
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallRequest', null, global);
24
26
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallResponse', null, global);
25
27
  goog.exportSymbol('proto.lansweeper.multitenant.v1.DisableWebhookEmailRequest', null, global);
26
28
  goog.exportSymbol('proto.lansweeper.multitenant.v1.DisableWebhookEmailRequest.WebhookError', null, global);
27
29
  goog.exportSymbol('proto.lansweeper.multitenant.v1.DisableWebhookEmailResponse', null, global);
30
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest', null, global);
31
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse', null, global);
28
32
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest', null, global);
29
33
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse', null, global);
30
34
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest', null, global);
@@ -1140,6 +1144,90 @@ if (goog.DEBUG && !COMPILED) {
1140
1144
  */
1141
1145
  proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.displayName = 'proto.lansweeper.multitenant.v1.AuthorizedSitesResponse';
1142
1146
  }
1147
+ /**
1148
+ * Generated by JsPbCodeGenerator.
1149
+ * @param {Array=} opt_data Optional initial data array, typically from a
1150
+ * server response, or constructed directly in Javascript. The array is used
1151
+ * in place and becomes part of the constructed object. It is not cloned.
1152
+ * If no data is provided, the constructed object will be empty, but still
1153
+ * valid.
1154
+ * @extends {jspb.Message}
1155
+ * @constructor
1156
+ */
1157
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest = function(opt_data) {
1158
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1159
+ };
1160
+ goog.inherits(proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest, jspb.Message);
1161
+ if (goog.DEBUG && !COMPILED) {
1162
+ /**
1163
+ * @public
1164
+ * @override
1165
+ */
1166
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.displayName = 'proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest';
1167
+ }
1168
+ /**
1169
+ * Generated by JsPbCodeGenerator.
1170
+ * @param {Array=} opt_data Optional initial data array, typically from a
1171
+ * server response, or constructed directly in Javascript. The array is used
1172
+ * in place and becomes part of the constructed object. It is not cloned.
1173
+ * If no data is provided, the constructed object will be empty, but still
1174
+ * valid.
1175
+ * @extends {jspb.Message}
1176
+ * @constructor
1177
+ */
1178
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse = function(opt_data) {
1179
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.repeatedFields_, null);
1180
+ };
1181
+ goog.inherits(proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse, jspb.Message);
1182
+ if (goog.DEBUG && !COMPILED) {
1183
+ /**
1184
+ * @public
1185
+ * @override
1186
+ */
1187
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.displayName = 'proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse';
1188
+ }
1189
+ /**
1190
+ * Generated by JsPbCodeGenerator.
1191
+ * @param {Array=} opt_data Optional initial data array, typically from a
1192
+ * server response, or constructed directly in Javascript. The array is used
1193
+ * in place and becomes part of the constructed object. It is not cloned.
1194
+ * If no data is provided, the constructed object will be empty, but still
1195
+ * valid.
1196
+ * @extends {jspb.Message}
1197
+ * @constructor
1198
+ */
1199
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest = function(opt_data) {
1200
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1201
+ };
1202
+ goog.inherits(proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest, jspb.Message);
1203
+ if (goog.DEBUG && !COMPILED) {
1204
+ /**
1205
+ * @public
1206
+ * @override
1207
+ */
1208
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.displayName = 'proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest';
1209
+ }
1210
+ /**
1211
+ * Generated by JsPbCodeGenerator.
1212
+ * @param {Array=} opt_data Optional initial data array, typically from a
1213
+ * server response, or constructed directly in Javascript. The array is used
1214
+ * in place and becomes part of the constructed object. It is not cloned.
1215
+ * If no data is provided, the constructed object will be empty, but still
1216
+ * valid.
1217
+ * @extends {jspb.Message}
1218
+ * @constructor
1219
+ */
1220
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse = function(opt_data) {
1221
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.repeatedFields_, null);
1222
+ };
1223
+ goog.inherits(proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse, jspb.Message);
1224
+ if (goog.DEBUG && !COMPILED) {
1225
+ /**
1226
+ * @public
1227
+ * @override
1228
+ */
1229
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.displayName = 'proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse';
1230
+ }
1143
1231
 
1144
1232
 
1145
1233
 
@@ -10596,6 +10684,610 @@ proto.lansweeper.multitenant.v1.AuthorizedSitesResponse.prototype.clearSiteList
10596
10684
  };
10597
10685
 
10598
10686
 
10687
+
10688
+
10689
+
10690
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10691
+ /**
10692
+ * Creates an object representation of this proto.
10693
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10694
+ * Optional fields that are not set will be set to undefined.
10695
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10696
+ * For the list of reserved names please see:
10697
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10698
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10699
+ * JSPB instance for transitional soy proto support:
10700
+ * http://goto/soy-param-migration
10701
+ * @return {!Object}
10702
+ */
10703
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.prototype.toObject = function(opt_includeInstance) {
10704
+ return proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.toObject(opt_includeInstance, this);
10705
+ };
10706
+
10707
+
10708
+ /**
10709
+ * Static version of the {@see toObject} method.
10710
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10711
+ * the JSPB instance for transitional soy proto support:
10712
+ * http://goto/soy-param-migration
10713
+ * @param {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest} msg The msg instance to transform.
10714
+ * @return {!Object}
10715
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10716
+ */
10717
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.toObject = function(includeInstance, msg) {
10718
+ var f, obj = {
10719
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, "")
10720
+ };
10721
+
10722
+ if (includeInstance) {
10723
+ obj.$jspbMessageInstance = msg;
10724
+ }
10725
+ return obj;
10726
+ };
10727
+ }
10728
+
10729
+
10730
+ /**
10731
+ * Deserializes binary data (in protobuf wire format).
10732
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10733
+ * @return {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest}
10734
+ */
10735
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.deserializeBinary = function(bytes) {
10736
+ var reader = new jspb.BinaryReader(bytes);
10737
+ var msg = new proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest;
10738
+ return proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.deserializeBinaryFromReader(msg, reader);
10739
+ };
10740
+
10741
+
10742
+ /**
10743
+ * Deserializes binary data (in protobuf wire format) from the
10744
+ * given reader into the given message object.
10745
+ * @param {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest} msg The message object to deserialize into.
10746
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10747
+ * @return {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest}
10748
+ */
10749
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.deserializeBinaryFromReader = function(msg, reader) {
10750
+ while (reader.nextField()) {
10751
+ if (reader.isEndGroup()) {
10752
+ break;
10753
+ }
10754
+ var field = reader.getFieldNumber();
10755
+ switch (field) {
10756
+ case 1:
10757
+ var value = /** @type {string} */ (reader.readString());
10758
+ msg.setSiteId(value);
10759
+ break;
10760
+ default:
10761
+ reader.skipField();
10762
+ break;
10763
+ }
10764
+ }
10765
+ return msg;
10766
+ };
10767
+
10768
+
10769
+ /**
10770
+ * Serializes the message to binary data (in protobuf wire format).
10771
+ * @return {!Uint8Array}
10772
+ */
10773
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.prototype.serializeBinary = function() {
10774
+ var writer = new jspb.BinaryWriter();
10775
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.serializeBinaryToWriter(this, writer);
10776
+ return writer.getResultBuffer();
10777
+ };
10778
+
10779
+
10780
+ /**
10781
+ * Serializes the given message to binary data (in protobuf wire
10782
+ * format), writing to the given BinaryWriter.
10783
+ * @param {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest} message
10784
+ * @param {!jspb.BinaryWriter} writer
10785
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10786
+ */
10787
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.serializeBinaryToWriter = function(message, writer) {
10788
+ var f = undefined;
10789
+ f = message.getSiteId();
10790
+ if (f.length > 0) {
10791
+ writer.writeString(
10792
+ 1,
10793
+ f
10794
+ );
10795
+ }
10796
+ };
10797
+
10798
+
10799
+ /**
10800
+ * optional string site_id = 1;
10801
+ * @return {string}
10802
+ */
10803
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.prototype.getSiteId = function() {
10804
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
10805
+ };
10806
+
10807
+
10808
+ /**
10809
+ * @param {string} value
10810
+ * @return {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest} returns this
10811
+ */
10812
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdRequest.prototype.setSiteId = function(value) {
10813
+ return jspb.Message.setProto3StringField(this, 1, value);
10814
+ };
10815
+
10816
+
10817
+
10818
+ /**
10819
+ * List of repeated fields within this message type.
10820
+ * @private {!Array<number>}
10821
+ * @const
10822
+ */
10823
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.repeatedFields_ = [1];
10824
+
10825
+
10826
+
10827
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10828
+ /**
10829
+ * Creates an object representation of this proto.
10830
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10831
+ * Optional fields that are not set will be set to undefined.
10832
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10833
+ * For the list of reserved names please see:
10834
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10835
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10836
+ * JSPB instance for transitional soy proto support:
10837
+ * http://goto/soy-param-migration
10838
+ * @return {!Object}
10839
+ */
10840
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.prototype.toObject = function(opt_includeInstance) {
10841
+ return proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.toObject(opt_includeInstance, this);
10842
+ };
10843
+
10844
+
10845
+ /**
10846
+ * Static version of the {@see toObject} method.
10847
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10848
+ * the JSPB instance for transitional soy proto support:
10849
+ * http://goto/soy-param-migration
10850
+ * @param {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse} msg The msg instance to transform.
10851
+ * @return {!Object}
10852
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10853
+ */
10854
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.toObject = function(includeInstance, msg) {
10855
+ var f, obj = {
10856
+ accountIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
10857
+ };
10858
+
10859
+ if (includeInstance) {
10860
+ obj.$jspbMessageInstance = msg;
10861
+ }
10862
+ return obj;
10863
+ };
10864
+ }
10865
+
10866
+
10867
+ /**
10868
+ * Deserializes binary data (in protobuf wire format).
10869
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
10870
+ * @return {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse}
10871
+ */
10872
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.deserializeBinary = function(bytes) {
10873
+ var reader = new jspb.BinaryReader(bytes);
10874
+ var msg = new proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse;
10875
+ return proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.deserializeBinaryFromReader(msg, reader);
10876
+ };
10877
+
10878
+
10879
+ /**
10880
+ * Deserializes binary data (in protobuf wire format) from the
10881
+ * given reader into the given message object.
10882
+ * @param {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse} msg The message object to deserialize into.
10883
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10884
+ * @return {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse}
10885
+ */
10886
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.deserializeBinaryFromReader = function(msg, reader) {
10887
+ while (reader.nextField()) {
10888
+ if (reader.isEndGroup()) {
10889
+ break;
10890
+ }
10891
+ var field = reader.getFieldNumber();
10892
+ switch (field) {
10893
+ case 1:
10894
+ var value = /** @type {string} */ (reader.readString());
10895
+ msg.addAccountIds(value);
10896
+ break;
10897
+ default:
10898
+ reader.skipField();
10899
+ break;
10900
+ }
10901
+ }
10902
+ return msg;
10903
+ };
10904
+
10905
+
10906
+ /**
10907
+ * Serializes the message to binary data (in protobuf wire format).
10908
+ * @return {!Uint8Array}
10909
+ */
10910
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.prototype.serializeBinary = function() {
10911
+ var writer = new jspb.BinaryWriter();
10912
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.serializeBinaryToWriter(this, writer);
10913
+ return writer.getResultBuffer();
10914
+ };
10915
+
10916
+
10917
+ /**
10918
+ * Serializes the given message to binary data (in protobuf wire
10919
+ * format), writing to the given BinaryWriter.
10920
+ * @param {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse} message
10921
+ * @param {!jspb.BinaryWriter} writer
10922
+ * @suppress {unusedLocalVariables} f is only used for nested messages
10923
+ */
10924
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.serializeBinaryToWriter = function(message, writer) {
10925
+ var f = undefined;
10926
+ f = message.getAccountIdsList();
10927
+ if (f.length > 0) {
10928
+ writer.writeRepeatedString(
10929
+ 1,
10930
+ f
10931
+ );
10932
+ }
10933
+ };
10934
+
10935
+
10936
+ /**
10937
+ * repeated string account_ids = 1;
10938
+ * @return {!Array<string>}
10939
+ */
10940
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.prototype.getAccountIdsList = function() {
10941
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
10942
+ };
10943
+
10944
+
10945
+ /**
10946
+ * @param {!Array<string>} value
10947
+ * @return {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse} returns this
10948
+ */
10949
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.prototype.setAccountIdsList = function(value) {
10950
+ return jspb.Message.setField(this, 1, value || []);
10951
+ };
10952
+
10953
+
10954
+ /**
10955
+ * @param {string} value
10956
+ * @param {number=} opt_index
10957
+ * @return {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse} returns this
10958
+ */
10959
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.prototype.addAccountIds = function(value, opt_index) {
10960
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
10961
+ };
10962
+
10963
+
10964
+ /**
10965
+ * Clears the list making it empty but non-null.
10966
+ * @return {!proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse} returns this
10967
+ */
10968
+ proto.lansweeper.multitenant.v1.GetAccountIdsBySiteIdResponse.prototype.clearAccountIdsList = function() {
10969
+ return this.setAccountIdsList([]);
10970
+ };
10971
+
10972
+
10973
+
10974
+
10975
+
10976
+ if (jspb.Message.GENERATE_TO_OBJECT) {
10977
+ /**
10978
+ * Creates an object representation of this proto.
10979
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
10980
+ * Optional fields that are not set will be set to undefined.
10981
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
10982
+ * For the list of reserved names please see:
10983
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
10984
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
10985
+ * JSPB instance for transitional soy proto support:
10986
+ * http://goto/soy-param-migration
10987
+ * @return {!Object}
10988
+ */
10989
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.prototype.toObject = function(opt_includeInstance) {
10990
+ return proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.toObject(opt_includeInstance, this);
10991
+ };
10992
+
10993
+
10994
+ /**
10995
+ * Static version of the {@see toObject} method.
10996
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10997
+ * the JSPB instance for transitional soy proto support:
10998
+ * http://goto/soy-param-migration
10999
+ * @param {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest} msg The msg instance to transform.
11000
+ * @return {!Object}
11001
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11002
+ */
11003
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.toObject = function(includeInstance, msg) {
11004
+ var f, obj = {
11005
+ applicationId: jspb.Message.getFieldWithDefault(msg, 1, ""),
11006
+ managerId: jspb.Message.getFieldWithDefault(msg, 2, "")
11007
+ };
11008
+
11009
+ if (includeInstance) {
11010
+ obj.$jspbMessageInstance = msg;
11011
+ }
11012
+ return obj;
11013
+ };
11014
+ }
11015
+
11016
+
11017
+ /**
11018
+ * Deserializes binary data (in protobuf wire format).
11019
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11020
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest}
11021
+ */
11022
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.deserializeBinary = function(bytes) {
11023
+ var reader = new jspb.BinaryReader(bytes);
11024
+ var msg = new proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest;
11025
+ return proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.deserializeBinaryFromReader(msg, reader);
11026
+ };
11027
+
11028
+
11029
+ /**
11030
+ * Deserializes binary data (in protobuf wire format) from the
11031
+ * given reader into the given message object.
11032
+ * @param {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest} msg The message object to deserialize into.
11033
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11034
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest}
11035
+ */
11036
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.deserializeBinaryFromReader = function(msg, reader) {
11037
+ while (reader.nextField()) {
11038
+ if (reader.isEndGroup()) {
11039
+ break;
11040
+ }
11041
+ var field = reader.getFieldNumber();
11042
+ switch (field) {
11043
+ case 1:
11044
+ var value = /** @type {string} */ (reader.readString());
11045
+ msg.setApplicationId(value);
11046
+ break;
11047
+ case 2:
11048
+ var value = /** @type {string} */ (reader.readString());
11049
+ msg.setManagerId(value);
11050
+ break;
11051
+ default:
11052
+ reader.skipField();
11053
+ break;
11054
+ }
11055
+ }
11056
+ return msg;
11057
+ };
11058
+
11059
+
11060
+ /**
11061
+ * Serializes the message to binary data (in protobuf wire format).
11062
+ * @return {!Uint8Array}
11063
+ */
11064
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.prototype.serializeBinary = function() {
11065
+ var writer = new jspb.BinaryWriter();
11066
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.serializeBinaryToWriter(this, writer);
11067
+ return writer.getResultBuffer();
11068
+ };
11069
+
11070
+
11071
+ /**
11072
+ * Serializes the given message to binary data (in protobuf wire
11073
+ * format), writing to the given BinaryWriter.
11074
+ * @param {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest} message
11075
+ * @param {!jspb.BinaryWriter} writer
11076
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11077
+ */
11078
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.serializeBinaryToWriter = function(message, writer) {
11079
+ var f = undefined;
11080
+ f = message.getApplicationId();
11081
+ if (f.length > 0) {
11082
+ writer.writeString(
11083
+ 1,
11084
+ f
11085
+ );
11086
+ }
11087
+ f = message.getManagerId();
11088
+ if (f.length > 0) {
11089
+ writer.writeString(
11090
+ 2,
11091
+ f
11092
+ );
11093
+ }
11094
+ };
11095
+
11096
+
11097
+ /**
11098
+ * optional string application_id = 1;
11099
+ * @return {string}
11100
+ */
11101
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.prototype.getApplicationId = function() {
11102
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
11103
+ };
11104
+
11105
+
11106
+ /**
11107
+ * @param {string} value
11108
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest} returns this
11109
+ */
11110
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.prototype.setApplicationId = function(value) {
11111
+ return jspb.Message.setProto3StringField(this, 1, value);
11112
+ };
11113
+
11114
+
11115
+ /**
11116
+ * optional string manager_id = 2;
11117
+ * @return {string}
11118
+ */
11119
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.prototype.getManagerId = function() {
11120
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11121
+ };
11122
+
11123
+
11124
+ /**
11125
+ * @param {string} value
11126
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest} returns this
11127
+ */
11128
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationRequest.prototype.setManagerId = function(value) {
11129
+ return jspb.Message.setProto3StringField(this, 2, value);
11130
+ };
11131
+
11132
+
11133
+
11134
+ /**
11135
+ * List of repeated fields within this message type.
11136
+ * @private {!Array<number>}
11137
+ * @const
11138
+ */
11139
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.repeatedFields_ = [1];
11140
+
11141
+
11142
+
11143
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11144
+ /**
11145
+ * Creates an object representation of this proto.
11146
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11147
+ * Optional fields that are not set will be set to undefined.
11148
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11149
+ * For the list of reserved names please see:
11150
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11151
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11152
+ * JSPB instance for transitional soy proto support:
11153
+ * http://goto/soy-param-migration
11154
+ * @return {!Object}
11155
+ */
11156
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.prototype.toObject = function(opt_includeInstance) {
11157
+ return proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.toObject(opt_includeInstance, this);
11158
+ };
11159
+
11160
+
11161
+ /**
11162
+ * Static version of the {@see toObject} method.
11163
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11164
+ * the JSPB instance for transitional soy proto support:
11165
+ * http://goto/soy-param-migration
11166
+ * @param {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse} msg The msg instance to transform.
11167
+ * @return {!Object}
11168
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11169
+ */
11170
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.toObject = function(includeInstance, msg) {
11171
+ var f, obj = {
11172
+ isManagerList: (f = jspb.Message.getRepeatedBooleanField(msg, 1)) == null ? undefined : f
11173
+ };
11174
+
11175
+ if (includeInstance) {
11176
+ obj.$jspbMessageInstance = msg;
11177
+ }
11178
+ return obj;
11179
+ };
11180
+ }
11181
+
11182
+
11183
+ /**
11184
+ * Deserializes binary data (in protobuf wire format).
11185
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11186
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse}
11187
+ */
11188
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.deserializeBinary = function(bytes) {
11189
+ var reader = new jspb.BinaryReader(bytes);
11190
+ var msg = new proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse;
11191
+ return proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.deserializeBinaryFromReader(msg, reader);
11192
+ };
11193
+
11194
+
11195
+ /**
11196
+ * Deserializes binary data (in protobuf wire format) from the
11197
+ * given reader into the given message object.
11198
+ * @param {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse} msg The message object to deserialize into.
11199
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11200
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse}
11201
+ */
11202
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.deserializeBinaryFromReader = function(msg, reader) {
11203
+ while (reader.nextField()) {
11204
+ if (reader.isEndGroup()) {
11205
+ break;
11206
+ }
11207
+ var field = reader.getFieldNumber();
11208
+ switch (field) {
11209
+ case 1:
11210
+ var values = /** @type {!Array<boolean>} */ (reader.isDelimited() ? reader.readPackedBool() : [reader.readBool()]);
11211
+ for (var i = 0; i < values.length; i++) {
11212
+ msg.addIsManager(values[i]);
11213
+ }
11214
+ break;
11215
+ default:
11216
+ reader.skipField();
11217
+ break;
11218
+ }
11219
+ }
11220
+ return msg;
11221
+ };
11222
+
11223
+
11224
+ /**
11225
+ * Serializes the message to binary data (in protobuf wire format).
11226
+ * @return {!Uint8Array}
11227
+ */
11228
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.prototype.serializeBinary = function() {
11229
+ var writer = new jspb.BinaryWriter();
11230
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.serializeBinaryToWriter(this, writer);
11231
+ return writer.getResultBuffer();
11232
+ };
11233
+
11234
+
11235
+ /**
11236
+ * Serializes the given message to binary data (in protobuf wire
11237
+ * format), writing to the given BinaryWriter.
11238
+ * @param {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse} message
11239
+ * @param {!jspb.BinaryWriter} writer
11240
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11241
+ */
11242
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.serializeBinaryToWriter = function(message, writer) {
11243
+ var f = undefined;
11244
+ f = message.getIsManagerList();
11245
+ if (f.length > 0) {
11246
+ writer.writePackedBool(
11247
+ 1,
11248
+ f
11249
+ );
11250
+ }
11251
+ };
11252
+
11253
+
11254
+ /**
11255
+ * repeated bool is_manager = 1;
11256
+ * @return {!Array<boolean>}
11257
+ */
11258
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.prototype.getIsManagerList = function() {
11259
+ return /** @type {!Array<boolean>} */ (jspb.Message.getRepeatedBooleanField(this, 1));
11260
+ };
11261
+
11262
+
11263
+ /**
11264
+ * @param {!Array<boolean>} value
11265
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse} returns this
11266
+ */
11267
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.prototype.setIsManagerList = function(value) {
11268
+ return jspb.Message.setField(this, 1, value || []);
11269
+ };
11270
+
11271
+
11272
+ /**
11273
+ * @param {boolean} value
11274
+ * @param {number=} opt_index
11275
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse} returns this
11276
+ */
11277
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.prototype.addIsManager = function(value, opt_index) {
11278
+ return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
11279
+ };
11280
+
11281
+
11282
+ /**
11283
+ * Clears the list making it empty but non-null.
11284
+ * @return {!proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse} returns this
11285
+ */
11286
+ proto.lansweeper.multitenant.v1.CheckManagerInApplicationResponse.prototype.clearIsManagerList = function() {
11287
+ return this.setIsManagerList([]);
11288
+ };
11289
+
11290
+
10599
11291
  /**
10600
11292
  * @enum {number}
10601
11293
  */