@lansweeper/multitenant-api-grpc 0.1.0 → 0.1.2

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.
@@ -19,6 +19,8 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdR
19
19
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CheckAccessToSiteByAccountIdResponse', null, global);
20
20
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallRequest', null, global);
21
21
  goog.exportSymbol('proto.lansweeper.multitenant.v1.CreateInstallResponse', null, global);
22
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest', null, global);
23
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse', null, global);
22
24
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdRequest', null, global);
23
25
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallbyClientIdResponse', null, global);
24
26
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountBySiteRequest', null, global);
@@ -26,7 +28,9 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.GetInstallsCountResponse', nu
26
28
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdRequest', null, global);
27
29
  goog.exportSymbol('proto.lansweeper.multitenant.v1.GetPreviewAccountByIdResponse', null, global);
28
30
  goog.exportSymbol('proto.lansweeper.multitenant.v1.Install', null, global);
31
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.Install.InstallState', null, global);
29
32
  goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallCredentials', null, global);
33
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.InstallStateValue', null, global);
30
34
  goog.exportSymbol('proto.lansweeper.multitenant.v1.ListProfilesByAccountIdRequest', null, global);
31
35
  goog.exportSymbol('proto.lansweeper.multitenant.v1.ListProfilesByAccountIdResponse', null, global);
32
36
  goog.exportSymbol('proto.lansweeper.multitenant.v1.PatchSiteModeRequest', null, global);
@@ -34,6 +38,9 @@ goog.exportSymbol('proto.lansweeper.multitenant.v1.PatchSiteModeResponse', null,
34
38
  goog.exportSymbol('proto.lansweeper.multitenant.v1.PreviewAccount', null, global);
35
39
  goog.exportSymbol('proto.lansweeper.multitenant.v1.PreviewSite', null, global);
36
40
  goog.exportSymbol('proto.lansweeper.multitenant.v1.Profile', null, global);
41
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest', null, global);
42
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse', null, global);
43
+ goog.exportSymbol('proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result', null, global);
37
44
  goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdRequest', null, global);
38
45
  goog.exportSymbol('proto.lansweeper.multitenant.v1.RotateInstallByClientIdResponse', null, global);
39
46
  goog.exportSymbol('proto.lansweeper.multitenant.v1.SiteMode', null, global);
@@ -294,6 +301,27 @@ if (goog.DEBUG && !COMPILED) {
294
301
  */
295
302
  proto.lansweeper.multitenant.v1.Install.displayName = 'proto.lansweeper.multitenant.v1.Install';
296
303
  }
304
+ /**
305
+ * Generated by JsPbCodeGenerator.
306
+ * @param {Array=} opt_data Optional initial data array, typically from a
307
+ * server response, or constructed directly in Javascript. The array is used
308
+ * in place and becomes part of the constructed object. It is not cloned.
309
+ * If no data is provided, the constructed object will be empty, but still
310
+ * valid.
311
+ * @extends {jspb.Message}
312
+ * @constructor
313
+ */
314
+ proto.lansweeper.multitenant.v1.Install.InstallState = function(opt_data) {
315
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
316
+ };
317
+ goog.inherits(proto.lansweeper.multitenant.v1.Install.InstallState, jspb.Message);
318
+ if (goog.DEBUG && !COMPILED) {
319
+ /**
320
+ * @public
321
+ * @override
322
+ */
323
+ proto.lansweeper.multitenant.v1.Install.InstallState.displayName = 'proto.lansweeper.multitenant.v1.Install.InstallState';
324
+ }
297
325
  /**
298
326
  * Generated by JsPbCodeGenerator.
299
327
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -588,6 +616,111 @@ if (goog.DEBUG && !COMPILED) {
588
616
  */
589
617
  proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.displayName = 'proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse';
590
618
  }
619
+ /**
620
+ * Generated by JsPbCodeGenerator.
621
+ * @param {Array=} opt_data Optional initial data array, typically from a
622
+ * server response, or constructed directly in Javascript. The array is used
623
+ * in place and becomes part of the constructed object. It is not cloned.
624
+ * If no data is provided, the constructed object will be empty, but still
625
+ * valid.
626
+ * @extends {jspb.Message}
627
+ * @constructor
628
+ */
629
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest = function(opt_data) {
630
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.repeatedFields_, null);
631
+ };
632
+ goog.inherits(proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest, jspb.Message);
633
+ if (goog.DEBUG && !COMPILED) {
634
+ /**
635
+ * @public
636
+ * @override
637
+ */
638
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.displayName = 'proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest';
639
+ }
640
+ /**
641
+ * Generated by JsPbCodeGenerator.
642
+ * @param {Array=} opt_data Optional initial data array, typically from a
643
+ * server response, or constructed directly in Javascript. The array is used
644
+ * in place and becomes part of the constructed object. It is not cloned.
645
+ * If no data is provided, the constructed object will be empty, but still
646
+ * valid.
647
+ * @extends {jspb.Message}
648
+ * @constructor
649
+ */
650
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse = function(opt_data) {
651
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.repeatedFields_, null);
652
+ };
653
+ goog.inherits(proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse, jspb.Message);
654
+ if (goog.DEBUG && !COMPILED) {
655
+ /**
656
+ * @public
657
+ * @override
658
+ */
659
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.displayName = 'proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse';
660
+ }
661
+ /**
662
+ * Generated by JsPbCodeGenerator.
663
+ * @param {Array=} opt_data Optional initial data array, typically from a
664
+ * server response, or constructed directly in Javascript. The array is used
665
+ * in place and becomes part of the constructed object. It is not cloned.
666
+ * If no data is provided, the constructed object will be empty, but still
667
+ * valid.
668
+ * @extends {jspb.Message}
669
+ * @constructor
670
+ */
671
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result = function(opt_data) {
672
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
673
+ };
674
+ goog.inherits(proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result, jspb.Message);
675
+ if (goog.DEBUG && !COMPILED) {
676
+ /**
677
+ * @public
678
+ * @override
679
+ */
680
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.displayName = 'proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result';
681
+ }
682
+ /**
683
+ * Generated by JsPbCodeGenerator.
684
+ * @param {Array=} opt_data Optional initial data array, typically from a
685
+ * server response, or constructed directly in Javascript. The array is used
686
+ * in place and becomes part of the constructed object. It is not cloned.
687
+ * If no data is provided, the constructed object will be empty, but still
688
+ * valid.
689
+ * @extends {jspb.Message}
690
+ * @constructor
691
+ */
692
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest = function(opt_data) {
693
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
694
+ };
695
+ goog.inherits(proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest, jspb.Message);
696
+ if (goog.DEBUG && !COMPILED) {
697
+ /**
698
+ * @public
699
+ * @override
700
+ */
701
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.displayName = 'proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest';
702
+ }
703
+ /**
704
+ * Generated by JsPbCodeGenerator.
705
+ * @param {Array=} opt_data Optional initial data array, typically from a
706
+ * server response, or constructed directly in Javascript. The array is used
707
+ * in place and becomes part of the constructed object. It is not cloned.
708
+ * If no data is provided, the constructed object will be empty, but still
709
+ * valid.
710
+ * @extends {jspb.Message}
711
+ * @constructor
712
+ */
713
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse = function(opt_data) {
714
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.repeatedFields_, null);
715
+ };
716
+ goog.inherits(proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse, jspb.Message);
717
+ if (goog.DEBUG && !COMPILED) {
718
+ /**
719
+ * @public
720
+ * @override
721
+ */
722
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.displayName = 'proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse';
723
+ }
591
724
 
