@lansweeper/data-platform-outbound-grpc 0.1.74 → 0.1.76
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/CHANGELOG.md +16 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +70 -0
- package/gen-proto/outbound_pb.js +561 -2
- package/generated-go/outbound.pb.go +5268 -5106
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +15 -0
package/gen-proto/outbound_pb.js
CHANGED
|
@@ -128,6 +128,7 @@ goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScanError', null, global)
|
|
|
128
128
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScannedPort', null, global);
|
|
129
129
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.ScsiController', null, global);
|
|
130
130
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SerialPort', null, global);
|
|
131
|
+
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedPermission', null, global);
|
|
131
132
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SharedResource', null, global);
|
|
132
133
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.Software', null, global);
|
|
133
134
|
goog.exportSymbol('proto.com.lansweeper.dp.outbound.v1.SoftwareInventory', null, global);
|
|
@@ -1501,6 +1502,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1501
1502
|
*/
|
|
1502
1503
|
proto.com.lansweeper.dp.outbound.v1.SharedResource.displayName = 'proto.com.lansweeper.dp.outbound.v1.SharedResource';
|
|
1503
1504
|
}
|
|
1505
|
+
/**
|
|
1506
|
+
* Generated by JsPbCodeGenerator.
|
|
1507
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1508
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1509
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1510
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1511
|
+
* valid.
|
|
1512
|
+
* @extends {jspb.Message}
|
|
1513
|
+
* @constructor
|
|
1514
|
+
*/
|
|
1515
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission = function(opt_data) {
|
|
1516
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1517
|
+
};
|
|
1518
|
+
goog.inherits(proto.com.lansweeper.dp.outbound.v1.SharedPermission, jspb.Message);
|
|
1519
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1520
|
+
/**
|
|
1521
|
+
* @public
|
|
1522
|
+
* @override
|
|
1523
|
+
*/
|
|
1524
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.displayName = 'proto.com.lansweeper.dp.outbound.v1.SharedPermission';
|
|
1525
|
+
}
|
|
1504
1526
|
/**
|
|
1505
1527
|
* Generated by JsPbCodeGenerator.
|
|
1506
1528
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -3937,7 +3959,9 @@ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.toObject = function(in
|
|
|
3937
3959
|
swList: jspb.Message.toObjectList(msg.getSwList(),
|
|
3938
3960
|
proto.com.lansweeper.dp.outbound.v1.CatalogSoftware.toObject, includeInstance),
|
|
3939
3961
|
monitorList: jspb.Message.toObjectList(msg.getMonitorList(),
|
|
3940
|
-
proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.toObject, includeInstance)
|
|
3962
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.toObject, includeInstance),
|
|
3963
|
+
success: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
3964
|
+
errorDescription: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
3941
3965
|
};
|
|
3942
3966
|
|
|
3943
3967
|
if (includeInstance) {
|
|
@@ -3999,6 +4023,14 @@ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.deserializeBinaryFromR
|
|
|
3999
4023
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.deserializeBinaryFromReader);
|
|
4000
4024
|
msg.addMonitor(value);
|
|
4001
4025
|
break;
|
|
4026
|
+
case 6:
|
|
4027
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
4028
|
+
msg.setSuccess(value);
|
|
4029
|
+
break;
|
|
4030
|
+
case 7:
|
|
4031
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4032
|
+
msg.setErrorDescription(value);
|
|
4033
|
+
break;
|
|
4002
4034
|
default:
|
|
4003
4035
|
reader.skipField();
|
|
4004
4036
|
break;
|
|
@@ -4068,6 +4100,20 @@ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.serializeBinaryToWrite
|
|
|
4068
4100
|
proto.com.lansweeper.dp.outbound.v1.CatalogMonitor.serializeBinaryToWriter
|
|
4069
4101
|
);
|
|
4070
4102
|
}
|
|
4103
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
4104
|
+
if (f != null) {
|
|
4105
|
+
writer.writeBool(
|
|
4106
|
+
6,
|
|
4107
|
+
f
|
|
4108
|
+
);
|
|
4109
|
+
}
|
|
4110
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
4111
|
+
if (f != null) {
|
|
4112
|
+
writer.writeString(
|
|
4113
|
+
7,
|
|
4114
|
+
f
|
|
4115
|
+
);
|
|
4116
|
+
}
|
|
4071
4117
|
};
|
|
4072
4118
|
|
|
4073
4119
|
|
|
@@ -4261,6 +4307,78 @@ proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.clearMonitor
|
|
|
4261
4307
|
};
|
|
4262
4308
|
|
|
4263
4309
|
|
|
4310
|
+
/**
|
|
4311
|
+
* optional bool success = 6;
|
|
4312
|
+
* @return {boolean}
|
|
4313
|
+
*/
|
|
4314
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.getSuccess = function() {
|
|
4315
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
4316
|
+
};
|
|
4317
|
+
|
|
4318
|
+
|
|
4319
|
+
/**
|
|
4320
|
+
* @param {boolean} value
|
|
4321
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse} returns this
|
|
4322
|
+
*/
|
|
4323
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.setSuccess = function(value) {
|
|
4324
|
+
return jspb.Message.setField(this, 6, value);
|
|
4325
|
+
};
|
|
4326
|
+
|
|
4327
|
+
|
|
4328
|
+
/**
|
|
4329
|
+
* Clears the field making it undefined.
|
|
4330
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse} returns this
|
|
4331
|
+
*/
|
|
4332
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.clearSuccess = function() {
|
|
4333
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
4334
|
+
};
|
|
4335
|
+
|
|
4336
|
+
|
|
4337
|
+
/**
|
|
4338
|
+
* Returns whether this field is set.
|
|
4339
|
+
* @return {boolean}
|
|
4340
|
+
*/
|
|
4341
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.hasSuccess = function() {
|
|
4342
|
+
return jspb.Message.getField(this, 6) != null;
|
|
4343
|
+
};
|
|
4344
|
+
|
|
4345
|
+
|
|
4346
|
+
/**
|
|
4347
|
+
* optional string error_description = 7;
|
|
4348
|
+
* @return {string}
|
|
4349
|
+
*/
|
|
4350
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.getErrorDescription = function() {
|
|
4351
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4352
|
+
};
|
|
4353
|
+
|
|
4354
|
+
|
|
4355
|
+
/**
|
|
4356
|
+
* @param {string} value
|
|
4357
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse} returns this
|
|
4358
|
+
*/
|
|
4359
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.setErrorDescription = function(value) {
|
|
4360
|
+
return jspb.Message.setField(this, 7, value);
|
|
4361
|
+
};
|
|
4362
|
+
|
|
4363
|
+
|
|
4364
|
+
/**
|
|
4365
|
+
* Clears the field making it undefined.
|
|
4366
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse} returns this
|
|
4367
|
+
*/
|
|
4368
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.clearErrorDescription = function() {
|
|
4369
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
|
|
4373
|
+
/**
|
|
4374
|
+
* Returns whether this field is set.
|
|
4375
|
+
* @return {boolean}
|
|
4376
|
+
*/
|
|
4377
|
+
proto.com.lansweeper.dp.outbound.v1.CatalogLookupResponse.prototype.hasErrorDescription = function() {
|
|
4378
|
+
return jspb.Message.getField(this, 7) != null;
|
|
4379
|
+
};
|
|
4380
|
+
|
|
4381
|
+
|
|
4264
4382
|
|
|
4265
4383
|
|
|
4266
4384
|
|
|
@@ -6044,7 +6162,7 @@ proto.com.lansweeper.dp.outbound.v1.Asset.prototype.hasCloud = function() {
|
|
|
6044
6162
|
* @private {!Array<number>}
|
|
6045
6163
|
* @const
|
|
6046
6164
|
*/
|
|
6047
|
-
proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,102,103,105,202,203,205,206,207,210,211,302,303,304];
|
|
6165
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.repeatedFields_ = [3,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,102,103,105,202,203,205,206,207,212,210,211,302,303,304];
|
|
6048
6166
|
|
|
6049
6167
|
|
|
6050
6168
|
|
|
@@ -6157,6 +6275,8 @@ proto.com.lansweeper.dp.outbound.v1.Computer.toObject = function(includeInstance
|
|
|
6157
6275
|
proto.com.lansweeper.dp.outbound.v1.RunningProcess.toObject, includeInstance),
|
|
6158
6276
|
sharedResourceList: jspb.Message.toObjectList(msg.getSharedResourceList(),
|
|
6159
6277
|
proto.com.lansweeper.dp.outbound.v1.SharedResource.toObject, includeInstance),
|
|
6278
|
+
sharedPermissionList: jspb.Message.toObjectList(msg.getSharedPermissionList(),
|
|
6279
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.toObject, includeInstance),
|
|
6160
6280
|
internetExplorer: (f = msg.getInternetExplorer()) && proto.com.lansweeper.dp.outbound.v1.InternetExplorer.toObject(includeInstance, f),
|
|
6161
6281
|
windowsSqlServer: (f = msg.getWindowsSqlServer()) && proto.com.lansweeper.dp.outbound.v1.WindowsSqlServer.toObject(includeInstance, f),
|
|
6162
6282
|
windowsNetworkClientList: jspb.Message.toObjectList(msg.getWindowsNetworkClientList(),
|
|
@@ -6426,6 +6546,11 @@ proto.com.lansweeper.dp.outbound.v1.Computer.deserializeBinaryFromReader = funct
|
|
|
6426
6546
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SharedResource.deserializeBinaryFromReader);
|
|
6427
6547
|
msg.addSharedResource(value);
|
|
6428
6548
|
break;
|
|
6549
|
+
case 212:
|
|
6550
|
+
var value = new proto.com.lansweeper.dp.outbound.v1.SharedPermission;
|
|
6551
|
+
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.SharedPermission.deserializeBinaryFromReader);
|
|
6552
|
+
msg.addSharedPermission(value);
|
|
6553
|
+
break;
|
|
6429
6554
|
case 208:
|
|
6430
6555
|
var value = new proto.com.lansweeper.dp.outbound.v1.InternetExplorer;
|
|
6431
6556
|
reader.readMessage(value,proto.com.lansweeper.dp.outbound.v1.InternetExplorer.deserializeBinaryFromReader);
|
|
@@ -6847,6 +6972,14 @@ proto.com.lansweeper.dp.outbound.v1.Computer.serializeBinaryToWriter = function(
|
|
|
6847
6972
|
proto.com.lansweeper.dp.outbound.v1.SharedResource.serializeBinaryToWriter
|
|
6848
6973
|
);
|
|
6849
6974
|
}
|
|
6975
|
+
f = message.getSharedPermissionList();
|
|
6976
|
+
if (f.length > 0) {
|
|
6977
|
+
writer.writeRepeatedMessage(
|
|
6978
|
+
212,
|
|
6979
|
+
f,
|
|
6980
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.serializeBinaryToWriter
|
|
6981
|
+
);
|
|
6982
|
+
}
|
|
6850
6983
|
f = message.getInternetExplorer();
|
|
6851
6984
|
if (f != null) {
|
|
6852
6985
|
writer.writeMessage(
|
|
@@ -8578,6 +8711,44 @@ proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearSharedResourceList =
|
|
|
8578
8711
|
};
|
|
8579
8712
|
|
|
8580
8713
|
|
|
8714
|
+
/**
|
|
8715
|
+
* repeated SharedPermission shared_permission = 212;
|
|
8716
|
+
* @return {!Array<!proto.com.lansweeper.dp.outbound.v1.SharedPermission>}
|
|
8717
|
+
*/
|
|
8718
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.prototype.getSharedPermissionList = function() {
|
|
8719
|
+
return /** @type{!Array<!proto.com.lansweeper.dp.outbound.v1.SharedPermission>} */ (
|
|
8720
|
+
jspb.Message.getRepeatedWrapperField(this, proto.com.lansweeper.dp.outbound.v1.SharedPermission, 212));
|
|
8721
|
+
};
|
|
8722
|
+
|
|
8723
|
+
|
|
8724
|
+
/**
|
|
8725
|
+
* @param {!Array<!proto.com.lansweeper.dp.outbound.v1.SharedPermission>} value
|
|
8726
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
|
|
8727
|
+
*/
|
|
8728
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.prototype.setSharedPermissionList = function(value) {
|
|
8729
|
+
return jspb.Message.setRepeatedWrapperField(this, 212, value);
|
|
8730
|
+
};
|
|
8731
|
+
|
|
8732
|
+
|
|
8733
|
+
/**
|
|
8734
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SharedPermission=} opt_value
|
|
8735
|
+
* @param {number=} opt_index
|
|
8736
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission}
|
|
8737
|
+
*/
|
|
8738
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.prototype.addSharedPermission = function(opt_value, opt_index) {
|
|
8739
|
+
return jspb.Message.addToRepeatedWrapperField(this, 212, opt_value, proto.com.lansweeper.dp.outbound.v1.SharedPermission, opt_index);
|
|
8740
|
+
};
|
|
8741
|
+
|
|
8742
|
+
|
|
8743
|
+
/**
|
|
8744
|
+
* Clears the list making it empty but non-null.
|
|
8745
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.Computer} returns this
|
|
8746
|
+
*/
|
|
8747
|
+
proto.com.lansweeper.dp.outbound.v1.Computer.prototype.clearSharedPermissionList = function() {
|
|
8748
|
+
return this.setSharedPermissionList([]);
|
|
8749
|
+
};
|
|
8750
|
+
|
|
8751
|
+
|
|
8581
8752
|
/**
|
|
8582
8753
|
* optional InternetExplorer internet_explorer = 208;
|
|
8583
8754
|
* @return {?proto.com.lansweeper.dp.outbound.v1.InternetExplorer}
|
|
@@ -34754,6 +34925,394 @@ proto.com.lansweeper.dp.outbound.v1.SharedResource.prototype.hasType = function(
|
|
|
34754
34925
|
|
|
34755
34926
|
|
|
34756
34927
|
|
|
34928
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34929
|
+
/**
|
|
34930
|
+
* Creates an object representation of this proto.
|
|
34931
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
34932
|
+
* Optional fields that are not set will be set to undefined.
|
|
34933
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
34934
|
+
* For the list of reserved names please see:
|
|
34935
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
34936
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
34937
|
+
* JSPB instance for transitional soy proto support:
|
|
34938
|
+
* http://goto/soy-param-migration
|
|
34939
|
+
* @return {!Object}
|
|
34940
|
+
*/
|
|
34941
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.toObject = function(opt_includeInstance) {
|
|
34942
|
+
return proto.com.lansweeper.dp.outbound.v1.SharedPermission.toObject(opt_includeInstance, this);
|
|
34943
|
+
};
|
|
34944
|
+
|
|
34945
|
+
|
|
34946
|
+
/**
|
|
34947
|
+
* Static version of the {@see toObject} method.
|
|
34948
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
34949
|
+
* the JSPB instance for transitional soy proto support:
|
|
34950
|
+
* http://goto/soy-param-migration
|
|
34951
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} msg The msg instance to transform.
|
|
34952
|
+
* @return {!Object}
|
|
34953
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
34954
|
+
*/
|
|
34955
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.toObject = function(includeInstance, msg) {
|
|
34956
|
+
var f, obj = {
|
|
34957
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
34958
|
+
trustee: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
34959
|
+
readAccess: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
34960
|
+
writeAccess: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
34961
|
+
fullAccess: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
|
|
34962
|
+
denyAccess: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
34963
|
+
};
|
|
34964
|
+
|
|
34965
|
+
if (includeInstance) {
|
|
34966
|
+
obj.$jspbMessageInstance = msg;
|
|
34967
|
+
}
|
|
34968
|
+
return obj;
|
|
34969
|
+
};
|
|
34970
|
+
}
|
|
34971
|
+
|
|
34972
|
+
|
|
34973
|
+
/**
|
|
34974
|
+
* Deserializes binary data (in protobuf wire format).
|
|
34975
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
34976
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission}
|
|
34977
|
+
*/
|
|
34978
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.deserializeBinary = function(bytes) {
|
|
34979
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
34980
|
+
var msg = new proto.com.lansweeper.dp.outbound.v1.SharedPermission;
|
|
34981
|
+
return proto.com.lansweeper.dp.outbound.v1.SharedPermission.deserializeBinaryFromReader(msg, reader);
|
|
34982
|
+
};
|
|
34983
|
+
|
|
34984
|
+
|
|
34985
|
+
/**
|
|
34986
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
34987
|
+
* given reader into the given message object.
|
|
34988
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} msg The message object to deserialize into.
|
|
34989
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
34990
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission}
|
|
34991
|
+
*/
|
|
34992
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.deserializeBinaryFromReader = function(msg, reader) {
|
|
34993
|
+
while (reader.nextField()) {
|
|
34994
|
+
if (reader.isEndGroup()) {
|
|
34995
|
+
break;
|
|
34996
|
+
}
|
|
34997
|
+
var field = reader.getFieldNumber();
|
|
34998
|
+
switch (field) {
|
|
34999
|
+
case 1:
|
|
35000
|
+
var value = /** @type {string} */ (reader.readString());
|
|
35001
|
+
msg.setName(value);
|
|
35002
|
+
break;
|
|
35003
|
+
case 2:
|
|
35004
|
+
var value = /** @type {string} */ (reader.readString());
|
|
35005
|
+
msg.setTrustee(value);
|
|
35006
|
+
break;
|
|
35007
|
+
case 3:
|
|
35008
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
35009
|
+
msg.setReadAccess(value);
|
|
35010
|
+
break;
|
|
35011
|
+
case 4:
|
|
35012
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
35013
|
+
msg.setWriteAccess(value);
|
|
35014
|
+
break;
|
|
35015
|
+
case 5:
|
|
35016
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
35017
|
+
msg.setFullAccess(value);
|
|
35018
|
+
break;
|
|
35019
|
+
case 6:
|
|
35020
|
+
var value = /** @type {string} */ (reader.readString());
|
|
35021
|
+
msg.setDenyAccess(value);
|
|
35022
|
+
break;
|
|
35023
|
+
default:
|
|
35024
|
+
reader.skipField();
|
|
35025
|
+
break;
|
|
35026
|
+
}
|
|
35027
|
+
}
|
|
35028
|
+
return msg;
|
|
35029
|
+
};
|
|
35030
|
+
|
|
35031
|
+
|
|
35032
|
+
/**
|
|
35033
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
35034
|
+
* @return {!Uint8Array}
|
|
35035
|
+
*/
|
|
35036
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.serializeBinary = function() {
|
|
35037
|
+
var writer = new jspb.BinaryWriter();
|
|
35038
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.serializeBinaryToWriter(this, writer);
|
|
35039
|
+
return writer.getResultBuffer();
|
|
35040
|
+
};
|
|
35041
|
+
|
|
35042
|
+
|
|
35043
|
+
/**
|
|
35044
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
35045
|
+
* format), writing to the given BinaryWriter.
|
|
35046
|
+
* @param {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} message
|
|
35047
|
+
* @param {!jspb.BinaryWriter} writer
|
|
35048
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
35049
|
+
*/
|
|
35050
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.serializeBinaryToWriter = function(message, writer) {
|
|
35051
|
+
var f = undefined;
|
|
35052
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
35053
|
+
if (f != null) {
|
|
35054
|
+
writer.writeString(
|
|
35055
|
+
1,
|
|
35056
|
+
f
|
|
35057
|
+
);
|
|
35058
|
+
}
|
|
35059
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
35060
|
+
if (f != null) {
|
|
35061
|
+
writer.writeString(
|
|
35062
|
+
2,
|
|
35063
|
+
f
|
|
35064
|
+
);
|
|
35065
|
+
}
|
|
35066
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 3));
|
|
35067
|
+
if (f != null) {
|
|
35068
|
+
writer.writeBool(
|
|
35069
|
+
3,
|
|
35070
|
+
f
|
|
35071
|
+
);
|
|
35072
|
+
}
|
|
35073
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 4));
|
|
35074
|
+
if (f != null) {
|
|
35075
|
+
writer.writeBool(
|
|
35076
|
+
4,
|
|
35077
|
+
f
|
|
35078
|
+
);
|
|
35079
|
+
}
|
|
35080
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
|
35081
|
+
if (f != null) {
|
|
35082
|
+
writer.writeBool(
|
|
35083
|
+
5,
|
|
35084
|
+
f
|
|
35085
|
+
);
|
|
35086
|
+
}
|
|
35087
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
35088
|
+
if (f != null) {
|
|
35089
|
+
writer.writeString(
|
|
35090
|
+
6,
|
|
35091
|
+
f
|
|
35092
|
+
);
|
|
35093
|
+
}
|
|
35094
|
+
};
|
|
35095
|
+
|
|
35096
|
+
|
|
35097
|
+
/**
|
|
35098
|
+
* optional string name = 1;
|
|
35099
|
+
* @return {string}
|
|
35100
|
+
*/
|
|
35101
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getName = function() {
|
|
35102
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
35103
|
+
};
|
|
35104
|
+
|
|
35105
|
+
|
|
35106
|
+
/**
|
|
35107
|
+
* @param {string} value
|
|
35108
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35109
|
+
*/
|
|
35110
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setName = function(value) {
|
|
35111
|
+
return jspb.Message.setField(this, 1, value);
|
|
35112
|
+
};
|
|
35113
|
+
|
|
35114
|
+
|
|
35115
|
+
/**
|
|
35116
|
+
* Clears the field making it undefined.
|
|
35117
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35118
|
+
*/
|
|
35119
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearName = function() {
|
|
35120
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
35121
|
+
};
|
|
35122
|
+
|
|
35123
|
+
|
|
35124
|
+
/**
|
|
35125
|
+
* Returns whether this field is set.
|
|
35126
|
+
* @return {boolean}
|
|
35127
|
+
*/
|
|
35128
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasName = function() {
|
|
35129
|
+
return jspb.Message.getField(this, 1) != null;
|
|
35130
|
+
};
|
|
35131
|
+
|
|
35132
|
+
|
|
35133
|
+
/**
|
|
35134
|
+
* optional string trustee = 2;
|
|
35135
|
+
* @return {string}
|
|
35136
|
+
*/
|
|
35137
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getTrustee = function() {
|
|
35138
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
35139
|
+
};
|
|
35140
|
+
|
|
35141
|
+
|
|
35142
|
+
/**
|
|
35143
|
+
* @param {string} value
|
|
35144
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35145
|
+
*/
|
|
35146
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setTrustee = function(value) {
|
|
35147
|
+
return jspb.Message.setField(this, 2, value);
|
|
35148
|
+
};
|
|
35149
|
+
|
|
35150
|
+
|
|
35151
|
+
/**
|
|
35152
|
+
* Clears the field making it undefined.
|
|
35153
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35154
|
+
*/
|
|
35155
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearTrustee = function() {
|
|
35156
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
35157
|
+
};
|
|
35158
|
+
|
|
35159
|
+
|
|
35160
|
+
/**
|
|
35161
|
+
* Returns whether this field is set.
|
|
35162
|
+
* @return {boolean}
|
|
35163
|
+
*/
|
|
35164
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasTrustee = function() {
|
|
35165
|
+
return jspb.Message.getField(this, 2) != null;
|
|
35166
|
+
};
|
|
35167
|
+
|
|
35168
|
+
|
|
35169
|
+
/**
|
|
35170
|
+
* optional bool read_access = 3;
|
|
35171
|
+
* @return {boolean}
|
|
35172
|
+
*/
|
|
35173
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getReadAccess = function() {
|
|
35174
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
35175
|
+
};
|
|
35176
|
+
|
|
35177
|
+
|
|
35178
|
+
/**
|
|
35179
|
+
* @param {boolean} value
|
|
35180
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35181
|
+
*/
|
|
35182
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setReadAccess = function(value) {
|
|
35183
|
+
return jspb.Message.setField(this, 3, value);
|
|
35184
|
+
};
|
|
35185
|
+
|
|
35186
|
+
|
|
35187
|
+
/**
|
|
35188
|
+
* Clears the field making it undefined.
|
|
35189
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35190
|
+
*/
|
|
35191
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearReadAccess = function() {
|
|
35192
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
35193
|
+
};
|
|
35194
|
+
|
|
35195
|
+
|
|
35196
|
+
/**
|
|
35197
|
+
* Returns whether this field is set.
|
|
35198
|
+
* @return {boolean}
|
|
35199
|
+
*/
|
|
35200
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasReadAccess = function() {
|
|
35201
|
+
return jspb.Message.getField(this, 3) != null;
|
|
35202
|
+
};
|
|
35203
|
+
|
|
35204
|
+
|
|
35205
|
+
/**
|
|
35206
|
+
* optional bool write_access = 4;
|
|
35207
|
+
* @return {boolean}
|
|
35208
|
+
*/
|
|
35209
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getWriteAccess = function() {
|
|
35210
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
35211
|
+
};
|
|
35212
|
+
|
|
35213
|
+
|
|
35214
|
+
/**
|
|
35215
|
+
* @param {boolean} value
|
|
35216
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35217
|
+
*/
|
|
35218
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setWriteAccess = function(value) {
|
|
35219
|
+
return jspb.Message.setField(this, 4, value);
|
|
35220
|
+
};
|
|
35221
|
+
|
|
35222
|
+
|
|
35223
|
+
/**
|
|
35224
|
+
* Clears the field making it undefined.
|
|
35225
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35226
|
+
*/
|
|
35227
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearWriteAccess = function() {
|
|
35228
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
35229
|
+
};
|
|
35230
|
+
|
|
35231
|
+
|
|
35232
|
+
/**
|
|
35233
|
+
* Returns whether this field is set.
|
|
35234
|
+
* @return {boolean}
|
|
35235
|
+
*/
|
|
35236
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasWriteAccess = function() {
|
|
35237
|
+
return jspb.Message.getField(this, 4) != null;
|
|
35238
|
+
};
|
|
35239
|
+
|
|
35240
|
+
|
|
35241
|
+
/**
|
|
35242
|
+
* optional bool full_access = 5;
|
|
35243
|
+
* @return {boolean}
|
|
35244
|
+
*/
|
|
35245
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getFullAccess = function() {
|
|
35246
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
35247
|
+
};
|
|
35248
|
+
|
|
35249
|
+
|
|
35250
|
+
/**
|
|
35251
|
+
* @param {boolean} value
|
|
35252
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35253
|
+
*/
|
|
35254
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setFullAccess = function(value) {
|
|
35255
|
+
return jspb.Message.setField(this, 5, value);
|
|
35256
|
+
};
|
|
35257
|
+
|
|
35258
|
+
|
|
35259
|
+
/**
|
|
35260
|
+
* Clears the field making it undefined.
|
|
35261
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35262
|
+
*/
|
|
35263
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearFullAccess = function() {
|
|
35264
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
35265
|
+
};
|
|
35266
|
+
|
|
35267
|
+
|
|
35268
|
+
/**
|
|
35269
|
+
* Returns whether this field is set.
|
|
35270
|
+
* @return {boolean}
|
|
35271
|
+
*/
|
|
35272
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasFullAccess = function() {
|
|
35273
|
+
return jspb.Message.getField(this, 5) != null;
|
|
35274
|
+
};
|
|
35275
|
+
|
|
35276
|
+
|
|
35277
|
+
/**
|
|
35278
|
+
* optional string deny_access = 6;
|
|
35279
|
+
* @return {string}
|
|
35280
|
+
*/
|
|
35281
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.getDenyAccess = function() {
|
|
35282
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
35283
|
+
};
|
|
35284
|
+
|
|
35285
|
+
|
|
35286
|
+
/**
|
|
35287
|
+
* @param {string} value
|
|
35288
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35289
|
+
*/
|
|
35290
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.setDenyAccess = function(value) {
|
|
35291
|
+
return jspb.Message.setField(this, 6, value);
|
|
35292
|
+
};
|
|
35293
|
+
|
|
35294
|
+
|
|
35295
|
+
/**
|
|
35296
|
+
* Clears the field making it undefined.
|
|
35297
|
+
* @return {!proto.com.lansweeper.dp.outbound.v1.SharedPermission} returns this
|
|
35298
|
+
*/
|
|
35299
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.clearDenyAccess = function() {
|
|
35300
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
35301
|
+
};
|
|
35302
|
+
|
|
35303
|
+
|
|
35304
|
+
/**
|
|
35305
|
+
* Returns whether this field is set.
|
|
35306
|
+
* @return {boolean}
|
|
35307
|
+
*/
|
|
35308
|
+
proto.com.lansweeper.dp.outbound.v1.SharedPermission.prototype.hasDenyAccess = function() {
|
|
35309
|
+
return jspb.Message.getField(this, 6) != null;
|
|
35310
|
+
};
|
|
35311
|
+
|
|
35312
|
+
|
|
35313
|
+
|
|
35314
|
+
|
|
35315
|
+
|
|
34757
35316
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
34758
35317
|
/**
|
|
34759
35318
|
* Creates an object representation of this proto.
|