@lansweeper/blocking-rules-grpc 0.0.4 → 0.0.6
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.
- package/gen-proto/blocking_rules_grpc_pb.d.ts +17 -0
- package/gen-proto/blocking_rules_grpc_pb.js +33 -0
- package/gen-proto/blocking_rules_pb.d.ts +88 -21
- package/gen-proto/blocking_rules_pb.js +602 -141
- package/gen-proto/image.json +1 -1
- package/package.json +2 -2
- package/proto/blocking_rules.proto +19 -7
|
@@ -18,10 +18,35 @@ var global = Function('return this')();
|
|
|
18
18
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.BlockingRule', null, global);
|
|
19
19
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest', null, global);
|
|
20
20
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse', null, global);
|
|
21
|
+
goog.exportSymbol('proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest', null, global);
|
|
22
|
+
goog.exportSymbol('proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse', null, global);
|
|
21
23
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.GetBlockingRulesRequest', null, global);
|
|
22
24
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.GetBlockingRulesResponse', null, global);
|
|
25
|
+
goog.exportSymbol('proto.lansweeper.blockingrules.v1.NullableString', null, global);
|
|
26
|
+
goog.exportSymbol('proto.lansweeper.blockingrules.v1.NullableString.KindCase', null, global);
|
|
23
27
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.SetBlockingRuleRequest', null, global);
|
|
24
28
|
goog.exportSymbol('proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse', null, global);
|
|
29
|
+
/**
|
|
30
|
+
* Generated by JsPbCodeGenerator.
|
|
31
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
32
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
33
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
34
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
35
|
+
* valid.
|
|
36
|
+
* @extends {jspb.Message}
|
|
37
|
+
* @constructor
|
|
38
|
+
*/
|
|
39
|
+
proto.lansweeper.blockingrules.v1.NullableString = function(opt_data) {
|
|
40
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.lansweeper.blockingrules.v1.NullableString.oneofGroups_);
|
|
41
|
+
};
|
|
42
|
+
goog.inherits(proto.lansweeper.blockingrules.v1.NullableString, jspb.Message);
|
|
43
|
+
if (goog.DEBUG && !COMPILED) {
|
|
44
|
+
/**
|
|
45
|
+
* @public
|
|
46
|
+
* @override
|
|
47
|
+
*/
|
|
48
|
+
proto.lansweeper.blockingrules.v1.NullableString.displayName = 'proto.lansweeper.blockingrules.v1.NullableString';
|
|
49
|
+
}
|
|
25
50
|
/**
|
|
26
51
|
* Generated by JsPbCodeGenerator.
|
|
27
52
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -64,6 +89,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
64
89
|
*/
|
|
65
90
|
proto.lansweeper.blockingrules.v1.GetBlockingRulesRequest.displayName = 'proto.lansweeper.blockingrules.v1.GetBlockingRulesRequest';
|
|
66
91
|
}
|
|
92
|
+
/**
|
|
93
|
+
* Generated by JsPbCodeGenerator.
|
|
94
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
95
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
96
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
97
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
98
|
+
* valid.
|
|
99
|
+
* @extends {jspb.Message}
|
|
100
|
+
* @constructor
|
|
101
|
+
*/
|
|
102
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest = function(opt_data) {
|
|
103
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
104
|
+
};
|
|
105
|
+
goog.inherits(proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest, jspb.Message);
|
|
106
|
+
if (goog.DEBUG && !COMPILED) {
|
|
107
|
+
/**
|
|
108
|
+
* @public
|
|
109
|
+
* @override
|
|
110
|
+
*/
|
|
111
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.displayName = 'proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest';
|
|
112
|
+
}
|
|
67
113
|
/**
|
|
68
114
|
* Generated by JsPbCodeGenerator.
|
|
69
115
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -106,6 +152,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
106
152
|
*/
|
|
107
153
|
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.displayName = 'proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest';
|
|
108
154
|
}
|
|
155
|
+
/**
|
|
156
|
+
* Generated by JsPbCodeGenerator.
|
|
157
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
158
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
159
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
160
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
161
|
+
* valid.
|
|
162
|
+
* @extends {jspb.Message}
|
|
163
|
+
* @constructor
|
|
164
|
+
*/
|
|
165
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse = function(opt_data) {
|
|
166
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.repeatedFields_, null);
|
|
167
|
+
};
|
|
168
|
+
goog.inherits(proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse, jspb.Message);
|
|
169
|
+
if (goog.DEBUG && !COMPILED) {
|
|
170
|
+
/**
|
|
171
|
+
* @public
|
|
172
|
+
* @override
|
|
173
|
+
*/
|
|
174
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.displayName = 'proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse';
|
|
175
|
+
}
|
|
109
176
|
/**
|
|
110
177
|
* Generated by JsPbCodeGenerator.
|
|
111
178
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -170,6 +237,179 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
170
237
|
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.displayName = 'proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse';
|
|
171
238
|
}
|
|
172
239
|
|
|
240
|
+
/**
|
|
241
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
242
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
243
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
244
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
245
|
+
* @private {!Array<!Array<number>>}
|
|
246
|
+
* @const
|
|
247
|
+
*/
|
|
248
|
+
proto.lansweeper.blockingrules.v1.NullableString.oneofGroups_ = [[1]];
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* @enum {number}
|
|
252
|
+
*/
|
|
253
|
+
proto.lansweeper.blockingrules.v1.NullableString.KindCase = {
|
|
254
|
+
KIND_NOT_SET: 0,
|
|
255
|
+
DATA: 1
|
|
256
|
+
};
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* @return {proto.lansweeper.blockingrules.v1.NullableString.KindCase}
|
|
260
|
+
*/
|
|
261
|
+
proto.lansweeper.blockingrules.v1.NullableString.prototype.getKindCase = function() {
|
|
262
|
+
return /** @type {proto.lansweeper.blockingrules.v1.NullableString.KindCase} */(jspb.Message.computeOneofCase(this, proto.lansweeper.blockingrules.v1.NullableString.oneofGroups_[0]));
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
268
|
+
/**
|
|
269
|
+
* Creates an object representation of this proto.
|
|
270
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
271
|
+
* Optional fields that are not set will be set to undefined.
|
|
272
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
273
|
+
* For the list of reserved names please see:
|
|
274
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
275
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
276
|
+
* JSPB instance for transitional soy proto support:
|
|
277
|
+
* http://goto/soy-param-migration
|
|
278
|
+
* @return {!Object}
|
|
279
|
+
*/
|
|
280
|
+
proto.lansweeper.blockingrules.v1.NullableString.prototype.toObject = function(opt_includeInstance) {
|
|
281
|
+
return proto.lansweeper.blockingrules.v1.NullableString.toObject(opt_includeInstance, this);
|
|
282
|
+
};
|
|
283
|
+
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* Static version of the {@see toObject} method.
|
|
287
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
288
|
+
* the JSPB instance for transitional soy proto support:
|
|
289
|
+
* http://goto/soy-param-migration
|
|
290
|
+
* @param {!proto.lansweeper.blockingrules.v1.NullableString} msg The msg instance to transform.
|
|
291
|
+
* @return {!Object}
|
|
292
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
293
|
+
*/
|
|
294
|
+
proto.lansweeper.blockingrules.v1.NullableString.toObject = function(includeInstance, msg) {
|
|
295
|
+
var f, obj = {
|
|
296
|
+
data: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
297
|
+
};
|
|
298
|
+
|
|
299
|
+
if (includeInstance) {
|
|
300
|
+
obj.$jspbMessageInstance = msg;
|
|
301
|
+
}
|
|
302
|
+
return obj;
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Deserializes binary data (in protobuf wire format).
|
|
309
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
310
|
+
* @return {!proto.lansweeper.blockingrules.v1.NullableString}
|
|
311
|
+
*/
|
|
312
|
+
proto.lansweeper.blockingrules.v1.NullableString.deserializeBinary = function(bytes) {
|
|
313
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
314
|
+
var msg = new proto.lansweeper.blockingrules.v1.NullableString;
|
|
315
|
+
return proto.lansweeper.blockingrules.v1.NullableString.deserializeBinaryFromReader(msg, reader);
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
321
|
+
* given reader into the given message object.
|
|
322
|
+
* @param {!proto.lansweeper.blockingrules.v1.NullableString} msg The message object to deserialize into.
|
|
323
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
324
|
+
* @return {!proto.lansweeper.blockingrules.v1.NullableString}
|
|
325
|
+
*/
|
|
326
|
+
proto.lansweeper.blockingrules.v1.NullableString.deserializeBinaryFromReader = function(msg, reader) {
|
|
327
|
+
while (reader.nextField()) {
|
|
328
|
+
if (reader.isEndGroup()) {
|
|
329
|
+
break;
|
|
330
|
+
}
|
|
331
|
+
var field = reader.getFieldNumber();
|
|
332
|
+
switch (field) {
|
|
333
|
+
case 1:
|
|
334
|
+
var value = /** @type {string} */ (reader.readString());
|
|
335
|
+
msg.setData(value);
|
|
336
|
+
break;
|
|
337
|
+
default:
|
|
338
|
+
reader.skipField();
|
|
339
|
+
break;
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
return msg;
|
|
343
|
+
};
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
348
|
+
* @return {!Uint8Array}
|
|
349
|
+
*/
|
|
350
|
+
proto.lansweeper.blockingrules.v1.NullableString.prototype.serializeBinary = function() {
|
|
351
|
+
var writer = new jspb.BinaryWriter();
|
|
352
|
+
proto.lansweeper.blockingrules.v1.NullableString.serializeBinaryToWriter(this, writer);
|
|
353
|
+
return writer.getResultBuffer();
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
359
|
+
* format), writing to the given BinaryWriter.
|
|
360
|
+
* @param {!proto.lansweeper.blockingrules.v1.NullableString} message
|
|
361
|
+
* @param {!jspb.BinaryWriter} writer
|
|
362
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
363
|
+
*/
|
|
364
|
+
proto.lansweeper.blockingrules.v1.NullableString.serializeBinaryToWriter = function(message, writer) {
|
|
365
|
+
var f = undefined;
|
|
366
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
367
|
+
if (f != null) {
|
|
368
|
+
writer.writeString(
|
|
369
|
+
1,
|
|
370
|
+
f
|
|
371
|
+
);
|
|
372
|
+
}
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* optional string data = 1;
|
|
378
|
+
* @return {string}
|
|
379
|
+
*/
|
|
380
|
+
proto.lansweeper.blockingrules.v1.NullableString.prototype.getData = function() {
|
|
381
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
382
|
+
};
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @param {string} value
|
|
387
|
+
* @return {!proto.lansweeper.blockingrules.v1.NullableString} returns this
|
|
388
|
+
*/
|
|
389
|
+
proto.lansweeper.blockingrules.v1.NullableString.prototype.setData = function(value) {
|
|
390
|
+
return jspb.Message.setOneofField(this, 1, proto.lansweeper.blockingrules.v1.NullableString.oneofGroups_[0], value);
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Clears the field making it undefined.
|
|
396
|
+
* @return {!proto.lansweeper.blockingrules.v1.NullableString} returns this
|
|
397
|
+
*/
|
|
398
|
+
proto.lansweeper.blockingrules.v1.NullableString.prototype.clearData = function() {
|
|
399
|
+
return jspb.Message.setOneofField(this, 1, proto.lansweeper.blockingrules.v1.NullableString.oneofGroups_[0], undefined);
|
|
400
|
+
};
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
/**
|
|
404
|
+
* Returns whether this field is set.
|
|
405
|
+
* @return {boolean}
|
|
406
|
+
*/
|
|
407
|
+
proto.lansweeper.blockingrules.v1.NullableString.prototype.hasData = function() {
|
|
408
|
+
return jspb.Message.getField(this, 1) != null;
|
|
409
|
+
};
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
173
413
|
|
|
174
414
|
|
|
175
415
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -204,7 +444,8 @@ proto.lansweeper.blockingrules.v1.BlockingRule.toObject = function(includeInstan
|
|
|
204
444
|
installKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
205
445
|
siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
206
446
|
entity: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
207
|
-
createdDate: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
447
|
+
createdDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
448
|
+
id: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
208
449
|
};
|
|
209
450
|
|
|
210
451
|
if (includeInstance) {
|
|
@@ -257,6 +498,10 @@ proto.lansweeper.blockingrules.v1.BlockingRule.deserializeBinaryFromReader = fun
|
|
|
257
498
|
var value = /** @type {string} */ (reader.readString());
|
|
258
499
|
msg.setCreatedDate(value);
|
|
259
500
|
break;
|
|
501
|
+
case 5:
|
|
502
|
+
var value = /** @type {string} */ (reader.readString());
|
|
503
|
+
msg.setId(value);
|
|
504
|
+
break;
|
|
260
505
|
default:
|
|
261
506
|
reader.skipField();
|
|
262
507
|
break;
|
|
@@ -314,6 +559,13 @@ proto.lansweeper.blockingrules.v1.BlockingRule.serializeBinaryToWriter = functio
|
|
|
314
559
|
f
|
|
315
560
|
);
|
|
316
561
|
}
|
|
562
|
+
f = message.getId();
|
|
563
|
+
if (f.length > 0) {
|
|
564
|
+
writer.writeString(
|
|
565
|
+
5,
|
|
566
|
+
f
|
|
567
|
+
);
|
|
568
|
+
}
|
|
317
569
|
};
|
|
318
570
|
|
|
319
571
|
|
|
@@ -389,6 +641,24 @@ proto.lansweeper.blockingrules.v1.BlockingRule.prototype.setCreatedDate = functi
|
|
|
389
641
|
};
|
|
390
642
|
|
|
391
643
|
|
|
644
|
+
/**
|
|
645
|
+
* optional string id = 5;
|
|
646
|
+
* @return {string}
|
|
647
|
+
*/
|
|
648
|
+
proto.lansweeper.blockingrules.v1.BlockingRule.prototype.getId = function() {
|
|
649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
650
|
+
};
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
/**
|
|
654
|
+
* @param {string} value
|
|
655
|
+
* @return {!proto.lansweeper.blockingrules.v1.BlockingRule} returns this
|
|
656
|
+
*/
|
|
657
|
+
proto.lansweeper.blockingrules.v1.BlockingRule.prototype.setId = function(value) {
|
|
658
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
659
|
+
};
|
|
660
|
+
|
|
661
|
+
|
|
392
662
|
|
|
393
663
|
|
|
394
664
|
|
|
@@ -493,6 +763,136 @@ proto.lansweeper.blockingrules.v1.GetBlockingRulesRequest.serializeBinaryToWrite
|
|
|
493
763
|
|
|
494
764
|
|
|
495
765
|
|
|
766
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
767
|
+
/**
|
|
768
|
+
* Creates an object representation of this proto.
|
|
769
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
770
|
+
* Optional fields that are not set will be set to undefined.
|
|
771
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
772
|
+
* For the list of reserved names please see:
|
|
773
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
774
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
775
|
+
* JSPB instance for transitional soy proto support:
|
|
776
|
+
* http://goto/soy-param-migration
|
|
777
|
+
* @return {!Object}
|
|
778
|
+
*/
|
|
779
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.prototype.toObject = function(opt_includeInstance) {
|
|
780
|
+
return proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.toObject(opt_includeInstance, this);
|
|
781
|
+
};
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* Static version of the {@see toObject} method.
|
|
786
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
787
|
+
* the JSPB instance for transitional soy proto support:
|
|
788
|
+
* http://goto/soy-param-migration
|
|
789
|
+
* @param {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest} msg The msg instance to transform.
|
|
790
|
+
* @return {!Object}
|
|
791
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
792
|
+
*/
|
|
793
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.toObject = function(includeInstance, msg) {
|
|
794
|
+
var f, obj = {
|
|
795
|
+
installKey: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
796
|
+
};
|
|
797
|
+
|
|
798
|
+
if (includeInstance) {
|
|
799
|
+
obj.$jspbMessageInstance = msg;
|
|
800
|
+
}
|
|
801
|
+
return obj;
|
|
802
|
+
};
|
|
803
|
+
}
|
|
804
|
+
|
|
805
|
+
|
|
806
|
+
/**
|
|
807
|
+
* Deserializes binary data (in protobuf wire format).
|
|
808
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
809
|
+
* @return {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest}
|
|
810
|
+
*/
|
|
811
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.deserializeBinary = function(bytes) {
|
|
812
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
813
|
+
var msg = new proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest;
|
|
814
|
+
return proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.deserializeBinaryFromReader(msg, reader);
|
|
815
|
+
};
|
|
816
|
+
|
|
817
|
+
|
|
818
|
+
/**
|
|
819
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
820
|
+
* given reader into the given message object.
|
|
821
|
+
* @param {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest} msg The message object to deserialize into.
|
|
822
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
823
|
+
* @return {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest}
|
|
824
|
+
*/
|
|
825
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
826
|
+
while (reader.nextField()) {
|
|
827
|
+
if (reader.isEndGroup()) {
|
|
828
|
+
break;
|
|
829
|
+
}
|
|
830
|
+
var field = reader.getFieldNumber();
|
|
831
|
+
switch (field) {
|
|
832
|
+
case 1:
|
|
833
|
+
var value = /** @type {string} */ (reader.readString());
|
|
834
|
+
msg.setInstallKey(value);
|
|
835
|
+
break;
|
|
836
|
+
default:
|
|
837
|
+
reader.skipField();
|
|
838
|
+
break;
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
return msg;
|
|
842
|
+
};
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
847
|
+
* @return {!Uint8Array}
|
|
848
|
+
*/
|
|
849
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.prototype.serializeBinary = function() {
|
|
850
|
+
var writer = new jspb.BinaryWriter();
|
|
851
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.serializeBinaryToWriter(this, writer);
|
|
852
|
+
return writer.getResultBuffer();
|
|
853
|
+
};
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
/**
|
|
857
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
858
|
+
* format), writing to the given BinaryWriter.
|
|
859
|
+
* @param {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest} message
|
|
860
|
+
* @param {!jspb.BinaryWriter} writer
|
|
861
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
862
|
+
*/
|
|
863
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.serializeBinaryToWriter = function(message, writer) {
|
|
864
|
+
var f = undefined;
|
|
865
|
+
f = message.getInstallKey();
|
|
866
|
+
if (f.length > 0) {
|
|
867
|
+
writer.writeString(
|
|
868
|
+
1,
|
|
869
|
+
f
|
|
870
|
+
);
|
|
871
|
+
}
|
|
872
|
+
};
|
|
873
|
+
|
|
874
|
+
|
|
875
|
+
/**
|
|
876
|
+
* optional string install_key = 1;
|
|
877
|
+
* @return {string}
|
|
878
|
+
*/
|
|
879
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.prototype.getInstallKey = function() {
|
|
880
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
881
|
+
};
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* @param {string} value
|
|
886
|
+
* @return {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest} returns this
|
|
887
|
+
*/
|
|
888
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallRequest.prototype.setInstallKey = function(value) {
|
|
889
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
|
|
496
896
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
497
897
|
/**
|
|
498
898
|
* Creates an object representation of this proto.
|
|
@@ -712,9 +1112,7 @@ proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.prototype.toObject =
|
|
|
712
1112
|
*/
|
|
713
1113
|
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.toObject = function(includeInstance, msg) {
|
|
714
1114
|
var f, obj = {
|
|
715
|
-
|
|
716
|
-
installKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
717
|
-
entity: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1115
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
718
1116
|
};
|
|
719
1117
|
|
|
720
1118
|
if (includeInstance) {
|
|
@@ -753,15 +1151,7 @@ proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.deserializeBinaryFro
|
|
|
753
1151
|
switch (field) {
|
|
754
1152
|
case 1:
|
|
755
1153
|
var value = /** @type {string} */ (reader.readString());
|
|
756
|
-
msg.
|
|
757
|
-
break;
|
|
758
|
-
case 2:
|
|
759
|
-
var value = /** @type {string} */ (reader.readString());
|
|
760
|
-
msg.setInstallKey(value);
|
|
761
|
-
break;
|
|
762
|
-
case 3:
|
|
763
|
-
var value = /** @type {string} */ (reader.readString());
|
|
764
|
-
msg.setEntity(value);
|
|
1154
|
+
msg.setId(value);
|
|
765
1155
|
break;
|
|
766
1156
|
default:
|
|
767
1157
|
reader.skipField();
|
|
@@ -792,35 +1182,21 @@ proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.prototype.serializeB
|
|
|
792
1182
|
*/
|
|
793
1183
|
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
794
1184
|
var f = undefined;
|
|
795
|
-
f = message.
|
|
1185
|
+
f = message.getId();
|
|
796
1186
|
if (f.length > 0) {
|
|
797
1187
|
writer.writeString(
|
|
798
1188
|
1,
|
|
799
1189
|
f
|
|
800
1190
|
);
|
|
801
1191
|
}
|
|
802
|
-
f = message.getInstallKey();
|
|
803
|
-
if (f.length > 0) {
|
|
804
|
-
writer.writeString(
|
|
805
|
-
2,
|
|
806
|
-
f
|
|
807
|
-
);
|
|
808
|
-
}
|
|
809
|
-
f = message.getEntity();
|
|
810
|
-
if (f.length > 0) {
|
|
811
|
-
writer.writeString(
|
|
812
|
-
3,
|
|
813
|
-
f
|
|
814
|
-
);
|
|
815
|
-
}
|
|
816
1192
|
};
|
|
817
1193
|
|
|
818
1194
|
|
|
819
1195
|
/**
|
|
820
|
-
* optional string
|
|
1196
|
+
* optional string id = 1;
|
|
821
1197
|
* @return {string}
|
|
822
1198
|
*/
|
|
823
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.prototype.
|
|
1199
|
+
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.prototype.getId = function() {
|
|
824
1200
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
825
1201
|
};
|
|
826
1202
|
|
|
@@ -829,44 +1205,168 @@ proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.prototype.getSiteId
|
|
|
829
1205
|
* @param {string} value
|
|
830
1206
|
* @return {!proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest} returns this
|
|
831
1207
|
*/
|
|
832
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.prototype.
|
|
1208
|
+
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleRequest.prototype.setId = function(value) {
|
|
833
1209
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
834
1210
|
};
|
|
835
1211
|
|
|
836
1212
|
|
|
1213
|
+
|
|
837
1214
|
/**
|
|
838
|
-
*
|
|
839
|
-
* @
|
|
1215
|
+
* List of repeated fields within this message type.
|
|
1216
|
+
* @private {!Array<number>}
|
|
1217
|
+
* @const
|
|
840
1218
|
*/
|
|
841
|
-
proto.lansweeper.blockingrules.v1.
|
|
842
|
-
|
|
1219
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.repeatedFields_ = [1];
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1224
|
+
/**
|
|
1225
|
+
* Creates an object representation of this proto.
|
|
1226
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1227
|
+
* Optional fields that are not set will be set to undefined.
|
|
1228
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1229
|
+
* For the list of reserved names please see:
|
|
1230
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1231
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1232
|
+
* JSPB instance for transitional soy proto support:
|
|
1233
|
+
* http://goto/soy-param-migration
|
|
1234
|
+
* @return {!Object}
|
|
1235
|
+
*/
|
|
1236
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1237
|
+
return proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.toObject(opt_includeInstance, this);
|
|
843
1238
|
};
|
|
844
1239
|
|
|
845
1240
|
|
|
846
1241
|
/**
|
|
847
|
-
* @
|
|
848
|
-
* @
|
|
1242
|
+
* Static version of the {@see toObject} method.
|
|
1243
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1244
|
+
* the JSPB instance for transitional soy proto support:
|
|
1245
|
+
* http://goto/soy-param-migration
|
|
1246
|
+
* @param {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse} msg The msg instance to transform.
|
|
1247
|
+
* @return {!Object}
|
|
1248
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
849
1249
|
*/
|
|
850
|
-
proto.lansweeper.blockingrules.v1.
|
|
851
|
-
|
|
1250
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.toObject = function(includeInstance, msg) {
|
|
1251
|
+
var f, obj = {
|
|
1252
|
+
blockingRulesList: jspb.Message.toObjectList(msg.getBlockingRulesList(),
|
|
1253
|
+
proto.lansweeper.blockingrules.v1.BlockingRule.toObject, includeInstance)
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
if (includeInstance) {
|
|
1257
|
+
obj.$jspbMessageInstance = msg;
|
|
1258
|
+
}
|
|
1259
|
+
return obj;
|
|
852
1260
|
};
|
|
1261
|
+
}
|
|
853
1262
|
|
|
854
1263
|
|
|
855
1264
|
/**
|
|
856
|
-
*
|
|
857
|
-
* @
|
|
1265
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1266
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1267
|
+
* @return {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse}
|
|
858
1268
|
*/
|
|
859
|
-
proto.lansweeper.blockingrules.v1.
|
|
860
|
-
|
|
1269
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.deserializeBinary = function(bytes) {
|
|
1270
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1271
|
+
var msg = new proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse;
|
|
1272
|
+
return proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.deserializeBinaryFromReader(msg, reader);
|
|
861
1273
|
};
|
|
862
1274
|
|
|
863
1275
|
|
|
864
1276
|
/**
|
|
865
|
-
*
|
|
866
|
-
*
|
|
1277
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1278
|
+
* given reader into the given message object.
|
|
1279
|
+
* @param {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse} msg The message object to deserialize into.
|
|
1280
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1281
|
+
* @return {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse}
|
|
867
1282
|
*/
|
|
868
|
-
proto.lansweeper.blockingrules.v1.
|
|
869
|
-
|
|
1283
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
1284
|
+
while (reader.nextField()) {
|
|
1285
|
+
if (reader.isEndGroup()) {
|
|
1286
|
+
break;
|
|
1287
|
+
}
|
|
1288
|
+
var field = reader.getFieldNumber();
|
|
1289
|
+
switch (field) {
|
|
1290
|
+
case 1:
|
|
1291
|
+
var value = new proto.lansweeper.blockingrules.v1.BlockingRule;
|
|
1292
|
+
reader.readMessage(value,proto.lansweeper.blockingrules.v1.BlockingRule.deserializeBinaryFromReader);
|
|
1293
|
+
msg.addBlockingRules(value);
|
|
1294
|
+
break;
|
|
1295
|
+
default:
|
|
1296
|
+
reader.skipField();
|
|
1297
|
+
break;
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
return msg;
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
|
|
1304
|
+
/**
|
|
1305
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1306
|
+
* @return {!Uint8Array}
|
|
1307
|
+
*/
|
|
1308
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.prototype.serializeBinary = function() {
|
|
1309
|
+
var writer = new jspb.BinaryWriter();
|
|
1310
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.serializeBinaryToWriter(this, writer);
|
|
1311
|
+
return writer.getResultBuffer();
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
/**
|
|
1316
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1317
|
+
* format), writing to the given BinaryWriter.
|
|
1318
|
+
* @param {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse} message
|
|
1319
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1320
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1321
|
+
*/
|
|
1322
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1323
|
+
var f = undefined;
|
|
1324
|
+
f = message.getBlockingRulesList();
|
|
1325
|
+
if (f.length > 0) {
|
|
1326
|
+
writer.writeRepeatedMessage(
|
|
1327
|
+
1,
|
|
1328
|
+
f,
|
|
1329
|
+
proto.lansweeper.blockingrules.v1.BlockingRule.serializeBinaryToWriter
|
|
1330
|
+
);
|
|
1331
|
+
}
|
|
1332
|
+
};
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
/**
|
|
1336
|
+
* repeated BlockingRule blocking_rules = 1;
|
|
1337
|
+
* @return {!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>}
|
|
1338
|
+
*/
|
|
1339
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.prototype.getBlockingRulesList = function() {
|
|
1340
|
+
return /** @type{!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>} */ (
|
|
1341
|
+
jspb.Message.getRepeatedWrapperField(this, proto.lansweeper.blockingrules.v1.BlockingRule, 1));
|
|
1342
|
+
};
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
/**
|
|
1346
|
+
* @param {!Array<!proto.lansweeper.blockingrules.v1.BlockingRule>} value
|
|
1347
|
+
* @return {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse} returns this
|
|
1348
|
+
*/
|
|
1349
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.prototype.setBlockingRulesList = function(value) {
|
|
1350
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
/**
|
|
1355
|
+
* @param {!proto.lansweeper.blockingrules.v1.BlockingRule=} opt_value
|
|
1356
|
+
* @param {number=} opt_index
|
|
1357
|
+
* @return {!proto.lansweeper.blockingrules.v1.BlockingRule}
|
|
1358
|
+
*/
|
|
1359
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.prototype.addBlockingRules = function(opt_value, opt_index) {
|
|
1360
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.lansweeper.blockingrules.v1.BlockingRule, opt_index);
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* Clears the list making it empty but non-null.
|
|
1366
|
+
* @return {!proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse} returns this
|
|
1367
|
+
*/
|
|
1368
|
+
proto.lansweeper.blockingrules.v1.GetBlockingRulesByInstallResponse.prototype.clearBlockingRulesList = function() {
|
|
1369
|
+
return this.setBlockingRulesList([]);
|
|
870
1370
|
};
|
|
871
1371
|
|
|
872
1372
|
|
|
@@ -1065,7 +1565,8 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.toObject = function(in
|
|
|
1065
1565
|
installKey: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1066
1566
|
siteId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1067
1567
|
entity: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1068
|
-
createdDate: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1568
|
+
createdDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1569
|
+
id: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
1069
1570
|
};
|
|
1070
1571
|
|
|
1071
1572
|
if (includeInstance) {
|
|
@@ -1118,6 +1619,10 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.deserializeBinaryFromR
|
|
|
1118
1619
|
var value = /** @type {string} */ (reader.readString());
|
|
1119
1620
|
msg.setCreatedDate(value);
|
|
1120
1621
|
break;
|
|
1622
|
+
case 5:
|
|
1623
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1624
|
+
msg.setId(value);
|
|
1625
|
+
break;
|
|
1121
1626
|
default:
|
|
1122
1627
|
reader.skipField();
|
|
1123
1628
|
break;
|
|
@@ -1175,6 +1680,13 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.serializeBinaryToWrite
|
|
|
1175
1680
|
f
|
|
1176
1681
|
);
|
|
1177
1682
|
}
|
|
1683
|
+
f = message.getId();
|
|
1684
|
+
if (f.length > 0) {
|
|
1685
|
+
writer.writeString(
|
|
1686
|
+
5,
|
|
1687
|
+
f
|
|
1688
|
+
);
|
|
1689
|
+
}
|
|
1178
1690
|
};
|
|
1179
1691
|
|
|
1180
1692
|
|
|
@@ -1250,6 +1762,24 @@ proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setCreatedDa
|
|
|
1250
1762
|
};
|
|
1251
1763
|
|
|
1252
1764
|
|
|
1765
|
+
/**
|
|
1766
|
+
* optional string id = 5;
|
|
1767
|
+
* @return {string}
|
|
1768
|
+
*/
|
|
1769
|
+
proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.getId = function() {
|
|
1770
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1771
|
+
};
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* @param {string} value
|
|
1776
|
+
* @return {!proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse} returns this
|
|
1777
|
+
*/
|
|
1778
|
+
proto.lansweeper.blockingrules.v1.SetBlockingRuleResponse.prototype.setId = function(value) {
|
|
1779
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1780
|
+
};
|
|
1781
|
+
|
|
1782
|
+
|
|
1253
1783
|
|
|
1254
1784
|
|
|
1255
1785
|
|
|
@@ -1282,10 +1812,7 @@ proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.toObject
|
|
|
1282
1812
|
*/
|
|
1283
1813
|
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.toObject = function(includeInstance, msg) {
|
|
1284
1814
|
var f, obj = {
|
|
1285
|
-
|
|
1286
|
-
installKey: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1287
|
-
entity: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1288
|
-
deleted: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
1815
|
+
id: (f = msg.getId()) && proto.lansweeper.blockingrules.v1.NullableString.toObject(includeInstance, f)
|
|
1289
1816
|
};
|
|
1290
1817
|
|
|
1291
1818
|
if (includeInstance) {
|
|
@@ -1323,20 +1850,9 @@ proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.deserializeBinaryFr
|
|
|
1323
1850
|
var field = reader.getFieldNumber();
|
|
1324
1851
|
switch (field) {
|
|
1325
1852
|
case 1:
|
|
1326
|
-
var value =
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
case 2:
|
|
1330
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1331
|
-
msg.setInstallKey(value);
|
|
1332
|
-
break;
|
|
1333
|
-
case 3:
|
|
1334
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1335
|
-
msg.setEntity(value);
|
|
1336
|
-
break;
|
|
1337
|
-
case 4:
|
|
1338
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
1339
|
-
msg.setDeleted(value);
|
|
1853
|
+
var value = new proto.lansweeper.blockingrules.v1.NullableString;
|
|
1854
|
+
reader.readMessage(value,proto.lansweeper.blockingrules.v1.NullableString.deserializeBinaryFromReader);
|
|
1855
|
+
msg.setId(value);
|
|
1340
1856
|
break;
|
|
1341
1857
|
default:
|
|
1342
1858
|
reader.skipField();
|
|
@@ -1367,106 +1883,51 @@ proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.serialize
|
|
|
1367
1883
|
*/
|
|
1368
1884
|
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.serializeBinaryToWriter = function(message, writer) {
|
|
1369
1885
|
var f = undefined;
|
|
1370
|
-
f = message.
|
|
1371
|
-
if (f
|
|
1372
|
-
writer.
|
|
1886
|
+
f = message.getId();
|
|
1887
|
+
if (f != null) {
|
|
1888
|
+
writer.writeMessage(
|
|
1373
1889
|
1,
|
|
1374
|
-
f
|
|
1375
|
-
|
|
1376
|
-
}
|
|
1377
|
-
f = message.getInstallKey();
|
|
1378
|
-
if (f.length > 0) {
|
|
1379
|
-
writer.writeString(
|
|
1380
|
-
2,
|
|
1381
|
-
f
|
|
1382
|
-
);
|
|
1383
|
-
}
|
|
1384
|
-
f = message.getEntity();
|
|
1385
|
-
if (f.length > 0) {
|
|
1386
|
-
writer.writeString(
|
|
1387
|
-
3,
|
|
1388
|
-
f
|
|
1389
|
-
);
|
|
1390
|
-
}
|
|
1391
|
-
f = message.getDeleted();
|
|
1392
|
-
if (f) {
|
|
1393
|
-
writer.writeBool(
|
|
1394
|
-
4,
|
|
1395
|
-
f
|
|
1890
|
+
f,
|
|
1891
|
+
proto.lansweeper.blockingrules.v1.NullableString.serializeBinaryToWriter
|
|
1396
1892
|
);
|
|
1397
1893
|
}
|
|
1398
1894
|
};
|
|
1399
1895
|
|
|
1400
1896
|
|
|
1401
1897
|
/**
|
|
1402
|
-
* optional
|
|
1403
|
-
* @return {
|
|
1404
|
-
*/
|
|
1405
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.getSiteId = function() {
|
|
1406
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1407
|
-
};
|
|
1408
|
-
|
|
1409
|
-
|
|
1410
|
-
/**
|
|
1411
|
-
* @param {string} value
|
|
1412
|
-
* @return {!proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse} returns this
|
|
1413
|
-
*/
|
|
1414
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.setSiteId = function(value) {
|
|
1415
|
-
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1416
|
-
};
|
|
1417
|
-
|
|
1418
|
-
|
|
1419
|
-
/**
|
|
1420
|
-
* optional string install_key = 2;
|
|
1421
|
-
* @return {string}
|
|
1898
|
+
* optional NullableString id = 1;
|
|
1899
|
+
* @return {?proto.lansweeper.blockingrules.v1.NullableString}
|
|
1422
1900
|
*/
|
|
1423
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.
|
|
1424
|
-
return /** @type
|
|
1901
|
+
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.getId = function() {
|
|
1902
|
+
return /** @type{?proto.lansweeper.blockingrules.v1.NullableString} */ (
|
|
1903
|
+
jspb.Message.getWrapperField(this, proto.lansweeper.blockingrules.v1.NullableString, 1));
|
|
1425
1904
|
};
|
|
1426
1905
|
|
|
1427
1906
|
|
|
1428
1907
|
/**
|
|
1429
|
-
* @param {
|
|
1908
|
+
* @param {?proto.lansweeper.blockingrules.v1.NullableString|undefined} value
|
|
1430
1909
|
* @return {!proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse} returns this
|
|
1431
|
-
|
|
1432
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.
|
|
1433
|
-
return jspb.Message.
|
|
1434
|
-
};
|
|
1435
|
-
|
|
1436
|
-
|
|
1437
|
-
/**
|
|
1438
|
-
* optional string entity = 3;
|
|
1439
|
-
* @return {string}
|
|
1440
|
-
*/
|
|
1441
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.getEntity = function() {
|
|
1442
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1910
|
+
*/
|
|
1911
|
+
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.setId = function(value) {
|
|
1912
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1443
1913
|
};
|
|
1444
1914
|
|
|
1445
1915
|
|
|
1446
1916
|
/**
|
|
1447
|
-
*
|
|
1917
|
+
* Clears the message field making it undefined.
|
|
1448
1918
|
* @return {!proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse} returns this
|
|
1449
1919
|
*/
|
|
1450
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.
|
|
1451
|
-
return
|
|
1920
|
+
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.clearId = function() {
|
|
1921
|
+
return this.setId(undefined);
|
|
1452
1922
|
};
|
|
1453
1923
|
|
|
1454
1924
|
|
|
1455
1925
|
/**
|
|
1456
|
-
*
|
|
1926
|
+
* Returns whether this field is set.
|
|
1457
1927
|
* @return {boolean}
|
|
1458
1928
|
*/
|
|
1459
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.
|
|
1460
|
-
return
|
|
1461
|
-
};
|
|
1462
|
-
|
|
1463
|
-
|
|
1464
|
-
/**
|
|
1465
|
-
* @param {boolean} value
|
|
1466
|
-
* @return {!proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse} returns this
|
|
1467
|
-
*/
|
|
1468
|
-
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.setDeleted = function(value) {
|
|
1469
|
-
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
1929
|
+
proto.lansweeper.blockingrules.v1.DeleteBlockingRuleResponse.prototype.hasId = function() {
|
|
1930
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1470
1931
|
};
|
|
1471
1932
|
|
|
1472
1933
|
|