592
725
 
593
726
 
@@ -2609,7 +2742,9 @@ proto.lansweeper.multitenant.v1.Install.toObject = function(includeInstance, msg
2609
2742
  description: jspb.Message.getFieldWithDefault(msg, 4, ""),
2610
2743
  status: jspb.Message.getFieldWithDefault(msg, 5, ""),
2611
2744
  fqdn: jspb.Message.getFieldWithDefault(msg, 6, ""),
2612
- createdById: jspb.Message.getFieldWithDefault(msg, 7, "")
2745
+ createdById: jspb.Message.getFieldWithDefault(msg, 7, ""),
2746
+ state: (f = msg.getState()) && proto.lansweeper.multitenant.v1.Install.InstallState.toObject(includeInstance, f),
2747
+ createdAt: jspb.Message.getFieldWithDefault(msg, 10, "")
2613
2748
  };
2614
2749
 
2615
2750
  if (includeInstance) {
@@ -2678,6 +2813,15 @@ proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader = function(m
2678
2813
  var value = /** @type {string} */ (reader.readString());
2679
2814
  msg.setCreatedById(value);
2680
2815
  break;
2816
+ case 9:
2817
+ var value = new proto.lansweeper.multitenant.v1.Install.InstallState;
2818
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.Install.InstallState.deserializeBinaryFromReader);
2819
+ msg.setState(value);
2820
+ break;
2821
+ case 10:
2822
+ var value = /** @type {string} */ (reader.readString());
2823
+ msg.setCreatedAt(value);
2824
+ break;
2681
2825
  default:
2682
2826
  reader.skipField();
2683
2827
  break;
@@ -2763,6 +2907,151 @@ proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter = function(messa
2763
2907
  f
2764
2908
  );
2765
2909
  }
2910
+ f = message.getState();
2911
+ if (f != null) {
2912
+ writer.writeMessage(
2913
+ 9,
2914
+ f,
2915
+ proto.lansweeper.multitenant.v1.Install.InstallState.serializeBinaryToWriter
2916
+ );
2917
+ }
2918
+ f = message.getCreatedAt();
2919
+ if (f.length > 0) {
2920
+ writer.writeString(
2921
+ 10,
2922
+ f
2923
+ );
2924
+ }
2925
+ };
2926
+
2927
+
2928
+
2929
+
2930
+
2931
+ if (jspb.Message.GENERATE_TO_OBJECT) {
2932
+ /**
2933
+ * Creates an object representation of this proto.
2934
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
2935
+ * Optional fields that are not set will be set to undefined.
2936
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2937
+ * For the list of reserved names please see:
2938
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2939
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2940
+ * JSPB instance for transitional soy proto support:
2941
+ * http://goto/soy-param-migration
2942
+ * @return {!Object}
2943
+ */
2944
+ proto.lansweeper.multitenant.v1.Install.InstallState.prototype.toObject = function(opt_includeInstance) {
2945
+ return proto.lansweeper.multitenant.v1.Install.InstallState.toObject(opt_includeInstance, this);
2946
+ };
2947
+
2948
+
2949
+ /**
2950
+ * Static version of the {@see toObject} method.
2951
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2952
+ * the JSPB instance for transitional soy proto support:
2953
+ * http://goto/soy-param-migration
2954
+ * @param {!proto.lansweeper.multitenant.v1.Install.InstallState} msg The msg instance to transform.
2955
+ * @return {!Object}
2956
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2957
+ */
2958
+ proto.lansweeper.multitenant.v1.Install.InstallState.toObject = function(includeInstance, msg) {
2959
+ var f, obj = {
2960
+ value: jspb.Message.getFieldWithDefault(msg, 1, 0)
2961
+ };
2962
+
2963
+ if (includeInstance) {
2964
+ obj.$jspbMessageInstance = msg;
2965
+ }
2966
+ return obj;
2967
+ };
2968
+ }
2969
+
2970
+
2971
+ /**
2972
+ * Deserializes binary data (in protobuf wire format).
2973
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
2974
+ * @return {!proto.lansweeper.multitenant.v1.Install.InstallState}
2975
+ */
2976
+ proto.lansweeper.multitenant.v1.Install.InstallState.deserializeBinary = function(bytes) {
2977
+ var reader = new jspb.BinaryReader(bytes);
2978
+ var msg = new proto.lansweeper.multitenant.v1.Install.InstallState;
2979
+ return proto.lansweeper.multitenant.v1.Install.InstallState.deserializeBinaryFromReader(msg, reader);
2980
+ };
2981
+
2982
+
2983
+ /**
2984
+ * Deserializes binary data (in protobuf wire format) from the
2985
+ * given reader into the given message object.
2986
+ * @param {!proto.lansweeper.multitenant.v1.Install.InstallState} msg The message object to deserialize into.
2987
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
2988
+ * @return {!proto.lansweeper.multitenant.v1.Install.InstallState}
2989
+ */
2990
+ proto.lansweeper.multitenant.v1.Install.InstallState.deserializeBinaryFromReader = function(msg, reader) {
2991
+ while (reader.nextField()) {
2992
+ if (reader.isEndGroup()) {
2993
+ break;
2994
+ }
2995
+ var field = reader.getFieldNumber();
2996
+ switch (field) {
2997
+ case 1:
2998
+ var value = /** @type {!proto.lansweeper.multitenant.v1.InstallStateValue} */ (reader.readEnum());
2999
+ msg.setValue(value);
3000
+ break;
3001
+ default:
3002
+ reader.skipField();
3003
+ break;
3004
+ }
3005
+ }
3006
+ return msg;
3007
+ };
3008
+
3009
+
3010
+ /**
3011
+ * Serializes the message to binary data (in protobuf wire format).
3012
+ * @return {!Uint8Array}
3013
+ */
3014
+ proto.lansweeper.multitenant.v1.Install.InstallState.prototype.serializeBinary = function() {
3015
+ var writer = new jspb.BinaryWriter();
3016
+ proto.lansweeper.multitenant.v1.Install.InstallState.serializeBinaryToWriter(this, writer);
3017
+ return writer.getResultBuffer();
3018
+ };
3019
+
3020
+
3021
+ /**
3022
+ * Serializes the given message to binary data (in protobuf wire
3023
+ * format), writing to the given BinaryWriter.
3024
+ * @param {!proto.lansweeper.multitenant.v1.Install.InstallState} message
3025
+ * @param {!jspb.BinaryWriter} writer
3026
+ * @suppress {unusedLocalVariables} f is only used for nested messages
3027
+ */
3028
+ proto.lansweeper.multitenant.v1.Install.InstallState.serializeBinaryToWriter = function(message, writer) {
3029
+ var f = undefined;
3030
+ f = message.getValue();
3031
+ if (f !== 0.0) {
3032
+ writer.writeEnum(
3033
+ 1,
3034
+ f
3035
+ );
3036
+ }
3037
+ };
3038
+
3039
+
3040
+ /**
3041
+ * optional InstallStateValue value = 1;
3042
+ * @return {!proto.lansweeper.multitenant.v1.InstallStateValue}
3043
+ */
3044
+ proto.lansweeper.multitenant.v1.Install.InstallState.prototype.getValue = function() {
3045
+ return /** @type {!proto.lansweeper.multitenant.v1.InstallStateValue} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
3046
+ };
3047
+
3048
+
3049
+ /**
3050
+ * @param {!proto.lansweeper.multitenant.v1.InstallStateValue} value
3051
+ * @return {!proto.lansweeper.multitenant.v1.Install.InstallState} returns this
3052
+ */
3053
+ proto.lansweeper.multitenant.v1.Install.InstallState.prototype.setValue = function(value) {
3054
+ return jspb.Message.setProto3EnumField(this, 1, value);
2766
3055
  };
2767
3056
 
2768
3057
 
@@ -2910,35 +3199,90 @@ proto.lansweeper.multitenant.v1.Install.prototype.setCreatedById = function(valu
2910
3199
  };
2911
3200
 
2912
3201
 
3202
+ /**
3203
+ * optional InstallState state = 9;
3204
+ * @return {?proto.lansweeper.multitenant.v1.Install.InstallState}
3205
+ */
3206
+ proto.lansweeper.multitenant.v1.Install.prototype.getState = function() {
3207
+ return /** @type{?proto.lansweeper.multitenant.v1.Install.InstallState} */ (
3208
+ jspb.Message.getWrapperField(this, proto.lansweeper.multitenant.v1.Install.InstallState, 9));
3209
+ };
2913
3210
 
2914
3211
 
3212
+ /**
3213
+ * @param {?proto.lansweeper.multitenant.v1.Install.InstallState|undefined} value
3214
+ * @return {!proto.lansweeper.multitenant.v1.Install} returns this
3215
+ */
3216
+ proto.lansweeper.multitenant.v1.Install.prototype.setState = function(value) {
3217
+ return jspb.Message.setWrapperField(this, 9, value);
3218
+ };
3219
+
2915
3220
 
2916
- if (jspb.Message.GENERATE_TO_OBJECT) {
2917
3221
  /**
2918
- * Creates an object representation of this proto.
2919
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
2920
- * Optional fields that are not set will be set to undefined.
2921
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
2922
- * For the list of reserved names please see:
2923
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
2924
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
2925
- * JSPB instance for transitional soy proto support:
2926
- * http://goto/soy-param-migration
2927
- * @return {!Object}
3222
+ * Clears the message field making it undefined.
3223
+ * @return {!proto.lansweeper.multitenant.v1.Install} returns this
2928
3224
  */
2929
- proto.lansweeper.multitenant.v1.InstallCredentials.prototype.toObject = function(opt_includeInstance) {
2930
- return proto.lansweeper.multitenant.v1.InstallCredentials.toObject(opt_includeInstance, this);
3225
+ proto.lansweeper.multitenant.v1.Install.prototype.clearState = function() {
3226
+ return this.setState(undefined);
2931
3227
  };
2932
3228
 
2933
3229
 
2934
3230
  /**
2935
- * Static version of the {@see toObject} method.
2936
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
2937
- * the JSPB instance for transitional soy proto support:
2938
- * http://goto/soy-param-migration
2939
- * @param {!proto.lansweeper.multitenant.v1.InstallCredentials} msg The msg instance to transform.
2940
- * @return {!Object}
2941
- * @suppress {unusedLocalVariables} f is only used for nested messages
3231
+ * Returns whether this field is set.
3232
+ * @return {boolean}
3233
+ */
3234
+ proto.lansweeper.multitenant.v1.Install.prototype.hasState = function() {
3235
+ return jspb.Message.getField(this, 9) != null;
3236
+ };
3237
+
3238
+
3239
+ /**
3240
+ * optional string created_at = 10;
3241
+ * @return {string}
3242
+ */
3243
+ proto.lansweeper.multitenant.v1.Install.prototype.getCreatedAt = function() {
3244
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
3245
+ };
3246
+
3247
+
3248
+ /**
3249
+ * @param {string} value
3250
+ * @return {!proto.lansweeper.multitenant.v1.Install} returns this
3251
+ */
3252
+ proto.lansweeper.multitenant.v1.Install.prototype.setCreatedAt = function(value) {
3253
+ return jspb.Message.setProto3StringField(this, 10, value);
3254
+ };
3255
+
3256
+
3257
+
3258
+
3259
+
3260
+ if (jspb.Message.GENERATE_TO_OBJECT) {
3261
+ /**
3262
+ * Creates an object representation of this proto.
3263
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
3264
+ * Optional fields that are not set will be set to undefined.
3265
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
3266
+ * For the list of reserved names please see:
3267
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
3268
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
3269
+ * JSPB instance for transitional soy proto support:
3270
+ * http://goto/soy-param-migration
3271
+ * @return {!Object}
3272
+ */
3273
+ proto.lansweeper.multitenant.v1.InstallCredentials.prototype.toObject = function(opt_includeInstance) {
3274
+ return proto.lansweeper.multitenant.v1.InstallCredentials.toObject(opt_includeInstance, this);
3275
+ };
3276
+
3277
+
3278
+ /**
3279
+ * Static version of the {@see toObject} method.
3280
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
3281
+ * the JSPB instance for transitional soy proto support:
3282
+ * http://goto/soy-param-migration
3283
+ * @param {!proto.lansweeper.multitenant.v1.InstallCredentials} msg The msg instance to transform.
3284
+ * @return {!Object}
3285
+ * @suppress {unusedLocalVariables} f is only used for nested messages
2942
3286
  */
2943
3287
  proto.lansweeper.multitenant.v1.InstallCredentials.toObject = function(includeInstance, msg) {
2944
3288
  var f, obj = {
@@ -5555,15 +5899,880 @@ proto.lansweeper.multitenant.v1.UnlinkInstallByClientIdResponse.prototype.setSuc
5555
5899
  };
5556
5900
 
5557
5901
 
5902
+
5558
5903
  /**
5559
- * @enum {number}
5904
+ * List of repeated fields within this message type.
5905
+ * @private {!Array<number>}
5906
+ * @const
5560
5907
  */
5561
- proto.lansweeper.multitenant.v1.SiteMode = {
5562
- UNESPECIFIED: 0,
5563
- CLOUD_NATIVE: 1,
5564
- DEMO: 2,
5565
- HYBRID: 3,
5566
- DUAL: 4
5908
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.repeatedFields_ = [2];
5909
+
5910
+
5911
+
5912
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5913
+ /**
5914
+ * Creates an object representation of this proto.
5915
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5916
+ * Optional fields that are not set will be set to undefined.
5917
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5918
+ * For the list of reserved names please see:
5919
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5920
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5921
+ * JSPB instance for transitional soy proto support:
5922
+ * http://goto/soy-param-migration
5923
+ * @return {!Object}
5924
+ */
5925
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.toObject = function(opt_includeInstance) {
5926
+ return proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.toObject(opt_includeInstance, this);
5927
+ };
5928
+
5929
+
5930
+ /**
5931
+ * Static version of the {@see toObject} method.
5932
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5933
+ * the JSPB instance for transitional soy proto support:
5934
+ * http://goto/soy-param-migration
5935
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest} msg The msg instance to transform.
5936
+ * @return {!Object}
5937
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5938
+ */
5939
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.toObject = function(includeInstance, msg) {
5940
+ var f, obj = {
5941
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
5942
+ installIdsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
5943
+ userId: jspb.Message.getFieldWithDefault(msg, 3, "")
5944
+ };
5945
+
5946
+ if (includeInstance) {
5947
+ obj.$jspbMessageInstance = msg;
5948
+ }
5949
+ return obj;
5950
+ };
5951
+ }
5952
+
5953
+
5954
+ /**
5955
+ * Deserializes binary data (in protobuf wire format).
5956
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5957
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest}
5958
+ */
5959
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.deserializeBinary = function(bytes) {
5960
+ var reader = new jspb.BinaryReader(bytes);
5961
+ var msg = new proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest;
5962
+ return proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.deserializeBinaryFromReader(msg, reader);
5963
+ };
5964
+
5965
+
5966
+ /**
5967
+ * Deserializes binary data (in protobuf wire format) from the
5968
+ * given reader into the given message object.
5969
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest} msg The message object to deserialize into.
5970
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5971
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest}
5972
+ */
5973
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.deserializeBinaryFromReader = function(msg, reader) {
5974
+ while (reader.nextField()) {
5975
+ if (reader.isEndGroup()) {
5976
+ break;
5977
+ }
5978
+ var field = reader.getFieldNumber();
5979
+ switch (field) {
5980
+ case 1:
5981
+ var value = /** @type {string} */ (reader.readString());
5982
+ msg.setSiteId(value);
5983
+ break;
5984
+ case 2:
5985
+ var value = /** @type {string} */ (reader.readString());
5986
+ msg.addInstallIds(value);
5987
+ break;
5988
+ case 3:
5989
+ var value = /** @type {string} */ (reader.readString());
5990
+ msg.setUserId(value);
5991
+ break;
5992
+ default:
5993
+ reader.skipField();
5994
+ break;
5995
+ }
5996
+ }
5997
+ return msg;
5998
+ };
5999
+
6000
+
6001
+ /**
6002
+ * Serializes the message to binary data (in protobuf wire format).
6003
+ * @return {!Uint8Array}
6004
+ */
6005
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.serializeBinary = function() {
6006
+ var writer = new jspb.BinaryWriter();
6007
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.serializeBinaryToWriter(this, writer);
6008
+ return writer.getResultBuffer();
6009
+ };
6010
+
6011
+
6012
+ /**
6013
+ * Serializes the given message to binary data (in protobuf wire
6014
+ * format), writing to the given BinaryWriter.
6015
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest} message
6016
+ * @param {!jspb.BinaryWriter} writer
6017
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6018
+ */
6019
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.serializeBinaryToWriter = function(message, writer) {
6020
+ var f = undefined;
6021
+ f = message.getSiteId();
6022
+ if (f.length > 0) {
6023
+ writer.writeString(
6024
+ 1,
6025
+ f
6026
+ );
6027
+ }
6028
+ f = message.getInstallIdsList();
6029
+ if (f.length > 0) {
6030
+ writer.writeRepeatedString(
6031
+ 2,
6032
+ f
6033
+ );
6034
+ }
6035
+ f = message.getUserId();
6036
+ if (f.length > 0) {
6037
+ writer.writeString(
6038
+ 3,
6039
+ f
6040
+ );
6041
+ }
6042
+ };
6043
+
6044
+
6045
+ /**
6046
+ * optional string site_id = 1;
6047
+ * @return {string}
6048
+ */
6049
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.getSiteId = function() {
6050
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6051
+ };
6052
+
6053
+
6054
+ /**
6055
+ * @param {string} value
6056
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest} returns this
6057
+ */
6058
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.setSiteId = function(value) {
6059
+ return jspb.Message.setProto3StringField(this, 1, value);
6060
+ };
6061
+
6062
+
6063
+ /**
6064
+ * repeated string install_ids = 2;
6065
+ * @return {!Array<string>}
6066
+ */
6067
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.getInstallIdsList = function() {
6068
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
6069
+ };
6070
+
6071
+
6072
+ /**
6073
+ * @param {!Array<string>} value
6074
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest} returns this
6075
+ */
6076
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.setInstallIdsList = function(value) {
6077
+ return jspb.Message.setField(this, 2, value || []);
6078
+ };
6079
+
6080
+
6081
+ /**
6082
+ * @param {string} value
6083
+ * @param {number=} opt_index
6084
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest} returns this
6085
+ */
6086
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.addInstallIds = function(value, opt_index) {
6087
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
6088
+ };
6089
+
6090
+
6091
+ /**
6092
+ * Clears the list making it empty but non-null.
6093
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest} returns this
6094
+ */
6095
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.clearInstallIdsList = function() {
6096
+ return this.setInstallIdsList([]);
6097
+ };
6098
+
6099
+
6100
+ /**
6101
+ * optional string user_id = 3;
6102
+ * @return {string}
6103
+ */
6104
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.getUserId = function() {
6105
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
6106
+ };
6107
+
6108
+
6109
+ /**
6110
+ * @param {string} value
6111
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest} returns this
6112
+ */
6113
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdRequest.prototype.setUserId = function(value) {
6114
+ return jspb.Message.setProto3StringField(this, 3, value);
6115
+ };
6116
+
6117
+
6118
+
6119
+ /**
6120
+ * List of repeated fields within this message type.
6121
+ * @private {!Array<number>}
6122
+ * @const
6123
+ */
6124
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.repeatedFields_ = [1];
6125
+
6126
+
6127
+
6128
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6129
+ /**
6130
+ * Creates an object representation of this proto.
6131
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6132
+ * Optional fields that are not set will be set to undefined.
6133
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6134
+ * For the list of reserved names please see:
6135
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6136
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6137
+ * JSPB instance for transitional soy proto support:
6138
+ * http://goto/soy-param-migration
6139
+ * @return {!Object}
6140
+ */
6141
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.prototype.toObject = function(opt_includeInstance) {
6142
+ return proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.toObject(opt_includeInstance, this);
6143
+ };
6144
+
6145
+
6146
+ /**
6147
+ * Static version of the {@see toObject} method.
6148
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6149
+ * the JSPB instance for transitional soy proto support:
6150
+ * http://goto/soy-param-migration
6151
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse} msg The msg instance to transform.
6152
+ * @return {!Object}
6153
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6154
+ */
6155
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.toObject = function(includeInstance, msg) {
6156
+ var f, obj = {
6157
+ resultList: jspb.Message.toObjectList(msg.getResultList(),
6158
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.toObject, includeInstance)
6159
+ };
6160
+
6161
+ if (includeInstance) {
6162
+ obj.$jspbMessageInstance = msg;
6163
+ }
6164
+ return obj;
6165
+ };
6166
+ }
6167
+
6168
+
6169
+ /**
6170
+ * Deserializes binary data (in protobuf wire format).
6171
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6172
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse}
6173
+ */
6174
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.deserializeBinary = function(bytes) {
6175
+ var reader = new jspb.BinaryReader(bytes);
6176
+ var msg = new proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse;
6177
+ return proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.deserializeBinaryFromReader(msg, reader);
6178
+ };
6179
+
6180
+
6181
+ /**
6182
+ * Deserializes binary data (in protobuf wire format) from the
6183
+ * given reader into the given message object.
6184
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse} msg The message object to deserialize into.
6185
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6186
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse}
6187
+ */
6188
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.deserializeBinaryFromReader = function(msg, reader) {
6189
+ while (reader.nextField()) {
6190
+ if (reader.isEndGroup()) {
6191
+ break;
6192
+ }
6193
+ var field = reader.getFieldNumber();
6194
+ switch (field) {
6195
+ case 1:
6196
+ var value = new proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result;
6197
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.deserializeBinaryFromReader);
6198
+ msg.addResult(value);
6199
+ break;
6200
+ default:
6201
+ reader.skipField();
6202
+ break;
6203
+ }
6204
+ }
6205
+ return msg;
6206
+ };
6207
+
6208
+
6209
+ /**
6210
+ * Serializes the message to binary data (in protobuf wire format).
6211
+ * @return {!Uint8Array}
6212
+ */
6213
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.prototype.serializeBinary = function() {
6214
+ var writer = new jspb.BinaryWriter();
6215
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.serializeBinaryToWriter(this, writer);
6216
+ return writer.getResultBuffer();
6217
+ };
6218
+
6219
+
6220
+ /**
6221
+ * Serializes the given message to binary data (in protobuf wire
6222
+ * format), writing to the given BinaryWriter.
6223
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse} message
6224
+ * @param {!jspb.BinaryWriter} writer
6225
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6226
+ */
6227
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.serializeBinaryToWriter = function(message, writer) {
6228
+ var f = undefined;
6229
+ f = message.getResultList();
6230
+ if (f.length > 0) {
6231
+ writer.writeRepeatedMessage(
6232
+ 1,
6233
+ f,
6234
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.serializeBinaryToWriter
6235
+ );
6236
+ }
6237
+ };
6238
+
6239
+
6240
+
6241
+
6242
+
6243
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6244
+ /**
6245
+ * Creates an object representation of this proto.
6246
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6247
+ * Optional fields that are not set will be set to undefined.
6248
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6249
+ * For the list of reserved names please see:
6250
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6251
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6252
+ * JSPB instance for transitional soy proto support:
6253
+ * http://goto/soy-param-migration
6254
+ * @return {!Object}
6255
+ */
6256
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.prototype.toObject = function(opt_includeInstance) {
6257
+ return proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.toObject(opt_includeInstance, this);
6258
+ };
6259
+
6260
+
6261
+ /**
6262
+ * Static version of the {@see toObject} method.
6263
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6264
+ * the JSPB instance for transitional soy proto support:
6265
+ * http://goto/soy-param-migration
6266
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result} msg The msg instance to transform.
6267
+ * @return {!Object}
6268
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6269
+ */
6270
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.toObject = function(includeInstance, msg) {
6271
+ var f, obj = {
6272
+ installId: jspb.Message.getFieldWithDefault(msg, 1, ""),
6273
+ queued: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
6274
+ };
6275
+
6276
+ if (includeInstance) {
6277
+ obj.$jspbMessageInstance = msg;
6278
+ }
6279
+ return obj;
6280
+ };
6281
+ }
6282
+
6283
+
6284
+ /**
6285
+ * Deserializes binary data (in protobuf wire format).
6286
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6287
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result}
6288
+ */
6289
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.deserializeBinary = function(bytes) {
6290
+ var reader = new jspb.BinaryReader(bytes);
6291
+ var msg = new proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result;
6292
+ return proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.deserializeBinaryFromReader(msg, reader);
6293
+ };
6294
+
6295
+
6296
+ /**
6297
+ * Deserializes binary data (in protobuf wire format) from the
6298
+ * given reader into the given message object.
6299
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result} msg The message object to deserialize into.
6300
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6301
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result}
6302
+ */
6303
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.deserializeBinaryFromReader = function(msg, reader) {
6304
+ while (reader.nextField()) {
6305
+ if (reader.isEndGroup()) {
6306
+ break;
6307
+ }
6308
+ var field = reader.getFieldNumber();
6309
+ switch (field) {
6310
+ case 1:
6311
+ var value = /** @type {string} */ (reader.readString());
6312
+ msg.setInstallId(value);
6313
+ break;
6314
+ case 2:
6315
+ var value = /** @type {boolean} */ (reader.readBool());
6316
+ msg.setQueued(value);
6317
+ break;
6318
+ default:
6319
+ reader.skipField();
6320
+ break;
6321
+ }
6322
+ }
6323
+ return msg;
6324
+ };
6325
+
6326
+
6327
+ /**
6328
+ * Serializes the message to binary data (in protobuf wire format).
6329
+ * @return {!Uint8Array}
6330
+ */
6331
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.prototype.serializeBinary = function() {
6332
+ var writer = new jspb.BinaryWriter();
6333
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.serializeBinaryToWriter(this, writer);
6334
+ return writer.getResultBuffer();
6335
+ };
6336
+
6337
+
6338
+ /**
6339
+ * Serializes the given message to binary data (in protobuf wire
6340
+ * format), writing to the given BinaryWriter.
6341
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result} message
6342
+ * @param {!jspb.BinaryWriter} writer
6343
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6344
+ */
6345
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.serializeBinaryToWriter = function(message, writer) {
6346
+ var f = undefined;
6347
+ f = message.getInstallId();
6348
+ if (f.length > 0) {
6349
+ writer.writeString(
6350
+ 1,
6351
+ f
6352
+ );
6353
+ }
6354
+ f = message.getQueued();
6355
+ if (f) {
6356
+ writer.writeBool(
6357
+ 2,
6358
+ f
6359
+ );
6360
+ }
6361
+ };
6362
+
6363
+
6364
+ /**
6365
+ * optional string install_id = 1;
6366
+ * @return {string}
6367
+ */
6368
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.prototype.getInstallId = function() {
6369
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6370
+ };
6371
+
6372
+
6373
+ /**
6374
+ * @param {string} value
6375
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result} returns this
6376
+ */
6377
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.prototype.setInstallId = function(value) {
6378
+ return jspb.Message.setProto3StringField(this, 1, value);
6379
+ };
6380
+
6381
+
6382
+ /**
6383
+ * optional bool queued = 2;
6384
+ * @return {boolean}
6385
+ */
6386
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.prototype.getQueued = function() {
6387
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
6388
+ };
6389
+
6390
+
6391
+ /**
6392
+ * @param {boolean} value
6393
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result} returns this
6394
+ */
6395
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result.prototype.setQueued = function(value) {
6396
+ return jspb.Message.setProto3BooleanField(this, 2, value);
6397
+ };
6398
+
6399
+
6400
+ /**
6401
+ * repeated Result result = 1;
6402
+ * @return {!Array<!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result>}
6403
+ */
6404
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.prototype.getResultList = function() {
6405
+ return /** @type{!Array<!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result>} */ (
6406
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result, 1));
6407
+ };
6408
+
6409
+
6410
+ /**
6411
+ * @param {!Array<!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result>} value
6412
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse} returns this
6413
+ */
6414
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.prototype.setResultList = function(value) {
6415
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
6416
+ };
6417
+
6418
+
6419
+ /**
6420
+ * @param {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result=} opt_value
6421
+ * @param {number=} opt_index
6422
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result}
6423
+ */
6424
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.prototype.addResult = function(opt_value, opt_index) {
6425
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.Result, opt_index);
6426
+ };
6427
+
6428
+
6429
+ /**
6430
+ * Clears the list making it empty but non-null.
6431
+ * @return {!proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse} returns this
6432
+ */
6433
+ proto.lansweeper.multitenant.v1.RemoveInstallDataBySiteIdResponse.prototype.clearResultList = function() {
6434
+ return this.setResultList([]);
6435
+ };
6436
+
6437
+
6438
+
6439
+
6440
+
6441
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6442
+ /**
6443
+ * Creates an object representation of this proto.
6444
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6445
+ * Optional fields that are not set will be set to undefined.
6446
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6447
+ * For the list of reserved names please see:
6448
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6449
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6450
+ * JSPB instance for transitional soy proto support:
6451
+ * http://goto/soy-param-migration
6452
+ * @return {!Object}
6453
+ */
6454
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.prototype.toObject = function(opt_includeInstance) {
6455
+ return proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.toObject(opt_includeInstance, this);
6456
+ };
6457
+
6458
+
6459
+ /**
6460
+ * Static version of the {@see toObject} method.
6461
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6462
+ * the JSPB instance for transitional soy proto support:
6463
+ * http://goto/soy-param-migration
6464
+ * @param {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest} msg The msg instance to transform.
6465
+ * @return {!Object}
6466
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6467
+ */
6468
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.toObject = function(includeInstance, msg) {
6469
+ var f, obj = {
6470
+ siteId: jspb.Message.getFieldWithDefault(msg, 1, ""),
6471
+ globalId: jspb.Message.getFieldWithDefault(msg, 2, "")
6472
+ };
6473
+
6474
+ if (includeInstance) {
6475
+ obj.$jspbMessageInstance = msg;
6476
+ }
6477
+ return obj;
6478
+ };
6479
+ }
6480
+
6481
+
6482
+ /**
6483
+ * Deserializes binary data (in protobuf wire format).
6484
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6485
+ * @return {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest}
6486
+ */
6487
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.deserializeBinary = function(bytes) {
6488
+ var reader = new jspb.BinaryReader(bytes);
6489
+ var msg = new proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest;
6490
+ return proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.deserializeBinaryFromReader(msg, reader);
6491
+ };
6492
+
6493
+
6494
+ /**
6495
+ * Deserializes binary data (in protobuf wire format) from the
6496
+ * given reader into the given message object.
6497
+ * @param {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest} msg The message object to deserialize into.
6498
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6499
+ * @return {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest}
6500
+ */
6501
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.deserializeBinaryFromReader = function(msg, reader) {
6502
+ while (reader.nextField()) {
6503
+ if (reader.isEndGroup()) {
6504
+ break;
6505
+ }
6506
+ var field = reader.getFieldNumber();
6507
+ switch (field) {
6508
+ case 1:
6509
+ var value = /** @type {string} */ (reader.readString());
6510
+ msg.setSiteId(value);
6511
+ break;
6512
+ case 2:
6513
+ var value = /** @type {string} */ (reader.readString());
6514
+ msg.setGlobalId(value);
6515
+ break;
6516
+ default:
6517
+ reader.skipField();
6518
+ break;
6519
+ }
6520
+ }
6521
+ return msg;
6522
+ };
6523
+
6524
+
6525
+ /**
6526
+ * Serializes the message to binary data (in protobuf wire format).
6527
+ * @return {!Uint8Array}
6528
+ */
6529
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.prototype.serializeBinary = function() {
6530
+ var writer = new jspb.BinaryWriter();
6531
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.serializeBinaryToWriter(this, writer);
6532
+ return writer.getResultBuffer();
6533
+ };
6534
+
6535
+
6536
+ /**
6537
+ * Serializes the given message to binary data (in protobuf wire
6538
+ * format), writing to the given BinaryWriter.
6539
+ * @param {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest} message
6540
+ * @param {!jspb.BinaryWriter} writer
6541
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6542
+ */
6543
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.serializeBinaryToWriter = function(message, writer) {
6544
+ var f = undefined;
6545
+ f = message.getSiteId();
6546
+ if (f.length > 0) {
6547
+ writer.writeString(
6548
+ 1,
6549
+ f
6550
+ );
6551
+ }
6552
+ f = message.getGlobalId();
6553
+ if (f.length > 0) {
6554
+ writer.writeString(
6555
+ 2,
6556
+ f
6557
+ );
6558
+ }
6559
+ };
6560
+
6561
+
6562
+ /**
6563
+ * optional string site_id = 1;
6564
+ * @return {string}
6565
+ */
6566
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.prototype.getSiteId = function() {
6567
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
6568
+ };
6569
+
6570
+
6571
+ /**
6572
+ * @param {string} value
6573
+ * @return {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest} returns this
6574
+ */
6575
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.prototype.setSiteId = function(value) {
6576
+ return jspb.Message.setProto3StringField(this, 1, value);
6577
+ };
6578
+
6579
+
6580
+ /**
6581
+ * optional string global_id = 2;
6582
+ * @return {string}
6583
+ */
6584
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.prototype.getGlobalId = function() {
6585
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
6586
+ };
6587
+
6588
+
6589
+ /**
6590
+ * @param {string} value
6591
+ * @return {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest} returns this
6592
+ */
6593
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdRequest.prototype.setGlobalId = function(value) {
6594
+ return jspb.Message.setProto3StringField(this, 2, value);
6595
+ };
6596
+
6597
+
6598
+
6599
+ /**
6600
+ * List of repeated fields within this message type.
6601
+ * @private {!Array<number>}
6602
+ * @const
6603
+ */
6604
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.repeatedFields_ = [1];
6605
+
6606
+
6607
+
6608
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6609
+ /**
6610
+ * Creates an object representation of this proto.
6611
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6612
+ * Optional fields that are not set will be set to undefined.
6613
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6614
+ * For the list of reserved names please see:
6615
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6616
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6617
+ * JSPB instance for transitional soy proto support:
6618
+ * http://goto/soy-param-migration
6619
+ * @return {!Object}
6620
+ */
6621
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.prototype.toObject = function(opt_includeInstance) {
6622
+ return proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.toObject(opt_includeInstance, this);
6623
+ };
6624
+
6625
+
6626
+ /**
6627
+ * Static version of the {@see toObject} method.
6628
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
6629
+ * the JSPB instance for transitional soy proto support:
6630
+ * http://goto/soy-param-migration
6631
+ * @param {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse} msg The msg instance to transform.
6632
+ * @return {!Object}
6633
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6634
+ */
6635
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.toObject = function(includeInstance, msg) {
6636
+ var f, obj = {
6637
+ installList: jspb.Message.toObjectList(msg.getInstallList(),
6638
+ proto.lansweeper.multitenant.v1.Install.toObject, includeInstance)
6639
+ };
6640
+
6641
+ if (includeInstance) {
6642
+ obj.$jspbMessageInstance = msg;
6643
+ }
6644
+ return obj;
6645
+ };
6646
+ }
6647
+
6648
+
6649
+ /**
6650
+ * Deserializes binary data (in protobuf wire format).
6651
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6652
+ * @return {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse}
6653
+ */
6654
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.deserializeBinary = function(bytes) {
6655
+ var reader = new jspb.BinaryReader(bytes);
6656
+ var msg = new proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse;
6657
+ return proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.deserializeBinaryFromReader(msg, reader);
6658
+ };
6659
+
6660
+
6661
+ /**
6662
+ * Deserializes binary data (in protobuf wire format) from the
6663
+ * given reader into the given message object.
6664
+ * @param {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse} msg The message object to deserialize into.
6665
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6666
+ * @return {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse}
6667
+ */
6668
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.deserializeBinaryFromReader = function(msg, reader) {
6669
+ while (reader.nextField()) {
6670
+ if (reader.isEndGroup()) {
6671
+ break;
6672
+ }
6673
+ var field = reader.getFieldNumber();
6674
+ switch (field) {
6675
+ case 1:
6676
+ var value = new proto.lansweeper.multitenant.v1.Install;
6677
+ reader.readMessage(value,proto.lansweeper.multitenant.v1.Install.deserializeBinaryFromReader);
6678
+ msg.addInstall(value);
6679
+ break;
6680
+ default:
6681
+ reader.skipField();
6682
+ break;
6683
+ }
6684
+ }
6685
+ return msg;
6686
+ };
6687
+
6688
+
6689
+ /**
6690
+ * Serializes the message to binary data (in protobuf wire format).
6691
+ * @return {!Uint8Array}
6692
+ */
6693
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.prototype.serializeBinary = function() {
6694
+ var writer = new jspb.BinaryWriter();
6695
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.serializeBinaryToWriter(this, writer);
6696
+ return writer.getResultBuffer();
6697
+ };
6698
+
6699
+
6700
+ /**
6701
+ * Serializes the given message to binary data (in protobuf wire
6702
+ * format), writing to the given BinaryWriter.
6703
+ * @param {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse} message
6704
+ * @param {!jspb.BinaryWriter} writer
6705
+ * @suppress {unusedLocalVariables} f is only used for nested messages
6706
+ */
6707
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.serializeBinaryToWriter = function(message, writer) {
6708
+ var f = undefined;
6709
+ f = message.getInstallList();
6710
+ if (f.length > 0) {
6711
+ writer.writeRepeatedMessage(
6712
+ 1,
6713
+ f,
6714
+ proto.lansweeper.multitenant.v1.Install.serializeBinaryToWriter
6715
+ );
6716
+ }
6717
+ };
6718
+
6719
+
6720
+ /**
6721
+ * repeated Install install = 1;
6722
+ * @return {!Array<!proto.lansweeper.multitenant.v1.Install>}
6723
+ */
6724
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.prototype.getInstallList = function() {
6725
+ return /** @type{!Array<!proto.lansweeper.multitenant.v1.Install>} */ (
6726
+ jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.multitenant.v1.Install, 1));
6727
+ };
6728
+
6729
+
6730
+ /**
6731
+ * @param {!Array<!proto.lansweeper.multitenant.v1.Install>} value
6732
+ * @return {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse} returns this
6733
+ */
6734
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.prototype.setInstallList = function(value) {
6735
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
6736
+ };
6737
+
6738
+
6739
+ /**
6740
+ * @param {!proto.lansweeper.multitenant.v1.Install=} opt_value
6741
+ * @param {number=} opt_index
6742
+ * @return {!proto.lansweeper.multitenant.v1.Install}
6743
+ */
6744
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.prototype.addInstall = function(opt_value, opt_index) {
6745
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.multitenant.v1.Install, opt_index);
6746
+ };
6747
+
6748
+
6749
+ /**
6750
+ * Clears the list making it empty but non-null.
6751
+ * @return {!proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse} returns this
6752
+ */
6753
+ proto.lansweeper.multitenant.v1.GetDuplicatedInstallsByGlobalIdResponse.prototype.clearInstallList = function() {
6754
+ return this.setInstallList([]);
6755
+ };
6756
+
6757
+
6758
+ /**
6759
+ * @enum {number}
6760
+ */
6761
+ proto.lansweeper.multitenant.v1.SiteMode = {
6762
+ UNESPECIFIED: 0,
6763
+ CLOUD_NATIVE: 1,
6764
+ DEMO: 2,
6765
+ HYBRID: 3,
6766
+ DUAL: 4
6767
+ };
6768
+
6769
+ /**
6770
+ * @enum {number}
6771
+ */
6772
+ proto.lansweeper.multitenant.v1.InstallStateValue = {
6773
+ INSTALL_STATE_VALUE_UNESPECIFIED: 0,
6774
+ INSTALL_STATE_VALUE_SYNC: 1,
6775
+ INSTALL_STATE_VALUE_UNSYNC: 2
5567
6776
  };
5568
6777
 
5569
6778
  goog.object.extend(exports, proto.lansweeper.multitenant.v1);